1 2013-11-27 Glenn Morris <rgm@gnu.org>
3 * international/charprop.el, international/uni-bidi.el:
4 * international/uni-category.el, international/uni-combining.el:
5 * international/uni-comment.el, international/uni-decimal.el:
6 * international/uni-decomposition.el, international/uni-digit.el:
7 * international/uni-lowercase.el, international/uni-mirrored.el:
8 * international/uni-name.el, international/uni-numeric.el:
9 * international/uni-old-name.el, international/uni-titlecase.el:
10 * international/uni-uppercase.el:
11 Remove generated files from VCS repository.
13 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15 * filenotify.el (file-notify-add-watch): Don't special-case
16 w32notify when computing the directory to watch.
18 2013-11-27 Glenn Morris <rgm@gnu.org>
20 Make bootstrap without generated uni-*.el files possible again.
21 * loadup.el: Update command-line-args checking for unidata-gen.
22 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
23 * composite.el, international/characters.el:
24 Handle unicode tables being undefined.
26 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
27 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
28 (compile-main): Depend on leim rule.
30 * loadup.el: Move leim-list.el to leim/ subdirectory.
31 * startup.el (normal-top-level): No more leim directory.
32 * international/ja-dic-cnv.el (skkdic-convert):
33 Disable version-control and autoloads in output files.
34 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
35 Disable version-control and autoloads in output files.
36 * leim/quail: Move here from ../leim.
37 * leim/quail/hangul.el (hangul-input-method-activate):
39 (generated-autoload-load-name): Set file-local value.
40 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
41 (generated-autoload-load-name): Set file-local value.
43 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
45 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
46 (eww-add-bookmark): ask confirmation when add to bookmarks
47 (eww-quit): ask confirmation before quitting eww
49 2013-11-26 Eli Zaretskii <eliz@gnu.org>
51 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
52 reading output from Diff on MS-Windows and MS-DOS.
54 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
56 * emacs-lisp/helpers.el (string-reverse): New function.
58 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
60 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
61 names on MS Windows, like "/[::1]:".
63 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
66 2013-11-26 Glenn Morris <rgm@gnu.org>
68 * progmodes/python.el (python-indent-guess-indent-offset):
69 Avoid corner-case error. (Bug#15975)
71 Preload leim-list.el. (Bug#4789)
72 * loadup.el: Load leim-list.el when found.
73 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
75 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
77 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
79 * emacs-lisp/helpers.el (string-join): New function.
81 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
83 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
84 Mark as obsolete and replace it with a symbol property.
85 (byte-compile-form): Use new 'interactive-only property.
86 * comint.el, files.el, replace.el, simple.el:
87 Apply new 'interactive-only properly.
89 2013-11-25 Martin Rudalics <rudalics@gmx.at>
91 * window.el (display-buffer-at-bottom): Make sure that
92 split-window-sensibly creates the new window on bottom
95 2013-11-23 David Kastrup <dak@gnu.org>
97 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
98 on the conflict markers when available.
99 (smerge--get-marker): New function.
100 (smerge-end-re, smerge-base-re): Add subgroup.
102 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
104 * frame.el (handle-focus-in, handle-focus-out): Add missing
107 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
109 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
110 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
112 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
114 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
115 (gomoku--last-pos): New var.
116 (gomoku--intangible-chars): New const.
117 (gomoku--intangible): New function.
118 (gomoku-mode): Use it. Derive from special-mode.
119 (gomoku-move-up): Adjust line count.
120 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
121 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
122 Simplify accordingly.
124 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
125 Remove blink-cursor code.
126 (blink-cursor-timer-function, blink-cursor-suspend):
127 Don't special-case GUIs.
128 (blink-cursor-mode): Use focus-in/out-hook.
130 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
132 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
133 work when annotation is invisible (Bug#13886).
135 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
137 * json.el (json-alist-p): Only return non-nil if the alist has
138 simple keys (Bug#13518).
140 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
142 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
143 when control-statement is the first statement in a buffer (Bug#15956).
145 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
147 * imenu.el (imenu-generic-skip-comments-and-strings):
148 New option (Bug#15560).
149 (imenu--generic-function): Use it.
151 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
153 * minibuffer.el (completion--in-region-1): Scroll the correct
156 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
158 * emacs-lisp/helpers.el: Add some string helpers.
159 (string-trim-left): Removes leading whitespace.
160 (string-trim-right): Removes trailing whitespace.
161 (string-trim): Removes leading and trailing whitespace.
163 * subr.el (string-suffix-p): New function.
165 2013-11-23 Glenn Morris <rgm@gnu.org>
167 * progmodes/python.el (python-shell-send-file):
168 Add option to delete file when done. (Bug#15647)
169 (python-shell-send-string, python-shell-send-region): Use it.
171 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
173 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
174 to set buffer-read-only to t, never to nil. (Bug#15938)
176 * textmodes/tex-mode.el (latex-noindent-environments):
177 Add safe-local-variable property. (Bug#15936)
179 2013-11-23 Glenn Morris <rgm@gnu.org>
181 * textmodes/enriched.el (enriched-mode): Doc fix.
182 * emacs-lisp/authors.el (authors-renamed-files-alist):
183 Add enriched.doc -> enriched.txt.
185 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
187 2013-11-22 Leo Liu <sdl.web@gmail.com>
189 * progmodes/octave.el (inferior-octave-startup): Spit out error
192 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
194 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
197 (ruby-encoding-magic-comment-style): Add :version.
199 2013-11-22 Leo Liu <sdl.web@gmail.com>
201 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
203 (octave-help-mode): Adapt to change to help-mode-finish to use
204 derived-mode-p on 2013-09-17.
205 (inferior-octave-prompt): Also match octave-gui.
206 (octave-kill-process): Don't ask twice. (Bug#10564)
208 2013-11-22 Leo Liu <sdl.web@gmail.com>
210 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
211 (inferior-octave-startup, inferior-octave-check-process)
212 (inferior-octave-track-window-width-change)
213 (octave-completion-at-point, octave-eldoc-function): Use it.
214 (octave-kill-process): Provide confirmation. (Bug#10564)
216 2013-11-21 Leo Liu <sdl.web@gmail.com>
218 * progmodes/octave.el (octave-mode, inferior-octave-mode):
219 Fix obsolete variable comment-use-global-state.
221 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
223 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
224 Add `octave-source-file'.
225 (octave-source-file): New function. (Bug#15935)
227 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
229 * net/eww.el (eww-local-regex): New variable.
230 (eww): Use it to detect localhost and similar.
232 2013-11-21 Leo Liu <sdl.web@gmail.com>
234 Add completion for command `ag'.
235 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
236 (pcomplete/ag): New function.
237 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
239 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
241 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
243 (make-obsolete): Remove interactive spec.
245 2013-11-21 Glenn Morris <rgm@gnu.org>
247 * startup.el (command-line-1): Use path-separator with -L.
249 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
251 * emacs-lisp/package.el (describe-package-1): Add package archive
254 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
256 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
257 Change default to "# encoding: %s" to differentiate it from the
258 default Ruby encoding comment template.
260 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
262 * ses.el (ses-mode): Doc fix. (Bug#14748)
264 2013-11-20 Leo Liu <sdl.web@gmail.com>
266 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
268 2013-11-19 Dan Nicolaescu <dann@gnu.org>
270 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
271 when rebase or bisect are in progress.
273 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
275 * filenotify.el (file-notify-add-watch): Doc fix.
277 2013-11-19 Leo Liu <sdl.web@gmail.com>
279 * obsolete/rcompile.el: Mark obsolete.
281 * progmodes/compile.el (compilation-start)
282 (compilation-goto-locus, compilation-find-file):
283 Pass no-display-ok and handle nil value from display-buffer.
286 * window.el (display-buffer-alist, display-buffer): Document the
287 new parameter no-display-ok.
289 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
291 * electric.el (electric-indent-mode-map): Remove.
292 (electric-indent-mode): Change the global-map instead (bug#15915).
294 * textmodes/text-mode.el (paragraph-indent-minor-mode):
297 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
299 * emacs-lisp/nadvice.el (remove-function): Align with
300 add-function's behavior.
302 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
303 (gdb--string-regexp): New constant.
304 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
305 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
306 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
308 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
309 Adjust use accordingly.
310 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
312 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
314 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
315 interpolation curlies (Bug#15914).
317 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
319 * calc/calc.el (calc-context-sensitive-enter): New variable.
320 (calc-enter): Use `calc-context-sensitive-enter'.
322 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
324 * progmodes/cfengine.el: Version bump.
325 (cfengine-cf-promises): New defcustom to locate cf-promises.
326 (cfengine3-vartypes): Add new "data" type.
327 (cfengine3--current-word): New function to get current name-like
329 (cfengine3--current-function): New function to look up a CFEngine
330 function's definition.
331 (cfengine3-format-function-docstring): New function.
332 (cfengine3-make-syntax-cache): New function.
333 (cfengine3-documentation-function): New function: ElDoc glue.
334 (cfengine3-completion-function): New function: completion glue.
335 (cfengine3-mode): Set `compile-command',
336 `eldoc-documentation-function', and add to
337 `completion-at-point-functions'.
339 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
341 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
342 `tramp-current-connection'.
344 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
346 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
347 nil/self/true/false with "end of symbol".
349 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
351 * subr.el (version-regexp-alist): Fix a typo.
353 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
355 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
356 "en_US.utf8" and "LC_CTYPE" to "".
357 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
358 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
360 2013-11-15 Leo Liu <sdl.web@gmail.com>
362 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
364 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
366 * progmodes/gud.el (ctl-x-map):
367 Remove C-x SPC binding. (Bug#12342)
368 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
370 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
372 * subr.el (version-regexp-alist):
373 Recognize hg, svn and darcs versions as snapshot versions.
375 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
376 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
377 (ruby--encoding-comment-required-p): Extract from
378 `ruby-mode-set-encoding'.
379 (ruby-mode-set-encoding): Add the ability to always insert an
380 utf-8 encoding comment. Fix and simplify coding comment update
383 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
385 * net/tramp-gvfs.el (top): Run init code only when
386 `tramp-gvfs-enabled' is not nil.
387 (tramp-gvfs-enabled): Check also :system bus.
389 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
391 Sync with upstream verilog-mode revision 78e66ba.
392 * progmodes/verilog-mode.el (verilog-end-of-defun)
393 (verilog-type-completion, verilog-get-list): Remove unused funcs.
394 (verilog-get-end-of-defun): Remove unused argument.
395 (verilog-comment-depth): Remove unused local `e'.
396 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
397 Don't pass arg to verilog-get-end-of-defun.
399 2013-11-14 Glenn Morris <rgm@gnu.org>
401 * obsolete/assoc.el (aget): Prefix dynamic variable.
403 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
405 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
407 * widget.el, hfy-cmap.el: Remove bogus package version number.
409 2013-11-13 Glenn Morris <rgm@gnu.org>
411 * replace.el (replace-eval-replacement):
412 Try to give more helpful error message. (Bug#15836)
414 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
415 (archive-7z-update): Avoid custom type mismatches.
417 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
419 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
421 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
422 address can be empty.
424 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
426 (tramp-gvfs-handle-write-region): Implement APPEND.
428 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
430 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
431 binary "|" operator and closing block args delimiter.
432 Remove FIXME comment referring to Ruby 1.8-only syntax.
433 (ruby-smie--implicit-semi-p): Not after "|" operator.
434 (ruby-smie--closing-pipe-p): New function.
435 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
436 (ruby-smie-rules): Indent after "|".
438 2013-11-12 Glenn Morris <rgm@gnu.org>
440 * ps-print.el (ps-face-attribute-list):
441 Handle anonymous faces. (Bug#15827)
443 2013-11-12 Martin Rudalics <rudalics@gmx.at>
445 * window.el (display-buffer-other-frame): Fix doc-string.
448 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
450 * subr.el (force-mode-line-update): Delete, move to buffer.c.
452 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
455 (tramp-sh-handle-file-local-copy): Don't write a message when
456 saving temporary files.
458 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
459 both directories are remote.
460 (tramp-smb-handle-directory-files): Do not return double entries.
461 Do not expand full file names.
462 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
463 (tramp-smb-handle-write-region): Implement APPEND.
464 (tramp-smb-get-stat-capability): Fix a stupid bug.
466 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
468 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
470 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
472 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
473 throwing error over malformed let/let* (bug#15814).
475 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
477 * iswitchb.el (iswitchb-mode): Mark obsolete.
479 2013-11-11 Glenn Morris <rgm@gnu.org>
481 * international/uni-bidi.el, international/uni-category.el:
482 * international/uni-name.el, international/uni-numeric.el:
483 Regenerate for Unicode 6.3.0.
485 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
487 * net/tramp.el (tramp-methods):
488 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
489 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
491 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
493 * progmodes/sh-script.el (sh-font-lock-keywords-var):
494 Force highlighting text after Summary keyword in doc face for rpm.
496 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
498 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
499 available and the word has no wildcards, append one to the grep pattern.
500 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
501 (ispell-complete-word): Call `ispell-lookup-words' with the value
502 independent of `ispell-look-p'.
504 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
506 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
508 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
511 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
513 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
514 (ruby-font-lock-keywords): Use backquote.
516 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
518 * progmodes/ruby-mode.el (ruby-smie--forward-token)
519 (ruby-smie--backward-token): Only consider full-string matches.
521 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
523 * faces.el (describe-face): Add distant-foreground.
525 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
527 * progmodes/ruby-mode.el: Improve encoding comment handling.
528 (ruby-encoding-magic-comment-style): New option.
529 (ruby-custom-encoding-magic-comment-template): New option.
530 (ruby--insert-coding-comment, ruby--detect-encoding): New
531 functions extracted from `ruby-mode-set-encoding'.
532 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
533 to control the style of the auto-inserted encoding comment.
535 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
537 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
538 Use `smie-backward-sexp' with token argument.
540 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
542 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
543 Remove instrumentation code.
545 2013-11-08 Glenn Morris <rgm@gnu.org>
547 * progmodes/autoconf.el (autoconf-mode):
548 Tweak comment-start-skip. (Bug#15822)
550 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
552 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
554 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
556 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
558 * man.el (Man-start-calling): New macro, extracted from
559 Man-getpage-in-background.
560 (Man-getpage-in-background): Use it.
561 (Man-update-manpage): New command.
562 (Man-mode-map): Bind it.
564 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
566 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
567 of "and", "or", "&&" and "||".
568 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
569 argument. Prohibit opening curly brace because it could only be a
570 block opener in that position.
571 (ruby-smie--forward-token, ruby-smie--backward-token):
572 Separate "|" from "&" or "*" going after it. That can happen in block
574 (ruby-smie--indent-to-stmt): New function, seeks the end of
575 previous statement or beginning of buffer.
576 (ruby-smie-rules): Use it.
577 (ruby-smie-rules): Check if there's a ":" before a curly block
578 opener candidate; if there is, it's a hash.
580 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
582 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
583 (cl--block-wrapper): Fix last accidental change.
585 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
587 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
588 Instrument, in order to hunt failure on hydra.
590 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
592 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
593 malformed bindings form (bug#15814).
595 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
597 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
598 "." compared to " @ ". This incidentally fixes some indentation
600 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
601 (ruby-smie-grammar): New tokens: "and" and "or".
602 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
603 Exclude "and" and "or". Remove "do" in order to work around token
605 (ruby-smie-rules): Add all infix tokens. Handle the case of
608 2013-11-06 Glenn Morris <rgm@gnu.org>
610 * Makefile.in (setwins_almost, setwins_for_subdirs):
611 Avoid accidental matches.
613 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
615 * menu-bar.el (popup-menu): Use key-binding.
617 2013-11-06 Eli Zaretskii <eliz@gnu.org>
619 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
620 menus, support also the menus produced by minor modes.
623 2013-11-06 Leo Liu <sdl.web@gmail.com>
625 * thingatpt.el (thing-at-point-looking-at): Add optional arg
626 DISTANCE to bound the search. All uses changed. (Bug#15808)
628 2013-11-06 Glenn Morris <rgm@gnu.org>
630 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
631 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
632 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
634 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
636 * electric.el (electric-indent-just-newline): New command.
637 (electric-indent-mode-map): New keymap.
638 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
639 Re-add :group which weren't redundant.
641 * electric.el (electric-indent-local-mode): New minor mode.
642 (electric-indent-functions-without-reindent): New var.
643 (electric-indent-post-self-insert-function): Use it.
644 * emacs-lisp/gv.el (buffer-local-value): Add setter.
646 2013-11-05 Eli Zaretskii <eliz@gnu.org>
648 * international/quail.el (quail-help): Be more explicit about the
649 meaning of the labels shown on the keys. (Bug#15800)
651 * startup.el (normal-top-level): Load the subdirs.el files before
652 setting the locale environment. (Bug#15805)
654 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
656 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
657 via arguments so as to get the right ones (bug#15418).
659 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
661 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
663 Fix problems found while writing a test suite.
665 * net/tramp-compat.el (tramp-compat-load): New defun.
666 * net/tramp.el (tramp-handle-load): Use it.
668 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
669 "(numberp ok-if-already-exists)" correctly.
671 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
673 * international/characters.el (glyphless-char-display-control):
676 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
678 * progmodes/python.el (python-mode):
679 * progmodes/scheme.el (scheme-mode):
680 * progmodes/prolog.el (prolog-mode):
681 * progmodes/ruby-mode.el (ruby-mode):
682 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
683 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
685 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
687 * rect.el (rectangle--highlight-for-redisplay):
688 * emacs-lisp/smie.el (smie--next-indent-change):
689 Use buffer-chars-modified-tick.
691 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
693 * electric.el (electric-indent-post-self-insert-function):
694 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
696 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
698 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
700 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
702 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
705 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
707 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
709 * progmodes/python.el: Fix up last change.
710 (python-shell--save-temp-file): New function.
711 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
712 `string' comes from the current buffer.
713 (python-shell-send-string-no-output): Remove `msg' arg.
714 (python--use-fake-loc): New var.
715 (python-shell-buffer-substring): Obey it. Try to compensate for the
716 extra coding line added by python-shell--save-temp-file.
717 (python-shell-send-region): Use python-shell--save-temp-file and
718 python-shell-send-file directly. Add `nomain' argument.
719 (python-shell-send-buffer): Use python-shell-send-region.
720 (python-electric-pair-string-delimiter): New function.
721 (python-mode): Use it.
723 2013-11-04 Eli Zaretskii <eliz@gnu.org>
725 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
726 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
727 environment and decoding all of the default-directory's to here
729 (command-line): Decode also argv[0].
731 * loadup.el: Error out if default-directory is a multibyte string
734 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
736 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
738 * emacs-lisp/package.el (package-menu-mode)
739 (package-menu--print-info, package-menu--archive-predicate):
740 Add Archive column to package list.
742 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
744 Fix problems found while writing a test suite.
746 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
747 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
748 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
749 to nil when running original file name handler. Otherwise,
750 there are problems with constructs like "$$FOO".
752 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
755 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
757 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
759 * subr.el (version<, version<=, version=):
760 Update docstrings with information for snapshot versions.
762 * helpers.el: New library for misc helper functions.
763 (hash-table-keys): New function returning a list of hash keys.
764 (hash-table-values): New function returning a list of hash values.
766 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
768 * progmodes/ruby-mode.el (ruby-smie--forward-token)
769 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
771 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
773 * textmodes/fill.el (fill-single-char-nobreak-p): New function
774 checking whether point is after a 1-letter word.
776 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
778 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
779 Don't infloop when expanding region over `multiline' syntax-type that
780 begins a line (bug#15778).
782 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
784 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
785 Make it into a proper minor mode.
786 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
787 (rectangle-mark-mode-map): New keymap.
788 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
790 2013-11-04 Glenn Morris <rgm@gnu.org>
792 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
794 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
796 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
797 (ruby-smie-rules): Use smie-rule-parent instead.
799 * emacs-lisp/smie.el (smie-rule-parent): Always call
800 smie-indent-virtual rather than only for hanging tokens.
801 (smie--next-indent-change): New helper command.
803 2013-11-03 Glenn Morris <rgm@gnu.org>
805 * Makefile.in (abs_srcdir): Remove.
806 (emacs): Unset EMACSLOADPATH.
808 2013-11-02 Glenn Morris <rgm@gnu.org>
810 * Makefile.in (EMACS): Use a relative filename.
811 (abs_top_builddir): Remove.
812 (custom-deps, finder-data, autoloads): Use --chdir.
814 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
816 Use relative filenames in TAGS files.
817 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
818 (lisptagsfiles4, TAGS): Use relative file names.
820 (maintainer-clean): No more TAGS-LISP file.
822 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
823 (lisptagsfiles4): Use absolute filenames again.
824 (TAGS, TAGS-LISP): Not everything needs to run in one line.
825 Remove all *loaddefs files, not just the first. Remove esh-groups.
826 (maintainer-clean): Delete TAGS, TAGS-LISP.
828 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
830 * emacs-lisp/package.el (package-version-join):
831 Recognize snapshot versions.
833 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
835 * subr.el (version-regexp-alist): Add support for snapshot versions.
837 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
839 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
840 New function, replacement for `smie-rule-parent' for when we want to
841 skip over our direct parent if it's an assignment token..
842 (ruby-smie-rules): Use it.
844 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
846 * progmodes/ruby-mode.el Use `syntax-propertize-function'
847 unconditionally. Remove now unnecessary forward declarations.
848 Remove XEmacs-specific setup.
849 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
850 (ruby-font-lock-syntactic-keywords)
851 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
852 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
853 (ruby-here-doc-end-syntax): Remove.
854 (ruby-mode): Don't check whether `syntax-propertize-rules' is
857 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
859 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
861 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
863 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
864 table and abbrev table, `define-derived-mode' does that for us
867 2013-11-01 Glenn Morris <rgm@gnu.org>
869 * Makefile.in: Remove manual mh-e dependencies (writing .elc
870 files is atomic for some time, so no parallel compilation issues).
872 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
874 * faces.el (face-x-resources): Add :distant-foreground.
875 (region): Use :distant-foreground for gtk and ns.
877 2013-11-01 Tassilo Horn <tsdh@gnu.org>
879 Allow multiple bibliographies when BibLaTeX is used rather than
881 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
882 (reftex-locate-bibliography-files): Us it.
884 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
886 * image.el (image-type-header-regexps): Fix the 'pbm' part to
887 allow comments in pbm files.
889 * term/w32-win.el (dynamic-library-alist): Support newer versions
890 of libjpeg starting with v7: look only for the DLL from the
891 version against which Emacs was built.
892 Support versions of libpng beyond 1.4.x.
893 Support libtiff v4.x.
895 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
897 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
898 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
900 (ruby-deep-arglist): Add property :type.
902 2013-10-31 Glenn Morris <rgm@gnu.org>
904 * Makefile.in (custom-deps, finder-data): No need to setq the target
905 variables, we are in the right directory and the defaults work fine.
907 2013-10-30 Glenn Morris <rgm@gnu.org>
909 * Makefile.in (autoloads): Do not use abs_lisp.
911 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
912 `newline' does not respect `standard-output', so use `princ'.
914 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
916 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
917 * buff-menu.el (Buffer-menu--unmark): New function.
918 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
920 2013-10-30 Glenn Morris <rgm@gnu.org>
922 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
924 * emacs-lisp/package.el (lm-homepage): Declare.
926 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
929 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
931 * Makefile.in (finder-data, autoloads, update-subdirs)
932 (compile-main, compile-clean, compile-always, bootstrap-clean):
933 Check return value of cd.
934 (compile-calc): Remove.
936 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
938 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
940 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
941 (byte-compile-and-folded): New function.
942 (=, <, >, <=, >=): Use it.
944 * dos-w32.el (minibuffer-history-case-insensitive-variables)
945 (path-separator, null-device, buffer-file-coding-system)
946 (lpr-headers-switches): Check system-type before modifying them.
947 (find-buffer-file-type-coding-system): Mark obsolete.
948 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
949 find-file-not-found-set-buffer-file-coding-system.
950 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
951 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
952 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
953 (w32-direct-print-region-helper, w32-direct-print-region-function)
954 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
955 * startup.el (normal-top-level-add-subdirs-to-load-path):
956 * ps-print.el (ps-print-region-function):
957 * lpr.el (print-region-function): Use new name.
959 * subr.el (custom-declare-variable-early): Remove function.
960 (custom-declare-variable-list): Remove var.
961 (error, user-error): Remove `while' loop.
962 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
963 (user-emacs-directory-warning, locate-user-emacs-file):
965 * simple.el (read-quoted-char-radix, read-quoted-char):
966 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
968 * custom.el (custom-declare-variable-list): Don't process
969 custom-declare-variable-list.
971 * progmodes/python.el (python-shell-get-buffer): New function.
972 (python-shell-get-process): Use it.
973 (python-shell-send-string): Always use utf-8 and add a cookie to tell
974 Python which encoding was used. Don't split-string since we only care
975 about the first line. Return the temp-file, if applicable.
976 (python-shell-send-region): Tell compile.el how to turn locations in
977 the temp-file into locations in the source buffer.
979 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
981 * subr.el (undefined): Add missing behavior from the C code for
984 * rect.el: Use lexical-binding. Add new rectangular region support.
985 (rectangle-mark): New command.
986 (rectangle--region): New var.
987 (deactivate-mark-hook): Reset rectangle--region.
988 (rectangle--extract-region, rectangle--insert-for-yank)
989 (rectangle--highlight-for-redisplay)
990 (rectangle--unhighlight-for-redisplay): New functions.
991 (region-extract-function, redisplay-unhighlight-region-function)
992 (redisplay-highlight-region-function): Use them to handle
994 * simple.el (region-extract-function): New var.
995 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
996 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
997 (kill-region): Replace obsolete `yank-handler' arg with `region'.
998 (copy-region-as-kill, kill-ring-save): Add `region' argument.
999 (redisplay-unhighlight-region-function)
1000 (redisplay-highlight-region-function): New vars.
1001 (redisplay--update-region-highlight): New function.
1002 (pre-redisplay-function): Use it.
1003 (exchange-point-and-mark): Don't deactivate the mark before
1004 reactivate-it anyway.
1005 * comint.el (comint-kill-region): Remove yank-handler argument.
1006 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1007 (delete-char): Remove property, since it's now part of their
1009 (self-insert-iso): Remove property since this command doesn't exist.
1011 * emacs-lisp/package.el (package--download-one-archive)
1012 (describe-package-1): Don't query the user about final newline.
1014 2013-10-29 Daniel Colascione <dancol@dancol.org>
1016 * net/tramp.el (tramp-methods): Document new functionality.
1017 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1018 tramp-hostname-checker if method provides one instead of scanning
1019 argument list for "%h" to decide hostname acceptability.
1021 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1023 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1024 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1025 Handle COPY-CONTENTS. (Bug#15737)
1027 2013-10-28 Daiki Ueno <ueno@gnu.org>
1030 (epa-file-cache-passphrase-for-symmetric-encryption):
1031 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1033 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1035 * image.el (defimage):
1036 (image-load-path): Doc fixes.
1038 2013-10-27 Alan Mackenzie <acm@muc.de>
1040 Indent statements in macros following "##" correctly.
1041 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1042 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1044 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1046 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1048 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1050 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1051 after `=' is probably a new expression.
1053 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1055 * man.el (man-imenu-title): New option.
1056 (Man-mode-map): Add menu. (Bug#15722)
1057 (Man-mode): Add imenu to menu.
1059 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1061 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1062 specific in what the first arg can be: a non-keyword word,
1063 string/regexp/percent literal opener, opening paren, or unary
1064 operator followed directly by word.
1066 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1069 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1070 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1071 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1072 Remove vars, they do not apply any more.
1073 (prolog-mode-abbrev-table): Remove redundant declaration.
1074 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1075 (prolog-use-smie): Remove.
1076 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1077 supported by prolog-electric-if-then-else-flag.
1078 (prolog-mode-variables, prolog-menu): Use setq-local.
1079 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1080 Remove binding to `Backspace' since this key doesn't exist anyway.
1081 Remove bindings for electric self-inserting keys.
1082 (prog-mode): Assume it's defined.
1083 (prolog-post-self-insert): New function.
1084 (prolog-mode): Use it.
1085 (prolog-indent-line, prolog-indent-level)
1086 (prolog-find-indent-of-matching-paren)
1087 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1088 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1089 (prolog-goto-next-paren, prolog-in-string-or-comment)
1090 (prolog-tokenize, prolog-inside-mline-comment)
1091 (prolog-find-start-of-mline-comment): Remove functions.
1092 (prolog-find-unmatched-paren, prolog-clause-end)
1093 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1094 (prolog-electric--if-then-else): Rename from
1095 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1096 (prolog-tokenize-searchkey): Remove const.
1097 (prolog-clause-info): Use forward-sexp.
1098 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1099 (prolog-electric-if-then-else): Remove commands.
1100 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1101 for use in post-self-insert-hook.
1102 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1103 for use in post-self-insert-hook.
1104 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1105 for use in post-self-insert-hook.
1106 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1107 adapt it for use in post-self-insert-hook.
1109 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1111 * emacs-lisp/ert.el (ert-run-tests-interactively):
1112 Use `completing-read'. (Bug#9756)
1114 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1116 * simple.el (line-move): Call line-move-1 instead of
1117 line-move-visual when the current window hscroll is zero, but
1118 temporary-goal-column indicates we will need to hscroll as result
1119 of the movement. (Bug#15712)
1121 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1123 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1124 capitalization. Use :visible instead of :active.
1125 Fix `ruby-indent-exp' reference. Add menu items for the generic
1126 commands that are used with SMIE.
1127 (ruby-do-end-to-brace): Insert space after `{'.
1129 2013-10-25 John Anthony <john@jo.hnanthony.com>
1131 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1133 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1135 2013-10-25 Glenn Morris <rgm@gnu.org>
1137 * vc/vc.el (vc-print-log): Don't use a working revision unless
1138 one was explicitly specified. (Bug#15322)
1140 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1142 * subr.el (add-to-list): Preserve return value in compiler-macro
1145 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1147 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1148 result. Ask user to retry using '-all' flag. (Bug#15701)
1150 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * emacs-lisp/smie.el: New smie-config system.
1153 (smie-config): New defcustom.
1154 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1155 (smie-config-guess, smie-config-save): New commands.
1156 (smie-config--mode-local, smie-config--buffer-local)
1157 (smie-config--trace, smie-config--modefuns): New vars.
1158 (smie-config--advice, smie-config--mode-hook)
1159 (smie-config--setter, smie-config-local, smie-config--get-trace)
1160 (smie-config--guess-value, smie-config--guess): New functions.
1161 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1162 text properties. Treat "string fence" syntax like string syntax.
1164 * progmodes/sh-script.el (sh-use-smie): Change default.
1165 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1166 (sh-var-value): Simplify by CSE.
1167 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1168 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1170 (sh-guess-basic-offset): Use cl-incf.
1171 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1173 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1175 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1178 2013-10-24 Glenn Morris <rgm@gnu.org>
1180 * Makefile.in (abs_top_srcdir): Remove.
1181 (update-subdirs): Use relative path to update-subdirs.
1183 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1185 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1186 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1187 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1188 Call unmsys--file-name before expand-file-name, not after it.
1190 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1192 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1193 (ert-test-skipped): New error.
1194 (ert-skip, ert-stats-skipped): New defuns.
1195 (ert--skip-unless): New macro.
1196 (ert-test-skipped): New struct.
1197 (ert--run-test-debugger, ert-test-result-type-p)
1198 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1199 (ert--stats-set-test-and-result, ert-char-for-test-result)
1200 (ert-string-for-test-result, ert-run-tests-batch)
1201 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1202 Handle skipped tests. (Bug#9803)
1204 2013-10-24 Glenn Morris <rgm@gnu.org>
1206 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1208 * Makefile.in (abs_top_srcdir): New, set by configure.
1209 (update-subdirs): Correct build-aux location.
1211 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1213 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1214 value, whether we could auto-deduce `backend', or not.
1216 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1217 with parameters" example. Simplify the "is it block or is it
1218 hash" check, but also make it more thorough.
1220 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1222 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1224 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1229 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1232 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1234 * progmodes/compile.el (compilation-directory-matcher)
1235 (compilation-page-delimiter):
1236 Support GNU Make-4.0 directory quoting. (Bug#15678)
1238 2013-10-23 Leo Liu <sdl.web@gmail.com>
1240 * ido.el (ido-tidy): Handle read-only text.
1242 2013-10-23 Glenn Morris <rgm@gnu.org>
1244 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1245 (emacs, compile, compile-always):
1246 Quote entities that might contain whitespace.
1247 (custom-deps, finder-data, autoloads): Use abs_lisp.
1248 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1249 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1250 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1252 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1254 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1255 Use `following-char'.
1257 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1260 * progmodes/ruby-mode.el (ruby-smie-rules):
1261 Remove corresponding workaround. Fix indentation rule of ";" so it
1262 also applies when ";" is the parent.
1264 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1266 * frame.el (display-screens, display-pixel-height)
1267 (display-pixel-width, display-mm-width, display-backing-store)
1268 (display-save-under, display-planes, display-color-cells)
1269 (display-visual-class, display-monitor-attributes-list):
1270 Mention the optional ‘display’ argument in doc strings.
1272 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1274 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1275 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1277 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1279 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1280 TODO. Add "." after " @ ".
1281 (ruby-smie--at-dot-call): New function. Checks if point at method
1282 call with explicit target.
1283 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1284 to the method name tokens when it precedes them.
1285 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1286 (ruby-smie-rules): Add rule for indentation before and after "."
1289 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * textmodes/remember.el (remember-diary-extract-entries):
1294 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1297 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1299 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1300 (ruby-smie--implicit-semi-p): Add new operator chars.
1302 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1304 (ruby-smie--args-separator-p): Check that there's no newline
1305 between method call and its arguments.
1307 2013-10-20 Alan Mackenzie <acm@muc.de>
1309 Allow comma separated lists after Java "implements".
1311 * progmodes/cc-engine.el (c-backward-over-enum-header):
1313 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1314 from a "disallowed" list in enum fontification.
1316 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1318 * startup.el (default-frame-background-mode): Remove unused defvar.
1320 * progmodes/verilog-mode.el (verilog-mode): Don't set
1321 comment-indent-function globally.
1323 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1325 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1326 Move Info menu item creation to ns-win.el.
1328 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1331 * menu-bar.el: Move GNUStep specific menus...
1333 * term/ns-win.el (ns-initialize-window-system): ... to here.
1335 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1337 * simple.el (newline): Only run post-self-insert-hook when
1338 called interactively.
1340 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1342 * icomplete.el (icomplete-with-completion-tables): Add :version.
1344 2013-10-19 Alan Mackenzie <acm@muc.de>
1346 Fix fontification bugs with constructors and const.
1348 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1349 CASE 2) Remove the check for the absence of a suffix construct
1350 after a function declaration with only types (no identifiers) in
1351 the parentheses. Also, accept a function declaration with just a
1352 type inside the parentheses, if this type can be positively
1353 recognised as such, or if a prefix keyword like "explicit" nails
1354 down the construct as a declaration.
1356 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1358 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1359 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1360 the problem whereby selecting a menu item that leads to a
1361 minibuffer prompt moves the cursor out of the minibuffer window,
1362 making it hard to type at the prompt. Suggested by Stefan Monnier
1363 <monnier@iro.umontreal.ca>.
1365 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1367 * menu-bar.el: Don't make Services menu.
1369 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1371 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1372 (ffap-alist): Use ffap-c++-mode for c++-mode.
1373 (ffap-c++-path): New variable.
1374 (ffap-c++-mode): New function.
1376 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1378 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1380 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1382 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1383 introduced on 2013-09-08, which results in an infinite loop
1384 requesting a password.
1386 2013-10-18 Glenn Morris <rgm@gnu.org>
1388 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1390 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1392 Sync with upstream verilog-mode revision 1a6ecec7.
1393 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1394 (verilog-mode-release-date): Remove.
1395 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1396 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1397 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1398 (verilog-auto-tieoff-ignore-regexp)
1399 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1400 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1401 (verilog-signals-with, verilog-dir-cache-preserving)
1402 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1404 (verilog-case-fold): New option, to control case folding in
1405 regexp searches, bug597.
1406 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1407 (verilog-string-match-fold, verilog-in-paren-count)
1408 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1409 (verilog-at-close-struct-p): New functions.
1410 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1411 (verilog-forward-sexp, verilog-set-auto-endcomments):
1412 (verilog-leap-to-case-head): Handle "unique0" case.
1413 (verilog-in-constraint-re): New constant.
1414 (verilog-keywords, verilog-type-font-keywords):
1415 Add some SystemVerilog 1800-2012 keywords.
1416 (verilog-label-be): Remove unimplemented argument, bug669.
1417 (verilog-batch-execute-func): When batch expanding clear
1418 create-lockfiles to prevent spurious user locks when a file ends
1420 (verilog-calculate-indent, verilog-calc-1)
1421 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1422 (verilog-do-indent): Fix indentation of nested constraints
1424 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1425 (verilog-auto-inst-param): Use verilog-string-match-fold.
1426 (verilog-read-inst-module-matcher):
1427 Fix AUTOINST on gate primitives with #1.
1428 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1429 Reads all user-defined typed variables.
1430 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1431 (verilog-signals-matching-regexp)
1432 (verilog-signals-not-matching-regexp, verilog-auto):
1433 Respect verilog-case-fold.
1434 (verilog-diff-report): Fix line count.
1435 (verilog-auto-assign-modport): Remove unused local `modi'.
1436 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1437 better handle multidimensional arrays.
1438 Fix packed array ports misadding bit index in AUTOINST, bug637.
1439 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1440 to not double-declare existing outputs and inputs, respectively.
1441 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1442 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1443 (verilog-sk-uvm-component): New skeleton.
1444 (verilog-submit-bug-report): Add verilog-case-fold,
1445 remove verilog-mode-release-date.
1447 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1449 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1452 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1454 * textmodes/remember.el (remember): set buffer-offer-save in
1455 remember buffers (bug#13566).
1457 2013-10-18 Daniel Colascione <dancol@dancol.org>
1459 When evaluating forms in ielm, direct standard output to ielm
1460 buffer. Add new ielm-return-for-effect command. Remove trailing
1461 whitespace throughout.
1463 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1464 (ielm-return-for-effect): New command.
1465 (ielm-send-input): Accept optional `for-effect' parameter.
1466 (ielm-eval-input): Accept optional `for-effect' parameter.
1467 Bind `standard-output' to stream we create using
1468 `ielm-standard-output-impl'. Suppress printing result when
1470 (ielm-standard-output-impl): New function.
1471 (inferior-emacs-lisp-mode): Explain new features in documentation.
1473 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1477 * net/tramp.el (tramp-debug-message): Do not check for connection
1479 (tramp-message): Use "vector" connection property.
1481 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1482 (tramp-equal-remote, tramp-eshell-directory-change)
1483 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1484 (tramp-adb-handle-rename-file)
1485 * net/tramp-cmds.el (tramp-list-remote-buffers)
1486 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1487 * net/tramp-compat.el (tramp-compat-process-running-p)
1488 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1489 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1490 (tramp-gvfs-handle-rename-file)
1491 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1492 (tramp-set-file-uid-gid)
1493 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1494 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1497 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1498 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1499 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1500 (tramp-gw-open-network-stream): Suppress unrelated traces.
1502 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1503 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1504 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1505 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1506 connection property.
1508 * net/tramp-cache.el (top): Suppress traces when reading
1511 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1512 Refactor common code. Improve debug message.
1513 (tramp-maybe-open-connection)
1514 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1515 connection buffer too early.
1517 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1518 from `tramp-smb-actions-with-acl'.
1519 (tramp-smb-actions-set-acl): New defconst.
1520 (tramp-smb-handle-copy-directory)
1521 (tramp-smb-action-get-acl): New defun, renamed from
1522 `tramp-smb-action-with-acl'.
1523 (tramp-smb-action-set-acl): New defun.
1524 (tramp-smb-handle-set-file-acl): Rewrite.
1526 2013-10-17 Glenn Morris <rgm@gnu.org>
1528 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1530 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1532 * skeleton.el (skeleton-newline): Remove.
1533 (skeleton-internal-1): Use (insert "\n") instead.
1535 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1538 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1539 forward-sexp-function while we redo its job (bug#15613).
1541 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1543 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1544 represented by lists.
1546 2013-10-16 Glenn Morris <rgm@gnu.org>
1548 * tmm.el (tmm--history): New dynamic variable.
1549 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1551 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1553 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1554 (tramp-smb-errors): Add error messages.
1555 (tramp-smb-actions-with-acl): New defconst.
1556 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1557 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1558 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1559 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1560 (tramp-smb-get-stat-capability): Fix tests.
1562 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1564 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1567 2013-10-16 Glenn Morris <rgm@gnu.org>
1569 * ansi-color.el (ansi-color-drop-regexp):
1570 Add 1J, 1K, 2K. (Bug#15617)
1572 * files.el (hack-local-variables--warned-lexical): New.
1573 (hack-local-variables):
1574 Warn about misplaced lexical-binding. (Bug#15616)
1576 * net/eww.el (eww-render): Always set eww-current-url,
1577 and update header line. (Bug#15622)
1578 (eww-display-html): ... Rather than just doing it here.
1580 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1582 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1583 menu navigations commands.
1585 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1587 * progmodes/subword.el (subword-capitalize): Be careful when
1588 the search for [[:alpha:]] fails (bug#15580).
1590 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1592 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1593 to commands that scroll the menu.
1595 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1597 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1598 Handle methods ending with `?' and `!'.
1600 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1602 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1603 `japanese-cp932' to `cp932' to fix the problem where saving a
1604 source file written in Shift_JIS twice would end up having
1605 `coding: japanese-cp932' which Ruby could not recognize.
1606 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1607 in `ruby-encoding-map'.
1608 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1609 doesn't need to be explicitly declared in magic comment.
1610 (ruby-encoding-map): Add type declaration for better customize UI.
1612 2013-10-13 Glenn Morris <rgm@gnu.org>
1614 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1615 Occur buffers are read-only. http://bugs.debian.org/720775
1617 * emacs-lisp/authors.el (authors-fixed-entries):
1618 Comment out old alpha stuff.
1620 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1622 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1623 to `after-save-hook' instead of `before-save-hook'.
1624 (ruby-mode-set-encoding): Use the value of coding system used to
1625 write the file. Call `basic-save-buffer-1' after modifying the
1628 2013-10-13 Alan Mackenzie <acm@muc.de>
1630 Fix indentation/fontification of Java enum with
1631 "implements"/generic.
1633 * progmodes/cc-engine.el (c-backward-over-enum-header):
1634 Extracted from the three other places and enhanced to handle generics.
1635 (c-inside-bracelist-p): Uses new function above.
1636 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1638 (c-font-lock-enum-tail): Uses new function above.
1640 2013-10-13 Kenichi Handa <handa@gnu.org>
1642 * international/mule-cmds.el (select-safe-coding-system): Remove a
1643 superfluous condition in chekcing whether a coding system is safe
1646 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1648 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1650 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1652 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1654 2013-10-13 Glenn Morris <rgm@gnu.org>
1656 * menu-bar.el (menu-bar-update-buffers):
1657 Unify Buffers menu prompt string. (Bug#15576)
1659 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1661 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1663 (authors-fixed-entries): Use accented form of name.
1665 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1667 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1668 method calls (bug#15594).
1669 (ruby-smie--args-separator-p): New function.
1670 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1671 recognize paren-free method calls.
1673 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1674 internals of universal-argument.
1676 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1678 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1679 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1680 dropped menu on second mouse click on the menu bar.
1682 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1684 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1685 (explicit-shell-file-name): Declare.
1686 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1687 (sh-completion-at-point-function): New function.
1689 (sh-smie--keyword-p): Remove unused argument.
1690 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1692 (sh-set-shell): Always setup SMIE, even if we use the
1693 old indentation code.
1695 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1697 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1699 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1700 predicate would return nil are almost non-existent.
1701 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1703 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1704 cache also after commands that modify the buffer but don't move
1707 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * env.el (substitute-env-in-file-name): New function.
1710 (substitute-env-vars): Extend the meaning of the optional arg.
1712 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1714 * term/w32-win.el (dynamic-library-alist): Define separate lists
1715 of GIF DLLs for versions before and after 5.0.0 of giflib.
1718 2013-10-10 João Távora <joaotavora@gmail.com>
1720 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1721 not locked, use last revision and current source as
1722 defaults. (Bug#15569)
1724 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1726 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1729 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1731 * window.el (pop-to-buffer-same-window): Fix doc-string.
1734 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1736 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1738 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1740 * calendar/icalendar.el (icalendar-import-file):
1741 Fix interactive spec. (Bug#15482)
1743 2013-10-10 Glenn Morris <rgm@gnu.org>
1745 * desktop.el (desktop-save): Default to saving in .emacs.d,
1746 since PWD is no longer in desktop-path by default. (Bug#15319)
1748 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1749 now that text mode has a menu with the same entry.
1750 (menu-bar-text-mode-auto-fill): Remove now unused func.
1751 * textmodes/text-mode.el (text-mode-map):
1752 Use auto-fill help text from menu-bar.el.
1754 2013-10-10 John Anthony <john@jo.hnanthony.com>
1756 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1758 2013-10-09 Juri Linkov <juri@jurta.org>
1760 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1761 instead of this-command-keys. Add universal-argument-more and
1762 universal-argument-minus to the list of prefix commands. (Bug#15568)
1764 2013-10-09 Glenn Morris <rgm@gnu.org>
1766 * vc/vc-svn.el (vc-svn-create-repo):
1767 Expand paths in file://... url. (Bug#15446)
1769 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1771 (authors): Remove unused local variables.
1773 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * profiler.el: Create a more coherent calltree from partial backtraces.
1776 (profiler-format): Hide the tail with `invisible' so that C-s can still
1777 find the hidden elements.
1778 (profiler-calltree-depth): Don't recurse so enthusiastically.
1779 (profiler-function-equal): New hash-table-test.
1780 (profiler-calltree-build-unified): New function.
1781 (profiler-calltree-build): Use it.
1782 (profiler-report-make-name-part): Indent the calltree less.
1783 (profiler-report-mode): Add visibility specs for profiler-format.
1784 (profiler-report-expand-entry, profiler-report-toggle-entry):
1785 Expand the whole subtree when provided with a prefix arg.
1787 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1789 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1791 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1792 hanging iuwu-mod token.
1793 (ruby-smie--forward-token): Do not include a dot after a token in
1795 (ruby-smie--backward-token): Likewise.
1797 2013-10-08 Juri Linkov <juri@jurta.org>
1799 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1800 to isearch-other-control-char.
1801 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1802 and isearch-post-command-hook to post-command-hook.
1803 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1804 and isearch-post-command-hook from post-command-hook.
1805 (isearch-unread-key-sequence)
1806 (isearch-reread-key-sequence-naturally)
1807 (isearch-lookup-scroll-key, isearch-other-control-char)
1808 (isearch-other-meta-char): Remove functions.
1809 (isearch-pre-command-hook, isearch-post-command-hook):
1810 New functions based on isearch-other-meta-char rewritten
1811 relying on the new behavior of overriding-terminal-local-map
1812 that does not replace the local keymaps any more. (Bug#15200)
1814 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1816 Support menus on text-mode terminals.
1817 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1820 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1822 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1823 Move here from mouse.el.
1824 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1826 (tty-menu-navigation-map): New map for TTY menu navigation.
1828 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1830 * frame.el (display-mouse-p): Report text-mode mouse as available
1832 (display-popup-menus-p): Report availability if mouse is
1833 available; don't condition on window-system.
1835 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1836 (tty-menu-selected-face): New faces.
1838 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1840 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1841 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1842 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1843 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1845 (lisp-mode-variables): New `elisp' argument.
1846 (emacs-lisp-mode): Use it.
1847 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1848 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1850 * indent.el: Use lexical-binding.
1851 (indent-region): Add progress reporter.
1852 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1854 (indent--next-tab-stop): New function to implement this behavior.
1855 (tab-to-tab-stop, move-to-tab-stop): Use it.
1857 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1859 * indent.el (indent-rigidly--current-indentation): New function.
1860 (indent-rigidly-map): New var.
1861 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1863 2013-10-08 Bastien Guerry <bzg@gnu.org>
1865 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1867 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * progmodes/perl-mode.el: Use lexical-binding.
1870 Remove redundant :group args.
1871 (perl-nochange): Change default to be closer to other major modes's
1873 (perl-indent-line): Don't consider text on current line as a
1874 valid beginning of function from which to indent.
1876 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1877 with more than one argument (bug#15538).
1879 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1881 * vc/pcvs.el: Use lexical-binding.
1882 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1883 environment of `eval'.
1884 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1885 than a list of expressions. Adjust callers.
1886 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1888 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1890 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1891 case of the dot in a chained method call being on the following line.
1893 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * electric.el (electric-indent-inhibit): New var.
1896 (electric-indent-post-self-insert-function): Use it.
1897 * progmodes/python.el (python-mode): Set it.
1899 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1902 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1904 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1905 (css-mode): Use electric-indent-chars.
1907 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1908 (font-lock-beg, font-lock-end): Move before first use.
1909 (nxml-mode): Use syntax-propertize-function.
1910 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1911 (nxml-extend-after-change-region): Remove.
1912 * nxml/xmltok.el: Use lexical-binding.
1913 (xmltok-save): Use `declare'.
1914 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1915 * nxml/nxml-util.el: Use lexical-binding.
1916 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1918 * nxml/nxml-ns.el: Use lexical-binding.
1919 (nxml-ns-save): Use `declare'.
1920 (nxml-ns-prefixes-for): Avoid add-to-list.
1921 * nxml/rng-match.el: Use lexical-binding.
1922 (rng--ipattern): Use cl-defstruct.
1923 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1924 (rng-cons-group-after, rng-subst-group-after)
1925 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1926 Use closures instead of `(lambda...).
1928 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1930 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1933 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1934 Use `tramp-handle-insert-file-contents'.
1935 (tramp-gvfs-handle-insert-file-contents): Remove function.
1937 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1938 Use `save-restriction' in order to keep markers.
1940 * net/trampver.el: Update release number.
1942 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * progmodes/compile.el (compilation-parse-errors):
1945 Use compilation--put-prop.
1946 (compilation--ensure-parse): Check compilation-multiline.
1948 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1950 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1953 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1955 * progmodes/ruby-mode.el: Fix recently added tests.
1956 (ruby-smie-grammar): Add - and +.
1957 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1958 (ruby-smie--backward-id): New functions.
1959 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1960 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1963 2013-10-07 Leo Liu <sdl.web@gmail.com>
1965 * register.el (register-preview-delay)
1966 (register-preview-functions): New variables.
1967 (register-read-with-preview, register-preview)
1968 (register-describe-oneline): New functions.
1969 (point-to-register, window-configuration-to-register)
1970 (frame-configuration-to-register, jump-to-register)
1971 (number-to-register, view-register, insert-register)
1972 (copy-to-register, append-to-register, prepend-to-register)
1973 (copy-rectangle-to-register): Use register-read-with-preview to
1974 read register. (Bug#15525)
1976 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1978 * net/network-stream.el (network-stream-open-starttls): Don't add
1979 --insecure if it's already present, because that gnutls-cli
1980 rejects getting that parameter twice.
1982 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1984 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1987 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1989 * newcomment.el (comment-use-global-state): Change default value
1990 to t, mark obsolete (Bug#15251).
1991 (comment-beginning): In addition to `comment-to-syntax', check the
1992 value of `comment-use-global-state'.
1994 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1996 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1997 (ruby-comment-column): Follow the global default, by default.
1998 (ruby-smie-grammar): Add assignment syntax.
1999 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2000 open-paren, a comma, or a \.
2001 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2002 and line continuations.
2003 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2004 followed by implicit semi-colons. Add rule for string concatenation
2005 and for indentation at BOB.
2006 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2008 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2009 calling next-sexp, since next-token may have skipped chars which
2010 next-sexp doesn't know should be skipped!
2012 2013-10-05 Leo Liu <sdl.web@gmail.com>
2014 * progmodes/octave.el (octave-send-region):
2015 Call compilation-forget-errors.
2017 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2019 * vc/vc-svn.el (vc-svn-find-admin-dir):
2020 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2021 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2022 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2023 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2025 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2029 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * subr.el (read-passwd): Hide chars even when called within a context
2032 where after-change-functions is disabled (bug#15501).
2033 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2034 until we removed ourself from overriding-terminal-local-map.
2036 2013-10-04 Leo Liu <sdl.web@gmail.com>
2038 * progmodes/octave.el (inferior-octave-mode):
2039 Call compilation-forget-errors.
2041 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2043 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2045 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2047 * net/secrets.el (secrets-create-collection): Add optional
2048 argument ALIAS. Use proper Label keyword. Append ALIAS as
2049 dbus-call-method argument. (Bug#15516)
2051 2013-10-04 Leo Liu <sdl.web@gmail.com>
2053 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2054 (inferior-octave-compilation-font-lock-keywords): New variables.
2055 (compilation-error-regexp-alist)
2056 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2057 (inferior-octave-mode): Use compilation-shell-minor-mode.
2059 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2061 * minibuffer.el (completion--replace): Be careful that `end' might be
2064 2013-10-03 Daiki Ueno <ueno@gnu.org>
2066 Add support for package signature checking.
2067 * emacs-lisp/package.el (url-http-file-exists-p)
2068 (epg-make-context, epg-context-set-home-directory)
2069 (epg-verify-string, epg-context-result-for)
2070 (epg-signature-status, epg-signature-to-string)
2071 (epg-check-configuration, epg-configuration)
2072 (epg-import-keys-from-file): Declare.
2073 (package-check-signature): New user option.
2074 (package-unsigned-archives): New user option.
2075 (package-desc): Add `signed' field.
2076 (package-load-descriptor): Set `signed' field if .signed file exists.
2077 (package--archive-file-exists-p): New function.
2078 (package--check-signature): New function.
2079 (package-install-from-archive): Check package signature.
2080 (package--download-one-archive): Check archive signature.
2081 (package-delete): Remove .signed file.
2082 (package-import-keyring): New command.
2083 (package-refresh-contents): Import default keyring.
2084 (package-desc-status): Add "unsigned" status.
2085 (describe-package-1, package-menu--print-info)
2086 (package-menu-mark-delete, package-menu--find-upgrades)
2087 (package-menu--status-predicate): Support "unsigned" status.
2089 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2091 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2092 the new compilation scheme using the new byte-codes.
2094 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2095 (byte-pophandler): New byte codes.
2096 (byte-goto-ops): Adjust accordingly.
2097 (byte-compile--use-old-handlers): New var.
2098 (byte-compile-catch): Use new byte codes depending on
2099 byte-compile--use-old-handlers.
2100 (byte-compile-condition-case--old): Rename from
2101 byte-compile-condition-case.
2102 (byte-compile-condition-case--new): New function.
2103 (byte-compile-condition-case): New function that dispatches depending
2104 on byte-compile--use-old-handlers.
2105 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2108 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2109 Optimize under `condition-case' and `catch' if
2110 byte-compile--use-old-handlers is nil.
2111 (disassemble-offset): Handle new bytecodes.
2113 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * subr.el (error): Use `declare'.
2116 (decode-char, encode-char): Use advertised-calling-convention instead
2117 of the docstring to discourage use of the `restriction' arg.
2119 2013-10-03 Daiki Ueno <ueno@gnu.org>
2121 * epg.el (epg-verify-file): Add a comment saying that it does not
2122 notify verification error as a return value nor a signal.
2123 (epg-verify-string): Ditto.
2125 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2127 * progmodes/compile.el (compilation-start): Try globbing the arg to
2130 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2132 Sync with Tramp 2.2.8.
2134 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2135 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2136 * net/trampver.el: Update release number.
2138 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2140 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2141 and default-process-coding-system for darwin only.
2143 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2147 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2149 * vc/vc-git.el (vc-git-grep): Disable pager.
2151 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2153 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2154 Use :url instead of :homepage, as per
2155 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2157 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2158 non-nil, use `syntax-ppss' (Bug#15251).
2160 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2162 * progmodes/octave.el (inferior-octave-startup-file):
2163 Prefer ~/.emacs.d/init_octave.m.
2165 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2167 * emacs-lisp/package.el (package-desc-from-define):
2168 Accept additional arguments as plist, convert them to an alist and store
2169 them in the `extras' slot.
2170 (package-generate-description-file): Convert extras alist back to
2171 plist and append to the `define-package' form arguments.
2172 (package--alist-to-plist): New function.
2173 (package--ac-desc): Add `extras' slot.
2174 (package--add-to-archive-contents): Check if the archive-contents
2175 vector is long enough, and if it is, pass its `extras' slot value
2176 to `package-desc-create'.
2177 (package-buffer-info): Call `lm-homepage', pass the returned value
2178 to `package-desc-from-define'.
2179 (describe-package-1): Render the homepage button (Bug#13291).
2181 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2182 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2184 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2186 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2187 and default-process-coding-system to utf-8-unix (Bug#15402).
2189 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2191 * subr.el (looking-back): Do not recommend using looking-back.
2193 2013-09-28 Alan Mackenzie <acm@muc.de>
2195 Fix indentation/fontification of Java enum with "implements".
2197 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2198 regexp which matches "implements", etc., in Java.
2199 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2200 specifier clauses coming after "enum".
2201 * progmodes/cc-fonts.el (c-font-lock-declarations)
2202 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2205 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2207 * faces.el (region): Change ns_selection_color to
2208 ns_selection_fg_color, add ns_selection_bg_color.
2210 2013-09-28 Leo Liu <sdl.web@gmail.com>
2212 * progmodes/octave.el (inferior-octave-completion-table)
2213 (inferior-octave-completion-at-point): Minor tweaks.
2215 * textmodes/ispell.el (ispell-lookup-words): Rename from
2216 lookup-words. (Bug#15460)
2217 (lookup-words): Obsolete.
2218 (ispell-complete-word, ispell-command-loop): All uses changed.
2220 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2222 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2223 (octave-mode-menu): Add octave-send-buffer.
2224 (octave-send-buffer): New function.
2226 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2228 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2230 (octave-mode-menu): Add octave-lookfor.
2231 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2233 (octave-lookfor): New function.
2235 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * emacs-lisp/cl-macs.el:
2238 (cl--loop-destr-temps): Remove.
2239 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2241 (cl--loop-set-iterator-function): New function.
2242 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2243 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2244 Bind `it' with `let' instead of substituting it with `cl-subst'.
2245 (cl--unused-var-p): New function.
2246 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2247 Eliminate some unused variable warnings (bug#15326).
2249 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2251 * doc-view.el (doc-view-scale-reset): Rename from
2252 `doc-view-reset-zoom-level'.
2253 (doc-view-scale-adjust): New command.
2254 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2255 `doc-view-scale-adjust'.
2257 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2259 * doc-view.el (doc-view-reset-zoom-level): New command.
2260 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2261 zoom commands (bug#15466).
2263 2013-09-26 Kenichi Handa <handa@gnu.org>
2265 * international/quail.el (quail-help): Make it not a command.
2267 2013-09-26 Leo Liu <sdl.web@gmail.com>
2269 * minibuffer.el (completion-all-sorted-completions): Make args
2270 optional as they are.
2272 2013-09-25 Daniel Colascione <dancol@dancol.org>
2274 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2275 specs are and that they're not evaluated.
2277 2013-09-24 Sam Steingold <sds@gnu.org>
2279 * midnight.el (clean-buffer-list-kill-regexps)
2280 (clean-buffer-list-kill-buffer-names): Update for the new Man
2281 buffer naming which includes the object name.
2283 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2286 (eshell-parse-command, eshell-parse-pipeline): Use it since
2287 eshell-separate-commands requires a dynamic scoped var.
2288 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2290 2013-09-23 Leo Liu <sdl.web@gmail.com>
2292 * autoinsert.el (auto-insert-alist): Make the value of
2293 lexical-binding match its file setting.
2295 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2297 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2299 * autoarg.el (autoarg-kp-digit-argument):
2300 * electric.el (Electric-command-loop):
2301 * kmacro.el (kmacro-step-edit-insert):
2302 Do not set universal-argument-num-events.
2304 2013-09-22 Leo Liu <sdl.web@gmail.com>
2306 * files.el (interpreter-mode-alist): Add octave.
2308 2013-09-21 Alan Mackenzie <acm@muc.de>
2310 C++: fontify identifier in declaration following "public:" correctly.
2311 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2312 to match "public", etc.
2313 (c-decl-prefix-re): Add ":" into the C++ value.
2314 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2315 bit. Add a check for a ":" preceded by "public", etc.
2317 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2319 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2320 recognized by GDB 7.5 and later.
2322 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2324 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2326 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * subr.el (internal--call-interactively): New const.
2329 (called-interactively-p): Use it (bug#3984).
2331 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2333 * vc/pcvs.el (cvs-mode-ignore):
2334 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2335 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2337 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2339 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2340 (eshell-ls-orig-insert-directory): Remove.
2341 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2342 (eshell-ls-use-in-dired): Use advice-add/remove.
2343 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2344 Add `orig-fun' arg for use in :around advice.
2345 Make it check (redundantly) eshell-ls-use-in-dired.
2347 2013-09-19 Glenn Morris <rgm@gnu.org>
2349 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2351 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2353 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2355 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2357 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2358 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2359 (tramp-get-remote-python): New defuns.
2360 (tramp-get-remote-uid-with-perl)
2361 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2362 contributed by yary <not.com@gmail.com> (tiny change).
2363 (tramp-get-remote-uid-with-python)
2364 (tramp-get-remote-gid-with-python): New defuns. Python code
2365 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2366 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2368 2013-09-19 Glenn Morris <rgm@gnu.org>
2370 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2372 * eshell/em-unix.el (eshell-remove-entries):
2373 Rename argument to avoid name-clash with global `top-level'.
2375 * eshell/esh-proc.el (eshell-kill-process-function):
2376 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2377 (eshell-reset-after-proc): Remove unused arg `proc'.
2379 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2380 (directory-files-and-attributes): Mark unused arg.
2382 * eshell/em-unix.el (eshell-remove-entries):
2383 Remove unused arg `path'. Update callers.
2385 * eshell/em-hist.el (eshell-hist-parse-arguments):
2386 Remove unused arg `silent'. Update callers.
2388 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2389 Fix (f)boundp mix-up.
2391 * eshell/em-smart.el (eshell-smart-scroll-window)
2392 (eshell-disable-after-change):
2393 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2395 2013-09-18 Alan Mackenzie <acm@muc.de>
2397 Fix fontification of type when followed by "const".
2398 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2399 "known" types from fontification.
2401 2013-09-18 Glenn Morris <rgm@gnu.org>
2403 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2404 (chart-face-list): Drop Emacsen without display-color-p.
2406 * net/eww.el (libxml-parse-html-region): Declare.
2407 (eww-display-html): Explicit error if no libxml2 support.
2409 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2411 * image.el (image-type-from-buffer, image-multi-frame-p):
2412 Remove --without-x warning/error.
2414 * mouse.el (mouse-yank-primary):
2415 * term.el (term-mouse-paste):
2416 Reorder to silence --without-x compilation.
2418 * mpc.el (doc-view-mode): Silence --without-x compilation.
2420 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2421 Silence --without-x compilation.
2423 * progmodes/gud.el (gud-find-file, gud-mode):
2424 Silence --without-x compilation.
2425 (tooltip-mode): Declare.
2427 * wdired.el (dired-backup-overwrite): Remove declaration.
2428 (wdired-mode-map): Add doc string.
2430 * custom.el (x-get-resource): Declare.
2432 * eshell/em-glob.el (ange-cache):
2433 * eshell/em-unix.el (ange-cache): Declare.
2435 * faces.el (x-display-list, x-open-connection, x-get-resource):
2438 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2439 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2442 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2444 * net/gnutls.el (gnutls-log-level): Declare.
2446 * net/shr.el (image-size, image-animate): Declare.
2448 * simple.el (font-info): Declare.
2450 * subr.el (x-popup-dialog): Declare.
2452 * term/common-win.el (x-select-enable-primary)
2453 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2456 * term/ns-win.el (x-handle-args): Declare.
2458 * term/x-win.el (x-select-enable-clipboard): Declare.
2460 * term/w32-win.el (create-default-fontset): Declare.
2462 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2465 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2466 (fit-frame-to-buffer): Explicit error if --without-x.
2467 (mouse-autoselect-window-select): Silence compiler.
2469 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2471 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2472 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2473 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2474 * eshell/esh-util.el (eshell-sublist):
2475 Remove unused local variables.
2477 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2479 * textmodes/two-column.el: Make 2C-split work for --without-x.
2480 (scroll-bar-columns): Autoload.
2481 (top-level): Require fringe when compiling.
2483 2013-09-18 Leo Liu <sdl.web@gmail.com>
2485 * subr.el (add-hook): Robustify to handle closure as well.
2487 2013-09-17 Glenn Morris <rgm@gnu.org>
2489 * simple.el (messages-buffer-mode-map): Unbind "g".
2491 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * help-mode.el (help-mode-finish): Use derived-mode-p.
2494 Remove obsolete highlighting.
2496 * play/life.el (life-mode): Use define-derived-mode. Derive from
2498 (life): Let-bind inhibit-read-only.
2499 (life-setup): Avoid `setq'. Use `life-mode'.
2501 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2502 which should not be needed any more.
2503 (package-menu-refresh, package-menu-describe-package): Use user-error.
2505 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2506 (eshell-post-rewrite-command-hook): Make obsolete.
2507 (eshell-parse-command): Simplify.
2508 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2509 (eshell--cmd): Declare.
2510 (eshell-parse-pipeline): Remove unused var `final-p'.
2511 Pass a dynvar to eshell-post-rewrite-command-hook.
2512 Implement the new eshell-post-rewrite-command-function.
2513 (eshell-invoke-directly): Remove unused arg `input'.
2514 * eshell/esh-io.el (eshell-io-initialize):
2515 Use eshell-post-rewrite-command-function (bug#15399).
2516 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2517 adjust to new calling convention.
2518 (eshell-create-handles): Rename args to avoid clashing with dynvar
2521 2013-09-17 Glenn Morris <rgm@gnu.org>
2523 * simple.el (messages-buffer-mode): New major mode.
2524 (messages-buffer): New function.
2525 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2526 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2527 (ert-run-test): Use `messages-buffer' function.
2528 (ert--force-message-log-buffer-truncation): Ignore read-only.
2529 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2530 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2532 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2534 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2536 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2538 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2540 * icomplete.el (icomplete-in-buffer): New var.
2541 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2542 vars and replace them with functions.
2543 (icomplete-minibuffer-setup): Adjust accordingly.
2544 (icomplete--completion-table, icomplete--completion-predicate)
2545 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2547 (icomplete-forward-completions, icomplete-backward-completions)
2548 (icomplete-simple-completing-p, icomplete-exhibit)
2549 (icomplete-completions): Use them.
2550 (icomplete--in-region-buffer): New var.
2551 (icomplete--in-region-setup): New function.
2552 (icomplete-mode): Use it.
2554 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2556 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2557 return args and options.
2558 (eshell-eval-using-options): Use the new return value of
2559 eshell--do-opts to set the options's vars in their scope.
2560 (eshell--set-option): Rename from eshell-set-option.
2562 (eshell--process-option): Rename from eshell-process-option.
2564 (eshell--process-args): Use an `opt-vals' alist to store the options's
2565 values during their processing and return them additionally to the
2568 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2570 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2571 continuation character an operator, as far as indentation is
2572 concerned (Bug#15369).
2574 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2576 * window.el (window--state-put-2): Don't process buffer state
2577 when buffer doesn't exist any more (Bug#15382).
2579 2013-09-15 Glenn Morris <rgm@gnu.org>
2581 * eshell/em-unix.el (eshell/rm):
2582 Make -f ignore missing files. (Bug#15373)
2584 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2585 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2586 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2588 2013-09-14 Glenn Morris <rgm@gnu.org>
2590 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2592 2013-09-13 Glenn Morris <rgm@gnu.org>
2594 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2595 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2597 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2599 * frame.el (x-focus-frame): Mark as declared in frame.c.
2601 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2603 * ls-lisp.el: Use advice-add.
2604 (original-insert-directory): Remove.
2605 (ls-lisp--insert-directory): Rename from insert-directory; add
2606 `orig-fun' argument.
2607 (insert-directory): Advise.
2609 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2611 * term.el (term-emulate-terminal): Decode the command string
2612 before passing it to term-command-hook. (Bug#15337)
2614 2013-09-13 Glenn Morris <rgm@gnu.org>
2616 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2618 * eshell/esh-ext.el (eshell-search-path): Declare.
2620 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2621 Otherwise an error occurs if eshell-dirs module not loaded.
2623 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2625 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2627 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2628 `tramp-check-proper-host'. Check for a valid method name.
2630 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2631 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2632 * net/tramp-sh.el (tramp-maybe-open-connection):
2633 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2635 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2636 also for hash values.
2638 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * term/ns-win.el (parameters): Don't declare as dynamic.
2641 (before-make-frame-hook): Don't add ineffective function.
2643 * eshell/*.el: Use lexical-binding (bug#15231).
2645 2013-09-12 Kenichi Handa <handa@gnu.org>
2647 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2649 2013-09-12 Glenn Morris <rgm@gnu.org>
2651 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2652 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2654 * subr.el (do-after-load-evaluation): Also give compiler warnings
2655 when obsolete files are used (except by obsolete files).
2657 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2658 in the status output, assume `filename' is the first. (Bug#15322)
2660 * vc/vc.el (vc-deduce-fileset): Doc fix.
2662 * calc/calc-help.el (Info-goto-node):
2663 * progmodes/cperl-mode.el (Info-find-node):
2664 * vc/ediff.el (Info-goto-node): Update declarations.
2666 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2668 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2669 (vc-bzr-pull): Require vc-dispatcher.
2670 * vc/vc-git.el (vc-compilation-mode): Declare.
2671 (vc-git-pull): Require vc-dispatcher.
2673 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2675 * progmodes/octave.el (help-button-action): Declare.
2677 * shell.el (shell-directory-tracker): Output error as a message
2678 rather than just returning it as a string.
2679 (shell-process-pushd): Remove useless use of message.
2681 * dframe.el (dframe-timer-fn):
2682 * files.el (dir-locals-read-from-file):
2683 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2685 * reveal.el (reveal-post-command):
2686 * saveplace.el (load-save-place-alist-from-file):
2687 * shell.el (shell-resync-dirs):
2688 * w32-common-fns.el (x-get-selection-value):
2689 * emacs-lisp/copyright.el (copyright-find-copyright):
2690 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2691 * emulation/tpu-edt.el (tpu-copy-keyfile):
2692 * play/bubbles.el (bubbles--mark-neighbourhood):
2693 * progmodes/executable.el
2694 (executable-make-buffer-file-executable-if-script-p):
2695 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2697 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2699 Cleanup Eshell to rely less on dynamic scoping.
2700 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2701 last-value, and ext-command here. Bind `args' closer to `body'.
2702 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2703 (eshell--args): Declare new dynamic var.
2704 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2705 last-value, and ext-command. Pass `args' to `body'.
2706 (eshell-process-args): Bind eshell--args.
2707 (eshell-set-option): Use eshell--args.
2708 * eshell/eshell.el (eshell): Use derived-mode-p.
2709 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2710 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2711 (eshell-glob-function): Declare.
2712 * eshell/esh-util.el: Require cl-lib.
2713 (eshell-read-hosts-file): Avoid add-to-list.
2714 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2716 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2718 (eshell/diff): Remove unused var `err'.
2719 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2721 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2722 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2724 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2725 Move declaration before first use.
2726 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2727 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2730 2013-09-12 Glenn Morris <rgm@gnu.org>
2732 * term/ns-win.el (global-map): Remove binding for ispell-next,
2733 deleted 1999-05-29. (Bug#15357)
2735 2013-09-11 Glenn Morris <rgm@gnu.org>
2737 * echistory.el (electric-command-history): Remove call to deleted func.
2739 * play/landmark.el (landmark-mode): Fix typos.
2741 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2742 Check cvs-sort-ignore-file is bound.
2744 * savehist.el: No need for cl when compiling on Emacs.
2746 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2750 (eshell-self-insert-command, eshell-send-invisible):
2751 Remove unused argument.
2752 (eshell-handle-control-codes): Remove unused var `orig'.
2753 Avoid delete-backward-char.
2755 * files.el (set-auto-mode): Simplify a bit further.
2757 2013-09-11 Glenn Morris <rgm@gnu.org>
2759 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2760 (set-auto-mode): Don't regexp-quote elements.
2761 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2762 * progmodes/cc-mode.el (interpreter-mode-alist):
2763 * progmodes/ruby-mode.el (interpreter-mode-alist):
2764 Revert previous change.
2766 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2768 * play/snake.el (snake-mode):
2769 * play/mpuz.el (mpuz-mode):
2770 * play/landmark.el (lm-mode):
2771 * play/blackbox.el (blackbox-mode):
2772 * play/5x5.el (5x5-mode):
2773 * obsolete/options.el (Edit-options-mode):
2774 * net/quickurl.el (quickurl-list-mode):
2775 * net/newst-treeview.el (newsticker-treeview-mode):
2776 * mail/rmailsum.el (rmail-summary-mode):
2777 * mail/mspools.el (mspools-mode):
2778 * locate.el (locate-mode):
2779 * ibuffer.el (ibuffer-mode):
2780 * emulation/ws-mode.el (wordstar-mode):
2781 * emacs-lisp/debug.el (debugger-mode):
2782 * array.el (array-mode):
2783 * net/eudc.el (eudc-mode): Use define-derived-mode.
2784 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2785 Move initialization into declaration.
2786 (mairix-searches-mode): Use define-derived-mode.
2787 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2788 (eudc-edit-hotlist): Use dolist.
2789 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2790 (Man-mode): Use define-derived-mode.
2791 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2792 (Info-edit-mode): Use define-derived-mode.
2793 (Info-cease-edit): Use Info-mode.
2794 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2796 (eshell-mode): Use define-derived-mode.
2797 * chistory.el (command-history-mode-map): Rename from
2798 command-history-map.
2799 (command-history-mode): Use define-derived-mode.
2800 (Command-history-setup): Remove function.
2801 * calc/calc.el (calc-trail-mode-map): New var.
2802 (calc-trail-mode): Use define-derived-mode.
2803 (calc-trail-buffer): Set calc-main-buffer manually.
2804 * bookmark.el (bookmark-insert-annotation): New function.
2805 (bookmark-edit-annotation): Use it.
2806 (bookmark-edit-annotation-mode): Make it a proper major mode.
2807 (bookmark-send-edited-annotation): Use derived-mode-p.
2808 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2809 closer to its ideal place. Use \' to match EOS.
2811 * profiler.el (profiler-calltree-find): Use function-equal.
2813 2013-09-10 Glenn Morris <rgm@gnu.org>
2815 * files.el (interpreter-mode-alist): Convert to regexps.
2816 (set-auto-mode): Adapt for this. (Bug#15306)
2817 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2818 Comment out unused variable.
2819 * progmodes/cc-mode.el (interpreter-mode-alist):
2820 * progmodes/python.el (interpreter-mode-alist):
2821 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2822 * progmodes/sh-script.el (sh-set-shell):
2823 No longer use interpreter-mode-alist to get list of shells.
2825 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2827 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2829 * simple.el: Use set-temporary-overlay-map for universal-argument.
2830 (universal-argument-map): Don't use default-bindings (bug#15317).
2831 Bind switch-frame explicitly. Replace universal-argument-minus with
2832 a conditional binding.
2833 (universal-argument-num-events, saved-overriding-map): Remove.
2834 (restore-overriding-map): Remove.
2835 (universal-argument--mode): Rename from save&set-overriding-map,
2837 (universal-argument, universal-argument-more, negative-argument)
2838 (digit-argument): Adjust accordingly.
2839 (universal-argument-minus): Remove.
2840 (universal-argument-other-key): Remove.
2842 * subr.el (with-demoted-errors): Add `format' argument.
2844 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2846 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2847 `tramp-cleanup-connection'.
2849 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2850 parameters KEEP-DEBUG and KEEP-PASSWORD.
2852 * net/tramp.el (tramp-file-name-handler):
2853 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2854 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2855 (tramp-maybe-open-connection):
2856 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2857 Use `tramp-cleanup-connection'.
2859 * net/tramp-sh.el (tramp-maybe-open-connection):
2860 Catch 'uname-changed inside the progress reporter.
2862 2013-09-10 Glenn Morris <rgm@gnu.org>
2864 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2866 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2867 returns "alternate access method" in mode (eg "-rw-r--r--.").
2869 2013-09-08 Glenn Morris <rgm@gnu.org>
2871 * saveplace.el (load-save-place-alist-from-file):
2872 Demote errors. (Bug#15305)
2874 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2876 Improve compatibility with older Emacsen, and XEmacs.
2878 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2879 only if it is bound. It isn't for XEmacs.
2880 (with-tramp-progress-reporter): Do not let-bind `result'.
2881 This yields to scoping errors in XEmacs.
2882 (tramp-handle-make-auto-save-file-name): New function, moved from
2885 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2886 for `make-auto-save-file-name'.
2887 (tramp-adb--gnu-switches-to-ash):
2888 Use `tramp-compat-replace-regexp-in-string'.
2890 * net/tramp-cache.el (tramp-cache-print): Call
2891 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2893 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2894 bound. It isn't for XEmacs.
2896 * net/tramp-compat.el (tramp-compat-copy-file):
2897 Catch `wrong-number-of-arguments' error.
2898 (tramp-compat-replace-regexp-in-string): New defun.
2900 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2901 for `make-auto-save-file-name'.
2902 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2904 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2905 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2906 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2908 * net/tramp-gw.el (tramp-gw-open-network-stream):
2909 Use `tramp-compat-replace-regexp-in-string'.
2911 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2912 Call `tramp-handle-make-auto-save-file-name'.
2913 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2914 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2915 (tramp-sh-file-inotifywait-process-filter):
2916 Use `tramp-compat-replace-regexp-in-string'.
2917 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2919 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2920 for `make-auto-save-file-name'.
2921 (tramp-smb-handle-copy-directory):
2922 Call `tramp-compat-replace-regexp-in-string'.
2923 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2924 (tramp-smb-handle-copy-file): Improve error message.
2925 (tramp-smb-handle-rename-file): Rename directly only in case
2926 `newname' does not exist yet. This is a restriction of smbclient.
2927 (tramp-smb-maybe-open-connection): Rerun the function only when
2928 `auth-sources' is non-nil.
2930 2013-09-08 Kenichi Handa <handa@gnu.org>
2932 * international/characters.el: Set category "^" (Combining) for
2935 2013-09-07 Alan Mackenzie <acm@muc.de>
2937 Correctly fontify Java class constructors.
2938 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2940 (c-recognize-typeless-decls): Set the Java value to t.
2941 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2942 While handling a "(", add a check for, effectively, Java, and handle a
2943 "typeless" declaration there.
2945 2013-09-07 Roland Winkler <winkler@gnu.org>
2947 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2948 field subtitle for entry type book.
2950 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * minibuffer.el: Make minibuffer-complete call completion-in-region
2953 rather than other way around.
2954 (completion--some, completion-pcm--find-all-completions):
2955 Don't delay signals when debugging.
2956 (minibuffer-completion-contents): Beware fields within the
2957 minibuffer contents.
2958 (completion-all-sorted-completions): Use defvar-local.
2959 (completion--do-completion, completion--cache-all-sorted-completions)
2960 (completion-all-sorted-completions, minibuffer-force-complete):
2961 Add args `beg' and `end'.
2962 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2963 (minibuffer-complete): Use completion-in-region.
2964 (completion-complete-and-exit): New fun, extracted from
2965 minibuffer-complete-and-exit.
2966 (minibuffer-complete-and-exit): Use it.
2967 (completion--complete-and-exit): Rename from
2968 minibuffer--complete-and-exit.
2969 (completion-in-region--single-word): New function, extracted from
2970 minibuffer-complete-word.
2971 (minibuffer-complete-word): Use it.
2972 (display-completion-list): Make `common-substring' argument obsolete.
2973 (completion--in-region): Call completion--in-region-1 instead of
2974 minibuffer-complete.
2975 (completion-help-at-point): Pass boundaries to
2976 minibuffer-completion-help as args rather than via an overlay.
2977 (completion-pcm--string->pattern): Use `any-delim'.
2978 (completion-pcm--optimize-pattern): New function.
2979 (completion-pcm--pattern->regex): Handle `any-delim'.
2980 * icomplete.el (icomplete-forward-completions)
2981 (icomplete-backward-completions, icomplete-completions):
2982 Adjust calls to completion-all-sorted-completions and
2983 completion--cache-all-sorted-completions.
2984 (icomplete-with-completion-tables): Default to t.
2985 * emacs-lisp/crm.el (crm--current-element): Rename from
2986 crm--select-current-element. Don't put an overlay but return the
2988 (crm--completion-command): Take two new args to bind to the boundaries.
2989 (crm-completion-help): Adjust accordingly.
2990 (crm-complete): Use completion-in-region.
2991 (crm-complete-word): Use completion-in-region--single-word.
2992 (crm-complete-and-exit): Use completion-complete-and-exit.
2994 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2999 2013-09-06 Juri Linkov <juri@jurta.org>
3001 * info.el (Info-display-images-node): When image file doesn't exist
3002 display text version of the image if it's provided in the Info file.
3003 Otherwise, display the location of missing image from SRC attribute.
3004 Add help-echo text property from ALT attribute. (Bug#15279)
3006 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3009 (edit-abbrevs-mode): Use define-derived-mode.
3011 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3012 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3014 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3015 Use define-derived-mode.
3017 * epg.el (epg-start-encrypt): Minor CSE simplification.
3019 2013-09-06 William Xu <william.xwl@gmail.com>
3021 * arc-mode.el: Add support for 7za (bug#15264).
3022 (archive-7z-program): New var.
3023 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3024 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3025 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3027 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3031 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3032 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3033 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3034 (tramp-postfix-host-format, tramp-file-name-regexp)
3035 (tramp-completion-file-name-regexp)
3036 (tramp-completion-dissect-file-name)
3037 (tramp-handle-substitute-in-file-name): Remove 'url case.
3038 (tramp-file-name-regexp-url)
3039 (tramp-completion-file-name-regexp-url): Remove constants.
3041 2013-09-06 Glenn Morris <rgm@gnu.org>
3043 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3045 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3048 keywords" below "here-doc beginnings" (Bug#15270).
3050 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3052 * subr.el (pop): Use `car-safe'.
3053 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3054 to detect unused `pop' return value.
3056 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3058 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3059 (python-fill-string): Remove unused var `marker'.
3060 (python-skeleton-add-menu-items): Remove unused var `items'.
3062 * international/mule-cmds.el: Require CL.
3063 (find-coding-systems-for-charsets): Avoid add-to-list.
3064 (sanitize-coding-system-list): New function, extracted from
3065 select-safe-coding-system-interactively.
3066 (select-safe-coding-system-interactively): Use it.
3067 (read-input-method-name): Accept symbols for `default'.
3069 * emacs-lisp/advice.el (defadvice): Add indent rule.
3071 2013-09-05 Daniel Hackney <dan@haxney.org>
3075 * net/browse-url.el:
3078 * net/eudcb-ldap.el:
3091 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3092 byte compiler. Remove some unused let-bound variables.
3094 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3096 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3097 a "ref-cell", since it gets better optimized (bug#14883).
3099 2013-09-05 Glenn Morris <rgm@gnu.org>
3101 * progmodes/cc-awk.el (c-forward-sws): Declare.
3103 2013-09-04 Glenn Morris <rgm@gnu.org>
3105 * generic-x.el [rul-generic-mode]: Require cc-mode.
3106 (c++-mode-syntax-table): Declare.
3107 (rul-generic-mode-syntax-table): Init in the defvar.
3109 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3112 (vc-do-command, vc-set-async-update):
3113 * vc/vc-mtn.el (vc-mtn-dir-status):
3114 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3115 (vc-hg-pull, vc-hg-merge-branch):
3116 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3117 (vc-git-merge-branch):
3118 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3119 (vc-cvs-dir-status-files):
3120 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3121 (vc-bzr-dir-status-files):
3122 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3123 * vc/vc-annotate.el: Use lexical-binding.
3124 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3125 (vc-sentinel-movepoint): Declare.
3126 (vc-annotate): Don't use `goto-line'.
3127 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3128 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3129 (vc-sentinel-movepoint): Declare.
3130 * vc/vc-svn.el: Use lexical-binding.
3131 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3133 * vc/vc-rcs.el: Use lexical-binding.
3135 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3136 `deleted'. Don't drop errors silently.
3138 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3140 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3142 * vc/vc.el (vc-ignore): Rewrite.
3143 (vc-default-ignore): New function.
3144 (vc-default-ignore-completion-table): Use find-ignore-file.
3146 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3147 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3148 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3149 Remove. Most code moved to vc.el.
3151 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3154 * net/tramp-smb.el (tramp-smb-get-file-entries):
3155 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3156 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3158 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3160 (eww-change-select): Remove unused var `properties'.
3161 (eww-make-unique-file-name): Remove unused var `base'.
3163 * finder.el (finder-compile-keywords): Don't mess with windows.
3165 * calculator.el (calculator-funcall): Fix typo in last change.
3167 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3169 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3170 <pkg>-autoloads.el file stop us.
3172 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3173 warnings, and factor out common code.
3175 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3177 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3178 two-character operators and whether the character preceding them
3179 changes their meaning (Bug#15208).
3181 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3183 Format code sent to Python shell for robustness.
3184 * progmodes/python.el (python-shell-buffer-substring):
3186 (python-shell-send-region, python-shell-send-buffer): Use it.
3188 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3190 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3191 * net/tramp.el (tramp-user-error): ... here.
3192 (tramp-find-method, tramp-check-proper-host)
3193 (tramp-dissect-file-name, tramp-debug-message)
3194 (tramp-handle-shell-command):
3195 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3196 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3198 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3200 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3202 * avoid.el (mouse-avoidance-point-position)
3203 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3206 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3208 * progmodes/python.el (python-shell-completion-get-completions):
3209 Drop use of deleted `comint-last-prompt-overlay'.
3210 (python-nav-if-name-main): New command.
3212 2013-09-01 Glenn Morris <rgm@gnu.org>
3214 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3215 Avoid leading space in $wins. Otherwise the sed command used by
3216 eg compile-main ends up containing "/*.el". (Bug#15170)
3218 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3220 2013-08-30 Glenn Morris <rgm@gnu.org>
3222 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3223 Fix is-this-a-directory logic. (Bug#15220)
3225 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * textmodes/css-mode.el: Use SMIE.
3228 (css-smie-grammar): New var.
3229 (css-smie--forward-token, css-smie--backward-token)
3230 (css-smie-rules): New functions.
3231 (css-mode): Use them.
3232 (css-navigation-syntax-table): Remove var.
3233 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3234 (css-indent-calculate, css-indent-line): Remove functions.
3236 Misc changes to reduce use of `(lambda...); and other cleanups.
3237 * cus-edit.el: Use lexical-binding.
3238 (customize-push-and-save, customize-apropos)
3239 (custom-buffer-create-internal): Use closures.
3240 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3241 * progmodes/ada-xref.el: Use setq.
3242 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3243 * dframe.el: Use lexical-binding.
3244 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3245 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3246 * descr-text.el: Use lexical-binding.
3247 (describe-text-widget, describe-text-sexp, describe-property-list):
3249 * comint.el (comint-history-isearch-push-state): Use a closure.
3250 * calculator.el: Use lexical-binding.
3251 (calculator-number-to-string): Make it work with lexical-binding.
3252 (calculator-funcall): Same and use cl-letf.
3254 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3255 (lisp--company-doc-string, lisp--company-location): New functions.
3256 (lisp-completion-at-point): Use them to improve Company support.
3258 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3259 params of lambda expressions.
3260 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3261 (ruby-smie--opening-pipe-p): New function.
3262 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3263 symbols and matched |...| for formal params.
3264 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3265 from being treated as hanging. Handle "rescue".
3267 2013-08-29 Glenn Morris <rgm@gnu.org>
3269 * progmodes/cc-engine.el (c-pull-open-brace):
3270 Move definition before use.
3272 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3274 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3275 are immutable. Don't use `unsafe' any more.
3276 (cl--defsubst-expand): Don't substitute at the same time as keeping
3277 a residual unused let-binding. Don't use `unsafe' any more.
3279 2013-08-29 Glenn Morris <rgm@gnu.org>
3281 * calendar/cal-china.el (calendar-chinese-year-cache):
3284 * nxml/nxml-util.el (nxml-debug-clear-inside):
3285 Use cl-loop rather than loop.
3287 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3289 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3291 2013-08-28 Glenn Morris <rgm@gnu.org>
3293 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3295 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3297 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3299 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3301 * simple.el (repeat-complex-command--called-interactively-skip):
3303 (repeat-complex-command): Use it (bug#14136).
3305 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3306 (c-define-abbrev-table): Add `doc' argument.
3307 (c-mode-abbrev-table, c++-mode-abbrev-table)
3308 (objc-mode-abbrev-table, java-mode-abbrev-table)
3309 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3310 (awk-mode-abbrev-table): Use it.
3311 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3312 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3313 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3314 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3315 Move initialization into the declaration; and remove any
3318 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3319 and dynamic let binding.
3321 * vc/smerge-mode.el: Remove redundant :group args.
3323 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3326 2013-08-28 Juri Linkov <juri@jurta.org>
3328 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3329 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3330 (isearch-other-meta-char): Handle an undefined shifted printing
3331 character by downshifting it. (Bug#15200)
3333 2013-08-28 Juri Linkov <juri@jurta.org>
3335 * isearch.el (isearch-search): Change regexp error message for
3336 non-regexp searches. (Bug#15166)
3338 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3340 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3341 for portability to hosts where /bin/sh has problems.
3343 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3347 2013-08-27 Juri Linkov <juri@jurta.org>
3349 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3350 in the keyboard macro. (Bug#15126)
3352 2013-08-27 Juri Linkov <juri@jurta.org>
3354 * isearch.el (isearch-quote-char): Comment out converting unibyte
3355 to multibyte, thus syncing with its `quoted-insert' counterpart.
3358 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3360 * window.el (display-buffer-use-some-window): Add missing
3361 argument in call of get-largest-window (Bug#15185).
3362 Reported by Stephen Leake.
3364 2013-08-27 Glenn Morris <rgm@gnu.org>
3366 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3368 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3370 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3371 from a matcher-function unless there's no more matches (bug#15161).
3373 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3375 * minibuffer.el: Revert change from 2013-08-20.
3377 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3378 with text property `tramp-default', if appropriate.
3379 (tramp-check-proper-host): New defun.
3380 (tramp-dissect-file-name): Do not check hostname. Revert change
3382 (tramp-backtrace): Make VEC-OR-PROC optional.
3384 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3385 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3386 * net/tramp-sh.el (tramp-maybe-open-connection):
3387 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3388 Apply `tramp-check-proper-host'.
3390 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3392 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3393 lambda expression in order to have `describe-variable' display it.
3395 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3397 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3398 BUF can be optional. (Bug#15186)
3400 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3402 * progmodes/flymake.el (flymake-get-real-file-name-function):
3403 Fix broken customization. (Bug#15184)
3405 2013-08-25 Alan Mackenzie <acm@muc.de>
3407 Improve indentation of bracelists defined by macros (without "=").
3409 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3410 expansion begins with "{", regard it as bracelist when it doesn't
3413 Parse C++ inher-intro when there's a template split over 2 lines.
3415 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3416 rigorously the search for "class" etc. followed by ":".
3418 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3419 random languages a regexp which never matches rather than nil.
3421 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3423 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3424 (c-awk-regexp-one-line-possibly-open-char-list-re)
3425 (c-awk-one-line-possibly-open-regexp-re)
3426 (c-awk-one-line-non-syn-ws*-re): Remove.
3427 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3428 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3429 (c-awk-space*-unclosed-regexp-/-re): New constants.
3430 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3431 aren't regexp delimiters.
3433 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3434 handling for a rare situation in AWK Mode involving unterminated
3437 2013-08-23 Glenn Morris <rgm@gnu.org>
3439 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3441 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3443 * files.el (create-file-buffer): If the result would begin with
3444 spaces, prepend a "|" instead of removing them. (Bug#15162)
3446 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3449 text-properties (bug#15155).
3451 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3453 (calc-keypad-redraw): Remove unused var `pad'.
3454 (calc-keypad-press): Remove unused var `menu'.
3456 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3458 * window.el (display-buffer-pop-up-frame):
3459 Call pop-up-frame-function with BUFFER current so `make-frame' will
3460 use it as the new frame's buffer (Bug#15133).
3462 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3464 * calendar/timeclock.el: Minor cleanups.
3465 (timeclock-ask-before-exiting, timeclock-use-display-time):
3467 (timeclock-modeline-display): Define as alias before the
3469 (timeclock-mode-line-display): Use define-minor-mode.
3470 (timeclock-day-list-template): Make it a function, add an argument.
3471 (timeclock-day-list-required, timeclock-day-list-length)
3472 (timeclock-day-list-debt, timeclock-day-list-span)
3473 (timeclock-day-list-break): Adjust calls accordingly.
3475 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3478 Use read--expression so that completion works again.
3480 2013-08-21 Sam Steingold <sds@gnu.org>
3482 Add rudimentary inferior shell interaction
3483 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3484 (sh-set-shell): Reset it.
3485 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3486 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3488 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3490 * align.el: Use lexical-binding.
3491 (align-region): Simplify accordingly.
3493 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3495 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3497 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3500 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3504 * net/tramp-cmds.el:
3506 * net/tramp-gvfs.el:
3508 * net/tramp-sh.el: Don't wrap external variable declarations by
3509 `eval-when-compile'.
3511 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3513 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3514 now that Emacs supports ImageMagick animations.
3516 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3518 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3519 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3521 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3523 * window.el (mouse-autoselect-window-select): Do autoselect when
3524 mouse pointer is on margin.
3526 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3528 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3530 2013-08-16 Glenn Morris <rgm@gnu.org>
3532 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3533 Handle "Remote Directory" response of some clients. (Bug#15058)
3535 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3536 Tweak warning. (Bug#14926)
3538 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3539 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3541 * image-mode.el (image-mode-map): Add menu items to reverse,
3542 increase, decrease, reset animation speed.
3543 (image--set-speed, image-increase-speed, image-decrease-speed)
3544 (image-reverse-speed, image-reset-speed): New functions.
3545 (image-mode-map): Add bindings for speed commands.
3547 * image.el (image-animate-get-speed, image-animate-set-speed):
3549 (image-animate-timeout): Respect image :speed property.
3551 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3554 previous line (bug#15101).
3555 (debugger-eval-expression, debugger-record-expression):
3556 Use read--expression (bug#15102).
3558 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3560 Remove byte compiler warnings, visible when compiling with
3561 `byte-compile-force-lexical-warnings' set to t.
3563 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3564 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3565 (tramp-handle-unhandled-file-name-directory)
3566 (tramp-handle-file-notify-add-watch, tramp-action-login)
3567 (tramp-action-succeed, tramp-action-permission-denied)
3568 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3571 * net/tramp-adb.el (tramp-adb-parse-device-names)
3572 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3573 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3574 (tramp-adb-handle-file-truename): Remove unused arguments.
3576 * net/tramp-cache.el (tramp-flush-directory-property)
3577 (tramp-flush-connection-property, tramp-list-connections)
3578 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3580 * net/tramp-compat.el (tramp-compat-make-temp-file):
3581 Rename FILENAME to F.
3583 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3584 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3585 (tramp-zeroconf-parse-workstation-device-names)
3586 (tramp-zeroconf-parse-webdav-device-names)
3587 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3589 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3590 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3592 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3594 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3595 (tramp-sh-handle-insert-file-contents-literally)
3596 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3598 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3599 Remove unused variables.
3601 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3602 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3603 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3605 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3606 Make them a defconst.
3607 (tramp-uuencode-region): Remove unused variable.
3609 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3611 * frameset.el (frameset--prop-setter): New function.
3612 (frameset-prop): Add gv-setter declaration.
3613 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3614 parameter was already set in FILTERED. Doc fix.
3615 (frameset--record-minibuffer-relationships): Allow saving a
3616 minibufferless frame without its corresponding minibuffer frame.
3617 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3618 frame, if the frame id matches.
3619 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3620 frames before orphaned ones.
3621 (frameset-restore): Warn about orphaned windows, instead of error out.
3623 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3625 * window.el (window-make-atom): Don't overwrite parameter
3627 (display-buffer-in-atom-window): Handle special case where we
3628 split an already atomic window.
3629 (window--major-non-side-window, display-buffer-in-side-window)
3630 (window--side-check): Ignore minibuffer window when walking
3632 (window-deletable-p): Return 'frame only if no other frame uses
3633 our minibuffer window.
3634 (record-window-buffer): Run buffer-list-update-hook.
3635 (split-window): Make sure window--check-frame won't destroy an
3636 existing atomic window in case the new window gets nested
3638 (display-buffer-at-bottom): Ignore minibuffer window when
3639 walking window tree. Don't split a side window.
3640 (pop-to-buffer): Don't set-buffer here, the select-window call
3642 (mouse-autoselect-window-select): Autoselect only if we are in the
3643 text portion of the window.
3645 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3647 * net/shr.el (shr-parse-image-data): New function to grab both the
3648 data itself and the Content-Type.
3649 (shr-put-image): Use it.
3651 * net/eww.el (eww-display-image): Ditto.
3653 * image.el (image-content-type-suffixes): New variable.
3655 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3657 * progmodes/python.el (python-imenu--build-tree)
3658 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3660 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3662 * simple.el (backward-word): Mention the optional argument.
3664 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3666 * frameset.el (frameset--make): Rename constructor from make-frameset.
3667 (frameset-p, frameset-valid-p): Don't autoload.
3668 (frameset-valid-p): Use normal accessors.
3670 2013-08-13 Glenn Morris <rgm@gnu.org>
3672 * progmodes/compile.el (compile-command): Tweak example in doc.
3673 * obsolete/scribe.el (scribe-mode):
3674 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3676 * mail/feedmail.el (feedmail-confirm-outgoing)
3677 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3679 * cus-start.el (truncate-partial-width-windows): Fix type.
3681 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3683 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3685 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3687 * emacs-lisp/timer.el (timer--time-setter): New function.
3688 (timer--time): Use it as gv-setter.
3690 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3691 setter is not a symbol.
3693 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3695 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3696 if sending fails. This makes debugging easier.
3698 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3700 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3701 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3702 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3704 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3706 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3708 2013-08-12 Glenn Morris <rgm@gnu.org>
3710 * format.el (format-annotate-function):
3711 Handle read-only text properties in the source. (Bug#14887)
3713 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3715 * net/eww.el (eww-display-html): Ignore coding system errors.
3716 One web site uses "utf-8lias" as the coding system.
3718 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3720 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3722 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3724 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3725 (tutorial--detailed-help): Remove unused local variables.
3726 (tutorial--save-tutorial-to): Use ignore-errors.
3727 (help-with-tutorial): Use looking-at-p.
3729 * view.el (view-buffer-other-window, view-buffer-other-frame):
3730 Mark unused arguments.
3732 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3733 (woman-select-symbol-fonts, woman, woman-find-file)
3734 (woman-insert-file-contents, woman-non-underline-faces):
3736 (woman1-unquote): Move declaration.
3738 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3739 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3740 argument. Remove unused local variable.
3741 (xml-parse-elem-type): Use string-match-p.
3742 (xml-substitute-numeric-entities): Use ignore-errors.
3744 * calculator.el (calculator): Mark unused argument.
3745 (calculator-paste, calculator-quit, calculator-integer-p):
3747 (calculator-string-to-number, calculator-decimal, calculator-exp)
3748 (calculator-op-or-exp): Use string-match-p.
3750 * dired.el (dired-buffer-more-recently-used-p): Declare.
3751 (dired-insert-set-properties, dired-insert-old-subdirs):
3754 * dired-aux.el (dired-compress): Use ignore-errors.
3755 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3756 (dired-do-async-shell-command, dired-do-shell-command)
3757 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3758 (dired-insert-subdir-validate): Use string-match-p.
3759 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3760 (dired-add-entry): Use string-match-p, looking-at-p.
3761 (dired-insert-subdir-newpos): Remove unused local variable.
3763 * filenotify.el (file-notify-callback): Remove unused local variable.
3765 * filesets.el (filesets-error): Mark unused argument.
3766 (filesets-which-command-p, filesets-filter-dir-names)
3767 (filesets-directory-files, filesets-get-external-viewer)
3768 (filesets-ingroup-get-data): Use string-match-p.
3770 * find-file.el (ff-other-file-name, ff-other-file-name)
3771 (ff-find-the-other-file, ff-cc-hh-converter):
3772 Remove unused local variables.
3773 (ff-get-file-name): Use string-match-p.
3774 (ff-all-dirs-under): Use ignore-errors.
3776 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3777 (follow-select-if-visible): Remove unused local variable.
3779 * forms.el (read-file-filter): Move declaration.
3780 (forms--make-format, forms--make-parser, forms-insert-record):
3781 Quote function with #'.
3782 (forms--update): Use string-match-p. Quote function with #'.
3784 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3785 (help-make-xrefs): Use looking-at-p.
3786 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3788 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3789 (ibuffer-confirm-operation-on): Use string-match-p.
3791 * msb.el (msb-item-handler, msb-dired-item-handler):
3792 Mark unused arguments.
3794 * ses.el (ses-decode-cell-symbol)
3795 (ses-kill-override): Remove unused local variable.
3796 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3797 (ses-load): Use ignore-errors, looking-at-p.
3798 (ses-jump-safe): Use ignore-errors.
3799 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3801 * tabify.el (untabify, tabify): Mark unused arguments.
3803 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3804 Mark unused argument.
3805 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3806 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3808 * emacs-lisp/timer.el (timer--time): Define setter with
3809 gv-define-setter to avoid deprecation warning.
3811 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3812 (*record-cmpl-statistics-p*): Remove (was commented out).
3813 (cmpl-statistics-block): Remove (body was commented out).
3814 All callers changed.
3815 (add-completions-from-buffer, load-completions-from-file):
3816 Remove unused variables.
3818 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3820 * filecache.el (file-cache-delete-file-list):
3821 Print message only when told so.
3822 (file-cache-files-matching): Use #' in mapconcat argument.
3824 * ffap.el (ffap-url-at-point): Fix reference to variable
3825 thing-at-point-default-mail-uri-scheme.
3827 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * subr.el (define-error): New function.
3830 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3831 error-file-not-found and define with define-error.
3832 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3833 and define with define-error.
3834 * userlock.el (file-locked, file-supersession):
3835 * simple.el (mark-inactive):
3836 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3837 * progmodes/ada-mode.el (ada-mode-errors):
3838 * play/life.el (life-extinct):
3839 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3840 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3841 * nxml/rng-util.el (rng-error):
3842 * nxml/rng-uri.el (rng-uri-error):
3843 * nxml/rng-match.el (rng-compile-error):
3844 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3845 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3846 * nxml/nxml-rap.el (nxml-scan-error):
3847 * nxml/nxml-outln.el (nxml-outline-error):
3848 * net/soap-client.el (soap-error):
3849 * net/gnutls.el (gnutls-error):
3850 * net/ange-ftp.el (ftp-error):
3851 * mpc.el (mpc-proc-error):
3852 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3853 (json-number-format, json-string-escape, json-string-format)
3854 (json-key-format, json-object-format):
3855 * jka-compr.el (compression-error):
3856 * international/quail.el (quail-error):
3857 * international/kkc.el (kkc-error):
3858 * emacs-lisp/ert.el (ert-test-failed):
3859 * calc/calc.el (calc-error, inexact-result, math-overflow)
3861 * bookmark.el (bookmark-error-no-filename):
3862 * epg.el (epg-error): Define with define-error.
3864 * time.el (display-time-event-handler)
3865 (display-time-next-load-average): Don't call sit-for since it seems
3866 unnecessary (bug#15045).
3868 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3869 Use #' instead of ' to quote functions.
3870 (checkdoc-output-mode): Use setq-local.
3871 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3872 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3873 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3874 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3875 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3876 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3877 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3878 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3880 * ido.el (ido-completion-help): Fix up compiler warning.
3882 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3884 * frameset.el (frameset-p): Add autoload cookie.
3885 (frameset--jump-to-register): New function, based on code moved from
3887 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3889 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3890 (frameset-restore, frameset-save, frameset-session-filter-alist):
3891 Remove declarations.
3892 (register-alist): Doc fix.
3893 (frameset-to-register): Move to frameset.el.
3894 (jump-to-register, describe-register-1): Remove frameset-specific code.
3896 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3898 * allout-widgets.el (allout-widgets-pre-command-business)
3899 (allout-widgets-post-command-business)
3900 (allout-widgets-after-change-handler)
3901 (allout-decorate-item-and-context, allout-set-boundary-marker)
3902 (allout-body-modification-handler)
3903 (allout-graphics-modification-handler): Mark ignored arguments.
3904 (allout-widgets-post-command-business)
3905 (allout-widgets-exposure-change-processor)
3906 (allout-widgets-exposure-undo-processor)
3907 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3908 (allout-parse-item-at-point, allout-decorate-item-guides)
3909 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3910 * allout.el (epa-passphrase-callback-function): Declare.
3911 (allout-overlay-insert-in-front-handler)
3912 (allout-overlay-interior-modification-handler)
3913 (allout-isearch-end-handler, allout-chart-siblings)
3914 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3915 (allout-yank-processing, allout-process-exposed)
3916 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3917 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3918 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3919 (lisp-indent-defform): Mark ignored arguments.
3920 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3921 (calculate-lisp-indent): Remove unused variables.
3922 * international/characters.el (indian-2-column, arabic-2-column)
3923 (tibetan): Mark ignored arguments.
3924 (use-cjk-char-width-table): Mark ignored arguments.
3925 Remove unused variables.
3926 * international/fontset.el (build-default-fontset-data)
3927 (x-compose-font-name, create-fontset-from-fontset-spec):
3928 Mark ignored arguments.
3929 (fontset-plain-name): Remove unused variables.
3930 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3931 (keyboard-coding-system): Mark ignored arguments.
3932 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3933 * help.el (resize-temp-buffer-window):
3934 * window.el (display-buffer-in-major-side-window)
3935 (display-buffer-in-side-window, display-buffer-in-previous-window):
3936 Remove unused variables.
3937 * isearch.el (isearch-forward-symbol):
3938 * version.el (emacs-bzr-version-bzr):
3939 * international/mule-cmds.el (current-language-environment):
3940 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3942 * term/pc-win.el (x-list-fonts, x-display-planes)
3943 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3944 (x-server-version, x-display-screens, x-display-mm-height)
3945 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3946 (x-selection-owner-p, x-own-selection-internal)
3947 (x-disown-selection-internal, x-get-selection-internal)
3948 (msdos-initialize-window-system):
3949 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3950 * term/x-win.el (x-handle-no-bitmap-icon):
3951 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3952 (vc-default-find-file-hook, vc-default-extra-menu):
3953 Mark ignored arguments.
3955 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3957 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3958 break-condition in the context of the debugged code (bug#12685).
3960 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3963 Do not use an overlay to highlight the last prompt. (Bug#14744)
3964 (comint-mode): Make comint-last-prompt buffer local.
3965 (comint-last-prompt): New variable.
3966 (comint-last-prompt-overlay): Remove. Superseded by
3968 (comint-snapshot-last-prompt, comint-output-filter):
3969 Use comint-last-prompt.
3971 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3973 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3974 (frameset-save): Check validity of the resulting frameset.
3976 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3978 * ido.el (ido-record-command): Add doc string.
3980 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3982 * frameset.el (frameset): Do not disable creation of the default
3983 frameset-p predicate. Doc fix.
3984 (frameset-valid-p): New function, copied from the old predicate-p.
3985 Add additional checks.
3986 (frameset-restore): Check with frameset-valid-p.
3987 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3988 (frameset-name, frameset-description, frameset-properties)
3989 (frameset-states): Add docstring.
3990 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3991 (frameset-filter-alist): Doc fixes.
3993 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3995 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3997 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4000 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4001 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4002 (byte-compile-normal-call): Remove obsolescence check.
4004 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4006 * frameset.el (frameset-restore): Doc fix.
4008 * register.el (frameset-frame-id, frameset-frame-with-id)
4009 (frameset-p, frameset-restore, frameset-save): Declare.
4010 (register-alist): Document framesets.
4011 (frameset-session-filter-alist): Declare.
4012 (frameset-to-register): New function.
4013 (jump-to-register): Implement jumping to framesets. Doc fix.
4014 (describe-register-1): Describe framesets.
4016 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4018 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4020 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4021 Use lexical-binding.
4023 * frameset.el (frameset): Use type vector, not list (incompatible
4024 change). Do not declare a new constructor, use the default one.
4025 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4026 `name' and `description', respectively, and add read-only slot
4027 `timestamp'. Doc fixes.
4028 (frameset-copy, frameset-persistent-filter-alist)
4029 (frameset-filter-alist, frameset-switch-to-gui-p)
4030 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4031 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4032 (frameset-filter-iconified, frameset-keep-original-display-p):
4034 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4035 Rename from frameset-filter-(save|restore)-param. All callers changed.
4037 (frameset-p): Adapt to change to vector and be more thorough.
4038 Change arg name to OBJECT. Doc fix.
4039 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4040 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4041 All callers changed.
4042 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4043 All callers changed.
4044 (frameset--record-minibuffer-relationships): Rename from
4045 frameset--process-minibuffer-frames. All callers changed.
4046 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4047 Use new default constructor (again). Doc fix.
4048 (frameset--find-frame-if): Rename from `frameset--find-frame.
4049 All callers changed.
4050 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4051 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4053 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4054 PARAMETERS and WINDOW-STATE, respectively.
4055 (frameset-restore): Add new keyword argument PREDICATE.
4056 Reset frameset--target-display to nil. Doc fix.
4058 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4060 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4062 (bat-mode-syntax-table): Mark \n as end-of-comment.
4063 (bat-font-lock-keywords): Remove comment rule.
4065 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4066 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4068 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4069 (byte-compile-callargs-warn): Use `push'.
4070 (byte-compile-arglist-warn): Ignore higher-order "calls".
4071 (byte-compile-file-form-autoload): Use `pcase'.
4072 (byte-compile-function-form): If quoting a symbol, check that it exists.
4074 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4076 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4077 and add a few popular commands found in batch files.
4078 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4079 (dos-mode): Doc fixes.
4081 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4083 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4084 (dos-mode): Use setq-local. Add space after "rem".
4085 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4086 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4088 2013-08-07 Arni Magnusson <arnima@hafro.is>
4090 * progmodes/dos.el: New file.
4091 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4094 2013-08-06 Glenn Morris <rgm@gnu.org>
4096 * calendar/calendar.el: Add new faces, and day-header-array.
4097 (calendar-weekday-header, calendar-weekend-header)
4098 (calendar-month-header): New faces.
4099 (calendar-day-header-construct): New function.
4100 (calendar-day-header-width): Also :set calendar-day-header-array.
4101 (calendar-american-month-header, calendar-european-month-header)
4102 (calendar-iso-month-header): Use calendar- faces.
4103 (calendar-generate-month):
4104 Use calendar-day-header-array for day headers; apply faces to them.
4105 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4106 (calendar-abbrev-construct): Add optional maxlen argument.
4107 (calendar-day-name-array): Doc fix.
4108 (calendar-day-name-array, calendar-abbrev-length)
4109 (calendar-day-abbrev-array):
4110 Also :set calendar-day-header-array, and maybe redraw.
4111 (calendar-day-header-array): New option. (Bug#15007)
4112 (calendar-font-lock-keywords): Set to nil and make obsolete.
4113 (calendar-day-name): Add option to use header array.
4115 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4117 * net/shr.el (shr-render-td): Remove debugging.
4118 (shr-render-td): Make width computation consistent by defaulting
4119 all zero-width columns to 10 characters. This may not be optimal,
4120 but it's at least consistent.
4121 (shr-make-table-1): Redo last change to fix the real problem in
4124 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4126 * files.el (cache-long-line-scans):
4127 Make obsolete alias to `cache-long-scans'.
4129 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4131 * frameset.el (frameset, frameset-filter-alist)
4132 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4133 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4134 (frameset-compute-pos): Rename from frameset--compute-pos,
4136 (frameset-move-onscreen): Use frameset-compute-pos.
4137 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4139 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4140 Fix typos in docstrings.
4142 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4144 * frame.el (get-other-frame): Tiny cleanup.
4146 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4148 * vc/vc.el (vc-default-ignore-completion-table):
4149 Silence byte-compiler warning.
4151 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4152 slot , which can indeed be nil.
4153 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4154 Move entry for `left' from persistent to live filter alist.
4155 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4157 (frameset-filter-params): When restoring a frame, copy items added to
4158 `filtered', to avoid unwittingly modifying the original parameters.
4159 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4160 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4162 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4163 to use looking-at-p instead of looking-at. (Bug#15028)
4165 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4167 Revert introduction of isearch-filter-predicates (bug#14714).
4168 Rely on add-function instead.
4169 * isearch.el (isearch-filter-predicates): Rename it back to
4170 isearch-filter-predicate.
4171 (isearch-message-prefix): Use advice-function-mapc and advice
4172 properties to get the isearch-message-prefix.
4173 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4174 instead of run-hook-with-args-until-failure.
4175 (isearch-filter-visible): Not obsolete any more.
4176 * loadup.el: Preload nadvice.
4177 * replace.el (perform-replace): Revert to funcall
4178 instead of run-hook-with-args-until-failure.
4179 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4180 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4181 dired-isearch-filenames-toggle; make it into a proper minor mode.
4182 Use add/remove-function.
4183 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4184 Call the minor-mode rather than add/remove-hook.
4185 (dired-isearch-filter-filenames):
4186 Remove isearch-message-prefix property.
4187 * info.el (Info--search-loop): New function, extracted from Info-search.
4188 Funcall isearch-filter-predicate instead of
4189 run-hook-with-args-until-failure isearch-filter-predicates.
4190 (Info-search): Use it.
4191 (Info-mode): Use isearch-filter-predicate instead of
4192 isearch-filter-predicates.
4194 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4196 Do not call to `selected-window' where it is assumed by default.
4197 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4198 `window-hscroll', `window-width', `window-height', `window-buffer',
4199 `window-frame', `window-start', `window-point', `next-window'
4200 and `window-display-table'.
4201 * abbrev.el (abbrev--default-expand):
4202 * bs.el (bs--show-with-configuration):
4203 * buff-menu.el (Buffer-menu-mouse-select):
4204 * calc/calc.el (calc):
4205 * calendar/calendar.el (calendar-generate-window):
4206 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4208 * comint.el (send-invisible, comint-dynamic-complete-filename)
4209 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4210 * completion.el (complete):
4211 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4212 * disp-table.el (describe-current-display-table):
4213 * doc-view.el (doc-view-insert-image):
4214 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4215 * ehelp.el (with-electric-help):
4216 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4217 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4218 * emacs-lisp/helper.el (Helper-help-scroller):
4219 * emulation/cua-base.el (cua--post-command-handler-1):
4220 * eshell/esh-mode.el (eshell-output-filter):
4221 * ffap.el (ffap-gnus-wrapper):
4222 * help-macro.el (make-help-screen):
4223 * hilit-chg.el (highlight-compare-buffers):
4224 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4225 * hl-line.el (global-hl-line-highlight):
4226 * icomplete.el (icomplete-simple-completing-p):
4227 * isearch.el (isearch-done):
4228 * jit-lock.el (jit-lock-stealth-fontify):
4229 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4230 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4231 * mpc.el (mpc-tagbrowser, mpc):
4232 * net/rcirc.el (rcirc-any-buffer):
4233 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4234 * play/landmark.el (landmark-max-width, landmark-max-height):
4235 * play/zone.el (zone):
4236 * progmodes/compile.el (compilation-goto-locus):
4237 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4238 * progmodes/etags.el (find-tag-other-window):
4239 * progmodes/fortran.el (fortran-column-ruler):
4240 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4241 * progmodes/verilog-mode.el (verilog-point-text):
4242 * reposition.el (reposition-window):
4243 * rot13.el (toggle-rot13-mode):
4244 * server.el (server-switch-buffer):
4245 * shell.el (shell-dynamic-complete-command)
4246 (shell-dynamic-complete-environment-variable):
4247 * simple.el (insert-buffer, set-selective-display)
4248 (delete-completion-window):
4249 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4250 (speedbar-recenter):
4251 * startup.el (fancy-splash-head):
4252 * textmodes/ispell.el (ispell-command-loop):
4253 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4254 * tutorial.el (help-with-tutorial):
4255 * vc/add-log.el (add-change-log-entry):
4256 * vc/compare-w.el (compare-windows):
4257 * vc/ediff-help.el (ediff-indent-help-message):
4258 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4259 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4260 (ediff-setup-control-frame):
4261 * vc/emerge.el (emerge-position-region):
4262 * vc/pcvs-util.el (cvs-bury-buffer):
4263 * window.el (walk-windows, mouse-autoselect-window-select):
4264 * winner.el (winner-set-conf, winner-undo): Related users changed.
4266 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4268 * frameset.el (frameset--set-id): Doc fix.
4269 (frameset-frame-id, frameset-frame-id-equal-p)
4270 (frameset-locate-frame-id): New functions.
4271 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4272 (frameset-restore): Use them.
4274 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4276 Do not call to `selected-frame' where it is assumed by default.
4277 Affected functions are `raise-frame', `redraw-frame',
4278 `frame-first-window', `frame-terminal' and `delete-frame'.
4279 * calendar/appt.el (appt-disp-window):
4280 * epg.el (epg-wait-for-completion):
4281 * follow.el (follow-delete-other-windows-and-split)
4282 (follow-avoid-tail-recenter):
4283 * international/mule.el (set-terminal-coding-system):
4284 * mail/rmail.el (rmail-mail-return):
4285 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4286 * progmodes/f90.el (f90-add-imenu-menu):
4287 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4288 * server.el (server-switch-buffer):
4289 * simple.el (delete-completion-window):
4291 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4292 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4293 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4294 * vc/ediff.el (ediff-documentation): Related users changed.
4295 * frame.el (selected-terminal): Remove the leftover.
4297 2013-08-05 Glenn Morris <rgm@gnu.org>
4299 * calendar/calendar.el (calendar-generate-month):
4300 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4301 (calendar-generate-month, calendar-font-lock-keywords):
4302 Fix for calendar-day-header-width > length of any day name.
4304 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4306 * desktop.el (desktop-clear): Use new name of sort predicate.
4308 * frameset.el (frameset): Add docstring. Move :version property to its
4310 (frameset-copy): Rename from copy-frameset.
4311 (frameset-p): Check more thoroughly.
4312 (frameset-prop): Do not check for :version, which is no longer a prop.
4313 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4314 Use new :never value instead of t.
4315 (frameset-filter-alist): Expand and clarify docstring.
4316 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4317 (frameset-filter-minibuffer, frameset-filter-save-param)
4318 (frameset-filter-restore-param, frameset-filter-iconified):
4319 Add pointer to docstring of frameset-filter-alist.
4320 (frameset-filter-params): Rename filter values to be more meaningful:
4321 :never instead of t, and reverse the meanings of :save and :restore.
4322 (frameset--process-minibuffer-frames): Clarify error message.
4323 (frameset-save): Avoid unnecessary and confusing call to framep.
4324 Use new BOA constructor for framesets.
4325 (frameset--reuse-list): Doc fix.
4326 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4327 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4328 (frameset-minibufferless-first-p): Doc fix.
4329 Rename from frameset-sort-frames-for-deletion.
4330 (frameset-restore): Doc fixes. Use new function names.
4331 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4333 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4335 * desktop.el (desktop-restore-forces-onscreen)
4336 (desktop-restore-reuses-frames): Document :keyword constant values.
4337 (desktop-filter-parameters-alist): Remove, now identical to
4338 frameset-filter-alist.
4339 (desktop--filter-tty*): Remove, moved to frameset.el.
4340 (desktop-save-frameset, desktop-restore-frameset):
4341 Do not pass :filters argument.
4343 * frameset.el (frameset-live-filter-alist)
4344 (frameset-persistent-filter-alist): New variables.
4345 (frameset-filter-alist): Use them. Add autoload cookie.
4346 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4347 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4348 `frameset--id' (it's supposed to be internal to frameset.el).
4349 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4350 (frameset--initial-params): New function.
4351 (frameset--get-frame): Use it. Doc fix.
4352 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4353 Accept :all, not 'all.
4354 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4355 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4356 with fbound symbols. Fix frame id matching, and remove matching ids if
4357 the frame being restored is deleted. Obey :delete.
4359 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * subr.el (macrop): New function.
4362 (text-clone--maintaining): New var.
4363 (text-clone--maintain): Rename from text-clone-maintain. Use it
4364 instead of inhibit-modification-hooks.
4366 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4367 a proxy, so as handle autoloads and redefinitions of the target.
4368 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4370 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4371 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4372 (pcase--mutually-exclusive-p): New function.
4373 (pcase--split-consp): Use it.
4374 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4375 mutually exclusive with the current predicate.
4377 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4378 (edebug-macrop): Remove. Use `macrop' instead.
4379 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4381 * eshell/esh-cmd.el (eshell-macrop):
4382 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4384 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4386 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4387 (advice-mapc): New function, using it.
4388 (advice-function-member-p): New function.
4389 (advice--normalize): Store the cdr in advice--saved-rewrite since
4390 that's the part that will be changed.
4391 (advice--symbol-function): New function.
4392 (advice-remove): Handle removal before the function is defined.
4393 Adjust to new advice--saved-rewrite.
4394 (advice-member-p): Use advice-function-member-p and
4395 advice--symbol-function.
4397 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4399 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4400 (frameset-filter-minibuffer): Doc fix.
4401 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4402 (frameset--set-id, frameset--process-minibuffer-frames)
4403 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4404 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4406 * desktop.el (desktop-clear): Only delete frames when called
4407 interactively and desktop-restore-frames is non-nil. Doc fix.
4408 (desktop-read): Set desktop-saved-frameset to nil.
4410 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4412 * vc/vc.el (vc-ignore): Rewrite.
4413 (vc-default-ignore-completion-table):
4415 (vc--add-line, vc--remove-regexp): New functions.
4417 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4418 (vc-svn-ignore-completion-table): New function.
4420 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4421 (vc-hg-ignore-completion-table):
4422 (vc-hg-find-ignore-file): New functions.
4424 * vc/vc-git.el (vc-git-ignore): Rewrite.
4425 (vc-git-ignore-completion-table):
4426 (vc-git-find-ignore-file): New functions.
4428 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4430 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4431 (vc-bzr-ignore-completion-table):
4432 (vc-bzr-find-ignore-file): New functions.
4434 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4436 * frameset.el (frameset-prop): New function and setter.
4437 (frameset-save): Do not modify frame list passed by the caller.
4439 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4443 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4445 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4446 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4448 * custom.el (custom-initialize-default, custom-initialize-set)
4449 (custom-initialize-reset, custom-initialize-changed): Affect the
4450 toplevel-default-value (bug#6275, bug#14586).
4451 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4454 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4456 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4457 Add cl-def* expressions.
4459 * frameset.el (frameset-filter-params): Fix order of arguments.
4461 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4463 Move code related to saving frames to frameset.el.
4464 * desktop.el: Require frameset.
4465 (desktop-restore-frames): Doc fix.
4466 (desktop-restore-reuses-frames): Rename from
4467 desktop-restoring-reuses-frames.
4468 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4469 (desktop-clear): Clear frames too.
4470 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4471 (desktop--filter-tty*, desktop-save, desktop-read):
4472 Use frameset functions.
4473 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4474 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4475 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4476 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4477 (desktop--process-minibuffer-frames, desktop-save-frames)
4478 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4479 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4480 (desktop--sort-states, desktop-restoring-frames-p)
4481 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4482 (desktop-restoring-frameset-p, desktop-restore-frameset)
4483 (desktop--check-dont-save, desktop-save-frameset): New functions.
4484 (desktop--app-id): New constant.
4485 (desktop-first-buffer, desktop-buffer-ok-count)
4486 (desktop-buffer-fail-count): Move before first use.
4487 * frameset.el: New file.
4489 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * files.el: Use lexical-binding.
4492 (dir-locals-read-from-file): Remove unused `err' variable.
4493 (hack-dir-local-variables--warned-coding): New var.
4494 (hack-dir-local-variables): Use it to avoid repeated warnings.
4495 (make-backup-file-name--default-function): New function.
4496 (make-backup-file-name-function): Use it as default.
4497 (buffer-stale--default-function): New function.
4498 (buffer-stale-function): Use it as default.
4499 (revert-buffer-insert-file-contents--default-function): New function.
4500 (revert-buffer-insert-file-contents-function): Use it as default.
4501 (insert-directory): Avoid add-to-list.
4503 * autorevert.el (auto-revert-handler): Simplify.
4504 Use buffer-stale--default-function.
4506 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4508 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4510 * whitespace.el (whitespace-ensure-local-variables): New function.
4511 (whitespace-cleanup-region): Call it.
4512 (whitespace-turn-on): Call it.
4514 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4516 Complete file name handlers.
4518 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4519 (tramp-handle-verify-visited-file-modtime)
4520 (tramp-handle-file-notify-rm-watch): New functions.
4521 (tramp-call-process): Do not bind `default-directory'.
4523 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4524 Order alphabetically.
4525 [access-file, add-name-to-file, dired-call-process]:
4526 [dired-compress-file, file-acl, file-notify-rm-watch]:
4527 [file-ownership-preserved-p, file-selinux-context]:
4528 [make-directory-internal, make-symbolic-link, set-file-acl]:
4529 [set-file-selinux-context, set-visited-file-modtime]:
4530 [verify-visited-file-modtime]: Add handler.
4531 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4533 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4534 [file-notify-add-watch, file-notify-rm-watch]:
4535 [set-file-times, set-visited-file-modtime]:
4536 [verify-visited-file-modtime]: Add handler.
4537 (with-tramp-gvfs-error-message)
4538 (tramp-gvfs-handle-set-visited-file-modtime)
4539 (tramp-gvfs-fuse-file-name): Remove.
4540 (tramp-gvfs-handle-file-notify-add-watch)
4541 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4542 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4544 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4545 Order alphabetically.
4546 [file-notify-rm-watch ]: Use default Tramp handler.
4547 [executable-find]: Remove private handler.
4548 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4549 `default-directory'.
4550 (tramp-sh-handle-executable-find)
4551 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4552 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4553 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4554 Do not use `format' in `tramp-message'.
4556 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4557 [file-notify-rm-watch, set-visited-file-modtime]:
4558 [verify-visited-file-modtime]: Add handler.
4559 (tramp-smb-call-winexe): Do not bind `default-directory'.
4561 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4563 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4565 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4567 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4569 (log-view-diff-changeset): Same.
4570 (log-view-diff-common): Call backend command `previous-revision'
4571 to find out the previous revision, in both cases. Swap the
4572 variables `to' and `fr', so that `fr' usually refers to the
4573 earlier revision (Bug#14989).
4575 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4577 * ibuf-ext.el (ibuffer-filter-by-filename):
4578 Make it work with dired buffers too.
4580 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4582 * emacs-lisp/re-builder.el (reb-color-display-p):
4583 * files.el (save-buffers-kill-terminal):
4584 * net/browse-url.el (browse-url):
4585 * server.el (server-save-buffers-kill-terminal):
4586 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4587 Prefer nil to selected-frame for the first arg of frame-parameter.
4589 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4591 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4593 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4595 * minibuffer.el (completion--twq-all): Try and preserve each
4596 completion's case choice (bug#14907).
4598 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4600 * net/network-stream.el (open-network-stream): Mention the new
4601 :nogreeting parameter.
4602 (network-stream-open-starttls): Use the :nogreeting parameter
4605 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4607 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4608 more natural than popping.
4610 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4611 (shr-urlify): Highlight under mouse.
4613 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4615 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4617 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4619 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4622 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4623 point-min==1. Fix search string. Fix parentheses missing.
4625 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4626 assume point-min==1. Fix search string. Fix parentheses missing.
4628 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4630 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4633 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4635 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4636 initial frame is minibuffer-less. (Bug#14841)
4638 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4640 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4644 (tramp-maybe-open-connection): Use it.
4646 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4648 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4649 minimal set of parameters passed when creating a frame, because
4650 the minibuffer status of a frame cannot be changed later.
4652 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4654 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4655 replace-regexp-in-string and inadvertent omissions in previous change.
4656 (todo-filter-items): Ensure only file names are comma-separated in
4657 name of filtered items buffer.
4659 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4661 * desktop.el: Optionally force offscreen frames back onscreen.
4662 (desktop-restoring-reuses-frames): New option.
4663 (desktop--compute-pos, desktop--move-onscreen): New functions.
4664 (desktop--make-frame): Use desktop--move-onscreen.
4666 2013-07-27 Alan Mackenzie <acm@muc.de>
4668 Fontify a Java generic method as a function.
4669 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4672 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4674 * calendar/todo-mode.el: Add command to rename todo files.
4675 (todo-rename-file): New command.
4676 (todo-key-bindings-t): Add key binding for it. Change the
4677 bindings of todo-filter-regexp-items(-multifile) to use `x'
4678 instead of `r', since the latter is better suited to the new
4681 2013-07-27 Alan Mackenzie <acm@muc.de>
4683 Make Java try-with-resources statement parse properly.
4684 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4685 (c-block-stmt-1-2-key): New language constants/variables.
4686 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4687 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4688 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4689 with c-block-stmt-1-2-key.
4691 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4693 * desktop.el (desktop--make-frame): Apply most frame parameters after
4694 creating the frame to force (partially or totally) offscreen frames to
4695 be restored as such.
4697 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4699 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4702 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4704 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4705 `base' arg of backtrace-frame.
4707 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4709 * simple.el (list-processes): Doc fix.
4711 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4713 * desktop.el (desktop--select-frame):
4714 Try harder to reuse existing frames.
4716 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4719 (edebug-eval): Use backtrace-eval.
4720 (edebug--display, edebug--recursive-edit): Don't let-bind the
4721 edebug-outer-* vars that keep track of variables we locally let-bind.
4722 (edebug-outside-excursion): Don't restore outside values of locally
4724 (edebug--display): Use user-error.
4725 (cl-lexical-debug, cl-debug-env): Remove.
4727 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4729 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4730 are restored to be sure that they are visible before deleting any
4733 2013-07-26 Matthias Meulien <orontee@gmail.com>
4735 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4736 vc-print-root-log. (Bug#14948)
4738 2013-07-26 Richard Stallman <rms@gnu.org>
4740 Add aliases for encrypting mail.
4741 * epa.el (epa-mail-aliases): New option.
4742 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4743 Bind inhibit-read-only so read-only text doesn't ruin everything.
4744 (epa-mail-default-recipients): New subroutine broken out.
4745 Handle epa-mail-aliases.
4747 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4749 Add support for lexical variables to the debugger's `e' command.
4750 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4751 vars, except for debugger-outer-match-data.
4752 (debugger-frame-number): Move check for "on a function call" from
4753 callers into it. Add `skip-base' argument.
4754 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4755 (debugger-env-macro): Only reset the state stored in non-variables,
4756 i.e. current-buffer and match-data.
4757 (debugger-eval-expression): Rewrite using backtrace-eval.
4758 * subr.el (internal--called-interactively-p--get-frame): Remove.
4759 (called-interactively-p):
4760 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4761 `base' arg of backtrace-frame instead.
4763 2013-07-26 Glenn Morris <rgm@gnu.org>
4765 * align.el (align-regexp): Doc fix. (Bug#14857)
4766 (align-region): Explicit error if subexpression missing/does not match.
4768 * simple.el (global-visual-line-mode):
4769 Do not duplicate the mode lighter. (Bug#14858)
4771 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4773 * window.el (display-buffer): In display-buffer bind
4774 split-window-keep-point to t, bug#14829.
4776 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4778 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4779 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4780 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4781 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4783 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4784 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4786 2013-07-25 Glenn Morris <rgm@gnu.org>
4788 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4790 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4792 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4793 parameter to modify-frame-parameters if the value has not changed;
4794 this is a workaround for bug#14949.
4795 (desktop--make-frame): On cl-delete-if call, check parameter name,
4798 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4800 * vc/vc.el (vc-ignore): New function.
4802 * vc/vc-svn.el (vc-svn-ignore): New function.
4804 * vc/vc-hg.el (vc-hg-ignore): New function.
4806 * vc/vc-git.el (vc-git-ignore): New function.
4808 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4809 (vc-dir-ignore): New function.
4811 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4812 (cvs-append-to-ignore): Move here from pcvs.el.
4814 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4816 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4818 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4820 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4821 (desktop-restore-frames): Warn when deleting an existing frame failed.
4823 2013-07-24 Glenn Morris <rgm@gnu.org>
4825 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4827 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4829 * filenotify.el (file-notify-supported-p):
4830 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4833 * autorevert.el (auto-revert-use-notify):
4834 (auto-revert-notify-add-watch):
4835 * net/tramp.el (tramp-file-name-for-operation):
4836 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4837 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4838 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4839 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4840 Remove `file-notify-supported-p' entry.
4842 2013-07-24 Glenn Morris <rgm@gnu.org>
4844 * printing.el: Replace all uses of deleted ps-windows-system,
4845 ps-lp-system, ps-flatten-list with lpr- versions.
4847 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4849 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4850 checked with memq (bug#14935).
4852 * files.el (revert-buffer-function): Use a non-nil default.
4853 (revert-buffer-preserve-modes): Declare var to
4854 provide access to the `preserve-modes' argument.
4855 (revert-buffer): Let-bind it.
4856 (revert-buffer--default): New function, extracted from revert-buffer.
4858 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4860 * lpr.el: Signal print errors more prominently.
4861 (print-region-function): Don't default to nil.
4862 (lpr-print-region): New function, extracted from print-region-1.
4863 Check lpr's return value and signal an error in case of problem.
4864 (print-region-1): Use it.
4865 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4867 (ps-printer-name): Default to nil.
4868 (ps-printer-name-option): Default to lpr-printer-switch.
4869 (ps-print-region-function): Don't default to nil.
4870 (ps-postscript-code-directory): Simplify default.
4871 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4872 (ps-string-list, ps-eval-switch, ps-flatten-list)
4873 (ps-flatten-list-1): Remove.
4874 (ps-multibyte-buffer): Avoid setq.
4875 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4876 (print-region-function, ps-print-region-function): Don't set them here.
4878 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4880 * ido.el (ido-fractionp):
4881 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4882 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4883 (ido-max-directory-size, ido-max-dir-file-cache)
4884 (ido-decorations): Doc fix.
4886 * ansi-color.el: Fix old URL.
4888 2013-07-23 Michael R. Mauger <michael@mauger.com>
4890 * progmodes/sql.el: Version 3.3
4891 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4892 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4893 (sql-interactive-remove-continuation-prompt): Rewrite, use
4894 functions above. Fix continuation prompt and complete output line
4896 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4897 redirected output buffer.
4898 (sql-mode): Restore deleted code (Bug#13591).
4900 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4902 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4904 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4906 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4908 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4909 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4910 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4912 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4914 * desktop.el (desktop-clear): Simplify; remove useless checks
4915 against invalid buffer names.
4916 (desktop-list*): Use cl-list*.
4917 (desktop-buffer-info, desktop-create-buffer): Simplify.
4919 2013-07-23 Leo Liu <sdl.web@gmail.com>
4921 * bookmark.el (bookmark-make-record): Restore NAME as a default
4924 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4926 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4927 extracted from autoload--insert-text.
4928 (autoload--insert-text): Remove.
4929 (autoload--print-cookie-text): New function, extracted from
4930 autoload--insert-cookie-text.
4931 (autoload--insert-cookie-text): Remove.
4932 (autoload-generate-file-autoloads): Adjust calls accordingly.
4934 * winner.el (winner-hook-installed-p): Remove.
4935 (winner-mode): Simplify accordingly.
4937 * subr.el (add-to-list): Fix compiler-macro when `append' is
4938 not constant. Don't use `cl-member' for the base case.
4940 * progmodes/subword.el: Fix boundary case (bug#13758).
4941 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4943 (subword-backward-regexp): Make it a constant.
4944 (subword-forward-internal): Don't treat a trailing capital as the
4945 beginning of a word.
4947 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4949 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4950 global value of tabulated-list-revert-hook (bug#14930).
4952 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4954 * desktop.el: Require 'cl-lib.
4955 (desktop-before-saving-frames-functions): New hook.
4956 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4957 for frames being saved. Rename from desktop--save-minibuffer-frames.
4958 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4959 Do not save frames with non-nil `desktop-dont-save' parameter.
4960 Filter out deleted frames.
4961 (desktop--find-frame): Use cl-find-if.
4962 (desktop--select-frame): Use cl-(first|second|third) to access values
4964 (desktop--make-frame): Use cl-delete-if.
4965 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4966 (desktop-restore-frames): Use cl-(first|second|third) to access values
4967 of desktop-mini. Look for visible frame at the end, not while
4970 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4971 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4972 Use string-match-p, looking-at-p (bug#14927).
4974 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4976 * desktop.el (desktop-saved-frame-states):
4977 Rename from desktop--saved-states; all users changed.
4978 (desktop-save-frames): Rename from desktop--save-frames.
4979 Do not save state to desktop file.
4980 (desktop-save): Save desktop-saved-frame-states to desktop file
4982 (desktop-restoring-frames-p): New function.
4983 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4984 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4985 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4987 * desktop.el: Correctly restore iconified frames.
4988 (desktop--filter-iconified-position): New function.
4989 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4991 2013-07-20 Glenn Morris <rgm@gnu.org>
4993 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4994 Let `message' do the formatting.
4995 (def-gdb-preempt-display-buffer): Add explicit format.
4997 * image-dired.el (image-dired-track-original-file):
4998 Use with-current-buffer.
4999 (image-dired-track-thumbnail): Use with-current-buffer.
5000 Avoid changing point of wrong window.
5002 * image-dired.el (image-dired-track-original-file):
5003 Avoid changing point of wrong window. (Bug#14909)
5005 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5007 * progmodes/gdb-mi.el (gdb-done-or-error):
5008 Guard against "%" in gdb output. (Bug#14127)
5010 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5012 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5015 * international/mule.el (coding-system-iso-2022-flags): Fix last
5018 2013-07-20 Kenichi Handa <handa@gnu.org>
5020 * international/mule.el (coding-system-iso-2022-flags):
5021 Add `8-bit-level-4'. (Bug#8522)
5023 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5025 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5028 * net/eww.el (eww-process-text-input): Allow inputting when the
5029 point is at the start of the line, as the properties aren't
5032 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5035 2013-07-19 Richard Stallman <rms@gnu.org>
5037 * epa.el (epa-popup-info-window): Doc fix.
5039 * subr.el (split-string): New arg TRIM.
5041 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5043 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5044 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5046 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5048 * filenotify.el (file-notify--library): Rename from
5049 `file-notify-support'. Do not autoload. Adapt all uses.
5050 (file-notify-supported-p): New defun.
5052 * autorevert.el (auto-revert-use-notify):
5053 Use `file-notify-supported-p' instead of `file-notify-support'.
5055 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5057 * net/tramp.el (tramp-file-name-for-operation):
5058 Add `file-notify-supported-p'.
5060 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5062 (tramp-sh-file-name-handler-alist): Add it as handler for
5063 `file-notify-supported-p '.
5065 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5066 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5067 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5068 Add `ignore' as handler for `file-notify-*' functions.
5070 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5072 * simple.el (line-move-partial, line-move): Don't start vscroll or
5073 scroll-up if the current line is not taller than the window.
5076 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5078 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5079 highlight question marks in the method names as strings.
5080 (ruby-block-beg-keywords): Inline.
5081 (ruby-font-lock-keyword-beg-re): Extract from
5082 `ruby-font-lock-keywords'.
5084 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5086 * frame.el (blink-cursor-blinks): New defcustom.
5087 (blink-cursor-blinks-done): New defvar.
5088 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5089 (blink-cursor-timer-function): Check if number of blinks has been
5091 (blink-cursor-suspend, blink-cursor-check): New defuns.
5093 2013-07-15 Glenn Morris <rgm@gnu.org>
5095 * edmacro.el (edmacro-format-keys): Fix previous change.
5097 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5099 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5100 The hack didn't work outside English locales anyway.
5102 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5104 * simple.el (define-alternatives): Rename from alternatives-define,
5105 per RMS' suggestion.
5107 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5109 * desktop.el (desktop-restore-frames): Change default to t.
5110 (desktop-restore-in-current-display): Now offer more options.
5111 (desktop-restoring-reuses-frames): New customization option.
5112 (desktop--saved-states): Doc fix.
5113 (desktop-filter-parameters-alist): New variable, renamed and expanded
5114 from desktop--excluded-frame-parameters.
5115 (desktop--target-display): New variable.
5116 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5117 (desktop--filter-tty*, desktop--filter-*-color)
5118 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5119 (desktop--filter-save-desktop-parm)
5120 (desktop-restore-in-original-display-p): New functions.
5121 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5122 (desktop--save-minibuffer-frames): New function, inspired by a similar
5123 function from Martin Rudalics.
5124 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5125 (desktop--restore-in-this-display-p): Remove.
5126 (desktop--find-frame): Rename from desktop--find-frame-in-display
5127 and add predicate argument.
5128 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5129 (desktop--reuse-list): New variable.
5130 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5132 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5134 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5136 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5138 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5140 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5141 Highlight conversion methods on Kernel.
5143 2013-07-13 Alan Mackenzie <acm@muc.de>
5145 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5146 and comment it out. This out-commenting enables certain C++
5147 declarations to be parsed correctly.
5149 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5151 * international/mule.el (define-coding-system): Doc fix.
5153 * simple.el (default-font-height): Don't call font-info if the
5154 frame's default font didn't change since the frame was created.
5157 2013-07-13 Leo Liu <sdl.web@gmail.com>
5159 * ido.el (ido-read-file-name): Guard against non-symbol value.
5161 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5163 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5166 2013-07-13 Leo Liu <sdl.web@gmail.com>
5168 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5169 ido-set-matches call. (Bug#6852)
5171 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5173 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5174 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5176 (ruby-font-lock-keywords): Distinguish calls to functions with
5177 module-like names from module references. Highlight character
5180 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5182 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5183 (gdb-send): Handle continued commands. (Bug#14847)
5185 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5187 * desktop.el (desktop--v2s): Remove unused local variable.
5188 (desktop-save-buffer): Make defvar-local; adjust docstring.
5189 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5190 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5192 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5194 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5196 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5198 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5201 2013-07-12 Glenn Morris <rgm@gnu.org>
5203 * doc-view.el: Require cl-lib at runtime too.
5204 (doc-view-remove-if): Remove.
5205 (doc-view-search-next-match, doc-view-search-previous-match):
5208 * edmacro.el: Require cl-lib at runtime too.
5209 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5210 (edmacro-mismatch, edmacro-subseq): Remove.
5212 * shadowfile.el: Require cl-lib.
5213 (shadow-remove-if): Remove.
5214 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5217 * wid-edit.el: Require cl-lib.
5218 (widget-choose): Use cl-remove-if.
5219 (widget-remove-if): Remove.
5221 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5222 (ebrowse-delete-if-not): Remove.
5223 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5224 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5225 Use cl-delete-if-not.
5227 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5229 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5230 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5232 2013-07-12 Leo Liu <sdl.web@gmail.com>
5234 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5236 2013-07-11 Glenn Morris <rgm@gnu.org>
5238 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5239 (edebug-gensym-index, edebug-gensym):
5240 Remove reimplementation of cl-gensym.
5241 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5243 * thumbs.el: Require cl-lib at run-time too.
5244 (thumbs-gensym-counter, thumbs-gensym):
5245 Remove reimplementation of cl-gensym.
5246 (thumbs-temp-file): Use cl-gensym.
5248 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5249 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5250 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5251 (ert--union, ert--gensym-counter, ert--gensym-counter)
5252 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5253 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5254 (ert-make-test-unbound, ert--expand-should-1)
5255 (ert--expand-should, ert--should-error-handle-error)
5256 (should-error, ert--explain-equal-rec)
5257 (ert--plist-difference-explanation, ert-select-tests)
5258 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5259 Use cl-lib functions rather than reimplementations.
5261 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5263 * net/tramp.el (tramp-methods): Extend docstring.
5264 (tramp-connection-timeout): New defcustom.
5265 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5266 (with-tramp-progress-reporter): Simplify.
5267 (tramp-process-actions): Improve messages.
5269 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5270 * net/tramp-sh.el (tramp-maybe-open-connection):
5271 Use `tramp-connection-timeout'.
5272 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5275 2013-07-11 Leo Liu <sdl.web@gmail.com>
5277 * ido.el (ido-read-file-name): Conform to the requirements of
5278 read-file-name. (Bug#11861)
5279 (ido-read-directory-name): Conform to the requirements of
5280 read-directory-name.
5282 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5284 * subr.el (delay-warning): New function.
5286 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5288 * simple.el (default-line-height): New function.
5289 (line-move-partial, line-move): Use it instead of computing the
5291 (line-move-partial): Always compute ROWH. If the last line is
5292 partially-visible, but its text is completely visible, allow
5293 cursor to enter such a partially-visible line.
5295 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5297 Improve error messages. (Bug#14808)
5299 * net/tramp.el (tramp-current-connection): New defvar, moved from
5301 (tramp-message-show-progress-reporter-message): Remove, not
5303 (tramp-error-with-buffer): Show message in minibuffer.
5304 Discard input before waiting. Reset connection timestamp.
5305 (with-tramp-progress-reporter): Improve messages.
5306 (tramp-process-actions): Use progress reporter. Delete process in
5307 case of error. Improve messages.
5309 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5310 Call `tramp-error-with-buffer' with vector and buffer.
5311 (tramp-current-connection): Remove.
5312 (tramp-maybe-open-connection): The car of
5313 `tramp-current-connection' are the first 3 slots of the vector.
5315 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5317 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5318 inside continued strings.
5320 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5322 Timestamp fixes for undo (Bug#14824).
5323 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5325 2013-07-10 Leo Liu <sdl.web@gmail.com>
5327 * files.el (require-final-newline): Allow safe local value.
5330 2013-07-09 Leo Liu <sdl.web@gmail.com>
5332 * ido.el (ido-read-directory-name): Handle fallback.
5333 (ido-read-file-name): Update DIR to ido-current-directory.
5335 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5337 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5339 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5340 "autoload". Remove "warn lower camel case" section, previously
5341 commented out. Highlight negation char. Do not highlight the
5342 target in singleton method definitions.
5344 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * faces.el (tty-setup-hook): Declare the hook.
5348 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5349 and detect when a guard/pred depends on local vars (bug#14773).
5350 (pcase--u1): Adjust caller.
5352 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5354 * simple.el (line-move-partial, line-move): Account for
5356 (line-move-partial): Avoid setting vscroll when the last
5357 partially-visible line in window is of default height.
5359 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5361 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5364 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5366 * subr.el (read-quoted-char): Remove unused local variable `char'.
5368 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5370 * ediff.el (ediff-version): Version update.
5371 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5372 (ediff-merge-with-ancestor-command, ediff-directories-command)
5373 (ediff-directories3-command, ediff-merge-directories-command)
5374 (ediff-merge-directories-with-ancestor-command): New functions.
5375 All are command-line interfaces to ediff: to facilitate calling
5376 Emacs with the appropriate ediff functions invoked.
5378 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5379 (viper-save-kill-buffer): Check if buffer is modified.
5381 * viper.el (viper-version): Version update.
5382 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5384 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5386 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5387 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5388 (viper-intercept-ESC-key): Simplify.
5389 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5390 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5391 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5392 (viper-setup-ESC-to-escape): New functions.
5393 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5394 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5396 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5398 * simple.el (default-font-height, window-screen-lines):
5400 (line-move, line-move-partial): Use them instead of
5401 frame-char-height and window-text-height. This makes scrolling
5402 text smoother when the buffer's default face uses a font that is
5403 different from the frame's default font.
5405 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5407 * files.el (write-file): Do not display confirm dialog for NS,
5408 it does its own dialog, which can't be cancelled (Bug#14578).
5410 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5412 * simple.el (line-move-partial): Adjust the row returned by
5413 posn-at-point for the current window-vscroll. (Bug#14567)
5415 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5417 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5418 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5421 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5423 * window.el (window-state-put-stale-windows): New variable.
5424 (window--state-put-2): Save list of windows without matching buffer.
5425 (window-state-put): Remove "bufferless" windows if possible.
5427 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5429 * simple.el (alternatives-define): Remove leftover :group keyword.
5432 2013-07-06 Leo Liu <sdl.web@gmail.com>
5434 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5435 (ido-enable-virtual-buffers): New variable.
5436 (ido-buffer-internal, ido-toggle-virtual-buffers)
5437 (ido-make-buffer-list): Use it.
5438 (ido-exhibit): Support turning on and off virtual buffers
5441 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5443 * simple.el (alternatives-define): New macro.
5445 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5447 * subr.el (read-quoted-char): Use read-key.
5448 (sit-for): Let read-event decode tty input (bug#14782).
5450 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5452 * calendar/todo-mode.el: Add handling of file deletion, both by
5453 mode command and externally. Fix various related bugs.
5454 Clarify Commentary and improve some documentation strings and code.
5455 (todo-delete-file): New command.
5456 (todo-check-file): New function.
5457 (todo-show): Handle external deletion of the file we're trying to
5458 show (bug#14688). Replace called-interactively-p by an optional
5459 prefix argument to avoid problematic interaction with catch form
5460 when byte compiled (bug#14702).
5461 (todo-quit): Handle external deletion of the archive's todo file.
5462 Make sure the buffer that was visiting the archive file is still
5463 live before trying to bury it.
5464 (todo-category-completions): Handle external deletion of any
5465 category completion files.
5466 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5467 of todo files, in case of external deletion.
5468 (todo-add-file): Replace unnecessary setq by let-binding.
5469 (todo-find-archive): Check whether there are any archives.
5470 Replace unnecessary setq by let-binding.
5471 (todo-archive-done-item): Use find-file-noselect to get the
5472 archive buffer whether or not the archive already exists.
5473 Remove superfluous code. Use file size instead of buffer-file-name to
5474 check if the archive is new; if it is, update list of archives.
5475 (todo-default-todo-file): Allow nil to be a valid value for when
5476 there are no todo files.
5477 (todo-reevaluate-default-file-defcustom): Use corrected definition
5478 of todo-default-todo-file.
5479 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5480 (todo-delete-category, todo-show-categories-table)
5481 (todo-category-number): Clarify comment.
5482 (todo-filter-items): Clarify documentation string.
5483 (todo-show-current-file, todo-display-as-todo-file)
5484 (todo-reset-and-enable-done-separator): Tweak documentation string.
5485 (todo-done-separator): Make separator length window-width, since
5486 bug#2749 is now fixed.
5488 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5490 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5491 Support both "gvfs-monitor-dir" and "inotifywait".
5492 (tramp-sh-file-inotifywait-process-filter): Rename from
5493 `tramp-sh-file-notify-process-filter'.
5494 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5495 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5497 2013-07-05 Leo Liu <sdl.web@gmail.com>
5499 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5501 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5503 * frame.el (display-pixel-height, display-pixel-width)
5504 (display-mm-height, display-mm-width): Mention behavior on
5505 multi-monitor setups in docstrings.
5506 (w32-display-monitor-attributes-list): Declare function.
5507 (display-monitor-attributes-list): Use it.
5509 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5511 * filenotify.el: New package.
5513 * autorevert.el (top): Require filenotify.el.
5514 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5516 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5517 (auto-revert-notify-handler): Use `file-notify-*' functions.
5519 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5521 * net/tramp.el (tramp-file-name-for-operation):
5522 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5524 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5525 for `file-notify-add-watch' and `file-notify-rm-watch'.
5526 (tramp-process-sentinel): Improve trace.
5527 (tramp-sh-handle-file-notify-add-watch)
5528 (tramp-sh-file-notify-process-filter)
5529 (tramp-sh-handle-file-notify-rm-watch)
5530 (tramp-get-remote-inotifywait): New defuns.
5532 2013-07-03 Juri Linkov <juri@jurta.org>
5534 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5535 call of `occur-read-primary-args' to interactive spec.
5537 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5538 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5540 2013-07-03 Matthias Meulien <orontee@gmail.com>
5542 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5543 `Buffer-menu-multi-occur'. Add it to the menu.
5544 (Buffer-menu-mode): Document it in docstring.
5545 (Buffer-menu-multi-occur): New command. (Bug#14673)
5547 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5549 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5550 keywords and built-ins.
5552 2013-07-03 Glenn Morris <rgm@gnu.org>
5554 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5556 Make info-xref checks case-sensitive by default
5557 * info.el (Info-find-node, Info-find-in-tag-table)
5558 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5559 Add option for exact case matching of nodes.
5560 * info-xref.el (info-xref): New custom group.
5561 (info-xref-case-fold): New option.
5562 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5564 2013-07-03 Leo Liu <sdl.web@gmail.com>
5566 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5568 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5570 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5571 middle of block statement initially, lower the depth. Remove
5572 FIXME comment, not longer valid. Remove middle of block statement
5573 detection, no need to do that anymore since we've been using
5574 `ruby-parse-region' here.
5576 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5578 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5580 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5582 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5584 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5586 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5587 (desktop-restore-in-current-display): New customization option.
5588 (desktop--excluded-frame-parameters): Add `font'.
5589 (desktop--save-frames): Rename from desktop--save-windows.
5590 (desktop--restore-in-this-display-p): New function.
5591 (desktop--make-full-frame): Remove unwanted width/height from
5592 full(width|height) frames.
5593 (desktop--restore-frames): Rename from desktop--restore-windows.
5594 Obey desktop-restore-current-display. Do not delete old frames or
5595 select a new frame unless we were able to restore at least one frame.
5597 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5599 * files.el (find-file-noselect): Simplify conditional expression.
5601 * remember.el (remember-append-to-file):
5602 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5604 Add `remember-notes' function to store random notes across Emacs
5606 * remember.el (remember-data-file): Add :set callback to affect
5607 notes buffer (if any).
5608 (remember-notes): New command.
5609 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5610 New defcustoms for the `remember-notes' function.
5611 (remember-notes-save-and-bury-buffer): New command.
5612 (remember-notes-mode-map): New variable.
5613 (remember-mode): New minor mode.
5614 (remember-notes--kill-buffer-query): New function.
5615 * startup.el (initial-buffer-choice): Add notes to custom type.
5617 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5619 * bindings.el (right-char, left-char): Don't call sit-for, this is
5620 no longer needed. Use arithmetic comparison only for numerical
5623 * international/mule-cmds.el (select-safe-coding-system):
5624 Handle the case of FROM being a string correctly. (Bug#14755)
5626 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5628 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5629 progression on degenerate tables.
5630 (shr-rescale-image): ImageMagick animated images currently don't work.
5632 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5634 Some fixes and improvements for desktop frame restoration.
5635 It is still experimental and disabled by default.
5636 * desktop.el (desktop--save-windows): Put the selected frame at
5637 the head of the list.
5638 (desktop--make-full-frame): New function.
5639 (desktop--restore-windows): Try to re-select the frame that was
5640 selected upon saving. Do not abort if some frames fail to restore,
5641 just show an error message and continue. Set up maximized frames
5642 so they have default non-maximized dimensions.
5644 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5646 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5647 Don't start heredoc inside a string or comment.
5649 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5651 * bindings.el (visual-order-cursor-movement): New defcustom.
5652 (right-char, left-char): Provide visual-order cursor motion by
5653 calling move-point-visually. Update the doc strings.
5655 2013-06-28 Kenichi Handa <handa@gnu.org>
5657 * international/mule.el (define-coding-system): New coding system
5658 properties :inhibit-null-byte-detection,
5659 :inhibit-iso-escape-detection, and :prefer-utf-8.
5660 (set-buffer-file-coding-system): If :charset-list property of
5661 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5662 appropriate for setting.
5664 * international/mule-cmds.el (select-safe-coding-system):
5665 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5666 multibyte characters, return utf-8 (or one of its siblings).
5668 * international/mule-conf.el (prefer-utf-8): New coding system.
5669 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5672 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5674 * net/shr.el (shr-render-region): New function.
5676 * net/eww.el: Autoload `eww-browse-url'.
5678 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5680 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5681 Adapt to `package-desc-version' being a list.
5682 Use `package--ac-desc-version' to retrieve version from a package
5685 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5687 New experimental feature to save&restore window and frame setup.
5688 * desktop.el (desktop-save-windows): New defcustom.
5689 (desktop--saved-states): New var.
5690 (desktop--excluded-frame-parameters): New defconst.
5691 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5692 (desktop--restore-windows, desktop--save-windows): New functions.
5693 (desktop-save): Call `desktop--save-windows'.
5694 (desktop-read): Call `desktop--restore-windows'.
5696 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5698 * net/shr.el (add-face-text-property): Remove compat definition.
5700 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5702 * info.el (Info-try-follow-nearest-node): Move search for footnote
5703 above search for node name to prevent missing a footnote (bug#14717).
5705 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5707 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5709 2013-06-27 Leo Liu <sdl.web@gmail.com>
5711 * net/eww.el (eww-read-bookmarks): Check file size.
5713 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5715 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5716 advice--pending if newdef is nil or an autoload (bug#13820).
5717 (advice-mapc): New function.
5719 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5721 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5723 (eww-mode-map): Add a menu bar.
5724 (eww-add-bookmark): New command.
5725 (eww-bookmark-mode): New mode and commands.
5726 (eww-add-bookmark): Remove newlines from the title.
5727 (eww-bookmark-browse): Don't bug out if it's the only window.
5729 2013-06-26 Glenn Morris <rgm@gnu.org>
5731 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5732 (hfy-size): Handle ttys. (Bug#14668)
5734 * info-xref.el: Update for Texinfo 5 change in *note format.
5735 (info-xref-node-re, info-xref-note-re): New constants.
5736 (info-xref-check-buffer): Use info-xref-note-re.
5738 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5740 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5742 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5743 nil terminate the loop (bug#14718).
5745 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5747 * net/eww.el: Rework history traversal. When going forward/back,
5748 put these actions into the history, too, so that they can be
5750 (eww-render): Move the history reset to the correct buffer.
5752 2013-06-25 Juri Linkov <juri@jurta.org>
5754 * files-x.el (modify-dir-local-variable): Change the header comment
5755 in the file with directory local variables. (Bug#14692)
5757 * files-x.el (read-file-local-variable-value): Add `default'.
5760 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5762 * net/eww.el (eww-make-unique-file-name): Create a unique file
5763 name before saving to entering `y' accidentally asynchronously.
5765 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5767 * net/eww.el (eww-download): New command and keystroke.
5769 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5771 * net/eww.el (eww-copy-page-url): Change name of command.
5773 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5774 be more consistent with Info and dired.
5776 * net/eww.el (eww-mode-map): Ditto.
5778 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5780 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5781 packages from archives.
5782 (package-archive-contents): Change format; include obsolete packages.
5783 (package-desc): Use `dir' to mark builtin packages.
5784 (package--from-builtin): Set the `dir' field to `builtin'.
5785 (generated-autoload-file, version-control): Declare.
5786 (package-compute-transaction): Change first arg and return value to be
5787 lists of package-descs. Adjust to new package-archive-contents format.
5788 (package--add-to-archive-contents): Adjust to new
5789 package-archive-contents format.
5790 (package-download-transaction): Arg is now a list of package-descs.
5791 (package-install): If `pkg' is a package name, pass it as
5792 a requirement, so it is subject to the usual (e.g. disabled) checks.
5793 (describe-package): Accept package-desc as well.
5794 (describe-package-1): Describe a specific package-desc. Add links to
5795 other package-descs for the same package name.
5796 (package-menu-describe-package): Pass the actual package-desc.
5797 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5799 (package-desc-status): New function.
5800 (package-menu--refresh): New function, extracted
5801 from package-menu--generate.
5802 (package-menu--generate): Use it.
5803 (package-delete): Update package-alist.
5804 (package-menu-execute): Don't call package-initialize.
5806 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5807 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5808 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5809 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5810 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5811 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5813 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5815 * window.el (window--state-get-1): Workaround for bug#14527.
5816 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5818 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5820 * net/eww.el (eww-back-url): Implement the history by stashing all
5821 the data into a list.
5822 (eww-forward-url): Allow going forward in the history, too.
5824 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5826 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5827 for values and use read--expression for expressions (bug#14710).
5828 (read-file-local-variable): Avoid setq.
5829 (read-file-local-variable-mode): Use minor-mode-list.
5831 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5833 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5836 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5838 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5839 Update imenu-support when dialect changes.
5841 2013-06-25 Leo Liu <sdl.web@gmail.com>
5843 * ido.el (ido-read-internal): Allow forward slash on windows.
5845 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5847 * net/eww.el (eww): Start of strings is \\`, not ^.
5849 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5851 * net/shr.el (shr-browse-url): Fix interactive spec.
5853 * net/eww.el (eww): Add a trailing slash to domain names.
5855 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5857 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5859 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5861 * net/shr.el (shr-browse-url): Use an external browser if given a
5864 * net/eww.el (eww-external-browser): Move to shr.
5866 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5868 * net/eww.el (eww): Work more correctly for file: URLs.
5869 (eww-detect-charset): Allow quoted charsets.
5870 (eww-yank-page-url): New command and keystroke.
5872 2013-06-24 Daiki Ueno <ueno@gnu.org>
5874 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5875 file name of gpg executable.
5876 (epg-context-program): New function.
5877 (epg-context-home-directory): New function.
5878 (epg-context-set-program): New function.
5879 (epg-context-set-home-directory): New function.
5880 (epg--start): Use `epg-context-program' instead of
5882 (epg--list-keys-1): Likewise.
5884 2013-06-24 Leo Liu <sdl.web@gmail.com>
5886 * ido.el (ido-read-internal): Fix bug#14620.
5888 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5890 * faces.el (face-documentation): Simplify.
5891 (read-face-attribute, tty-find-type, x-resolve-font-name):
5892 Use `string-match-p'.
5893 (list-faces-display): Use `string-match-p'. Simplify.
5894 (face-spec-recalc): Check face to avoid face alias loops.
5895 (read-color): Use `string-match-p' and non-capturing parenthesis.
5897 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5899 * net/shr.el (shr-rescale-image): Use the new
5900 :max-width/:max-height functionality.
5902 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5904 * net/eww.el (eww-search-prefix): New variable.
5906 (eww-external-browser): New variable.
5907 (eww-mode-map): New keystroke.
5908 (eww-browse-with-external-browser): New command.
5910 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5912 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5914 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5915 Don't skip aligning the next header field when padding is 0;
5916 otherwise, field width is not respected unless the title is as
5919 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * emacs-lisp/package.el (package-el-version): Remove.
5922 (package-process-define-package): Fix inf-loop.
5923 (package-install): Allow symbols as arguments again.
5925 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5927 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5928 add some more keyword-like methods.
5929 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5931 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5933 * bs.el (bs-buffer-show-mark): Make defvar-local.
5934 (bs-mode): Use setq-local.
5936 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5937 (emacs-lock--try-unlocking): Make defvar-local.
5939 2013-06-22 Glenn Morris <rgm@gnu.org>
5941 * play/cookie1.el (cookie-apropos): Minor simplification.
5943 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5945 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5947 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5948 `regexp-opt', it breaks the build during dumping.
5950 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5952 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5953 Highlight keyword-like methods on Kernel and Module with
5954 font-lock-builtin-face.
5955 (auto-mode-alist): Consolidate different entries into one regexp
5956 and add more *file-s.
5958 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5960 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5962 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5963 (diary-entry): Use it in the action of this button type instead of
5966 * calendar/todo-mode.el: New version.
5967 (todo-add-category): Append new category to end of file and give
5968 it the highest number, instead of putting it at the beginning and
5969 giving it 0. Incorporate noninteractive functionality.
5970 (todo-forward-category): Adapt to 1-based category numbering.
5971 Allow skipping over archived categories.
5972 (todo-backward-category): Derive from todo-forward-category.
5973 (todo-backward-item, todo-forward-item): Make noninteractive and
5974 delegate interactive part to new commands. Make sensitive to done items.
5975 (todo-categories): Make value an alist of category names and
5976 vectors of item counts.
5977 (todo-category-beg): Make a defconst.
5978 (todo-category-number): Use 1 instead of 0 as initial value.
5979 (todo-category-select): Make sensitive to overlays, optional item
5980 highlighting and done items.
5981 (todo-delete-item): Make sensitive to overlays and marked and done items.
5982 (todo-edit-item): Make sensitive to overlays and editing of
5983 date/time header optional. Add format checks.
5984 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5985 no-op if point is not on an item. Advertise using todo-edit-quit.
5986 (todo-edit-mode): Make sensitive to new format, font-locking, and
5987 multiple todo files.
5988 (todo-insert-item, todo-insert-item-here): Derive from
5989 todo-basic-insert-item and extend functionality.
5990 (todo-item-end, todo-item-start): Make sensitive to done items.
5991 (todo-item-string): Don't return text properties. Restore point.
5992 (todo-jump-to-category): Make sensitive to multiple todo files and
5993 todo archives. Use extended category completion.
5994 (todo-lower-item, todo-raise-item): Rename to *-priority and
5995 derive from todo-set-item-priority.
5996 (todo-mode): Derive from special-mode. Make sensitive to new
5997 format, font-locking and multiple todo files. Make read-only.
5998 (todo-mode-map): Don't suppress digit keys, so they can supply
5999 prefix arguments. Add many new key bindings.
6000 (todo-prefix): Insert as an overlay instead of file text.
6001 Change semantics from diary date expression to purely visual mark.
6002 (todo-print): Rename to todo-print-buffer. Make buffer display
6003 features printable. Remove option to restrict number of items
6004 printed. Add option to print to file.
6005 (todo-print-function): Rename to todo-print-buffer-function.
6006 (todo-quit): Extend to handle exiting new todo modes.
6007 (todo-remove-item): Make sensitive to overlays.
6008 (todo-save): Extend to buffers of filtered items.
6009 (todo-show): Make sensitive to done items, multiple todo files and
6010 new todo modes. Offer to convert legacy todo file before creating
6011 first new todo file.
6012 (todo-show-priorities): Rename to todo-top-priorities.
6013 Change semantics of value 0.
6014 (todo-top-priorities): Rename to todo-filter-top-priorities,
6015 derive from todo-filter-items and extend functionality.
6016 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6017 and extend functionality to other types of filtered items.
6018 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6019 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6020 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6021 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6022 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6023 (todo-edit-mode-hook, todo-entry-prefix-function)
6024 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6025 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6026 (todo-initials, todo-insert-threshold, todo-item-string-start)
6027 (todo-line-string, todo-menu, todo-mode-hook)
6028 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6029 (todo-print-priorities, todo-remove-separator)
6030 (todo-save-top-priorities-too, todo-string-count-lines)
6031 (todo-string-multiline-p, todo-time-string-format)
6032 (todo-tmp-buffer-name): Remove.
6033 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6034 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6035 (todo-edit-category-diary-inclusion)
6036 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6037 (todo-edit-file, todo-edit-item-date-day)
6038 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6039 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6040 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6041 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6042 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6043 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6044 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6045 (todo-filter-top-priorities-multifile, todo-find-archive)
6046 (todo-find-filtered-items-file, todo-go-to-source-item)
6047 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6048 (todo-jump-to-archive-category, todo-lower-category)
6049 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6050 (todo-move-category, todo-move-item, todo-next-button)
6051 (todo-next-item, todo-padded-string, todo-powerset)
6052 (todo-previous-button, todo-previous-item)
6053 (todo-print-buffer-to-file, todo-raise-category)
6054 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6055 (todo-set-category-number, todo-set-item-priority)
6056 (todo-set-top-priorities-in-category)
6057 (todo-set-top-priorities-in-file, todo-show-categories-table)
6058 (todo-sort-categories-alphabetically-or-numerically)
6059 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6060 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6061 (todo-toggle-item-header, todo-toggle-item-highlighting)
6062 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6063 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6064 (todo-unarchive-items, todo-unmark-category): New commands.
6065 (todo-absolute-file-name, todo-add-to-buffer-list)
6066 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6067 (todo-basic-insert-item, todo-category-completions)
6068 (todo-category-number, todo-category-string-matcher-1)
6069 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6070 (todo-check-format, todo-clear-matches)
6071 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6072 (todo-current-category, todo-date-string-matcher)
6073 (todo-define-insertion-command, todo-diary-expired-matcher)
6074 (todo-diary-goto-entry, todo-diary-item-p)
6075 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6076 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6077 (todo-done-item-section-p, todo-done-separator)
6078 (todo-done-string-matcher, todo-files, todo-filter-items)
6079 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6080 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6081 (todo-insert-category-line, todo-insert-item-from-calendar)
6082 (todo-insert-sort-button, todo-insert-with-overlays)
6083 (todo-insertion-command-name, todo-insertion-key-bindings)
6084 (todo-label-to-key, todo-longest-category-name-length)
6085 (todo-make-categories-list, todo-mode-external-set)
6086 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6087 (todo-modes-set-3, todo-multiple-filter-files)
6088 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6089 (todo-read-category, todo-read-date, todo-read-dayname)
6090 (todo-read-file-name, todo-read-time)
6091 (todo-reevaluate-category-completions-files-defcustom)
6092 (todo-reevaluate-default-file-defcustom)
6093 (todo-reevaluate-filelist-defcustoms)
6094 (todo-reevaluate-filter-files-defcustom)
6095 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6096 (todo-reset-done-separator, todo-reset-done-separator-string)
6097 (todo-reset-done-string, todo-reset-global-current-todo-file)
6098 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6099 (todo-reset-prefix, todo-set-categories)
6100 (todo-set-date-from-calendar, todo-set-show-current-file)
6101 (todo-set-top-priorities, todo-short-file-name)
6102 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6103 (todo-total-item-counts, todo-update-buffer-list)
6104 (todo-update-categories-display, todo-update-categories-sexp)
6105 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6107 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6109 (todo-categories, todo-display, todo-edit, todo-faces)
6110 (todo-filtered): New defgroups.
6111 (todo-archived-only, todo-button, todo-category-string, todo-date)
6112 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6113 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6114 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6115 (todo-add-item-if-new-category, todo-always-add-time-string)
6116 (todo-categories-align, todo-categories-archived-label)
6117 (todo-categories-category-label, todo-categories-diary-label)
6118 (todo-categories-done-label, todo-categories-number-separator)
6119 (todo-categories-todo-label, todo-categories-totals-label)
6120 (todo-category-completions-files, todo-completion-ignore-case)
6121 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6122 (todo-done-separator-string, todo-done-string)
6123 (todo-files-function, todo-filter-done-items, todo-filter-files)
6124 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6125 (todo-initial-category, todo-initial-file, todo-item-mark)
6126 (todo-legacy-date-time-regexp, todo-mode-line-function)
6127 (todo-nondiary-marker, todo-number-prefix)
6128 (todo-print-buffer-function, todo-show-current-file)
6129 (todo-show-done-only, todo-show-first, todo-show-with-done)
6130 (todo-skip-archived-categories, todo-top-priorities-overrides)
6131 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6132 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6134 (todo-category-done, todo-date-pattern, todo-date-string-start)
6135 (todo-diary-items-buffer, todo-done-string-start)
6136 (todo-filtered-items-buffer, todo-item-start)
6137 (todo-month-abbrev-array, todo-month-name-array)
6138 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6139 (todo-top-priorities-buffer): New defconsts.
6140 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6141 (todo-categories-with-marks, todo-category-string-face)
6142 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6143 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6144 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6145 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6146 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6147 (todo-font-lock-keywords, todo-global-current-todo-file)
6148 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6149 (todo-insertion-commands-args)
6150 (todo-insertion-commands-args-genlist)
6151 (todo-insertion-commands-names, todo-insertion-map)
6152 (todo-key-bindings-t, todo-key-bindings-t+a)
6153 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6154 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6155 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6156 (todo-visited): New variables.
6158 2013-06-21 Glenn Morris <rgm@gnu.org>
6160 * play/cookie1.el (cookie-apropos): Add optional display argument.
6161 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6162 (psychoanalyze-pinhead): Use cookie-doctor.
6164 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6166 * emacs-lisp/package.el (tar-get-file-descriptor)
6167 (tar--extract): Declare.
6169 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6171 Extend flymake's warning predicate to be a function (bug#14217).
6172 * progmodes/flymake.el (flymake-warning-predicate): New.
6173 (flymake-parse-line): Use it.
6174 (flymake-warning-re): Make obsolete alias to
6175 `flymake-warning-predicate'.
6177 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6180 (package-obsolete-list): Remove.
6181 (package-activate): Remove min-version argument. Add `force' argument.
6182 Adjust to new package-alist format.
6183 (package-mark-obsolete): Remove.
6184 (package-unpack): Force reload of the package's autoloads.
6185 (package-installed-p): Check builtins if the installed package is not
6187 (package-initialize): Don't reset package-obsolete-list.
6188 Don't specify which package version to activate.
6189 (package-process-define-package, describe-package-1)
6190 (package-menu--generate): Adjust to new package-alist format.
6192 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6194 * allout-widgets.el (allout-widgets-mode-off)
6195 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6196 (allout-widgets-post-command-business)
6197 (allout-widgets-after-copy-or-kill-function)
6198 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6199 (allout-decorate-item-and-context)
6200 (allout-graphics-modification-handler): Fix typos in docstrings.
6201 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6203 * cmuscheme.el (scheme-start-file): Doc fix.
6204 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6205 (scheme-input-filter): Use `string-match-p'.
6207 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6209 * dired-x.el: Use Dired consistently in docstrings.
6211 * dired.el: Use Dired consistently in docstrings.
6212 (dired-readin, dired-mode): Use `setq-local'.
6213 (dired-switches-alist): Make defvar-local.
6214 (dired-buffers-for-dir): Use `zerop'.
6215 (dired-safe-switches-p, dired-switches-escape-p)
6216 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6217 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6218 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6219 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6220 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6221 (dired-toggle-marks, dired-mark-files-containing-regexp)
6222 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6223 (dired-flag-auto-save-files, dired-flag-backup-files):
6225 (dired-mark-files-regexp, dired-build-subdir-alist):
6226 Use `string-match-p', `looking-at-p'.
6228 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6229 (direct-print-region-helper): Use `string-match-p'.
6231 2013-06-21 Leo Liu <sdl.web@gmail.com>
6233 * comint.el (comint-redirect-results-list-from-process):
6236 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6238 * net/eww.el (eww-update-header-line-format): Quote % characters.
6240 2013-06-21 Glenn Morris <rgm@gnu.org>
6242 * play/cookie1.el (cookie): New custom group.
6243 (cookie-file): New option.
6244 (cookie-check-file): New function.
6245 (cookie): Make it interactive. Make start and end messages optional.
6246 Interactively, display the result. Default to cookie-file.
6247 (cookie-insert): Default to cookie-file.
6248 (cookie-snarf): Make start and end messages optional.
6249 Default to cookie-file. Use with-temp-buffer.
6250 (cookie-read): Rename from read-cookie.
6251 Make start and end messages optional. Default to cookie-file.
6252 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6254 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6255 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6257 2013-06-21 Leo Liu <sdl.web@gmail.com>
6259 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6261 2013-06-21 Glenn Morris <rgm@gnu.org>
6263 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6265 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6266 Daniel Hackney <dan@haxney.org>
6268 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6269 Consolidate the single-file vs tarball code.
6270 (package-desc-suffix): New function.
6271 (package-desc-full-name): Don't bother inlining it.
6272 (package-load-descriptor): Return the new package-desc.
6273 (package-mark-obsolete): Remove unused arg `package'.
6274 (package-unpack): Make it work for single files as well.
6275 Make it update package-alist.
6276 (package--make-autoloads-and-stuff): Rename from
6277 package--make-autoloads-and-compile. Don't compile any more.
6278 (package--compile): New function.
6279 (package-generate-description-file): New function, extracted from
6280 package-unpack-single.
6281 (package-unpack-single): Remove.
6282 (package--with-work-buffer): Add indentation and debugging info.
6283 (package-download-single): Remove.
6284 (package-install-from-archive): Rename from package-download-tar, make
6285 it take a pkg-desc, and make it work for single files as well.
6286 (package-download-transaction): Simplify.
6287 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6288 external tar program.
6289 (package-install-from-buffer): Remove `pkg-desc' argument.
6290 Use package-tar-file-info for tar-mode buffers.
6291 (package-install-file): Simplify accordingly.
6292 (package-archive-base): Change to take a pkg-desc.
6293 * tar-mode.el (tar--check-descriptor): New function, extracted from
6295 (tar-get-descriptor): Use it.
6296 (tar-get-file-descriptor): New function.
6297 (tar--extract): New function, extracted from tar-extract.
6298 (tar--extract): Use it.
6299 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6300 case the summary uses non-ascii. Adjust to new calling convention of
6301 package-tar-file-info.
6303 2013-06-21 Leo Liu <sdl.web@gmail.com>
6305 * comint.el (comint-redirect-results-list-from-process):
6306 Fix random delay. (Bug#14681)
6308 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6310 * profiler.el (profiler-format-number): Use log, not log10.
6312 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6314 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6316 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6319 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6321 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6322 (AUTOGENEL): ... here.
6323 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6324 (cl--defsubst-expand): Use it.
6326 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6328 * subr.el (log10): Move here from C code, and declare as obsolete.
6329 All uses of (log10 X) replaced with (log X 10).
6331 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6333 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6334 Declare with `defvar-local'.
6335 (tabulated-list-use-header-line, tabulated-list-entries)
6336 (tabulated-list-padding, tabulated-list-printer)
6337 (tabulated-list-sort-key): Declare with `defvar-local'.
6338 (tabulated-list-init-header, tabulated-list-print-fake-header):
6341 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6343 * arc-mode.el (archive-mode): Add `archive-write-file' to
6344 `write-contents-functions' also for remote files. (Bug#14652)
6346 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6348 * cus-edit.el (custom-commands): Fix typos.
6349 (custom-display): Fix tooltip text.
6350 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6351 Fix typos in docstrings.
6352 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6353 (custom-unlispify-menu-entry, custom-magic-value-create)
6354 (custom-add-see-also, custom-group-value-create): Use ?\s.
6355 (custom-guess-type, customize-apropos, editable-field)
6356 (custom-face-value-create): Use `string-match-p'.
6357 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6359 * custom.el (custom-load-symbol): Use `string-match-p'.
6361 * ansi-color.el: Convert to lexical binding.
6362 (ansi-colors): Fix URL.
6363 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6364 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6365 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6367 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6369 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6371 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6373 2013-06-19 Tom Tromey <tromey@redhat.com>
6375 * net/eww.el (eww-top-url): Remove.
6376 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6377 (eww-render): Set new variables. Don't set eww-top-url.
6378 (eww-handle-link): Handle "prev", "home", and "contents".
6379 Downcase the rel text.
6380 (eww-top-url): Choose best top URL.
6382 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6384 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6385 relying in widget.el. Using widget.el leads to too many
6386 user interface inconsistencies.
6387 (eww-self-insert): Implement entering commands in text fields.
6388 (eww-process-text-input): New function to make text input field editing
6390 (eww-submit): Rewrite to use the new-style form methods.
6391 (eww-select-display): Display the correct selected item.
6392 (eww-change-select): Implement changing the select value.
6393 (eww-toggle-checkbox): Implement radio/checkboxes.
6394 (eww-update-field): Fix compilation error.
6395 (eww-tag-textarea): Implement <textarea>.
6397 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6398 we don't shadow mode-specific bindings.
6400 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6403 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6405 2013-06-19 Glenn Morris <rgm@gnu.org>
6407 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6409 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6411 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6414 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6416 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6418 * net/browse-url.el (browse-url-browser-function):
6419 `eww-browse-url' has the right calling signature, `eww' does not.
6421 2013-06-19 Glenn Morris <rgm@gnu.org>
6423 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6424 Only eval autoloaded macros.
6425 (byte-compile-autoload): Only give the macro warning for macros.
6427 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6428 (ps-underlined-faces): Declare.
6430 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6431 (speedbar-add-supported-extension): Declare.
6433 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6434 Don't include a date stamp in the header of the generated file;
6435 it leads to needless differences between output files.
6437 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6439 * net/secrets.el (secrets-struct-secret-content-type):
6440 Replace check of introspection data by a test call of "CreateItem".
6441 Some servers do not offer introspection.
6443 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6445 * electric.el (electric-pair-mode): Improve interaction with
6446 electric-layout-mode.
6447 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6448 (electric-pair-syntax): Use text-mode-syntax-table in comments
6450 (electric-pair--insert): New function.
6451 (electric-pair-post-self-insert-function): Use it and
6452 electric--after-char-pos.
6454 2013-06-19 Leo Liu <sdl.web@gmail.com>
6456 * progmodes/octave.el (octave-help): Fix regexp.
6458 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6460 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6461 (shr-table-horizontal-line): Allow nil as a value, and change the
6463 (shr-insert-table-ruler): Respect the nil value.
6465 2013-06-18 Tom Tromey <tromey@barimba>
6467 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6469 (eww-open-file): New defun.
6470 (eww-render): Initialize new variables.
6471 (eww-display-html): Handle "link" and "a".
6472 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6473 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6474 (eww-back-url): Rename from eww-previous-url.
6475 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6478 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6480 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6481 Distinguish ternary operator tokens from slash symbol and slash
6484 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6486 Convert symbol prettification into minor mode and global minor mode.
6488 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6489 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6490 (prettify-symbols--keywords): Rename from
6491 `prog-prettify-symbols-alist' and make a local defvar.
6492 (prettify-symbols--compose-symbol): Rename from
6493 `prog--prettify-font-lock-compose-symbol'.
6494 (prettify-symbols--make-keywords): Rename from
6495 `prog-prettify-font-lock-symbols-keywords' and simplify.
6496 (prog-prettify-install): Remove.
6497 (prettify-symbols-mode): New minor mode, based on
6498 `prog-prettify-install'.
6499 (turn-on-prettify-symbols-mode): New function.
6500 (global-prettify-symbols-mode): New globalized minor mode.
6502 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6503 * progmodes/cfengine.el (cfengine3-mode):
6504 * progmodes/perl-mode.el (perl-mode): Don't call
6505 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6507 2013-06-18 Juri Linkov <juri@jurta.org>
6509 * files-x.el (modify-file-local-variable-message): New function.
6510 (modify-file-local-variable)
6511 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6512 and call `modify-file-local-variable-message' when it's non-nil.
6513 (add-file-local-variable, delete-file-local-variable)
6514 (add-file-local-variable-prop-line)
6515 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6516 and use it. (Bug#9820)
6518 2013-06-18 Juri Linkov <juri@jurta.org>
6520 * emulation/vi.el (vi-shell-op):
6521 * emulation/vip.el (vip-execute-com, ex-command):
6522 * emulation/viper-cmd.el (viper-exec-bang):
6523 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6524 the call of `shell-command-on-region'. (Bug#14637)
6526 * simple.el (shell-command-on-region): Doc fix.
6528 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6530 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6533 2013-06-18 Glenn Morris <rgm@gnu.org>
6535 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6537 * newcomment.el (comment-search-forward, comment-search-backward):
6538 Doc fix. (Bug#14376)
6540 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6542 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6543 (buffer-face-mode-invoke): Doc fix.
6545 2013-06-18 Matthias Meulien <orontee@gmail.com>
6547 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6548 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6550 2013-06-18 Glenn Morris <rgm@gnu.org>
6552 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6553 Replace obsolete function generic-make-keywords with its expansion.
6555 * progmodes/python.el (ffap-alist): Declare.
6557 * textmodes/reftex.el (bibtex-mode-map): Declare.
6559 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6561 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6562 (package-unpack, package-unpack-single): Return the pkg-dir.
6563 (package-download-transaction): Use it to update package-alist.
6565 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6570 2013-06-17 Juri Linkov <juri@jurta.org>
6572 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6574 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6576 * emacs-lisp/package.el (package-load-descriptor):
6577 Remove `with-syntax-table' call, `read' doesn't need it.
6578 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6580 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6582 * startup.el (command-line): Expand package name returned by
6583 `package--description-file' (bug#14639).
6585 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6587 * emacs-lisp/package.el (package-load-descriptor): Do not call
6588 `emacs-lisp-mode', just use its syntax table.
6590 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6592 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6593 `font-lock-extra-managed-props' if any prettifying keyword is added.
6594 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6595 (prog-mode): Use `setq-local'.
6597 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6599 * international/characters.el (standard-case-table): Set syntax of ?»
6600 and ?« to punctuation.
6602 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6604 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6605 Save relevant match data before calling `syntax-ppss' (bug#14595).
6607 2013-06-15 Juri Linkov <juri@jurta.org>
6609 * files-x.el (modify-file-local-variable-prop-line): Add local
6610 variables to the end of the existing comment on the first line.
6611 Use `file-auto-mode-skip' to skip interpreter magic line,
6612 and also skip XML declaration.
6614 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6616 * startup.el (package--builtin-versions): New var.
6617 (package-subdirectory-regexp): Remove.
6618 (package--description-file): Hard code its value instead.
6620 * emacs-lisp/package.el: Don't activate packages older than builtin.
6621 (package-obsolete-list): Rename from package-obsolete-alist, and make
6622 it into a simple list of package-desc.
6623 (package-strip-version): Remove.
6624 (package-built-in-p): Use package--builtin-versions.
6625 (package-mark-obsolete): Simplify.
6626 (package-process-define-package): Mark it obsolete if older than the
6628 (package-handle-response): Use line-end-position.
6629 (package-read-archive-contents, package--download-one-archive):
6631 (package--add-to-archive-contents): Skip if older than the builtin or
6633 (package-menu-describe-package): Fix last change.
6634 (package-list-unversioned): New var.
6635 (package-menu--generate): Use it.
6637 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6638 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6639 (autoload-builtin-package-versions): New variable.
6640 (autoload-generate-file-autoloads): Use them.
6641 Remove the list of autoloaded functions/macros from the
6642 (autoload...) comments.
6644 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6646 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6648 * simple.el (line-move-partial): Don't jump to the next screen
6649 line as soon as it becomes visible. Instead, continue enlarging
6650 the vscroll until the portion of a tall screen line that's left on
6651 display is about the height of the frame's default font.
6654 2013-06-15 Glenn Morris <rgm@gnu.org>
6656 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6657 compilation-error-regexp-alist void, or local while let-bound.
6659 * progmodes/make-mode.el (makefile-mode-syntax-table):
6660 Treat "=" as punctuation. (Bug#14614)
6662 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6664 * help-fns.el (describe-variable):
6665 Add extra line for permanent-local variables.
6667 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6669 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6670 Add export, import, library. (Bug#9164)
6671 (library): Set indent function.
6673 2013-06-14 Glenn Morris <rgm@gnu.org>
6675 * term/xterm.el (xterm--query):
6676 Stop after first matching handler. (Bug#14615)
6678 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6680 Add support for dired in saveplace.
6681 * dired.el (dired-initial-position-hook): New variable.
6682 (dired-initial-position): Call hook to place cursor position.
6683 * saveplace.el (save-place-to-alist): Add dired position.
6684 (save-place-dired-hook): New function.
6686 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6689 through a symbol rather than letrec.
6691 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6692 (package-desc): Add `dir' field.
6693 (package-desc-full-name): New function.
6694 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6695 (package-maybe-load-descriptor): Remove.
6696 (package-load-all-descriptors): Just call package-load-descriptor.
6697 (package--disabled-p): New function.
6698 (package-desc-vers, package-desc-doc): Remove aliases.
6699 (package--dir): Remove function.
6700 (package-activate): Check if a package is disabled.
6701 (package-process-define-package): New function, extracted from
6703 (define-package): Turn into a place holder.
6704 (package-unpack-single, package-tar-file-info):
6705 Use package--description-file.
6706 (package-compute-transaction): Use package--disabled-p.
6707 (package-download-transaction): Don't call
6708 package-maybe-load-descriptor since they're all loaded anyway.
6709 (package-install): Change argument to be a pkg-desc.
6710 (package-delete): Use a single pkg-desc argument.
6711 (describe-package-1): Use package-desc-dir instead of package--dir.
6712 Use package-desc property instead of package-symbol.
6713 (package-install-button-action): Adjust accordingly.
6714 (package--push): Rewrite.
6715 (package-menu--print-info): Adjust accordingly. Change the ID format
6717 (package-menu-describe-package, package-menu-get-status)
6718 (package-menu--find-upgrades, package-menu-mark-upgrades)
6719 (package-menu-execute, package-menu--name-predicate):
6721 * startup.el (package--description-file): New function.
6722 (command-line): Use it.
6723 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6724 Use package-desc-version.
6726 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6727 (byte-compile-preprocess): Use it.
6728 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6729 can't quite recognize.
6730 (byte-compile-add-to-list): Remove.
6731 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6732 (cconv-closure-convert): Add assertion.
6734 * emacs-lisp/map-ynp.el: Use lexical-binding.
6735 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6736 Factor out some repeated code.
6738 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6740 * subr.el (with-eval-after-load): New macro.
6741 (eval-after-load): Allow form to be a function.
6742 take advantage of lexical-binding.
6743 (do-after-load-evaluation): Use dolist and adjust to new format.
6744 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6746 2013-06-13 Juri Linkov <juri@jurta.org>
6748 * replace.el (perform-replace): Display "symbol " and other search
6749 modes from `isearch-message-prefix' in the *Help* buffer.
6751 * isearch.el (isearch-query-replace): Add " symbol" and other
6752 possible search modes from `isearch-message-prefix' to the prompt.
6753 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6754 when reading a regexp to collect.
6756 2013-06-13 Juri Linkov <juri@jurta.org>
6758 * isearch.el (word-search-regexp): Match whitespace if the search
6759 string begins or ends in whitespace. The LAX arg is applied to
6760 both ends of the search string. Use `regexp-quote' and explicit
6761 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6762 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6763 boundaries are replaced with symbol boundaries, and characters
6764 between symbols match non-word non-symbol syntax. (Bug#14602)
6766 2013-06-13 Juri Linkov <juri@jurta.org>
6768 * isearch.el (isearch-del-char): Don't exceed the length of
6769 `isearch-string' by the prefix arg. (Bug#14563)
6771 2013-06-13 Juri Linkov <juri@jurta.org>
6773 * isearch.el (isearch-yank-word, isearch-yank-line)
6774 (isearch-char-by-name, isearch-quote-char)
6775 (isearch-printing-char, isearch-process-search-char):
6776 Add optional count prefix arg. (Bug#14563)
6778 * international/isearch-x.el
6779 (isearch-process-search-multibyte-characters):
6780 Add optional count prefix arg.
6782 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6785 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6788 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6790 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6792 2013-06-13 Glenn Morris <rgm@gnu.org>
6794 * startup.el (tty-handle-args):
6795 Don't just discard "--" and anything after. (Bug#14608)
6797 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6799 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6801 Implement changes in Secret Service API. Make it backward compatible.
6802 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6803 (secrets-create-item): Use it. Prefix properties with interface.
6805 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6807 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6808 (term-emulate-terminal): Respect term-suppress-hard-newline.
6810 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6812 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6813 Only remove a `thumb-file' overlay. (Bug#14548)
6815 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6817 * mail/reporter.el (reporter-submit-bug-report):
6818 Handle missing package-name. (Bug#14600)
6820 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6822 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6823 (reftex-citation-prompt, reftex-default-bibliography)
6824 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6825 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6826 (reftex-bib-sort-author, reftex-bib-sort-year)
6827 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6828 (reftex-extract-bib-entries-from-thebibliography)
6829 (reftex-get-bibkey-default, reftex-get-bib-names)
6830 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6831 (reftex-format-bib-entry, reftex-parse-bibitem)
6832 (reftex-format-bibitem, reftex-do-citation)
6833 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6834 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6835 (reftex-insert-bib-matches, reftex-format-citation)
6836 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6837 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6838 existing comments into docstrings.
6840 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6842 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6844 2013-06-12 Andreas Schwab <schwab@suse.de>
6846 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6847 for auto-save files.
6849 2013-06-12 Glenn Morris <rgm@gnu.org>
6851 * ido.el (ido-delete-ignored-files): Remove.
6852 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6853 Go back to calling ido-ignore-item-p directly.
6855 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6857 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6859 * ido.el (ido-delete-ignored-files): New function,
6860 split from ido-make-file-list-1.
6861 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6862 (ido-make-file-list-1): Use ido-delete-ignored-files.
6864 2013-06-12 Leo Liu <sdl.web@gmail.com>
6866 * progmodes/octave.el (inferior-octave-startup)
6867 (inferior-octave-completion-table)
6868 (inferior-octave-track-window-width-change)
6869 (octave-eldoc-function-signatures, octave-help)
6870 (octave-find-definition): Use single quoted strings.
6871 (inferior-octave-startup-args): Change default value.
6872 (inferior-octave-startup): Do not hard code "-i" and
6873 "--no-line-editing".
6874 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6875 (inferior-octave-directory-tracker): Use it.
6876 (octave-goto-function-definition): Robustify.
6877 (octave-help): Support highlighting operators in 'See also'.
6878 (octave-find-definition): Find subfunctions only in Octave mode.
6880 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6882 * help-fns.el (help-fns--compiler-macro): If the handler function is
6883 named, then put a link to it.
6884 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6885 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6887 (cl-eval-when): Simplify debug spec.
6888 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6889 compiler-macro function instead of setting `compiler-macro-file'.
6891 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6893 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6894 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6896 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6897 Daniel Hackney <dan@haxney.org>
6899 First part of Daniel Hackney's patch to package.el.
6900 * emacs-lisp/package.el: Use defstruct.
6901 (package-desc): New, main struct.
6902 (package--bi-desc, package--ac-desc): New structs, used to describe the
6903 format in external files.
6904 (package-desc-vers): Replace with package-desc-version accessor.
6905 (package-desc-doc): Replace with package-desc-summary accessor.
6906 (package-activate-1): Remove `package' arg since the pkg-vec now
6908 (define-package): Use package-desc-from-define.
6909 (package-unpack-single): Change file-name arg to be a symbol.
6910 (package--add-to-archive-contents): Use package-desc-create and new
6911 accessor functions to package--ac-desc.
6912 (package-buffer-info, package-tar-file-info): Return a package-desc.
6913 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6914 arg to be a package-desc.
6915 (package-install-file): Adjust accordingly. Use \' to match EOS.
6916 (package--from-builtin): New function.
6917 (describe-package-1, package-menu--generate): Use it.
6918 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6919 (package-generate-autoloads): Idem and return the name of the file.
6920 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6921 Change pkg-info arg to be a package-desc.
6922 Use package-make-ac-desc.
6923 (package-upload-file): Use \' to match EOS.
6924 * finder.el (finder-compile-keywords): Use package-make-builtin.
6926 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6928 * vc/vc.el (vc-deduce-fileset): Change error message.
6929 (vc-read-backend): New function.
6930 (vc-next-action): Use it.
6932 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6934 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6935 (prolog-font-lock-keywords): Use regexp-opt instead.
6936 Don't manually highlight strings.
6937 (prolog-mode-variables): Simplify comment-start-skip.
6938 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6940 * emacs-lisp/generic.el (generic--normalise-comments)
6941 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6942 (generic-mode-set-comments): Use them.
6943 (generic-bracket-support): Use setq-local.
6944 (generic-make-keywords-list): Declare obsolete.
6946 2013-06-11 Glenn Morris <rgm@gnu.org>
6948 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6949 Prettify after setting font-lock-defaults. (Bug#14574)
6951 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6953 * replace.el (query-replace, occur-read-regexp-defaults-function)
6955 * subr.el (declare-function, number-sequence, local-set-key)
6956 (substitute-key-definition, locate-user-emacs-file)
6957 (with-silent-modifications, split-string, eval-after-load):
6958 Fix typos, remove unneeded backslashes and reflow some docstrings.
6960 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6963 default for Elisp files.
6965 2013-06-11 Glenn Morris <rgm@gnu.org>
6967 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6968 although define-derived-mode was doing this anyway. (Bug#14583)
6970 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6972 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6973 Fix make-variable-buffer-local call to refer to the correct variable.
6975 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6977 * eshell/em-term.el (eshell-visual-commands)
6978 (eshell-visual-subcommands, eshell-visual-options):
6979 Add summary line to docstrings. Add cross-references.
6981 2013-06-10 Glenn Morris <rgm@gnu.org>
6983 * epa.el (epa-read-file-name): New function. (Bug#14510)
6984 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6986 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6988 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6989 output redirection to be ignored with visual commands.
6991 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6993 * eshell/em-term.el (eshell-visual-command-p): New function.
6994 (eshell-term-initialize): Move long lambda to separate function
6995 eshell-visual-command-p.
6996 * eshell/em-dirs.el (eshell-dirs-initialise):
6997 * eshell/em-script.el (eshell-script-initialize):
6998 Add missing #' to lambda.
7000 2013-06-08 Leo Liu <sdl.web@gmail.com>
7002 * progmodes/octave.el (octave-add-log-current-defun): New function.
7003 (octave-mode): Set add-log-current-defun-function.
7004 (octave-goto-function-definition): Do not move point if not found.
7005 (octave-find-definition): Enhance to try subfunctions first.
7007 2013-06-08 Glenn Morris <rgm@gnu.org>
7009 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7010 (byte-compile-backward-char, byte-compile-backward-word):
7011 Improve previous change, to handle non-explicit nil.
7013 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7015 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7016 (smie--opener/closer-at-point): New function.
7017 (smie--matching-block-data): Use it. Don't match from right after an
7018 opener or right before a closer. Obey smie-blink-matching-inners.
7019 Don't signal a mismatch for repeated inners like "switch..case..case".
7021 2013-06-07 Leo Liu <sdl.web@gmail.com>
7023 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7025 (octave-function-header-regexp): Fix. (Bug#14570)
7026 (octave-help-mode-finish-hook, octave-help-mode-finish):
7027 Remove. Just use temp-buffer-show-hook.
7029 * newcomment.el (comment-search-backward): Revert last change.
7032 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7034 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7036 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7037 through xargs, to avoid failure due to MS-Windows limitations on
7038 command-line length.
7040 2013-06-06 Glenn Morris <rgm@gnu.org>
7042 * font-lock.el (lisp-font-lock-keywords-2):
7043 Treat user-error like error.
7045 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7046 (byte-compile-backward-char, byte-compile-backward-word):
7047 Handle explicit nil arguments. (Bug#14565)
7049 2013-06-05 Alan Mackenzie <acm@muc.de>
7051 * isearch.el (isearch-allow-prefix): New user option.
7052 (isearch-other-meta-char): Don't exit isearch when a prefix
7053 argument is typed whilst `isearch-allow-prefix' is non-nil.
7056 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7058 * autorevert.el (auto-revert-notify-handler): Use memq.
7059 Hide assertion failure.
7061 * skeleton.el: Use cl-lib.
7062 (skeleton-further-elements): Use defvar-local.
7063 (skeleton-insert): Use cl-progv.
7065 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7067 * progmodes/prog-mode.el (prog-prettify-symbols)
7068 (prog-prettify-install): Update docstrings.
7070 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7072 * simple.el: Move all the prog-mode code to prog-mode.el.
7073 * progmodes/prog-mode.el: New file.
7074 * loadup.el: Add prog-mode.el.
7076 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7078 * simple.el (prog-prettify-symbols): Add version.
7079 (prog-prettify-install): Add convenience function to prettify symbols.
7081 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7082 (perl--augmented-font-lock-keywords-1)
7083 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7084 variables and use it.
7086 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7087 (cfengine3-mode): Remove unneeded variable and use it.
7089 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7090 (lisp--augmented-font-lock-keywords-1)
7091 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7092 Remove unneeded variables and use it.
7094 2013-06-05 João Távora <joaotavora@gmail.com>
7096 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7097 to point when opening the connection. (Bug#14380)
7099 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7101 * subr.el (load-history-regexp, load-history-filename-element)
7102 (eval-after-load, after-load-functions, do-after-load-evaluation)
7103 (eval-next-after-load, display-delayed-warnings)
7104 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7105 definition of save-match-data.
7106 (overriding-local-map): Remove accidental obsolescence declaration.
7108 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7110 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7112 Generalize symbol prettify support to prog-mode and implement it
7113 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7114 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7115 (prog--prettify-font-lock-compose-symbol)
7116 (prog-prettify-font-lock-symbols-keywords): New variables and
7117 functions to support symbol prettification.
7118 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7119 (lisp--augmented-font-lock-keywords-1)
7120 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7121 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7122 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7123 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7124 Implement prettify of -> => :: strings.
7125 * progmodes/perl-mode.el (perl-prettify-symbols)
7126 (perl--font-lock-compose-symbol)
7127 (perl--font-lock-symbols-keywords): Move to prog-mode.
7128 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7129 (perl-font-lock-keywords-1)
7130 (perl-font-lock-keywords-2): Remove explicit prettify support.
7131 (perl--augmented-font-lock-keywords)
7132 (perl--augmented-font-lock-keywords-1)
7133 (perl--augmented-font-lock-keywords-2, perl-mode):
7134 Implement prettify support.
7136 2013-06-05 Leo Liu <sdl.web@gmail.com>
7138 Re-implement smie matching block highlight using
7139 show-paren-data-function. (Bug#14395)
7140 * emacs-lisp/smie.el (smie-matching-block-highlight)
7141 (smie--highlight-matching-block-overlay)
7142 (smie--highlight-matching-block-lastpos)
7143 (smie-highlight-matching-block)
7144 (smie-highlight-matching-block-mode): Remove.
7145 (smie--matching-block-data-cache): New variable.
7146 (smie--matching-block-data): New function.
7147 (smie-setup): Use smie--matching-block-data for
7148 show-paren-data-function.
7150 * progmodes/octave.el (octave-mode-menu): Fix.
7151 (octave-find-definition): Skip garbage lines.
7153 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7155 Fix compilation error with simultaneous dynamic+lexical scoping.
7156 Add warning when a defvar appears after the first let-binding.
7157 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7158 (byte-compile-close-variables): Initialize it.
7159 (byte-compile--declare-var): New function.
7160 (byte-compile-file-form-defvar)
7161 (byte-compile-file-form-define-abbrev-table)
7162 (byte-compile-file-form-custom-declare-variable): Use it.
7163 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7164 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7165 (byte-compile-bind): Handle dynamic bindings that shadow
7167 (byte-compile-unbind): Make arg non-optional.
7168 (byte-compile-let): Simplify.
7169 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7170 (cconv--analyse-function, cconv-analyse-form): Populate it.
7171 Protect byte-compile-bound-variables to limit the scope of defvars.
7172 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7173 Remove unneeded rule for `declare'.
7175 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7176 so as to avoid depending on cl-adjoin at run-time.
7177 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7179 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7180 (macroexp--warn-and-return): Use it.
7182 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * lisp/subr.el: Convert to lexical binding.
7185 (overriding-local-map): Make obsolete.
7186 (add-to-list): Doc fix. Add compiler macro.
7187 (read-key): Swap values of local maps.
7189 2013-06-05 Leo Liu <sdl.web@gmail.com>
7191 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7193 2013-06-04 Leo Liu <sdl.web@gmail.com>
7195 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7196 (compilation-auto-jump): Suppress the "Mark set" message to give
7197 way to exit message.
7199 2013-06-04 Alan Mackenzie <acm@muc.de>
7201 Remove faulty optimisation from indentation calculation.
7202 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7203 search limit based on 2000 characters back from indent-point.
7205 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7207 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7209 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7211 * emacs-lisp/lisp.el: Use lexical-binding.
7212 (lisp--local-variables-1, lisp--local-variables): New functions.
7213 (lisp--local-variables-completion-table): New var.
7214 (lisp-completion-at-point): Use it complete let-bound vars.
7216 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7217 eagerly (bug#14422).
7219 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7221 * autorevert.el (auto-revert-notify-enabled)
7222 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7223 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7224 (auto-revert-notify-handler): Handle also gfilenotify.
7226 * subr.el (file-notify-handle-event): New defun. Replacing ...
7227 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7230 2013-06-03 Juri Linkov <juri@jurta.org>
7232 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7233 `M-s h .'. (Bug#14427)
7235 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7236 command `hi-lock-face-symbol-at-point'.
7237 (hi-lock-face-symbol-at-point): New command.
7238 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7239 (hi-lock-menu): Add `highlight-symbol-at-point'.
7240 (hi-lock-mode): Doc fix.
7242 * isearch.el (isearch-forward-symbol-at-point): New command.
7243 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7244 (isearch-highlight-regexp): Add a regexp which matches
7245 words/symbols for word/symbol mode.
7247 * subr.el (find-tag-default-bounds): New function with the body
7248 mostly moved from `find-tag-default'.
7249 (find-tag-default): Move most code to `find-tag-default-bounds',
7250 call it and apply `buffer-substring-no-properties' afterwards.
7252 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7254 * eshell/em-term.el (eshell-term-initialize):
7255 Use `cl-intersection' rather than `intersection'.
7257 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7259 * vc/log-view.el: Doc fix.
7260 (log-view-mode-map): Copy keymap from `special-mode-map'.
7262 2013-06-02 Eric Ludlam <zappo@gnu.org>
7264 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7265 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7266 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7267 (eieio-unbound, eieio-default-superclass)
7268 (eieio--define-field-accessors, method-static, method-before)
7269 (method-primary, method-after, method-num-lists)
7270 (method-generic-before, method-generic-primary)
7271 (method-generic-after, method-num-slots)
7272 (eieio-specialized-key-to-generic-key)
7273 (eieio--check-type, class-v, class-p)
7274 (eieio-class-name, define-obsolete-function-alias)
7275 (eieio-class-parents-fast, eieio-class-children-fast)
7276 (same-class-fast-p, class-constructor, generic-p)
7277 (generic-primary-only-p, generic-primary-only-one-p)
7278 (class-option-assoc, class-option, eieio-object-p)
7279 (class-abstract-p, class-method-invocation-order)
7280 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7281 (eieio-class-un-autoload, eieio-defclass)
7282 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7283 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7284 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7285 (eieio-defgeneric-reset-generic-form)
7286 (eieio-defgeneric-form-primary-only)
7287 (eieio-defgeneric-reset-generic-form-primary-only)
7288 (eieio-defgeneric-form-primary-only-one)
7289 (eieio-defgeneric-reset-generic-form-primary-only-one)
7290 (eieio-unbind-method-implementations)
7291 (eieio--defmethod, eieio--typep)
7292 (eieio-perform-slot-validation, eieio-validate-slot-value)
7293 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7294 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7295 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7296 (eieio-slot-name-index, eieio-class-slot-name-index)
7297 (eieio-set-defaults, eieio-initarg-to-attribute)
7298 (eieio-attribute-to-initarg, eieio-c3-candidate)
7299 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7300 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7301 (eieio-class-precedence-list, eieio-generic-call-methodname)
7302 (eieio-generic-call-arglst, eieio-generic-call-key)
7303 (eieio-generic-call-next-method-list)
7304 (eieio-pre-method-execution-functions, eieio-generic-call)
7305 (eieio-generic-call-primary-only, eieiomt-method-list)
7306 (eieiomt-optimizing-obarray, eieiomt-install)
7307 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7308 (eieio-generic-form, eieio-defmethod, make-obsolete)
7309 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7310 (defclass): Remove `eval-and-compile' from macro.
7311 (call-next-method, shared-initialize): Instead of using
7312 `scoped-class' variable, use new eieio--scoped-class, and
7313 eieio--with-scoped-class.
7314 (initialize-instance): Rename local variable 'scoped-class' to
7315 'this-class' to remove ambiguitity from old global.
7317 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7319 (eieio--scoped-class-stack): New variable.
7320 (eieio--scoped-class): New fcn.
7321 (eieio--with-scoped-class): New scoping macro.
7322 (eieio-defclass): Use pushnew instead of add-to-list.
7323 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7324 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7325 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7326 `scoped-class' variable, use new eieio--scoped-class, and
7327 eieio--with-scoped-class.
7329 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7331 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7333 * eshell/esh-ext.el (eshell-external-command): Pass args to
7334 `eshell-find-interpreter'.
7335 (eshell-find-interpreter): Add new second parameter ARGS.
7337 * eshell/em-script.el (eshell-script-initialize): Add second arg
7338 to the function added as MATCH to `eshell-interpreter-alist'.
7340 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7341 the function added as MATCH to `eshell-interpreter-alist'.
7343 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7344 (eshell-visual-options): New defcustom.
7345 (eshell-escape-control-x): Adapt docstring.
7346 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7347 `eshell-visual-options' in addition to `eshell-visual-commands'.
7348 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7350 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7352 * progmodes/python.el (python-indent-block-enders): Add break,
7353 continue and raise keywords.
7355 2013-06-01 Glenn Morris <rgm@gnu.org>
7357 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7359 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7360 * progmodes/cc-cmds.el (delete-forward-p):
7361 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7362 * progmodes/cc-engine.el (buffer-syntactic-context):
7363 * progmodes/cc-fonts.el (face-property-instance):
7364 * progmodes/cc-mode.el (set-keymap-parents):
7365 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7366 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7367 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7368 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7369 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7371 * progmodes/cc-vars.el (other): Emacs has this widget since
7372 at least 21.1, so don't (re)define it.
7374 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7375 Replace the obsolete alias pcomplete-arg-quote-list.
7377 2013-06-01 Leo Liu <sdl.web@gmail.com>
7379 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7381 (inferior-octave-minimal-columns)
7382 (inferior-octave-last-column-width): New variables.
7383 (inferior-octave-track-window-width-change): New function.
7384 (inferior-octave-mode): Adjust column width so that Octave output,
7385 for example from 'ls', can fit into the window nicely.
7387 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7389 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7390 Highlight expansions inside regexp literals.
7392 2013-05-31 Glenn Morris <rgm@gnu.org>
7394 * obsolete/sym-comp.el (symbol-complete):
7395 Replace obsolete completion-annotate-function.
7397 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7399 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7401 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7402 New function, checks if point is inside a literal that allows
7403 expression expansion.
7404 (ruby-syntax-propertize-expansion): Use it.
7405 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7408 2013-05-30 Juri Linkov <juri@jurta.org>
7410 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7412 (isearch-invisible): New variable.
7413 (isearch-forward): Doc fix.
7414 (isearch-mode): Set `isearch-invisible'
7415 to the value of `search-invisible'.
7416 (isearch-toggle-case-fold): Doc fix.
7417 (isearch-toggle-invisible): New command.
7418 (isearch-query-replace): Let-bind `search-invisible'
7419 to the value of `isearch-invisible'.
7420 (isearch-search): Use `isearch-invisible' instead of
7421 `search-invisible'. Let-bind `search-invisible'
7422 to the value of `isearch-invisible'. (Bug#11378)
7424 2013-05-30 Juri Linkov <juri@jurta.org>
7426 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7427 call when `query-flag' is nil and `search-invisible' is non-nil.
7430 2013-05-30 Glenn Morris <rgm@gnu.org>
7432 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7434 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7435 (cc-require): Suppress spurious "noruntime" warnings.
7436 (cc-require-when-compile): Use fboundp, for sake of compiler.
7438 * progmodes/cc-mode.el: Move load of cc-vars before that of
7439 cc-langs (which in turn loads cc-vars), to quieten compiler.
7441 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7443 * paren.el: Simplify the code.
7444 (show-paren-mode): Always start the timer.
7445 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7446 (show-paren--overlay, show-paren--overlay-1): Rename from
7447 show-paren-overlay and show-paren-overlay-1, and initialize to an
7448 overlay rather than to nil.
7449 (show-paren-function): Misc cleanup and simplifications.
7451 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * paren.el (show-paren-data-function): New hook.
7454 (show-paren--default): New function, extracted from show-paren-function.
7455 (show-paren-function): Use show-paren-data-function.
7457 2013-05-30 Glenn Morris <rgm@gnu.org>
7459 * ielm.el (ielm-map, ielm-complete-symbol):
7460 Use completion-at-point rather than obsolete functions.
7461 (inferior-emacs-lisp-mode): Doc fix.
7462 Set completion-at-point-functions, rather than
7463 comint-dynamic-complete-functions.
7465 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7466 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7467 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7469 * image.el (image-animated-p): Tweak definition.
7471 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7472 (rlogin-process-connection-type): Tweak default. Add set-after.
7473 (rlogin-host): Doc fix.
7474 (rlogin): Tweak prompt.
7475 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7477 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7478 * progmodes/tcl.el (inferior-tcl-mode-map):
7479 Use completion-at-point rather than obsolete alias.
7481 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7483 * minibuffer.el (read-file-name-completion-ignore-case):
7484 Move before completion--in-region, for eager macro expansion.
7486 2013-05-29 Juri Linkov <juri@jurta.org>
7488 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7489 for total count of matching lines. Add `global-matches' for total
7490 count of matches. Rename `matches' to `lines' for count of
7491 matching lines. Add `matches' for count of matches.
7492 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7493 to `prev-line' for line number of prev match endpt.
7494 Increment `matches' for every match. Print the number of
7495 matching lines in the header.
7496 (occur-context-lines): Rename `lines' to `curr-line'.
7497 Rename `prev-lines' to `prev-line'. (Bug#14017)
7499 2013-05-29 Juri Linkov <juri@jurta.org>
7501 * replace.el (perform-replace): Add `skip-read-only-count',
7502 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7503 Increment them for corresponding conditions and report the number
7504 of skipped occurrences in the final message. (Bug#11746)
7505 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7506 (replace-string, replace-regexp): Doc fix.
7508 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7512 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7513 prog-mode-map (bug#14504).
7515 2013-05-29 Leo Liu <sdl.web@gmail.com>
7517 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7518 (octave-help): Small simplification.
7520 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7521 off the highlight first.
7523 2013-05-29 Glenn Morris <rgm@gnu.org>
7525 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7526 Handle idlwave-last-system-routine-info-cons-cell being nil.
7528 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7529 (idlwave-write-paths): Simplify via with-temp-buffer.
7531 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7532 * emulation/cua-rect.el: Also load cua-base at run time.
7534 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7535 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7536 (cperl-imenu-on-info): Require imenu.
7538 2013-05-28 Alan Mackenzie <acm@muc.de>
7540 Handle "capitalised keywords" correctly.
7541 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7543 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7545 * eshell/em-unix.el: Add -r option to cp.
7547 2013-05-28 Glenn Morris <rgm@gnu.org>
7549 * vc/vc-arch.el (vc-exec-after): Declare.
7550 (vc-switches): Autoload.
7551 * vc/vc-bzr.el: No need to require vc when compiling.
7552 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7553 (vc-resynch-buffer, vc-dir-refresh): Declare.
7554 (vc-setup-buffer, vc-switches): Autoload.
7555 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7556 (vc-resynch-buffer): Declare.
7557 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7558 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7559 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7560 (grep-read-regexp, grep-read-files, grep-expand-template)
7561 (vc-dir-refresh): Declare.
7562 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7563 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7564 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7565 * vc/vc-mtn.el (vc-exec-after): Declare.
7566 (vc-switches): Autoload.
7567 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7568 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7569 (vc-file-tree-walk): Declare.
7570 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7571 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7572 (vc-tag-precondition, vc-rename-master): Autoload.
7573 * vc/vc-svn.el (vc-exec-after): Declare.
7574 (vc-switches, vc-setup-buffer): Autoload.
7575 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7577 (vc-resynch-buffer): Declare.
7579 * obsolete/fast-lock.el (byte-compile-warnings):
7580 Don't warn about obsolete features in this obsolete file.
7582 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7583 Move definition before use.
7585 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7586 (dun-unix-verbs): Remove dun-zippy.
7587 (dun-zippy): Remove function.
7589 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7591 2013-05-27 Juri Linkov <juri@jurta.org>
7593 * replace.el (replace-search): New function with code moved out
7594 from `perform-replace'.
7595 (replace-highlight, replace-dehighlight): Move function definitions
7596 up closer to `replace-search'. (Bug#11746)
7598 2013-05-27 Juri Linkov <juri@jurta.org>
7600 * replace.el (perform-replace): Ignore invisible matches.
7601 In addition to checking `query-replace-skip-read-only', also
7602 filter out matches by calling `run-hook-with-args-until-failure'
7603 on `isearch-filter-predicates', and also check `search-invisible'
7604 for t or call `isearch-range-invisible'.
7605 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7607 2013-05-27 Juri Linkov <juri@jurta.org>
7609 * isearch.el (isearch-filter-predicates): Rename from
7610 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7611 (isearch-message-prefix): Display text from the property
7612 `isearch-message-prefix' of the currently active filters.
7613 (isearch-search): Don't compare `isearch-filter-predicate' with
7614 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7615 on `isearch-filter-predicates'. Also check `search-invisible' for t
7616 or call `isearch-range-invisible'.
7617 (isearch-filter-visible): Make obsolete.
7618 (isearch-lazy-highlight-search):
7619 Call `run-hook-with-args-until-failure' on
7620 `isearch-filter-predicates' and use `isearch-range-invisible'.
7622 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7623 `isearch-filter-predicates' instead of `funcall'ing
7624 `isearch-filter-predicate'.
7625 (Info-mode): Set `Info-isearch-filter' to
7626 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7628 * dired-aux.el (dired-isearch-filter-predicate-orig):
7630 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7631 (dired-isearch-filenames-end): Add and remove
7632 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7633 instead of changing the value of `isearch-filter-predicate'.
7634 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7635 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7636 Put property `isearch-message-prefix' to "filename " on
7637 `dired-isearch-filter-filenames'.
7639 * wdired.el (wdired-change-to-wdired-mode):
7640 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7641 locally instead of changing `isearch-filter-predicate'.
7642 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7644 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7646 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7647 return the commit hash (Bug#14459). Also set the
7648 `vc-git-detached' property.
7649 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7650 (vc-git-mode-line-string): Use the same help-echo format whether
7651 in detached mode or not, because we know the actual revision now.
7652 When in detached mode, shorten the revision to 7 chars.
7654 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7656 * emacs-lisp/easy-mmode.el (define-minor-mode):
7657 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7658 mode hook and provide a docstring.
7660 2013-05-27 Alan Mackenzie <acm@muc.de>
7662 Remove spurious syntax-table text properties inserted by C-y.
7663 * progmodes/cc-mode.el (c-after-change): Also clear hard
7664 syntax-table property with value nil.
7666 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7668 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7669 when reading the events; the buffer layout shall not be changed.
7671 2013-05-27 Leo Liu <sdl.web@gmail.com>
7673 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7675 (inferior-octave-directory-tracker): Automatically re-sync
7677 (octave-help): Improve handling of 'See also'.
7679 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7681 * doc-view.el: Minor naming convention tweaks.
7682 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7684 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7685 even if there's no `display' property yet (bug#14435).
7687 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7689 * subr.el (unmsys--file-name): Rename from reveal-filename.
7691 * Makefile.in (custom-deps, finder-data, autoloads)
7692 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7693 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7694 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7696 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7699 error-completion on the first 2 args of condition-case (bug#14446).
7702 2013-05-25 Leo Liu <sdl.web@gmail.com>
7704 * comint.el (comint-previous-matching-input): Do not flood the
7705 *Messages* buffer with trivial messages.
7707 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7709 * progmodes/flymake.el (flymake-nop): Don't return a string.
7710 (flymake-set-at): Fix typo.
7712 * simple.el (read--expression): New function, extracted from
7713 eval-expression. Set completion-at-point-functions (bug#14465).
7714 (eval-expression, eval-minibuffer): Use it.
7716 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7718 * progmodes/flymake.el (flymake-save-buffer-in-file)
7719 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7720 (flymake-selected-frame, flymake-log, flymake-ins-after)
7721 (flymake-set-at, flymake-get-buildfile-from-cache)
7722 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7723 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7724 Refine the doc string.
7725 (flymake-get-file-name-mode-and-masks): Reformat.
7726 (flymake-get-real-file-name-function): Fix a minor bug.
7728 2013-05-24 Juri Linkov <juri@jurta.org>
7730 * progmodes/grep.el (grep-mode-font-lock-keywords):
7731 Support =linenumber= format used by git-grep for lines with
7732 function names. (Bug#13549)
7734 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7736 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7737 0 after a semi-colon; it works better for smie-auto-fill.
7738 (octave--indent-new-comment-line): New function.
7739 (octave-indent-new-comment-line): Use it (indirectly).
7740 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7741 modify comment-line-break-function.
7743 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7744 (smie-setup): Use add-function to set it.
7746 2013-05-24 Sam Steingold <sds@gnu.org>
7748 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7749 argument (before the `interactive' argument).
7751 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * image-mode.el (image-mode-winprops): Add winprops to
7754 image-mode-winprops-alist before running
7755 image-mode-new-window-functions.
7756 * doc-view.el (doc-view-new-window-function): Don't delay
7757 doc-view-goto-page via timers (bug#14435).
7759 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7761 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7762 (doc-view-desktop-save-buffer): New function.
7763 (doc-view-restore-desktop-buffer): New function.
7764 (desktop-buffer-mode-handlers):
7765 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7767 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7768 `desktop-save-buffer' function.
7770 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7772 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7773 (tramp-gvfs-file-name-handler): Raise a user error when
7774 `tramp-gvfs-enabled' is nil.
7775 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7776 Do not raise a user error when loading package. (Bug#14447)
7778 * net/xesam.el: Move to obsolete/.
7780 2013-05-24 Glenn Morris <rgm@gnu.org>
7782 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7784 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7786 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7787 (Info-find-node, Man-getpage-in-background): Declare.
7789 * mail/unrmail.el (unrmail):
7790 Replace obsolete detect-coding-with-priority.
7792 * net/socks.el (socks-split-string): Use this rather than split-string.
7793 (socks-nslookup-host): Update for above change.
7794 (dynamic-choice, s5-dynamic-choice-match)
7795 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7796 Comment out unused code.
7798 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7799 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7800 (gud-tooltip-echo-area): Make obsolete.
7801 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7803 * progmodes/js.el (js--optimize-arglist): Declare.
7805 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7807 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7808 (ediff-window-C): Declare.
7810 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7811 Tweak requires to silence compiler.
7813 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7814 (he-search-string, he-tried-table, he-expand-list)
7815 (he-init-string, he-string-member, he-substitute-string)
7816 (he-reset-string): Declare.
7818 * obsolete/options.el (list-options): Use custom-variable-p,
7819 rather than obsolete alias.
7821 2013-05-23 Sam Steingold <sds@gnu.org>
7823 * simple.el (shell-command-on-region): Pass the `replace' argument
7824 down to `call-process-region' to comply with the doc as reported on
7825 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7827 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7829 * emacs-lisp/smie.el (smie-indent-forward-token)
7830 (smie-indent-backward-token): Handle string tokens (bug#14381).
7832 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7834 * ielm.el (ielm-menu): New menu.
7835 (inferior-emacs-lisp-mode): Set comment-start.
7837 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7839 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7840 Fix deactivate action.
7842 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7843 Add cleveref macros.
7845 * lisp/textmodes/reftex-parse.el
7846 (reftex-locate-bibliography-files): Accept options for
7847 bibliography commands.
7848 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7849 Add addbibresource. Basic Biblatex support.
7851 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7853 * net/tramp-gvfs.el (top):
7854 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7855 when loading package. (Bug#14447)
7857 2013-05-23 Glenn Morris <rgm@gnu.org>
7859 * progmodes/js.el: No need to load comint when compiling.
7860 (ring-insert, comint-send-string, comint-send-input)
7861 (comint-last-input-end, ido-chop): Declare.
7863 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7864 * vc/ediff-mult.el: Adjust requires.
7865 (ediff-directories-internal, ediff-directory-revisions-internal)
7866 (ediff-patch-file-internal): Declare.
7867 * vc/ediff-ptch.el: Adjust requires.
7868 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7869 (ediff-find-file): Autoload.
7870 * vc/ediff-util.el: No need to load ediff when compiling.
7871 (ediff-regions-internal): Declare.
7872 * vc/ediff-wind.el: Adjust requires.
7873 (ediff-compute-toolbar-width): Define when compiling.
7874 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7875 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7876 (dired-get-filename, dired-get-marked-files)
7877 (ediff-last-dir-patch, ediff-patch-default-directory)
7878 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7879 (ediff-patch-buffer-internal): Declare.
7881 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7882 (ispell-process, ispell-buffer-local-words, lm-summary)
7883 (lm-section-start, lm-section-end): Declare.
7884 (checkdoc-ispell-init): Simplify.
7886 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7887 (he-string-member, he-reset-string, he-substitute-string): Declare.
7889 * eshell/em-ls.el: Adjust requires.
7890 (eshell-glob-regexp): Declare.
7891 * eshell/em-tramp.el: Adjust requires.
7892 (eshell-parse-command): Autoload.
7893 * eshell/em-xtra.el: Adjust requires.
7894 (eshell-parse-command): Autoload.
7895 * eshell/esh-ext.el: Adjust requires.
7896 (eshell-parse-command, eshell-close-handles): Autoload.
7897 * eshell/esh-io.el: Adjust requires.
7898 (eshell-output-filter): Autoload.
7899 * eshell/esh-util.el: No need to load tramp when compiling.
7900 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7902 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7903 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7904 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7905 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7906 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7907 * eshell/esh-opt.el, eshell/esh-proc.el:
7908 * eshell/esh-var.el: Adjust requires.
7909 * eshell/eshell.el: Do not require esh-util twice.
7910 (eshell-add-input-to-history): Declare.
7911 (eshell-command): Check history module is active before using it.
7913 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7915 2013-05-22 Leo Liu <sdl.web@gmail.com>
7917 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7919 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7921 * autorevert.el (auto-revert-notify-add-watch)
7922 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7923 it indicates changes in file modification time.
7925 2013-05-22 Glenn Morris <rgm@gnu.org>
7927 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7928 Always delete the autoloaded function from the noruntime and
7929 unresolved functions lists.
7931 * allout.el: No need to load epa, epg, overlay when compiling.
7932 (epg-context-set-passphrase-callback, epg-list-keys)
7933 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7934 (epg-key-user-id-list): Declare.
7936 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7937 (viper-set-parsing-style-toggling-macro)
7938 (viper-set-emacs-state-searchstyle-macros):
7939 Use called-interactively-p on Emacs.
7940 (viper-looking-back): Make it an obsolete alias. Update callers.
7941 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7942 Use looking-back rather than viper-looking-back.
7943 (viper-tmp-insert-at-eob, viper-enlarge-region)
7944 (viper-read-string-with-history, viper-register-to-point)
7945 (viper-append-to-register, viper-change-state-to-vi)
7946 (viper-backward-char-carefully, viper-forward-char-carefully)
7947 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7948 (viper-change-state-to-emacs): Declare.
7949 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7950 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7951 * emulation/viper-mous.el: Do not load viper-cmd.
7952 (viper-backward-char-carefully, viper-forward-char-carefully)
7953 (viper-forward-word, viper-adjust-window): Declare.
7955 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7957 * progmodes/idlw-help.el (idlwave-help-fontify):
7958 Use called-interactively-p.
7960 * term/w32console.el (w32-get-console-codepage)
7961 (w32-get-console-output-codepage): Declare.
7963 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7964 Remove unnecessary declarations.
7965 (dframe-message): Doc fix.
7967 * info.el (dframe-select-attached-frame, dframe-current-frame):
7970 * speedbar.el (speedbar-message): Make it an obsolete alias.
7972 (speedbar-with-attached-buffer)
7973 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7974 (speedbar-with-writable): Use backquote.
7975 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7976 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7977 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7978 rather than speedbar- aliases.
7979 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7980 (speedbar-make-specialized-keymap, speedbar-insert-button)
7981 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7982 (speedbar-do-function-pointer): Declare.
7983 (rmail-speedbar-button, rmail-speedbar-find-file)
7984 (rmail-speedbar-move-message):
7985 Use dframe-with-attached-buffer rather than speedbar- alias.
7986 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7987 (dframe-message, speedbar-make-specialized-keymap)
7988 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7989 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7990 (speedbar-insert-button, dframe-select-attached-frame)
7991 (dframe-maybee-jump-to-attached-frame)
7992 (speedbar-change-initial-expansion-list)
7993 (speedbar-previously-used-expansion-list-name): Declare.
7994 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7995 Use dframe-message, dframe-with-attached-buffer rather than
7997 (gud-sentinel): Silence compiler.
7998 * progmodes/vhdl-mode.el (speedbar-refresh)
7999 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8000 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8001 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8002 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8003 (speedbar-file-lists, speedbar-make-tag-line)
8004 (speedbar-line-directory, speedbar-goto-this-file)
8005 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8006 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8007 (speedbar-make-button, speedbar-reset-scanners)
8008 (speedbar-files-item-info, speedbar-line-text)
8009 (speedbar-find-file-in-frame, speedbar-set-timer)
8010 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8011 (speedbar-with-writable): Do not (re)define it.
8012 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8013 rather than speedbar- alias.
8015 2013-05-21 Leo Liu <sdl.web@gmail.com>
8017 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8019 (octave-mode): Tweak fill-nobreak-predicate.
8020 (inferior-octave-startup): Check process to avoid infinite loop.
8021 (inferior-octave): Pop to buffer first to show abornmal process
8024 2013-05-21 Glenn Morris <rgm@gnu.org>
8026 * printing.el (pr-menu-bar): Define when compiling.
8028 2013-05-21 Leo Liu <sdl.web@gmail.com>
8030 * progmodes/octave.el (octave-auto-fill): Remove.
8031 (octave-indent-new-comment-line): Improve.
8032 (octave-mode): Use auto fill mode through
8033 comment-line-break-function and fill-nobreak-predicate.
8034 (octave-goto-function-definition): Support DEFUN_DLD.
8035 (octave-beginning-of-defun): Small tweak.
8036 (octave-help): Show parent directory.
8038 2013-05-21 Glenn Morris <rgm@gnu.org>
8040 * files.el (dired-unmark):
8041 * progmodes/gud.el (gdb-input): Update declarations.
8043 * calculator.el (electric, ehelp): No need to load when compiling.
8044 (Electric-command-loop, electric-describe-mode): Declare.
8046 * doc-view.el (doc-view-current-converter-processes): Move before use.
8048 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8049 Move MODE-set-explicitly definition before use.
8051 * international/mule-diag.el (mule-diag):
8052 Don't use obsolete window-system-version.
8054 * mail/feedmail.el (smtpmail): No need to load when compiling.
8055 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8057 * mail/mail-utils.el (rfc822): No need to load when compiling.
8058 (rfc822-addresses): Autoload it.
8059 (mail-strip-quoted-names): Trivial simplification.
8061 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8062 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8064 * net/snmp-mode.el (tempo): Don't duplicate requires.
8066 * progmodes/prolog.el (info): No need to load when compiling.
8067 (comint): Require before shell requires it.
8068 (Info-goto-node): Autoload it.
8069 (Info-follow-nearest-node): Declare.
8070 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8072 * textmodes/artist.el (picture-mode-exit): Declare.
8074 * textmodes/reftex-parse.el (reftex-parse-from-file):
8075 Trivial rewrite so the compiler can parse it better.
8077 2013-05-20 Leo Liu <sdl.web@gmail.com>
8079 * progmodes/octave.el (octave-help-mode-map)
8080 (octave-help-mode-finish-hook): New variables.
8081 (octave-help-mode, octave-help-mode-finish): New functions.
8082 (octave-help): Use octave-help-mode.
8084 2013-05-20 Glenn Morris <rgm@gnu.org>
8086 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8088 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8090 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8091 start at point, so that expansion starting right after opening
8092 slash in a regexp is recognized.
8093 (ruby-syntax-before-regexp-re): New defvar, extracted from
8094 ruby-syntax-propertize-function. Since the value of this regexp
8095 is looked up at runtime now, we should be able to turn
8096 `ruby-syntax-methods-before-regexp' into a defcustom later.
8097 (ruby-syntax-propertize-function): Split regexp matching into two
8098 parts, for opening and closing slashes. That allows us to skip
8099 over string interpolations and support multiline regexps.
8100 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8101 for them, which calls `ruby-syntax-propertize-expansion'.
8102 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8103 call to `ruby-syntax-propertize-function'.
8104 (ruby-syntax-propertize-expansion): Extracted from
8105 `ruby-syntax-propertize-expansions'. Handles one expansion.
8106 (ruby-syntax-propertize-percent-literal): Leave point right after
8107 the percent symbol, so that the expression expansion rule can
8108 propertize the contents.
8109 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8111 (ruby-syntax-propertize-expansions): Remove.
8113 2013-05-18 Juri Linkov <juri@jurta.org>
8115 * man.el (Man-default-man-entry): Remove `-' from the end
8116 of the default value. (Bug#14400)
8118 2013-05-18 Glenn Morris <rgm@gnu.org>
8120 * comint.el (comint-password-prompt-regexp):
8121 Allow "password for XXX" where XXX contains colons (eg https://...).
8123 2013-05-18 Leo Liu <sdl.web@gmail.com>
8125 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8126 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8127 (octave-source-directories): Don't check process.
8128 (octave-source-directories, octave-find-definition): Doc fix.
8130 2013-05-18 Glenn Morris <rgm@gnu.org>
8132 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8133 Remove backspace/delete bindings. (Bug#14392)
8135 * cus-dep.el (custom-make-dependencies): Sort the output.
8136 (custom-versions-load-alist): Convert comment to doc.
8138 2013-05-17 Leo Liu <sdl.web@gmail.com>
8140 * newcomment.el (comment-search-backward): Stricter in finding
8141 comment start. (Bug#14303)
8143 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8144 (octave-comment-start-skip): Properly anchored.
8146 2013-05-17 Leo Liu <sdl.web@gmail.com>
8148 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8149 Clean up when turned off. (Bug#14395)
8150 (smie--highlight-matching-block-overlay): No longer buffer-local.
8151 (smie-highlight-matching-block): Adjust.
8153 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8155 Doc string fix for "nanoseconds" (Bug#14406).
8156 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8157 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8159 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8161 * calc/calc-units.el (math-extract-units): Preserve powers
8164 2013-05-17 Leo Liu <sdl.web@gmail.com>
8166 * subr.el (delete-consecutive-dups): New function.
8167 * ido.el (ido-set-matches-1): Use it.
8168 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8169 * ido.el (ido-remove-consecutive-dups): Remove.
8171 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8173 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8174 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8175 regexp-opt's `words'.
8177 2013-05-16 Leo Liu <sdl.web@gmail.com>
8179 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8180 (smie--highlight-matching-block-overlay)
8181 (smie--highlight-matching-block-lastpos)
8182 (smie--highlight-matching-block-timer): New variables.
8183 (smie-highlight-matching-block): New function.
8184 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8185 (smie-setup): Conditionally enable smie-blink-matching-open.
8187 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8189 Sync with upstream verilog-mode r840.
8190 * progmodes/verilog-mode.el (verilog-mode-version)
8191 (verilog-mode-release-date): Update.
8192 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8193 (verilog-sig-tieoff): Fix string error on
8194 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8195 (verilog-read-decls): Fix parameters confusing
8196 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8198 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8200 * subr.el (reveal-filename): New function.
8202 * loadup.el: Compute Emacs executable versions on MS-Windows,
8203 where executables have the .exe extension. Add a hard link
8204 emacs-XX.YY.ZZ.exe on MS-Windows.
8206 * Makefile.in (XARGS_LIMIT): New variable.
8207 (custom-deps, finder-data, autoloads)
8208 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8209 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8210 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8211 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8213 2013-05-16 Leo Liu <sdl.web@gmail.com>
8215 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8216 (octave-mode-menu, octave-mode-map): Remove its uses.
8218 2013-05-16 Reto Zimmermann <reto@gnu.org>
8220 Sync with upstream vhdl mode v3.34.2.
8221 * progmodes/vhdl-mode.el: Use `push' throughout.
8222 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8223 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8224 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8225 (vhdl-actual-generic-name): New option to derive actual generic name.
8226 (vhdl-port-paste-signals): Replace formal by actual generics.
8227 (vhdl-beautify): New name for old group vhdl-align. Update users.
8228 (vhdl-beautify-options): New option.
8229 (vhdl-last-input-event): New compat alias. Use throughout.
8230 (vhdl-goto-line): Replace user level function `goto-line'.
8231 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8232 vhdl-fix-statement-buffer.
8233 (vhdl-create-mode-menu): Add some entries.
8234 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8235 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8236 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8237 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8238 to force statements on one line.
8239 (vhdl-remove-trailing-spaces-region):
8240 New, split from vhdl-remove-trailing-spaces.
8241 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8242 Respect vhdl-beautify-options.
8243 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8244 (vhdl-update-sensitivity-list): Not add with index if exists without.
8245 Not include array index with signal. Ignore keywords in comments.
8246 (vhdl-get-visible-signals): Regexp tweaks.
8247 (vhdl-template-component-inst): Handle empty library.
8248 (vhdl-template-type): Add template for 'enum' type.
8249 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8250 Use vhdl-replace-string.
8251 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8252 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8253 (vhdl-speedbar-initialize): Update for above name change.
8254 (vhdl-compose-wire-components): Fix in handling of constants.
8255 (vhdl-error-regexp-emacs-alist): New variable.
8256 (vhdl-error-regexp-add-emacs): New function;
8257 adds support for new compile.el (Emacs 22+)
8258 (vhdl-generate-makefile-1): Change target order for single lib. units.
8259 Allow use of absolute file names.
8261 2013-05-16 Leo Liu <sdl.web@gmail.com>
8263 * simple.el (prog-indent-sexp): Indent enclosing defun.
8265 2013-05-15 Glenn Morris <rgm@gnu.org>
8267 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8268 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8269 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8270 (whitespace-highlight): Move to whitespace group.
8272 * comint.el (comint-source):
8273 * pcmpl-linux.el (pcmpl-linux):
8274 * shell.el (shell-faces):
8275 * eshell/esh-opt.el (eshell-opt):
8276 * international/ccl.el (ccl): Remove empty custom groups.
8278 * completion.el (dynamic-completion-mode):
8279 * jit-lock.el (jit-lock-debug-mode):
8280 * minibuffer.el (completion-in-region-mode):
8281 * type-break.el (type-break-mode-line-message-mode)
8282 (type-break-query-mode):
8283 * emulation/tpu-edt.el (tpu-edt-mode):
8284 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8285 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8286 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8288 * term/xterm.el (xterm): Change parent group to terminals.
8290 * master.el (master): Remove empty custom group.
8291 (master-mode): Remove unused :group argument.
8292 * textmodes/refill.el (refill): Remove empty custom group.
8293 (refill-mode): Remove unused :group argument.
8295 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8297 * cus-dep.el: Provide a feature.
8298 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8299 Don't mistakenly ignore files whose basenames match a basename
8300 from preloaded-file-list (eg cedet/ede/simple.el).
8301 Add a fallback method for getting :group.
8303 2013-05-15 Juri Linkov <juri@jurta.org>
8305 * isearch.el (isearch-char-by-name): Rename from
8306 `isearch-insert-char-by-name'. Doc fix.
8307 (isearch-forward): Mention `isearch-char-by-name' in
8308 the docstring. (Bug#13348)
8310 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8311 `exit-minibuffer' instead of
8312 `isearch-nonincremental-exit-minibuffer'.
8313 (isearch-edit-string): Remove mention of
8314 `isearch-nonincremental-exit-minibuffer' from docstring.
8315 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8316 (isearch-forward-exit-minibuffer)
8317 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8319 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8321 * loadup.el: Just use unversioned DOC.
8323 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8324 literals as extending to EOB.
8325 (nxml-last-fontify-end): Remove unused variable.
8326 (nxml-after-change1): Use with-silent-modifications.
8327 (nxml-extend-after-change-region): Simplify.
8328 (nxml-extend-after-change-region1): Remove function.
8329 (nxml-after-change1): Don't adjust for dependent regions.
8330 (nxml-fontify-matcher): Simplify.
8331 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8332 (xmltok-add-dependent): Remove function.
8333 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8334 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8335 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8336 unclosed <[[, <?, comment, and other literals as extending to EOB.
8337 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8338 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8340 (rng-do-some-validation-1): Don't mark dependent regions.
8341 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8342 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8343 (nxml-clear-dependent-regions): Remove functions.
8344 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8345 (nxml-ensure-scan-up-to-date):
8346 Don't clear&mark dependent regions.
8348 2013-05-15 Leo Liu <sdl.web@gmail.com>
8350 * progmodes/octave.el (octave-goto-function-definition):
8351 Improve and fix callers.
8353 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8355 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8356 the setter (bug#14387).
8358 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8359 surrounding group (bug#14402).
8361 2013-05-14 Juri Linkov <juri@jurta.org>
8363 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8366 2013-05-14 Glenn Morris <rgm@gnu.org>
8368 * progmodes/f90.el (f90-imenu-generic-expression):
8369 Fix typo in 2013-05-08 change. (Bug#14402)
8371 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8373 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8374 Remove signals for which replies are never received.
8376 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8378 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8379 (gdb-handler-alist, gdb-handler-number): Remove variables.
8380 (gdb-handler-list): New variable.
8381 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8382 (gdb-pending-handler-p, gdb-handle-reply)
8383 (gdb-remove-all-pending-triggers): New functions.
8384 (gdb-discard-unordered-replies): New defcustom.
8385 (gdb-handler): New defstruct.
8386 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8387 instead of gdb-pending-triggers. Update docstring.
8388 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8389 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8390 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8391 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8392 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8393 (gdb-frame-handler): Pending triggers are now automatically managed.
8394 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8396 (gdb-input): Automatically handles pending triggers. Update docstring.
8397 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8398 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8400 (gdb-done-or-error): Now use gdb-handle-reply.
8402 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8404 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8407 2013-05-14 Glenn Morris <rgm@gnu.org>
8409 * subr.el (user-emacs-directory-warning): New option.
8410 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8412 2013-05-14 Leo Liu <sdl.web@gmail.com>
8414 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8416 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8417 (octave-font-lock-texinfo-comment): Fix invalid search bound
8418 error: wrong side of point.
8420 2013-05-14 Glenn Morris <rgm@gnu.org>
8422 * progmodes/flymake.el (flymake-xml-program): New option.
8423 (flymake-xml-init): Use it.
8425 * term/xterm.el: Provide a feature.
8427 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8429 2013-05-13 Glenn Morris <rgm@gnu.org>
8431 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8432 Add compat aliases as a hack workaround. (Bug#14384)
8434 2013-05-13 Leo Liu <sdl.web@gmail.com>
8436 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8438 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8440 (octave-comment-start-skip): Include %!.
8441 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8443 2013-05-12 Leo Liu <sdl.web@gmail.com>
8445 * progmodes/octave.el (inferior-octave-startup): Store the value
8446 of __octave_srcdir__ for octave-source-directories.
8447 (inferior-octave-check-process): New function refactored out of
8448 inferior-octave-send-list-and-digest.
8449 (octave-source-directories)
8450 (octave-find-definition-filename-function): New variables.
8451 (octave-source-directories)
8452 (octave-find-definition-default-filename): New functions.
8453 (octave-find-definition): Improve to find functions implemented in C++.
8455 2013-05-12 Glenn Morris <rgm@gnu.org>
8457 * calendar/diary-lib.el (diary-outlook-format-1):
8458 Don't include dayname in the output. (Bug#14349)
8460 2013-05-11 Glenn Morris <rgm@gnu.org>
8462 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8464 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8465 Treat cc-provide like provide.
8467 2013-05-11 Kevin Ryde <user42@zip.com.au>
8469 * cus-dep.el (custom-make-dependencies):
8470 Use generated-autoload-load-name for the sake of files such
8471 such cedet/semantic/bovine/c.el, where the base file name
8472 is not in load-path. (Bug#5277)
8474 2013-05-11 Glenn Morris <rgm@gnu.org>
8476 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8479 2013-05-11 Leo Liu <sdl.web@gmail.com>
8481 * progmodes/octave.el (octave-indent-comment): Improve.
8482 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8483 (octave-eldoc-function-signatures, octave-eldoc-function):
8485 (octave-mode, inferior-octave-mode): Add eldoc support.
8487 2013-05-11 Richard Stallman <rms@gnu.org>
8489 * epa.el (epa-decrypt-file): Take output file name as argument
8490 and read it using `interactive'.
8492 2013-05-11 Leo Liu <sdl.web@gmail.com>
8494 * progmodes/octave.el (octave-beginning-of-line)
8495 (octave-end-of-line): Check before using up-list because it jumps
8496 out of more syntactic contructs since moving to smie.
8497 (octave-indent-comment): New function.
8498 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8499 (octave-begin-keywords, octave-end-keywords)
8500 (octave-reserved-words, octave-smie-bnf-table)
8501 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8503 2013-05-11 Glenn Morris <rgm@gnu.org>
8505 * faces.el (internal-face-x-get-resource):
8506 * frame.el (ns-display-monitor-attributes-list):
8507 * calc/calc-aent.el (math-to-radians-2):
8508 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8511 * calc/calc-menu.el: Make it loadable in isolation.
8513 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8514 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8515 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8516 (eudc-bbdb-query-internal): Require 'bbdb.
8518 * lpr.el (lpr-headers-switches):
8519 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8521 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8523 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8525 * term.el (term-set-escape-char): Make it idempotent.
8527 2013-05-10 Leo Liu <sdl.web@gmail.com>
8529 * progmodes/octave.el (inferior-octave-completion-table):
8530 No longer a function and all uses changed. Use cache to speed up
8531 completion due to bug#11906.
8532 (octave-beginning-of-defun): Re-write to be more general.
8534 2013-05-10 Glenn Morris <rgm@gnu.org>
8536 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8538 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8540 * comint.el (comint-redirect-send-command-to-process): Use :around
8541 rather than :override for comint-redirect-filter.
8542 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8543 Call it instead of comint-redirect-original-filter-function (which
8544 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8546 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8548 * frame.el (display-monitor-attributes-list): Add NS case.
8549 (ns-display-monitor-attributes-list): Declare.
8551 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8553 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8555 2013-05-09 Glenn Morris <rgm@gnu.org>
8557 * international/fontset.el (vertical-centering-font-regexp):
8560 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8562 * bookmark.el (bookmark-search-delay):
8563 * cus-start.el (vertical-centering-font-regexp):
8564 * ps-mule.el (ps-mule-font-info-database-default):
8565 * ps-print.el (ps-default-fg, ps-default-bg):
8566 * type-break.el (type-break-good-break-interval):
8567 * whitespace.el (whitespace-indentation-regexp)
8568 (whitespace-space-after-tab-regexp):
8569 * emacs-lisp/testcover.el (testcover-1value-functions)
8570 (testcover-noreturn-functions, testcover-progn-functions)
8571 (testcover-prog1-functions):
8572 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8573 * eshell/em-glob.el (eshell-glob-translate-alist):
8574 * play/tetris.el (tetris-tty-colors):
8575 * progmodes/cpp.el (cpp-face-default-list):
8576 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8577 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8578 (idlwave-help-browser-generic-args):
8579 * progmodes/make-mode.el (makefile-special-targets-list):
8580 * progmodes/python.el (python-shell-virtualenv-path):
8581 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8582 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8583 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8584 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8585 * textmodes/reftex-vars.el (reftex-format-label-function):
8586 * textmodes/remember.el (remember-diary-file): Fix custom types.
8588 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8591 2013-05-09 Leo Liu <sdl.web@gmail.com>
8593 * progmodes/octave.el (inferior-octave-completion-at-point):
8594 Restore file completion. (Bug#14300)
8595 (inferior-octave-startup): Fix incorrect highlighting for the
8598 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8600 * progmodes/ruby-mode.el: First cut at SMIE support.
8601 (ruby-use-smie): New var.
8602 (ruby-smie-grammar): New constant.
8603 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8604 (ruby-smie--forward-token, ruby-smie--backward-token)
8605 (ruby-smie-rules): New functions.
8606 (ruby-mode-variables): Setup SMIE if applicable.
8608 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8610 * simple.el (line-move-visual): Signal beginning/end of buffer
8611 only if vertical-motion moved less than it was requested. Avoids
8612 silly incorrect error messages when there are display strings with
8613 multiple newlines at EOL.
8615 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8617 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8618 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8619 (prolog-char-quote-workaround):
8620 * progmodes/cperl-mode.el (cperl-under-as-char):
8621 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8623 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8625 (vhdl-mode-syntax-table-init): Remove.
8627 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8630 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8632 (ld-script-font-lock-keywords):
8633 Change regexps to use things like \_< and \_>.
8635 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8636 Change all regexps to use things like \_< and \_>.
8638 * progmodes/autoconf.el (autoconf-definition-regexp)
8639 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8640 Handle a _ with symbol syntax.
8641 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8643 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8644 Consolidate declaration.
8645 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8647 (ada-create-syntax-table): Remove.
8648 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8649 already has the right syntax nowadays.
8650 (ada-goto-next-word): Don't change the syntax of "_".
8652 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8655 2013-05-08 Sam Steingold <sds@gnu.org>
8657 * thingatpt.el (thing-at-point): Accept optional second argument
8658 NO-PROPERTIES to strip the text properties from the return value.
8659 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8660 to `thing-at-point' instead of stripping the properties ourselves.
8661 Also, when `thing-at-point' fails to find a url, prepend "http://"
8662 to the filename at point on the assumption that the user is
8663 pointing at something like gnu.org/gnu.
8665 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8667 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8668 * faces.el (crm-separator):
8669 Silence byte-compiler.
8671 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8672 (tool-bar-map): Remove unneeded defvars.
8674 2013-05-08 Leo Liu <sdl.web@gmail.com>
8676 Re-work a fix for bug#10994 based on Le Wang's patch.
8677 * ido.el (ido-remove-consecutive-dups): New helper.
8678 (ido-completing-read): Use it.
8679 (ido-chop): Revert fix for bug#10994.
8681 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8683 * cus-edit.el (custom-save-variables):
8684 Pretty-print long values. (Bug#14187)
8686 2013-05-08 Glenn Morris <rgm@gnu.org>
8688 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8689 (m4-mode-syntax-table): Init in the defvar.
8690 (m4-mode-abbrev-table): Let define-derived-mode define it.
8692 2013-05-08 Tom Tromey <tromey@redhat.com>
8694 * progmodes/m4-mode.el (m4-mode-syntax-table):
8695 Do not treat "_" as word constituent. (Bug#14167)
8697 2013-05-07 Glenn Morris <rgm@gnu.org>
8699 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8700 Remove explicit eshell-isearch-cancel-map.
8702 * progmodes/f90.el (f90-smart-end-names): New option.
8703 (f90-smart-end): Doc fix.
8704 (f90-end-block-optional-name): New constant.
8705 (f90-block-match): Respect f90-smart-end-names.
8707 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8709 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8710 about implicit semi-colons (bug#14218).
8712 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8714 * frame.el (display-monitor-attributes-list)
8715 (frame-monitor-attributes): New functions.
8717 2013-05-06 Leo Liu <sdl.web@gmail.com>
8719 * progmodes/octave.el (octave-syntax-propertize-function): Change
8720 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8721 (octave-font-lock-keywords): Use octave-operator-regexp.
8722 (octave-completion-at-point): Rename from
8723 octave-completion-at-point-function.
8724 (inferior-octave-directory-tracker): Robustify.
8725 (octave-text-functions): Remove and fix its uses. No such things
8728 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8730 * emacs-lisp/trace.el (trace--display-buffer): New function.
8731 (trace-make-advice): Use it.
8733 2013-05-06 Juri Linkov <juri@jurta.org>
8735 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8736 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8738 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8739 in the help string. (Bug#12985)
8741 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8743 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8745 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8747 * progmodes/perl-mode.el: Add support for here documents.
8748 (perl-syntax-propertize-function): Match here-doc markers.
8749 (perl-syntax-propertize-special-constructs): Find their end.
8750 (perl-imenu-generic-expression): Use [:alnum:].
8752 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8753 (advice--add-function): Refresh the advice if already present
8756 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8758 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8760 2013-05-06 Glenn Morris <rgm@gnu.org>
8762 * w32-fns.el (w32-charset-info-alist): Declare.
8764 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8765 of its defcustom properties.
8766 (eshell-cmpl-initialize): No need to load pcomplete.
8768 * generic-x.el: No need to require comint when compiling.
8770 * net/eudc-export.el: Make it loadable without bbdb.
8771 (top-level): Use require rather than load-library.
8772 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8773 (eudc-batch-export-records-to-bbdb)
8774 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8777 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8779 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8780 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8781 some tweaks, instead.
8783 2013-05-05 Leo Liu <sdl.web@gmail.com>
8785 * progmodes/octave.el (octave-font-lock-keywords)
8786 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8787 (inferior-octave-send-list-and-digest): Improve error message.
8788 (octave-mode, inferior-octave-mode): Use setq-local.
8789 (octave-help): Set info-lookup-mode.
8791 2013-05-05 Richard Stallman <rms@gnu.org>
8793 * vc/compare-w.el (compare-windows-whitespace):
8794 Treat no-break space as whitespace.
8796 * mail/rmailsum.el (rmail-summary-rmail-update):
8797 Detect empty summary and don't change selected message.
8798 (rmail-summary-goto-msg): Likewise.
8800 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8801 Doc fixes, rename args.
8803 2013-05-05 Alan Mackenzie <acm@muc.de>
8805 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8807 2013-05-05 Juri Linkov <juri@jurta.org>
8809 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8810 to not add the length of the summary segment to the return value.
8813 2013-05-05 Leo Liu <sdl.web@gmail.com>
8815 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8816 (inferior-octave-output-filter): Remove.
8817 (octave-send-region, inferior-octave-startup): Fix callers.
8818 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8819 (octave-binary-file-extensions): New user variable.
8820 (octave-find-definition): Confirm if opening binary files.
8821 (octave-help-file): Use octave-find-definition to get the binary
8823 (octave-help): Adjust for octave-help-file change.
8825 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8828 Merge the two entries that handle function definitions.
8829 (pascal--syntax-propertize): New const.
8830 (pascal-mode): Use it. Use setq-local.
8832 2013-05-04 Glenn Morris <rgm@gnu.org>
8834 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8835 (diary-from-outlook): Respect diary-from-outlook-function.
8837 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8840 Move the declaration from C.
8841 (read-minibuffer, eval-minibuffer): Move from C.
8842 (completion-setup-function): Avoid minibuffer-completion-contents.
8844 2013-05-03 Leo Liu <sdl.web@gmail.com>
8846 * progmodes/octave.el (octave-font-lock-keywords): Do not
8847 dehighlight 'end' in comments or strings.
8848 (octave-completing-read, octave-goto-function-definition):
8850 (octave-help-buffer): New user variable.
8851 (octave-help-file, octave-help-function): New button types.
8852 (octave-help): New command and bind it to C-h ;.
8853 (octave-find-definition): New command and bind it to M-.
8854 (user-error): Alias to error if not defined.
8856 2013-05-02 Leo Liu <sdl.web@gmail.com>
8858 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8860 (octave-font-lock-keywords): Include [ and {.
8862 2013-05-02 Leo Liu <sdl.web@gmail.com>
8864 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8865 (inferior-octave): Remove calling comint-mode and return the buffer.
8866 (inferior-octave-startup): Cosmetic changes.
8868 2013-05-02 Leo Liu <sdl.web@gmail.com>
8870 * progmodes/octave.el (octave-syntax-propertize-function):
8871 Include the case when ' is at line beginning. (Bug#14336)
8873 2013-05-02 Glenn Morris <rgm@gnu.org>
8875 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8876 * desktop.el (vc-dir-mode): Just autoload it here.
8878 2013-05-02 Alan Mackenzie <acm@muc.de>
8880 Eliminate variable c-standard-font-lock-fontify-region-function.
8881 * progmodes/cc-mode.el
8882 (c-standard-font-lock-fontify-region-function): Remove.
8883 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8885 2013-05-01 Leo Liu <sdl.web@gmail.com>
8887 * progmodes/octave.el: Compatible with older emacs-24 releases.
8888 (inferior-octave-has-built-in-variables): Remove. Built-in
8889 variables were removed from Octave in 2007.
8890 (inferior-octave-startup): Fix uses.
8891 (comint-line-beginning-position): Remove compatibility code for
8894 2013-05-01 Juri Linkov <juri@jurta.org>
8896 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8898 2013-05-01 Juri Linkov <juri@jurta.org>
8900 * comint.el (comint-previous-matching-input): Don't print message
8901 "History item: %d" when `isearch-mode' is active.
8902 (comint-history-isearch-message): Print message "History item: %d"
8903 when `comint-input-ring-index' is not empty and this function is
8904 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8906 2013-05-01 Leo Liu <sdl.web@gmail.com>
8908 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8909 definitions. Use completion-at-point to insert keywords.
8910 (octave-abbrev-start): Remove.
8911 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8913 2013-04-30 Leo Liu <sdl.web@gmail.com>
8915 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8918 2013-04-30 Alan Mackenzie <acm@muc.de>
8920 Handle arbitrarily long C++ member initialisation lists.
8921 * progmodes/cc-engine.el (c-back-over-member-initializers):
8923 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8924 (most) member init lists.
8926 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8928 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8931 2013-04-30 Leo Liu <sdl.web@gmail.com>
8933 * progmodes/octave.el (octave-variables): Remove. No builtin
8934 variables any more. All converted to functions.
8935 (octave-font-lock-keywords, octave-completion-at-point-function):
8937 (octave-font-lock-texinfo-comment): New user variable.
8938 (octave-texinfo-font-lock-keywords): New variable for texinfo
8940 (octave-function-comment-block): New face.
8941 (octave-font-lock-texinfo-comment): New function.
8942 (octave-mode): Font lock texinfo comment block.
8944 2013-04-29 Leo Liu <sdl.web@gmail.com>
8946 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8947 indexing expression.
8948 (octave-continuation-string): Do not use \.
8949 (inferior-octave-complete-impossible): Remove.
8950 (inferior-octave-completion-table)
8951 (inferior-octave-completion-at-point): Remove its uses.
8952 (inferior-octave-startup): completion_matches was introduced to
8953 Octave in 1996 so safe to assume it.
8954 (octave-function-file-comment): Improve to follow how Octave does it.
8955 (octave-update-function-file-comment): Tweak.
8957 2013-04-29 Leo Liu <sdl.web@gmail.com>
8959 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8960 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8961 (octave-function-file-comment): Fix typo.
8962 (octave-sync-function-file-names): Use read-char-choice.
8964 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8966 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8967 to t for the less important warnings.
8969 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8971 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8973 2013-04-27 Glenn Morris <rgm@gnu.org>
8975 * vc/log-view.el (log-view-current-entry):
8976 Treat "---" separator lines as part of the following rev. (Bug#14169)
8978 2013-04-27 Juri Linkov <juri@jurta.org>
8980 * subr.el (read-number): Doc fix about using it by interactive
8981 code letter `n'. (Bug#14254)
8983 2013-04-27 Juri Linkov <juri@jurta.org>
8985 * desktop.el (desktop-auto-save-timeout): New option.
8986 (desktop-file-checksum): New variable.
8987 (desktop-save): Add optional arg `auto-save' and don't auto-save
8989 (desktop-auto-save-timer): New variable.
8990 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8991 (after-init-hook): Call `desktop-auto-save-set-timer'.
8992 Suggested by Reuben Thomas <rrt@sc3d.org> in
8993 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8995 2013-04-27 Leo Liu <sdl.web@gmail.com>
8997 * progmodes/octave.el (octave-function-file-p)
8998 (octave-skip-comment-forward, octave-function-file-comment)
8999 (octave-update-function-file-comment): New functions.
9000 (octave-mode-map): Bind C-c ; to
9001 octave-update-function-file-comment.
9002 (octave-mode-menu): Add octave-update-function-file-comment.
9003 (octave-mode, inferior-octave-mode): Fix doc-string.
9004 (octave-insert-defun): Conform to Octave's coding convention.
9007 * files.el (basic-save-buffer): Don't let errors in
9008 before-save-hook prevent saving buffer.
9010 2013-04-20 Roland Winkler <winkler@gnu.org>
9012 * faces.el (read-face-name): Use completing-read if arg multiple
9015 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9017 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9018 displayed, move point to after the totals line.
9019 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9022 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9024 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9025 Add current dir to the load-path.
9026 (package-generate-autoloads): Don't rely on
9027 autoload-ensure-default-file.
9029 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9031 * textmodes/remember.el (remember-store-in-files): Document that
9032 the file name format is passed to `format-time-string'.
9034 2013-04-26 Leo Liu <sdl.web@gmail.com>
9036 * progmodes/octave.el (octave-sync-function-file-names): New function.
9037 (octave-mode): Use it in before-save-hook.
9039 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9044 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9045 \n and comment, even if it's not an implicit ; (bug#14218).
9047 2013-04-26 Glenn Morris <rgm@gnu.org>
9049 * subr.el (read-number): Once more use `read' rather than
9050 `string-to-number', to trap non-numeric input. (Bug#14254)
9052 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9054 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9055 Use `syntax-multiline' text property consistently instead of
9056 `font-lock-multiline'. (Bug#14237)
9058 2013-04-26 Glenn Morris <rgm@gnu.org>
9060 * emacs-lisp/shadow.el (list-load-path-shadows):
9061 No longer necessary to check for duplicate simple.el, since
9062 2012-07-07 change to init_lread to not include installation lisp
9063 directories in load-path when running uninstalled. (Bug#14270)
9065 2013-04-26 Leo Liu <sdl.web@gmail.com>
9067 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9068 (octave-mode, inferior-octave-mode): Use setq-local.
9069 (octave-not-in-string-or-comment-p): Rename to
9070 octave-in-string-or-comment-p.
9071 (octave-in-comment-p, octave-in-string-p)
9072 (octave-in-string-or-comment-p): Replace defsubst with defun.
9074 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9076 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9078 2013-04-25 Bastien Guerry <bzg@gnu.org>
9080 * textmodes/remember.el (remember-data-directory)
9081 (remember-directory-file-name-format): Fix custom types.
9083 2013-04-25 Leo Liu <sdl.web@gmail.com>
9085 * progmodes/octave.el (octave-completion-at-point-function):
9086 Make use of inferior octave process.
9087 (octave-initialize-completions): Remove.
9088 (inferior-octave-completion-table): New function.
9089 (inferior-octave-completion-at-point): Use it.
9090 (octave-completion-alist): Remove.
9092 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9094 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9095 (opascal-mode-syntax-table): New var.
9096 (opascal-literal-kind, opascal-is-literal-end)
9097 (opascal-literal-token-at): Rewrite.
9098 (opascal--literal-start-re, opascal-font-lock-keywords)
9099 (opascal--syntax-propertize): New constants.
9100 (opascal-font-lock-defaults): Adjust.
9101 (opascal-mode): Use them. Set comment-<foo> variables as well.
9102 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9103 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9104 (delphi-other-face, opascal-other-face): Remove face variables.
9105 (opascal-save-state): Remove macro.
9106 (opascal-fontifying-progress-step): Remove constant.
9107 (opascal--ignore-changes): Remove var.
9108 (opascal-set-token-property, opascal-parse-next-literal)
9109 (opascal-is-stable-literal, opascal-complete-literal)
9110 (opascal-is-literal-start, opascal-face-of)
9111 (opascal-parse-region, opascal-parse-region-until-stable)
9112 (opascal-fontify-region, opascal-after-change)
9113 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9114 (opascal-debug-parse-region, opascal-debug-parse-window)
9115 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9116 (opascal-debug-fontify-buffer): Remove.
9117 (opascal-debug-mode-map): Adjust accordingly.
9119 2013-04-25 Leo Liu <sdl.web@gmail.com>
9121 Merge octave-mod.el and octave-inf.el into octave.el with some
9123 * progmodes/octave.el: New file renamed from octave-mod.el.
9124 * progmodes/octave-inf.el: Merged into octave.el.
9125 * progmodes/octave-mod.el: Renamed to octave.el.
9127 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9129 * textmodes/reftex-vars.el
9130 (reftex-label-ignored-macros-and-environments): New defcustom.
9132 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9134 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9136 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9137 (smie-indent-keyword): Improve the check to ensure that the next
9138 comment is really on the same line.
9139 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9141 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9142 semi-colons if the line is not otherwise empty (bug#14218).
9144 2013-04-25 Glenn Morris <rgm@gnu.org>
9146 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9148 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9150 * progmodes/opascal.el (opascal-set-token-property): Rename from
9151 opascal-set-text-properties and only set `token' (bug#14134).
9152 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9153 (opascal-literal-text-properties): Remove.
9154 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9157 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9159 * textmodes/remember.el (remember-handler-functions): Add an
9160 option for a new handler `remember-store-in-files'.
9161 (remember-data-directory, remember-directory-file-name-format):
9163 (remember-store-in-files): New function to store remember notes
9164 as separate files within a directory.
9166 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9168 * progmodes/compile.el (compilation-next-error-function):
9169 Pass "formats" to compilation-find-file (bug#11777).
9171 2013-04-24 Glenn Morris <rgm@gnu.org>
9173 * vc/vc-bzr.el (vc-bzr-print-log):
9174 * vc/vc-hg.el (vc-hg-print-log):
9175 * vc/vc-svn.el (vc-svn-print-log):
9176 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9178 * vc/vc-bzr.el (vc-bzr-print-log):
9179 * vc/vc-cvs.el (vc-cvs-print-log):
9180 * vc/vc-git.el (vc-git-print-log):
9181 * vc/vc-hg.el (vc-hg-print-log):
9182 * vc/vc-mtn.el (vc-mtn-print-log):
9183 * vc/vc-rcs.el (vc-rcs-print-log):
9184 * vc/vc-sccs.el (vc-sccs-print-log):
9185 * vc/vc-svn.el (vc-svn-print-log):
9186 * vc/vc.el (vc-print-log-internal): Doc fixes.
9188 2013-04-23 Glenn Morris <rgm@gnu.org>
9190 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9191 Remove venerable code attempting to avoid substitute-command-keys.
9193 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9195 * textmodes/reftex-vars.el (reftex-label-regexps):
9196 Call `reftex-compile-variables' after changes to this variable.
9198 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9200 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9201 Use lexical-binding.
9202 (jit-lock-force-redisplay): Use markers, check buffer's continued
9203 existence and beware narrowed buffers.
9204 (jit-lock-fontify-now): Adjust call accordingly.
9206 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9208 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9209 to avoid misleading the user.
9211 2013-04-22 Leo Liu <sdl.web@gmail.com>
9213 * info-look.el: Prefer latex2e.info. (Bug#14240)
9215 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9217 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9219 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9220 * net/tramp.el (tramp-call-process): ... here.
9221 (tramp-set-completion-function, tramp-parse-putty):
9222 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9223 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9224 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9225 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9226 (tramp-call-local-coding-command): Use `tramp-call-process'
9227 instead of `tramp-compat-call-process'.
9229 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9230 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9231 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9232 (tramp-find-inline-compress): Improve traces.
9233 (tramp-maybe-send-script): Check for Perl binary.
9234 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9236 2013-04-22 Daiki Ueno <ueno@gnu.org>
9238 * epg.el (epg-context-pinentry-mode): New function.
9239 (epg-context-set-pinentry-mode): New function.
9240 (epg--start): Pass --pinentry-mode option to gpg command.
9242 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9244 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9245 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9246 `completion-at-point'. (Bug#13774)
9248 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9249 default key binding for `describe-distribution' has been moved to
9250 `C-h C-o'. (Bug#13970)
9252 2013-04-21 Glenn Morris <rgm@gnu.org>
9254 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9256 (vc-print-log): Clarify interactive prompt.
9258 2013-04-20 Glenn Morris <rgm@gnu.org>
9260 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9261 No longer include timestamp etc information.
9263 2013-04-20 Roland Winkler <winkler@gnu.org>
9265 * faces.el (read-face-name): Bug fix, return just one face if arg
9266 multiple is nil. (Bug#14209)
9268 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9270 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9271 (remove-function): Autoload.
9273 * comint.el (comint-redirect-original-filter-function): Remove.
9274 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9275 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9276 (vc-cvs-annotate-command):
9277 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9278 * progmodes/prolog.el (prolog-consult-compile):
9279 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9280 Use add/remove-function instead.
9281 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9282 (gud-tooltip-process-output, gud-tooltip-tips):
9283 Use add/remove-function instead.
9284 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9285 (scheme-interaction-mode, exit-scheme-interaction-mode):
9286 Use add/remove-function instead.
9288 * vc/vc-dispatcher.el: Use lexical-binding.
9289 (vc--process-sentinel): Rename from vc-process-sentinel.
9290 Change last arg to be the code to run. Don't use vc-previous-sentinel
9291 and vc-sentinel-commands any more.
9292 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9293 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9295 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9297 * progmodes/sh-script.el (sh-imenu-generic-expression):
9298 Handle function names with a single character. (Bug#14111)
9300 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9302 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9303 for subroutines defined in an eval (bug#14182).
9305 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9307 * bookmark.el (bookmark-completing-read): Improve handling of empty
9310 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9312 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9314 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9316 New faster Imenu implementation (bug#14058).
9317 * progmodes/python.el:
9318 (python-imenu-prev-index-position):
9319 (python-imenu-format-item-label-function)
9320 (python-imenu-format-parent-item-label-function)
9321 (python-imenu-format-parent-item-jump-label-function):
9323 (python-imenu-format-item-label)
9324 (python-imenu-format-parent-item-label)
9325 (python-imenu-format-parent-item-jump-label)
9326 (python-imenu--put-parent, python-imenu--build-tree)
9327 (python-imenu-create-index, python-imenu-create-flat-index)
9328 (python-util-popn): New functions.
9329 (python-mode): Set imenu-create-index-function to
9330 python-imenu-create-index.
9332 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9334 * winner.el (winner-active-region): Use region-active-p, activate-mark
9335 and deactivate-mark (bug#14225).
9337 * simple.el (deactivate-mark): Don't inline it.
9339 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9341 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9343 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9345 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9346 file extensions from the archive-mode entry in order to prefer
9347 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9349 2013-04-18 Leo Liu <sdl.web@gmail.com>
9351 * bindings.el (help-event-list): Add ?\?.
9353 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * subr.el (with-wrapper-hook): Declare obsolete.
9356 * simple.el (filter-buffer-substring-function): New hook.
9357 (filter-buffer-substring): Use it.
9358 (filter-buffer-substring-functions): Mark obsolete.
9359 * minibuffer.el (completion-in-region-function): New hook.
9360 (completion-in-region): Use it.
9361 (completion-in-region-functions): Mark obsolete.
9362 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9363 * abbrev.el (abbrev-expand-function): New hook.
9364 (expand-abbrev): Use it.
9365 (abbrev-expand-functions): Mark obsolete.
9366 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9369 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9371 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9372 and do not care about match data.
9374 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9376 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9377 completion tables when completing error conditions and
9378 `declare' arguments.
9379 (lisp-complete-symbol, field-complete): Mark as obsolete.
9380 (check-parens): Unmatched parens are user errors.
9381 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9383 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9385 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9386 command changed buffer (ie. `flyspell-pre-buffer' is not current
9387 buffer), which prevents making decisions based on invalid value of
9388 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9389 cause an error when `flyspell-pre-point' was nil after switching
9391 (flyspell-post-command-hook): No longer needs to change buffers when
9392 checking pre-word. While at it remove unnecessary progn.
9394 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9396 * textmodes/ispell.el (ispell-add-per-file-word-list):
9397 Fix `flyspell-correct-word-before-point' error when accepting
9398 words and `coment-padding' is an integer by using
9399 `comment-normalize-vars' (Bug #14214).
9401 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9403 New defun movement commands.
9404 * progmodes/python.el (python-nav--syntactically)
9405 (python-nav--forward-defun, python-nav-backward-defun)
9406 (python-nav-forward-defun): New functions.
9408 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9410 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9411 (python-syntax-context): Use named compiler-macro for backwards
9412 compatibility with Emacs 24.x.
9414 2013-04-17 Leo Liu <sdl.web@gmail.com>
9416 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9417 octave-hide-process-buffer.
9419 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9421 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9424 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9426 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9427 Fix adjustment of offset when receiving incomplete responses from GDB
9430 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9432 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9433 python-mode-abbrev-table.
9434 (python-skeleton-define): Adjust accordingly.
9435 (python-mode-abbrev-table): New table that inherits from it so that
9436 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9438 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9439 (abbrev-symbol): Use it.
9440 (abbrev--before-point): Use it since we already handle inheritance.
9442 2013-04-16 Leo Liu <sdl.web@gmail.com>
9444 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9445 binding to info-lookup-symbol.
9447 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9449 * minibuffer.el (completion--twq-all):
9450 * term/ns-win.el (ns-initialize-window-system):
9451 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9453 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9455 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9458 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9460 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9462 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9463 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9465 (ruby-end-of-defun): Remove the unused arg, change the docstring
9466 to reflect that this function is only used as the value of
9467 `end-of-defun-function'.
9468 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9469 to reflect an earlier change that beginning/end-of-defun functions
9470 jump between methods in a class definition, as well as top-level
9473 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9475 * minibuffer.el (minibuffer-complete): Don't just scroll
9476 a *Completions* that's been iconified.
9477 (minibuffer-force-complete): Make sure repetitions do cycle when going
9478 through completion-in-region -> minibuffer-complete.
9480 2013-04-15 Alan Mackenzie <acm@muc.de>
9482 Correct the placement of c-cpp-delimiters when there're #s not at
9485 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9486 place a submatch around the #.
9487 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9488 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9491 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9493 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9494 (advice--member-p): New arg `name'.
9495 (advice--add-function, advice-member-p): Use it (bug#14202).
9497 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9499 Reformulate java imenu-generic-expression.
9500 The old expression contained ill formed regexps.
9502 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9503 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9504 (cc-imenu-java-method-arg-regexp): New defconsts.
9505 (cc-imenu-java-build-type-args-regex): New defun.
9506 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9507 handling of spaces in the regexp.
9509 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9511 * textmodes/ispell.el (ispell-command-loop): Remove
9512 flyspell highlight of a word when ispell accepts it (bug #14178).
9514 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9516 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9517 uses code from the previous `ange-ftp-run-real-handler'.
9518 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9519 only in case that function exist. This is needed for proper
9522 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9524 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9526 * textmodes/reftex.el (reftex-compile-variables): Use it.
9528 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * files.el (normal-mode): Only use default major-mode if no other mode
9533 * emacs-lisp/trace.el (trace-values): New function.
9535 * files.el: Allow : in local variables (bug#14089).
9536 (hack-local-variable-regexp): New var.
9537 (hack-local-variables-prop-line, hack-local-variables): Use it.
9539 2013-04-13 Roland Winkler <winkler@gnu.org>
9541 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9542 data before it gets modified by bibtex-beginning-of-entry.
9544 2013-04-13 Roland Winkler <winkler@gnu.org>
9546 * textmodes/bibtex.el (bibtex-url): Doc fix.
9548 2013-04-13 Roland Winkler <winkler@gnu.org>
9550 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9551 does not visit a BibTeX file, exclude it from the list of buffers
9552 returned by bibtex-initialize.
9554 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9556 * window.el (split-window): Remove interactive form, since as a
9557 command this function is a special case of split-window-below.
9560 2013-04-12 Roland Winkler <winkler@gnu.org>
9562 * faces.el (read-face-name): Do not override value of arg default.
9563 Allow single faces and strings as default values. Remove those
9564 elements from return value that are not faces.
9565 (describe-face): Simplify.
9566 (face-at-point): New optional args thing and multiple so that this
9567 function can provide the same functionality previously provided by
9569 (make-face-bold, make-face-unbold, make-face-italic)
9570 (make-face-unitalic, make-face-bold-italic, invert-face)
9571 (modify-face, read-face-and-attribute): Use face-at-point.
9573 * cus-edit.el (customize-face, customize-face-other-window)
9574 * cus-theme.el (custom-theme-add-face)
9575 * face-remap.el (buffer-face-set)
9576 * facemenu.el (facemenu-set-face): Use face-at-point.
9578 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9580 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9582 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9584 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9585 off leading { and trailing } from field values.
9587 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9589 * emacs-lisp/timer.el (timer--check): New function.
9590 (timer--time, timer-set-function, timer-event-handler): Use it.
9591 (timer-set-idle-time): Simplify.
9592 (timer--activate): CSE.
9593 (timer-event-handler): Give more info in error message.
9594 (internal-timer-start-idle): New function, moved from C.
9596 * mpc.el (mpc-proc): Add `restart' argument.
9597 (mpc-proc-cmd): Use it.
9598 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9599 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9602 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9604 * progmodes/sh-script.el: Implement `sh-mode' own
9605 `add-log-current-defun-function' (bug#14112).
9606 (sh-current-defun-name): New function.
9607 (sh-mode): Use the function.
9609 2013-04-09 Bastien Guerry <bzg@gnu.org>
9611 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9613 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9615 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9617 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9620 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9622 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9625 2013-04-07 Leo Liu <sdl.web@gmail.com>
9627 * pcmpl-x.el: New file.
9629 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9631 Do not set x-display-name until X connection is established.
9632 This is needed to prevent from weird situation described at
9633 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9634 * frame.el (make-frame): Set x-display-name after call to
9635 window system initialization function, not before.
9636 * term/x-win.el (x-initialize-window-system): Add optional
9637 display argument and use it.
9638 * term/w32-win.el (w32-initialize-window-system):
9639 * term/ns-win.el (ns-initialize-window-system):
9640 * term/pc-win.el (msdos-initialize-window-system):
9641 Add compatible optional display argument.
9643 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9645 * files.el (normal-backup-enable-predicate): On MS-Windows and
9646 MS-DOS compare truenames of temporary-file-directory and of the
9647 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9648 don't fail comparison by compare-strings. Also, compare file
9649 names case-insensitively on MS-Windows and MS-DOS.
9651 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9653 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9654 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9656 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9658 * whitespace.el (whitespace-color-on, whitespace-color-off):
9659 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9661 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9663 * ispell.el (ispell-set-spellchecker-params):
9664 Really set `ispell-args' for all equivs.
9666 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9668 * ido.el (ido-completions): Use extra elements of ido-decorations
9670 (ido-decorations): Update docstring.
9672 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9674 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9675 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9676 nil during initialization, in order not to miss changes since the
9677 file was opened. (Bug#14140)
9679 2013-04-05 Leo Liu <sdl.web@gmail.com>
9681 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9683 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9685 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9687 2013-04-04 Glenn Morris <rgm@gnu.org>
9689 * electric.el (electric-pair-inhibit-predicate): Add :version.
9691 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9693 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9694 when a package is required several times (bug#14082).
9696 2013-04-04 Roland Winkler <winkler@gnu.org>
9698 * faces.el (read-face-name): Behave as promised by the docstring.
9699 Assume that arg default is a list of faces.
9700 (describe-face): Call read-face-name with list of default faces.
9702 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9704 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9705 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9706 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9708 (bookmark-exit-hook-internal): Save even if list is empty.
9710 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9712 * emacs-lisp/package.el (package-pinned-packages): New var.
9713 (package--add-to-archive-contents): Obey it (bug#14118).
9715 2013-04-03 Alan Mackenzie <acm@muc.de>
9717 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9718 Also adapt to the new values of element 7 of a parse state.
9720 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9721 parameter `not-in-delimiter'. Handle being inside comment opener.
9722 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9723 character in case we're typing a '*' after a '/'.
9724 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9725 instead by passing the parameter to c-state-pp-to-literal.
9727 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9728 for elt. 7 of a parse state.
9730 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9732 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9733 * international/latin1-disp.el, international/mule-util.el:
9734 * language/cyril-util.el, language/european.el, language/ind-util.el:
9735 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9736 * language/tibetan.el, language/viet-util.el:
9737 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9739 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9741 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9742 (electric-pair-post-self-insert-function): Use it.
9743 (electric-pair-default-inhibit): New function, extracted from
9744 electric-pair-post-self-insert-function.
9746 2013-03-31 Roland Winkler <winkler@gnu.org>
9748 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9750 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9754 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9756 Un-indent after "pass" and "return" statements (Bug#13888)
9757 * progmodes/python.el (python-indent-block-enders): New var.
9758 (python-indent-calculate-indentation): Use it.
9760 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9762 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9763 defun. Defining it as defalias could introduce too eager
9764 byte-compiler optimization. (Bug#14030)
9766 2013-03-30 Chong Yidong <cyd@gnu.org>
9768 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9770 2013-03-30 Leo Liu <sdl.web@gmail.com>
9772 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9773 (kmacro-execute-from-register): Pass the keyboard macro to
9774 kmacro-call-macro or repeating won't work correctly.
9776 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9778 * progmodes/subword.el: Back to using `forward-symbol'.
9780 * subr.el (forward-whitespace, forward-symbol)
9781 (forward-same-syntax): Move from thingatpt.el.
9783 2013-03-29 Leo Liu <sdl.web@gmail.com>
9785 * kmacro.el (kmacro-to-register): New command.
9786 (kmacro-execute-from-register): New function.
9787 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9789 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * mpc.el: Use defvar-local and setq-local.
9792 (mpc--proc-connect): Connection failures are not bugs.
9793 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9794 (mpc-volume-map): Bind to the up-events.
9796 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9798 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9799 instead of `forward-symbol'.
9801 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9803 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9804 (edebug--recursive-edit): Use it.
9805 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9806 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9808 2013-03-28 Leo Liu <sdl.web@gmail.com>
9810 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9812 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9814 * facemenu.el (list-colors-callback): New defvar.
9815 (list-colors-redisplay): New function.
9816 (list-colors-display): Install list-colors-redisplay as the
9817 revert-buffer-function. (Bug#14063)
9819 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9822 and suffixes don't overlap (bug#14061).
9824 * case-table.el: Use lexical-binding.
9825 (case-table-get-table): New function.
9826 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9828 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9830 * progmodes/subword.el: Add `superword-mode' to do word motion
9831 over symbol_words (parallels and leverages `subword-mode' which
9832 does word motion inside MixedCaseWords).
9834 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9836 * eshell/em-unix.el: Move su and sudo to...
9837 * eshell/em-tramp.el: ...Eshell tramp module.
9839 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9841 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9842 Change return value to be a sexp. Delay `get-buffer' to after
9843 restoring the desktop (bug#13951).
9845 2013-03-26 Leo Liu <sdl.web@gmail.com>
9847 * register.el: Move semantic tag handling back to
9848 cedet/semantic/senator.el. (Bug#14052)
9850 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9852 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9853 into the prompt either (bug#13963).
9855 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9857 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9858 part of "(error-foo)".
9860 2013-03-24 Juri Linkov <juri@jurta.org>
9862 * replace.el (list-matching-lines-prefix-face): New defcustom.
9863 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9864 `occur-engine' if `face-differs-from-default-p' returns t.
9865 (occur-engine): Add `,' inside backquote construct to evaluate
9866 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9867 Pass `prefix-face' to the functions `occur-context-lines' and
9868 `occur-engine-add-prefix'.
9869 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9870 `prefix-face' and propertize the prefix with `prefix-face'.
9873 2013-03-24 Leo Liu <sdl.web@gmail.com>
9875 * nxml/rng-valid.el (rng-validate-while-idle)
9876 (rng-validate-quick-while-idle): Guard against deleted buffer.
9879 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9880 is the last entry in kill-buffer-hook.
9882 * files.el (kill-buffer-hook): Doc fix.
9884 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9886 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9889 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9891 2013-03-23 Leo Liu <sdl.web@gmail.com>
9893 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9896 * nxml/rng-valid.el (rng-validate-mode)
9897 (rng-after-change-function, rng-do-some-validation):
9898 * nxml/rng-maint.el (rng-validate-buffer):
9899 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9900 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9901 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9902 (nxml-extend-after-change-region): Use with-silent-modifications.
9904 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9907 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9908 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9909 timer-idle-list. (Bug#13999)
9911 2013-03-23 Juri Linkov <juri@jurta.org>
9913 * info.el (info-index-match): New face.
9914 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9915 main pattern and add text properties with the new face to matches
9916 in index entries relative to the beginning of the index entry.
9919 2013-03-21 Eric Ludlam <zappo@gnu.org>
9921 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9922 Inhibit read only while inserting objects.
9924 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9926 * progmodes/cfengine.el: Update docs to mention
9927 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9928 symbol motion. Remove "_" from the word syntax.
9930 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9932 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9933 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9935 2013-03-20 Juri Linkov <juri@jurta.org>
9937 * info.el (Info-next-reference-or-link)
9938 (Info-prev-reference-or-link): New functions.
9939 (Info-next-reference, Info-prev-reference): Use them.
9940 (Info-try-follow-nearest-node): Handle footnote navigation.
9941 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9943 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9945 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9946 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9948 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9950 Suppress unnecessary non-ASCII chatter during build process.
9951 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9952 (batch-skkdic-convert): Suppress most of the chatter.
9953 It's not needed so much now that machines are faster,
9954 and its non-ASCII component was confusing; see Dmitry Gutov in
9955 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9957 2013-03-20 Leo Liu <sdl.web@gmail.com>
9959 * ido.el (ido-chop): Fix bug#10994.
9961 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9963 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9965 (whitespace-color-on, whitespace-color-off):
9966 Use `font-lock-fontify-buffer' (Bug#13817).
9968 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9971 remapping in mode-line.
9972 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9974 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9976 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9977 value for `whitespace-line' face (Bug#13875).
9978 (whitespace-font-lock-keywords): Change description.
9979 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9980 the constructed keywords instead.
9981 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9983 2013-03-19 Leo Liu <sdl.web@gmail.com>
9985 * progmodes/compile.el (compilation-display-error): New command.
9986 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9989 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9991 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9993 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9995 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9997 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9999 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10001 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10002 * net/tramp-gvfs.el (top):
10003 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10004 (tramp-handle-shell-command): Use it.
10005 (tramp-dissect-file-name): Raise an error when hostname is a
10006 method name, and neither method nor user is specified.
10008 * net/trampver.el: Update release number.
10010 2013-03-18 Leo Liu <sdl.web@gmail.com>
10012 Make sure eldoc can be turned off properly.
10013 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10015 (eldoc-display-message-p): Revert last change.
10016 (eldoc-display-message-no-interference-p)
10017 (eldoc-print-current-symbol-info): Tweak.
10019 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10021 * doc-view.el (doc-view-new-window-function): Check the new window
10022 overlay's display property instead the char property of the
10023 buffer's first char. Use `with-selected-window' instead of
10024 `save-window-excursion' with `select-window'.
10025 (doc-view-document->bitmap): Check the current doc-view overlay's
10026 display property instead the char property of the buffer's first char.
10028 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10030 Automate the build of ja-dic.el (Bug#13984).
10031 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10032 from the input, rather than assume that it's been done for us by the
10033 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10034 the current date into a ja-dic.el comment, as that complicates
10035 regression testing.
10037 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10039 * whitespace.el: Fix double evaluation.
10040 (whitespace-space, whitespace-hspace, whitespace-tab)
10041 (whitespace-newline, whitespace-trailing, whitespace-line)
10042 (whitespace-space-before-tab, whitespace-indentation)
10043 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10045 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10046 (whitespace-color-on): Use a single font-lock-add-keywords call.
10047 Fix double-evaluation of face variables.
10049 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10051 * net/tramp-adb.el (tramp-adb-parse-device-names):
10052 Use `start-process' instead of `call-process'. Otherwise, the
10053 function might be blocked under MS Windows. (Bug#13299)
10055 2013-03-17 Leo Liu <sdl.web@gmail.com>
10057 Extend eldoc to display info in the mode-line. (Bug#13978)
10058 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10059 (eldoc-mode-line-string): New variable.
10060 (eldoc-minibuffer-message): New function.
10061 (eldoc-message-function): New variable.
10062 (eldoc-message): Use it.
10063 (eldoc-display-message-p)
10064 (eldoc-display-message-no-interference-p):
10065 Support eldoc-post-insert-mode.
10067 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10068 (eval-expression): Run it.
10070 2013-03-17 Roland Winkler <winkler@gnu.org>
10072 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10073 strings in the list of return values.
10075 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10077 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10078 radix before checking for HMS forms.
10080 2013-03-16 Leo Liu <sdl.web@gmail.com>
10082 * progmodes/scheme.el: Add indentation and font-locking for λ.
10085 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10088 token before point (bug#13942).
10090 2013-03-16 Leo Liu <sdl.web@gmail.com>
10092 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10094 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10096 * startup.el (command-line-normalize-file-name): Fix handling of
10097 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10098 <xfq.free@gmail.com> in
10099 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10101 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10103 Sync with Tramp 2.2.7.
10105 * net/trampver.el: Update release number.
10107 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10109 * doc-view.el: Fix bug#13887.
10110 (doc-view-insert-image): Don't modify overlay associated to
10111 non-live windows, and implement horizontal centering of image in
10112 case it's smaller than the window.
10113 (doc-view-new-window-function): Force redisplay of new windows on
10116 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10118 * saveplace.el (save-place-alist-to-file): Don't sort
10119 `save-place-alist', just pretty-print it (bug#13882).
10121 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10123 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10124 Check whether `default-file-name-coding-system' is bound.
10125 It isn't in XEmacs.
10127 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10129 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10130 backquotes for `obsolete' (bug#13929).
10132 * international/mule.el (find-auto-coding): Include file name in
10133 obsolescence warning (bug#13922).
10135 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10137 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10138 for CFEngine 3-specific indentation.
10139 (cfengine3-indent-line): Use it. Fix up category regex.
10140 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10142 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * type-break.el (type-break-file-name):
10145 * textmodes/remember.el (remember-data-file):
10146 * strokes.el (strokes-file):
10147 * shadowfile.el (shadow-initialize):
10148 * saveplace.el (save-place-file):
10149 * ps-bdf.el (bdf-cache-file):
10150 * progmodes/idlwave.el (idlwave-config-directory):
10151 * net/quickurl.el (quickurl-url-file):
10152 * international/kkc.el (kkc-init-file-name):
10153 * ido.el (ido-save-directory-list-file):
10154 * emulation/viper.el (viper-custom-file-name):
10155 * emulation/vip.el (vip-startup-file):
10156 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10157 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10159 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10161 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10162 * language/thai-word.el: Switch to UTF-8.
10164 See ChangeLog.16 for earlier changes.
10166 ;; Local Variables:
10170 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10172 This file is part of GNU Emacs.
10174 GNU Emacs is free software: you can redistribute it and/or modify
10175 it under the terms of the GNU General Public License as published by
10176 the Free Software Foundation, either version 3 of the License, or
10177 (at your option) any later version.
10179 GNU Emacs is distributed in the hope that it will be useful,
10180 but WITHOUT ANY WARRANTY; without even the implied warranty of
10181 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10182 GNU General Public License for more details.
10184 You should have received a copy of the GNU General Public License
10185 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.