1 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4 (gomoku--last-pos): New var.
5 (gomoku--intangible-chars): New const.
6 (gomoku--intangible): New function.
7 (gomoku-mode): Use it. Derive from special-mode.
8 (gomoku-move-up): Adjust line count.
9 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
10 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
13 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
14 Remove blink-cursor code.
15 (blink-cursor-timer-function, blink-cursor-suspend):
16 Don't special-case GUIs.
17 (blink-cursor-mode): Use focus-in/out-hook.
19 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
21 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
22 work when annotation is invisible (Bug#13886).
24 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
26 * json.el (json-alist-p): Only return non-nil if the alist has
27 simple keys (Bug#13518).
29 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
31 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
32 when control-statement is the first statement in a buffer (Bug#15956).
34 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
36 * imenu.el (imenu-generic-skip-comments-and-strings):
37 New option (Bug#15560).
38 (imenu--generic-function): Use it.
40 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
42 * minibuffer.el (completion--in-region-1): Scroll the correct
45 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
47 * emacs-lisp/helpers.el: Add some string helpers.
48 (string-trim-left): Removes leading whitespace.
49 (string-trim-right): Removes trailing whitespace.
50 (string-trim): Removes leading and trailing whitespace.
52 * subr.el (string-suffix-p): New function.
54 2013-11-23 Glenn Morris <rgm@gnu.org>
56 * progmodes/python.el (python-shell-send-file):
57 Add option to delete file when done. (Bug#15647)
58 (python-shell-send-string, python-shell-send-region): Use it.
60 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
62 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
63 to set buffer-read-only to t, never to nil. (Bug#15938)
65 * textmodes/tex-mode.el (latex-noindent-environments):
66 Add safe-local-variable property. (Bug#15936)
68 2013-11-23 Glenn Morris <rgm@gnu.org>
70 * textmodes/enriched.el (enriched-mode): Doc fix.
71 * emacs-lisp/authors.el (authors-renamed-files-alist):
72 Add enriched.doc -> enriched.txt.
74 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
76 2013-11-22 Leo Liu <sdl.web@gmail.com>
78 * progmodes/octave.el (inferior-octave-startup): Spit out error
81 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
83 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
86 (ruby-encoding-magic-comment-style): Add :version.
88 2013-11-22 Leo Liu <sdl.web@gmail.com>
90 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
92 (octave-help-mode): Adapt to change to help-mode-finish to use
93 derived-mode-p on 2013-09-17.
94 (inferior-octave-prompt): Also match octave-gui.
95 (octave-kill-process): Don't ask twice. (Bug#10564)
97 2013-11-22 Leo Liu <sdl.web@gmail.com>
99 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
100 (inferior-octave-startup, inferior-octave-check-process)
101 (inferior-octave-track-window-width-change)
102 (octave-completion-at-point, octave-eldoc-function): Use it.
103 (octave-kill-process): Provide confirmation. (Bug#10564)
105 2013-11-21 Leo Liu <sdl.web@gmail.com>
107 * progmodes/octave.el (octave-mode, inferior-octave-mode):
108 Fix obsolete variable comment-use-global-state.
110 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
112 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
113 Add `octave-source-file'.
114 (octave-source-file): New function. (Bug#15935)
116 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
118 * net/eww.el (eww-local-regex): New variable.
119 (eww): Use it to detect localhost and similar.
121 2013-11-21 Leo Liu <sdl.web@gmail.com>
123 Add completion for command `ag'.
124 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
125 (pcomplete/ag): New function.
126 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
128 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
130 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
132 (make-obsolete): Remove interactive spec.
134 2013-11-21 Glenn Morris <rgm@gnu.org>
136 * startup.el (command-line-1): Use path-separator with -L.
138 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
140 * emacs-lisp/package.el (describe-package-1): Add package archive
143 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
145 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
146 Change default to "# encoding: %s" to differentiate it from the
147 default Ruby encoding comment template.
149 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
151 * ses.el (ses-mode): Doc fix. (Bug#14748)
153 2013-11-20 Leo Liu <sdl.web@gmail.com>
155 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
157 2013-11-19 Dan Nicolaescu <dann@gnu.org>
159 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
160 when rebase or bisect are in progress.
162 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
164 * filenotify.el (file-notify-add-watch): Doc fix.
166 2013-11-19 Leo Liu <sdl.web@gmail.com>
168 * obsolete/rcompile.el: Mark obsolete.
170 * progmodes/compile.el (compilation-start)
171 (compilation-goto-locus, compilation-find-file):
172 Pass no-display-ok and handle nil value from display-buffer.
175 * window.el (display-buffer-alist, display-buffer): Document the
176 new parameter no-display-ok.
178 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
180 * electric.el (electric-indent-mode-map): Remove.
181 (electric-indent-mode): Change the global-map instead (bug#15915).
183 * textmodes/text-mode.el (paragraph-indent-minor-mode):
186 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
188 * emacs-lisp/nadvice.el (remove-function): Align with
189 add-function's behavior.
191 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
192 (gdb--string-regexp): New constant.
193 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
194 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
195 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
197 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
198 Adjust use accordingly.
199 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
201 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
203 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
204 interpolation curlies (Bug#15914).
206 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
208 * calc/calc.el (calc-context-sensitive-enter): New variable.
209 (calc-enter): Use `calc-context-sensitive-enter'.
211 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
213 * progmodes/cfengine.el: Version bump.
214 (cfengine-cf-promises): New defcustom to locate cf-promises.
215 (cfengine3-vartypes): Add new "data" type.
216 (cfengine3--current-word): New function to get current name-like
218 (cfengine3--current-function): New function to look up a CFEngine
219 function's definition.
220 (cfengine3-format-function-docstring): New function.
221 (cfengine3-make-syntax-cache): New function.
222 (cfengine3-documentation-function): New function: ElDoc glue.
223 (cfengine3-completion-function): New function: completion glue.
224 (cfengine3-mode): Set `compile-command',
225 `eldoc-documentation-function', and add to
226 `completion-at-point-functions'.
228 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
230 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
231 `tramp-current-connection'.
233 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
235 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
236 nil/self/true/false with "end of symbol".
238 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
240 * subr.el (version-regexp-alist): Fix a typo.
242 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
244 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
245 "en_US.utf8" and "LC_CTYPE" to "".
246 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
247 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
249 2013-11-15 Leo Liu <sdl.web@gmail.com>
251 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
253 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
255 * progmodes/gud.el (ctl-x-map):
256 Remove C-x SPC binding. (Bug#12342)
257 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
259 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
261 * subr.el (version-regexp-alist):
262 Recognize hg, svn and darcs versions as snapshot versions.
264 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
265 Add the ability to always insert an utf-8 encoding comment.
266 Fix and simplify coding comment update logic.
268 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
270 * net/tramp-gvfs.el (top): Run init code only when
271 `tramp-gvfs-enabled' is not nil.
272 (tramp-gvfs-enabled): Check also :system bus.
274 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
276 Sync with upstream verilog-mode revision 78e66ba.
277 * progmodes/verilog-mode.el (verilog-end-of-defun)
278 (verilog-type-completion, verilog-get-list): Remove unused funcs.
279 (verilog-get-end-of-defun): Remove unused argument.
280 (verilog-comment-depth): Remove unused local `e'.
281 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
282 Don't pass arg to verilog-get-end-of-defun.
284 2013-11-14 Glenn Morris <rgm@gnu.org>
286 * obsolete/assoc.el (aget): Prefix dynamic variable.
288 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
290 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
292 * widget.el, hfy-cmap.el: Remove bogus package version number.
294 2013-11-13 Glenn Morris <rgm@gnu.org>
296 * replace.el (replace-eval-replacement):
297 Try to give more helpful error message. (Bug#15836)
299 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
300 (archive-7z-update): Avoid custom type mismatches.
302 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
304 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
306 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
307 address can be empty.
309 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
311 (tramp-gvfs-handle-write-region): Implement APPEND.
313 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
315 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
316 binary "|" operator and closing block args delimiter.
317 Remove FIXME comment referring to Ruby 1.8-only syntax.
318 (ruby-smie--implicit-semi-p): Not after "|" operator.
319 (ruby-smie--closing-pipe-p): New function.
320 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
321 (ruby-smie-rules): Indent after "|".
323 2013-11-12 Glenn Morris <rgm@gnu.org>
325 * ps-print.el (ps-face-attribute-list):
326 Handle anonymous faces. (Bug#15827)
328 2013-11-12 Martin Rudalics <rudalics@gmx.at>
330 * window.el (display-buffer-other-frame): Fix doc-string.
333 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
335 * subr.el (force-mode-line-update): Delete, move to buffer.c.
337 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
340 (tramp-sh-handle-file-local-copy): Don't write a message when
341 saving temporary files.
343 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
344 both directories are remote.
345 (tramp-smb-handle-directory-files): Do not return double entries.
346 Do not expand full file names.
347 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
348 (tramp-smb-handle-write-region): Implement APPEND.
349 (tramp-smb-get-stat-capability): Fix a stupid bug.
351 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
353 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
355 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
357 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
358 throwing error over malformed let/let* (bug#15814).
360 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
362 * iswitchb.el (iswitchb-mode): Mark obsolete.
364 2013-11-11 Glenn Morris <rgm@gnu.org>
366 * international/uni-bidi.el, international/uni-category.el:
367 * international/uni-name.el, international/uni-numeric.el:
368 Regenerate for Unicode 6.3.0.
370 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
372 * net/tramp.el (tramp-methods):
373 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
374 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
376 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
378 * progmodes/sh-script.el (sh-font-lock-keywords-var):
379 Force highlighting text after Summary keyword in doc face for rpm.
381 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
383 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
384 available and the word has no wildcards, append one to the grep pattern.
385 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
386 (ispell-complete-word): Call `ispell-lookup-words' with the value
387 independent of `ispell-look-p'.
389 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
391 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
393 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
396 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
398 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
399 (ruby-font-lock-keywords): Use backquote.
401 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
403 * progmodes/ruby-mode.el (ruby-smie--forward-token)
404 (ruby-smie--backward-token): Only consider full-string matches.
406 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
408 * faces.el (describe-face): Add distant-foreground.
410 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
412 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
413 Use `ruby-encoding-magic-comment-style' to control the
414 style of the auto-inserted encoding comment.
416 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
418 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
419 Use `smie-backward-sexp' with token argument.
421 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
423 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
424 Remove instrumentation code.
426 2013-11-08 Glenn Morris <rgm@gnu.org>
428 * progmodes/autoconf.el (autoconf-mode):
429 Tweak comment-start-skip. (Bug#15822)
431 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
433 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
435 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
437 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
439 * man.el (Man-start-calling): New macro, extracted from
440 Man-getpage-in-background.
441 (Man-getpage-in-background): Use it.
442 (Man-update-manpage): New command.
443 (Man-mode-map): Bind it.
445 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
447 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
448 of "and", "or", "&&" and "||".
449 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
450 argument. Prohibit opening curly brace because it could only be a
451 block opener in that position.
452 (ruby-smie--forward-token, ruby-smie--backward-token):
453 Separate "|" from "&" or "*" going after it. That can happen in block
455 (ruby-smie--indent-to-stmt): New function, seeks the end of
456 previous statement or beginning of buffer.
457 (ruby-smie-rules): Use it.
458 (ruby-smie-rules): Check if there's a ":" before a curly block
459 opener candidate; if there is, it's a hash.
461 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
463 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
464 (cl--block-wrapper): Fix last accidental change.
466 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
468 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
469 Instrument, in order to hunt failure on hydra.
471 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
473 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
474 malformed bindings form (bug#15814).
476 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
478 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
479 "." compared to " @ ". This incidentally fixes some indentation
481 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
482 (ruby-smie-grammar): New tokens: "and" and "or".
483 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
484 Exclude "and" and "or". Remove "do" in order to work around token
486 (ruby-smie-rules): Add all infix tokens. Handle the case of
489 2013-11-06 Glenn Morris <rgm@gnu.org>
491 * Makefile.in (setwins_almost, setwins_for_subdirs):
492 Avoid accidental matches.
494 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
496 * menu-bar.el (popup-menu): Use key-binding.
498 2013-11-06 Eli Zaretskii <eliz@gnu.org>
500 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
501 menus, support also the menus produced by minor modes.
504 2013-11-06 Leo Liu <sdl.web@gmail.com>
506 * thingatpt.el (thing-at-point-looking-at): Add optional arg
507 DISTANCE to bound the search. All uses changed. (Bug#15808)
509 2013-11-06 Glenn Morris <rgm@gnu.org>
511 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
512 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
513 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
515 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
517 * electric.el (electric-indent-just-newline): New command.
518 (electric-indent-mode-map): New keymap.
519 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
520 Re-add :group which weren't redundant.
522 * electric.el (electric-indent-local-mode): New minor mode.
523 (electric-indent-functions-without-reindent): New var.
524 (electric-indent-post-self-insert-function): Use it.
525 * emacs-lisp/gv.el (buffer-local-value): Add setter.
527 2013-11-05 Eli Zaretskii <eliz@gnu.org>
529 * international/quail.el (quail-help): Be more explicit about the
530 meaning of the labels shown on the keys. (Bug#15800)
532 * startup.el (normal-top-level): Load the subdirs.el files before
533 setting the locale environment. (Bug#15805)
535 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
537 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
538 via arguments so as to get the right ones (bug#15418).
540 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
542 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
544 Fix problems found while writing a test suite.
546 * net/tramp-compat.el (tramp-compat-load): New defun.
547 * net/tramp.el (tramp-handle-load): Use it.
549 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
550 "(numberp ok-if-already-exists)" correctly.
552 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
554 * international/characters.el (glyphless-char-display-control):
557 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
559 * progmodes/python.el (python-mode):
560 * progmodes/scheme.el (scheme-mode):
561 * progmodes/prolog.el (prolog-mode):
562 * progmodes/ruby-mode.el (ruby-mode):
563 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
564 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
566 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
568 * rect.el (rectangle--highlight-for-redisplay):
569 * emacs-lisp/smie.el (smie--next-indent-change):
570 Use buffer-chars-modified-tick.
572 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
574 * electric.el (electric-indent-post-self-insert-function):
575 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
577 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
579 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
581 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
583 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
586 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
588 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
590 * progmodes/python.el: Fix up last change.
591 (python-shell--save-temp-file): New function.
592 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
593 `string' comes from the current buffer.
594 (python-shell-send-string-no-output): Remove `msg' arg.
595 (python--use-fake-loc): New var.
596 (python-shell-buffer-substring): Obey it. Try to compensate for the
597 extra coding line added by python-shell--save-temp-file.
598 (python-shell-send-region): Use python-shell--save-temp-file and
599 python-shell-send-file directly. Add `nomain' argument.
600 (python-shell-send-buffer): Use python-shell-send-region.
601 (python-electric-pair-string-delimiter): New function.
602 (python-mode): Use it.
604 2013-11-04 Eli Zaretskii <eliz@gnu.org>
606 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
607 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
608 environment and decoding all of the default-directory's to here
610 (command-line): Decode also argv[0].
612 * loadup.el: Error out if default-directory is a multibyte string
615 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
617 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
619 * emacs-lisp/package.el (package-menu-mode)
620 (package-menu--print-info, package-menu--archive-predicate):
621 Add Archive column to package list.
623 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
625 Fix problems found while writing a test suite.
627 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
628 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
629 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
630 to nil when running original file name handler. Otherwise,
631 there are problems with constructs like "$$FOO".
633 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
636 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
638 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
640 * subr.el (version<, version<=, version=):
641 Update docstrings with information for snapshot versions.
643 * helpers.el: New library for misc helper functions.
644 (hash-table-keys): New function returning a list of hash keys.
645 (hash-table-values): New function returning a list of hash values.
647 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
649 * progmodes/ruby-mode.el (ruby-smie--forward-token)
650 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
652 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
654 * textmodes/fill.el (fill-single-char-nobreak-p): New function
655 checking whether point is after a 1-letter word.
657 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
659 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
660 Don't infloop when expanding region over `multiline' syntax-type that
661 begins a line (bug#15778).
663 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
665 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
666 Make it into a proper minor mode.
667 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
668 (rectangle-mark-mode-map): New keymap.
669 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
671 2013-11-04 Glenn Morris <rgm@gnu.org>
673 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
675 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
677 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
678 (ruby-smie-rules): Use smie-rule-parent instead.
680 * emacs-lisp/smie.el (smie-rule-parent): Always call
681 smie-indent-virtual rather than only for hanging tokens.
682 (smie--next-indent-change): New helper command.
684 2013-11-03 Glenn Morris <rgm@gnu.org>
686 * Makefile.in (abs_srcdir): Remove.
687 (emacs): Unset EMACSLOADPATH.
689 2013-11-02 Glenn Morris <rgm@gnu.org>
691 * Makefile.in (EMACS): Use a relative filename.
692 (abs_top_builddir): Remove.
693 (custom-deps, finder-data, autoloads): Use --chdir.
695 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
697 Use relative filenames in TAGS files.
698 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
699 (lisptagsfiles4, TAGS): Use relative file names.
701 (maintainer-clean): No more TAGS-LISP file.
703 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
704 (lisptagsfiles4): Use absolute filenames again.
705 (TAGS, TAGS-LISP): Not everything needs to run in one line.
706 Remove all *loaddefs files, not just the first. Remove esh-groups.
707 (maintainer-clean): Delete TAGS, TAGS-LISP.
709 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
711 * emacs-lisp/package.el (package-version-join):
712 Recognize snapshot versions.
714 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
716 * subr.el (version-regexp-alist): Add support for snapshot versions.
718 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
720 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
721 New function, replacement for `smie-rule-parent' for when we want to
722 skip over our direct parent if it's an assignment token..
723 (ruby-smie-rules): Use it.
725 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
727 * progmodes/ruby-mode.el Use `syntax-propertize-function'
728 unconditionally. Remove now unnecessary forward declarations.
729 Remove XEmacs-specific setup.
730 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
731 (ruby-font-lock-syntactic-keywords)
732 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
733 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
734 (ruby-here-doc-end-syntax): Remove.
735 (ruby-mode): Don't check whether `syntax-propertize-rules' is
738 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
740 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
742 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
744 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
745 table and abbrev table, `define-derived-mode' does that for us
748 2013-11-01 Glenn Morris <rgm@gnu.org>
750 * Makefile.in: Remove manual mh-e dependencies (writing .elc
751 files is atomic for some time, so no parallel compilation issues).
753 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
755 * faces.el (face-x-resources): Add :distant-foreground.
756 (region): Use :distant-foreground for gtk and ns.
758 2013-11-01 Tassilo Horn <tsdh@gnu.org>
760 Allow multiple bibliographies when BibLaTeX is used rather than
762 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
763 (reftex-locate-bibliography-files): Us it.
765 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
767 * image.el (image-type-header-regexps): Fix the 'pbm' part to
768 allow comments in pbm files.
770 * term/w32-win.el (dynamic-library-alist): Support newer versions
771 of libjpeg starting with v7: look only for the DLL from the
772 version against which Emacs was built.
773 Support versions of libpng beyond 1.4.x.
774 Support libtiff v4.x.
776 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
778 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
779 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
781 (ruby-deep-arglist): Add property :type.
783 2013-10-31 Glenn Morris <rgm@gnu.org>
785 * Makefile.in (custom-deps, finder-data): No need to setq the target
786 variables, we are in the right directory and the defaults work fine.
788 2013-10-30 Glenn Morris <rgm@gnu.org>
790 * Makefile.in (autoloads): Do not use abs_lisp.
792 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
793 `newline' does not respect `standard-output', so use `princ'.
795 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
797 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
798 * buff-menu.el (Buffer-menu--unmark): New function.
799 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
801 2013-10-30 Glenn Morris <rgm@gnu.org>
803 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
805 * emacs-lisp/package.el (lm-homepage): Declare.
807 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
810 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
812 * Makefile.in (finder-data, autoloads, update-subdirs)
813 (compile-main, compile-clean, compile-always, bootstrap-clean):
814 Check return value of cd.
815 (compile-calc): Remove.
817 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
819 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
821 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
822 (byte-compile-and-folded): New function.
823 (=, <, >, <=, >=): Use it.
825 * dos-w32.el (minibuffer-history-case-insensitive-variables)
826 (path-separator, null-device, buffer-file-coding-system)
827 (lpr-headers-switches): Check system-type before modifying them.
828 (find-buffer-file-type-coding-system): Mark obsolete.
829 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
830 find-file-not-found-set-buffer-file-coding-system.
831 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
832 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
833 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
834 (w32-direct-print-region-helper, w32-direct-print-region-function)
835 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
836 * startup.el (normal-top-level-add-subdirs-to-load-path):
837 * ps-print.el (ps-print-region-function):
838 * lpr.el (print-region-function): Use new name.
840 * subr.el (custom-declare-variable-early): Remove function.
841 (custom-declare-variable-list): Remove var.
842 (error, user-error): Remove `while' loop.
843 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
844 (user-emacs-directory-warning, locate-user-emacs-file):
846 * simple.el (read-quoted-char-radix, read-quoted-char):
847 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
849 * custom.el (custom-declare-variable-list): Don't process
850 custom-declare-variable-list.
852 * progmodes/python.el (python-shell-get-buffer): New function.
853 (python-shell-get-process): Use it.
854 (python-shell-send-string): Always use utf-8 and add a cookie to tell
855 Python which encoding was used. Don't split-string since we only care
856 about the first line. Return the temp-file, if applicable.
857 (python-shell-send-region): Tell compile.el how to turn locations in
858 the temp-file into locations in the source buffer.
860 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
862 * subr.el (undefined): Add missing behavior from the C code for
865 * rect.el: Use lexical-binding. Add new rectangular region support.
866 (rectangle-mark): New command.
867 (rectangle--region): New var.
868 (deactivate-mark-hook): Reset rectangle--region.
869 (rectangle--extract-region, rectangle--insert-for-yank)
870 (rectangle--highlight-for-redisplay)
871 (rectangle--unhighlight-for-redisplay): New functions.
872 (region-extract-function, redisplay-unhighlight-region-function)
873 (redisplay-highlight-region-function): Use them to handle
875 * simple.el (region-extract-function): New var.
876 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
877 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
878 (kill-region): Replace obsolete `yank-handler' arg with `region'.
879 (copy-region-as-kill, kill-ring-save): Add `region' argument.
880 (redisplay-unhighlight-region-function)
881 (redisplay-highlight-region-function): New vars.
882 (redisplay--update-region-highlight): New function.
883 (pre-redisplay-function): Use it.
884 (exchange-point-and-mark): Don't deactivate the mark before
885 reactivate-it anyway.
886 * comint.el (comint-kill-region): Remove yank-handler argument.
887 * delsel.el (delete-backward-char, backward-delete-char-untabify)
888 (delete-char): Remove property, since it's now part of their
890 (self-insert-iso): Remove property since this command doesn't exist.
892 * emacs-lisp/package.el (package--download-one-archive)
893 (describe-package-1): Don't query the user about final newline.
895 2013-10-29 Daniel Colascione <dancol@dancol.org>
897 * net/tramp.el (tramp-methods): Document new functionality.
898 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
899 tramp-hostname-checker if method provides one instead of scanning
900 argument list for "%h" to decide hostname acceptability.
902 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
904 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
905 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
906 Handle COPY-CONTENTS. (Bug#15737)
908 2013-10-28 Daiki Ueno <ueno@gnu.org>
911 (epa-file-cache-passphrase-for-symmetric-encryption):
912 Document that this option has no effect with GnuPG 2.0 (bug#15552).
914 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
916 * image.el (defimage):
917 (image-load-path): Doc fixes.
919 2013-10-27 Alan Mackenzie <acm@muc.de>
921 Indent statements in macros following "##" correctly.
922 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
923 Modify the "#" arm of a cond form to handle "#" and "##" operators.
925 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
927 * linum.el (linum-update-window): Fix boundary test (bug#13446).
929 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
931 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
932 after `=' is probably a new expression.
934 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
936 * man.el (man-imenu-title): New option.
937 (Man-mode-map): Add menu. (Bug#15722)
938 (Man-mode): Add imenu to menu.
940 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
942 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
943 specific in what the first arg can be: a non-keyword word,
944 string/regexp/percent literal opener, opening paren, or unary
945 operator followed directly by word.
947 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
949 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
950 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
951 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
952 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
953 Remove vars, they do not apply any more.
954 (prolog-mode-abbrev-table): Remove redundant declaration.
955 (prolog-upper-case-string, prolog-lower-case-string): Remove.
956 (prolog-use-smie): Remove.
957 (prolog-smie-rules): Add indentation rule for the if-then-else layout
958 supported by prolog-electric-if-then-else-flag.
959 (prolog-mode-variables, prolog-menu): Use setq-local.
960 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
961 Remove binding to `Backspace' since this key doesn't exist anyway.
962 Remove bindings for electric self-inserting keys.
963 (prog-mode): Assume it's defined.
964 (prolog-post-self-insert): New function.
965 (prolog-mode): Use it.
966 (prolog-indent-line, prolog-indent-level)
967 (prolog-find-indent-of-matching-paren)
968 (prolog-indentation-level-of-line, prolog-goto-comment-column)
969 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
970 (prolog-goto-next-paren, prolog-in-string-or-comment)
971 (prolog-tokenize, prolog-inside-mline-comment)
972 (prolog-find-start-of-mline-comment): Remove functions.
973 (prolog-find-unmatched-paren, prolog-clause-end)
974 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
975 (prolog-electric--if-then-else): Rename from
976 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
977 (prolog-tokenize-searchkey): Remove const.
978 (prolog-clause-info): Use forward-sexp.
979 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
980 (prolog-electric-if-then-else): Remove commands.
981 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
982 for use in post-self-insert-hook.
983 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
984 for use in post-self-insert-hook.
985 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
986 for use in post-self-insert-hook.
987 (prolog-electric--underscore): Rename from prolog-electric--underscore;
988 adapt it for use in post-self-insert-hook.
990 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
992 * emacs-lisp/ert.el (ert-run-tests-interactively):
993 Use `completing-read'. (Bug#9756)
995 2013-10-25 Eli Zaretskii <eliz@gnu.org>
997 * simple.el (line-move): Call line-move-1 instead of
998 line-move-visual when the current window hscroll is zero, but
999 temporary-goal-column indicates we will need to hscroll as result
1000 of the movement. (Bug#15712)
1002 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1004 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1005 capitalization. Use :visible instead of :active.
1006 Fix `ruby-indent-exp' reference. Add menu items for the generic
1007 commands that are used with SMIE.
1008 (ruby-do-end-to-brace): Insert space after `{'.
1010 2013-10-25 John Anthony <john@jo.hnanthony.com>
1012 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1014 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1016 2013-10-25 Glenn Morris <rgm@gnu.org>
1018 * vc/vc.el (vc-print-log): Don't use a working revision unless
1019 one was explicitly specified. (Bug#15322)
1021 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1023 * subr.el (add-to-list): Preserve return value in compiler-macro
1026 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1028 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1029 result. Ask user to retry using '-all' flag. (Bug#15701)
1031 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * emacs-lisp/smie.el: New smie-config system.
1034 (smie-config): New defcustom.
1035 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1036 (smie-config-guess, smie-config-save): New commands.
1037 (smie-config--mode-local, smie-config--buffer-local)
1038 (smie-config--trace, smie-config--modefuns): New vars.
1039 (smie-config--advice, smie-config--mode-hook)
1040 (smie-config--setter, smie-config-local, smie-config--get-trace)
1041 (smie-config--guess-value, smie-config--guess): New functions.
1042 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1043 text properties. Treat "string fence" syntax like string syntax.
1045 * progmodes/sh-script.el (sh-use-smie): Change default.
1046 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1047 (sh-var-value): Simplify by CSE.
1048 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1049 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1051 (sh-guess-basic-offset): Use cl-incf.
1052 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1054 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1056 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1059 2013-10-24 Glenn Morris <rgm@gnu.org>
1061 * Makefile.in (abs_top_srcdir): Remove.
1062 (update-subdirs): Use relative path to update-subdirs.
1064 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1066 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1067 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1068 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1069 Call unmsys--file-name before expand-file-name, not after it.
1071 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1073 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1074 (ert-test-skipped): New error.
1075 (ert-skip, ert-stats-skipped): New defuns.
1076 (ert--skip-unless): New macro.
1077 (ert-test-skipped): New struct.
1078 (ert--run-test-debugger, ert-test-result-type-p)
1079 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1080 (ert--stats-set-test-and-result, ert-char-for-test-result)
1081 (ert-string-for-test-result, ert-run-tests-batch)
1082 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1083 Handle skipped tests. (Bug#9803)
1085 2013-10-24 Glenn Morris <rgm@gnu.org>
1087 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1089 * Makefile.in (abs_top_srcdir): New, set by configure.
1090 (update-subdirs): Correct build-aux location.
1092 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1094 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1095 value, whether we could auto-deduce `backend', or not.
1097 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1098 with parameters" example. Simplify the "is it block or is it
1099 hash" check, but also make it more thorough.
1101 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1103 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1105 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1107 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1110 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1113 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1115 * progmodes/compile.el (compilation-directory-matcher)
1116 (compilation-page-delimiter):
1117 Support GNU Make-4.0 directory quoting. (Bug#15678)
1119 2013-10-23 Leo Liu <sdl.web@gmail.com>
1121 * ido.el (ido-tidy): Handle read-only text.
1123 2013-10-23 Glenn Morris <rgm@gnu.org>
1125 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1126 (emacs, compile, compile-always):
1127 Quote entities that might contain whitespace.
1128 (custom-deps, finder-data, autoloads): Use abs_lisp.
1129 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1130 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1131 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1133 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1135 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1136 Use `following-char'.
1138 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1141 * progmodes/ruby-mode.el (ruby-smie-rules):
1142 Remove corresponding workaround. Fix indentation rule of ";" so it
1143 also applies when ";" is the parent.
1145 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1147 * frame.el (display-screens, display-pixel-height)
1148 (display-pixel-width, display-mm-width, display-backing-store)
1149 (display-save-under, display-planes, display-color-cells)
1150 (display-visual-class, display-monitor-attributes-list):
1151 Mention the optional ‘display’ argument in doc strings.
1153 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1155 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1156 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1158 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1160 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1161 TODO. Add "." after " @ ".
1162 (ruby-smie--at-dot-call): New function. Checks if point at method
1163 call with explicit target.
1164 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1165 to the method name tokens when it precedes them.
1166 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1167 (ruby-smie-rules): Add rule for indentation before and after "."
1170 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * textmodes/remember.el (remember-diary-extract-entries):
1175 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1178 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1180 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1181 (ruby-smie--implicit-semi-p): Add new operator chars.
1183 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1185 (ruby-smie--args-separator-p): Check that there's no newline
1186 between method call and its arguments.
1188 2013-10-20 Alan Mackenzie <acm@muc.de>
1190 Allow comma separated lists after Java "implements".
1192 * progmodes/cc-engine.el (c-backward-over-enum-header):
1194 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1195 from a "disallowed" list in enum fontification.
1197 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1199 * startup.el (default-frame-background-mode): Remove unused defvar.
1201 * progmodes/verilog-mode.el (verilog-mode): Don't set
1202 comment-indent-function globally.
1204 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1206 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1207 Move Info menu item creation to ns-win.el.
1209 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1212 * menu-bar.el: Move GNUStep specific menus...
1214 * term/ns-win.el (ns-initialize-window-system): ... to here.
1216 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1218 * simple.el (newline): Only run post-self-insert-hook when
1219 called interactively.
1221 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1223 * icomplete.el (icomplete-with-completion-tables): Add :version.
1225 2013-10-19 Alan Mackenzie <acm@muc.de>
1227 Fix fontification bugs with constructors and const.
1229 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1230 CASE 2) Remove the check for the absence of a suffix construct
1231 after a function declaration with only types (no identifiers) in
1232 the parentheses. Also, accept a function declaration with just a
1233 type inside the parentheses, if this type can be positively
1234 recognised as such, or if a prefix keyword like "explicit" nails
1235 down the construct as a declaration.
1237 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1239 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1240 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1241 the problem whereby selecting a menu item that leads to a
1242 minibuffer prompt moves the cursor out of the minibuffer window,
1243 making it hard to type at the prompt. Suggested by Stefan Monnier
1244 <monnier@iro.umontreal.ca>.
1246 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1248 * menu-bar.el: Don't make Services menu.
1250 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1252 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1253 (ffap-alist): Use ffap-c++-mode for c++-mode.
1254 (ffap-c++-path): New variable.
1255 (ffap-c++-mode): New function.
1257 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1259 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1261 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1263 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1264 introduced on 2013-09-08, which results in an infinite loop
1265 requesting a password.
1267 2013-10-18 Glenn Morris <rgm@gnu.org>
1269 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1271 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1273 Sync with upstream verilog-mode revision 1a6ecec7.
1274 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1275 (verilog-mode-release-date): Remove.
1276 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1277 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1278 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1279 (verilog-auto-tieoff-ignore-regexp)
1280 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1281 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1282 (verilog-signals-with, verilog-dir-cache-preserving)
1283 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1285 (verilog-case-fold): New option, to control case folding in
1286 regexp searches, bug597.
1287 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1288 (verilog-string-match-fold, verilog-in-paren-count)
1289 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1290 (verilog-at-close-struct-p): New functions.
1291 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1292 (verilog-forward-sexp, verilog-set-auto-endcomments):
1293 (verilog-leap-to-case-head): Handle "unique0" case.
1294 (verilog-in-constraint-re): New constant.
1295 (verilog-keywords, verilog-type-font-keywords):
1296 Add some SystemVerilog 1800-2012 keywords.
1297 (verilog-label-be): Remove unimplemented argument, bug669.
1298 (verilog-batch-execute-func): When batch expanding clear
1299 create-lockfiles to prevent spurious user locks when a file ends
1301 (verilog-calculate-indent, verilog-calc-1)
1302 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1303 (verilog-do-indent): Fix indentation of nested constraints
1305 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1306 (verilog-auto-inst-param): Use verilog-string-match-fold.
1307 (verilog-read-inst-module-matcher):
1308 Fix AUTOINST on gate primitives with #1.
1309 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1310 Reads all user-defined typed variables.
1311 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1312 (verilog-signals-matching-regexp)
1313 (verilog-signals-not-matching-regexp, verilog-auto):
1314 Respect verilog-case-fold.
1315 (verilog-diff-report): Fix line count.
1316 (verilog-auto-assign-modport): Remove unused local `modi'.
1317 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1318 better handle multidimensional arrays.
1319 Fix packed array ports misadding bit index in AUTOINST, bug637.
1320 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1321 to not double-declare existing outputs and inputs, respectively.
1322 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1323 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1324 (verilog-sk-uvm-component): New skeleton.
1325 (verilog-submit-bug-report): Add verilog-case-fold,
1326 remove verilog-mode-release-date.
1328 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1330 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1333 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1335 * textmodes/remember.el (remember): set buffer-offer-save in
1336 remember buffers (bug#13566).
1338 2013-10-18 Daniel Colascione <dancol@dancol.org>
1340 When evaluating forms in ielm, direct standard output to ielm
1341 buffer. Add new ielm-return-for-effect command. Remove trailing
1342 whitespace throughout.
1344 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1345 (ielm-return-for-effect): New command.
1346 (ielm-send-input): Accept optional `for-effect' parameter.
1347 (ielm-eval-input): Accept optional `for-effect' parameter.
1348 Bind `standard-output' to stream we create using
1349 `ielm-standard-output-impl'. Suppress printing result when
1351 (ielm-standard-output-impl): New function.
1352 (inferior-emacs-lisp-mode): Explain new features in documentation.
1354 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1358 * net/tramp.el (tramp-debug-message): Do not check for connection
1360 (tramp-message): Use "vector" connection property.
1362 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1363 (tramp-equal-remote, tramp-eshell-directory-change)
1364 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1365 (tramp-adb-handle-rename-file)
1366 * net/tramp-cmds.el (tramp-list-remote-buffers)
1367 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1368 * net/tramp-compat.el (tramp-compat-process-running-p)
1369 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1370 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1371 (tramp-gvfs-handle-rename-file)
1372 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1373 (tramp-set-file-uid-gid)
1374 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1375 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1378 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1379 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1380 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1381 (tramp-gw-open-network-stream): Suppress unrelated traces.
1383 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1384 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1385 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1386 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1387 connection property.
1389 * net/tramp-cache.el (top): Suppress traces when reading
1392 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1393 Refactor common code. Improve debug message.
1394 (tramp-maybe-open-connection)
1395 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1396 connection buffer too early.
1398 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1399 from `tramp-smb-actions-with-acl'.
1400 (tramp-smb-actions-set-acl): New defconst.
1401 (tramp-smb-handle-copy-directory)
1402 (tramp-smb-action-get-acl): New defun, renamed from
1403 `tramp-smb-action-with-acl'.
1404 (tramp-smb-action-set-acl): New defun.
1405 (tramp-smb-handle-set-file-acl): Rewrite.
1407 2013-10-17 Glenn Morris <rgm@gnu.org>
1409 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1411 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * skeleton.el (skeleton-newline): Remove.
1414 (skeleton-internal-1): Use (insert "\n") instead.
1416 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1419 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1420 forward-sexp-function while we redo its job (bug#15613).
1422 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1424 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1425 represented by lists.
1427 2013-10-16 Glenn Morris <rgm@gnu.org>
1429 * tmm.el (tmm--history): New dynamic variable.
1430 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1432 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1434 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1435 (tramp-smb-errors): Add error messages.
1436 (tramp-smb-actions-with-acl): New defconst.
1437 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1438 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1439 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1440 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1441 (tramp-smb-get-stat-capability): Fix tests.
1443 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1445 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1448 2013-10-16 Glenn Morris <rgm@gnu.org>
1450 * ansi-color.el (ansi-color-drop-regexp):
1451 Add 1J, 1K, 2K. (Bug#15617)
1453 * files.el (hack-local-variables--warned-lexical): New.
1454 (hack-local-variables):
1455 Warn about misplaced lexical-binding. (Bug#15616)
1457 * net/eww.el (eww-render): Always set eww-current-url,
1458 and update header line. (Bug#15622)
1459 (eww-display-html): ... Rather than just doing it here.
1461 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1463 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1464 menu navigations commands.
1466 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1468 * progmodes/subword.el (subword-capitalize): Be careful when
1469 the search for [[:alpha:]] fails (bug#15580).
1471 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1473 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1474 to commands that scroll the menu.
1476 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1478 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1479 Handle methods ending with `?' and `!'.
1481 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1483 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1484 `japanese-cp932' to `cp932' to fix the problem where saving a
1485 source file written in Shift_JIS twice would end up having
1486 `coding: japanese-cp932' which Ruby could not recognize.
1487 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1488 in `ruby-encoding-map'.
1489 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1490 doesn't need to be explicitly declared in magic comment.
1491 (ruby-encoding-map): Add type declaration for better customize UI.
1493 2013-10-13 Glenn Morris <rgm@gnu.org>
1495 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1496 Occur buffers are read-only. http://bugs.debian.org/720775
1498 * emacs-lisp/authors.el (authors-fixed-entries):
1499 Comment out old alpha stuff.
1501 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1503 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1504 to `after-save-hook' instead of `before-save-hook'.
1505 (ruby-mode-set-encoding): Use the value of coding system used to
1506 write the file. Call `basic-save-buffer-1' after modifying the
1509 2013-10-13 Alan Mackenzie <acm@muc.de>
1511 Fix indentation/fontification of Java enum with
1512 "implements"/generic.
1514 * progmodes/cc-engine.el (c-backward-over-enum-header):
1515 Extracted from the three other places and enhanced to handle generics.
1516 (c-inside-bracelist-p): Uses new function above.
1517 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1519 (c-font-lock-enum-tail): Uses new function above.
1521 2013-10-13 Kenichi Handa <handa@gnu.org>
1523 * international/mule-cmds.el (select-safe-coding-system): Remove a
1524 superfluous condition in chekcing whether a coding system is safe
1527 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1529 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1531 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1533 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1535 2013-10-13 Glenn Morris <rgm@gnu.org>
1537 * menu-bar.el (menu-bar-update-buffers):
1538 Unify Buffers menu prompt string. (Bug#15576)
1540 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1542 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1544 (authors-fixed-entries): Use accented form of name.
1546 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1549 method calls (bug#15594).
1550 (ruby-smie--args-separator-p): New function.
1551 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1552 recognize paren-free method calls.
1554 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1555 internals of universal-argument.
1557 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1559 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1560 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1561 dropped menu on second mouse click on the menu bar.
1563 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1565 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1566 (explicit-shell-file-name): Declare.
1567 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1568 (sh-completion-at-point-function): New function.
1570 (sh-smie--keyword-p): Remove unused argument.
1571 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1573 (sh-set-shell): Always setup SMIE, even if we use the
1574 old indentation code.
1576 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1578 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1580 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1581 predicate would return nil are almost non-existent.
1582 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1584 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1585 cache also after commands that modify the buffer but don't move
1588 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1590 * env.el (substitute-env-in-file-name): New function.
1591 (substitute-env-vars): Extend the meaning of the optional arg.
1593 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1595 * term/w32-win.el (dynamic-library-alist): Define separate lists
1596 of GIF DLLs for versions before and after 5.0.0 of giflib.
1599 2013-10-10 João Távora <joaotavora@gmail.com>
1601 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1602 not locked, use last revision and current source as
1603 defaults. (Bug#15569)
1605 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1607 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1610 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1612 * window.el (pop-to-buffer-same-window): Fix doc-string.
1615 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1617 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1619 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1621 * calendar/icalendar.el (icalendar-import-file):
1622 Fix interactive spec. (Bug#15482)
1624 2013-10-10 Glenn Morris <rgm@gnu.org>
1626 * desktop.el (desktop-save): Default to saving in .emacs.d,
1627 since PWD is no longer in desktop-path by default. (Bug#15319)
1629 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1630 now that text mode has a menu with the same entry.
1631 (menu-bar-text-mode-auto-fill): Remove now unused func.
1632 * textmodes/text-mode.el (text-mode-map):
1633 Use auto-fill help text from menu-bar.el.
1635 2013-10-10 John Anthony <john@jo.hnanthony.com>
1637 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1639 2013-10-09 Juri Linkov <juri@jurta.org>
1641 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1642 instead of this-command-keys. Add universal-argument-more and
1643 universal-argument-minus to the list of prefix commands. (Bug#15568)
1645 2013-10-09 Glenn Morris <rgm@gnu.org>
1647 * vc/vc-svn.el (vc-svn-create-repo):
1648 Expand paths in file://... url. (Bug#15446)
1650 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1652 (authors): Remove unused local variables.
1654 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * profiler.el: Create a more coherent calltree from partial backtraces.
1657 (profiler-format): Hide the tail with `invisible' so that C-s can still
1658 find the hidden elements.
1659 (profiler-calltree-depth): Don't recurse so enthusiastically.
1660 (profiler-function-equal): New hash-table-test.
1661 (profiler-calltree-build-unified): New function.
1662 (profiler-calltree-build): Use it.
1663 (profiler-report-make-name-part): Indent the calltree less.
1664 (profiler-report-mode): Add visibility specs for profiler-format.
1665 (profiler-report-expand-entry, profiler-report-toggle-entry):
1666 Expand the whole subtree when provided with a prefix arg.
1668 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1670 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1672 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1673 hanging iuwu-mod token.
1674 (ruby-smie--forward-token): Do not include a dot after a token in
1676 (ruby-smie--backward-token): Likewise.
1678 2013-10-08 Juri Linkov <juri@jurta.org>
1680 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1681 to isearch-other-control-char.
1682 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1683 and isearch-post-command-hook to post-command-hook.
1684 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1685 and isearch-post-command-hook from post-command-hook.
1686 (isearch-unread-key-sequence)
1687 (isearch-reread-key-sequence-naturally)
1688 (isearch-lookup-scroll-key, isearch-other-control-char)
1689 (isearch-other-meta-char): Remove functions.
1690 (isearch-pre-command-hook, isearch-post-command-hook):
1691 New functions based on isearch-other-meta-char rewritten
1692 relying on the new behavior of overriding-terminal-local-map
1693 that does not replace the local keymaps any more. (Bug#15200)
1695 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1697 Support menus on text-mode terminals.
1698 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1701 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1703 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1704 Move here from mouse.el.
1705 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1707 (tty-menu-navigation-map): New map for TTY menu navigation.
1709 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1711 * frame.el (display-mouse-p): Report text-mode mouse as available
1713 (display-popup-menus-p): Report availability if mouse is
1714 available; don't condition on window-system.
1716 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1717 (tty-menu-selected-face): New faces.
1719 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1722 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1723 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1724 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1726 (lisp-mode-variables): New `elisp' argument.
1727 (emacs-lisp-mode): Use it.
1728 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1729 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1731 * indent.el: Use lexical-binding.
1732 (indent-region): Add progress reporter.
1733 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1735 (indent--next-tab-stop): New function to implement this behavior.
1736 (tab-to-tab-stop, move-to-tab-stop): Use it.
1738 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1740 * indent.el (indent-rigidly--current-indentation): New function.
1741 (indent-rigidly-map): New var.
1742 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1744 2013-10-08 Bastien Guerry <bzg@gnu.org>
1746 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1748 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1750 * progmodes/perl-mode.el: Use lexical-binding.
1751 Remove redundant :group args.
1752 (perl-nochange): Change default to be closer to other major modes's
1754 (perl-indent-line): Don't consider text on current line as a
1755 valid beginning of function from which to indent.
1757 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1758 with more than one argument (bug#15538).
1760 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1762 * vc/pcvs.el: Use lexical-binding.
1763 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1764 environment of `eval'.
1765 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1766 than a list of expressions. Adjust callers.
1767 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1769 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1771 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1772 case of the dot in a chained method call being on the following line.
1774 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1776 * electric.el (electric-indent-inhibit): New var.
1777 (electric-indent-post-self-insert-function): Use it.
1778 * progmodes/python.el (python-mode): Set it.
1780 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1783 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1785 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1786 (css-mode): Use electric-indent-chars.
1788 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1789 (font-lock-beg, font-lock-end): Move before first use.
1790 (nxml-mode): Use syntax-propertize-function.
1791 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1792 (nxml-extend-after-change-region): Remove.
1793 * nxml/xmltok.el: Use lexical-binding.
1794 (xmltok-save): Use `declare'.
1795 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1796 * nxml/nxml-util.el: Use lexical-binding.
1797 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1799 * nxml/nxml-ns.el: Use lexical-binding.
1800 (nxml-ns-save): Use `declare'.
1801 (nxml-ns-prefixes-for): Avoid add-to-list.
1802 * nxml/rng-match.el: Use lexical-binding.
1803 (rng--ipattern): Use cl-defstruct.
1804 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1805 (rng-cons-group-after, rng-subst-group-after)
1806 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1807 Use closures instead of `(lambda...).
1809 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1811 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1815 Use `tramp-handle-insert-file-contents'.
1816 (tramp-gvfs-handle-insert-file-contents): Remove function.
1818 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1819 Use `save-restriction' in order to keep markers.
1821 * net/trampver.el: Update release number.
1823 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * progmodes/compile.el (compilation-parse-errors):
1826 Use compilation--put-prop.
1827 (compilation--ensure-parse): Check compilation-multiline.
1829 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1831 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1834 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1836 * progmodes/ruby-mode.el: Fix recently added tests.
1837 (ruby-smie-grammar): Add - and +.
1838 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1839 (ruby-smie--backward-id): New functions.
1840 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1841 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1844 2013-10-07 Leo Liu <sdl.web@gmail.com>
1846 * register.el (register-preview-delay)
1847 (register-preview-functions): New variables.
1848 (register-read-with-preview, register-preview)
1849 (register-describe-oneline): New functions.
1850 (point-to-register, window-configuration-to-register)
1851 (frame-configuration-to-register, jump-to-register)
1852 (number-to-register, view-register, insert-register)
1853 (copy-to-register, append-to-register, prepend-to-register)
1854 (copy-rectangle-to-register): Use register-read-with-preview to
1855 read register. (Bug#15525)
1857 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1859 * net/network-stream.el (network-stream-open-starttls): Don't add
1860 --insecure if it's already present, because that gnutls-cli
1861 rejects getting that parameter twice.
1863 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1865 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1868 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1870 * newcomment.el (comment-use-global-state): Change default value
1871 to t, mark obsolete (Bug#15251).
1872 (comment-beginning): In addition to `comment-to-syntax', check the
1873 value of `comment-use-global-state'.
1875 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1878 (ruby-comment-column): Follow the global default, by default.
1879 (ruby-smie-grammar): Add assignment syntax.
1880 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1881 open-paren, a comma, or a \.
1882 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1883 and line continuations.
1884 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1885 followed by implicit semi-colons. Add rule for string concatenation
1886 and for indentation at BOB.
1887 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1889 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1890 calling next-sexp, since next-token may have skipped chars which
1891 next-sexp doesn't know should be skipped!
1893 2013-10-05 Leo Liu <sdl.web@gmail.com>
1895 * progmodes/octave.el (octave-send-region):
1896 Call compilation-forget-errors.
1898 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1900 * vc/vc-svn.el (vc-svn-find-admin-dir):
1901 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1902 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1903 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1904 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1906 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1910 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * subr.el (read-passwd): Hide chars even when called within a context
1913 where after-change-functions is disabled (bug#15501).
1914 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1915 until we removed ourself from overriding-terminal-local-map.
1917 2013-10-04 Leo Liu <sdl.web@gmail.com>
1919 * progmodes/octave.el (inferior-octave-mode):
1920 Call compilation-forget-errors.
1922 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1924 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1926 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1928 * net/secrets.el (secrets-create-collection): Add optional
1929 argument ALIAS. Use proper Label keyword. Append ALIAS as
1930 dbus-call-method argument. (Bug#15516)
1932 2013-10-04 Leo Liu <sdl.web@gmail.com>
1934 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1935 (inferior-octave-compilation-font-lock-keywords): New variables.
1936 (compilation-error-regexp-alist)
1937 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1938 (inferior-octave-mode): Use compilation-shell-minor-mode.
1940 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1942 * minibuffer.el (completion--replace): Be careful that `end' might be
1945 2013-10-03 Daiki Ueno <ueno@gnu.org>
1947 Add support for package signature checking.
1948 * emacs-lisp/package.el (url-http-file-exists-p)
1949 (epg-make-context, epg-context-set-home-directory)
1950 (epg-verify-string, epg-context-result-for)
1951 (epg-signature-status, epg-signature-to-string)
1952 (epg-check-configuration, epg-configuration)
1953 (epg-import-keys-from-file): Declare.
1954 (package-check-signature): New user option.
1955 (package-unsigned-archives): New user option.
1956 (package-desc): Add `signed' field.
1957 (package-load-descriptor): Set `signed' field if .signed file exists.
1958 (package--archive-file-exists-p): New function.
1959 (package--check-signature): New function.
1960 (package-install-from-archive): Check package signature.
1961 (package--download-one-archive): Check archive signature.
1962 (package-delete): Remove .signed file.
1963 (package-import-keyring): New command.
1964 (package-refresh-contents): Import default keyring.
1965 (package-desc-status): Add "unsigned" status.
1966 (describe-package-1, package-menu--print-info)
1967 (package-menu-mark-delete, package-menu--find-upgrades)
1968 (package-menu--status-predicate): Support "unsigned" status.
1970 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1973 the new compilation scheme using the new byte-codes.
1975 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1976 (byte-pophandler): New byte codes.
1977 (byte-goto-ops): Adjust accordingly.
1978 (byte-compile--use-old-handlers): New var.
1979 (byte-compile-catch): Use new byte codes depending on
1980 byte-compile--use-old-handlers.
1981 (byte-compile-condition-case--old): Rename from
1982 byte-compile-condition-case.
1983 (byte-compile-condition-case--new): New function.
1984 (byte-compile-condition-case): New function that dispatches depending
1985 on byte-compile--use-old-handlers.
1986 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1989 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1990 Optimize under `condition-case' and `catch' if
1991 byte-compile--use-old-handlers is nil.
1992 (disassemble-offset): Handle new bytecodes.
1994 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1996 * subr.el (error): Use `declare'.
1997 (decode-char, encode-char): Use advertised-calling-convention instead
1998 of the docstring to discourage use of the `restriction' arg.
2000 2013-10-03 Daiki Ueno <ueno@gnu.org>
2002 * epg.el (epg-verify-file): Add a comment saying that it does not
2003 notify verification error as a return value nor a signal.
2004 (epg-verify-string): Ditto.
2006 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2008 * progmodes/compile.el (compilation-start): Try globbing the arg to
2011 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2013 Sync with Tramp 2.2.8.
2015 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2016 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2017 * net/trampver.el: Update release number.
2019 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2021 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2022 and default-process-coding-system for darwin only.
2024 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2026 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2028 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2030 * vc/vc-git.el (vc-git-grep): Disable pager.
2032 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2034 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2035 Use :url instead of :homepage, as per
2036 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2038 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2039 non-nil, use `syntax-ppss' (Bug#15251).
2041 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2043 * progmodes/octave.el (inferior-octave-startup-file):
2044 Prefer ~/.emacs.d/init_octave.m.
2046 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2048 * emacs-lisp/package.el (package-desc-from-define):
2049 Accept additional arguments as plist, convert them to an alist and store
2050 them in the `extras' slot.
2051 (package-generate-description-file): Convert extras alist back to
2052 plist and append to the `define-package' form arguments.
2053 (package--alist-to-plist): New function.
2054 (package--ac-desc): Add `extras' slot.
2055 (package--add-to-archive-contents): Check if the archive-contents
2056 vector is long enough, and if it is, pass its `extras' slot value
2057 to `package-desc-create'.
2058 (package-buffer-info): Call `lm-homepage', pass the returned value
2059 to `package-desc-from-define'.
2060 (describe-package-1): Render the homepage button (Bug#13291).
2062 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2063 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2065 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2067 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2068 and default-process-coding-system to utf-8-unix (Bug#15402).
2070 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2072 * subr.el (looking-back): Do not recommend using looking-back.
2074 2013-09-28 Alan Mackenzie <acm@muc.de>
2076 Fix indentation/fontification of Java enum with "implements".
2078 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2079 regexp which matches "implements", etc., in Java.
2080 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2081 specifier clauses coming after "enum".
2082 * progmodes/cc-fonts.el (c-font-lock-declarations)
2083 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2086 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2088 * faces.el (region): Change ns_selection_color to
2089 ns_selection_fg_color, add ns_selection_bg_color.
2091 2013-09-28 Leo Liu <sdl.web@gmail.com>
2093 * progmodes/octave.el (inferior-octave-completion-table)
2094 (inferior-octave-completion-at-point): Minor tweaks.
2096 * textmodes/ispell.el (ispell-lookup-words): Rename from
2097 lookup-words. (Bug#15460)
2098 (lookup-words): Obsolete.
2099 (ispell-complete-word, ispell-command-loop): All uses changed.
2101 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2103 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2104 (octave-mode-menu): Add octave-send-buffer.
2105 (octave-send-buffer): New function.
2107 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2109 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2111 (octave-mode-menu): Add octave-lookfor.
2112 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2114 (octave-lookfor): New function.
2116 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * emacs-lisp/cl-macs.el:
2119 (cl--loop-destr-temps): Remove.
2120 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2122 (cl--loop-set-iterator-function): New function.
2123 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2124 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2125 Bind `it' with `let' instead of substituting it with `cl-subst'.
2126 (cl--unused-var-p): New function.
2127 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2128 Eliminate some unused variable warnings (bug#15326).
2130 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2132 * doc-view.el (doc-view-scale-reset): Rename from
2133 `doc-view-reset-zoom-level'.
2134 (doc-view-scale-adjust): New command.
2135 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2136 `doc-view-scale-adjust'.
2138 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2140 * doc-view.el (doc-view-reset-zoom-level): New command.
2141 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2142 zoom commands (bug#15466).
2144 2013-09-26 Kenichi Handa <handa@gnu.org>
2146 * international/quail.el (quail-help): Make it not a command.
2148 2013-09-26 Leo Liu <sdl.web@gmail.com>
2150 * minibuffer.el (completion-all-sorted-completions): Make args
2151 optional as they are.
2153 2013-09-25 Daniel Colascione <dancol@dancol.org>
2155 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2156 specs are and that they're not evaluated.
2158 2013-09-24 Sam Steingold <sds@gnu.org>
2160 * midnight.el (clean-buffer-list-kill-regexps)
2161 (clean-buffer-list-kill-buffer-names): Update for the new Man
2162 buffer naming which includes the object name.
2164 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2166 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2167 (eshell-parse-command, eshell-parse-pipeline): Use it since
2168 eshell-separate-commands requires a dynamic scoped var.
2169 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2171 2013-09-23 Leo Liu <sdl.web@gmail.com>
2173 * autoinsert.el (auto-insert-alist): Make the value of
2174 lexical-binding match its file setting.
2176 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2178 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2180 * autoarg.el (autoarg-kp-digit-argument):
2181 * electric.el (Electric-command-loop):
2182 * kmacro.el (kmacro-step-edit-insert):
2183 Do not set universal-argument-num-events.
2185 2013-09-22 Leo Liu <sdl.web@gmail.com>
2187 * files.el (interpreter-mode-alist): Add octave.
2189 2013-09-21 Alan Mackenzie <acm@muc.de>
2191 C++: fontify identifier in declaration following "public:" correctly.
2192 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2193 to match "public", etc.
2194 (c-decl-prefix-re): Add ":" into the C++ value.
2195 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2196 bit. Add a check for a ":" preceded by "public", etc.
2198 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2200 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2201 recognized by GDB 7.5 and later.
2203 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2205 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2207 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2209 * subr.el (internal--call-interactively): New const.
2210 (called-interactively-p): Use it (bug#3984).
2212 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2214 * vc/pcvs.el (cvs-mode-ignore):
2215 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2216 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2218 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2220 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2221 (eshell-ls-orig-insert-directory): Remove.
2222 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2223 (eshell-ls-use-in-dired): Use advice-add/remove.
2224 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2225 Add `orig-fun' arg for use in :around advice.
2226 Make it check (redundantly) eshell-ls-use-in-dired.
2228 2013-09-19 Glenn Morris <rgm@gnu.org>
2230 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2232 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2234 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2236 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2238 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2239 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2240 (tramp-get-remote-python): New defuns.
2241 (tramp-get-remote-uid-with-perl)
2242 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2243 contributed by yary <not.com@gmail.com> (tiny change).
2244 (tramp-get-remote-uid-with-python)
2245 (tramp-get-remote-gid-with-python): New defuns. Python code
2246 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2247 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2249 2013-09-19 Glenn Morris <rgm@gnu.org>
2251 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2253 * eshell/em-unix.el (eshell-remove-entries):
2254 Rename argument to avoid name-clash with global `top-level'.
2256 * eshell/esh-proc.el (eshell-kill-process-function):
2257 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2258 (eshell-reset-after-proc): Remove unused arg `proc'.
2260 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2261 (directory-files-and-attributes): Mark unused arg.
2263 * eshell/em-unix.el (eshell-remove-entries):
2264 Remove unused arg `path'. Update callers.
2266 * eshell/em-hist.el (eshell-hist-parse-arguments):
2267 Remove unused arg `silent'. Update callers.
2269 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2270 Fix (f)boundp mix-up.
2272 * eshell/em-smart.el (eshell-smart-scroll-window)
2273 (eshell-disable-after-change):
2274 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2276 2013-09-18 Alan Mackenzie <acm@muc.de>
2278 Fix fontification of type when followed by "const".
2279 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2280 "known" types from fontification.
2282 2013-09-18 Glenn Morris <rgm@gnu.org>
2284 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2285 (chart-face-list): Drop Emacsen without display-color-p.
2287 * net/eww.el (libxml-parse-html-region): Declare.
2288 (eww-display-html): Explicit error if no libxml2 support.
2290 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2292 * image.el (image-type-from-buffer, image-multi-frame-p):
2293 Remove --without-x warning/error.
2295 * mouse.el (mouse-yank-primary):
2296 * term.el (term-mouse-paste):
2297 Reorder to silence --without-x compilation.
2299 * mpc.el (doc-view-mode): Silence --without-x compilation.
2301 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2302 Silence --without-x compilation.
2304 * progmodes/gud.el (gud-find-file, gud-mode):
2305 Silence --without-x compilation.
2306 (tooltip-mode): Declare.
2308 * wdired.el (dired-backup-overwrite): Remove declaration.
2309 (wdired-mode-map): Add doc string.
2311 * custom.el (x-get-resource): Declare.
2313 * eshell/em-glob.el (ange-cache):
2314 * eshell/em-unix.el (ange-cache): Declare.
2316 * faces.el (x-display-list, x-open-connection, x-get-resource):
2319 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2320 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2323 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2325 * net/gnutls.el (gnutls-log-level): Declare.
2327 * net/shr.el (image-size, image-animate): Declare.
2329 * simple.el (font-info): Declare.
2331 * subr.el (x-popup-dialog): Declare.
2333 * term/common-win.el (x-select-enable-primary)
2334 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2337 * term/ns-win.el (x-handle-args): Declare.
2339 * term/x-win.el (x-select-enable-clipboard): Declare.
2341 * term/w32-win.el (create-default-fontset): Declare.
2343 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2346 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2347 (fit-frame-to-buffer): Explicit error if --without-x.
2348 (mouse-autoselect-window-select): Silence compiler.
2350 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2352 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2353 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2354 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2355 * eshell/esh-util.el (eshell-sublist):
2356 Remove unused local variables.
2358 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2360 * textmodes/two-column.el: Make 2C-split work for --without-x.
2361 (scroll-bar-columns): Autoload.
2362 (top-level): Require fringe when compiling.
2364 2013-09-18 Leo Liu <sdl.web@gmail.com>
2366 * subr.el (add-hook): Robustify to handle closure as well.
2368 2013-09-17 Glenn Morris <rgm@gnu.org>
2370 * simple.el (messages-buffer-mode-map): Unbind "g".
2372 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2374 * help-mode.el (help-mode-finish): Use derived-mode-p.
2375 Remove obsolete highlighting.
2377 * play/life.el (life-mode): Use define-derived-mode. Derive from
2379 (life): Let-bind inhibit-read-only.
2380 (life-setup): Avoid `setq'. Use `life-mode'.
2382 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2383 which should not be needed any more.
2384 (package-menu-refresh, package-menu-describe-package): Use user-error.
2386 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2387 (eshell-post-rewrite-command-hook): Make obsolete.
2388 (eshell-parse-command): Simplify.
2389 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2390 (eshell--cmd): Declare.
2391 (eshell-parse-pipeline): Remove unused var `final-p'.
2392 Pass a dynvar to eshell-post-rewrite-command-hook.
2393 Implement the new eshell-post-rewrite-command-function.
2394 (eshell-invoke-directly): Remove unused arg `input'.
2395 * eshell/esh-io.el (eshell-io-initialize):
2396 Use eshell-post-rewrite-command-function (bug#15399).
2397 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2398 adjust to new calling convention.
2399 (eshell-create-handles): Rename args to avoid clashing with dynvar
2402 2013-09-17 Glenn Morris <rgm@gnu.org>
2404 * simple.el (messages-buffer-mode): New major mode.
2405 (messages-buffer): New function.
2406 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2407 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2408 (ert-run-test): Use `messages-buffer' function.
2409 (ert--force-message-log-buffer-truncation): Ignore read-only.
2410 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2411 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2413 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2417 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2419 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2421 * icomplete.el (icomplete-in-buffer): New var.
2422 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2423 vars and replace them with functions.
2424 (icomplete-minibuffer-setup): Adjust accordingly.
2425 (icomplete--completion-table, icomplete--completion-predicate)
2426 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2428 (icomplete-forward-completions, icomplete-backward-completions)
2429 (icomplete-simple-completing-p, icomplete-exhibit)
2430 (icomplete-completions): Use them.
2431 (icomplete--in-region-buffer): New var.
2432 (icomplete--in-region-setup): New function.
2433 (icomplete-mode): Use it.
2435 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2437 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2438 return args and options.
2439 (eshell-eval-using-options): Use the new return value of
2440 eshell--do-opts to set the options's vars in their scope.
2441 (eshell--set-option): Rename from eshell-set-option.
2443 (eshell--process-option): Rename from eshell-process-option.
2445 (eshell--process-args): Use an `opt-vals' alist to store the options's
2446 values during their processing and return them additionally to the
2449 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2451 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2452 continuation character an operator, as far as indentation is
2453 concerned (Bug#15369).
2455 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2457 * window.el (window--state-put-2): Don't process buffer state
2458 when buffer doesn't exist any more (Bug#15382).
2460 2013-09-15 Glenn Morris <rgm@gnu.org>
2462 * eshell/em-unix.el (eshell/rm):
2463 Make -f ignore missing files. (Bug#15373)
2465 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2466 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2467 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2469 2013-09-14 Glenn Morris <rgm@gnu.org>
2471 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2473 2013-09-13 Glenn Morris <rgm@gnu.org>
2475 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2476 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2478 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2480 * frame.el (x-focus-frame): Mark as declared in frame.c.
2482 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * ls-lisp.el: Use advice-add.
2485 (original-insert-directory): Remove.
2486 (ls-lisp--insert-directory): Rename from insert-directory; add
2487 `orig-fun' argument.
2488 (insert-directory): Advise.
2490 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2492 * term.el (term-emulate-terminal): Decode the command string
2493 before passing it to term-command-hook. (Bug#15337)
2495 2013-09-13 Glenn Morris <rgm@gnu.org>
2497 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2499 * eshell/esh-ext.el (eshell-search-path): Declare.
2501 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2502 Otherwise an error occurs if eshell-dirs module not loaded.
2504 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2506 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2508 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2509 `tramp-check-proper-host'. Check for a valid method name.
2511 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2513 * net/tramp-sh.el (tramp-maybe-open-connection):
2514 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2516 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2517 also for hash values.
2519 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2521 * term/ns-win.el (parameters): Don't declare as dynamic.
2522 (before-make-frame-hook): Don't add ineffective function.
2524 * eshell/*.el: Use lexical-binding (bug#15231).
2526 2013-09-12 Kenichi Handa <handa@gnu.org>
2528 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2530 2013-09-12 Glenn Morris <rgm@gnu.org>
2532 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2533 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2535 * subr.el (do-after-load-evaluation): Also give compiler warnings
2536 when obsolete files are used (except by obsolete files).
2538 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2539 in the status output, assume `filename' is the first. (Bug#15322)
2541 * vc/vc.el (vc-deduce-fileset): Doc fix.
2543 * calc/calc-help.el (Info-goto-node):
2544 * progmodes/cperl-mode.el (Info-find-node):
2545 * vc/ediff.el (Info-goto-node): Update declarations.
2547 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2549 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2550 (vc-bzr-pull): Require vc-dispatcher.
2551 * vc/vc-git.el (vc-compilation-mode): Declare.
2552 (vc-git-pull): Require vc-dispatcher.
2554 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2556 * progmodes/octave.el (help-button-action): Declare.
2558 * shell.el (shell-directory-tracker): Output error as a message
2559 rather than just returning it as a string.
2560 (shell-process-pushd): Remove useless use of message.
2562 * dframe.el (dframe-timer-fn):
2563 * files.el (dir-locals-read-from-file):
2564 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2566 * reveal.el (reveal-post-command):
2567 * saveplace.el (load-save-place-alist-from-file):
2568 * shell.el (shell-resync-dirs):
2569 * w32-common-fns.el (x-get-selection-value):
2570 * emacs-lisp/copyright.el (copyright-find-copyright):
2571 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2572 * emulation/tpu-edt.el (tpu-copy-keyfile):
2573 * play/bubbles.el (bubbles--mark-neighbourhood):
2574 * progmodes/executable.el
2575 (executable-make-buffer-file-executable-if-script-p):
2576 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2578 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2580 Cleanup Eshell to rely less on dynamic scoping.
2581 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2582 last-value, and ext-command here. Bind `args' closer to `body'.
2583 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2584 (eshell--args): Declare new dynamic var.
2585 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2586 last-value, and ext-command. Pass `args' to `body'.
2587 (eshell-process-args): Bind eshell--args.
2588 (eshell-set-option): Use eshell--args.
2589 * eshell/eshell.el (eshell): Use derived-mode-p.
2590 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2591 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2592 (eshell-glob-function): Declare.
2593 * eshell/esh-util.el: Require cl-lib.
2594 (eshell-read-hosts-file): Avoid add-to-list.
2595 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2597 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2599 (eshell/diff): Remove unused var `err'.
2600 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2602 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2603 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2605 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2606 Move declaration before first use.
2607 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2608 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2611 2013-09-12 Glenn Morris <rgm@gnu.org>
2613 * term/ns-win.el (global-map): Remove binding for ispell-next,
2614 deleted 1999-05-29. (Bug#15357)
2616 2013-09-11 Glenn Morris <rgm@gnu.org>
2618 * echistory.el (electric-command-history): Remove call to deleted func.
2620 * play/landmark.el (landmark-mode): Fix typos.
2622 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2623 Check cvs-sort-ignore-file is bound.
2625 * savehist.el: No need for cl when compiling on Emacs.
2627 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2629 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2631 (eshell-self-insert-command, eshell-send-invisible):
2632 Remove unused argument.
2633 (eshell-handle-control-codes): Remove unused var `orig'.
2634 Avoid delete-backward-char.
2636 * files.el (set-auto-mode): Simplify a bit further.
2638 2013-09-11 Glenn Morris <rgm@gnu.org>
2640 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2641 (set-auto-mode): Don't regexp-quote elements.
2642 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2643 * progmodes/cc-mode.el (interpreter-mode-alist):
2644 * progmodes/ruby-mode.el (interpreter-mode-alist):
2645 Revert previous change.
2647 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * play/snake.el (snake-mode):
2650 * play/mpuz.el (mpuz-mode):
2651 * play/landmark.el (lm-mode):
2652 * play/blackbox.el (blackbox-mode):
2653 * play/5x5.el (5x5-mode):
2654 * obsolete/options.el (Edit-options-mode):
2655 * net/quickurl.el (quickurl-list-mode):
2656 * net/newst-treeview.el (newsticker-treeview-mode):
2657 * mail/rmailsum.el (rmail-summary-mode):
2658 * mail/mspools.el (mspools-mode):
2659 * locate.el (locate-mode):
2660 * ibuffer.el (ibuffer-mode):
2661 * emulation/ws-mode.el (wordstar-mode):
2662 * emacs-lisp/debug.el (debugger-mode):
2663 * array.el (array-mode):
2664 * net/eudc.el (eudc-mode): Use define-derived-mode.
2665 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2666 Move initialization into declaration.
2667 (mairix-searches-mode): Use define-derived-mode.
2668 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2669 (eudc-edit-hotlist): Use dolist.
2670 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2671 (Man-mode): Use define-derived-mode.
2672 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2673 (Info-edit-mode): Use define-derived-mode.
2674 (Info-cease-edit): Use Info-mode.
2675 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2677 (eshell-mode): Use define-derived-mode.
2678 * chistory.el (command-history-mode-map): Rename from
2679 command-history-map.
2680 (command-history-mode): Use define-derived-mode.
2681 (Command-history-setup): Remove function.
2682 * calc/calc.el (calc-trail-mode-map): New var.
2683 (calc-trail-mode): Use define-derived-mode.
2684 (calc-trail-buffer): Set calc-main-buffer manually.
2685 * bookmark.el (bookmark-insert-annotation): New function.
2686 (bookmark-edit-annotation): Use it.
2687 (bookmark-edit-annotation-mode): Make it a proper major mode.
2688 (bookmark-send-edited-annotation): Use derived-mode-p.
2689 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2690 closer to its ideal place. Use \' to match EOS.
2692 * profiler.el (profiler-calltree-find): Use function-equal.
2694 2013-09-10 Glenn Morris <rgm@gnu.org>
2696 * files.el (interpreter-mode-alist): Convert to regexps.
2697 (set-auto-mode): Adapt for this. (Bug#15306)
2698 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2699 Comment out unused variable.
2700 * progmodes/cc-mode.el (interpreter-mode-alist):
2701 * progmodes/python.el (interpreter-mode-alist):
2702 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2703 * progmodes/sh-script.el (sh-set-shell):
2704 No longer use interpreter-mode-alist to get list of shells.
2706 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2708 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2710 * simple.el: Use set-temporary-overlay-map for universal-argument.
2711 (universal-argument-map): Don't use default-bindings (bug#15317).
2712 Bind switch-frame explicitly. Replace universal-argument-minus with
2713 a conditional binding.
2714 (universal-argument-num-events, saved-overriding-map): Remove.
2715 (restore-overriding-map): Remove.
2716 (universal-argument--mode): Rename from save&set-overriding-map,
2718 (universal-argument, universal-argument-more, negative-argument)
2719 (digit-argument): Adjust accordingly.
2720 (universal-argument-minus): Remove.
2721 (universal-argument-other-key): Remove.
2723 * subr.el (with-demoted-errors): Add `format' argument.
2725 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2727 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2728 `tramp-cleanup-connection'.
2730 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2731 parameters KEEP-DEBUG and KEEP-PASSWORD.
2733 * net/tramp.el (tramp-file-name-handler):
2734 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2735 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2736 (tramp-maybe-open-connection):
2737 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2738 Use `tramp-cleanup-connection'.
2740 * net/tramp-sh.el (tramp-maybe-open-connection):
2741 Catch 'uname-changed inside the progress reporter.
2743 2013-09-10 Glenn Morris <rgm@gnu.org>
2745 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2747 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2748 returns "alternate access method" in mode (eg "-rw-r--r--.").
2750 2013-09-08 Glenn Morris <rgm@gnu.org>
2752 * saveplace.el (load-save-place-alist-from-file):
2753 Demote errors. (Bug#15305)
2755 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2757 Improve compatibility with older Emacsen, and XEmacs.
2759 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2760 only if it is bound. It isn't for XEmacs.
2761 (with-tramp-progress-reporter): Do not let-bind `result'.
2762 This yields to scoping errors in XEmacs.
2763 (tramp-handle-make-auto-save-file-name): New function, moved from
2766 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2767 for `make-auto-save-file-name'.
2768 (tramp-adb--gnu-switches-to-ash):
2769 Use `tramp-compat-replace-regexp-in-string'.
2771 * net/tramp-cache.el (tramp-cache-print): Call
2772 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2774 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2775 bound. It isn't for XEmacs.
2777 * net/tramp-compat.el (tramp-compat-copy-file):
2778 Catch `wrong-number-of-arguments' error.
2779 (tramp-compat-replace-regexp-in-string): New defun.
2781 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2782 for `make-auto-save-file-name'.
2783 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2785 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2786 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2787 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2789 * net/tramp-gw.el (tramp-gw-open-network-stream):
2790 Use `tramp-compat-replace-regexp-in-string'.
2792 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2793 Call `tramp-handle-make-auto-save-file-name'.
2794 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2795 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2796 (tramp-sh-file-inotifywait-process-filter):
2797 Use `tramp-compat-replace-regexp-in-string'.
2798 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2801 for `make-auto-save-file-name'.
2802 (tramp-smb-handle-copy-directory):
2803 Call `tramp-compat-replace-regexp-in-string'.
2804 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2805 (tramp-smb-handle-copy-file): Improve error message.
2806 (tramp-smb-handle-rename-file): Rename directly only in case
2807 `newname' does not exist yet. This is a restriction of smbclient.
2808 (tramp-smb-maybe-open-connection): Rerun the function only when
2809 `auth-sources' is non-nil.
2811 2013-09-08 Kenichi Handa <handa@gnu.org>
2813 * international/characters.el: Set category "^" (Combining) for
2816 2013-09-07 Alan Mackenzie <acm@muc.de>
2818 Correctly fontify Java class constructors.
2819 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2821 (c-recognize-typeless-decls): Set the Java value to t.
2822 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2823 While handling a "(", add a check for, effectively, Java, and handle a
2824 "typeless" declaration there.
2826 2013-09-07 Roland Winkler <winkler@gnu.org>
2828 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2829 field subtitle for entry type book.
2831 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2833 * minibuffer.el: Make minibuffer-complete call completion-in-region
2834 rather than other way around.
2835 (completion--some, completion-pcm--find-all-completions):
2836 Don't delay signals when debugging.
2837 (minibuffer-completion-contents): Beware fields within the
2838 minibuffer contents.
2839 (completion-all-sorted-completions): Use defvar-local.
2840 (completion--do-completion, completion--cache-all-sorted-completions)
2841 (completion-all-sorted-completions, minibuffer-force-complete):
2842 Add args `beg' and `end'.
2843 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2844 (minibuffer-complete): Use completion-in-region.
2845 (completion-complete-and-exit): New fun, extracted from
2846 minibuffer-complete-and-exit.
2847 (minibuffer-complete-and-exit): Use it.
2848 (completion--complete-and-exit): Rename from
2849 minibuffer--complete-and-exit.
2850 (completion-in-region--single-word): New function, extracted from
2851 minibuffer-complete-word.
2852 (minibuffer-complete-word): Use it.
2853 (display-completion-list): Make `common-substring' argument obsolete.
2854 (completion--in-region): Call completion--in-region-1 instead of
2855 minibuffer-complete.
2856 (completion-help-at-point): Pass boundaries to
2857 minibuffer-completion-help as args rather than via an overlay.
2858 (completion-pcm--string->pattern): Use `any-delim'.
2859 (completion-pcm--optimize-pattern): New function.
2860 (completion-pcm--pattern->regex): Handle `any-delim'.
2861 * icomplete.el (icomplete-forward-completions)
2862 (icomplete-backward-completions, icomplete-completions):
2863 Adjust calls to completion-all-sorted-completions and
2864 completion--cache-all-sorted-completions.
2865 (icomplete-with-completion-tables): Default to t.
2866 * emacs-lisp/crm.el (crm--current-element): Rename from
2867 crm--select-current-element. Don't put an overlay but return the
2869 (crm--completion-command): Take two new args to bind to the boundaries.
2870 (crm-completion-help): Adjust accordingly.
2871 (crm-complete): Use completion-in-region.
2872 (crm-complete-word): Use completion-in-region--single-word.
2873 (crm-complete-and-exit): Use completion-complete-and-exit.
2875 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2877 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2880 2013-09-06 Juri Linkov <juri@jurta.org>
2882 * info.el (Info-display-images-node): When image file doesn't exist
2883 display text version of the image if it's provided in the Info file.
2884 Otherwise, display the location of missing image from SRC attribute.
2885 Add help-echo text property from ALT attribute. (Bug#15279)
2887 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2889 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2890 (edit-abbrevs-mode): Use define-derived-mode.
2892 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2893 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2895 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2896 Use define-derived-mode.
2898 * epg.el (epg-start-encrypt): Minor CSE simplification.
2900 2013-09-06 William Xu <william.xwl@gmail.com>
2902 * arc-mode.el: Add support for 7za (bug#15264).
2903 (archive-7z-program): New var.
2904 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2905 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2906 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2908 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2912 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2913 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2914 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2915 (tramp-postfix-host-format, tramp-file-name-regexp)
2916 (tramp-completion-file-name-regexp)
2917 (tramp-completion-dissect-file-name)
2918 (tramp-handle-substitute-in-file-name): Remove 'url case.
2919 (tramp-file-name-regexp-url)
2920 (tramp-completion-file-name-regexp-url): Remove constants.
2922 2013-09-06 Glenn Morris <rgm@gnu.org>
2924 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2926 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2928 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2929 keywords" below "here-doc beginnings" (Bug#15270).
2931 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * subr.el (pop): Use `car-safe'.
2934 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2935 to detect unused `pop' return value.
2937 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2939 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2940 (python-fill-string): Remove unused var `marker'.
2941 (python-skeleton-add-menu-items): Remove unused var `items'.
2943 * international/mule-cmds.el: Require CL.
2944 (find-coding-systems-for-charsets): Avoid add-to-list.
2945 (sanitize-coding-system-list): New function, extracted from
2946 select-safe-coding-system-interactively.
2947 (select-safe-coding-system-interactively): Use it.
2948 (read-input-method-name): Accept symbols for `default'.
2950 * emacs-lisp/advice.el (defadvice): Add indent rule.
2952 2013-09-05 Daniel Hackney <dan@haxney.org>
2956 * net/browse-url.el:
2959 * net/eudcb-ldap.el:
2972 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2973 byte compiler. Remove some unused let-bound variables.
2975 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2978 a "ref-cell", since it gets better optimized (bug#14883).
2980 2013-09-05 Glenn Morris <rgm@gnu.org>
2982 * progmodes/cc-awk.el (c-forward-sws): Declare.
2984 2013-09-04 Glenn Morris <rgm@gnu.org>
2986 * generic-x.el [rul-generic-mode]: Require cc-mode.
2987 (c++-mode-syntax-table): Declare.
2988 (rul-generic-mode-syntax-table): Init in the defvar.
2990 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2992 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2993 (vc-do-command, vc-set-async-update):
2994 * vc/vc-mtn.el (vc-mtn-dir-status):
2995 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2996 (vc-hg-pull, vc-hg-merge-branch):
2997 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2998 (vc-git-merge-branch):
2999 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3000 (vc-cvs-dir-status-files):
3001 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3002 (vc-bzr-dir-status-files):
3003 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3004 * vc/vc-annotate.el: Use lexical-binding.
3005 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3006 (vc-sentinel-movepoint): Declare.
3007 (vc-annotate): Don't use `goto-line'.
3008 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3009 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3010 (vc-sentinel-movepoint): Declare.
3011 * vc/vc-svn.el: Use lexical-binding.
3012 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3014 * vc/vc-rcs.el: Use lexical-binding.
3016 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3017 `deleted'. Don't drop errors silently.
3019 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3021 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3023 * vc/vc.el (vc-ignore): Rewrite.
3024 (vc-default-ignore): New function.
3025 (vc-default-ignore-completion-table): Use find-ignore-file.
3027 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3028 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3029 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3030 Remove. Most code moved to vc.el.
3032 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3035 * net/tramp-smb.el (tramp-smb-get-file-entries):
3036 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3037 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3039 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3041 (eww-change-select): Remove unused var `properties'.
3042 (eww-make-unique-file-name): Remove unused var `base'.
3044 * finder.el (finder-compile-keywords): Don't mess with windows.
3046 * calculator.el (calculator-funcall): Fix typo in last change.
3048 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3050 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3051 <pkg>-autoloads.el file stop us.
3053 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3054 warnings, and factor out common code.
3056 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3058 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3059 two-character operators and whether the character preceding them
3060 changes their meaning (Bug#15208).
3062 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3064 Format code sent to Python shell for robustness.
3065 * progmodes/python.el (python-shell-buffer-substring):
3067 (python-shell-send-region, python-shell-send-buffer): Use it.
3069 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3071 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3072 * net/tramp.el (tramp-user-error): ... here.
3073 (tramp-find-method, tramp-check-proper-host)
3074 (tramp-dissect-file-name, tramp-debug-message)
3075 (tramp-handle-shell-command):
3076 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3077 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3079 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3081 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3083 * avoid.el (mouse-avoidance-point-position)
3084 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3087 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3089 * progmodes/python.el (python-shell-completion-get-completions):
3090 Drop use of deleted `comint-last-prompt-overlay'.
3091 (python-nav-if-name-main): New command.
3093 2013-09-01 Glenn Morris <rgm@gnu.org>
3095 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3096 Avoid leading space in $wins. Otherwise the sed command used by
3097 eg compile-main ends up containing "/*.el". (Bug#15170)
3099 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3101 2013-08-30 Glenn Morris <rgm@gnu.org>
3103 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3104 Fix is-this-a-directory logic. (Bug#15220)
3106 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * textmodes/css-mode.el: Use SMIE.
3109 (css-smie-grammar): New var.
3110 (css-smie--forward-token, css-smie--backward-token)
3111 (css-smie-rules): New functions.
3112 (css-mode): Use them.
3113 (css-navigation-syntax-table): Remove var.
3114 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3115 (css-indent-calculate, css-indent-line): Remove functions.
3117 Misc changes to reduce use of `(lambda...); and other cleanups.
3118 * cus-edit.el: Use lexical-binding.
3119 (customize-push-and-save, customize-apropos)
3120 (custom-buffer-create-internal): Use closures.
3121 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3122 * progmodes/ada-xref.el: Use setq.
3123 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3124 * dframe.el: Use lexical-binding.
3125 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3126 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3127 * descr-text.el: Use lexical-binding.
3128 (describe-text-widget, describe-text-sexp, describe-property-list):
3130 * comint.el (comint-history-isearch-push-state): Use a closure.
3131 * calculator.el: Use lexical-binding.
3132 (calculator-number-to-string): Make it work with lexical-binding.
3133 (calculator-funcall): Same and use cl-letf.
3135 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3136 (lisp--company-doc-string, lisp--company-location): New functions.
3137 (lisp-completion-at-point): Use them to improve Company support.
3139 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3140 params of lambda expressions.
3141 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3142 (ruby-smie--opening-pipe-p): New function.
3143 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3144 symbols and matched |...| for formal params.
3145 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3146 from being treated as hanging. Handle "rescue".
3148 2013-08-29 Glenn Morris <rgm@gnu.org>
3150 * progmodes/cc-engine.el (c-pull-open-brace):
3151 Move definition before use.
3153 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3156 are immutable. Don't use `unsafe' any more.
3157 (cl--defsubst-expand): Don't substitute at the same time as keeping
3158 a residual unused let-binding. Don't use `unsafe' any more.
3160 2013-08-29 Glenn Morris <rgm@gnu.org>
3162 * calendar/cal-china.el (calendar-chinese-year-cache):
3165 * nxml/nxml-util.el (nxml-debug-clear-inside):
3166 Use cl-loop rather than loop.
3168 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3170 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3172 2013-08-28 Glenn Morris <rgm@gnu.org>
3174 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3176 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3178 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3180 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * simple.el (repeat-complex-command--called-interactively-skip):
3184 (repeat-complex-command): Use it (bug#14136).
3186 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3187 (c-define-abbrev-table): Add `doc' argument.
3188 (c-mode-abbrev-table, c++-mode-abbrev-table)
3189 (objc-mode-abbrev-table, java-mode-abbrev-table)
3190 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3191 (awk-mode-abbrev-table): Use it.
3192 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3193 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3194 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3195 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3196 Move initialization into the declaration; and remove any
3199 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3200 and dynamic let binding.
3202 * vc/smerge-mode.el: Remove redundant :group args.
3204 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3207 2013-08-28 Juri Linkov <juri@jurta.org>
3209 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3210 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3211 (isearch-other-meta-char): Handle an undefined shifted printing
3212 character by downshifting it. (Bug#15200)
3214 2013-08-28 Juri Linkov <juri@jurta.org>
3216 * isearch.el (isearch-search): Change regexp error message for
3217 non-regexp searches. (Bug#15166)
3219 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3221 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3222 for portability to hosts where /bin/sh has problems.
3224 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3228 2013-08-27 Juri Linkov <juri@jurta.org>
3230 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3231 in the keyboard macro. (Bug#15126)
3233 2013-08-27 Juri Linkov <juri@jurta.org>
3235 * isearch.el (isearch-quote-char): Comment out converting unibyte
3236 to multibyte, thus syncing with its `quoted-insert' counterpart.
3239 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3241 * window.el (display-buffer-use-some-window): Add missing
3242 argument in call of get-largest-window (Bug#15185).
3243 Reported by Stephen Leake.
3245 2013-08-27 Glenn Morris <rgm@gnu.org>
3247 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3249 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3252 from a matcher-function unless there's no more matches (bug#15161).
3254 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3256 * minibuffer.el: Revert change from 2013-08-20.
3258 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3259 with text property `tramp-default', if appropriate.
3260 (tramp-check-proper-host): New defun.
3261 (tramp-dissect-file-name): Do not check hostname. Revert change
3263 (tramp-backtrace): Make VEC-OR-PROC optional.
3265 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3266 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3267 * net/tramp-sh.el (tramp-maybe-open-connection):
3268 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3269 Apply `tramp-check-proper-host'.
3271 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3273 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3274 lambda expression in order to have `describe-variable' display it.
3276 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3278 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3279 BUF can be optional. (Bug#15186)
3281 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3283 * progmodes/flymake.el (flymake-get-real-file-name-function):
3284 Fix broken customization. (Bug#15184)
3286 2013-08-25 Alan Mackenzie <acm@muc.de>
3288 Improve indentation of bracelists defined by macros (without "=").
3290 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3291 expansion begins with "{", regard it as bracelist when it doesn't
3294 Parse C++ inher-intro when there's a template split over 2 lines.
3296 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3297 rigorously the search for "class" etc. followed by ":".
3299 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3300 random languages a regexp which never matches rather than nil.
3302 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3304 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3305 (c-awk-regexp-one-line-possibly-open-char-list-re)
3306 (c-awk-one-line-possibly-open-regexp-re)
3307 (c-awk-one-line-non-syn-ws*-re): Remove.
3308 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3309 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3310 (c-awk-space*-unclosed-regexp-/-re): New constants.
3311 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3312 aren't regexp delimiters.
3314 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3315 handling for a rare situation in AWK Mode involving unterminated
3318 2013-08-23 Glenn Morris <rgm@gnu.org>
3320 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3322 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3324 * files.el (create-file-buffer): If the result would begin with
3325 spaces, prepend a "|" instead of removing them. (Bug#15162)
3327 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3330 text-properties (bug#15155).
3332 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3334 (calc-keypad-redraw): Remove unused var `pad'.
3335 (calc-keypad-press): Remove unused var `menu'.
3337 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3339 * window.el (display-buffer-pop-up-frame):
3340 Call pop-up-frame-function with BUFFER current so `make-frame' will
3341 use it as the new frame's buffer (Bug#15133).
3343 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * calendar/timeclock.el: Minor cleanups.
3346 (timeclock-ask-before-exiting, timeclock-use-display-time):
3348 (timeclock-modeline-display): Define as alias before the
3350 (timeclock-mode-line-display): Use define-minor-mode.
3351 (timeclock-day-list-template): Make it a function, add an argument.
3352 (timeclock-day-list-required, timeclock-day-list-length)
3353 (timeclock-day-list-debt, timeclock-day-list-span)
3354 (timeclock-day-list-break): Adjust calls accordingly.
3356 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3358 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3359 Use read--expression so that completion works again.
3361 2013-08-21 Sam Steingold <sds@gnu.org>
3363 Add rudimentary inferior shell interaction
3364 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3365 (sh-set-shell): Reset it.
3366 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3367 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3369 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * align.el: Use lexical-binding.
3372 (align-region): Simplify accordingly.
3374 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3376 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3378 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3381 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3385 * net/tramp-cmds.el:
3387 * net/tramp-gvfs.el:
3389 * net/tramp-sh.el: Don't wrap external variable declarations by
3390 `eval-when-compile'.
3392 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3394 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3395 now that Emacs supports ImageMagick animations.
3397 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3399 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3400 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3402 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3404 * window.el (mouse-autoselect-window-select): Do autoselect when
3405 mouse pointer is on margin.
3407 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3409 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3411 2013-08-16 Glenn Morris <rgm@gnu.org>
3413 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3414 Handle "Remote Directory" response of some clients. (Bug#15058)
3416 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3417 Tweak warning. (Bug#14926)
3419 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3420 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3422 * image-mode.el (image-mode-map): Add menu items to reverse,
3423 increase, decrease, reset animation speed.
3424 (image--set-speed, image-increase-speed, image-decrease-speed)
3425 (image-reverse-speed, image-reset-speed): New functions.
3426 (image-mode-map): Add bindings for speed commands.
3428 * image.el (image-animate-get-speed, image-animate-set-speed):
3430 (image-animate-timeout): Respect image :speed property.
3432 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3434 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3435 previous line (bug#15101).
3436 (debugger-eval-expression, debugger-record-expression):
3437 Use read--expression (bug#15102).
3439 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3441 Remove byte compiler warnings, visible when compiling with
3442 `byte-compile-force-lexical-warnings' set to t.
3444 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3445 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3446 (tramp-handle-unhandled-file-name-directory)
3447 (tramp-handle-file-notify-add-watch, tramp-action-login)
3448 (tramp-action-succeed, tramp-action-permission-denied)
3449 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3452 * net/tramp-adb.el (tramp-adb-parse-device-names)
3453 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3454 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3455 (tramp-adb-handle-file-truename): Remove unused arguments.
3457 * net/tramp-cache.el (tramp-flush-directory-property)
3458 (tramp-flush-connection-property, tramp-list-connections)
3459 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3461 * net/tramp-compat.el (tramp-compat-make-temp-file):
3462 Rename FILENAME to F.
3464 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3465 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3466 (tramp-zeroconf-parse-workstation-device-names)
3467 (tramp-zeroconf-parse-webdav-device-names)
3468 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3470 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3471 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3473 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3475 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3476 (tramp-sh-handle-insert-file-contents-literally)
3477 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3479 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3480 Remove unused variables.
3482 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3483 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3484 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3486 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3487 Make them a defconst.
3488 (tramp-uuencode-region): Remove unused variable.
3490 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3492 * frameset.el (frameset--prop-setter): New function.
3493 (frameset-prop): Add gv-setter declaration.
3494 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3495 parameter was already set in FILTERED. Doc fix.
3496 (frameset--record-minibuffer-relationships): Allow saving a
3497 minibufferless frame without its corresponding minibuffer frame.
3498 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3499 frame, if the frame id matches.
3500 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3501 frames before orphaned ones.
3502 (frameset-restore): Warn about orphaned windows, instead of error out.
3504 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3506 * window.el (window-make-atom): Don't overwrite parameter
3508 (display-buffer-in-atom-window): Handle special case where we
3509 split an already atomic window.
3510 (window--major-non-side-window, display-buffer-in-side-window)
3511 (window--side-check): Ignore minibuffer window when walking
3513 (window-deletable-p): Return 'frame only if no other frame uses
3514 our minibuffer window.
3515 (record-window-buffer): Run buffer-list-update-hook.
3516 (split-window): Make sure window--check-frame won't destroy an
3517 existing atomic window in case the new window gets nested
3519 (display-buffer-at-bottom): Ignore minibuffer window when
3520 walking window tree. Don't split a side window.
3521 (pop-to-buffer): Don't set-buffer here, the select-window call
3523 (mouse-autoselect-window-select): Autoselect only if we are in the
3524 text portion of the window.
3526 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3528 * net/shr.el (shr-parse-image-data): New function to grab both the
3529 data itself and the Content-Type.
3530 (shr-put-image): Use it.
3532 * net/eww.el (eww-display-image): Ditto.
3534 * image.el (image-content-type-suffixes): New variable.
3536 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3538 * progmodes/python.el (python-imenu--build-tree)
3539 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3541 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3543 * simple.el (backward-word): Mention the optional argument.
3545 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3547 * frameset.el (frameset--make): Rename constructor from make-frameset.
3548 (frameset-p, frameset-valid-p): Don't autoload.
3549 (frameset-valid-p): Use normal accessors.
3551 2013-08-13 Glenn Morris <rgm@gnu.org>
3553 * progmodes/compile.el (compile-command): Tweak example in doc.
3554 * obsolete/scribe.el (scribe-mode):
3555 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3557 * mail/feedmail.el (feedmail-confirm-outgoing)
3558 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3560 * cus-start.el (truncate-partial-width-windows): Fix type.
3562 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3564 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3566 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3568 * emacs-lisp/timer.el (timer--time-setter): New function.
3569 (timer--time): Use it as gv-setter.
3571 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3572 setter is not a symbol.
3574 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3576 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3577 if sending fails. This makes debugging easier.
3579 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3581 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3582 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3583 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3585 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3587 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3589 2013-08-12 Glenn Morris <rgm@gnu.org>
3591 * format.el (format-annotate-function):
3592 Handle read-only text properties in the source. (Bug#14887)
3594 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3596 * net/eww.el (eww-display-html): Ignore coding system errors.
3597 One web site uses "utf-8lias" as the coding system.
3599 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3601 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3603 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3605 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3606 (tutorial--detailed-help): Remove unused local variables.
3607 (tutorial--save-tutorial-to): Use ignore-errors.
3608 (help-with-tutorial): Use looking-at-p.
3610 * view.el (view-buffer-other-window, view-buffer-other-frame):
3611 Mark unused arguments.
3613 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3614 (woman-select-symbol-fonts, woman, woman-find-file)
3615 (woman-insert-file-contents, woman-non-underline-faces):
3617 (woman1-unquote): Move declaration.
3619 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3620 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3621 argument. Remove unused local variable.
3622 (xml-parse-elem-type): Use string-match-p.
3623 (xml-substitute-numeric-entities): Use ignore-errors.
3625 * calculator.el (calculator): Mark unused argument.
3626 (calculator-paste, calculator-quit, calculator-integer-p):
3628 (calculator-string-to-number, calculator-decimal, calculator-exp)
3629 (calculator-op-or-exp): Use string-match-p.
3631 * dired.el (dired-buffer-more-recently-used-p): Declare.
3632 (dired-insert-set-properties, dired-insert-old-subdirs):
3635 * dired-aux.el (dired-compress): Use ignore-errors.
3636 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3637 (dired-do-async-shell-command, dired-do-shell-command)
3638 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3639 (dired-insert-subdir-validate): Use string-match-p.
3640 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3641 (dired-add-entry): Use string-match-p, looking-at-p.
3642 (dired-insert-subdir-newpos): Remove unused local variable.
3644 * filenotify.el (file-notify-callback): Remove unused local variable.
3646 * filesets.el (filesets-error): Mark unused argument.
3647 (filesets-which-command-p, filesets-filter-dir-names)
3648 (filesets-directory-files, filesets-get-external-viewer)
3649 (filesets-ingroup-get-data): Use string-match-p.
3651 * find-file.el (ff-other-file-name, ff-other-file-name)
3652 (ff-find-the-other-file, ff-cc-hh-converter):
3653 Remove unused local variables.
3654 (ff-get-file-name): Use string-match-p.
3655 (ff-all-dirs-under): Use ignore-errors.
3657 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3658 (follow-select-if-visible): Remove unused local variable.
3660 * forms.el (read-file-filter): Move declaration.
3661 (forms--make-format, forms--make-parser, forms-insert-record):
3662 Quote function with #'.
3663 (forms--update): Use string-match-p. Quote function with #'.
3665 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3666 (help-make-xrefs): Use looking-at-p.
3667 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3669 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3670 (ibuffer-confirm-operation-on): Use string-match-p.
3672 * msb.el (msb-item-handler, msb-dired-item-handler):
3673 Mark unused arguments.
3675 * ses.el (ses-decode-cell-symbol)
3676 (ses-kill-override): Remove unused local variable.
3677 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3678 (ses-load): Use ignore-errors, looking-at-p.
3679 (ses-jump-safe): Use ignore-errors.
3680 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3682 * tabify.el (untabify, tabify): Mark unused arguments.
3684 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3685 Mark unused argument.
3686 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3687 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3689 * emacs-lisp/timer.el (timer--time): Define setter with
3690 gv-define-setter to avoid deprecation warning.
3692 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3693 (*record-cmpl-statistics-p*): Remove (was commented out).
3694 (cmpl-statistics-block): Remove (body was commented out).
3695 All callers changed.
3696 (add-completions-from-buffer, load-completions-from-file):
3697 Remove unused variables.
3699 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3701 * filecache.el (file-cache-delete-file-list):
3702 Print message only when told so.
3703 (file-cache-files-matching): Use #' in mapconcat argument.
3705 * ffap.el (ffap-url-at-point): Fix reference to variable
3706 thing-at-point-default-mail-uri-scheme.
3708 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * subr.el (define-error): New function.
3711 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3712 error-file-not-found and define with define-error.
3713 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3714 and define with define-error.
3715 * userlock.el (file-locked, file-supersession):
3716 * simple.el (mark-inactive):
3717 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3718 * progmodes/ada-mode.el (ada-mode-errors):
3719 * play/life.el (life-extinct):
3720 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3721 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3722 * nxml/rng-util.el (rng-error):
3723 * nxml/rng-uri.el (rng-uri-error):
3724 * nxml/rng-match.el (rng-compile-error):
3725 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3726 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3727 * nxml/nxml-rap.el (nxml-scan-error):
3728 * nxml/nxml-outln.el (nxml-outline-error):
3729 * net/soap-client.el (soap-error):
3730 * net/gnutls.el (gnutls-error):
3731 * net/ange-ftp.el (ftp-error):
3732 * mpc.el (mpc-proc-error):
3733 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3734 (json-number-format, json-string-escape, json-string-format)
3735 (json-key-format, json-object-format):
3736 * jka-compr.el (compression-error):
3737 * international/quail.el (quail-error):
3738 * international/kkc.el (kkc-error):
3739 * emacs-lisp/ert.el (ert-test-failed):
3740 * calc/calc.el (calc-error, inexact-result, math-overflow)
3742 * bookmark.el (bookmark-error-no-filename):
3743 * epg.el (epg-error): Define with define-error.
3745 * time.el (display-time-event-handler)
3746 (display-time-next-load-average): Don't call sit-for since it seems
3747 unnecessary (bug#15045).
3749 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3750 Use #' instead of ' to quote functions.
3751 (checkdoc-output-mode): Use setq-local.
3752 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3753 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3754 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3755 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3756 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3757 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3758 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3759 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3761 * ido.el (ido-completion-help): Fix up compiler warning.
3763 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3765 * frameset.el (frameset-p): Add autoload cookie.
3766 (frameset--jump-to-register): New function, based on code moved from
3768 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3770 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3771 (frameset-restore, frameset-save, frameset-session-filter-alist):
3772 Remove declarations.
3773 (register-alist): Doc fix.
3774 (frameset-to-register): Move to frameset.el.
3775 (jump-to-register, describe-register-1): Remove frameset-specific code.
3777 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3779 * allout-widgets.el (allout-widgets-pre-command-business)
3780 (allout-widgets-post-command-business)
3781 (allout-widgets-after-change-handler)
3782 (allout-decorate-item-and-context, allout-set-boundary-marker)
3783 (allout-body-modification-handler)
3784 (allout-graphics-modification-handler): Mark ignored arguments.
3785 (allout-widgets-post-command-business)
3786 (allout-widgets-exposure-change-processor)
3787 (allout-widgets-exposure-undo-processor)
3788 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3789 (allout-parse-item-at-point, allout-decorate-item-guides)
3790 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3791 * allout.el (epa-passphrase-callback-function): Declare.
3792 (allout-overlay-insert-in-front-handler)
3793 (allout-overlay-interior-modification-handler)
3794 (allout-isearch-end-handler, allout-chart-siblings)
3795 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3796 (allout-yank-processing, allout-process-exposed)
3797 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3798 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3799 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3800 (lisp-indent-defform): Mark ignored arguments.
3801 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3802 (calculate-lisp-indent): Remove unused variables.
3803 * international/characters.el (indian-2-column, arabic-2-column)
3804 (tibetan): Mark ignored arguments.
3805 (use-cjk-char-width-table): Mark ignored arguments.
3806 Remove unused variables.
3807 * international/fontset.el (build-default-fontset-data)
3808 (x-compose-font-name, create-fontset-from-fontset-spec):
3809 Mark ignored arguments.
3810 (fontset-plain-name): Remove unused variables.
3811 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3812 (keyboard-coding-system): Mark ignored arguments.
3813 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3814 * help.el (resize-temp-buffer-window):
3815 * window.el (display-buffer-in-major-side-window)
3816 (display-buffer-in-side-window, display-buffer-in-previous-window):
3817 Remove unused variables.
3818 * isearch.el (isearch-forward-symbol):
3819 * version.el (emacs-bzr-version-bzr):
3820 * international/mule-cmds.el (current-language-environment):
3821 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3823 * term/pc-win.el (x-list-fonts, x-display-planes)
3824 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3825 (x-server-version, x-display-screens, x-display-mm-height)
3826 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3827 (x-selection-owner-p, x-own-selection-internal)
3828 (x-disown-selection-internal, x-get-selection-internal)
3829 (msdos-initialize-window-system):
3830 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3831 * term/x-win.el (x-handle-no-bitmap-icon):
3832 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3833 (vc-default-find-file-hook, vc-default-extra-menu):
3834 Mark ignored arguments.
3836 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3838 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3839 break-condition in the context of the debugged code (bug#12685).
3841 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3844 Do not use an overlay to highlight the last prompt. (Bug#14744)
3845 (comint-mode): Make comint-last-prompt buffer local.
3846 (comint-last-prompt): New variable.
3847 (comint-last-prompt-overlay): Remove. Superseded by
3849 (comint-snapshot-last-prompt, comint-output-filter):
3850 Use comint-last-prompt.
3852 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3854 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3855 (frameset-save): Check validity of the resulting frameset.
3857 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3859 * ido.el (ido-record-command): Add doc string.
3861 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3863 * frameset.el (frameset): Do not disable creation of the default
3864 frameset-p predicate. Doc fix.
3865 (frameset-valid-p): New function, copied from the old predicate-p.
3866 Add additional checks.
3867 (frameset-restore): Check with frameset-valid-p.
3868 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3869 (frameset-name, frameset-description, frameset-properties)
3870 (frameset-states): Add docstring.
3871 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3872 (frameset-filter-alist): Doc fixes.
3874 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3876 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3878 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3881 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3882 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3883 (byte-compile-normal-call): Remove obsolescence check.
3885 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3887 * frameset.el (frameset-restore): Doc fix.
3889 * register.el (frameset-frame-id, frameset-frame-with-id)
3890 (frameset-p, frameset-restore, frameset-save): Declare.
3891 (register-alist): Document framesets.
3892 (frameset-session-filter-alist): Declare.
3893 (frameset-to-register): New function.
3894 (jump-to-register): Implement jumping to framesets. Doc fix.
3895 (describe-register-1): Describe framesets.
3897 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3899 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3901 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3902 Use lexical-binding.
3904 * frameset.el (frameset): Use type vector, not list (incompatible
3905 change). Do not declare a new constructor, use the default one.
3906 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3907 `name' and `description', respectively, and add read-only slot
3908 `timestamp'. Doc fixes.
3909 (frameset-copy, frameset-persistent-filter-alist)
3910 (frameset-filter-alist, frameset-switch-to-gui-p)
3911 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3912 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3913 (frameset-filter-iconified, frameset-keep-original-display-p):
3915 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3916 Rename from frameset-filter-(save|restore)-param. All callers changed.
3918 (frameset-p): Adapt to change to vector and be more thorough.
3919 Change arg name to OBJECT. Doc fix.
3920 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3921 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3922 All callers changed.
3923 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3924 All callers changed.
3925 (frameset--record-minibuffer-relationships): Rename from
3926 frameset--process-minibuffer-frames. All callers changed.
3927 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3928 Use new default constructor (again). Doc fix.
3929 (frameset--find-frame-if): Rename from `frameset--find-frame.
3930 All callers changed.
3931 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3932 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3934 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3935 PARAMETERS and WINDOW-STATE, respectively.
3936 (frameset-restore): Add new keyword argument PREDICATE.
3937 Reset frameset--target-display to nil. Doc fix.
3939 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3941 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3943 (bat-mode-syntax-table): Mark \n as end-of-comment.
3944 (bat-font-lock-keywords): Remove comment rule.
3946 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3947 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3949 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3950 (byte-compile-callargs-warn): Use `push'.
3951 (byte-compile-arglist-warn): Ignore higher-order "calls".
3952 (byte-compile-file-form-autoload): Use `pcase'.
3953 (byte-compile-function-form): If quoting a symbol, check that it exists.
3955 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3957 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3958 and add a few popular commands found in batch files.
3959 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3960 (dos-mode): Doc fixes.
3962 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3965 (dos-mode): Use setq-local. Add space after "rem".
3966 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3967 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3969 2013-08-07 Arni Magnusson <arnima@hafro.is>
3971 * progmodes/dos.el: New file.
3972 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3975 2013-08-06 Glenn Morris <rgm@gnu.org>
3977 * calendar/calendar.el: Add new faces, and day-header-array.
3978 (calendar-weekday-header, calendar-weekend-header)
3979 (calendar-month-header): New faces.
3980 (calendar-day-header-construct): New function.
3981 (calendar-day-header-width): Also :set calendar-day-header-array.
3982 (calendar-american-month-header, calendar-european-month-header)
3983 (calendar-iso-month-header): Use calendar- faces.
3984 (calendar-generate-month):
3985 Use calendar-day-header-array for day headers; apply faces to them.
3986 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3987 (calendar-abbrev-construct): Add optional maxlen argument.
3988 (calendar-day-name-array): Doc fix.
3989 (calendar-day-name-array, calendar-abbrev-length)
3990 (calendar-day-abbrev-array):
3991 Also :set calendar-day-header-array, and maybe redraw.
3992 (calendar-day-header-array): New option. (Bug#15007)
3993 (calendar-font-lock-keywords): Set to nil and make obsolete.
3994 (calendar-day-name): Add option to use header array.
3996 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3998 * net/shr.el (shr-render-td): Remove debugging.
3999 (shr-render-td): Make width computation consistent by defaulting
4000 all zero-width columns to 10 characters. This may not be optimal,
4001 but it's at least consistent.
4002 (shr-make-table-1): Redo last change to fix the real problem in
4005 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4007 * files.el (cache-long-line-scans):
4008 Make obsolete alias to `cache-long-scans'.
4010 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4012 * frameset.el (frameset, frameset-filter-alist)
4013 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4014 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4015 (frameset-compute-pos): Rename from frameset--compute-pos,
4017 (frameset-move-onscreen): Use frameset-compute-pos.
4018 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4020 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4021 Fix typos in docstrings.
4023 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4025 * frame.el (get-other-frame): Tiny cleanup.
4027 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4029 * vc/vc.el (vc-default-ignore-completion-table):
4030 Silence byte-compiler warning.
4032 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4033 slot , which can indeed be nil.
4034 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4035 Move entry for `left' from persistent to live filter alist.
4036 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4038 (frameset-filter-params): When restoring a frame, copy items added to
4039 `filtered', to avoid unwittingly modifying the original parameters.
4040 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4041 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4043 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4044 to use looking-at-p instead of looking-at. (Bug#15028)
4046 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4048 Revert introduction of isearch-filter-predicates (bug#14714).
4049 Rely on add-function instead.
4050 * isearch.el (isearch-filter-predicates): Rename it back to
4051 isearch-filter-predicate.
4052 (isearch-message-prefix): Use advice-function-mapc and advice
4053 properties to get the isearch-message-prefix.
4054 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4055 instead of run-hook-with-args-until-failure.
4056 (isearch-filter-visible): Not obsolete any more.
4057 * loadup.el: Preload nadvice.
4058 * replace.el (perform-replace): Revert to funcall
4059 instead of run-hook-with-args-until-failure.
4060 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4061 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4062 dired-isearch-filenames-toggle; make it into a proper minor mode.
4063 Use add/remove-function.
4064 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4065 Call the minor-mode rather than add/remove-hook.
4066 (dired-isearch-filter-filenames):
4067 Remove isearch-message-prefix property.
4068 * info.el (Info--search-loop): New function, extracted from Info-search.
4069 Funcall isearch-filter-predicate instead of
4070 run-hook-with-args-until-failure isearch-filter-predicates.
4071 (Info-search): Use it.
4072 (Info-mode): Use isearch-filter-predicate instead of
4073 isearch-filter-predicates.
4075 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4077 Do not call to `selected-window' where it is assumed by default.
4078 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4079 `window-hscroll', `window-width', `window-height', `window-buffer',
4080 `window-frame', `window-start', `window-point', `next-window'
4081 and `window-display-table'.
4082 * abbrev.el (abbrev--default-expand):
4083 * bs.el (bs--show-with-configuration):
4084 * buff-menu.el (Buffer-menu-mouse-select):
4085 * calc/calc.el (calc):
4086 * calendar/calendar.el (calendar-generate-window):
4087 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4089 * comint.el (send-invisible, comint-dynamic-complete-filename)
4090 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4091 * completion.el (complete):
4092 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4093 * disp-table.el (describe-current-display-table):
4094 * doc-view.el (doc-view-insert-image):
4095 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4096 * ehelp.el (with-electric-help):
4097 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4098 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4099 * emacs-lisp/helper.el (Helper-help-scroller):
4100 * emulation/cua-base.el (cua--post-command-handler-1):
4101 * eshell/esh-mode.el (eshell-output-filter):
4102 * ffap.el (ffap-gnus-wrapper):
4103 * help-macro.el (make-help-screen):
4104 * hilit-chg.el (highlight-compare-buffers):
4105 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4106 * hl-line.el (global-hl-line-highlight):
4107 * icomplete.el (icomplete-simple-completing-p):
4108 * isearch.el (isearch-done):
4109 * jit-lock.el (jit-lock-stealth-fontify):
4110 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4111 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4112 * mpc.el (mpc-tagbrowser, mpc):
4113 * net/rcirc.el (rcirc-any-buffer):
4114 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4115 * play/landmark.el (landmark-max-width, landmark-max-height):
4116 * play/zone.el (zone):
4117 * progmodes/compile.el (compilation-goto-locus):
4118 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4119 * progmodes/etags.el (find-tag-other-window):
4120 * progmodes/fortran.el (fortran-column-ruler):
4121 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4122 * progmodes/verilog-mode.el (verilog-point-text):
4123 * reposition.el (reposition-window):
4124 * rot13.el (toggle-rot13-mode):
4125 * server.el (server-switch-buffer):
4126 * shell.el (shell-dynamic-complete-command)
4127 (shell-dynamic-complete-environment-variable):
4128 * simple.el (insert-buffer, set-selective-display)
4129 (delete-completion-window):
4130 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4131 (speedbar-recenter):
4132 * startup.el (fancy-splash-head):
4133 * textmodes/ispell.el (ispell-command-loop):
4134 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4135 * tutorial.el (help-with-tutorial):
4136 * vc/add-log.el (add-change-log-entry):
4137 * vc/compare-w.el (compare-windows):
4138 * vc/ediff-help.el (ediff-indent-help-message):
4139 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4140 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4141 (ediff-setup-control-frame):
4142 * vc/emerge.el (emerge-position-region):
4143 * vc/pcvs-util.el (cvs-bury-buffer):
4144 * window.el (walk-windows, mouse-autoselect-window-select):
4145 * winner.el (winner-set-conf, winner-undo): Related users changed.
4147 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4149 * frameset.el (frameset--set-id): Doc fix.
4150 (frameset-frame-id, frameset-frame-id-equal-p)
4151 (frameset-locate-frame-id): New functions.
4152 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4153 (frameset-restore): Use them.
4155 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4157 Do not call to `selected-frame' where it is assumed by default.
4158 Affected functions are `raise-frame', `redraw-frame',
4159 `frame-first-window', `frame-terminal' and `delete-frame'.
4160 * calendar/appt.el (appt-disp-window):
4161 * epg.el (epg-wait-for-completion):
4162 * follow.el (follow-delete-other-windows-and-split)
4163 (follow-avoid-tail-recenter):
4164 * international/mule.el (set-terminal-coding-system):
4165 * mail/rmail.el (rmail-mail-return):
4166 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4167 * progmodes/f90.el (f90-add-imenu-menu):
4168 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4169 * server.el (server-switch-buffer):
4170 * simple.el (delete-completion-window):
4172 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4173 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4174 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4175 * vc/ediff.el (ediff-documentation): Related users changed.
4176 * frame.el (selected-terminal): Remove the leftover.
4178 2013-08-05 Glenn Morris <rgm@gnu.org>
4180 * calendar/calendar.el (calendar-generate-month):
4181 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4182 (calendar-generate-month, calendar-font-lock-keywords):
4183 Fix for calendar-day-header-width > length of any day name.
4185 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4187 * desktop.el (desktop-clear): Use new name of sort predicate.
4189 * frameset.el (frameset): Add docstring. Move :version property to its
4191 (frameset-copy): Rename from copy-frameset.
4192 (frameset-p): Check more thoroughly.
4193 (frameset-prop): Do not check for :version, which is no longer a prop.
4194 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4195 Use new :never value instead of t.
4196 (frameset-filter-alist): Expand and clarify docstring.
4197 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4198 (frameset-filter-minibuffer, frameset-filter-save-param)
4199 (frameset-filter-restore-param, frameset-filter-iconified):
4200 Add pointer to docstring of frameset-filter-alist.
4201 (frameset-filter-params): Rename filter values to be more meaningful:
4202 :never instead of t, and reverse the meanings of :save and :restore.
4203 (frameset--process-minibuffer-frames): Clarify error message.
4204 (frameset-save): Avoid unnecessary and confusing call to framep.
4205 Use new BOA constructor for framesets.
4206 (frameset--reuse-list): Doc fix.
4207 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4208 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4209 (frameset-minibufferless-first-p): Doc fix.
4210 Rename from frameset-sort-frames-for-deletion.
4211 (frameset-restore): Doc fixes. Use new function names.
4212 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4214 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4216 * desktop.el (desktop-restore-forces-onscreen)
4217 (desktop-restore-reuses-frames): Document :keyword constant values.
4218 (desktop-filter-parameters-alist): Remove, now identical to
4219 frameset-filter-alist.
4220 (desktop--filter-tty*): Remove, moved to frameset.el.
4221 (desktop-save-frameset, desktop-restore-frameset):
4222 Do not pass :filters argument.
4224 * frameset.el (frameset-live-filter-alist)
4225 (frameset-persistent-filter-alist): New variables.
4226 (frameset-filter-alist): Use them. Add autoload cookie.
4227 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4228 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4229 `frameset--id' (it's supposed to be internal to frameset.el).
4230 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4231 (frameset--initial-params): New function.
4232 (frameset--get-frame): Use it. Doc fix.
4233 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4234 Accept :all, not 'all.
4235 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4236 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4237 with fbound symbols. Fix frame id matching, and remove matching ids if
4238 the frame being restored is deleted. Obey :delete.
4240 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4242 * subr.el (macrop): New function.
4243 (text-clone--maintaining): New var.
4244 (text-clone--maintain): Rename from text-clone-maintain. Use it
4245 instead of inhibit-modification-hooks.
4247 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4248 a proxy, so as handle autoloads and redefinitions of the target.
4249 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4251 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4252 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4253 (pcase--mutually-exclusive-p): New function.
4254 (pcase--split-consp): Use it.
4255 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4256 mutually exclusive with the current predicate.
4258 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4259 (edebug-macrop): Remove. Use `macrop' instead.
4260 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4262 * eshell/esh-cmd.el (eshell-macrop):
4263 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4265 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4268 (advice-mapc): New function, using it.
4269 (advice-function-member-p): New function.
4270 (advice--normalize): Store the cdr in advice--saved-rewrite since
4271 that's the part that will be changed.
4272 (advice--symbol-function): New function.
4273 (advice-remove): Handle removal before the function is defined.
4274 Adjust to new advice--saved-rewrite.
4275 (advice-member-p): Use advice-function-member-p and
4276 advice--symbol-function.
4278 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4280 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4281 (frameset-filter-minibuffer): Doc fix.
4282 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4283 (frameset--set-id, frameset--process-minibuffer-frames)
4284 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4285 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4287 * desktop.el (desktop-clear): Only delete frames when called
4288 interactively and desktop-restore-frames is non-nil. Doc fix.
4289 (desktop-read): Set desktop-saved-frameset to nil.
4291 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4293 * vc/vc.el (vc-ignore): Rewrite.
4294 (vc-default-ignore-completion-table):
4296 (vc--add-line, vc--remove-regexp): New functions.
4298 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4299 (vc-svn-ignore-completion-table): New function.
4301 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4302 (vc-hg-ignore-completion-table):
4303 (vc-hg-find-ignore-file): New functions.
4305 * vc/vc-git.el (vc-git-ignore): Rewrite.
4306 (vc-git-ignore-completion-table):
4307 (vc-git-find-ignore-file): New functions.
4309 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4311 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4312 (vc-bzr-ignore-completion-table):
4313 (vc-bzr-find-ignore-file): New functions.
4315 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4317 * frameset.el (frameset-prop): New function and setter.
4318 (frameset-save): Do not modify frame list passed by the caller.
4320 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4324 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4327 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4329 * custom.el (custom-initialize-default, custom-initialize-set)
4330 (custom-initialize-reset, custom-initialize-changed): Affect the
4331 toplevel-default-value (bug#6275, bug#14586).
4332 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4335 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4337 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4338 Add cl-def* expressions.
4340 * frameset.el (frameset-filter-params): Fix order of arguments.
4342 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4344 Move code related to saving frames to frameset.el.
4345 * desktop.el: Require frameset.
4346 (desktop-restore-frames): Doc fix.
4347 (desktop-restore-reuses-frames): Rename from
4348 desktop-restoring-reuses-frames.
4349 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4350 (desktop-clear): Clear frames too.
4351 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4352 (desktop--filter-tty*, desktop-save, desktop-read):
4353 Use frameset functions.
4354 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4355 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4356 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4357 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4358 (desktop--process-minibuffer-frames, desktop-save-frames)
4359 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4360 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4361 (desktop--sort-states, desktop-restoring-frames-p)
4362 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4363 (desktop-restoring-frameset-p, desktop-restore-frameset)
4364 (desktop--check-dont-save, desktop-save-frameset): New functions.
4365 (desktop--app-id): New constant.
4366 (desktop-first-buffer, desktop-buffer-ok-count)
4367 (desktop-buffer-fail-count): Move before first use.
4368 * frameset.el: New file.
4370 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * files.el: Use lexical-binding.
4373 (dir-locals-read-from-file): Remove unused `err' variable.
4374 (hack-dir-local-variables--warned-coding): New var.
4375 (hack-dir-local-variables): Use it to avoid repeated warnings.
4376 (make-backup-file-name--default-function): New function.
4377 (make-backup-file-name-function): Use it as default.
4378 (buffer-stale--default-function): New function.
4379 (buffer-stale-function): Use it as default.
4380 (revert-buffer-insert-file-contents--default-function): New function.
4381 (revert-buffer-insert-file-contents-function): Use it as default.
4382 (insert-directory): Avoid add-to-list.
4384 * autorevert.el (auto-revert-handler): Simplify.
4385 Use buffer-stale--default-function.
4387 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4389 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4391 * whitespace.el (whitespace-ensure-local-variables): New function.
4392 (whitespace-cleanup-region): Call it.
4393 (whitespace-turn-on): Call it.
4395 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4397 Complete file name handlers.
4399 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4400 (tramp-handle-verify-visited-file-modtime)
4401 (tramp-handle-file-notify-rm-watch): New functions.
4402 (tramp-call-process): Do not bind `default-directory'.
4404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4405 Order alphabetically.
4406 [access-file, add-name-to-file, dired-call-process]:
4407 [dired-compress-file, file-acl, file-notify-rm-watch]:
4408 [file-ownership-preserved-p, file-selinux-context]:
4409 [make-directory-internal, make-symbolic-link, set-file-acl]:
4410 [set-file-selinux-context, set-visited-file-modtime]:
4411 [verify-visited-file-modtime]: Add handler.
4412 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4414 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4415 [file-notify-add-watch, file-notify-rm-watch]:
4416 [set-file-times, set-visited-file-modtime]:
4417 [verify-visited-file-modtime]: Add handler.
4418 (with-tramp-gvfs-error-message)
4419 (tramp-gvfs-handle-set-visited-file-modtime)
4420 (tramp-gvfs-fuse-file-name): Remove.
4421 (tramp-gvfs-handle-file-notify-add-watch)
4422 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4423 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4425 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4426 Order alphabetically.
4427 [file-notify-rm-watch ]: Use default Tramp handler.
4428 [executable-find]: Remove private handler.
4429 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4430 `default-directory'.
4431 (tramp-sh-handle-executable-find)
4432 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4433 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4434 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4435 Do not use `format' in `tramp-message'.
4437 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4438 [file-notify-rm-watch, set-visited-file-modtime]:
4439 [verify-visited-file-modtime]: Add handler.
4440 (tramp-smb-call-winexe): Do not bind `default-directory'.
4442 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4444 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4446 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4448 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4450 (log-view-diff-changeset): Same.
4451 (log-view-diff-common): Call backend command `previous-revision'
4452 to find out the previous revision, in both cases. Swap the
4453 variables `to' and `fr', so that `fr' usually refers to the
4454 earlier revision (Bug#14989).
4456 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4458 * ibuf-ext.el (ibuffer-filter-by-filename):
4459 Make it work with dired buffers too.
4461 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4463 * emacs-lisp/re-builder.el (reb-color-display-p):
4464 * files.el (save-buffers-kill-terminal):
4465 * net/browse-url.el (browse-url):
4466 * server.el (server-save-buffers-kill-terminal):
4467 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4468 Prefer nil to selected-frame for the first arg of frame-parameter.
4470 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4472 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4474 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4476 * minibuffer.el (completion--twq-all): Try and preserve each
4477 completion's case choice (bug#14907).
4479 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4481 * net/network-stream.el (open-network-stream): Mention the new
4482 :nogreeting parameter.
4483 (network-stream-open-starttls): Use the :nogreeting parameter
4486 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4488 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4489 more natural than popping.
4491 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4492 (shr-urlify): Highlight under mouse.
4494 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4496 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4498 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4500 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4503 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4504 point-min==1. Fix search string. Fix parentheses missing.
4506 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4507 assume point-min==1. Fix search string. Fix parentheses missing.
4509 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4511 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4514 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4516 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4517 initial frame is minibuffer-less. (Bug#14841)
4519 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4521 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4525 (tramp-maybe-open-connection): Use it.
4527 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4529 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4530 minimal set of parameters passed when creating a frame, because
4531 the minibuffer status of a frame cannot be changed later.
4533 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4535 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4536 replace-regexp-in-string and inadvertent omissions in previous change.
4537 (todo-filter-items): Ensure only file names are comma-separated in
4538 name of filtered items buffer.
4540 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4542 * desktop.el: Optionally force offscreen frames back onscreen.
4543 (desktop-restoring-reuses-frames): New option.
4544 (desktop--compute-pos, desktop--move-onscreen): New functions.
4545 (desktop--make-frame): Use desktop--move-onscreen.
4547 2013-07-27 Alan Mackenzie <acm@muc.de>
4549 Fontify a Java generic method as a function.
4550 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4553 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4555 * calendar/todo-mode.el: Add command to rename todo files.
4556 (todo-rename-file): New command.
4557 (todo-key-bindings-t): Add key binding for it. Change the
4558 bindings of todo-filter-regexp-items(-multifile) to use `x'
4559 instead of `r', since the latter is better suited to the new
4562 2013-07-27 Alan Mackenzie <acm@muc.de>
4564 Make Java try-with-resources statement parse properly.
4565 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4566 (c-block-stmt-1-2-key): New language constants/variables.
4567 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4568 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4569 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4570 with c-block-stmt-1-2-key.
4572 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4574 * desktop.el (desktop--make-frame): Apply most frame parameters after
4575 creating the frame to force (partially or totally) offscreen frames to
4576 be restored as such.
4578 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4580 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4583 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4585 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4586 `base' arg of backtrace-frame.
4588 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4590 * simple.el (list-processes): Doc fix.
4592 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4594 * desktop.el (desktop--select-frame):
4595 Try harder to reuse existing frames.
4597 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4599 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4600 (edebug-eval): Use backtrace-eval.
4601 (edebug--display, edebug--recursive-edit): Don't let-bind the
4602 edebug-outer-* vars that keep track of variables we locally let-bind.
4603 (edebug-outside-excursion): Don't restore outside values of locally
4605 (edebug--display): Use user-error.
4606 (cl-lexical-debug, cl-debug-env): Remove.
4608 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4610 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4611 are restored to be sure that they are visible before deleting any
4614 2013-07-26 Matthias Meulien <orontee@gmail.com>
4616 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4617 vc-print-root-log. (Bug#14948)
4619 2013-07-26 Richard Stallman <rms@gnu.org>
4621 Add aliases for encrypting mail.
4622 * epa.el (epa-mail-aliases): New option.
4623 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4624 Bind inhibit-read-only so read-only text doesn't ruin everything.
4625 (epa-mail-default-recipients): New subroutine broken out.
4626 Handle epa-mail-aliases.
4628 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4630 Add support for lexical variables to the debugger's `e' command.
4631 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4632 vars, except for debugger-outer-match-data.
4633 (debugger-frame-number): Move check for "on a function call" from
4634 callers into it. Add `skip-base' argument.
4635 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4636 (debugger-env-macro): Only reset the state stored in non-variables,
4637 i.e. current-buffer and match-data.
4638 (debugger-eval-expression): Rewrite using backtrace-eval.
4639 * subr.el (internal--called-interactively-p--get-frame): Remove.
4640 (called-interactively-p):
4641 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4642 `base' arg of backtrace-frame instead.
4644 2013-07-26 Glenn Morris <rgm@gnu.org>
4646 * align.el (align-regexp): Doc fix. (Bug#14857)
4647 (align-region): Explicit error if subexpression missing/does not match.
4649 * simple.el (global-visual-line-mode):
4650 Do not duplicate the mode lighter. (Bug#14858)
4652 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4654 * window.el (display-buffer): In display-buffer bind
4655 split-window-keep-point to t, bug#14829.
4657 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4659 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4660 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4661 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4662 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4664 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4665 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4667 2013-07-25 Glenn Morris <rgm@gnu.org>
4669 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4671 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4673 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4674 parameter to modify-frame-parameters if the value has not changed;
4675 this is a workaround for bug#14949.
4676 (desktop--make-frame): On cl-delete-if call, check parameter name,
4679 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4681 * vc/vc.el (vc-ignore): New function.
4683 * vc/vc-svn.el (vc-svn-ignore): New function.
4685 * vc/vc-hg.el (vc-hg-ignore): New function.
4687 * vc/vc-git.el (vc-git-ignore): New function.
4689 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4690 (vc-dir-ignore): New function.
4692 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4693 (cvs-append-to-ignore): Move here from pcvs.el.
4695 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4697 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4699 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4701 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4702 (desktop-restore-frames): Warn when deleting an existing frame failed.
4704 2013-07-24 Glenn Morris <rgm@gnu.org>
4706 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4708 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4710 * filenotify.el (file-notify-supported-p):
4711 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4714 * autorevert.el (auto-revert-use-notify):
4715 (auto-revert-notify-add-watch):
4716 * net/tramp.el (tramp-file-name-for-operation):
4717 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4718 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4720 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4721 Remove `file-notify-supported-p' entry.
4723 2013-07-24 Glenn Morris <rgm@gnu.org>
4725 * printing.el: Replace all uses of deleted ps-windows-system,
4726 ps-lp-system, ps-flatten-list with lpr- versions.
4728 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4730 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4731 checked with memq (bug#14935).
4733 * files.el (revert-buffer-function): Use a non-nil default.
4734 (revert-buffer-preserve-modes): Declare var to
4735 provide access to the `preserve-modes' argument.
4736 (revert-buffer): Let-bind it.
4737 (revert-buffer--default): New function, extracted from revert-buffer.
4739 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4741 * lpr.el: Signal print errors more prominently.
4742 (print-region-function): Don't default to nil.
4743 (lpr-print-region): New function, extracted from print-region-1.
4744 Check lpr's return value and signal an error in case of problem.
4745 (print-region-1): Use it.
4746 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4748 (ps-printer-name): Default to nil.
4749 (ps-printer-name-option): Default to lpr-printer-switch.
4750 (ps-print-region-function): Don't default to nil.
4751 (ps-postscript-code-directory): Simplify default.
4752 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4753 (ps-string-list, ps-eval-switch, ps-flatten-list)
4754 (ps-flatten-list-1): Remove.
4755 (ps-multibyte-buffer): Avoid setq.
4756 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4757 (print-region-function, ps-print-region-function): Don't set them here.
4759 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4761 * ido.el (ido-fractionp):
4762 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4763 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4764 (ido-max-directory-size, ido-max-dir-file-cache)
4765 (ido-decorations): Doc fix.
4767 * ansi-color.el: Fix old URL.
4769 2013-07-23 Michael R. Mauger <michael@mauger.com>
4771 * progmodes/sql.el: Version 3.3
4772 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4773 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4774 (sql-interactive-remove-continuation-prompt): Rewrite, use
4775 functions above. Fix continuation prompt and complete output line
4777 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4778 redirected output buffer.
4779 (sql-mode): Restore deleted code (Bug#13591).
4781 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4783 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4785 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4787 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4789 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4790 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4791 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4793 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4795 * desktop.el (desktop-clear): Simplify; remove useless checks
4796 against invalid buffer names.
4797 (desktop-list*): Use cl-list*.
4798 (desktop-buffer-info, desktop-create-buffer): Simplify.
4800 2013-07-23 Leo Liu <sdl.web@gmail.com>
4802 * bookmark.el (bookmark-make-record): Restore NAME as a default
4805 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4807 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4808 extracted from autoload--insert-text.
4809 (autoload--insert-text): Remove.
4810 (autoload--print-cookie-text): New function, extracted from
4811 autoload--insert-cookie-text.
4812 (autoload--insert-cookie-text): Remove.
4813 (autoload-generate-file-autoloads): Adjust calls accordingly.
4815 * winner.el (winner-hook-installed-p): Remove.
4816 (winner-mode): Simplify accordingly.
4818 * subr.el (add-to-list): Fix compiler-macro when `append' is
4819 not constant. Don't use `cl-member' for the base case.
4821 * progmodes/subword.el: Fix boundary case (bug#13758).
4822 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4824 (subword-backward-regexp): Make it a constant.
4825 (subword-forward-internal): Don't treat a trailing capital as the
4826 beginning of a word.
4828 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4830 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4831 global value of tabulated-list-revert-hook (bug#14930).
4833 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4835 * desktop.el: Require 'cl-lib.
4836 (desktop-before-saving-frames-functions): New hook.
4837 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4838 for frames being saved. Rename from desktop--save-minibuffer-frames.
4839 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4840 Do not save frames with non-nil `desktop-dont-save' parameter.
4841 Filter out deleted frames.
4842 (desktop--find-frame): Use cl-find-if.
4843 (desktop--select-frame): Use cl-(first|second|third) to access values
4845 (desktop--make-frame): Use cl-delete-if.
4846 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4847 (desktop-restore-frames): Use cl-(first|second|third) to access values
4848 of desktop-mini. Look for visible frame at the end, not while
4851 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4852 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4853 Use string-match-p, looking-at-p (bug#14927).
4855 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4857 * desktop.el (desktop-saved-frame-states):
4858 Rename from desktop--saved-states; all users changed.
4859 (desktop-save-frames): Rename from desktop--save-frames.
4860 Do not save state to desktop file.
4861 (desktop-save): Save desktop-saved-frame-states to desktop file
4863 (desktop-restoring-frames-p): New function.
4864 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4865 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4866 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4868 * desktop.el: Correctly restore iconified frames.
4869 (desktop--filter-iconified-position): New function.
4870 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4872 2013-07-20 Glenn Morris <rgm@gnu.org>
4874 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4875 Let `message' do the formatting.
4876 (def-gdb-preempt-display-buffer): Add explicit format.
4878 * image-dired.el (image-dired-track-original-file):
4879 Use with-current-buffer.
4880 (image-dired-track-thumbnail): Use with-current-buffer.
4881 Avoid changing point of wrong window.
4883 * image-dired.el (image-dired-track-original-file):
4884 Avoid changing point of wrong window. (Bug#14909)
4886 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4888 * progmodes/gdb-mi.el (gdb-done-or-error):
4889 Guard against "%" in gdb output. (Bug#14127)
4891 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4893 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4896 * international/mule.el (coding-system-iso-2022-flags): Fix last
4899 2013-07-20 Kenichi Handa <handa@gnu.org>
4901 * international/mule.el (coding-system-iso-2022-flags):
4902 Add `8-bit-level-4'. (Bug#8522)
4904 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4906 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4909 * net/eww.el (eww-process-text-input): Allow inputting when the
4910 point is at the start of the line, as the properties aren't
4913 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4916 2013-07-19 Richard Stallman <rms@gnu.org>
4918 * epa.el (epa-popup-info-window): Doc fix.
4920 * subr.el (split-string): New arg TRIM.
4922 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4924 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4925 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4927 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4929 * filenotify.el (file-notify--library): Rename from
4930 `file-notify-support'. Do not autoload. Adapt all uses.
4931 (file-notify-supported-p): New defun.
4933 * autorevert.el (auto-revert-use-notify):
4934 Use `file-notify-supported-p' instead of `file-notify-support'.
4936 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4938 * net/tramp.el (tramp-file-name-for-operation):
4939 Add `file-notify-supported-p'.
4941 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4943 (tramp-sh-file-name-handler-alist): Add it as handler for
4944 `file-notify-supported-p '.
4946 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4948 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4949 Add `ignore' as handler for `file-notify-*' functions.
4951 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4953 * simple.el (line-move-partial, line-move): Don't start vscroll or
4954 scroll-up if the current line is not taller than the window.
4957 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4959 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4960 highlight question marks in the method names as strings.
4961 (ruby-block-beg-keywords): Inline.
4962 (ruby-font-lock-keyword-beg-re): Extract from
4963 `ruby-font-lock-keywords'.
4965 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4967 * frame.el (blink-cursor-blinks): New defcustom.
4968 (blink-cursor-blinks-done): New defvar.
4969 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4970 (blink-cursor-timer-function): Check if number of blinks has been
4972 (blink-cursor-suspend, blink-cursor-check): New defuns.
4974 2013-07-15 Glenn Morris <rgm@gnu.org>
4976 * edmacro.el (edmacro-format-keys): Fix previous change.
4978 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4980 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4981 The hack didn't work outside English locales anyway.
4983 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4985 * simple.el (define-alternatives): Rename from alternatives-define,
4986 per RMS' suggestion.
4988 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4990 * desktop.el (desktop-restore-frames): Change default to t.
4991 (desktop-restore-in-current-display): Now offer more options.
4992 (desktop-restoring-reuses-frames): New customization option.
4993 (desktop--saved-states): Doc fix.
4994 (desktop-filter-parameters-alist): New variable, renamed and expanded
4995 from desktop--excluded-frame-parameters.
4996 (desktop--target-display): New variable.
4997 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4998 (desktop--filter-tty*, desktop--filter-*-color)
4999 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5000 (desktop--filter-save-desktop-parm)
5001 (desktop-restore-in-original-display-p): New functions.
5002 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5003 (desktop--save-minibuffer-frames): New function, inspired by a similar
5004 function from Martin Rudalics.
5005 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5006 (desktop--restore-in-this-display-p): Remove.
5007 (desktop--find-frame): Rename from desktop--find-frame-in-display
5008 and add predicate argument.
5009 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5010 (desktop--reuse-list): New variable.
5011 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5013 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5015 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5017 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5019 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5021 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5022 Highlight conversion methods on Kernel.
5024 2013-07-13 Alan Mackenzie <acm@muc.de>
5026 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5027 and comment it out. This out-commenting enables certain C++
5028 declarations to be parsed correctly.
5030 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5032 * international/mule.el (define-coding-system): Doc fix.
5034 * simple.el (default-font-height): Don't call font-info if the
5035 frame's default font didn't change since the frame was created.
5038 2013-07-13 Leo Liu <sdl.web@gmail.com>
5040 * ido.el (ido-read-file-name): Guard against non-symbol value.
5042 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5044 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5047 2013-07-13 Leo Liu <sdl.web@gmail.com>
5049 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5050 ido-set-matches call. (Bug#6852)
5052 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5054 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5055 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5057 (ruby-font-lock-keywords): Distinguish calls to functions with
5058 module-like names from module references. Highlight character
5061 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5063 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5064 (gdb-send): Handle continued commands. (Bug#14847)
5066 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5068 * desktop.el (desktop--v2s): Remove unused local variable.
5069 (desktop-save-buffer): Make defvar-local; adjust docstring.
5070 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5071 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5073 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5075 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5077 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5079 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5082 2013-07-12 Glenn Morris <rgm@gnu.org>
5084 * doc-view.el: Require cl-lib at runtime too.
5085 (doc-view-remove-if): Remove.
5086 (doc-view-search-next-match, doc-view-search-previous-match):
5089 * edmacro.el: Require cl-lib at runtime too.
5090 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5091 (edmacro-mismatch, edmacro-subseq): Remove.
5093 * shadowfile.el: Require cl-lib.
5094 (shadow-remove-if): Remove.
5095 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5098 * wid-edit.el: Require cl-lib.
5099 (widget-choose): Use cl-remove-if.
5100 (widget-remove-if): Remove.
5102 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5103 (ebrowse-delete-if-not): Remove.
5104 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5105 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5106 Use cl-delete-if-not.
5108 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5110 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5111 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5113 2013-07-12 Leo Liu <sdl.web@gmail.com>
5115 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5117 2013-07-11 Glenn Morris <rgm@gnu.org>
5119 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5120 (edebug-gensym-index, edebug-gensym):
5121 Remove reimplementation of cl-gensym.
5122 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5124 * thumbs.el: Require cl-lib at run-time too.
5125 (thumbs-gensym-counter, thumbs-gensym):
5126 Remove reimplementation of cl-gensym.
5127 (thumbs-temp-file): Use cl-gensym.
5129 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5130 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5131 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5132 (ert--union, ert--gensym-counter, ert--gensym-counter)
5133 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5134 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5135 (ert-make-test-unbound, ert--expand-should-1)
5136 (ert--expand-should, ert--should-error-handle-error)
5137 (should-error, ert--explain-equal-rec)
5138 (ert--plist-difference-explanation, ert-select-tests)
5139 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5140 Use cl-lib functions rather than reimplementations.
5142 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5144 * net/tramp.el (tramp-methods): Extend docstring.
5145 (tramp-connection-timeout): New defcustom.
5146 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5147 (with-tramp-progress-reporter): Simplify.
5148 (tramp-process-actions): Improve messages.
5150 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5151 * net/tramp-sh.el (tramp-maybe-open-connection):
5152 Use `tramp-connection-timeout'.
5153 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5156 2013-07-11 Leo Liu <sdl.web@gmail.com>
5158 * ido.el (ido-read-file-name): Conform to the requirements of
5159 read-file-name. (Bug#11861)
5160 (ido-read-directory-name): Conform to the requirements of
5161 read-directory-name.
5163 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5165 * subr.el (delay-warning): New function.
5167 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5169 * simple.el (default-line-height): New function.
5170 (line-move-partial, line-move): Use it instead of computing the
5172 (line-move-partial): Always compute ROWH. If the last line is
5173 partially-visible, but its text is completely visible, allow
5174 cursor to enter such a partially-visible line.
5176 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5178 Improve error messages. (Bug#14808)
5180 * net/tramp.el (tramp-current-connection): New defvar, moved from
5182 (tramp-message-show-progress-reporter-message): Remove, not
5184 (tramp-error-with-buffer): Show message in minibuffer.
5185 Discard input before waiting. Reset connection timestamp.
5186 (with-tramp-progress-reporter): Improve messages.
5187 (tramp-process-actions): Use progress reporter. Delete process in
5188 case of error. Improve messages.
5190 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5191 Call `tramp-error-with-buffer' with vector and buffer.
5192 (tramp-current-connection): Remove.
5193 (tramp-maybe-open-connection): The car of
5194 `tramp-current-connection' are the first 3 slots of the vector.
5196 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5198 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5199 inside continued strings.
5201 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5203 Timestamp fixes for undo (Bug#14824).
5204 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5206 2013-07-10 Leo Liu <sdl.web@gmail.com>
5208 * files.el (require-final-newline): Allow safe local value.
5211 2013-07-09 Leo Liu <sdl.web@gmail.com>
5213 * ido.el (ido-read-directory-name): Handle fallback.
5214 (ido-read-file-name): Update DIR to ido-current-directory.
5216 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5218 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5220 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5221 "autoload". Remove "warn lower camel case" section, previously
5222 commented out. Highlight negation char. Do not highlight the
5223 target in singleton method definitions.
5225 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * faces.el (tty-setup-hook): Declare the hook.
5229 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5230 and detect when a guard/pred depends on local vars (bug#14773).
5231 (pcase--u1): Adjust caller.
5233 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5235 * simple.el (line-move-partial, line-move): Account for
5237 (line-move-partial): Avoid setting vscroll when the last
5238 partially-visible line in window is of default height.
5240 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5242 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5245 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5247 * subr.el (read-quoted-char): Remove unused local variable `char'.
5249 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5251 * ediff.el (ediff-version): Version update.
5252 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5253 (ediff-merge-with-ancestor-command, ediff-directories-command)
5254 (ediff-directories3-command, ediff-merge-directories-command)
5255 (ediff-merge-directories-with-ancestor-command): New functions.
5256 All are command-line interfaces to ediff: to facilitate calling
5257 Emacs with the appropriate ediff functions invoked.
5259 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5260 (viper-save-kill-buffer): Check if buffer is modified.
5262 * viper.el (viper-version): Version update.
5263 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5265 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5268 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5269 (viper-intercept-ESC-key): Simplify.
5270 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5271 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5272 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5273 (viper-setup-ESC-to-escape): New functions.
5274 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5275 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5277 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5279 * simple.el (default-font-height, window-screen-lines):
5281 (line-move, line-move-partial): Use them instead of
5282 frame-char-height and window-text-height. This makes scrolling
5283 text smoother when the buffer's default face uses a font that is
5284 different from the frame's default font.
5286 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5288 * files.el (write-file): Do not display confirm dialog for NS,
5289 it does its own dialog, which can't be cancelled (Bug#14578).
5291 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5293 * simple.el (line-move-partial): Adjust the row returned by
5294 posn-at-point for the current window-vscroll. (Bug#14567)
5296 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5298 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5299 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5302 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5304 * window.el (window-state-put-stale-windows): New variable.
5305 (window--state-put-2): Save list of windows without matching buffer.
5306 (window-state-put): Remove "bufferless" windows if possible.
5308 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5310 * simple.el (alternatives-define): Remove leftover :group keyword.
5313 2013-07-06 Leo Liu <sdl.web@gmail.com>
5315 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5316 (ido-enable-virtual-buffers): New variable.
5317 (ido-buffer-internal, ido-toggle-virtual-buffers)
5318 (ido-make-buffer-list): Use it.
5319 (ido-exhibit): Support turning on and off virtual buffers
5322 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5324 * simple.el (alternatives-define): New macro.
5326 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * subr.el (read-quoted-char): Use read-key.
5329 (sit-for): Let read-event decode tty input (bug#14782).
5331 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5333 * calendar/todo-mode.el: Add handling of file deletion, both by
5334 mode command and externally. Fix various related bugs.
5335 Clarify Commentary and improve some documentation strings and code.
5336 (todo-delete-file): New command.
5337 (todo-check-file): New function.
5338 (todo-show): Handle external deletion of the file we're trying to
5339 show (bug#14688). Replace called-interactively-p by an optional
5340 prefix argument to avoid problematic interaction with catch form
5341 when byte compiled (bug#14702).
5342 (todo-quit): Handle external deletion of the archive's todo file.
5343 Make sure the buffer that was visiting the archive file is still
5344 live before trying to bury it.
5345 (todo-category-completions): Handle external deletion of any
5346 category completion files.
5347 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5348 of todo files, in case of external deletion.
5349 (todo-add-file): Replace unnecessary setq by let-binding.
5350 (todo-find-archive): Check whether there are any archives.
5351 Replace unnecessary setq by let-binding.
5352 (todo-archive-done-item): Use find-file-noselect to get the
5353 archive buffer whether or not the archive already exists.
5354 Remove superfluous code. Use file size instead of buffer-file-name to
5355 check if the archive is new; if it is, update list of archives.
5356 (todo-default-todo-file): Allow nil to be a valid value for when
5357 there are no todo files.
5358 (todo-reevaluate-default-file-defcustom): Use corrected definition
5359 of todo-default-todo-file.
5360 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5361 (todo-delete-category, todo-show-categories-table)
5362 (todo-category-number): Clarify comment.
5363 (todo-filter-items): Clarify documentation string.
5364 (todo-show-current-file, todo-display-as-todo-file)
5365 (todo-reset-and-enable-done-separator): Tweak documentation string.
5366 (todo-done-separator): Make separator length window-width, since
5367 bug#2749 is now fixed.
5369 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5371 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5372 Support both "gvfs-monitor-dir" and "inotifywait".
5373 (tramp-sh-file-inotifywait-process-filter): Rename from
5374 `tramp-sh-file-notify-process-filter'.
5375 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5376 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5378 2013-07-05 Leo Liu <sdl.web@gmail.com>
5380 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5382 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5384 * frame.el (display-pixel-height, display-pixel-width)
5385 (display-mm-height, display-mm-width): Mention behavior on
5386 multi-monitor setups in docstrings.
5387 (w32-display-monitor-attributes-list): Declare function.
5388 (display-monitor-attributes-list): Use it.
5390 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5392 * filenotify.el: New package.
5394 * autorevert.el (top): Require filenotify.el.
5395 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5397 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5398 (auto-revert-notify-handler): Use `file-notify-*' functions.
5400 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5402 * net/tramp.el (tramp-file-name-for-operation):
5403 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5405 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5406 for `file-notify-add-watch' and `file-notify-rm-watch'.
5407 (tramp-process-sentinel): Improve trace.
5408 (tramp-sh-handle-file-notify-add-watch)
5409 (tramp-sh-file-notify-process-filter)
5410 (tramp-sh-handle-file-notify-rm-watch)
5411 (tramp-get-remote-inotifywait): New defuns.
5413 2013-07-03 Juri Linkov <juri@jurta.org>
5415 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5416 call of `occur-read-primary-args' to interactive spec.
5418 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5419 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5421 2013-07-03 Matthias Meulien <orontee@gmail.com>
5423 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5424 `Buffer-menu-multi-occur'. Add it to the menu.
5425 (Buffer-menu-mode): Document it in docstring.
5426 (Buffer-menu-multi-occur): New command. (Bug#14673)
5428 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5430 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5431 keywords and built-ins.
5433 2013-07-03 Glenn Morris <rgm@gnu.org>
5435 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5437 Make info-xref checks case-sensitive by default
5438 * info.el (Info-find-node, Info-find-in-tag-table)
5439 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5440 Add option for exact case matching of nodes.
5441 * info-xref.el (info-xref): New custom group.
5442 (info-xref-case-fold): New option.
5443 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5445 2013-07-03 Leo Liu <sdl.web@gmail.com>
5447 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5449 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5451 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5452 middle of block statement initially, lower the depth. Remove
5453 FIXME comment, not longer valid. Remove middle of block statement
5454 detection, no need to do that anymore since we've been using
5455 `ruby-parse-region' here.
5457 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5459 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5461 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5463 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5465 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5467 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5468 (desktop-restore-in-current-display): New customization option.
5469 (desktop--excluded-frame-parameters): Add `font'.
5470 (desktop--save-frames): Rename from desktop--save-windows.
5471 (desktop--restore-in-this-display-p): New function.
5472 (desktop--make-full-frame): Remove unwanted width/height from
5473 full(width|height) frames.
5474 (desktop--restore-frames): Rename from desktop--restore-windows.
5475 Obey desktop-restore-current-display. Do not delete old frames or
5476 select a new frame unless we were able to restore at least one frame.
5478 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5480 * files.el (find-file-noselect): Simplify conditional expression.
5482 * remember.el (remember-append-to-file):
5483 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5485 Add `remember-notes' function to store random notes across Emacs
5487 * remember.el (remember-data-file): Add :set callback to affect
5488 notes buffer (if any).
5489 (remember-notes): New command.
5490 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5491 New defcustoms for the `remember-notes' function.
5492 (remember-notes-save-and-bury-buffer): New command.
5493 (remember-notes-mode-map): New variable.
5494 (remember-mode): New minor mode.
5495 (remember-notes--kill-buffer-query): New function.
5496 * startup.el (initial-buffer-choice): Add notes to custom type.
5498 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5500 * bindings.el (right-char, left-char): Don't call sit-for, this is
5501 no longer needed. Use arithmetic comparison only for numerical
5504 * international/mule-cmds.el (select-safe-coding-system):
5505 Handle the case of FROM being a string correctly. (Bug#14755)
5507 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5509 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5510 progression on degenerate tables.
5511 (shr-rescale-image): ImageMagick animated images currently don't work.
5513 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5515 Some fixes and improvements for desktop frame restoration.
5516 It is still experimental and disabled by default.
5517 * desktop.el (desktop--save-windows): Put the selected frame at
5518 the head of the list.
5519 (desktop--make-full-frame): New function.
5520 (desktop--restore-windows): Try to re-select the frame that was
5521 selected upon saving. Do not abort if some frames fail to restore,
5522 just show an error message and continue. Set up maximized frames
5523 so they have default non-maximized dimensions.
5525 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5527 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5528 Don't start heredoc inside a string or comment.
5530 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5532 * bindings.el (visual-order-cursor-movement): New defcustom.
5533 (right-char, left-char): Provide visual-order cursor motion by
5534 calling move-point-visually. Update the doc strings.
5536 2013-06-28 Kenichi Handa <handa@gnu.org>
5538 * international/mule.el (define-coding-system): New coding system
5539 properties :inhibit-null-byte-detection,
5540 :inhibit-iso-escape-detection, and :prefer-utf-8.
5541 (set-buffer-file-coding-system): If :charset-list property of
5542 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5543 appropriate for setting.
5545 * international/mule-cmds.el (select-safe-coding-system):
5546 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5547 multibyte characters, return utf-8 (or one of its siblings).
5549 * international/mule-conf.el (prefer-utf-8): New coding system.
5550 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5553 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5555 * net/shr.el (shr-render-region): New function.
5557 * net/eww.el: Autoload `eww-browse-url'.
5559 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5562 Adapt to `package-desc-version' being a list.
5563 Use `package--ac-desc-version' to retrieve version from a package
5566 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5568 New experimental feature to save&restore window and frame setup.
5569 * desktop.el (desktop-save-windows): New defcustom.
5570 (desktop--saved-states): New var.
5571 (desktop--excluded-frame-parameters): New defconst.
5572 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5573 (desktop--restore-windows, desktop--save-windows): New functions.
5574 (desktop-save): Call `desktop--save-windows'.
5575 (desktop-read): Call `desktop--restore-windows'.
5577 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5579 * net/shr.el (add-face-text-property): Remove compat definition.
5581 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5583 * info.el (Info-try-follow-nearest-node): Move search for footnote
5584 above search for node name to prevent missing a footnote (bug#14717).
5586 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5588 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5590 2013-06-27 Leo Liu <sdl.web@gmail.com>
5592 * net/eww.el (eww-read-bookmarks): Check file size.
5594 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5596 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5597 advice--pending if newdef is nil or an autoload (bug#13820).
5598 (advice-mapc): New function.
5600 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5602 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5604 (eww-mode-map): Add a menu bar.
5605 (eww-add-bookmark): New command.
5606 (eww-bookmark-mode): New mode and commands.
5607 (eww-add-bookmark): Remove newlines from the title.
5608 (eww-bookmark-browse): Don't bug out if it's the only window.
5610 2013-06-26 Glenn Morris <rgm@gnu.org>
5612 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5613 (hfy-size): Handle ttys. (Bug#14668)
5615 * info-xref.el: Update for Texinfo 5 change in *note format.
5616 (info-xref-node-re, info-xref-note-re): New constants.
5617 (info-xref-check-buffer): Use info-xref-note-re.
5619 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5621 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5623 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5624 nil terminate the loop (bug#14718).
5626 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5628 * net/eww.el: Rework history traversal. When going forward/back,
5629 put these actions into the history, too, so that they can be
5631 (eww-render): Move the history reset to the correct buffer.
5633 2013-06-25 Juri Linkov <juri@jurta.org>
5635 * files-x.el (modify-dir-local-variable): Change the header comment
5636 in the file with directory local variables. (Bug#14692)
5638 * files-x.el (read-file-local-variable-value): Add `default'.
5641 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5643 * net/eww.el (eww-make-unique-file-name): Create a unique file
5644 name before saving to entering `y' accidentally asynchronously.
5646 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5648 * net/eww.el (eww-download): New command and keystroke.
5650 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5652 * net/eww.el (eww-copy-page-url): Change name of command.
5654 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5655 be more consistent with Info and dired.
5657 * net/eww.el (eww-mode-map): Ditto.
5659 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5661 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5662 packages from archives.
5663 (package-archive-contents): Change format; include obsolete packages.
5664 (package-desc): Use `dir' to mark builtin packages.
5665 (package--from-builtin): Set the `dir' field to `builtin'.
5666 (generated-autoload-file, version-control): Declare.
5667 (package-compute-transaction): Change first arg and return value to be
5668 lists of package-descs. Adjust to new package-archive-contents format.
5669 (package--add-to-archive-contents): Adjust to new
5670 package-archive-contents format.
5671 (package-download-transaction): Arg is now a list of package-descs.
5672 (package-install): If `pkg' is a package name, pass it as
5673 a requirement, so it is subject to the usual (e.g. disabled) checks.
5674 (describe-package): Accept package-desc as well.
5675 (describe-package-1): Describe a specific package-desc. Add links to
5676 other package-descs for the same package name.
5677 (package-menu-describe-package): Pass the actual package-desc.
5678 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5680 (package-desc-status): New function.
5681 (package-menu--refresh): New function, extracted
5682 from package-menu--generate.
5683 (package-menu--generate): Use it.
5684 (package-delete): Update package-alist.
5685 (package-menu-execute): Don't call package-initialize.
5687 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5688 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5689 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5690 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5691 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5692 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5694 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5696 * window.el (window--state-get-1): Workaround for bug#14527.
5697 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5699 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5701 * net/eww.el (eww-back-url): Implement the history by stashing all
5702 the data into a list.
5703 (eww-forward-url): Allow going forward in the history, too.
5705 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5707 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5708 for values and use read--expression for expressions (bug#14710).
5709 (read-file-local-variable): Avoid setq.
5710 (read-file-local-variable-mode): Use minor-mode-list.
5712 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5714 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5717 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5719 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5720 Update imenu-support when dialect changes.
5722 2013-06-25 Leo Liu <sdl.web@gmail.com>
5724 * ido.el (ido-read-internal): Allow forward slash on windows.
5726 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5728 * net/eww.el (eww): Start of strings is \\`, not ^.
5730 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5732 * net/shr.el (shr-browse-url): Fix interactive spec.
5734 * net/eww.el (eww): Add a trailing slash to domain names.
5736 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5738 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5740 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5742 * net/shr.el (shr-browse-url): Use an external browser if given a
5745 * net/eww.el (eww-external-browser): Move to shr.
5747 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5749 * net/eww.el (eww): Work more correctly for file: URLs.
5750 (eww-detect-charset): Allow quoted charsets.
5751 (eww-yank-page-url): New command and keystroke.
5753 2013-06-24 Daiki Ueno <ueno@gnu.org>
5755 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5756 file name of gpg executable.
5757 (epg-context-program): New function.
5758 (epg-context-home-directory): New function.
5759 (epg-context-set-program): New function.
5760 (epg-context-set-home-directory): New function.
5761 (epg--start): Use `epg-context-program' instead of
5763 (epg--list-keys-1): Likewise.
5765 2013-06-24 Leo Liu <sdl.web@gmail.com>
5767 * ido.el (ido-read-internal): Fix bug#14620.
5769 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5771 * faces.el (face-documentation): Simplify.
5772 (read-face-attribute, tty-find-type, x-resolve-font-name):
5773 Use `string-match-p'.
5774 (list-faces-display): Use `string-match-p'. Simplify.
5775 (face-spec-recalc): Check face to avoid face alias loops.
5776 (read-color): Use `string-match-p' and non-capturing parenthesis.
5778 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5780 * net/shr.el (shr-rescale-image): Use the new
5781 :max-width/:max-height functionality.
5783 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5785 * net/eww.el (eww-search-prefix): New variable.
5787 (eww-external-browser): New variable.
5788 (eww-mode-map): New keystroke.
5789 (eww-browse-with-external-browser): New command.
5791 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5793 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5795 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5796 Don't skip aligning the next header field when padding is 0;
5797 otherwise, field width is not respected unless the title is as
5800 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * emacs-lisp/package.el (package-el-version): Remove.
5803 (package-process-define-package): Fix inf-loop.
5804 (package-install): Allow symbols as arguments again.
5806 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5808 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5809 add some more keyword-like methods.
5810 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5812 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5814 * bs.el (bs-buffer-show-mark): Make defvar-local.
5815 (bs-mode): Use setq-local.
5817 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5818 (emacs-lock--try-unlocking): Make defvar-local.
5820 2013-06-22 Glenn Morris <rgm@gnu.org>
5822 * play/cookie1.el (cookie-apropos): Minor simplification.
5824 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5826 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5828 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5829 `regexp-opt', it breaks the build during dumping.
5831 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5833 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5834 Highlight keyword-like methods on Kernel and Module with
5835 font-lock-builtin-face.
5836 (auto-mode-alist): Consolidate different entries into one regexp
5837 and add more *file-s.
5839 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5841 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5843 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5844 (diary-entry): Use it in the action of this button type instead of
5847 * calendar/todo-mode.el: New version.
5848 (todo-add-category): Append new category to end of file and give
5849 it the highest number, instead of putting it at the beginning and
5850 giving it 0. Incorporate noninteractive functionality.
5851 (todo-forward-category): Adapt to 1-based category numbering.
5852 Allow skipping over archived categories.
5853 (todo-backward-category): Derive from todo-forward-category.
5854 (todo-backward-item, todo-forward-item): Make noninteractive and
5855 delegate interactive part to new commands. Make sensitive to done items.
5856 (todo-categories): Make value an alist of category names and
5857 vectors of item counts.
5858 (todo-category-beg): Make a defconst.
5859 (todo-category-number): Use 1 instead of 0 as initial value.
5860 (todo-category-select): Make sensitive to overlays, optional item
5861 highlighting and done items.
5862 (todo-delete-item): Make sensitive to overlays and marked and done items.
5863 (todo-edit-item): Make sensitive to overlays and editing of
5864 date/time header optional. Add format checks.
5865 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5866 no-op if point is not on an item. Advertise using todo-edit-quit.
5867 (todo-edit-mode): Make sensitive to new format, font-locking, and
5868 multiple todo files.
5869 (todo-insert-item, todo-insert-item-here): Derive from
5870 todo-basic-insert-item and extend functionality.
5871 (todo-item-end, todo-item-start): Make sensitive to done items.
5872 (todo-item-string): Don't return text properties. Restore point.
5873 (todo-jump-to-category): Make sensitive to multiple todo files and
5874 todo archives. Use extended category completion.
5875 (todo-lower-item, todo-raise-item): Rename to *-priority and
5876 derive from todo-set-item-priority.
5877 (todo-mode): Derive from special-mode. Make sensitive to new
5878 format, font-locking and multiple todo files. Make read-only.
5879 (todo-mode-map): Don't suppress digit keys, so they can supply
5880 prefix arguments. Add many new key bindings.
5881 (todo-prefix): Insert as an overlay instead of file text.
5882 Change semantics from diary date expression to purely visual mark.
5883 (todo-print): Rename to todo-print-buffer. Make buffer display
5884 features printable. Remove option to restrict number of items
5885 printed. Add option to print to file.
5886 (todo-print-function): Rename to todo-print-buffer-function.
5887 (todo-quit): Extend to handle exiting new todo modes.
5888 (todo-remove-item): Make sensitive to overlays.
5889 (todo-save): Extend to buffers of filtered items.
5890 (todo-show): Make sensitive to done items, multiple todo files and
5891 new todo modes. Offer to convert legacy todo file before creating
5892 first new todo file.
5893 (todo-show-priorities): Rename to todo-top-priorities.
5894 Change semantics of value 0.
5895 (todo-top-priorities): Rename to todo-filter-top-priorities,
5896 derive from todo-filter-items and extend functionality.
5897 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5898 and extend functionality to other types of filtered items.
5899 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5900 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5901 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5902 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5903 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5904 (todo-edit-mode-hook, todo-entry-prefix-function)
5905 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5906 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5907 (todo-initials, todo-insert-threshold, todo-item-string-start)
5908 (todo-line-string, todo-menu, todo-mode-hook)
5909 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5910 (todo-print-priorities, todo-remove-separator)
5911 (todo-save-top-priorities-too, todo-string-count-lines)
5912 (todo-string-multiline-p, todo-time-string-format)
5913 (todo-tmp-buffer-name): Remove.
5914 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5915 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5916 (todo-edit-category-diary-inclusion)
5917 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5918 (todo-edit-file, todo-edit-item-date-day)
5919 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5920 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5921 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5922 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5923 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5924 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5925 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5926 (todo-filter-top-priorities-multifile, todo-find-archive)
5927 (todo-find-filtered-items-file, todo-go-to-source-item)
5928 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5929 (todo-jump-to-archive-category, todo-lower-category)
5930 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5931 (todo-move-category, todo-move-item, todo-next-button)
5932 (todo-next-item, todo-padded-string, todo-powerset)
5933 (todo-previous-button, todo-previous-item)
5934 (todo-print-buffer-to-file, todo-raise-category)
5935 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5936 (todo-set-category-number, todo-set-item-priority)
5937 (todo-set-top-priorities-in-category)
5938 (todo-set-top-priorities-in-file, todo-show-categories-table)
5939 (todo-sort-categories-alphabetically-or-numerically)
5940 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5941 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5942 (todo-toggle-item-header, todo-toggle-item-highlighting)
5943 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5944 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5945 (todo-unarchive-items, todo-unmark-category): New commands.
5946 (todo-absolute-file-name, todo-add-to-buffer-list)
5947 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5948 (todo-basic-insert-item, todo-category-completions)
5949 (todo-category-number, todo-category-string-matcher-1)
5950 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5951 (todo-check-format, todo-clear-matches)
5952 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5953 (todo-current-category, todo-date-string-matcher)
5954 (todo-define-insertion-command, todo-diary-expired-matcher)
5955 (todo-diary-goto-entry, todo-diary-item-p)
5956 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5957 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5958 (todo-done-item-section-p, todo-done-separator)
5959 (todo-done-string-matcher, todo-files, todo-filter-items)
5960 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5961 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5962 (todo-insert-category-line, todo-insert-item-from-calendar)
5963 (todo-insert-sort-button, todo-insert-with-overlays)
5964 (todo-insertion-command-name, todo-insertion-key-bindings)
5965 (todo-label-to-key, todo-longest-category-name-length)
5966 (todo-make-categories-list, todo-mode-external-set)
5967 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5968 (todo-modes-set-3, todo-multiple-filter-files)
5969 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5970 (todo-read-category, todo-read-date, todo-read-dayname)
5971 (todo-read-file-name, todo-read-time)
5972 (todo-reevaluate-category-completions-files-defcustom)
5973 (todo-reevaluate-default-file-defcustom)
5974 (todo-reevaluate-filelist-defcustoms)
5975 (todo-reevaluate-filter-files-defcustom)
5976 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5977 (todo-reset-done-separator, todo-reset-done-separator-string)
5978 (todo-reset-done-string, todo-reset-global-current-todo-file)
5979 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5980 (todo-reset-prefix, todo-set-categories)
5981 (todo-set-date-from-calendar, todo-set-show-current-file)
5982 (todo-set-top-priorities, todo-short-file-name)
5983 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5984 (todo-total-item-counts, todo-update-buffer-list)
5985 (todo-update-categories-display, todo-update-categories-sexp)
5986 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5988 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5990 (todo-categories, todo-display, todo-edit, todo-faces)
5991 (todo-filtered): New defgroups.
5992 (todo-archived-only, todo-button, todo-category-string, todo-date)
5993 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5994 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5995 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5996 (todo-add-item-if-new-category, todo-always-add-time-string)
5997 (todo-categories-align, todo-categories-archived-label)
5998 (todo-categories-category-label, todo-categories-diary-label)
5999 (todo-categories-done-label, todo-categories-number-separator)
6000 (todo-categories-todo-label, todo-categories-totals-label)
6001 (todo-category-completions-files, todo-completion-ignore-case)
6002 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6003 (todo-done-separator-string, todo-done-string)
6004 (todo-files-function, todo-filter-done-items, todo-filter-files)
6005 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6006 (todo-initial-category, todo-initial-file, todo-item-mark)
6007 (todo-legacy-date-time-regexp, todo-mode-line-function)
6008 (todo-nondiary-marker, todo-number-prefix)
6009 (todo-print-buffer-function, todo-show-current-file)
6010 (todo-show-done-only, todo-show-first, todo-show-with-done)
6011 (todo-skip-archived-categories, todo-top-priorities-overrides)
6012 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6013 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6015 (todo-category-done, todo-date-pattern, todo-date-string-start)
6016 (todo-diary-items-buffer, todo-done-string-start)
6017 (todo-filtered-items-buffer, todo-item-start)
6018 (todo-month-abbrev-array, todo-month-name-array)
6019 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6020 (todo-top-priorities-buffer): New defconsts.
6021 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6022 (todo-categories-with-marks, todo-category-string-face)
6023 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6024 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6025 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6026 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6027 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6028 (todo-font-lock-keywords, todo-global-current-todo-file)
6029 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6030 (todo-insertion-commands-args)
6031 (todo-insertion-commands-args-genlist)
6032 (todo-insertion-commands-names, todo-insertion-map)
6033 (todo-key-bindings-t, todo-key-bindings-t+a)
6034 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6035 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6036 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6037 (todo-visited): New variables.
6039 2013-06-21 Glenn Morris <rgm@gnu.org>
6041 * play/cookie1.el (cookie-apropos): Add optional display argument.
6042 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6043 (psychoanalyze-pinhead): Use cookie-doctor.
6045 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6047 * emacs-lisp/package.el (tar-get-file-descriptor)
6048 (tar--extract): Declare.
6050 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6052 Extend flymake's warning predicate to be a function (bug#14217).
6053 * progmodes/flymake.el (flymake-warning-predicate): New.
6054 (flymake-parse-line): Use it.
6055 (flymake-warning-re): Make obsolete alias to
6056 `flymake-warning-predicate'.
6058 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6060 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6061 (package-obsolete-list): Remove.
6062 (package-activate): Remove min-version argument. Add `force' argument.
6063 Adjust to new package-alist format.
6064 (package-mark-obsolete): Remove.
6065 (package-unpack): Force reload of the package's autoloads.
6066 (package-installed-p): Check builtins if the installed package is not
6068 (package-initialize): Don't reset package-obsolete-list.
6069 Don't specify which package version to activate.
6070 (package-process-define-package, describe-package-1)
6071 (package-menu--generate): Adjust to new package-alist format.
6073 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6075 * allout-widgets.el (allout-widgets-mode-off)
6076 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6077 (allout-widgets-post-command-business)
6078 (allout-widgets-after-copy-or-kill-function)
6079 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6080 (allout-decorate-item-and-context)
6081 (allout-graphics-modification-handler): Fix typos in docstrings.
6082 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6084 * cmuscheme.el (scheme-start-file): Doc fix.
6085 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6086 (scheme-input-filter): Use `string-match-p'.
6088 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6090 * dired-x.el: Use Dired consistently in docstrings.
6092 * dired.el: Use Dired consistently in docstrings.
6093 (dired-readin, dired-mode): Use `setq-local'.
6094 (dired-switches-alist): Make defvar-local.
6095 (dired-buffers-for-dir): Use `zerop'.
6096 (dired-safe-switches-p, dired-switches-escape-p)
6097 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6098 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6099 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6100 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6101 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6102 (dired-toggle-marks, dired-mark-files-containing-regexp)
6103 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6104 (dired-flag-auto-save-files, dired-flag-backup-files):
6106 (dired-mark-files-regexp, dired-build-subdir-alist):
6107 Use `string-match-p', `looking-at-p'.
6109 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6110 (direct-print-region-helper): Use `string-match-p'.
6112 2013-06-21 Leo Liu <sdl.web@gmail.com>
6114 * comint.el (comint-redirect-results-list-from-process):
6117 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6119 * net/eww.el (eww-update-header-line-format): Quote % characters.
6121 2013-06-21 Glenn Morris <rgm@gnu.org>
6123 * play/cookie1.el (cookie): New custom group.
6124 (cookie-file): New option.
6125 (cookie-check-file): New function.
6126 (cookie): Make it interactive. Make start and end messages optional.
6127 Interactively, display the result. Default to cookie-file.
6128 (cookie-insert): Default to cookie-file.
6129 (cookie-snarf): Make start and end messages optional.
6130 Default to cookie-file. Use with-temp-buffer.
6131 (cookie-read): Rename from read-cookie.
6132 Make start and end messages optional. Default to cookie-file.
6133 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6135 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6136 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6138 2013-06-21 Leo Liu <sdl.web@gmail.com>
6140 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6142 2013-06-21 Glenn Morris <rgm@gnu.org>
6144 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6146 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6147 Daniel Hackney <dan@haxney.org>
6149 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6150 Consolidate the single-file vs tarball code.
6151 (package-desc-suffix): New function.
6152 (package-desc-full-name): Don't bother inlining it.
6153 (package-load-descriptor): Return the new package-desc.
6154 (package-mark-obsolete): Remove unused arg `package'.
6155 (package-unpack): Make it work for single files as well.
6156 Make it update package-alist.
6157 (package--make-autoloads-and-stuff): Rename from
6158 package--make-autoloads-and-compile. Don't compile any more.
6159 (package--compile): New function.
6160 (package-generate-description-file): New function, extracted from
6161 package-unpack-single.
6162 (package-unpack-single): Remove.
6163 (package--with-work-buffer): Add indentation and debugging info.
6164 (package-download-single): Remove.
6165 (package-install-from-archive): Rename from package-download-tar, make
6166 it take a pkg-desc, and make it work for single files as well.
6167 (package-download-transaction): Simplify.
6168 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6169 external tar program.
6170 (package-install-from-buffer): Remove `pkg-desc' argument.
6171 Use package-tar-file-info for tar-mode buffers.
6172 (package-install-file): Simplify accordingly.
6173 (package-archive-base): Change to take a pkg-desc.
6174 * tar-mode.el (tar--check-descriptor): New function, extracted from
6176 (tar-get-descriptor): Use it.
6177 (tar-get-file-descriptor): New function.
6178 (tar--extract): New function, extracted from tar-extract.
6179 (tar--extract): Use it.
6180 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6181 case the summary uses non-ascii. Adjust to new calling convention of
6182 package-tar-file-info.
6184 2013-06-21 Leo Liu <sdl.web@gmail.com>
6186 * comint.el (comint-redirect-results-list-from-process):
6187 Fix random delay. (Bug#14681)
6189 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6191 * profiler.el (profiler-format-number): Use log, not log10.
6193 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6195 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6197 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6200 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6202 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6203 (AUTOGENEL): ... here.
6204 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6205 (cl--defsubst-expand): Use it.
6207 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6209 * subr.el (log10): Move here from C code, and declare as obsolete.
6210 All uses of (log10 X) replaced with (log X 10).
6212 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6214 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6215 Declare with `defvar-local'.
6216 (tabulated-list-use-header-line, tabulated-list-entries)
6217 (tabulated-list-padding, tabulated-list-printer)
6218 (tabulated-list-sort-key): Declare with `defvar-local'.
6219 (tabulated-list-init-header, tabulated-list-print-fake-header):
6222 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6224 * arc-mode.el (archive-mode): Add `archive-write-file' to
6225 `write-contents-functions' also for remote files. (Bug#14652)
6227 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6229 * cus-edit.el (custom-commands): Fix typos.
6230 (custom-display): Fix tooltip text.
6231 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6232 Fix typos in docstrings.
6233 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6234 (custom-unlispify-menu-entry, custom-magic-value-create)
6235 (custom-add-see-also, custom-group-value-create): Use ?\s.
6236 (custom-guess-type, customize-apropos, editable-field)
6237 (custom-face-value-create): Use `string-match-p'.
6238 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6240 * custom.el (custom-load-symbol): Use `string-match-p'.
6242 * ansi-color.el: Convert to lexical binding.
6243 (ansi-colors): Fix URL.
6244 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6245 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6246 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6248 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6250 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6252 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6254 2013-06-19 Tom Tromey <tromey@redhat.com>
6256 * net/eww.el (eww-top-url): Remove.
6257 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6258 (eww-render): Set new variables. Don't set eww-top-url.
6259 (eww-handle-link): Handle "prev", "home", and "contents".
6260 Downcase the rel text.
6261 (eww-top-url): Choose best top URL.
6263 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6266 relying in widget.el. Using widget.el leads to too many
6267 user interface inconsistencies.
6268 (eww-self-insert): Implement entering commands in text fields.
6269 (eww-process-text-input): New function to make text input field editing
6271 (eww-submit): Rewrite to use the new-style form methods.
6272 (eww-select-display): Display the correct selected item.
6273 (eww-change-select): Implement changing the select value.
6274 (eww-toggle-checkbox): Implement radio/checkboxes.
6275 (eww-update-field): Fix compilation error.
6276 (eww-tag-textarea): Implement <textarea>.
6278 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6279 we don't shadow mode-specific bindings.
6281 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6284 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6286 2013-06-19 Glenn Morris <rgm@gnu.org>
6288 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6290 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6292 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6295 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6297 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6299 * net/browse-url.el (browse-url-browser-function):
6300 `eww-browse-url' has the right calling signature, `eww' does not.
6302 2013-06-19 Glenn Morris <rgm@gnu.org>
6304 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6305 Only eval autoloaded macros.
6306 (byte-compile-autoload): Only give the macro warning for macros.
6308 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6309 (ps-underlined-faces): Declare.
6311 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6312 (speedbar-add-supported-extension): Declare.
6314 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6315 Don't include a date stamp in the header of the generated file;
6316 it leads to needless differences between output files.
6318 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6320 * net/secrets.el (secrets-struct-secret-content-type):
6321 Replace check of introspection data by a test call of "CreateItem".
6322 Some servers do not offer introspection.
6324 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6326 * electric.el (electric-pair-mode): Improve interaction with
6327 electric-layout-mode.
6328 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6329 (electric-pair-syntax): Use text-mode-syntax-table in comments
6331 (electric-pair--insert): New function.
6332 (electric-pair-post-self-insert-function): Use it and
6333 electric--after-char-pos.
6335 2013-06-19 Leo Liu <sdl.web@gmail.com>
6337 * progmodes/octave.el (octave-help): Fix regexp.
6339 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6341 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6342 (shr-table-horizontal-line): Allow nil as a value, and change the
6344 (shr-insert-table-ruler): Respect the nil value.
6346 2013-06-18 Tom Tromey <tromey@barimba>
6348 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6350 (eww-open-file): New defun.
6351 (eww-render): Initialize new variables.
6352 (eww-display-html): Handle "link" and "a".
6353 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6354 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6355 (eww-back-url): Rename from eww-previous-url.
6356 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6359 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6361 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6362 Distinguish ternary operator tokens from slash symbol and slash
6365 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6367 Convert symbol prettification into minor mode and global minor mode.
6369 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6370 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6371 (prettify-symbols--keywords): Rename from
6372 `prog-prettify-symbols-alist' and make a local defvar.
6373 (prettify-symbols--compose-symbol): Rename from
6374 `prog--prettify-font-lock-compose-symbol'.
6375 (prettify-symbols--make-keywords): Rename from
6376 `prog-prettify-font-lock-symbols-keywords' and simplify.
6377 (prog-prettify-install): Remove.
6378 (prettify-symbols-mode): New minor mode, based on
6379 `prog-prettify-install'.
6380 (turn-on-prettify-symbols-mode): New function.
6381 (global-prettify-symbols-mode): New globalized minor mode.
6383 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6384 * progmodes/cfengine.el (cfengine3-mode):
6385 * progmodes/perl-mode.el (perl-mode): Don't call
6386 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6388 2013-06-18 Juri Linkov <juri@jurta.org>
6390 * files-x.el (modify-file-local-variable-message): New function.
6391 (modify-file-local-variable)
6392 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6393 and call `modify-file-local-variable-message' when it's non-nil.
6394 (add-file-local-variable, delete-file-local-variable)
6395 (add-file-local-variable-prop-line)
6396 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6397 and use it. (Bug#9820)
6399 2013-06-18 Juri Linkov <juri@jurta.org>
6401 * emulation/vi.el (vi-shell-op):
6402 * emulation/vip.el (vip-execute-com, ex-command):
6403 * emulation/viper-cmd.el (viper-exec-bang):
6404 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6405 the call of `shell-command-on-region'. (Bug#14637)
6407 * simple.el (shell-command-on-region): Doc fix.
6409 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6411 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6414 2013-06-18 Glenn Morris <rgm@gnu.org>
6416 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6418 * newcomment.el (comment-search-forward, comment-search-backward):
6419 Doc fix. (Bug#14376)
6421 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6423 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6424 (buffer-face-mode-invoke): Doc fix.
6426 2013-06-18 Matthias Meulien <orontee@gmail.com>
6428 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6429 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6431 2013-06-18 Glenn Morris <rgm@gnu.org>
6433 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6434 Replace obsolete function generic-make-keywords with its expansion.
6436 * progmodes/python.el (ffap-alist): Declare.
6438 * textmodes/reftex.el (bibtex-mode-map): Declare.
6440 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6442 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6443 (package-unpack, package-unpack-single): Return the pkg-dir.
6444 (package-download-transaction): Use it to update package-alist.
6446 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6448 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6451 2013-06-17 Juri Linkov <juri@jurta.org>
6453 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6455 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6457 * emacs-lisp/package.el (package-load-descriptor):
6458 Remove `with-syntax-table' call, `read' doesn't need it.
6459 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6461 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6463 * startup.el (command-line): Expand package name returned by
6464 `package--description-file' (bug#14639).
6466 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6468 * emacs-lisp/package.el (package-load-descriptor): Do not call
6469 `emacs-lisp-mode', just use its syntax table.
6471 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6473 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6474 `font-lock-extra-managed-props' if any prettifying keyword is added.
6475 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6476 (prog-mode): Use `setq-local'.
6478 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6480 * international/characters.el (standard-case-table): Set syntax of ?»
6481 and ?« to punctuation.
6483 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6485 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6486 Save relevant match data before calling `syntax-ppss' (bug#14595).
6488 2013-06-15 Juri Linkov <juri@jurta.org>
6490 * files-x.el (modify-file-local-variable-prop-line): Add local
6491 variables to the end of the existing comment on the first line.
6492 Use `file-auto-mode-skip' to skip interpreter magic line,
6493 and also skip XML declaration.
6495 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6497 * startup.el (package--builtin-versions): New var.
6498 (package-subdirectory-regexp): Remove.
6499 (package--description-file): Hard code its value instead.
6501 * emacs-lisp/package.el: Don't activate packages older than builtin.
6502 (package-obsolete-list): Rename from package-obsolete-alist, and make
6503 it into a simple list of package-desc.
6504 (package-strip-version): Remove.
6505 (package-built-in-p): Use package--builtin-versions.
6506 (package-mark-obsolete): Simplify.
6507 (package-process-define-package): Mark it obsolete if older than the
6509 (package-handle-response): Use line-end-position.
6510 (package-read-archive-contents, package--download-one-archive):
6512 (package--add-to-archive-contents): Skip if older than the builtin or
6514 (package-menu-describe-package): Fix last change.
6515 (package-list-unversioned): New var.
6516 (package-menu--generate): Use it.
6518 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6519 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6520 (autoload-builtin-package-versions): New variable.
6521 (autoload-generate-file-autoloads): Use them.
6522 Remove the list of autoloaded functions/macros from the
6523 (autoload...) comments.
6525 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6527 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6529 * simple.el (line-move-partial): Don't jump to the next screen
6530 line as soon as it becomes visible. Instead, continue enlarging
6531 the vscroll until the portion of a tall screen line that's left on
6532 display is about the height of the frame's default font.
6535 2013-06-15 Glenn Morris <rgm@gnu.org>
6537 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6538 compilation-error-regexp-alist void, or local while let-bound.
6540 * progmodes/make-mode.el (makefile-mode-syntax-table):
6541 Treat "=" as punctuation. (Bug#14614)
6543 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6545 * help-fns.el (describe-variable):
6546 Add extra line for permanent-local variables.
6548 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6550 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6551 Add export, import, library. (Bug#9164)
6552 (library): Set indent function.
6554 2013-06-14 Glenn Morris <rgm@gnu.org>
6556 * term/xterm.el (xterm--query):
6557 Stop after first matching handler. (Bug#14615)
6559 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6561 Add support for dired in saveplace.
6562 * dired.el (dired-initial-position-hook): New variable.
6563 (dired-initial-position): Call hook to place cursor position.
6564 * saveplace.el (save-place-to-alist): Add dired position.
6565 (save-place-dired-hook): New function.
6567 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6569 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6570 through a symbol rather than letrec.
6572 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6573 (package-desc): Add `dir' field.
6574 (package-desc-full-name): New function.
6575 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6576 (package-maybe-load-descriptor): Remove.
6577 (package-load-all-descriptors): Just call package-load-descriptor.
6578 (package--disabled-p): New function.
6579 (package-desc-vers, package-desc-doc): Remove aliases.
6580 (package--dir): Remove function.
6581 (package-activate): Check if a package is disabled.
6582 (package-process-define-package): New function, extracted from
6584 (define-package): Turn into a place holder.
6585 (package-unpack-single, package-tar-file-info):
6586 Use package--description-file.
6587 (package-compute-transaction): Use package--disabled-p.
6588 (package-download-transaction): Don't call
6589 package-maybe-load-descriptor since they're all loaded anyway.
6590 (package-install): Change argument to be a pkg-desc.
6591 (package-delete): Use a single pkg-desc argument.
6592 (describe-package-1): Use package-desc-dir instead of package--dir.
6593 Use package-desc property instead of package-symbol.
6594 (package-install-button-action): Adjust accordingly.
6595 (package--push): Rewrite.
6596 (package-menu--print-info): Adjust accordingly. Change the ID format
6598 (package-menu-describe-package, package-menu-get-status)
6599 (package-menu--find-upgrades, package-menu-mark-upgrades)
6600 (package-menu-execute, package-menu--name-predicate):
6602 * startup.el (package--description-file): New function.
6603 (command-line): Use it.
6604 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6605 Use package-desc-version.
6607 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6608 (byte-compile-preprocess): Use it.
6609 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6610 can't quite recognize.
6611 (byte-compile-add-to-list): Remove.
6612 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6613 (cconv-closure-convert): Add assertion.
6615 * emacs-lisp/map-ynp.el: Use lexical-binding.
6616 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6617 Factor out some repeated code.
6619 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * subr.el (with-eval-after-load): New macro.
6622 (eval-after-load): Allow form to be a function.
6623 take advantage of lexical-binding.
6624 (do-after-load-evaluation): Use dolist and adjust to new format.
6625 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6627 2013-06-13 Juri Linkov <juri@jurta.org>
6629 * replace.el (perform-replace): Display "symbol " and other search
6630 modes from `isearch-message-prefix' in the *Help* buffer.
6632 * isearch.el (isearch-query-replace): Add " symbol" and other
6633 possible search modes from `isearch-message-prefix' to the prompt.
6634 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6635 when reading a regexp to collect.
6637 2013-06-13 Juri Linkov <juri@jurta.org>
6639 * isearch.el (word-search-regexp): Match whitespace if the search
6640 string begins or ends in whitespace. The LAX arg is applied to
6641 both ends of the search string. Use `regexp-quote' and explicit
6642 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6643 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6644 boundaries are replaced with symbol boundaries, and characters
6645 between symbols match non-word non-symbol syntax. (Bug#14602)
6647 2013-06-13 Juri Linkov <juri@jurta.org>
6649 * isearch.el (isearch-del-char): Don't exceed the length of
6650 `isearch-string' by the prefix arg. (Bug#14563)
6652 2013-06-13 Juri Linkov <juri@jurta.org>
6654 * isearch.el (isearch-yank-word, isearch-yank-line)
6655 (isearch-char-by-name, isearch-quote-char)
6656 (isearch-printing-char, isearch-process-search-char):
6657 Add optional count prefix arg. (Bug#14563)
6659 * international/isearch-x.el
6660 (isearch-process-search-multibyte-characters):
6661 Add optional count prefix arg.
6663 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6665 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6666 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6669 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6671 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6673 2013-06-13 Glenn Morris <rgm@gnu.org>
6675 * startup.el (tty-handle-args):
6676 Don't just discard "--" and anything after. (Bug#14608)
6678 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6680 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6682 Implement changes in Secret Service API. Make it backward compatible.
6683 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6684 (secrets-create-item): Use it. Prefix properties with interface.
6686 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6688 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6689 (term-emulate-terminal): Respect term-suppress-hard-newline.
6691 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6693 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6694 Only remove a `thumb-file' overlay. (Bug#14548)
6696 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6698 * mail/reporter.el (reporter-submit-bug-report):
6699 Handle missing package-name. (Bug#14600)
6701 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6703 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6704 (reftex-citation-prompt, reftex-default-bibliography)
6705 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6706 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6707 (reftex-bib-sort-author, reftex-bib-sort-year)
6708 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6709 (reftex-extract-bib-entries-from-thebibliography)
6710 (reftex-get-bibkey-default, reftex-get-bib-names)
6711 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6712 (reftex-format-bib-entry, reftex-parse-bibitem)
6713 (reftex-format-bibitem, reftex-do-citation)
6714 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6715 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6716 (reftex-insert-bib-matches, reftex-format-citation)
6717 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6718 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6719 existing comments into docstrings.
6721 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6723 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6725 2013-06-12 Andreas Schwab <schwab@suse.de>
6727 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6728 for auto-save files.
6730 2013-06-12 Glenn Morris <rgm@gnu.org>
6732 * ido.el (ido-delete-ignored-files): Remove.
6733 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6734 Go back to calling ido-ignore-item-p directly.
6736 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6738 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6740 * ido.el (ido-delete-ignored-files): New function,
6741 split from ido-make-file-list-1.
6742 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6743 (ido-make-file-list-1): Use ido-delete-ignored-files.
6745 2013-06-12 Leo Liu <sdl.web@gmail.com>
6747 * progmodes/octave.el (inferior-octave-startup)
6748 (inferior-octave-completion-table)
6749 (inferior-octave-track-window-width-change)
6750 (octave-eldoc-function-signatures, octave-help)
6751 (octave-find-definition): Use single quoted strings.
6752 (inferior-octave-startup-args): Change default value.
6753 (inferior-octave-startup): Do not hard code "-i" and
6754 "--no-line-editing".
6755 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6756 (inferior-octave-directory-tracker): Use it.
6757 (octave-goto-function-definition): Robustify.
6758 (octave-help): Support highlighting operators in 'See also'.
6759 (octave-find-definition): Find subfunctions only in Octave mode.
6761 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * help-fns.el (help-fns--compiler-macro): If the handler function is
6764 named, then put a link to it.
6765 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6766 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6768 (cl-eval-when): Simplify debug spec.
6769 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6770 compiler-macro function instead of setting `compiler-macro-file'.
6772 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6774 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6775 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6777 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6778 Daniel Hackney <dan@haxney.org>
6780 First part of Daniel Hackney's patch to package.el.
6781 * emacs-lisp/package.el: Use defstruct.
6782 (package-desc): New, main struct.
6783 (package--bi-desc, package--ac-desc): New structs, used to describe the
6784 format in external files.
6785 (package-desc-vers): Replace with package-desc-version accessor.
6786 (package-desc-doc): Replace with package-desc-summary accessor.
6787 (package-activate-1): Remove `package' arg since the pkg-vec now
6789 (define-package): Use package-desc-from-define.
6790 (package-unpack-single): Change file-name arg to be a symbol.
6791 (package--add-to-archive-contents): Use package-desc-create and new
6792 accessor functions to package--ac-desc.
6793 (package-buffer-info, package-tar-file-info): Return a package-desc.
6794 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6795 arg to be a package-desc.
6796 (package-install-file): Adjust accordingly. Use \' to match EOS.
6797 (package--from-builtin): New function.
6798 (describe-package-1, package-menu--generate): Use it.
6799 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6800 (package-generate-autoloads): Idem and return the name of the file.
6801 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6802 Change pkg-info arg to be a package-desc.
6803 Use package-make-ac-desc.
6804 (package-upload-file): Use \' to match EOS.
6805 * finder.el (finder-compile-keywords): Use package-make-builtin.
6807 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6809 * vc/vc.el (vc-deduce-fileset): Change error message.
6810 (vc-read-backend): New function.
6811 (vc-next-action): Use it.
6813 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6815 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6816 (prolog-font-lock-keywords): Use regexp-opt instead.
6817 Don't manually highlight strings.
6818 (prolog-mode-variables): Simplify comment-start-skip.
6819 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6821 * emacs-lisp/generic.el (generic--normalise-comments)
6822 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6823 (generic-mode-set-comments): Use them.
6824 (generic-bracket-support): Use setq-local.
6825 (generic-make-keywords-list): Declare obsolete.
6827 2013-06-11 Glenn Morris <rgm@gnu.org>
6829 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6830 Prettify after setting font-lock-defaults. (Bug#14574)
6832 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6834 * replace.el (query-replace, occur-read-regexp-defaults-function)
6836 * subr.el (declare-function, number-sequence, local-set-key)
6837 (substitute-key-definition, locate-user-emacs-file)
6838 (with-silent-modifications, split-string, eval-after-load):
6839 Fix typos, remove unneeded backslashes and reflow some docstrings.
6841 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6844 default for Elisp files.
6846 2013-06-11 Glenn Morris <rgm@gnu.org>
6848 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6849 although define-derived-mode was doing this anyway. (Bug#14583)
6851 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6853 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6854 Fix make-variable-buffer-local call to refer to the correct variable.
6856 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6858 * eshell/em-term.el (eshell-visual-commands)
6859 (eshell-visual-subcommands, eshell-visual-options):
6860 Add summary line to docstrings. Add cross-references.
6862 2013-06-10 Glenn Morris <rgm@gnu.org>
6864 * epa.el (epa-read-file-name): New function. (Bug#14510)
6865 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6867 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6869 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6870 output redirection to be ignored with visual commands.
6872 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6874 * eshell/em-term.el (eshell-visual-command-p): New function.
6875 (eshell-term-initialize): Move long lambda to separate function
6876 eshell-visual-command-p.
6877 * eshell/em-dirs.el (eshell-dirs-initialise):
6878 * eshell/em-script.el (eshell-script-initialize):
6879 Add missing #' to lambda.
6881 2013-06-08 Leo Liu <sdl.web@gmail.com>
6883 * progmodes/octave.el (octave-add-log-current-defun): New function.
6884 (octave-mode): Set add-log-current-defun-function.
6885 (octave-goto-function-definition): Do not move point if not found.
6886 (octave-find-definition): Enhance to try subfunctions first.
6888 2013-06-08 Glenn Morris <rgm@gnu.org>
6890 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6891 (byte-compile-backward-char, byte-compile-backward-word):
6892 Improve previous change, to handle non-explicit nil.
6894 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6896 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6897 (smie--opener/closer-at-point): New function.
6898 (smie--matching-block-data): Use it. Don't match from right after an
6899 opener or right before a closer. Obey smie-blink-matching-inners.
6900 Don't signal a mismatch for repeated inners like "switch..case..case".
6902 2013-06-07 Leo Liu <sdl.web@gmail.com>
6904 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6906 (octave-function-header-regexp): Fix. (Bug#14570)
6907 (octave-help-mode-finish-hook, octave-help-mode-finish):
6908 Remove. Just use temp-buffer-show-hook.
6910 * newcomment.el (comment-search-backward): Revert last change.
6913 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6915 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6917 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6918 through xargs, to avoid failure due to MS-Windows limitations on
6919 command-line length.
6921 2013-06-06 Glenn Morris <rgm@gnu.org>
6923 * font-lock.el (lisp-font-lock-keywords-2):
6924 Treat user-error like error.
6926 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6927 (byte-compile-backward-char, byte-compile-backward-word):
6928 Handle explicit nil arguments. (Bug#14565)
6930 2013-06-05 Alan Mackenzie <acm@muc.de>
6932 * isearch.el (isearch-allow-prefix): New user option.
6933 (isearch-other-meta-char): Don't exit isearch when a prefix
6934 argument is typed whilst `isearch-allow-prefix' is non-nil.
6937 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * autorevert.el (auto-revert-notify-handler): Use memq.
6940 Hide assertion failure.
6942 * skeleton.el: Use cl-lib.
6943 (skeleton-further-elements): Use defvar-local.
6944 (skeleton-insert): Use cl-progv.
6946 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6948 * progmodes/prog-mode.el (prog-prettify-symbols)
6949 (prog-prettify-install): Update docstrings.
6951 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6953 * simple.el: Move all the prog-mode code to prog-mode.el.
6954 * progmodes/prog-mode.el: New file.
6955 * loadup.el: Add prog-mode.el.
6957 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6959 * simple.el (prog-prettify-symbols): Add version.
6960 (prog-prettify-install): Add convenience function to prettify symbols.
6962 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6963 (perl--augmented-font-lock-keywords-1)
6964 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6965 variables and use it.
6967 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6968 (cfengine3-mode): Remove unneeded variable and use it.
6970 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6971 (lisp--augmented-font-lock-keywords-1)
6972 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6973 Remove unneeded variables and use it.
6975 2013-06-05 João Távora <joaotavora@gmail.com>
6977 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6978 to point when opening the connection. (Bug#14380)
6980 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6982 * subr.el (load-history-regexp, load-history-filename-element)
6983 (eval-after-load, after-load-functions, do-after-load-evaluation)
6984 (eval-next-after-load, display-delayed-warnings)
6985 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6986 definition of save-match-data.
6987 (overriding-local-map): Remove accidental obsolescence declaration.
6989 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6991 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6993 Generalize symbol prettify support to prog-mode and implement it
6994 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6995 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6996 (prog--prettify-font-lock-compose-symbol)
6997 (prog-prettify-font-lock-symbols-keywords): New variables and
6998 functions to support symbol prettification.
6999 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7000 (lisp--augmented-font-lock-keywords-1)
7001 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7002 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7003 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7004 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7005 Implement prettify of -> => :: strings.
7006 * progmodes/perl-mode.el (perl-prettify-symbols)
7007 (perl--font-lock-compose-symbol)
7008 (perl--font-lock-symbols-keywords): Move to prog-mode.
7009 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7010 (perl-font-lock-keywords-1)
7011 (perl-font-lock-keywords-2): Remove explicit prettify support.
7012 (perl--augmented-font-lock-keywords)
7013 (perl--augmented-font-lock-keywords-1)
7014 (perl--augmented-font-lock-keywords-2, perl-mode):
7015 Implement prettify support.
7017 2013-06-05 Leo Liu <sdl.web@gmail.com>
7019 Re-implement smie matching block highlight using
7020 show-paren-data-function. (Bug#14395)
7021 * emacs-lisp/smie.el (smie-matching-block-highlight)
7022 (smie--highlight-matching-block-overlay)
7023 (smie--highlight-matching-block-lastpos)
7024 (smie-highlight-matching-block)
7025 (smie-highlight-matching-block-mode): Remove.
7026 (smie--matching-block-data-cache): New variable.
7027 (smie--matching-block-data): New function.
7028 (smie-setup): Use smie--matching-block-data for
7029 show-paren-data-function.
7031 * progmodes/octave.el (octave-mode-menu): Fix.
7032 (octave-find-definition): Skip garbage lines.
7034 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7036 Fix compilation error with simultaneous dynamic+lexical scoping.
7037 Add warning when a defvar appears after the first let-binding.
7038 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7039 (byte-compile-close-variables): Initialize it.
7040 (byte-compile--declare-var): New function.
7041 (byte-compile-file-form-defvar)
7042 (byte-compile-file-form-define-abbrev-table)
7043 (byte-compile-file-form-custom-declare-variable): Use it.
7044 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7045 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7046 (byte-compile-bind): Handle dynamic bindings that shadow
7048 (byte-compile-unbind): Make arg non-optional.
7049 (byte-compile-let): Simplify.
7050 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7051 (cconv--analyse-function, cconv-analyse-form): Populate it.
7052 Protect byte-compile-bound-variables to limit the scope of defvars.
7053 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7054 Remove unneeded rule for `declare'.
7056 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7057 so as to avoid depending on cl-adjoin at run-time.
7058 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7060 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7061 (macroexp--warn-and-return): Use it.
7063 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * lisp/subr.el: Convert to lexical binding.
7066 (overriding-local-map): Make obsolete.
7067 (add-to-list): Doc fix. Add compiler macro.
7068 (read-key): Swap values of local maps.
7070 2013-06-05 Leo Liu <sdl.web@gmail.com>
7072 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7074 2013-06-04 Leo Liu <sdl.web@gmail.com>
7076 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7077 (compilation-auto-jump): Suppress the "Mark set" message to give
7078 way to exit message.
7080 2013-06-04 Alan Mackenzie <acm@muc.de>
7082 Remove faulty optimisation from indentation calculation.
7083 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7084 search limit based on 2000 characters back from indent-point.
7086 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7088 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7090 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * emacs-lisp/lisp.el: Use lexical-binding.
7093 (lisp--local-variables-1, lisp--local-variables): New functions.
7094 (lisp--local-variables-completion-table): New var.
7095 (lisp-completion-at-point): Use it complete let-bound vars.
7097 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7098 eagerly (bug#14422).
7100 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7102 * autorevert.el (auto-revert-notify-enabled)
7103 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7104 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7105 (auto-revert-notify-handler): Handle also gfilenotify.
7107 * subr.el (file-notify-handle-event): New defun. Replacing ...
7108 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7111 2013-06-03 Juri Linkov <juri@jurta.org>
7113 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7114 `M-s h .'. (Bug#14427)
7116 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7117 command `hi-lock-face-symbol-at-point'.
7118 (hi-lock-face-symbol-at-point): New command.
7119 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7120 (hi-lock-menu): Add `highlight-symbol-at-point'.
7121 (hi-lock-mode): Doc fix.
7123 * isearch.el (isearch-forward-symbol-at-point): New command.
7124 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7125 (isearch-highlight-regexp): Add a regexp which matches
7126 words/symbols for word/symbol mode.
7128 * subr.el (find-tag-default-bounds): New function with the body
7129 mostly moved from `find-tag-default'.
7130 (find-tag-default): Move most code to `find-tag-default-bounds',
7131 call it and apply `buffer-substring-no-properties' afterwards.
7133 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7135 * eshell/em-term.el (eshell-term-initialize):
7136 Use `cl-intersection' rather than `intersection'.
7138 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7140 * vc/log-view.el: Doc fix.
7141 (log-view-mode-map): Copy keymap from `special-mode-map'.
7143 2013-06-02 Eric Ludlam <zappo@gnu.org>
7145 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7146 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7147 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7148 (eieio-unbound, eieio-default-superclass)
7149 (eieio--define-field-accessors, method-static, method-before)
7150 (method-primary, method-after, method-num-lists)
7151 (method-generic-before, method-generic-primary)
7152 (method-generic-after, method-num-slots)
7153 (eieio-specialized-key-to-generic-key)
7154 (eieio--check-type, class-v, class-p)
7155 (eieio-class-name, define-obsolete-function-alias)
7156 (eieio-class-parents-fast, eieio-class-children-fast)
7157 (same-class-fast-p, class-constructor, generic-p)
7158 (generic-primary-only-p, generic-primary-only-one-p)
7159 (class-option-assoc, class-option, eieio-object-p)
7160 (class-abstract-p, class-method-invocation-order)
7161 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7162 (eieio-class-un-autoload, eieio-defclass)
7163 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7164 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7165 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7166 (eieio-defgeneric-reset-generic-form)
7167 (eieio-defgeneric-form-primary-only)
7168 (eieio-defgeneric-reset-generic-form-primary-only)
7169 (eieio-defgeneric-form-primary-only-one)
7170 (eieio-defgeneric-reset-generic-form-primary-only-one)
7171 (eieio-unbind-method-implementations)
7172 (eieio--defmethod, eieio--typep)
7173 (eieio-perform-slot-validation, eieio-validate-slot-value)
7174 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7175 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7176 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7177 (eieio-slot-name-index, eieio-class-slot-name-index)
7178 (eieio-set-defaults, eieio-initarg-to-attribute)
7179 (eieio-attribute-to-initarg, eieio-c3-candidate)
7180 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7181 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7182 (eieio-class-precedence-list, eieio-generic-call-methodname)
7183 (eieio-generic-call-arglst, eieio-generic-call-key)
7184 (eieio-generic-call-next-method-list)
7185 (eieio-pre-method-execution-functions, eieio-generic-call)
7186 (eieio-generic-call-primary-only, eieiomt-method-list)
7187 (eieiomt-optimizing-obarray, eieiomt-install)
7188 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7189 (eieio-generic-form, eieio-defmethod, make-obsolete)
7190 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7191 (defclass): Remove `eval-and-compile' from macro.
7192 (call-next-method, shared-initialize): Instead of using
7193 `scoped-class' variable, use new eieio--scoped-class, and
7194 eieio--with-scoped-class.
7195 (initialize-instance): Rename local variable 'scoped-class' to
7196 'this-class' to remove ambiguitity from old global.
7198 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7200 (eieio--scoped-class-stack): New variable.
7201 (eieio--scoped-class): New fcn.
7202 (eieio--with-scoped-class): New scoping macro.
7203 (eieio-defclass): Use pushnew instead of add-to-list.
7204 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7205 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7206 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7207 `scoped-class' variable, use new eieio--scoped-class, and
7208 eieio--with-scoped-class.
7210 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7212 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7214 * eshell/esh-ext.el (eshell-external-command): Pass args to
7215 `eshell-find-interpreter'.
7216 (eshell-find-interpreter): Add new second parameter ARGS.
7218 * eshell/em-script.el (eshell-script-initialize): Add second arg
7219 to the function added as MATCH to `eshell-interpreter-alist'.
7221 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7222 the function added as MATCH to `eshell-interpreter-alist'.
7224 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7225 (eshell-visual-options): New defcustom.
7226 (eshell-escape-control-x): Adapt docstring.
7227 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7228 `eshell-visual-options' in addition to `eshell-visual-commands'.
7229 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7231 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7233 * progmodes/python.el (python-indent-block-enders): Add break,
7234 continue and raise keywords.
7236 2013-06-01 Glenn Morris <rgm@gnu.org>
7238 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7240 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7241 * progmodes/cc-cmds.el (delete-forward-p):
7242 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7243 * progmodes/cc-engine.el (buffer-syntactic-context):
7244 * progmodes/cc-fonts.el (face-property-instance):
7245 * progmodes/cc-mode.el (set-keymap-parents):
7246 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7247 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7248 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7249 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7250 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7252 * progmodes/cc-vars.el (other): Emacs has this widget since
7253 at least 21.1, so don't (re)define it.
7255 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7256 Replace the obsolete alias pcomplete-arg-quote-list.
7258 2013-06-01 Leo Liu <sdl.web@gmail.com>
7260 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7262 (inferior-octave-minimal-columns)
7263 (inferior-octave-last-column-width): New variables.
7264 (inferior-octave-track-window-width-change): New function.
7265 (inferior-octave-mode): Adjust column width so that Octave output,
7266 for example from 'ls', can fit into the window nicely.
7268 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7270 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7271 Highlight expansions inside regexp literals.
7273 2013-05-31 Glenn Morris <rgm@gnu.org>
7275 * obsolete/sym-comp.el (symbol-complete):
7276 Replace obsolete completion-annotate-function.
7278 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7280 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7282 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7283 New function, checks if point is inside a literal that allows
7284 expression expansion.
7285 (ruby-syntax-propertize-expansion): Use it.
7286 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7289 2013-05-30 Juri Linkov <juri@jurta.org>
7291 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7293 (isearch-invisible): New variable.
7294 (isearch-forward): Doc fix.
7295 (isearch-mode): Set `isearch-invisible'
7296 to the value of `search-invisible'.
7297 (isearch-toggle-case-fold): Doc fix.
7298 (isearch-toggle-invisible): New command.
7299 (isearch-query-replace): Let-bind `search-invisible'
7300 to the value of `isearch-invisible'.
7301 (isearch-search): Use `isearch-invisible' instead of
7302 `search-invisible'. Let-bind `search-invisible'
7303 to the value of `isearch-invisible'. (Bug#11378)
7305 2013-05-30 Juri Linkov <juri@jurta.org>
7307 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7308 call when `query-flag' is nil and `search-invisible' is non-nil.
7311 2013-05-30 Glenn Morris <rgm@gnu.org>
7313 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7315 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7316 (cc-require): Suppress spurious "noruntime" warnings.
7317 (cc-require-when-compile): Use fboundp, for sake of compiler.
7319 * progmodes/cc-mode.el: Move load of cc-vars before that of
7320 cc-langs (which in turn loads cc-vars), to quieten compiler.
7322 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * paren.el: Simplify the code.
7325 (show-paren-mode): Always start the timer.
7326 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7327 (show-paren--overlay, show-paren--overlay-1): Rename from
7328 show-paren-overlay and show-paren-overlay-1, and initialize to an
7329 overlay rather than to nil.
7330 (show-paren-function): Misc cleanup and simplifications.
7332 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7334 * paren.el (show-paren-data-function): New hook.
7335 (show-paren--default): New function, extracted from show-paren-function.
7336 (show-paren-function): Use show-paren-data-function.
7338 2013-05-30 Glenn Morris <rgm@gnu.org>
7340 * ielm.el (ielm-map, ielm-complete-symbol):
7341 Use completion-at-point rather than obsolete functions.
7342 (inferior-emacs-lisp-mode): Doc fix.
7343 Set completion-at-point-functions, rather than
7344 comint-dynamic-complete-functions.
7346 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7347 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7348 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7350 * image.el (image-animated-p): Tweak definition.
7352 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7353 (rlogin-process-connection-type): Tweak default. Add set-after.
7354 (rlogin-host): Doc fix.
7355 (rlogin): Tweak prompt.
7356 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7358 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7359 * progmodes/tcl.el (inferior-tcl-mode-map):
7360 Use completion-at-point rather than obsolete alias.
7362 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7364 * minibuffer.el (read-file-name-completion-ignore-case):
7365 Move before completion--in-region, for eager macro expansion.
7367 2013-05-29 Juri Linkov <juri@jurta.org>
7369 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7370 for total count of matching lines. Add `global-matches' for total
7371 count of matches. Rename `matches' to `lines' for count of
7372 matching lines. Add `matches' for count of matches.
7373 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7374 to `prev-line' for line number of prev match endpt.
7375 Increment `matches' for every match. Print the number of
7376 matching lines in the header.
7377 (occur-context-lines): Rename `lines' to `curr-line'.
7378 Rename `prev-lines' to `prev-line'. (Bug#14017)
7380 2013-05-29 Juri Linkov <juri@jurta.org>
7382 * replace.el (perform-replace): Add `skip-read-only-count',
7383 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7384 Increment them for corresponding conditions and report the number
7385 of skipped occurrences in the final message. (Bug#11746)
7386 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7387 (replace-string, replace-regexp): Doc fix.
7389 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7391 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7393 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7394 prog-mode-map (bug#14504).
7396 2013-05-29 Leo Liu <sdl.web@gmail.com>
7398 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7399 (octave-help): Small simplification.
7401 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7402 off the highlight first.
7404 2013-05-29 Glenn Morris <rgm@gnu.org>
7406 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7407 Handle idlwave-last-system-routine-info-cons-cell being nil.
7409 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7410 (idlwave-write-paths): Simplify via with-temp-buffer.
7412 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7413 * emulation/cua-rect.el: Also load cua-base at run time.
7415 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7416 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7417 (cperl-imenu-on-info): Require imenu.
7419 2013-05-28 Alan Mackenzie <acm@muc.de>
7421 Handle "capitalised keywords" correctly.
7422 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7424 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7426 * eshell/em-unix.el: Add -r option to cp.
7428 2013-05-28 Glenn Morris <rgm@gnu.org>
7430 * vc/vc-arch.el (vc-exec-after): Declare.
7431 (vc-switches): Autoload.
7432 * vc/vc-bzr.el: No need to require vc when compiling.
7433 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7434 (vc-resynch-buffer, vc-dir-refresh): Declare.
7435 (vc-setup-buffer, vc-switches): Autoload.
7436 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7437 (vc-resynch-buffer): Declare.
7438 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7439 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7440 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7441 (grep-read-regexp, grep-read-files, grep-expand-template)
7442 (vc-dir-refresh): Declare.
7443 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7444 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7445 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7446 * vc/vc-mtn.el (vc-exec-after): Declare.
7447 (vc-switches): Autoload.
7448 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7449 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7450 (vc-file-tree-walk): Declare.
7451 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7452 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7453 (vc-tag-precondition, vc-rename-master): Autoload.
7454 * vc/vc-svn.el (vc-exec-after): Declare.
7455 (vc-switches, vc-setup-buffer): Autoload.
7456 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7458 (vc-resynch-buffer): Declare.
7460 * obsolete/fast-lock.el (byte-compile-warnings):
7461 Don't warn about obsolete features in this obsolete file.
7463 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7464 Move definition before use.
7466 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7467 (dun-unix-verbs): Remove dun-zippy.
7468 (dun-zippy): Remove function.
7470 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7472 2013-05-27 Juri Linkov <juri@jurta.org>
7474 * replace.el (replace-search): New function with code moved out
7475 from `perform-replace'.
7476 (replace-highlight, replace-dehighlight): Move function definitions
7477 up closer to `replace-search'. (Bug#11746)
7479 2013-05-27 Juri Linkov <juri@jurta.org>
7481 * replace.el (perform-replace): Ignore invisible matches.
7482 In addition to checking `query-replace-skip-read-only', also
7483 filter out matches by calling `run-hook-with-args-until-failure'
7484 on `isearch-filter-predicates', and also check `search-invisible'
7485 for t or call `isearch-range-invisible'.
7486 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7488 2013-05-27 Juri Linkov <juri@jurta.org>
7490 * isearch.el (isearch-filter-predicates): Rename from
7491 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7492 (isearch-message-prefix): Display text from the property
7493 `isearch-message-prefix' of the currently active filters.
7494 (isearch-search): Don't compare `isearch-filter-predicate' with
7495 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7496 on `isearch-filter-predicates'. Also check `search-invisible' for t
7497 or call `isearch-range-invisible'.
7498 (isearch-filter-visible): Make obsolete.
7499 (isearch-lazy-highlight-search):
7500 Call `run-hook-with-args-until-failure' on
7501 `isearch-filter-predicates' and use `isearch-range-invisible'.
7503 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7504 `isearch-filter-predicates' instead of `funcall'ing
7505 `isearch-filter-predicate'.
7506 (Info-mode): Set `Info-isearch-filter' to
7507 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7509 * dired-aux.el (dired-isearch-filter-predicate-orig):
7511 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7512 (dired-isearch-filenames-end): Add and remove
7513 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7514 instead of changing the value of `isearch-filter-predicate'.
7515 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7516 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7517 Put property `isearch-message-prefix' to "filename " on
7518 `dired-isearch-filter-filenames'.
7520 * wdired.el (wdired-change-to-wdired-mode):
7521 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7522 locally instead of changing `isearch-filter-predicate'.
7523 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7525 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7527 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7528 return the commit hash (Bug#14459). Also set the
7529 `vc-git-detached' property.
7530 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7531 (vc-git-mode-line-string): Use the same help-echo format whether
7532 in detached mode or not, because we know the actual revision now.
7533 When in detached mode, shorten the revision to 7 chars.
7535 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7537 * emacs-lisp/easy-mmode.el (define-minor-mode):
7538 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7539 mode hook and provide a docstring.
7541 2013-05-27 Alan Mackenzie <acm@muc.de>
7543 Remove spurious syntax-table text properties inserted by C-y.
7544 * progmodes/cc-mode.el (c-after-change): Also clear hard
7545 syntax-table property with value nil.
7547 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7549 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7550 when reading the events; the buffer layout shall not be changed.
7552 2013-05-27 Leo Liu <sdl.web@gmail.com>
7554 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7556 (inferior-octave-directory-tracker): Automatically re-sync
7558 (octave-help): Improve handling of 'See also'.
7560 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7562 * doc-view.el: Minor naming convention tweaks.
7563 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7565 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7566 even if there's no `display' property yet (bug#14435).
7568 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7570 * subr.el (unmsys--file-name): Rename from reveal-filename.
7572 * Makefile.in (custom-deps, finder-data, autoloads)
7573 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7574 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7575 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7577 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7579 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7580 error-completion on the first 2 args of condition-case (bug#14446).
7583 2013-05-25 Leo Liu <sdl.web@gmail.com>
7585 * comint.el (comint-previous-matching-input): Do not flood the
7586 *Messages* buffer with trivial messages.
7588 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7590 * progmodes/flymake.el (flymake-nop): Don't return a string.
7591 (flymake-set-at): Fix typo.
7593 * simple.el (read--expression): New function, extracted from
7594 eval-expression. Set completion-at-point-functions (bug#14465).
7595 (eval-expression, eval-minibuffer): Use it.
7597 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7599 * progmodes/flymake.el (flymake-save-buffer-in-file)
7600 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7601 (flymake-selected-frame, flymake-log, flymake-ins-after)
7602 (flymake-set-at, flymake-get-buildfile-from-cache)
7603 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7604 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7605 Refine the doc string.
7606 (flymake-get-file-name-mode-and-masks): Reformat.
7607 (flymake-get-real-file-name-function): Fix a minor bug.
7609 2013-05-24 Juri Linkov <juri@jurta.org>
7611 * progmodes/grep.el (grep-mode-font-lock-keywords):
7612 Support =linenumber= format used by git-grep for lines with
7613 function names. (Bug#13549)
7615 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7617 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7618 0 after a semi-colon; it works better for smie-auto-fill.
7619 (octave--indent-new-comment-line): New function.
7620 (octave-indent-new-comment-line): Use it (indirectly).
7621 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7622 modify comment-line-break-function.
7624 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7625 (smie-setup): Use add-function to set it.
7627 2013-05-24 Sam Steingold <sds@gnu.org>
7629 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7630 argument (before the `interactive' argument).
7632 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7634 * image-mode.el (image-mode-winprops): Add winprops to
7635 image-mode-winprops-alist before running
7636 image-mode-new-window-functions.
7637 * doc-view.el (doc-view-new-window-function): Don't delay
7638 doc-view-goto-page via timers (bug#14435).
7640 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7642 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7643 (doc-view-desktop-save-buffer): New function.
7644 (doc-view-restore-desktop-buffer): New function.
7645 (desktop-buffer-mode-handlers):
7646 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7648 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7649 `desktop-save-buffer' function.
7651 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7653 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7654 (tramp-gvfs-file-name-handler): Raise a user error when
7655 `tramp-gvfs-enabled' is nil.
7656 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7657 Do not raise a user error when loading package. (Bug#14447)
7659 * net/xesam.el: Move to obsolete/.
7661 2013-05-24 Glenn Morris <rgm@gnu.org>
7663 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7665 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7667 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7668 (Info-find-node, Man-getpage-in-background): Declare.
7670 * mail/unrmail.el (unrmail):
7671 Replace obsolete detect-coding-with-priority.
7673 * net/socks.el (socks-split-string): Use this rather than split-string.
7674 (socks-nslookup-host): Update for above change.
7675 (dynamic-choice, s5-dynamic-choice-match)
7676 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7677 Comment out unused code.
7679 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7680 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7681 (gud-tooltip-echo-area): Make obsolete.
7682 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7684 * progmodes/js.el (js--optimize-arglist): Declare.
7686 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7688 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7689 (ediff-window-C): Declare.
7691 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7692 Tweak requires to silence compiler.
7694 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7695 (he-search-string, he-tried-table, he-expand-list)
7696 (he-init-string, he-string-member, he-substitute-string)
7697 (he-reset-string): Declare.
7699 * obsolete/options.el (list-options): Use custom-variable-p,
7700 rather than obsolete alias.
7702 2013-05-23 Sam Steingold <sds@gnu.org>
7704 * simple.el (shell-command-on-region): Pass the `replace' argument
7705 down to `call-process-region' to comply with the doc as reported on
7706 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7708 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7710 * emacs-lisp/smie.el (smie-indent-forward-token)
7711 (smie-indent-backward-token): Handle string tokens (bug#14381).
7713 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7715 * ielm.el (ielm-menu): New menu.
7716 (inferior-emacs-lisp-mode): Set comment-start.
7718 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7720 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7721 Fix deactivate action.
7723 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7724 Add cleveref macros.
7726 * lisp/textmodes/reftex-parse.el
7727 (reftex-locate-bibliography-files): Accept options for
7728 bibliography commands.
7729 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7730 Add addbibresource. Basic Biblatex support.
7732 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7734 * net/tramp-gvfs.el (top):
7735 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7736 when loading package. (Bug#14447)
7738 2013-05-23 Glenn Morris <rgm@gnu.org>
7740 * progmodes/js.el: No need to load comint when compiling.
7741 (ring-insert, comint-send-string, comint-send-input)
7742 (comint-last-input-end, ido-chop): Declare.
7744 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7745 * vc/ediff-mult.el: Adjust requires.
7746 (ediff-directories-internal, ediff-directory-revisions-internal)
7747 (ediff-patch-file-internal): Declare.
7748 * vc/ediff-ptch.el: Adjust requires.
7749 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7750 (ediff-find-file): Autoload.
7751 * vc/ediff-util.el: No need to load ediff when compiling.
7752 (ediff-regions-internal): Declare.
7753 * vc/ediff-wind.el: Adjust requires.
7754 (ediff-compute-toolbar-width): Define when compiling.
7755 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7756 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7757 (dired-get-filename, dired-get-marked-files)
7758 (ediff-last-dir-patch, ediff-patch-default-directory)
7759 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7760 (ediff-patch-buffer-internal): Declare.
7762 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7763 (ispell-process, ispell-buffer-local-words, lm-summary)
7764 (lm-section-start, lm-section-end): Declare.
7765 (checkdoc-ispell-init): Simplify.
7767 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7768 (he-string-member, he-reset-string, he-substitute-string): Declare.
7770 * eshell/em-ls.el: Adjust requires.
7771 (eshell-glob-regexp): Declare.
7772 * eshell/em-tramp.el: Adjust requires.
7773 (eshell-parse-command): Autoload.
7774 * eshell/em-xtra.el: Adjust requires.
7775 (eshell-parse-command): Autoload.
7776 * eshell/esh-ext.el: Adjust requires.
7777 (eshell-parse-command, eshell-close-handles): Autoload.
7778 * eshell/esh-io.el: Adjust requires.
7779 (eshell-output-filter): Autoload.
7780 * eshell/esh-util.el: No need to load tramp when compiling.
7781 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7783 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7784 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7785 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7786 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7787 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7788 * eshell/esh-opt.el, eshell/esh-proc.el:
7789 * eshell/esh-var.el: Adjust requires.
7790 * eshell/eshell.el: Do not require esh-util twice.
7791 (eshell-add-input-to-history): Declare.
7792 (eshell-command): Check history module is active before using it.
7794 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7796 2013-05-22 Leo Liu <sdl.web@gmail.com>
7798 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7800 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7802 * autorevert.el (auto-revert-notify-add-watch)
7803 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7804 it indicates changes in file modification time.
7806 2013-05-22 Glenn Morris <rgm@gnu.org>
7808 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7809 Always delete the autoloaded function from the noruntime and
7810 unresolved functions lists.
7812 * allout.el: No need to load epa, epg, overlay when compiling.
7813 (epg-context-set-passphrase-callback, epg-list-keys)
7814 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7815 (epg-key-user-id-list): Declare.
7817 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7818 (viper-set-parsing-style-toggling-macro)
7819 (viper-set-emacs-state-searchstyle-macros):
7820 Use called-interactively-p on Emacs.
7821 (viper-looking-back): Make it an obsolete alias. Update callers.
7822 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7823 Use looking-back rather than viper-looking-back.
7824 (viper-tmp-insert-at-eob, viper-enlarge-region)
7825 (viper-read-string-with-history, viper-register-to-point)
7826 (viper-append-to-register, viper-change-state-to-vi)
7827 (viper-backward-char-carefully, viper-forward-char-carefully)
7828 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7829 (viper-change-state-to-emacs): Declare.
7830 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7831 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7832 * emulation/viper-mous.el: Do not load viper-cmd.
7833 (viper-backward-char-carefully, viper-forward-char-carefully)
7834 (viper-forward-word, viper-adjust-window): Declare.
7836 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7838 * progmodes/idlw-help.el (idlwave-help-fontify):
7839 Use called-interactively-p.
7841 * term/w32console.el (w32-get-console-codepage)
7842 (w32-get-console-output-codepage): Declare.
7844 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7845 Remove unnecessary declarations.
7846 (dframe-message): Doc fix.
7848 * info.el (dframe-select-attached-frame, dframe-current-frame):
7851 * speedbar.el (speedbar-message): Make it an obsolete alias.
7853 (speedbar-with-attached-buffer)
7854 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7855 (speedbar-with-writable): Use backquote.
7856 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7857 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7858 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7859 rather than speedbar- aliases.
7860 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7861 (speedbar-make-specialized-keymap, speedbar-insert-button)
7862 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7863 (speedbar-do-function-pointer): Declare.
7864 (rmail-speedbar-button, rmail-speedbar-find-file)
7865 (rmail-speedbar-move-message):
7866 Use dframe-with-attached-buffer rather than speedbar- alias.
7867 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7868 (dframe-message, speedbar-make-specialized-keymap)
7869 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7870 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7871 (speedbar-insert-button, dframe-select-attached-frame)
7872 (dframe-maybee-jump-to-attached-frame)
7873 (speedbar-change-initial-expansion-list)
7874 (speedbar-previously-used-expansion-list-name): Declare.
7875 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7876 Use dframe-message, dframe-with-attached-buffer rather than
7878 (gud-sentinel): Silence compiler.
7879 * progmodes/vhdl-mode.el (speedbar-refresh)
7880 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7881 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7882 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7883 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7884 (speedbar-file-lists, speedbar-make-tag-line)
7885 (speedbar-line-directory, speedbar-goto-this-file)
7886 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7887 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7888 (speedbar-make-button, speedbar-reset-scanners)
7889 (speedbar-files-item-info, speedbar-line-text)
7890 (speedbar-find-file-in-frame, speedbar-set-timer)
7891 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7892 (speedbar-with-writable): Do not (re)define it.
7893 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7894 rather than speedbar- alias.
7896 2013-05-21 Leo Liu <sdl.web@gmail.com>
7898 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7900 (octave-mode): Tweak fill-nobreak-predicate.
7901 (inferior-octave-startup): Check process to avoid infinite loop.
7902 (inferior-octave): Pop to buffer first to show abornmal process
7905 2013-05-21 Glenn Morris <rgm@gnu.org>
7907 * printing.el (pr-menu-bar): Define when compiling.
7909 2013-05-21 Leo Liu <sdl.web@gmail.com>
7911 * progmodes/octave.el (octave-auto-fill): Remove.
7912 (octave-indent-new-comment-line): Improve.
7913 (octave-mode): Use auto fill mode through
7914 comment-line-break-function and fill-nobreak-predicate.
7915 (octave-goto-function-definition): Support DEFUN_DLD.
7916 (octave-beginning-of-defun): Small tweak.
7917 (octave-help): Show parent directory.
7919 2013-05-21 Glenn Morris <rgm@gnu.org>
7921 * files.el (dired-unmark):
7922 * progmodes/gud.el (gdb-input): Update declarations.
7924 * calculator.el (electric, ehelp): No need to load when compiling.
7925 (Electric-command-loop, electric-describe-mode): Declare.
7927 * doc-view.el (doc-view-current-converter-processes): Move before use.
7929 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7930 Move MODE-set-explicitly definition before use.
7932 * international/mule-diag.el (mule-diag):
7933 Don't use obsolete window-system-version.
7935 * mail/feedmail.el (smtpmail): No need to load when compiling.
7936 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7938 * mail/mail-utils.el (rfc822): No need to load when compiling.
7939 (rfc822-addresses): Autoload it.
7940 (mail-strip-quoted-names): Trivial simplification.
7942 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7943 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7945 * net/snmp-mode.el (tempo): Don't duplicate requires.
7947 * progmodes/prolog.el (info): No need to load when compiling.
7948 (comint): Require before shell requires it.
7949 (Info-goto-node): Autoload it.
7950 (Info-follow-nearest-node): Declare.
7951 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7953 * textmodes/artist.el (picture-mode-exit): Declare.
7955 * textmodes/reftex-parse.el (reftex-parse-from-file):
7956 Trivial rewrite so the compiler can parse it better.
7958 2013-05-20 Leo Liu <sdl.web@gmail.com>
7960 * progmodes/octave.el (octave-help-mode-map)
7961 (octave-help-mode-finish-hook): New variables.
7962 (octave-help-mode, octave-help-mode-finish): New functions.
7963 (octave-help): Use octave-help-mode.
7965 2013-05-20 Glenn Morris <rgm@gnu.org>
7967 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7969 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7971 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7972 start at point, so that expansion starting right after opening
7973 slash in a regexp is recognized.
7974 (ruby-syntax-before-regexp-re): New defvar, extracted from
7975 ruby-syntax-propertize-function. Since the value of this regexp
7976 is looked up at runtime now, we should be able to turn
7977 `ruby-syntax-methods-before-regexp' into a defcustom later.
7978 (ruby-syntax-propertize-function): Split regexp matching into two
7979 parts, for opening and closing slashes. That allows us to skip
7980 over string interpolations and support multiline regexps.
7981 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7982 for them, which calls `ruby-syntax-propertize-expansion'.
7983 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7984 call to `ruby-syntax-propertize-function'.
7985 (ruby-syntax-propertize-expansion): Extracted from
7986 `ruby-syntax-propertize-expansions'. Handles one expansion.
7987 (ruby-syntax-propertize-percent-literal): Leave point right after
7988 the percent symbol, so that the expression expansion rule can
7989 propertize the contents.
7990 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7992 (ruby-syntax-propertize-expansions): Remove.
7994 2013-05-18 Juri Linkov <juri@jurta.org>
7996 * man.el (Man-default-man-entry): Remove `-' from the end
7997 of the default value. (Bug#14400)
7999 2013-05-18 Glenn Morris <rgm@gnu.org>
8001 * comint.el (comint-password-prompt-regexp):
8002 Allow "password for XXX" where XXX contains colons (eg https://...).
8004 2013-05-18 Leo Liu <sdl.web@gmail.com>
8006 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8007 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8008 (octave-source-directories): Don't check process.
8009 (octave-source-directories, octave-find-definition): Doc fix.
8011 2013-05-18 Glenn Morris <rgm@gnu.org>
8013 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8014 Remove backspace/delete bindings. (Bug#14392)
8016 * cus-dep.el (custom-make-dependencies): Sort the output.
8017 (custom-versions-load-alist): Convert comment to doc.
8019 2013-05-17 Leo Liu <sdl.web@gmail.com>
8021 * newcomment.el (comment-search-backward): Stricter in finding
8022 comment start. (Bug#14303)
8024 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8025 (octave-comment-start-skip): Properly anchored.
8027 2013-05-17 Leo Liu <sdl.web@gmail.com>
8029 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8030 Clean up when turned off. (Bug#14395)
8031 (smie--highlight-matching-block-overlay): No longer buffer-local.
8032 (smie-highlight-matching-block): Adjust.
8034 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8036 Doc string fix for "nanoseconds" (Bug#14406).
8037 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8038 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8040 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8042 * calc/calc-units.el (math-extract-units): Preserve powers
8045 2013-05-17 Leo Liu <sdl.web@gmail.com>
8047 * subr.el (delete-consecutive-dups): New function.
8048 * ido.el (ido-set-matches-1): Use it.
8049 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8050 * ido.el (ido-remove-consecutive-dups): Remove.
8052 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8055 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8056 regexp-opt's `words'.
8058 2013-05-16 Leo Liu <sdl.web@gmail.com>
8060 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8061 (smie--highlight-matching-block-overlay)
8062 (smie--highlight-matching-block-lastpos)
8063 (smie--highlight-matching-block-timer): New variables.
8064 (smie-highlight-matching-block): New function.
8065 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8066 (smie-setup): Conditionally enable smie-blink-matching-open.
8068 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8070 Sync with upstream verilog-mode r840.
8071 * progmodes/verilog-mode.el (verilog-mode-version)
8072 (verilog-mode-release-date): Update.
8073 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8074 (verilog-sig-tieoff): Fix string error on
8075 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8076 (verilog-read-decls): Fix parameters confusing
8077 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8079 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8081 * subr.el (reveal-filename): New function.
8083 * loadup.el: Compute Emacs executable versions on MS-Windows,
8084 where executables have the .exe extension. Add a hard link
8085 emacs-XX.YY.ZZ.exe on MS-Windows.
8087 * Makefile.in (XARGS_LIMIT): New variable.
8088 (custom-deps, finder-data, autoloads)
8089 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8090 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8091 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8092 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8094 2013-05-16 Leo Liu <sdl.web@gmail.com>
8096 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8097 (octave-mode-menu, octave-mode-map): Remove its uses.
8099 2013-05-16 Reto Zimmermann <reto@gnu.org>
8101 Sync with upstream vhdl mode v3.34.2.
8102 * progmodes/vhdl-mode.el: Use `push' throughout.
8103 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8104 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8105 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8106 (vhdl-actual-generic-name): New option to derive actual generic name.
8107 (vhdl-port-paste-signals): Replace formal by actual generics.
8108 (vhdl-beautify): New name for old group vhdl-align. Update users.
8109 (vhdl-beautify-options): New option.
8110 (vhdl-last-input-event): New compat alias. Use throughout.
8111 (vhdl-goto-line): Replace user level function `goto-line'.
8112 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8113 vhdl-fix-statement-buffer.
8114 (vhdl-create-mode-menu): Add some entries.
8115 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8116 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8117 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8118 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8119 to force statements on one line.
8120 (vhdl-remove-trailing-spaces-region):
8121 New, split from vhdl-remove-trailing-spaces.
8122 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8123 Respect vhdl-beautify-options.
8124 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8125 (vhdl-update-sensitivity-list): Not add with index if exists without.
8126 Not include array index with signal. Ignore keywords in comments.
8127 (vhdl-get-visible-signals): Regexp tweaks.
8128 (vhdl-template-component-inst): Handle empty library.
8129 (vhdl-template-type): Add template for 'enum' type.
8130 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8131 Use vhdl-replace-string.
8132 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8133 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8134 (vhdl-speedbar-initialize): Update for above name change.
8135 (vhdl-compose-wire-components): Fix in handling of constants.
8136 (vhdl-error-regexp-emacs-alist): New variable.
8137 (vhdl-error-regexp-add-emacs): New function;
8138 adds support for new compile.el (Emacs 22+)
8139 (vhdl-generate-makefile-1): Change target order for single lib. units.
8140 Allow use of absolute file names.
8142 2013-05-16 Leo Liu <sdl.web@gmail.com>
8144 * simple.el (prog-indent-sexp): Indent enclosing defun.
8146 2013-05-15 Glenn Morris <rgm@gnu.org>
8148 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8149 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8150 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8151 (whitespace-highlight): Move to whitespace group.
8153 * comint.el (comint-source):
8154 * pcmpl-linux.el (pcmpl-linux):
8155 * shell.el (shell-faces):
8156 * eshell/esh-opt.el (eshell-opt):
8157 * international/ccl.el (ccl): Remove empty custom groups.
8159 * completion.el (dynamic-completion-mode):
8160 * jit-lock.el (jit-lock-debug-mode):
8161 * minibuffer.el (completion-in-region-mode):
8162 * type-break.el (type-break-mode-line-message-mode)
8163 (type-break-query-mode):
8164 * emulation/tpu-edt.el (tpu-edt-mode):
8165 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8166 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8167 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8169 * term/xterm.el (xterm): Change parent group to terminals.
8171 * master.el (master): Remove empty custom group.
8172 (master-mode): Remove unused :group argument.
8173 * textmodes/refill.el (refill): Remove empty custom group.
8174 (refill-mode): Remove unused :group argument.
8176 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8178 * cus-dep.el: Provide a feature.
8179 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8180 Don't mistakenly ignore files whose basenames match a basename
8181 from preloaded-file-list (eg cedet/ede/simple.el).
8182 Add a fallback method for getting :group.
8184 2013-05-15 Juri Linkov <juri@jurta.org>
8186 * isearch.el (isearch-char-by-name): Rename from
8187 `isearch-insert-char-by-name'. Doc fix.
8188 (isearch-forward): Mention `isearch-char-by-name' in
8189 the docstring. (Bug#13348)
8191 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8192 `exit-minibuffer' instead of
8193 `isearch-nonincremental-exit-minibuffer'.
8194 (isearch-edit-string): Remove mention of
8195 `isearch-nonincremental-exit-minibuffer' from docstring.
8196 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8197 (isearch-forward-exit-minibuffer)
8198 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8200 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8202 * loadup.el: Just use unversioned DOC.
8204 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8205 literals as extending to EOB.
8206 (nxml-last-fontify-end): Remove unused variable.
8207 (nxml-after-change1): Use with-silent-modifications.
8208 (nxml-extend-after-change-region): Simplify.
8209 (nxml-extend-after-change-region1): Remove function.
8210 (nxml-after-change1): Don't adjust for dependent regions.
8211 (nxml-fontify-matcher): Simplify.
8212 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8213 (xmltok-add-dependent): Remove function.
8214 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8215 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8216 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8217 unclosed <[[, <?, comment, and other literals as extending to EOB.
8218 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8219 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8221 (rng-do-some-validation-1): Don't mark dependent regions.
8222 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8223 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8224 (nxml-clear-dependent-regions): Remove functions.
8225 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8226 (nxml-ensure-scan-up-to-date):
8227 Don't clear&mark dependent regions.
8229 2013-05-15 Leo Liu <sdl.web@gmail.com>
8231 * progmodes/octave.el (octave-goto-function-definition):
8232 Improve and fix callers.
8234 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8237 the setter (bug#14387).
8239 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8240 surrounding group (bug#14402).
8242 2013-05-14 Juri Linkov <juri@jurta.org>
8244 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8247 2013-05-14 Glenn Morris <rgm@gnu.org>
8249 * progmodes/f90.el (f90-imenu-generic-expression):
8250 Fix typo in 2013-05-08 change. (Bug#14402)
8252 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8254 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8255 Remove signals for which replies are never received.
8257 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8259 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8260 (gdb-handler-alist, gdb-handler-number): Remove variables.
8261 (gdb-handler-list): New variable.
8262 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8263 (gdb-pending-handler-p, gdb-handle-reply)
8264 (gdb-remove-all-pending-triggers): New functions.
8265 (gdb-discard-unordered-replies): New defcustom.
8266 (gdb-handler): New defstruct.
8267 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8268 instead of gdb-pending-triggers. Update docstring.
8269 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8270 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8271 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8272 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8273 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8274 (gdb-frame-handler): Pending triggers are now automatically managed.
8275 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8277 (gdb-input): Automatically handles pending triggers. Update docstring.
8278 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8279 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8281 (gdb-done-or-error): Now use gdb-handle-reply.
8283 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8285 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8288 2013-05-14 Glenn Morris <rgm@gnu.org>
8290 * subr.el (user-emacs-directory-warning): New option.
8291 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8293 2013-05-14 Leo Liu <sdl.web@gmail.com>
8295 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8297 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8298 (octave-font-lock-texinfo-comment): Fix invalid search bound
8299 error: wrong side of point.
8301 2013-05-14 Glenn Morris <rgm@gnu.org>
8303 * progmodes/flymake.el (flymake-xml-program): New option.
8304 (flymake-xml-init): Use it.
8306 * term/xterm.el: Provide a feature.
8308 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8310 2013-05-13 Glenn Morris <rgm@gnu.org>
8312 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8313 Add compat aliases as a hack workaround. (Bug#14384)
8315 2013-05-13 Leo Liu <sdl.web@gmail.com>
8317 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8319 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8321 (octave-comment-start-skip): Include %!.
8322 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8324 2013-05-12 Leo Liu <sdl.web@gmail.com>
8326 * progmodes/octave.el (inferior-octave-startup): Store the value
8327 of __octave_srcdir__ for octave-source-directories.
8328 (inferior-octave-check-process): New function refactored out of
8329 inferior-octave-send-list-and-digest.
8330 (octave-source-directories)
8331 (octave-find-definition-filename-function): New variables.
8332 (octave-source-directories)
8333 (octave-find-definition-default-filename): New functions.
8334 (octave-find-definition): Improve to find functions implemented in C++.
8336 2013-05-12 Glenn Morris <rgm@gnu.org>
8338 * calendar/diary-lib.el (diary-outlook-format-1):
8339 Don't include dayname in the output. (Bug#14349)
8341 2013-05-11 Glenn Morris <rgm@gnu.org>
8343 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8345 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8346 Treat cc-provide like provide.
8348 2013-05-11 Kevin Ryde <user42@zip.com.au>
8350 * cus-dep.el (custom-make-dependencies):
8351 Use generated-autoload-load-name for the sake of files such
8352 such cedet/semantic/bovine/c.el, where the base file name
8353 is not in load-path. (Bug#5277)
8355 2013-05-11 Glenn Morris <rgm@gnu.org>
8357 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8360 2013-05-11 Leo Liu <sdl.web@gmail.com>
8362 * progmodes/octave.el (octave-indent-comment): Improve.
8363 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8364 (octave-eldoc-function-signatures, octave-eldoc-function):
8366 (octave-mode, inferior-octave-mode): Add eldoc support.
8368 2013-05-11 Richard Stallman <rms@gnu.org>
8370 * epa.el (epa-decrypt-file): Take output file name as argument
8371 and read it using `interactive'.
8373 2013-05-11 Leo Liu <sdl.web@gmail.com>
8375 * progmodes/octave.el (octave-beginning-of-line)
8376 (octave-end-of-line): Check before using up-list because it jumps
8377 out of more syntactic contructs since moving to smie.
8378 (octave-indent-comment): New function.
8379 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8380 (octave-begin-keywords, octave-end-keywords)
8381 (octave-reserved-words, octave-smie-bnf-table)
8382 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8384 2013-05-11 Glenn Morris <rgm@gnu.org>
8386 * faces.el (internal-face-x-get-resource):
8387 * frame.el (ns-display-monitor-attributes-list):
8388 * calc/calc-aent.el (math-to-radians-2):
8389 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8392 * calc/calc-menu.el: Make it loadable in isolation.
8394 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8395 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8396 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8397 (eudc-bbdb-query-internal): Require 'bbdb.
8399 * lpr.el (lpr-headers-switches):
8400 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8402 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8404 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8406 * term.el (term-set-escape-char): Make it idempotent.
8408 2013-05-10 Leo Liu <sdl.web@gmail.com>
8410 * progmodes/octave.el (inferior-octave-completion-table):
8411 No longer a function and all uses changed. Use cache to speed up
8412 completion due to bug#11906.
8413 (octave-beginning-of-defun): Re-write to be more general.
8415 2013-05-10 Glenn Morris <rgm@gnu.org>
8417 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8419 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * comint.el (comint-redirect-send-command-to-process): Use :around
8422 rather than :override for comint-redirect-filter.
8423 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8424 Call it instead of comint-redirect-original-filter-function (which
8425 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8427 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8429 * frame.el (display-monitor-attributes-list): Add NS case.
8430 (ns-display-monitor-attributes-list): Declare.
8432 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8434 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8436 2013-05-09 Glenn Morris <rgm@gnu.org>
8438 * international/fontset.el (vertical-centering-font-regexp):
8441 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8443 * bookmark.el (bookmark-search-delay):
8444 * cus-start.el (vertical-centering-font-regexp):
8445 * ps-mule.el (ps-mule-font-info-database-default):
8446 * ps-print.el (ps-default-fg, ps-default-bg):
8447 * type-break.el (type-break-good-break-interval):
8448 * whitespace.el (whitespace-indentation-regexp)
8449 (whitespace-space-after-tab-regexp):
8450 * emacs-lisp/testcover.el (testcover-1value-functions)
8451 (testcover-noreturn-functions, testcover-progn-functions)
8452 (testcover-prog1-functions):
8453 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8454 * eshell/em-glob.el (eshell-glob-translate-alist):
8455 * play/tetris.el (tetris-tty-colors):
8456 * progmodes/cpp.el (cpp-face-default-list):
8457 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8458 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8459 (idlwave-help-browser-generic-args):
8460 * progmodes/make-mode.el (makefile-special-targets-list):
8461 * progmodes/python.el (python-shell-virtualenv-path):
8462 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8463 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8464 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8465 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8466 * textmodes/reftex-vars.el (reftex-format-label-function):
8467 * textmodes/remember.el (remember-diary-file): Fix custom types.
8469 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8472 2013-05-09 Leo Liu <sdl.web@gmail.com>
8474 * progmodes/octave.el (inferior-octave-completion-at-point):
8475 Restore file completion. (Bug#14300)
8476 (inferior-octave-startup): Fix incorrect highlighting for the
8479 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * progmodes/ruby-mode.el: First cut at SMIE support.
8482 (ruby-use-smie): New var.
8483 (ruby-smie-grammar): New constant.
8484 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8485 (ruby-smie--forward-token, ruby-smie--backward-token)
8486 (ruby-smie-rules): New functions.
8487 (ruby-mode-variables): Setup SMIE if applicable.
8489 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8491 * simple.el (line-move-visual): Signal beginning/end of buffer
8492 only if vertical-motion moved less than it was requested. Avoids
8493 silly incorrect error messages when there are display strings with
8494 multiple newlines at EOL.
8496 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8498 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8499 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8500 (prolog-char-quote-workaround):
8501 * progmodes/cperl-mode.el (cperl-under-as-char):
8502 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8504 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8506 (vhdl-mode-syntax-table-init): Remove.
8508 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8511 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8513 (ld-script-font-lock-keywords):
8514 Change regexps to use things like \_< and \_>.
8516 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8517 Change all regexps to use things like \_< and \_>.
8519 * progmodes/autoconf.el (autoconf-definition-regexp)
8520 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8521 Handle a _ with symbol syntax.
8522 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8524 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8525 Consolidate declaration.
8526 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8528 (ada-create-syntax-table): Remove.
8529 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8530 already has the right syntax nowadays.
8531 (ada-goto-next-word): Don't change the syntax of "_".
8533 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8536 2013-05-08 Sam Steingold <sds@gnu.org>
8538 * thingatpt.el (thing-at-point): Accept optional second argument
8539 NO-PROPERTIES to strip the text properties from the return value.
8540 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8541 to `thing-at-point' instead of stripping the properties ourselves.
8542 Also, when `thing-at-point' fails to find a url, prepend "http://"
8543 to the filename at point on the assumption that the user is
8544 pointing at something like gnu.org/gnu.
8546 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8548 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8549 * faces.el (crm-separator):
8550 Silence byte-compiler.
8552 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8553 (tool-bar-map): Remove unneeded defvars.
8555 2013-05-08 Leo Liu <sdl.web@gmail.com>
8557 Re-work a fix for bug#10994 based on Le Wang's patch.
8558 * ido.el (ido-remove-consecutive-dups): New helper.
8559 (ido-completing-read): Use it.
8560 (ido-chop): Revert fix for bug#10994.
8562 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8564 * cus-edit.el (custom-save-variables):
8565 Pretty-print long values. (Bug#14187)
8567 2013-05-08 Glenn Morris <rgm@gnu.org>
8569 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8570 (m4-mode-syntax-table): Init in the defvar.
8571 (m4-mode-abbrev-table): Let define-derived-mode define it.
8573 2013-05-08 Tom Tromey <tromey@redhat.com>
8575 * progmodes/m4-mode.el (m4-mode-syntax-table):
8576 Do not treat "_" as word constituent. (Bug#14167)
8578 2013-05-07 Glenn Morris <rgm@gnu.org>
8580 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8581 Remove explicit eshell-isearch-cancel-map.
8583 * progmodes/f90.el (f90-smart-end-names): New option.
8584 (f90-smart-end): Doc fix.
8585 (f90-end-block-optional-name): New constant.
8586 (f90-block-match): Respect f90-smart-end-names.
8588 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8590 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8591 about implicit semi-colons (bug#14218).
8593 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8595 * frame.el (display-monitor-attributes-list)
8596 (frame-monitor-attributes): New functions.
8598 2013-05-06 Leo Liu <sdl.web@gmail.com>
8600 * progmodes/octave.el (octave-syntax-propertize-function): Change
8601 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8602 (octave-font-lock-keywords): Use octave-operator-regexp.
8603 (octave-completion-at-point): Rename from
8604 octave-completion-at-point-function.
8605 (inferior-octave-directory-tracker): Robustify.
8606 (octave-text-functions): Remove and fix its uses. No such things
8609 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8611 * emacs-lisp/trace.el (trace--display-buffer): New function.
8612 (trace-make-advice): Use it.
8614 2013-05-06 Juri Linkov <juri@jurta.org>
8616 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8617 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8619 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8620 in the help string. (Bug#12985)
8622 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8624 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8626 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8628 * progmodes/perl-mode.el: Add support for here documents.
8629 (perl-syntax-propertize-function): Match here-doc markers.
8630 (perl-syntax-propertize-special-constructs): Find their end.
8631 (perl-imenu-generic-expression): Use [:alnum:].
8633 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8634 (advice--add-function): Refresh the advice if already present
8637 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8639 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8641 2013-05-06 Glenn Morris <rgm@gnu.org>
8643 * w32-fns.el (w32-charset-info-alist): Declare.
8645 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8646 of its defcustom properties.
8647 (eshell-cmpl-initialize): No need to load pcomplete.
8649 * generic-x.el: No need to require comint when compiling.
8651 * net/eudc-export.el: Make it loadable without bbdb.
8652 (top-level): Use require rather than load-library.
8653 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8654 (eudc-batch-export-records-to-bbdb)
8655 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8658 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8661 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8662 some tweaks, instead.
8664 2013-05-05 Leo Liu <sdl.web@gmail.com>
8666 * progmodes/octave.el (octave-font-lock-keywords)
8667 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8668 (inferior-octave-send-list-and-digest): Improve error message.
8669 (octave-mode, inferior-octave-mode): Use setq-local.
8670 (octave-help): Set info-lookup-mode.
8672 2013-05-05 Richard Stallman <rms@gnu.org>
8674 * vc/compare-w.el (compare-windows-whitespace):
8675 Treat no-break space as whitespace.
8677 * mail/rmailsum.el (rmail-summary-rmail-update):
8678 Detect empty summary and don't change selected message.
8679 (rmail-summary-goto-msg): Likewise.
8681 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8682 Doc fixes, rename args.
8684 2013-05-05 Alan Mackenzie <acm@muc.de>
8686 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8688 2013-05-05 Juri Linkov <juri@jurta.org>
8690 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8691 to not add the length of the summary segment to the return value.
8694 2013-05-05 Leo Liu <sdl.web@gmail.com>
8696 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8697 (inferior-octave-output-filter): Remove.
8698 (octave-send-region, inferior-octave-startup): Fix callers.
8699 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8700 (octave-binary-file-extensions): New user variable.
8701 (octave-find-definition): Confirm if opening binary files.
8702 (octave-help-file): Use octave-find-definition to get the binary
8704 (octave-help): Adjust for octave-help-file change.
8706 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8708 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8709 Merge the two entries that handle function definitions.
8710 (pascal--syntax-propertize): New const.
8711 (pascal-mode): Use it. Use setq-local.
8713 2013-05-04 Glenn Morris <rgm@gnu.org>
8715 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8716 (diary-from-outlook): Respect diary-from-outlook-function.
8718 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8720 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8721 Move the declaration from C.
8722 (read-minibuffer, eval-minibuffer): Move from C.
8723 (completion-setup-function): Avoid minibuffer-completion-contents.
8725 2013-05-03 Leo Liu <sdl.web@gmail.com>
8727 * progmodes/octave.el (octave-font-lock-keywords): Do not
8728 dehighlight 'end' in comments or strings.
8729 (octave-completing-read, octave-goto-function-definition):
8731 (octave-help-buffer): New user variable.
8732 (octave-help-file, octave-help-function): New button types.
8733 (octave-help): New command and bind it to C-h ;.
8734 (octave-find-definition): New command and bind it to M-.
8735 (user-error): Alias to error if not defined.
8737 2013-05-02 Leo Liu <sdl.web@gmail.com>
8739 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8741 (octave-font-lock-keywords): Include [ and {.
8743 2013-05-02 Leo Liu <sdl.web@gmail.com>
8745 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8746 (inferior-octave): Remove calling comint-mode and return the buffer.
8747 (inferior-octave-startup): Cosmetic changes.
8749 2013-05-02 Leo Liu <sdl.web@gmail.com>
8751 * progmodes/octave.el (octave-syntax-propertize-function):
8752 Include the case when ' is at line beginning. (Bug#14336)
8754 2013-05-02 Glenn Morris <rgm@gnu.org>
8756 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8757 * desktop.el (vc-dir-mode): Just autoload it here.
8759 2013-05-02 Alan Mackenzie <acm@muc.de>
8761 Eliminate variable c-standard-font-lock-fontify-region-function.
8762 * progmodes/cc-mode.el
8763 (c-standard-font-lock-fontify-region-function): Remove.
8764 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8766 2013-05-01 Leo Liu <sdl.web@gmail.com>
8768 * progmodes/octave.el: Compatible with older emacs-24 releases.
8769 (inferior-octave-has-built-in-variables): Remove. Built-in
8770 variables were removed from Octave in 2007.
8771 (inferior-octave-startup): Fix uses.
8772 (comint-line-beginning-position): Remove compatibility code for
8775 2013-05-01 Juri Linkov <juri@jurta.org>
8777 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8779 2013-05-01 Juri Linkov <juri@jurta.org>
8781 * comint.el (comint-previous-matching-input): Don't print message
8782 "History item: %d" when `isearch-mode' is active.
8783 (comint-history-isearch-message): Print message "History item: %d"
8784 when `comint-input-ring-index' is not empty and this function is
8785 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8787 2013-05-01 Leo Liu <sdl.web@gmail.com>
8789 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8790 definitions. Use completion-at-point to insert keywords.
8791 (octave-abbrev-start): Remove.
8792 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8794 2013-04-30 Leo Liu <sdl.web@gmail.com>
8796 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8799 2013-04-30 Alan Mackenzie <acm@muc.de>
8801 Handle arbitrarily long C++ member initialisation lists.
8802 * progmodes/cc-engine.el (c-back-over-member-initializers):
8804 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8805 (most) member init lists.
8807 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8809 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8812 2013-04-30 Leo Liu <sdl.web@gmail.com>
8814 * progmodes/octave.el (octave-variables): Remove. No builtin
8815 variables any more. All converted to functions.
8816 (octave-font-lock-keywords, octave-completion-at-point-function):
8818 (octave-font-lock-texinfo-comment): New user variable.
8819 (octave-texinfo-font-lock-keywords): New variable for texinfo
8821 (octave-function-comment-block): New face.
8822 (octave-font-lock-texinfo-comment): New function.
8823 (octave-mode): Font lock texinfo comment block.
8825 2013-04-29 Leo Liu <sdl.web@gmail.com>
8827 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8828 indexing expression.
8829 (octave-continuation-string): Do not use \.
8830 (inferior-octave-complete-impossible): Remove.
8831 (inferior-octave-completion-table)
8832 (inferior-octave-completion-at-point): Remove its uses.
8833 (inferior-octave-startup): completion_matches was introduced to
8834 Octave in 1996 so safe to assume it.
8835 (octave-function-file-comment): Improve to follow how Octave does it.
8836 (octave-update-function-file-comment): Tweak.
8838 2013-04-29 Leo Liu <sdl.web@gmail.com>
8840 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8841 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8842 (octave-function-file-comment): Fix typo.
8843 (octave-sync-function-file-names): Use read-char-choice.
8845 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8847 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8848 to t for the less important warnings.
8850 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8852 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8854 2013-04-27 Glenn Morris <rgm@gnu.org>
8856 * vc/log-view.el (log-view-current-entry):
8857 Treat "---" separator lines as part of the following rev. (Bug#14169)
8859 2013-04-27 Juri Linkov <juri@jurta.org>
8861 * subr.el (read-number): Doc fix about using it by interactive
8862 code letter `n'. (Bug#14254)
8864 2013-04-27 Juri Linkov <juri@jurta.org>
8866 * desktop.el (desktop-auto-save-timeout): New option.
8867 (desktop-file-checksum): New variable.
8868 (desktop-save): Add optional arg `auto-save' and don't auto-save
8870 (desktop-auto-save-timer): New variable.
8871 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8872 (after-init-hook): Call `desktop-auto-save-set-timer'.
8873 Suggested by Reuben Thomas <rrt@sc3d.org> in
8874 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8876 2013-04-27 Leo Liu <sdl.web@gmail.com>
8878 * progmodes/octave.el (octave-function-file-p)
8879 (octave-skip-comment-forward, octave-function-file-comment)
8880 (octave-update-function-file-comment): New functions.
8881 (octave-mode-map): Bind C-c ; to
8882 octave-update-function-file-comment.
8883 (octave-mode-menu): Add octave-update-function-file-comment.
8884 (octave-mode, inferior-octave-mode): Fix doc-string.
8885 (octave-insert-defun): Conform to Octave's coding convention.
8888 * files.el (basic-save-buffer): Don't let errors in
8889 before-save-hook prevent saving buffer.
8891 2013-04-20 Roland Winkler <winkler@gnu.org>
8893 * faces.el (read-face-name): Use completing-read if arg multiple
8896 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8898 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8899 displayed, move point to after the totals line.
8900 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8903 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8905 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8906 Add current dir to the load-path.
8907 (package-generate-autoloads): Don't rely on
8908 autoload-ensure-default-file.
8910 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8912 * textmodes/remember.el (remember-store-in-files): Document that
8913 the file name format is passed to `format-time-string'.
8915 2013-04-26 Leo Liu <sdl.web@gmail.com>
8917 * progmodes/octave.el (octave-sync-function-file-names): New function.
8918 (octave-mode): Use it in before-save-hook.
8920 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8922 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8925 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8926 \n and comment, even if it's not an implicit ; (bug#14218).
8928 2013-04-26 Glenn Morris <rgm@gnu.org>
8930 * subr.el (read-number): Once more use `read' rather than
8931 `string-to-number', to trap non-numeric input. (Bug#14254)
8933 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8935 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8936 Use `syntax-multiline' text property consistently instead of
8937 `font-lock-multiline'. (Bug#14237)
8939 2013-04-26 Glenn Morris <rgm@gnu.org>
8941 * emacs-lisp/shadow.el (list-load-path-shadows):
8942 No longer necessary to check for duplicate simple.el, since
8943 2012-07-07 change to init_lread to not include installation lisp
8944 directories in load-path when running uninstalled. (Bug#14270)
8946 2013-04-26 Leo Liu <sdl.web@gmail.com>
8948 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8949 (octave-mode, inferior-octave-mode): Use setq-local.
8950 (octave-not-in-string-or-comment-p): Rename to
8951 octave-in-string-or-comment-p.
8952 (octave-in-comment-p, octave-in-string-p)
8953 (octave-in-string-or-comment-p): Replace defsubst with defun.
8955 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8957 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8959 2013-04-25 Bastien Guerry <bzg@gnu.org>
8961 * textmodes/remember.el (remember-data-directory)
8962 (remember-directory-file-name-format): Fix custom types.
8964 2013-04-25 Leo Liu <sdl.web@gmail.com>
8966 * progmodes/octave.el (octave-completion-at-point-function):
8967 Make use of inferior octave process.
8968 (octave-initialize-completions): Remove.
8969 (inferior-octave-completion-table): New function.
8970 (inferior-octave-completion-at-point): Use it.
8971 (octave-completion-alist): Remove.
8973 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8976 (opascal-mode-syntax-table): New var.
8977 (opascal-literal-kind, opascal-is-literal-end)
8978 (opascal-literal-token-at): Rewrite.
8979 (opascal--literal-start-re, opascal-font-lock-keywords)
8980 (opascal--syntax-propertize): New constants.
8981 (opascal-font-lock-defaults): Adjust.
8982 (opascal-mode): Use them. Set comment-<foo> variables as well.
8983 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8984 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8985 (delphi-other-face, opascal-other-face): Remove face variables.
8986 (opascal-save-state): Remove macro.
8987 (opascal-fontifying-progress-step): Remove constant.
8988 (opascal--ignore-changes): Remove var.
8989 (opascal-set-token-property, opascal-parse-next-literal)
8990 (opascal-is-stable-literal, opascal-complete-literal)
8991 (opascal-is-literal-start, opascal-face-of)
8992 (opascal-parse-region, opascal-parse-region-until-stable)
8993 (opascal-fontify-region, opascal-after-change)
8994 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8995 (opascal-debug-parse-region, opascal-debug-parse-window)
8996 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8997 (opascal-debug-fontify-buffer): Remove.
8998 (opascal-debug-mode-map): Adjust accordingly.
9000 2013-04-25 Leo Liu <sdl.web@gmail.com>
9002 Merge octave-mod.el and octave-inf.el into octave.el with some
9004 * progmodes/octave.el: New file renamed from octave-mod.el.
9005 * progmodes/octave-inf.el: Merged into octave.el.
9006 * progmodes/octave-mod.el: Renamed to octave.el.
9008 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9010 * textmodes/reftex-vars.el
9011 (reftex-label-ignored-macros-and-environments): New defcustom.
9013 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9015 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9017 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9018 (smie-indent-keyword): Improve the check to ensure that the next
9019 comment is really on the same line.
9020 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9022 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9023 semi-colons if the line is not otherwise empty (bug#14218).
9025 2013-04-25 Glenn Morris <rgm@gnu.org>
9027 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9029 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9031 * progmodes/opascal.el (opascal-set-token-property): Rename from
9032 opascal-set-text-properties and only set `token' (bug#14134).
9033 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9034 (opascal-literal-text-properties): Remove.
9035 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9038 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9040 * textmodes/remember.el (remember-handler-functions): Add an
9041 option for a new handler `remember-store-in-files'.
9042 (remember-data-directory, remember-directory-file-name-format):
9044 (remember-store-in-files): New function to store remember notes
9045 as separate files within a directory.
9047 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9049 * progmodes/compile.el (compilation-next-error-function):
9050 Pass "formats" to compilation-find-file (bug#11777).
9052 2013-04-24 Glenn Morris <rgm@gnu.org>
9054 * vc/vc-bzr.el (vc-bzr-print-log):
9055 * vc/vc-hg.el (vc-hg-print-log):
9056 * vc/vc-svn.el (vc-svn-print-log):
9057 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9059 * vc/vc-bzr.el (vc-bzr-print-log):
9060 * vc/vc-cvs.el (vc-cvs-print-log):
9061 * vc/vc-git.el (vc-git-print-log):
9062 * vc/vc-hg.el (vc-hg-print-log):
9063 * vc/vc-mtn.el (vc-mtn-print-log):
9064 * vc/vc-rcs.el (vc-rcs-print-log):
9065 * vc/vc-sccs.el (vc-sccs-print-log):
9066 * vc/vc-svn.el (vc-svn-print-log):
9067 * vc/vc.el (vc-print-log-internal): Doc fixes.
9069 2013-04-23 Glenn Morris <rgm@gnu.org>
9071 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9072 Remove venerable code attempting to avoid substitute-command-keys.
9074 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9076 * textmodes/reftex-vars.el (reftex-label-regexps):
9077 Call `reftex-compile-variables' after changes to this variable.
9079 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9082 Use lexical-binding.
9083 (jit-lock-force-redisplay): Use markers, check buffer's continued
9084 existence and beware narrowed buffers.
9085 (jit-lock-fontify-now): Adjust call accordingly.
9087 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9089 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9090 to avoid misleading the user.
9092 2013-04-22 Leo Liu <sdl.web@gmail.com>
9094 * info-look.el: Prefer latex2e.info. (Bug#14240)
9096 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9098 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9100 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9101 * net/tramp.el (tramp-call-process): ... here.
9102 (tramp-set-completion-function, tramp-parse-putty):
9103 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9104 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9105 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9106 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9107 (tramp-call-local-coding-command): Use `tramp-call-process'
9108 instead of `tramp-compat-call-process'.
9110 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9111 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9112 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9113 (tramp-find-inline-compress): Improve traces.
9114 (tramp-maybe-send-script): Check for Perl binary.
9115 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9117 2013-04-22 Daiki Ueno <ueno@gnu.org>
9119 * epg.el (epg-context-pinentry-mode): New function.
9120 (epg-context-set-pinentry-mode): New function.
9121 (epg--start): Pass --pinentry-mode option to gpg command.
9123 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9125 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9126 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9127 `completion-at-point'. (Bug#13774)
9129 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9130 default key binding for `describe-distribution' has been moved to
9131 `C-h C-o'. (Bug#13970)
9133 2013-04-21 Glenn Morris <rgm@gnu.org>
9135 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9137 (vc-print-log): Clarify interactive prompt.
9139 2013-04-20 Glenn Morris <rgm@gnu.org>
9141 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9142 No longer include timestamp etc information.
9144 2013-04-20 Roland Winkler <winkler@gnu.org>
9146 * faces.el (read-face-name): Bug fix, return just one face if arg
9147 multiple is nil. (Bug#14209)
9149 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9151 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9152 (remove-function): Autoload.
9154 * comint.el (comint-redirect-original-filter-function): Remove.
9155 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9156 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9157 (vc-cvs-annotate-command):
9158 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9159 * progmodes/prolog.el (prolog-consult-compile):
9160 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9161 Use add/remove-function instead.
9162 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9163 (gud-tooltip-process-output, gud-tooltip-tips):
9164 Use add/remove-function instead.
9165 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9166 (scheme-interaction-mode, exit-scheme-interaction-mode):
9167 Use add/remove-function instead.
9169 * vc/vc-dispatcher.el: Use lexical-binding.
9170 (vc--process-sentinel): Rename from vc-process-sentinel.
9171 Change last arg to be the code to run. Don't use vc-previous-sentinel
9172 and vc-sentinel-commands any more.
9173 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9174 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9176 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9178 * progmodes/sh-script.el (sh-imenu-generic-expression):
9179 Handle function names with a single character. (Bug#14111)
9181 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9183 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9184 for subroutines defined in an eval (bug#14182).
9186 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9188 * bookmark.el (bookmark-completing-read): Improve handling of empty
9191 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9193 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9195 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9197 New faster Imenu implementation (bug#14058).
9198 * progmodes/python.el:
9199 (python-imenu-prev-index-position):
9200 (python-imenu-format-item-label-function)
9201 (python-imenu-format-parent-item-label-function)
9202 (python-imenu-format-parent-item-jump-label-function):
9204 (python-imenu-format-item-label)
9205 (python-imenu-format-parent-item-label)
9206 (python-imenu-format-parent-item-jump-label)
9207 (python-imenu--put-parent, python-imenu--build-tree)
9208 (python-imenu-create-index, python-imenu-create-flat-index)
9209 (python-util-popn): New functions.
9210 (python-mode): Set imenu-create-index-function to
9211 python-imenu-create-index.
9213 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9215 * winner.el (winner-active-region): Use region-active-p, activate-mark
9216 and deactivate-mark (bug#14225).
9218 * simple.el (deactivate-mark): Don't inline it.
9220 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9222 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9224 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9226 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9227 file extensions from the archive-mode entry in order to prefer
9228 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9230 2013-04-18 Leo Liu <sdl.web@gmail.com>
9232 * bindings.el (help-event-list): Add ?\?.
9234 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9236 * subr.el (with-wrapper-hook): Declare obsolete.
9237 * simple.el (filter-buffer-substring-function): New hook.
9238 (filter-buffer-substring): Use it.
9239 (filter-buffer-substring-functions): Mark obsolete.
9240 * minibuffer.el (completion-in-region-function): New hook.
9241 (completion-in-region): Use it.
9242 (completion-in-region-functions): Mark obsolete.
9243 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9244 * abbrev.el (abbrev-expand-function): New hook.
9245 (expand-abbrev): Use it.
9246 (abbrev-expand-functions): Mark obsolete.
9247 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9250 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9252 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9253 and do not care about match data.
9255 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9258 completion tables when completing error conditions and
9259 `declare' arguments.
9260 (lisp-complete-symbol, field-complete): Mark as obsolete.
9261 (check-parens): Unmatched parens are user errors.
9262 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9264 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9266 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9267 command changed buffer (ie. `flyspell-pre-buffer' is not current
9268 buffer), which prevents making decisions based on invalid value of
9269 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9270 cause an error when `flyspell-pre-point' was nil after switching
9272 (flyspell-post-command-hook): No longer needs to change buffers when
9273 checking pre-word. While at it remove unnecessary progn.
9275 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9277 * textmodes/ispell.el (ispell-add-per-file-word-list):
9278 Fix `flyspell-correct-word-before-point' error when accepting
9279 words and `coment-padding' is an integer by using
9280 `comment-normalize-vars' (Bug #14214).
9282 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9284 New defun movement commands.
9285 * progmodes/python.el (python-nav--syntactically)
9286 (python-nav--forward-defun, python-nav-backward-defun)
9287 (python-nav-forward-defun): New functions.
9289 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9291 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9292 (python-syntax-context): Use named compiler-macro for backwards
9293 compatibility with Emacs 24.x.
9295 2013-04-17 Leo Liu <sdl.web@gmail.com>
9297 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9298 octave-hide-process-buffer.
9300 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9302 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9305 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9307 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9308 Fix adjustment of offset when receiving incomplete responses from GDB
9311 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9313 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9314 python-mode-abbrev-table.
9315 (python-skeleton-define): Adjust accordingly.
9316 (python-mode-abbrev-table): New table that inherits from it so that
9317 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9319 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9320 (abbrev-symbol): Use it.
9321 (abbrev--before-point): Use it since we already handle inheritance.
9323 2013-04-16 Leo Liu <sdl.web@gmail.com>
9325 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9326 binding to info-lookup-symbol.
9328 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9330 * minibuffer.el (completion--twq-all):
9331 * term/ns-win.el (ns-initialize-window-system):
9332 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9334 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9336 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9339 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9341 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9343 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9344 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9346 (ruby-end-of-defun): Remove the unused arg, change the docstring
9347 to reflect that this function is only used as the value of
9348 `end-of-defun-function'.
9349 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9350 to reflect an earlier change that beginning/end-of-defun functions
9351 jump between methods in a class definition, as well as top-level
9354 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * minibuffer.el (minibuffer-complete): Don't just scroll
9357 a *Completions* that's been iconified.
9358 (minibuffer-force-complete): Make sure repetitions do cycle when going
9359 through completion-in-region -> minibuffer-complete.
9361 2013-04-15 Alan Mackenzie <acm@muc.de>
9363 Correct the placement of c-cpp-delimiters when there're #s not at
9366 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9367 place a submatch around the #.
9368 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9369 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9372 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9374 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9375 (advice--member-p): New arg `name'.
9376 (advice--add-function, advice-member-p): Use it (bug#14202).
9378 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9380 Reformulate java imenu-generic-expression.
9381 The old expression contained ill formed regexps.
9383 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9384 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9385 (cc-imenu-java-method-arg-regexp): New defconsts.
9386 (cc-imenu-java-build-type-args-regex): New defun.
9387 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9388 handling of spaces in the regexp.
9390 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9392 * textmodes/ispell.el (ispell-command-loop): Remove
9393 flyspell highlight of a word when ispell accepts it (bug #14178).
9395 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9397 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9398 uses code from the previous `ange-ftp-run-real-handler'.
9399 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9400 only in case that function exist. This is needed for proper
9403 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9405 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9407 * textmodes/reftex.el (reftex-compile-variables): Use it.
9409 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9411 * files.el (normal-mode): Only use default major-mode if no other mode
9414 * emacs-lisp/trace.el (trace-values): New function.
9416 * files.el: Allow : in local variables (bug#14089).
9417 (hack-local-variable-regexp): New var.
9418 (hack-local-variables-prop-line, hack-local-variables): Use it.
9420 2013-04-13 Roland Winkler <winkler@gnu.org>
9422 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9423 data before it gets modified by bibtex-beginning-of-entry.
9425 2013-04-13 Roland Winkler <winkler@gnu.org>
9427 * textmodes/bibtex.el (bibtex-url): Doc fix.
9429 2013-04-13 Roland Winkler <winkler@gnu.org>
9431 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9432 does not visit a BibTeX file, exclude it from the list of buffers
9433 returned by bibtex-initialize.
9435 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9437 * window.el (split-window): Remove interactive form, since as a
9438 command this function is a special case of split-window-below.
9441 2013-04-12 Roland Winkler <winkler@gnu.org>
9443 * faces.el (read-face-name): Do not override value of arg default.
9444 Allow single faces and strings as default values. Remove those
9445 elements from return value that are not faces.
9446 (describe-face): Simplify.
9447 (face-at-point): New optional args thing and multiple so that this
9448 function can provide the same functionality previously provided by
9450 (make-face-bold, make-face-unbold, make-face-italic)
9451 (make-face-unitalic, make-face-bold-italic, invert-face)
9452 (modify-face, read-face-and-attribute): Use face-at-point.
9454 * cus-edit.el (customize-face, customize-face-other-window)
9455 * cus-theme.el (custom-theme-add-face)
9456 * face-remap.el (buffer-face-set)
9457 * facemenu.el (facemenu-set-face): Use face-at-point.
9459 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9461 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9463 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9465 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9466 off leading { and trailing } from field values.
9468 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * emacs-lisp/timer.el (timer--check): New function.
9471 (timer--time, timer-set-function, timer-event-handler): Use it.
9472 (timer-set-idle-time): Simplify.
9473 (timer--activate): CSE.
9474 (timer-event-handler): Give more info in error message.
9475 (internal-timer-start-idle): New function, moved from C.
9477 * mpc.el (mpc-proc): Add `restart' argument.
9478 (mpc-proc-cmd): Use it.
9479 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9480 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9483 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9485 * progmodes/sh-script.el: Implement `sh-mode' own
9486 `add-log-current-defun-function' (bug#14112).
9487 (sh-current-defun-name): New function.
9488 (sh-mode): Use the function.
9490 2013-04-09 Bastien Guerry <bzg@gnu.org>
9492 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9494 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9498 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9501 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9503 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9506 2013-04-07 Leo Liu <sdl.web@gmail.com>
9508 * pcmpl-x.el: New file.
9510 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9512 Do not set x-display-name until X connection is established.
9513 This is needed to prevent from weird situation described at
9514 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9515 * frame.el (make-frame): Set x-display-name after call to
9516 window system initialization function, not before.
9517 * term/x-win.el (x-initialize-window-system): Add optional
9518 display argument and use it.
9519 * term/w32-win.el (w32-initialize-window-system):
9520 * term/ns-win.el (ns-initialize-window-system):
9521 * term/pc-win.el (msdos-initialize-window-system):
9522 Add compatible optional display argument.
9524 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9526 * files.el (normal-backup-enable-predicate): On MS-Windows and
9527 MS-DOS compare truenames of temporary-file-directory and of the
9528 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9529 don't fail comparison by compare-strings. Also, compare file
9530 names case-insensitively on MS-Windows and MS-DOS.
9532 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9534 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9535 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9537 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9539 * whitespace.el (whitespace-color-on, whitespace-color-off):
9540 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9542 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9544 * ispell.el (ispell-set-spellchecker-params):
9545 Really set `ispell-args' for all equivs.
9547 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9549 * ido.el (ido-completions): Use extra elements of ido-decorations
9551 (ido-decorations): Update docstring.
9553 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9555 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9556 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9557 nil during initialization, in order not to miss changes since the
9558 file was opened. (Bug#14140)
9560 2013-04-05 Leo Liu <sdl.web@gmail.com>
9562 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9564 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9566 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9568 2013-04-04 Glenn Morris <rgm@gnu.org>
9570 * electric.el (electric-pair-inhibit-predicate): Add :version.
9572 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9575 when a package is required several times (bug#14082).
9577 2013-04-04 Roland Winkler <winkler@gnu.org>
9579 * faces.el (read-face-name): Behave as promised by the docstring.
9580 Assume that arg default is a list of faces.
9581 (describe-face): Call read-face-name with list of default faces.
9583 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9585 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9586 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9587 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9589 (bookmark-exit-hook-internal): Save even if list is empty.
9591 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9593 * emacs-lisp/package.el (package-pinned-packages): New var.
9594 (package--add-to-archive-contents): Obey it (bug#14118).
9596 2013-04-03 Alan Mackenzie <acm@muc.de>
9598 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9599 Also adapt to the new values of element 7 of a parse state.
9601 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9602 parameter `not-in-delimiter'. Handle being inside comment opener.
9603 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9604 character in case we're typing a '*' after a '/'.
9605 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9606 instead by passing the parameter to c-state-pp-to-literal.
9608 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9609 for elt. 7 of a parse state.
9611 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9613 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9614 * international/latin1-disp.el, international/mule-util.el:
9615 * language/cyril-util.el, language/european.el, language/ind-util.el:
9616 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9617 * language/tibetan.el, language/viet-util.el:
9618 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9620 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9623 (electric-pair-post-self-insert-function): Use it.
9624 (electric-pair-default-inhibit): New function, extracted from
9625 electric-pair-post-self-insert-function.
9627 2013-03-31 Roland Winkler <winkler@gnu.org>
9629 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9631 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9635 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9637 Un-indent after "pass" and "return" statements (Bug#13888)
9638 * progmodes/python.el (python-indent-block-enders): New var.
9639 (python-indent-calculate-indentation): Use it.
9641 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9643 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9644 defun. Defining it as defalias could introduce too eager
9645 byte-compiler optimization. (Bug#14030)
9647 2013-03-30 Chong Yidong <cyd@gnu.org>
9649 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9651 2013-03-30 Leo Liu <sdl.web@gmail.com>
9653 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9654 (kmacro-execute-from-register): Pass the keyboard macro to
9655 kmacro-call-macro or repeating won't work correctly.
9657 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9659 * progmodes/subword.el: Back to using `forward-symbol'.
9661 * subr.el (forward-whitespace, forward-symbol)
9662 (forward-same-syntax): Move from thingatpt.el.
9664 2013-03-29 Leo Liu <sdl.web@gmail.com>
9666 * kmacro.el (kmacro-to-register): New command.
9667 (kmacro-execute-from-register): New function.
9668 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9670 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9672 * mpc.el: Use defvar-local and setq-local.
9673 (mpc--proc-connect): Connection failures are not bugs.
9674 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9675 (mpc-volume-map): Bind to the up-events.
9677 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9679 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9680 instead of `forward-symbol'.
9682 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9684 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9685 (edebug--recursive-edit): Use it.
9686 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9687 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9689 2013-03-28 Leo Liu <sdl.web@gmail.com>
9691 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9693 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9695 * facemenu.el (list-colors-callback): New defvar.
9696 (list-colors-redisplay): New function.
9697 (list-colors-display): Install list-colors-redisplay as the
9698 revert-buffer-function. (Bug#14063)
9700 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9703 and suffixes don't overlap (bug#14061).
9705 * case-table.el: Use lexical-binding.
9706 (case-table-get-table): New function.
9707 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9709 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9711 * progmodes/subword.el: Add `superword-mode' to do word motion
9712 over symbol_words (parallels and leverages `subword-mode' which
9713 does word motion inside MixedCaseWords).
9715 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9717 * eshell/em-unix.el: Move su and sudo to...
9718 * eshell/em-tramp.el: ...Eshell tramp module.
9720 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9723 Change return value to be a sexp. Delay `get-buffer' to after
9724 restoring the desktop (bug#13951).
9726 2013-03-26 Leo Liu <sdl.web@gmail.com>
9728 * register.el: Move semantic tag handling back to
9729 cedet/semantic/senator.el. (Bug#14052)
9731 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9733 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9734 into the prompt either (bug#13963).
9736 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9738 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9739 part of "(error-foo)".
9741 2013-03-24 Juri Linkov <juri@jurta.org>
9743 * replace.el (list-matching-lines-prefix-face): New defcustom.
9744 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9745 `occur-engine' if `face-differs-from-default-p' returns t.
9746 (occur-engine): Add `,' inside backquote construct to evaluate
9747 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9748 Pass `prefix-face' to the functions `occur-context-lines' and
9749 `occur-engine-add-prefix'.
9750 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9751 `prefix-face' and propertize the prefix with `prefix-face'.
9754 2013-03-24 Leo Liu <sdl.web@gmail.com>
9756 * nxml/rng-valid.el (rng-validate-while-idle)
9757 (rng-validate-quick-while-idle): Guard against deleted buffer.
9760 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9761 is the last entry in kill-buffer-hook.
9763 * files.el (kill-buffer-hook): Doc fix.
9765 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9767 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9770 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9772 2013-03-23 Leo Liu <sdl.web@gmail.com>
9774 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9777 * nxml/rng-valid.el (rng-validate-mode)
9778 (rng-after-change-function, rng-do-some-validation):
9779 * nxml/rng-maint.el (rng-validate-buffer):
9780 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9781 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9782 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9783 (nxml-extend-after-change-region): Use with-silent-modifications.
9785 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9788 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9789 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9790 timer-idle-list. (Bug#13999)
9792 2013-03-23 Juri Linkov <juri@jurta.org>
9794 * info.el (info-index-match): New face.
9795 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9796 main pattern and add text properties with the new face to matches
9797 in index entries relative to the beginning of the index entry.
9800 2013-03-21 Eric Ludlam <zappo@gnu.org>
9802 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9803 Inhibit read only while inserting objects.
9805 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9807 * progmodes/cfengine.el: Update docs to mention
9808 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9809 symbol motion. Remove "_" from the word syntax.
9811 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9813 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9814 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9816 2013-03-20 Juri Linkov <juri@jurta.org>
9818 * info.el (Info-next-reference-or-link)
9819 (Info-prev-reference-or-link): New functions.
9820 (Info-next-reference, Info-prev-reference): Use them.
9821 (Info-try-follow-nearest-node): Handle footnote navigation.
9822 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9824 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9827 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9829 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9831 Suppress unnecessary non-ASCII chatter during build process.
9832 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9833 (batch-skkdic-convert): Suppress most of the chatter.
9834 It's not needed so much now that machines are faster,
9835 and its non-ASCII component was confusing; see Dmitry Gutov in
9836 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9838 2013-03-20 Leo Liu <sdl.web@gmail.com>
9840 * ido.el (ido-chop): Fix bug#10994.
9842 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9844 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9846 (whitespace-color-on, whitespace-color-off):
9847 Use `font-lock-fontify-buffer' (Bug#13817).
9849 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9852 remapping in mode-line.
9853 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9855 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9857 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9858 value for `whitespace-line' face (Bug#13875).
9859 (whitespace-font-lock-keywords): Change description.
9860 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9861 the constructed keywords instead.
9862 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9864 2013-03-19 Leo Liu <sdl.web@gmail.com>
9866 * progmodes/compile.el (compilation-display-error): New command.
9867 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9870 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9872 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9874 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9876 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9878 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9880 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9882 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9883 * net/tramp-gvfs.el (top):
9884 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9885 (tramp-handle-shell-command): Use it.
9886 (tramp-dissect-file-name): Raise an error when hostname is a
9887 method name, and neither method nor user is specified.
9889 * net/trampver.el: Update release number.
9891 2013-03-18 Leo Liu <sdl.web@gmail.com>
9893 Make sure eldoc can be turned off properly.
9894 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9896 (eldoc-display-message-p): Revert last change.
9897 (eldoc-display-message-no-interference-p)
9898 (eldoc-print-current-symbol-info): Tweak.
9900 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9902 * doc-view.el (doc-view-new-window-function): Check the new window
9903 overlay's display property instead the char property of the
9904 buffer's first char. Use `with-selected-window' instead of
9905 `save-window-excursion' with `select-window'.
9906 (doc-view-document->bitmap): Check the current doc-view overlay's
9907 display property instead the char property of the buffer's first char.
9909 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9911 Automate the build of ja-dic.el (Bug#13984).
9912 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9913 from the input, rather than assume that it's been done for us by the
9914 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9915 the current date into a ja-dic.el comment, as that complicates
9918 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9920 * whitespace.el: Fix double evaluation.
9921 (whitespace-space, whitespace-hspace, whitespace-tab)
9922 (whitespace-newline, whitespace-trailing, whitespace-line)
9923 (whitespace-space-before-tab, whitespace-indentation)
9924 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9926 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9927 (whitespace-color-on): Use a single font-lock-add-keywords call.
9928 Fix double-evaluation of face variables.
9930 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9932 * net/tramp-adb.el (tramp-adb-parse-device-names):
9933 Use `start-process' instead of `call-process'. Otherwise, the
9934 function might be blocked under MS Windows. (Bug#13299)
9936 2013-03-17 Leo Liu <sdl.web@gmail.com>
9938 Extend eldoc to display info in the mode-line. (Bug#13978)
9939 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9940 (eldoc-mode-line-string): New variable.
9941 (eldoc-minibuffer-message): New function.
9942 (eldoc-message-function): New variable.
9943 (eldoc-message): Use it.
9944 (eldoc-display-message-p)
9945 (eldoc-display-message-no-interference-p):
9946 Support eldoc-post-insert-mode.
9948 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9949 (eval-expression): Run it.
9951 2013-03-17 Roland Winkler <winkler@gnu.org>
9953 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9954 strings in the list of return values.
9956 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9958 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9959 radix before checking for HMS forms.
9961 2013-03-16 Leo Liu <sdl.web@gmail.com>
9963 * progmodes/scheme.el: Add indentation and font-locking for λ.
9966 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9969 token before point (bug#13942).
9971 2013-03-16 Leo Liu <sdl.web@gmail.com>
9973 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9975 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9977 * startup.el (command-line-normalize-file-name): Fix handling of
9978 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9979 <xfq.free@gmail.com> in
9980 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9982 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9984 Sync with Tramp 2.2.7.
9986 * net/trampver.el: Update release number.
9988 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9990 * doc-view.el: Fix bug#13887.
9991 (doc-view-insert-image): Don't modify overlay associated to
9992 non-live windows, and implement horizontal centering of image in
9993 case it's smaller than the window.
9994 (doc-view-new-window-function): Force redisplay of new windows on
9997 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9999 * saveplace.el (save-place-alist-to-file): Don't sort
10000 `save-place-alist', just pretty-print it (bug#13882).
10002 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10004 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10005 Check whether `default-file-name-coding-system' is bound.
10006 It isn't in XEmacs.
10008 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10010 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10011 backquotes for `obsolete' (bug#13929).
10013 * international/mule.el (find-auto-coding): Include file name in
10014 obsolescence warning (bug#13922).
10016 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10018 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10019 for CFEngine 3-specific indentation.
10020 (cfengine3-indent-line): Use it. Fix up category regex.
10021 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10023 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10025 * type-break.el (type-break-file-name):
10026 * textmodes/remember.el (remember-data-file):
10027 * strokes.el (strokes-file):
10028 * shadowfile.el (shadow-initialize):
10029 * saveplace.el (save-place-file):
10030 * ps-bdf.el (bdf-cache-file):
10031 * progmodes/idlwave.el (idlwave-config-directory):
10032 * net/quickurl.el (quickurl-url-file):
10033 * international/kkc.el (kkc-init-file-name):
10034 * ido.el (ido-save-directory-list-file):
10035 * emulation/viper.el (viper-custom-file-name):
10036 * emulation/vip.el (vip-startup-file):
10037 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10038 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10040 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10042 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10043 * language/thai-word.el: Switch to UTF-8.
10045 See ChangeLog.16 for earlier changes.
10047 ;; Local Variables:
10051 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10053 This file is part of GNU Emacs.
10055 GNU Emacs is free software: you can redistribute it and/or modify
10056 it under the terms of the GNU General Public License as published by
10057 the Free Software Foundation, either version 3 of the License, or
10058 (at your option) any later version.
10060 GNU Emacs is distributed in the hope that it will be useful,
10061 but WITHOUT ANY WARRANTY; without even the implied warranty of
10062 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10063 GNU General Public License for more details.
10065 You should have received a copy of the GNU General Public License
10066 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.