1 2013-10-09 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5 (authors): Remove unused local variables.
7 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
9 * profiler.el: Create a more coherent calltree from partial backtraces.
10 (profiler-format): Hide the tail with `invisible' so that C-s can still
11 find the hidden elements.
12 (profiler-calltree-depth): Don't recurse so enthusiastically.
13 (profiler-function-equal): New hash-table-test.
14 (profiler-calltree-build-unified): New function.
15 (profiler-calltree-build): Use it.
16 (profiler-report-make-name-part): Indent the calltree less.
17 (profiler-report-mode): Add visibility specs for profiler-format.
18 (profiler-report-expand-entry, profiler-report-toggle-entry):
19 Expand the whole subtree when provided with a prefix arg.
21 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
23 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
25 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
26 hanging iuwu-mod token.
27 (ruby-smie--forward-token): Do not include a dot after a token in
29 (ruby-smie--backward-token): Likewise.
31 2013-10-08 Juri Linkov <juri@jurta.org>
33 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
34 to isearch-other-control-char.
35 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
36 and isearch-post-command-hook to post-command-hook.
37 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
38 and isearch-post-command-hook from post-command-hook.
39 (isearch-unread-key-sequence)
40 (isearch-reread-key-sequence-naturally)
41 (isearch-lookup-scroll-key, isearch-other-control-char)
42 (isearch-other-meta-char): Remove functions.
43 (isearch-pre-command-hook, isearch-post-command-hook):
44 New functions based on isearch-other-meta-char rewritten
45 relying on the new behavior of overriding-terminal-local-map
46 that does not replace the local keymaps any more. (Bug#15200)
48 2013-10-08 Eli Zaretskii <eliz@gnu.org>
50 Support menus on text-mode terminals.
51 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
54 * tooltip.el (tooltip-mode): Don't error out on TTYs.
56 * menu-bar.el (popup-menu, popup-menu-normalize-position): Moved
58 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
60 (tty-menu-navigation-map): New map for TTY menu navigation.
62 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
64 * frame.el (display-mouse-p): Report text-mode mouse as available
66 (display-popup-menus-p): Report availability if mouse is
67 available; don't condition on window-system.
69 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
70 (tty-menu-selected-face): New faces.
72 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
74 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
75 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
76 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
77 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
79 (lisp-mode-variables): New `elisp' argument.
80 (emacs-lisp-mode): Use it.
81 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
82 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
84 * indent.el: Use lexical-binding.
85 (indent-region): Add progress reporter.
86 (tab-stop-list): Make it implicitly extend to infinity by repeating the
88 (indent--next-tab-stop): New function to implement this behavior.
89 (tab-to-tab-stop, move-to-tab-stop): Use it.
91 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
93 * indent.el (indent-rigidly--current-indentation): New function.
94 (indent-rigidly-map): New var.
95 (indent-rigidly): Use it to provide interactive mode (bug#8196).
97 2013-10-08 Bastien Guerry <bzg@gnu.org>
99 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
101 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
103 * progmodes/perl-mode.el: Use lexical-binding.
104 Remove redundant :group args.
105 (perl-nochange): Change default to be closer to other major modes's
107 (perl-indent-line): Don't consider text on current line as a
108 valid beginning of function from which to indent.
110 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
111 with more than one argument (bug#15538).
113 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
115 * vc/pcvs.el: Use lexical-binding.
116 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
117 environment of `eval'.
118 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
119 than a list of expressions. Adjust callers.
120 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
122 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
124 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
125 case of the dot in a chained method call being on the following line.
127 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
129 * electric.el (electric-indent-inhibit): New var.
130 (electric-indent-post-self-insert-function): Use it.
131 * progmodes/python.el (python-mode): Set it.
133 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
136 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
138 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
139 (css-mode): Use electric-indent-chars.
141 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
142 (font-lock-beg, font-lock-end): Move before first use.
143 (nxml-mode): Use syntax-propertize-function.
144 (nxml-after-change, nxml-after-change1): Adjust accordingly.
145 (nxml-extend-after-change-region): Remove.
146 * nxml/xmltok.el: Use lexical-binding.
147 (xmltok-save): Use `declare'.
148 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
149 * nxml/nxml-util.el: Use lexical-binding.
150 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
152 * nxml/nxml-ns.el: Use lexical-binding.
153 (nxml-ns-save): Use `declare'.
154 (nxml-ns-prefixes-for): Avoid add-to-list.
155 * nxml/rng-match.el: Use lexical-binding.
156 (rng--ipattern): Use cl-defstruct.
157 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
158 (rng-cons-group-after, rng-subst-group-after)
159 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
160 Use closures instead of `(lambda...).
162 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
164 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
168 Use `tramp-handle-insert-file-contents'.
169 (tramp-gvfs-handle-insert-file-contents): Remove function.
171 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
172 Use `save-restriction' in order to keep markers.
174 * net/trampver.el: Update release number.
176 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
178 * progmodes/compile.el (compilation-parse-errors):
179 Use compilation--put-prop.
180 (compilation--ensure-parse): Check compilation-multiline.
182 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
184 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
187 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
189 * progmodes/ruby-mode.el: Fix recently added tests.
190 (ruby-smie-grammar): Add - and +.
191 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
192 (ruby-smie--backward-id): New functions.
193 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
194 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
197 2013-10-07 Leo Liu <sdl.web@gmail.com>
199 * register.el (register-preview-delay)
200 (register-preview-functions): New variables.
201 (register-read-with-preview, register-preview)
202 (register-describe-oneline): New functions.
203 (point-to-register, window-configuration-to-register)
204 (frame-configuration-to-register, jump-to-register)
205 (number-to-register, view-register, insert-register)
206 (copy-to-register, append-to-register, prepend-to-register)
207 (copy-rectangle-to-register): Use register-read-with-preview to
208 read register. (Bug#15525)
210 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
212 * net/network-stream.el (network-stream-open-starttls): Don't add
213 --insecure if it's already present, because that gnutls-cli
214 rejects getting that parameter twice.
216 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
218 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
221 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
223 * newcomment.el (comment-use-global-state): Change default value
224 to t, mark obsolete (Bug#15251).
225 (comment-beginning): In addition to `comment-to-syntax', check the
226 value of `comment-use-global-state'.
228 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
230 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
231 (ruby-comment-column): Follow the global default, by default.
232 (ruby-smie-grammar): Add assignment syntax.
233 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
234 open-paren, a comma, or a \.
235 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
236 and line continuations.
237 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
238 followed by implicit semi-colons. Add rule for string concatenation
239 and for indentation at BOB.
240 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
242 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
243 calling next-sexp, since next-token may have skipped chars which
244 next-sexp doesn't know should be skipped!
246 2013-10-05 Leo Liu <sdl.web@gmail.com>
248 * progmodes/octave.el (octave-send-region):
249 Call compilation-forget-errors.
251 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
253 * vc/vc-svn.el (vc-svn-find-admin-dir):
254 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
255 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
256 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
257 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
259 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
261 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
263 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
265 * subr.el (read-passwd): Hide chars even when called within a context
266 where after-change-functions is disabled (bug#15501).
267 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
268 until we removed ourself from overriding-terminal-local-map.
270 2013-10-04 Leo Liu <sdl.web@gmail.com>
272 * progmodes/octave.el (inferior-octave-mode):
273 Call compilation-forget-errors.
275 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
277 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
279 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
281 * net/secrets.el (secrets-create-collection): Add optional
282 argument ALIAS. Use proper Label keyword. Append ALIAS as
283 dbus-call-method argument. (Bug#15516)
285 2013-10-04 Leo Liu <sdl.web@gmail.com>
287 * progmodes/octave.el (inferior-octave-error-regexp-alist)
288 (inferior-octave-compilation-font-lock-keywords): New variables.
289 (compilation-error-regexp-alist)
290 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
291 (inferior-octave-mode): Use compilation-shell-minor-mode.
293 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
295 * minibuffer.el (completion--replace): Be careful that `end' might be
298 2013-10-03 Daiki Ueno <ueno@gnu.org>
300 Add support for package signature checking.
301 * emacs-lisp/package.el (url-http-file-exists-p)
302 (epg-make-context, epg-context-set-home-directory)
303 (epg-verify-string, epg-context-result-for)
304 (epg-signature-status, epg-signature-to-string)
305 (epg-check-configuration, epg-configuration)
306 (epg-import-keys-from-file): Declare.
307 (package-check-signature): New user option.
308 (package-unsigned-archives): New user option.
309 (package-desc): Add `signed' field.
310 (package-load-descriptor): Set `signed' field if .signed file exists.
311 (package--archive-file-exists-p): New function.
312 (package--check-signature): New function.
313 (package-install-from-archive): Check package signature.
314 (package--download-one-archive): Check archive signature.
315 (package-delete): Remove .signed file.
316 (package-import-keyring): New command.
317 (package-refresh-contents): Import default keyring.
318 (package-desc-status): Add "unsigned" status.
319 (describe-package-1, package-menu--print-info)
320 (package-menu-mark-delete, package-menu--find-upgrades)
321 (package-menu--status-predicate): Support "unsigned" status.
323 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
325 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
326 the new compilation scheme using the new byte-codes.
328 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
329 (byte-pophandler): New byte codes.
330 (byte-goto-ops): Adjust accordingly.
331 (byte-compile--use-old-handlers): New var.
332 (byte-compile-catch): Use new byte codes depending on
333 byte-compile--use-old-handlers.
334 (byte-compile-condition-case--old): Rename from
335 byte-compile-condition-case.
336 (byte-compile-condition-case--new): New function.
337 (byte-compile-condition-case): New function that dispatches depending
338 on byte-compile--use-old-handlers.
339 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
342 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
343 Optimize under `condition-case' and `catch' if
344 byte-compile--use-old-handlers is nil.
345 (disassemble-offset): Handle new bytecodes.
347 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
349 * subr.el (error): Use `declare'.
350 (decode-char, encode-char): Use advertised-calling-convention instead
351 of the docstring to discourage use of the `restriction' arg.
353 2013-10-03 Daiki Ueno <ueno@gnu.org>
355 * epg.el (epg-verify-file): Add a comment saying that it does not
356 notify verification error as a return value nor a signal.
357 (epg-verify-string): Ditto.
359 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
361 * progmodes/compile.el (compilation-start): Try globbing the arg to
364 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
366 Sync with Tramp 2.2.8.
368 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
369 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
370 * net/trampver.el: Update release number.
372 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
374 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
375 and default-process-coding-system for darwin only.
377 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
379 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
381 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
383 * vc/vc-git.el (vc-git-grep): Disable pager.
385 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
387 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
388 Use :url instead of :homepage, as per
389 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
391 * newcomment.el (comment-beginning): When `comment-use-syntax' is
392 non-nil, use `syntax-ppss' (Bug#15251).
394 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
396 * progmodes/octave.el (inferior-octave-startup-file):
397 Prefer ~/.emacs.d/init_octave.m.
399 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
401 * emacs-lisp/package.el (package-desc-from-define):
402 Accept additional arguments as plist, convert them to an alist and store
403 them in the `extras' slot.
404 (package-generate-description-file): Convert extras alist back to
405 plist and append to the `define-package' form arguments.
406 (package--alist-to-plist): New function.
407 (package--ac-desc): Add `extras' slot.
408 (package--add-to-archive-contents): Check if the archive-contents
409 vector is long enough, and if it is, pass its `extras' slot value
410 to `package-desc-create'.
411 (package-buffer-info): Call `lm-homepage', pass the returned value
412 to `package-desc-from-define'.
413 (describe-package-1): Render the homepage button (Bug#13291).
415 * emacs-lisp/package-x.el (package-upload-buffer-internal):
416 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
418 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
420 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
421 and default-process-coding-system to utf-8-unix (Bug#15402).
423 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
425 * subr.el (looking-back): Do not recommend using looking-back.
427 2013-09-28 Alan Mackenzie <acm@muc.de>
429 Fix indentation/fontification of Java enum with "implements".
431 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
432 regexp which matches "implements", etc., in Java.
433 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
434 specifier clauses coming after "enum".
435 * progmodes/cc-fonts.el (c-font-lock-declarations)
436 (c-font-lock-enum-tail): Check for extra specifier clauses coming
439 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
441 * faces.el (region): Change ns_selection_color to
442 ns_selection_fg_color, add ns_selection_bg_color.
444 2013-09-28 Leo Liu <sdl.web@gmail.com>
446 * progmodes/octave.el (inferior-octave-completion-table)
447 (inferior-octave-completion-at-point): Minor tweaks.
449 * textmodes/ispell.el (ispell-lookup-words): Rename from
450 lookup-words. (Bug#15460)
451 (lookup-words): Obsolete.
452 (ispell-complete-word, ispell-command-loop): All uses changed.
454 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
456 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
457 (octave-mode-menu): Add octave-send-buffer.
458 (octave-send-buffer): New function.
460 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
462 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
464 (octave-mode-menu): Add octave-lookfor.
465 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
467 (octave-lookfor): New function.
469 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
471 * emacs-lisp/cl-macs.el:
472 (cl--loop-destr-temps): Remove.
473 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
475 (cl--loop-set-iterator-function): New function.
476 (cl-loop): Adjust accordingly, so as not to use cl-subst.
477 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
478 Bind `it' with `let' instead of substituting it with `cl-subst'.
479 (cl--unused-var-p): New function.
480 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
481 Eliminate some unused variable warnings (bug#15326).
483 2013-09-27 Tassilo Horn <tsdh@gnu.org>
485 * doc-view.el (doc-view-scale-reset): Rename from
486 `doc-view-reset-zoom-level'.
487 (doc-view-scale-adjust): New command.
488 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
489 `doc-view-scale-adjust'.
491 2013-09-26 Tassilo Horn <tsdh@gnu.org>
493 * doc-view.el (doc-view-reset-zoom-level): New command.
494 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
495 zoom commands (bug#15466).
497 2013-09-26 Kenichi Handa <handa@gnu.org>
499 * international/quail.el (quail-help): Make it not a command.
501 2013-09-26 Leo Liu <sdl.web@gmail.com>
503 * minibuffer.el (completion-all-sorted-completions): Make args
504 optional as they are.
506 2013-09-25 Daniel Colascione <dancol@dancol.org>
508 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
509 specs are and that they're not evaluated.
511 2013-09-24 Sam Steingold <sds@gnu.org>
513 * midnight.el (clean-buffer-list-kill-regexps)
514 (clean-buffer-list-kill-buffer-names): Update for the new Man
515 buffer naming which includes the object name.
517 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
519 * eshell/esh-cmd.el (eshell--sep-terms): New var.
520 (eshell-parse-command, eshell-parse-pipeline): Use it since
521 eshell-separate-commands requires a dynamic scoped var.
522 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
524 2013-09-23 Leo Liu <sdl.web@gmail.com>
526 * autoinsert.el (auto-insert-alist): Make the value of
527 lexical-binding match its file setting.
529 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
531 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
533 * autoarg.el (autoarg-kp-digit-argument):
534 * electric.el (Electric-command-loop):
535 * kmacro.el (kmacro-step-edit-insert):
536 Do not set universal-argument-num-events.
538 2013-09-22 Leo Liu <sdl.web@gmail.com>
540 * files.el (interpreter-mode-alist): Add octave.
542 2013-09-21 Alan Mackenzie <acm@muc.de>
544 C++: fontify identifier in declaration following "public:" correctly.
545 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
546 to match "public", etc.
547 (c-decl-prefix-re): Add ":" into the C++ value.
548 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
549 bit. Add a check for a ":" preceded by "public", etc.
551 2013-09-21 Eli Zaretskii <eliz@gnu.org>
553 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
554 recognized by GDB 7.5 and later.
556 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
558 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
560 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
562 * subr.el (internal--call-interactively): New const.
563 (called-interactively-p): Use it (bug#3984).
565 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
567 * vc/pcvs.el (cvs-mode-ignore):
568 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
569 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
571 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
573 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
574 (eshell-ls-orig-insert-directory): Remove.
575 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
576 (eshell-ls-use-in-dired): Use advice-add/remove.
577 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
578 Add `orig-fun' arg for use in :around advice.
579 Make it check (redundantly) eshell-ls-use-in-dired.
581 2013-09-19 Glenn Morris <rgm@gnu.org>
583 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
585 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
587 * emacs-lisp/eieio.el (class-parent): Undo previous change.
589 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
591 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
592 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
593 (tramp-get-remote-python): New defuns.
594 (tramp-get-remote-uid-with-perl)
595 (tramp-get-remote-gid-with-perl): New defuns. Perl code
596 contributed by yary <not.com@gmail.com> (tiny change).
597 (tramp-get-remote-uid-with-python)
598 (tramp-get-remote-gid-with-python): New defuns. Python code
599 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
600 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
602 2013-09-19 Glenn Morris <rgm@gnu.org>
604 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
606 * eshell/em-unix.el (eshell-remove-entries):
607 Rename argument to avoid name-clash with global `top-level'.
609 * eshell/esh-proc.el (eshell-kill-process-function):
610 Remove eshell-reset-after-proc from eshell-kill-hook if present.
611 (eshell-reset-after-proc): Remove unused arg `proc'.
613 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
614 (directory-files-and-attributes): Mark unused arg.
616 * eshell/em-unix.el (eshell-remove-entries):
617 Remove unused arg `path'. Update callers.
619 * eshell/em-hist.el (eshell-hist-parse-arguments):
620 Remove unused arg `silent'. Update callers.
622 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
623 Fix (f)boundp mix-up.
625 * eshell/em-smart.el (eshell-smart-scroll-window)
626 (eshell-disable-after-change):
627 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
629 2013-09-18 Alan Mackenzie <acm@muc.de>
631 Fix fontification of type when followed by "const".
632 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
633 "known" types from fontification.
635 2013-09-18 Glenn Morris <rgm@gnu.org>
637 * emacs-lisp/chart.el (x-display-color-cells): Declare.
638 (chart-face-list): Drop Emacsen without display-color-p.
640 * net/eww.el (libxml-parse-html-region): Declare.
641 (eww-display-html): Explicit error if no libxml2 support.
643 * doc-view.el (doc-view-mode): Silence --without-x compilation.
645 * image.el (image-type-from-buffer, image-multi-frame-p):
646 Remove --without-x warning/error.
648 * mouse.el (mouse-yank-primary):
649 * term.el (term-mouse-paste):
650 Reorder to silence --without-x compilation.
652 * mpc.el (doc-view-mode): Silence --without-x compilation.
654 * mail/rmailmm.el (rmail-mime-set-bulk-data):
655 Silence --without-x compilation.
657 * progmodes/gud.el (gud-find-file, gud-mode):
658 Silence --without-x compilation.
659 (tooltip-mode): Declare.
661 * wdired.el (dired-backup-overwrite): Remove declaration.
662 (wdired-mode-map): Add doc string.
664 * custom.el (x-get-resource): Declare.
666 * eshell/em-glob.el (ange-cache):
667 * eshell/em-unix.el (ange-cache): Declare.
669 * faces.el (x-display-list, x-open-connection, x-get-resource):
672 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
673 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
676 * frame.el (x-display-grayscale-p, x-display-name): Declare.
678 * net/gnutls.el (gnutls-log-level): Declare.
680 * net/shr.el (image-size, image-animate): Declare.
682 * simple.el (font-info): Declare.
684 * subr.el (x-popup-dialog): Declare.
686 * term/common-win.el (x-select-enable-primary)
687 (x-last-selected-text-primary, x-last-selected-text-clipboard):
690 * term/ns-win.el (x-handle-args): Declare.
692 * term/x-win.el (x-select-enable-clipboard): Declare.
694 * term/w32-win.el (create-default-fontset): Declare.
696 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
699 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
700 (fit-frame-to-buffer): Explicit error if --without-x.
701 (mouse-autoselect-window-select): Silence compiler.
703 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
705 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
706 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
707 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
708 * eshell/esh-util.el (eshell-sublist):
709 Remove unused local variables.
711 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
713 * textmodes/two-column.el: Make 2C-split work for --without-x.
714 (scroll-bar-columns): Autoload.
715 (top-level): Require fringe when compiling.
717 2013-09-18 Leo Liu <sdl.web@gmail.com>
719 * subr.el (add-hook): Robustify to handle closure as well.
721 2013-09-17 Glenn Morris <rgm@gnu.org>
723 * simple.el (messages-buffer-mode-map): Unbind "g".
725 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
727 * help-mode.el (help-mode-finish): Use derived-mode-p.
728 Remove obsolete highlighting.
730 * play/life.el (life-mode): Use define-derived-mode. Derive from
732 (life): Let-bind inhibit-read-only.
733 (life-setup): Avoid `setq'. Use `life-mode'.
735 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
736 which should not be needed any more.
737 (package-menu-refresh, package-menu-describe-package): Use user-error.
739 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
740 (eshell-post-rewrite-command-hook): Make obsolete.
741 (eshell-parse-command): Simplify.
742 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
743 (eshell--cmd): Declare.
744 (eshell-parse-pipeline): Remove unused var `final-p'.
745 Pass a dynvar to eshell-post-rewrite-command-hook.
746 Implement the new eshell-post-rewrite-command-function.
747 (eshell-invoke-directly): Remove unused arg `input'.
748 * eshell/esh-io.el (eshell-io-initialize):
749 Use eshell-post-rewrite-command-function (bug#15399).
750 (eshell--apply-redirections): Rename from eshell-apply-redirections;
751 adjust to new calling convention.
752 (eshell-create-handles): Rename args to avoid clashing with dynvar
755 2013-09-17 Glenn Morris <rgm@gnu.org>
757 * simple.el (messages-buffer-mode): New major mode.
758 (messages-buffer): New function.
759 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
760 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
761 (ert-run-test): Use `messages-buffer' function.
762 (ert--force-message-log-buffer-truncation): Ignore read-only.
763 * help.el (view-echo-area-messages): Use `messages-buffer' function.
764 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
766 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
768 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
770 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
772 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
774 * icomplete.el (icomplete-in-buffer): New var.
775 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
776 vars and replace them with functions.
777 (icomplete-minibuffer-setup): Adjust accordingly.
778 (icomplete--completion-table, icomplete--completion-predicate)
779 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
781 (icomplete-forward-completions, icomplete-backward-completions)
782 (icomplete-simple-completing-p, icomplete-exhibit)
783 (icomplete-completions): Use them.
784 (icomplete--in-region-buffer): New var.
785 (icomplete--in-region-setup): New function.
786 (icomplete-mode): Use it.
788 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
790 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
791 return args and options.
792 (eshell-eval-using-options): Use the new return value of
793 eshell--do-opts to set the options's vars in their scope.
794 (eshell--set-option): Rename from eshell-set-option.
796 (eshell--process-option): Rename from eshell-process-option.
798 (eshell--process-args): Use an `opt-vals' alist to store the options's
799 values during their processing and return them additionally to the
802 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
804 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
805 continuation character an operator, as far as indentation is
806 concerned (Bug#15369).
808 2013-09-15 Martin Rudalics <rudalics@gmx.at>
810 * window.el (window--state-put-2): Don't process buffer state
811 when buffer doesn't exist any more (Bug#15382).
813 2013-09-15 Glenn Morris <rgm@gnu.org>
815 * eshell/em-unix.el (eshell/rm):
816 Make -f ignore missing files. (Bug#15373)
818 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
819 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
820 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
822 2013-09-14 Glenn Morris <rgm@gnu.org>
824 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
826 2013-09-13 Glenn Morris <rgm@gnu.org>
828 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
829 (dired-guess-default): Make `file' available in the env. (Bug#15363)
831 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
833 * frame.el (x-focus-frame): Mark as declared in frame.c.
835 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
837 * ls-lisp.el: Use advice-add.
838 (original-insert-directory): Remove.
839 (ls-lisp--insert-directory): Rename from insert-directory; add
841 (insert-directory): Advise.
843 2013-09-13 Eli Zaretskii <eliz@gnu.org>
845 * term.el (term-emulate-terminal): Decode the command string
846 before passing it to term-command-hook. (Bug#15337)
848 2013-09-13 Glenn Morris <rgm@gnu.org>
850 * eshell/esh-util.el (ange-cache): Move declaration earlier.
852 * eshell/esh-ext.el (eshell-search-path): Declare.
854 * eshell/em-prompt.el (eshell/pwd): Autoload it.
855 Otherwise an error occurs if eshell-dirs module not loaded.
857 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
859 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
861 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
862 `tramp-check-proper-host'. Check for a valid method name.
864 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
865 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
866 * net/tramp-sh.el (tramp-maybe-open-connection):
867 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
869 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
870 also for hash values.
872 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
874 * term/ns-win.el (parameters): Don't declare as dynamic.
875 (before-make-frame-hook): Don't add ineffective function.
877 * eshell/*.el: Use lexical-binding (bug#15231).
879 2013-09-12 Kenichi Handa <handa@gnu.org>
881 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
883 2013-09-12 Glenn Morris <rgm@gnu.org>
885 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
886 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
888 * subr.el (do-after-load-evaluation): Also give compiler warnings
889 when obsolete files are used (except by obsolete files).
891 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
892 in the status output, assume `filename' is the first. (Bug#15322)
894 * vc/vc.el (vc-deduce-fileset): Doc fix.
896 * calc/calc-help.el (Info-goto-node):
897 * progmodes/cperl-mode.el (Info-find-node):
898 * vc/ediff.el (Info-goto-node): Update declarations.
900 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
902 * vc/vc-bzr.el (vc-compilation-mode): Declare.
903 (vc-bzr-pull): Require vc-dispatcher.
904 * vc/vc-git.el (vc-compilation-mode): Declare.
905 (vc-git-pull): Require vc-dispatcher.
907 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
909 * progmodes/octave.el (help-button-action): Declare.
911 * shell.el (shell-directory-tracker): Output error as a message
912 rather than just returning it as a string.
913 (shell-process-pushd): Remove useless use of message.
915 * dframe.el (dframe-timer-fn):
916 * files.el (dir-locals-read-from-file):
917 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
919 * reveal.el (reveal-post-command):
920 * saveplace.el (load-save-place-alist-from-file):
921 * shell.el (shell-resync-dirs):
922 * w32-common-fns.el (x-get-selection-value):
923 * emacs-lisp/copyright.el (copyright-find-copyright):
924 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
925 * emulation/tpu-edt.el (tpu-copy-keyfile):
926 * play/bubbles.el (bubbles--mark-neighbourhood):
927 * progmodes/executable.el
928 (executable-make-buffer-file-executable-if-script-p):
929 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
931 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
933 Cleanup Eshell to rely less on dynamic scoping.
934 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
935 last-value, and ext-command here. Bind `args' closer to `body'.
936 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
937 (eshell--args): Declare new dynamic var.
938 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
939 last-value, and ext-command. Pass `args' to `body'.
940 (eshell-process-args): Bind eshell--args.
941 (eshell-set-option): Use eshell--args.
942 * eshell/eshell.el (eshell): Use derived-mode-p.
943 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
944 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
945 (eshell-glob-function): Declare.
946 * eshell/esh-util.el: Require cl-lib.
947 (eshell-read-hosts-file): Avoid add-to-list.
948 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
950 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
952 (eshell/diff): Remove unused var `err'.
953 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
955 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
956 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
958 * eshell/em-glob.el (eshell-glob-matches, message-shown):
959 Move declaration before first use.
960 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
961 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
964 2013-09-12 Glenn Morris <rgm@gnu.org>
966 * term/ns-win.el (global-map): Remove binding for ispell-next,
967 deleted 1999-05-29. (Bug#15357)
969 2013-09-11 Glenn Morris <rgm@gnu.org>
971 * echistory.el (electric-command-history): Remove call to deleted func.
973 * play/landmark.el (landmark-mode): Fix typos.
975 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
976 Check cvs-sort-ignore-file is bound.
978 * savehist.el: No need for cl when compiling on Emacs.
980 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
982 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
984 (eshell-self-insert-command, eshell-send-invisible):
985 Remove unused argument.
986 (eshell-handle-control-codes): Remove unused var `orig'.
987 Avoid delete-backward-char.
989 * files.el (set-auto-mode): Simplify a bit further.
991 2013-09-11 Glenn Morris <rgm@gnu.org>
993 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
994 (set-auto-mode): Don't regexp-quote elements.
995 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
996 * progmodes/cc-mode.el (interpreter-mode-alist):
997 * progmodes/ruby-mode.el (interpreter-mode-alist):
998 Revert previous change.
1000 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1002 * play/snake.el (snake-mode):
1003 * play/mpuz.el (mpuz-mode):
1004 * play/landmark.el (lm-mode):
1005 * play/blackbox.el (blackbox-mode):
1006 * play/5x5.el (5x5-mode):
1007 * obsolete/options.el (Edit-options-mode):
1008 * net/quickurl.el (quickurl-list-mode):
1009 * net/newst-treeview.el (newsticker-treeview-mode):
1010 * mail/rmailsum.el (rmail-summary-mode):
1011 * mail/mspools.el (mspools-mode):
1012 * locate.el (locate-mode):
1013 * ibuffer.el (ibuffer-mode):
1014 * emulation/ws-mode.el (wordstar-mode):
1015 * emacs-lisp/debug.el (debugger-mode):
1016 * array.el (array-mode):
1017 * net/eudc.el (eudc-mode): Use define-derived-mode.
1018 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1019 Move initialization into declaration.
1020 (mairix-searches-mode): Use define-derived-mode.
1021 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1022 (eudc-edit-hotlist): Use dolist.
1023 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1024 (Man-mode): Use define-derived-mode.
1025 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1026 (Info-edit-mode): Use define-derived-mode.
1027 (Info-cease-edit): Use Info-mode.
1028 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1030 (eshell-mode): Use define-derived-mode.
1031 * chistory.el (command-history-mode-map): Rename from
1032 command-history-map.
1033 (command-history-mode): Use define-derived-mode.
1034 (Command-history-setup): Remove function.
1035 * calc/calc.el (calc-trail-mode-map): New var.
1036 (calc-trail-mode): Use define-derived-mode.
1037 (calc-trail-buffer): Set calc-main-buffer manually.
1038 * bookmark.el (bookmark-insert-annotation): New function.
1039 (bookmark-edit-annotation): Use it.
1040 (bookmark-edit-annotation-mode): Make it a proper major mode.
1041 (bookmark-send-edited-annotation): Use derived-mode-p.
1042 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1043 closer to its ideal place. Use \' to match EOS.
1045 * profiler.el (profiler-calltree-find): Use function-equal.
1047 2013-09-10 Glenn Morris <rgm@gnu.org>
1049 * files.el (interpreter-mode-alist): Convert to regexps.
1050 (set-auto-mode): Adapt for this. (Bug#15306)
1051 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1052 Comment out unused variable.
1053 * progmodes/cc-mode.el (interpreter-mode-alist):
1054 * progmodes/python.el (interpreter-mode-alist):
1055 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1056 * progmodes/sh-script.el (sh-set-shell):
1057 No longer use interpreter-mode-alist to get list of shells.
1059 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1061 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1063 * simple.el: Use set-temporary-overlay-map for universal-argument.
1064 (universal-argument-map): Don't use default-bindings (bug#15317).
1065 Bind switch-frame explicitly. Replace universal-argument-minus with
1066 a conditional binding.
1067 (universal-argument-num-events, saved-overriding-map): Remove.
1068 (restore-overriding-map): Remove.
1069 (universal-argument--mode): Rename from save&set-overriding-map,
1071 (universal-argument, universal-argument-more, negative-argument)
1072 (digit-argument): Adjust accordingly.
1073 (universal-argument-minus): Remove.
1074 (universal-argument-other-key): Remove.
1076 * subr.el (with-demoted-errors): Add `format' argument.
1078 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1080 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1081 `tramp-cleanup-connection'.
1083 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1084 parameters KEEP-DEBUG and KEEP-PASSWORD.
1086 * net/tramp.el (tramp-file-name-handler):
1087 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1088 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1089 (tramp-maybe-open-connection):
1090 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1091 Use `tramp-cleanup-connection'.
1093 * net/tramp-sh.el (tramp-maybe-open-connection):
1094 Catch 'uname-changed inside the progress reporter.
1096 2013-09-10 Glenn Morris <rgm@gnu.org>
1098 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1100 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1101 returns "alternate access method" in mode (eg "-rw-r--r--.").
1103 2013-09-08 Glenn Morris <rgm@gnu.org>
1105 * saveplace.el (load-save-place-alist-from-file):
1106 Demote errors. (Bug#15305)
1108 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1110 Improve compatibility with older Emacsen, and XEmacs.
1112 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1113 only if it is bound. It isn't for XEmacs.
1114 (with-tramp-progress-reporter): Do not let-bind `result'.
1115 This yields to scoping errors in XEmacs.
1116 (tramp-handle-make-auto-save-file-name): New function, moved from
1119 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1120 for `make-auto-save-file-name'.
1121 (tramp-adb--gnu-switches-to-ash):
1122 Use `tramp-compat-replace-regexp-in-string'.
1124 * net/tramp-cache.el (tramp-cache-print): Call
1125 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1127 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1128 bound. It isn't for XEmacs.
1130 * net/tramp-compat.el (tramp-compat-copy-file):
1131 Catch `wrong-number-of-arguments' error.
1132 (tramp-compat-replace-regexp-in-string): New defun.
1134 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1135 for `make-auto-save-file-name'.
1136 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1138 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1139 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1140 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1142 * net/tramp-gw.el (tramp-gw-open-network-stream):
1143 Use `tramp-compat-replace-regexp-in-string'.
1145 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1146 Call `tramp-handle-make-auto-save-file-name'.
1147 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1148 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1149 (tramp-sh-file-inotifywait-process-filter):
1150 Use `tramp-compat-replace-regexp-in-string'.
1151 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1153 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1154 for `make-auto-save-file-name'.
1155 (tramp-smb-handle-copy-directory):
1156 Call `tramp-compat-replace-regexp-in-string'.
1157 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1158 (tramp-smb-handle-copy-file): Improve error message.
1159 (tramp-smb-handle-rename-file): Rename directly only in case
1160 `newname' does not exist yet. This is a restriction of smbclient.
1161 (tramp-smb-maybe-open-connection): Rerun the function only when
1162 `auth-sources' is non-nil.
1164 2013-09-08 Kenichi Handa <handa@gnu.org>
1166 * international/characters.el: Set category "^" (Combining) for
1169 2013-09-07 Alan Mackenzie <acm@muc.de>
1171 Correctly fontify Java class constructors.
1172 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1174 (c-recognize-typeless-decls): Set the Java value to t.
1175 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1176 While handling a "(", add a check for, effectively, Java, and handle a
1177 "typeless" declaration there.
1179 2013-09-07 Roland Winkler <winkler@gnu.org>
1181 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1182 field subtitle for entry type book.
1184 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * minibuffer.el: Make minibuffer-complete call completion-in-region
1187 rather than other way around.
1188 (completion--some, completion-pcm--find-all-completions):
1189 Don't delay signals when debugging.
1190 (minibuffer-completion-contents): Beware fields within the
1191 minibuffer contents.
1192 (completion-all-sorted-completions): Use defvar-local.
1193 (completion--do-completion, completion--cache-all-sorted-completions)
1194 (completion-all-sorted-completions, minibuffer-force-complete):
1195 Add args `beg' and `end'.
1196 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1197 (minibuffer-complete): Use completion-in-region.
1198 (completion-complete-and-exit): New fun, extracted from
1199 minibuffer-complete-and-exit.
1200 (minibuffer-complete-and-exit): Use it.
1201 (completion--complete-and-exit): Rename from
1202 minibuffer--complete-and-exit.
1203 (completion-in-region--single-word): New function, extracted from
1204 minibuffer-complete-word.
1205 (minibuffer-complete-word): Use it.
1206 (display-completion-list): Make `common-substring' argument obsolete.
1207 (completion--in-region): Call completion--in-region-1 instead of
1208 minibuffer-complete.
1209 (completion-help-at-point): Pass boundaries to
1210 minibuffer-completion-help as args rather than via an overlay.
1211 (completion-pcm--string->pattern): Use `any-delim'.
1212 (completion-pcm--optimize-pattern): New function.
1213 (completion-pcm--pattern->regex): Handle `any-delim'.
1214 * icomplete.el (icomplete-forward-completions)
1215 (icomplete-backward-completions, icomplete-completions):
1216 Adjust calls to completion-all-sorted-completions and
1217 completion--cache-all-sorted-completions.
1218 (icomplete-with-completion-tables): Default to t.
1219 * emacs-lisp/crm.el (crm--current-element): Rename from
1220 crm--select-current-element. Don't put an overlay but return the
1222 (crm--completion-command): Take two new args to bind to the boundaries.
1223 (crm-completion-help): Adjust accordingly.
1224 (crm-complete): Use completion-in-region.
1225 (crm-complete-word): Use completion-in-region--single-word.
1226 (crm-complete-and-exit): Use completion-complete-and-exit.
1228 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1230 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1233 2013-09-06 Juri Linkov <juri@jurta.org>
1235 * info.el (Info-display-images-node): When image file doesn't exist
1236 display text version of the image if it's provided in the Info file.
1237 Otherwise, display the location of missing image from SRC attribute.
1238 Add help-echo text property from ALT attribute. (Bug#15279)
1240 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1242 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1243 (edit-abbrevs-mode): Use define-derived-mode.
1245 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1246 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1248 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1249 Use define-derived-mode.
1251 * epg.el (epg-start-encrypt): Minor CSE simplification.
1253 2013-09-06 William Xu <william.xwl@gmail.com>
1255 * arc-mode.el: Add support for 7za (bug#15264).
1256 (archive-7z-program): New var.
1257 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1258 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1259 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1261 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1265 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1266 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1267 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1268 (tramp-postfix-host-format, tramp-file-name-regexp)
1269 (tramp-completion-file-name-regexp)
1270 (tramp-completion-dissect-file-name)
1271 (tramp-handle-substitute-in-file-name): Remove 'url case.
1272 (tramp-file-name-regexp-url)
1273 (tramp-completion-file-name-regexp-url): Remove constants.
1275 2013-09-06 Glenn Morris <rgm@gnu.org>
1277 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1279 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1281 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1282 keywords" below "here-doc beginnings" (Bug#15270).
1284 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * subr.el (pop): Use `car-safe'.
1287 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1288 to detect unused `pop' return value.
1290 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1292 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1293 (python-fill-string): Remove unused var `marker'.
1294 (python-skeleton-add-menu-items): Remove unused var `items'.
1296 * international/mule-cmds.el: Require CL.
1297 (find-coding-systems-for-charsets): Avoid add-to-list.
1298 (sanitize-coding-system-list): New function, extracted from
1299 select-safe-coding-system-interactively.
1300 (select-safe-coding-system-interactively): Use it.
1301 (read-input-method-name): Accept symbols for `default'.
1303 * emacs-lisp/advice.el (defadvice): Add indent rule.
1305 2013-09-05 Daniel Hackney <dan@haxney.org>
1309 * net/browse-url.el:
1312 * net/eudcb-ldap.el:
1325 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1326 byte compiler. Remove some unused let-bound variables.
1328 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1330 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1331 a "ref-cell", since it gets better optimized (bug#14883).
1333 2013-09-05 Glenn Morris <rgm@gnu.org>
1335 * progmodes/cc-awk.el (c-forward-sws): Declare.
1337 2013-09-04 Glenn Morris <rgm@gnu.org>
1339 * generic-x.el [rul-generic-mode]: Require cc-mode.
1340 (c++-mode-syntax-table): Declare.
1341 (rul-generic-mode-syntax-table): Init in the defvar.
1343 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1345 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1346 (vc-do-command, vc-set-async-update):
1347 * vc/vc-mtn.el (vc-mtn-dir-status):
1348 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1349 (vc-hg-pull, vc-hg-merge-branch):
1350 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1351 (vc-git-merge-branch):
1352 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1353 (vc-cvs-dir-status-files):
1354 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1355 (vc-bzr-dir-status-files):
1356 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1357 * vc/vc-annotate.el: Use lexical-binding.
1358 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1359 (vc-sentinel-movepoint): Declare.
1360 (vc-annotate): Don't use `goto-line'.
1361 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1362 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1363 (vc-sentinel-movepoint): Declare.
1364 * vc/vc-svn.el: Use lexical-binding.
1365 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1367 * vc/vc-rcs.el: Use lexical-binding.
1369 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1370 `deleted'. Don't drop errors silently.
1372 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1374 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1376 * vc/vc.el (vc-ignore): Rewrite.
1377 (vc-default-ignore): New function.
1378 (vc-default-ignore-completion-table): Use find-ignore-file.
1380 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1381 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1382 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1383 Remove. Most code moved to vc.el.
1385 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1387 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1388 * net/tramp-smb.el (tramp-smb-get-file-entries):
1389 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1390 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1392 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1394 (eww-change-select): Remove unused var `properties'.
1395 (eww-make-unique-file-name): Remove unused var `base'.
1397 * finder.el (finder-compile-keywords): Don't mess with windows.
1399 * calculator.el (calculator-funcall): Fix typo in last change.
1401 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1403 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1404 <pkg>-autoloads.el file stop us.
1406 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1407 warnings, and factor out common code.
1409 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1411 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1412 two-character operators and whether the character preceding them
1413 changes their meaning (Bug#15208).
1415 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1417 Format code sent to Python shell for robustness.
1418 * progmodes/python.el (python-shell-buffer-substring):
1420 (python-shell-send-region, python-shell-send-buffer): Use it.
1422 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1424 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1425 * net/tramp.el (tramp-user-error): ... here.
1426 (tramp-find-method, tramp-check-proper-host)
1427 (tramp-dissect-file-name, tramp-debug-message)
1428 (tramp-handle-shell-command):
1429 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1430 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1432 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1434 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1436 * avoid.el (mouse-avoidance-point-position)
1437 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1440 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1442 * progmodes/python.el (python-shell-completion-get-completions):
1443 Drop use of deleted `comint-last-prompt-overlay'.
1444 (python-nav-if-name-main): New command.
1446 2013-09-01 Glenn Morris <rgm@gnu.org>
1448 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1449 Avoid leading space in $wins. Otherwise the sed command used by
1450 eg compile-main ends up containing "/*.el". (Bug#15170)
1452 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1454 2013-08-30 Glenn Morris <rgm@gnu.org>
1456 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1457 Fix is-this-a-directory logic. (Bug#15220)
1459 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1461 * textmodes/css-mode.el: Use SMIE.
1462 (css-smie-grammar): New var.
1463 (css-smie--forward-token, css-smie--backward-token)
1464 (css-smie-rules): New functions.
1465 (css-mode): Use them.
1466 (css-navigation-syntax-table): Remove var.
1467 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1468 (css-indent-calculate, css-indent-line): Remove functions.
1470 Misc changes to reduce use of `(lambda...); and other cleanups.
1471 * cus-edit.el: Use lexical-binding.
1472 (customize-push-and-save, customize-apropos)
1473 (custom-buffer-create-internal): Use closures.
1474 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1475 * progmodes/ada-xref.el: Use setq.
1476 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1477 * dframe.el: Use lexical-binding.
1478 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1479 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1480 * descr-text.el: Use lexical-binding.
1481 (describe-text-widget, describe-text-sexp, describe-property-list):
1483 * comint.el (comint-history-isearch-push-state): Use a closure.
1484 * calculator.el: Use lexical-binding.
1485 (calculator-number-to-string): Make it work with lexical-binding.
1486 (calculator-funcall): Same and use cl-letf.
1488 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1489 (lisp--company-doc-string, lisp--company-location): New functions.
1490 (lisp-completion-at-point): Use them to improve Company support.
1492 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1493 params of lambda expressions.
1494 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1495 (ruby-smie--opening-pipe-p): New function.
1496 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1497 symbols and matched |...| for formal params.
1498 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1499 from being treated as hanging. Handle "rescue".
1501 2013-08-29 Glenn Morris <rgm@gnu.org>
1503 * progmodes/cc-engine.el (c-pull-open-brace):
1504 Move definition before use.
1506 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1508 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1509 are immutable. Don't use `unsafe' any more.
1510 (cl--defsubst-expand): Don't substitute at the same time as keeping
1511 a residual unused let-binding. Don't use `unsafe' any more.
1513 2013-08-29 Glenn Morris <rgm@gnu.org>
1515 * calendar/cal-china.el (calendar-chinese-year-cache):
1518 * nxml/nxml-util.el (nxml-debug-clear-inside):
1519 Use cl-loop rather than loop.
1521 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1523 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1525 2013-08-28 Glenn Morris <rgm@gnu.org>
1527 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1529 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1531 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1533 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1535 * simple.el (repeat-complex-command--called-interactively-skip):
1537 (repeat-complex-command): Use it (bug#14136).
1539 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1540 (c-define-abbrev-table): Add `doc' argument.
1541 (c-mode-abbrev-table, c++-mode-abbrev-table)
1542 (objc-mode-abbrev-table, java-mode-abbrev-table)
1543 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1544 (awk-mode-abbrev-table): Use it.
1545 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1546 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1547 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1548 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1549 Move initialization into the declaration; and remove any
1552 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1553 and dynamic let binding.
1555 * vc/smerge-mode.el: Remove redundant :group args.
1557 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1560 2013-08-28 Juri Linkov <juri@jurta.org>
1562 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1563 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1564 (isearch-other-meta-char): Handle an undefined shifted printing
1565 character by downshifting it. (Bug#15200)
1567 2013-08-28 Juri Linkov <juri@jurta.org>
1569 * isearch.el (isearch-search): Change regexp error message for
1570 non-regexp searches. (Bug#15166)
1572 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1574 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1575 for portability to hosts where /bin/sh has problems.
1577 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1581 2013-08-27 Juri Linkov <juri@jurta.org>
1583 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1584 in the keyboard macro. (Bug#15126)
1586 2013-08-27 Juri Linkov <juri@jurta.org>
1588 * isearch.el (isearch-quote-char): Comment out converting unibyte
1589 to multibyte, thus syncing with its `quoted-insert' counterpart.
1592 2013-08-27 Martin Rudalics <rudalics@gmx.at>
1594 * window.el (display-buffer-use-some-window): Add missing
1595 argument in call of get-largest-window (Bug#15185).
1596 Reported by Stephen Leake.
1598 2013-08-27 Glenn Morris <rgm@gnu.org>
1600 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1602 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1604 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1605 from a matcher-function unless there's no more matches (bug#15161).
1607 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1609 * minibuffer.el: Revert change from 2013-08-20.
1611 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1612 with text property `tramp-default', if appropriate.
1613 (tramp-check-proper-host): New defun.
1614 (tramp-dissect-file-name): Do not check hostname. Revert change
1616 (tramp-backtrace): Make VEC-OR-PROC optional.
1618 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1619 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1620 * net/tramp-sh.el (tramp-maybe-open-connection):
1621 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1622 Apply `tramp-check-proper-host'.
1624 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1626 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1627 lambda expression in order to have `describe-variable' display it.
1629 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1631 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1632 BUF can be optional. (Bug#15186)
1634 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1636 * progmodes/flymake.el (flymake-get-real-file-name-function):
1637 Fix broken customization. (Bug#15184)
1639 2013-08-25 Alan Mackenzie <acm@muc.de>
1641 Improve indentation of bracelists defined by macros (without "=").
1643 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1644 expansion begins with "{", regard it as bracelist when it doesn't
1647 Parse C++ inher-intro when there's a template split over 2 lines.
1649 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1650 rigorously the search for "class" etc. followed by ":".
1652 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1653 random languages a regexp which never matches rather than nil.
1655 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1657 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1658 (c-awk-regexp-one-line-possibly-open-char-list-re)
1659 (c-awk-one-line-possibly-open-regexp-re)
1660 (c-awk-one-line-non-syn-ws*-re): Remove.
1661 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1662 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1663 (c-awk-space*-unclosed-regexp-/-re): New constants.
1664 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1665 aren't regexp delimiters.
1667 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1668 handling for a rare situation in AWK Mode involving unterminated
1671 2013-08-23 Glenn Morris <rgm@gnu.org>
1673 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1675 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1677 * files.el (create-file-buffer): If the result would begin with
1678 spaces, prepend a "|" instead of removing them. (Bug#15162)
1680 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1682 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1683 text-properties (bug#15155).
1685 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1687 (calc-keypad-redraw): Remove unused var `pad'.
1688 (calc-keypad-press): Remove unused var `menu'.
1690 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1692 * window.el (display-buffer-pop-up-frame):
1693 Call pop-up-frame-function with BUFFER current so `make-frame' will
1694 use it as the new frame's buffer (Bug#15133).
1696 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1698 * calendar/timeclock.el: Minor cleanups.
1699 (timeclock-ask-before-exiting, timeclock-use-display-time):
1701 (timeclock-modeline-display): Define as alias before the
1703 (timeclock-mode-line-display): Use define-minor-mode.
1704 (timeclock-day-list-template): Make it a function, add an argument.
1705 (timeclock-day-list-required, timeclock-day-list-length)
1706 (timeclock-day-list-debt, timeclock-day-list-span)
1707 (timeclock-day-list-break): Adjust calls accordingly.
1709 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1712 Use read--expression so that completion works again.
1714 2013-08-21 Sam Steingold <sds@gnu.org>
1716 Add rudimentary inferior shell interaction
1717 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1718 (sh-set-shell): Reset it.
1719 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1720 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1722 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * align.el: Use lexical-binding.
1725 (align-region): Simplify accordingly.
1727 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1729 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1731 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1734 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1738 * net/tramp-cmds.el:
1740 * net/tramp-gvfs.el:
1742 * net/tramp-sh.el: Don't wrap external variable declarations by
1743 `eval-when-compile'.
1745 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1747 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1748 now that Emacs supports ImageMagick animations.
1750 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1752 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1753 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1755 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1757 * window.el (mouse-autoselect-window-select): Do autoselect when
1758 mouse pointer is on margin.
1760 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1762 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1764 2013-08-16 Glenn Morris <rgm@gnu.org>
1766 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1767 Handle "Remote Directory" response of some clients. (Bug#15058)
1769 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1770 Tweak warning. (Bug#14926)
1772 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1773 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1775 * image-mode.el (image-mode-map): Add menu items to reverse,
1776 increase, decrease, reset animation speed.
1777 (image--set-speed, image-increase-speed, image-decrease-speed)
1778 (image-reverse-speed, image-reset-speed): New functions.
1779 (image-mode-map): Add bindings for speed commands.
1781 * image.el (image-animate-get-speed, image-animate-set-speed):
1783 (image-animate-timeout): Respect image :speed property.
1785 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1787 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1788 previous line (bug#15101).
1789 (debugger-eval-expression, debugger-record-expression):
1790 Use read--expression (bug#15102).
1792 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1794 Remove byte compiler warnings, visible when compiling with
1795 `byte-compile-force-lexical-warnings' set to t.
1797 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1798 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1799 (tramp-handle-unhandled-file-name-directory)
1800 (tramp-handle-file-notify-add-watch, tramp-action-login)
1801 (tramp-action-succeed, tramp-action-permission-denied)
1802 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1805 * net/tramp-adb.el (tramp-adb-parse-device-names)
1806 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1807 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1808 (tramp-adb-handle-file-truename): Remove unused arguments.
1810 * net/tramp-cache.el (tramp-flush-directory-property)
1811 (tramp-flush-connection-property, tramp-list-connections)
1812 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1814 * net/tramp-compat.el (tramp-compat-make-temp-file):
1815 Rename FILENAME to F.
1817 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1818 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1819 (tramp-zeroconf-parse-workstation-device-names)
1820 (tramp-zeroconf-parse-webdav-device-names)
1821 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1823 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1824 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1826 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1828 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1829 (tramp-sh-handle-insert-file-contents-literally)
1830 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1832 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1833 Remove unused variables.
1835 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1836 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1837 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1839 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1840 Make them a defconst.
1841 (tramp-uuencode-region): Remove unused variable.
1843 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1845 * frameset.el (frameset--prop-setter): New function.
1846 (frameset-prop): Add gv-setter declaration.
1847 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1848 parameter was already set in FILTERED. Doc fix.
1849 (frameset--record-minibuffer-relationships): Allow saving a
1850 minibufferless frame without its corresponding minibuffer frame.
1851 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1852 frame, if the frame id matches.
1853 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1854 frames before orphaned ones.
1855 (frameset-restore): Warn about orphaned windows, instead of error out.
1857 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1859 * window.el (window-make-atom): Don't overwrite parameter
1861 (display-buffer-in-atom-window): Handle special case where we
1862 split an already atomic window.
1863 (window--major-non-side-window, display-buffer-in-side-window)
1864 (window--side-check): Ignore minibuffer window when walking
1866 (window-deletable-p): Return 'frame only if no other frame uses
1867 our minibuffer window.
1868 (record-window-buffer): Run buffer-list-update-hook.
1869 (split-window): Make sure window--check-frame won't destroy an
1870 existing atomic window in case the new window gets nested
1872 (display-buffer-at-bottom): Ignore minibuffer window when
1873 walking window tree. Don't split a side window.
1874 (pop-to-buffer): Don't set-buffer here, the select-window call
1876 (mouse-autoselect-window-select): Autoselect only if we are in the
1877 text portion of the window.
1879 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1881 * net/shr.el (shr-parse-image-data): New function to grab both the
1882 data itself and the Content-Type.
1883 (shr-put-image): Use it.
1885 * net/eww.el (eww-display-image): Ditto.
1887 * image.el (image-content-type-suffixes): New variable.
1889 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1891 * progmodes/python.el (python-imenu--build-tree)
1892 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1894 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1896 * simple.el (backward-word): Mention the optional argument.
1898 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1900 * frameset.el (frameset--make): Rename constructor from make-frameset.
1901 (frameset-p, frameset-valid-p): Don't autoload.
1902 (frameset-valid-p): Use normal accessors.
1904 2013-08-13 Glenn Morris <rgm@gnu.org>
1906 * progmodes/compile.el (compile-command): Tweak example in doc.
1907 * obsolete/scribe.el (scribe-mode):
1908 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1910 * mail/feedmail.el (feedmail-confirm-outgoing)
1911 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1913 * cus-start.el (truncate-partial-width-windows): Fix type.
1915 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1917 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1919 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1921 * emacs-lisp/timer.el (timer--time-setter): New function.
1922 (timer--time): Use it as gv-setter.
1924 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1925 setter is not a symbol.
1927 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1929 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1930 if sending fails. This makes debugging easier.
1932 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1934 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1935 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1936 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1938 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1940 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1942 2013-08-12 Glenn Morris <rgm@gnu.org>
1944 * format.el (format-annotate-function):
1945 Handle read-only text properties in the source. (Bug#14887)
1947 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1949 * net/eww.el (eww-display-html): Ignore coding system errors.
1950 One web site uses "utf-8lias" as the coding system.
1952 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1954 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1956 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1958 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1959 (tutorial--detailed-help): Remove unused local variables.
1960 (tutorial--save-tutorial-to): Use ignore-errors.
1961 (help-with-tutorial): Use looking-at-p.
1963 * view.el (view-buffer-other-window, view-buffer-other-frame):
1964 Mark unused arguments.
1966 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1967 (woman-select-symbol-fonts, woman, woman-find-file)
1968 (woman-insert-file-contents, woman-non-underline-faces):
1970 (woman1-unquote): Move declaration.
1972 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1973 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1974 argument. Remove unused local variable.
1975 (xml-parse-elem-type): Use string-match-p.
1976 (xml-substitute-numeric-entities): Use ignore-errors.
1978 * calculator.el (calculator): Mark unused argument.
1979 (calculator-paste, calculator-quit, calculator-integer-p):
1981 (calculator-string-to-number, calculator-decimal, calculator-exp)
1982 (calculator-op-or-exp): Use string-match-p.
1984 * dired.el (dired-buffer-more-recently-used-p): Declare.
1985 (dired-insert-set-properties, dired-insert-old-subdirs):
1988 * dired-aux.el (dired-compress): Use ignore-errors.
1989 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1990 (dired-do-async-shell-command, dired-do-shell-command)
1991 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1992 (dired-insert-subdir-validate): Use string-match-p.
1993 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1994 (dired-add-entry): Use string-match-p, looking-at-p.
1995 (dired-insert-subdir-newpos): Remove unused local variable.
1997 * filenotify.el (file-notify-callback): Remove unused local variable.
1999 * filesets.el (filesets-error): Mark unused argument.
2000 (filesets-which-command-p, filesets-filter-dir-names)
2001 (filesets-directory-files, filesets-get-external-viewer)
2002 (filesets-ingroup-get-data): Use string-match-p.
2004 * find-file.el (ff-other-file-name, ff-other-file-name)
2005 (ff-find-the-other-file, ff-cc-hh-converter):
2006 Remove unused local variables.
2007 (ff-get-file-name): Use string-match-p.
2008 (ff-all-dirs-under): Use ignore-errors.
2010 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2011 (follow-select-if-visible): Remove unused local variable.
2013 * forms.el (read-file-filter): Move declaration.
2014 (forms--make-format, forms--make-parser, forms-insert-record):
2015 Quote function with #'.
2016 (forms--update): Use string-match-p. Quote function with #'.
2018 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2019 (help-make-xrefs): Use looking-at-p.
2020 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2022 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2023 (ibuffer-confirm-operation-on): Use string-match-p.
2025 * msb.el (msb-item-handler, msb-dired-item-handler):
2026 Mark unused arguments.
2028 * ses.el (ses-decode-cell-symbol)
2029 (ses-kill-override): Remove unused local variable.
2030 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2031 (ses-load): Use ignore-errors, looking-at-p.
2032 (ses-jump-safe): Use ignore-errors.
2033 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2035 * tabify.el (untabify, tabify): Mark unused arguments.
2037 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2038 Mark unused argument.
2039 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2040 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2042 * emacs-lisp/timer.el (timer--time): Define setter with
2043 gv-define-setter to avoid deprecation warning.
2045 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2046 (*record-cmpl-statistics-p*): Remove (was commented out).
2047 (cmpl-statistics-block): Remove (body was commented out).
2048 All callers changed.
2049 (add-completions-from-buffer, load-completions-from-file):
2050 Remove unused variables.
2052 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2054 * filecache.el (file-cache-delete-file-list):
2055 Print message only when told so.
2056 (file-cache-files-matching): Use #' in mapconcat argument.
2058 * ffap.el (ffap-url-at-point): Fix reference to variable
2059 thing-at-point-default-mail-uri-scheme.
2061 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * subr.el (define-error): New function.
2064 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2065 error-file-not-found and define with define-error.
2066 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2067 and define with define-error.
2068 * userlock.el (file-locked, file-supersession):
2069 * simple.el (mark-inactive):
2070 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2071 * progmodes/ada-mode.el (ada-mode-errors):
2072 * play/life.el (life-extinct):
2073 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2074 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2075 * nxml/rng-util.el (rng-error):
2076 * nxml/rng-uri.el (rng-uri-error):
2077 * nxml/rng-match.el (rng-compile-error):
2078 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2079 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2080 * nxml/nxml-rap.el (nxml-scan-error):
2081 * nxml/nxml-outln.el (nxml-outline-error):
2082 * net/soap-client.el (soap-error):
2083 * net/gnutls.el (gnutls-error):
2084 * net/ange-ftp.el (ftp-error):
2085 * mpc.el (mpc-proc-error):
2086 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2087 (json-number-format, json-string-escape, json-string-format)
2088 (json-key-format, json-object-format):
2089 * jka-compr.el (compression-error):
2090 * international/quail.el (quail-error):
2091 * international/kkc.el (kkc-error):
2092 * emacs-lisp/ert.el (ert-test-failed):
2093 * calc/calc.el (calc-error, inexact-result, math-overflow)
2095 * bookmark.el (bookmark-error-no-filename):
2096 * epg.el (epg-error): Define with define-error.
2098 * time.el (display-time-event-handler)
2099 (display-time-next-load-average): Don't call sit-for since it seems
2100 unnecessary (bug#15045).
2102 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2103 Use #' instead of ' to quote functions.
2104 (checkdoc-output-mode): Use setq-local.
2105 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2106 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2107 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2108 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2109 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2110 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2111 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2112 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2114 * ido.el (ido-completion-help): Fix up compiler warning.
2116 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2118 * frameset.el (frameset-p): Add autoload cookie.
2119 (frameset--jump-to-register): New function, based on code moved from
2121 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2123 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2124 (frameset-restore, frameset-save, frameset-session-filter-alist):
2125 Remove declarations.
2126 (register-alist): Doc fix.
2127 (frameset-to-register): Move to frameset.el.
2128 (jump-to-register, describe-register-1): Remove frameset-specific code.
2130 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2132 * allout-widgets.el (allout-widgets-pre-command-business)
2133 (allout-widgets-post-command-business)
2134 (allout-widgets-after-change-handler)
2135 (allout-decorate-item-and-context, allout-set-boundary-marker)
2136 (allout-body-modification-handler)
2137 (allout-graphics-modification-handler): Mark ignored arguments.
2138 (allout-widgets-post-command-business)
2139 (allout-widgets-exposure-change-processor)
2140 (allout-widgets-exposure-undo-processor)
2141 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2142 (allout-parse-item-at-point, allout-decorate-item-guides)
2143 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2144 * allout.el (epa-passphrase-callback-function): Declare.
2145 (allout-overlay-insert-in-front-handler)
2146 (allout-overlay-interior-modification-handler)
2147 (allout-isearch-end-handler, allout-chart-siblings)
2148 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2149 (allout-yank-processing, allout-process-exposed)
2150 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2151 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2152 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2153 (lisp-indent-defform): Mark ignored arguments.
2154 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2155 (calculate-lisp-indent): Remove unused variables.
2156 * international/characters.el (indian-2-column, arabic-2-column)
2157 (tibetan): Mark ignored arguments.
2158 (use-cjk-char-width-table): Mark ignored arguments.
2159 Remove unused variables.
2160 * international/fontset.el (build-default-fontset-data)
2161 (x-compose-font-name, create-fontset-from-fontset-spec):
2162 Mark ignored arguments.
2163 (fontset-plain-name): Remove unused variables.
2164 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2165 (keyboard-coding-system): Mark ignored arguments.
2166 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2167 * help.el (resize-temp-buffer-window):
2168 * window.el (display-buffer-in-major-side-window)
2169 (display-buffer-in-side-window, display-buffer-in-previous-window):
2170 Remove unused variables.
2171 * isearch.el (isearch-forward-symbol):
2172 * version.el (emacs-bzr-version-bzr):
2173 * international/mule-cmds.el (current-language-environment):
2174 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2176 * term/pc-win.el (x-list-fonts, x-display-planes)
2177 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2178 (x-server-version, x-display-screens, x-display-mm-height)
2179 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2180 (x-selection-owner-p, x-own-selection-internal)
2181 (x-disown-selection-internal, x-get-selection-internal)
2182 (msdos-initialize-window-system):
2183 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2184 * term/x-win.el (x-handle-no-bitmap-icon):
2185 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2186 (vc-default-find-file-hook, vc-default-extra-menu):
2187 Mark ignored arguments.
2189 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2191 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2192 break-condition in the context of the debugged code (bug#12685).
2194 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2197 Do not use an overlay to highlight the last prompt. (Bug#14744)
2198 (comint-mode): Make comint-last-prompt buffer local.
2199 (comint-last-prompt): New variable.
2200 (comint-last-prompt-overlay): Remove. Superseded by
2202 (comint-snapshot-last-prompt, comint-output-filter):
2203 Use comint-last-prompt.
2205 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2207 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2208 (frameset-save): Check validity of the resulting frameset.
2210 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2212 * ido.el (ido-record-command): Add doc string.
2214 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2216 * frameset.el (frameset): Do not disable creation of the default
2217 frameset-p predicate. Doc fix.
2218 (frameset-valid-p): New function, copied from the old predicate-p.
2219 Add additional checks.
2220 (frameset-restore): Check with frameset-valid-p.
2221 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2222 (frameset-name, frameset-description, frameset-properties)
2223 (frameset-states): Add docstring.
2224 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2225 (frameset-filter-alist): Doc fixes.
2227 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2229 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2231 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2234 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2235 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2236 (byte-compile-normal-call): Remove obsolescence check.
2238 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2240 * frameset.el (frameset-restore): Doc fix.
2242 * register.el (frameset-frame-id, frameset-frame-with-id)
2243 (frameset-p, frameset-restore, frameset-save): Declare.
2244 (register-alist): Document framesets.
2245 (frameset-session-filter-alist): Declare.
2246 (frameset-to-register): New function.
2247 (jump-to-register): Implement jumping to framesets. Doc fix.
2248 (describe-register-1): Describe framesets.
2250 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2252 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2254 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2255 Use lexical-binding.
2257 * frameset.el (frameset): Use type vector, not list (incompatible
2258 change). Do not declare a new constructor, use the default one.
2259 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2260 `name' and `description', respectively, and add read-only slot
2261 `timestamp'. Doc fixes.
2262 (frameset-copy, frameset-persistent-filter-alist)
2263 (frameset-filter-alist, frameset-switch-to-gui-p)
2264 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2265 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2266 (frameset-filter-iconified, frameset-keep-original-display-p):
2268 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2269 Rename from frameset-filter-(save|restore)-param. All callers changed.
2271 (frameset-p): Adapt to change to vector and be more thorough.
2272 Change arg name to OBJECT. Doc fix.
2273 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2274 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2275 All callers changed.
2276 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2277 All callers changed.
2278 (frameset--record-minibuffer-relationships): Rename from
2279 frameset--process-minibuffer-frames. All callers changed.
2280 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2281 Use new default constructor (again). Doc fix.
2282 (frameset--find-frame-if): Rename from `frameset--find-frame.
2283 All callers changed.
2284 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2285 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2287 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2288 PARAMETERS and WINDOW-STATE, respectively.
2289 (frameset-restore): Add new keyword argument PREDICATE.
2290 Reset frameset--target-display to nil. Doc fix.
2292 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2296 (bat-mode-syntax-table): Mark \n as end-of-comment.
2297 (bat-font-lock-keywords): Remove comment rule.
2299 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2300 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2302 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2303 (byte-compile-callargs-warn): Use `push'.
2304 (byte-compile-arglist-warn): Ignore higher-order "calls".
2305 (byte-compile-file-form-autoload): Use `pcase'.
2306 (byte-compile-function-form): If quoting a symbol, check that it exists.
2308 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2310 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2311 and add a few popular commands found in batch files.
2312 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2313 (dos-mode): Doc fixes.
2315 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2317 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2318 (dos-mode): Use setq-local. Add space after "rem".
2319 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2320 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2322 2013-08-07 Arni Magnusson <arnima@hafro.is>
2324 * progmodes/dos.el: New file.
2325 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2328 2013-08-06 Glenn Morris <rgm@gnu.org>
2330 * calendar/calendar.el: Add new faces, and day-header-array.
2331 (calendar-weekday-header, calendar-weekend-header)
2332 (calendar-month-header): New faces.
2333 (calendar-day-header-construct): New function.
2334 (calendar-day-header-width): Also :set calendar-day-header-array.
2335 (calendar-american-month-header, calendar-european-month-header)
2336 (calendar-iso-month-header): Use calendar- faces.
2337 (calendar-generate-month):
2338 Use calendar-day-header-array for day headers; apply faces to them.
2339 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2340 (calendar-abbrev-construct): Add optional maxlen argument.
2341 (calendar-day-name-array): Doc fix.
2342 (calendar-day-name-array, calendar-abbrev-length)
2343 (calendar-day-abbrev-array):
2344 Also :set calendar-day-header-array, and maybe redraw.
2345 (calendar-day-header-array): New option. (Bug#15007)
2346 (calendar-font-lock-keywords): Set to nil and make obsolete.
2347 (calendar-day-name): Add option to use header array.
2349 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2351 * net/shr.el (shr-render-td): Remove debugging.
2352 (shr-render-td): Make width computation consistent by defaulting
2353 all zero-width columns to 10 characters. This may not be optimal,
2354 but it's at least consistent.
2355 (shr-make-table-1): Redo last change to fix the real problem in
2358 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2360 * files.el (cache-long-line-scans):
2361 Make obsolete alias to `cache-long-scans'.
2363 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2365 * frameset.el (frameset, frameset-filter-alist)
2366 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2367 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2368 (frameset-compute-pos): Rename from frameset--compute-pos,
2370 (frameset-move-onscreen): Use frameset-compute-pos.
2371 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2373 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2374 Fix typos in docstrings.
2376 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2378 * frame.el (get-other-frame): Tiny cleanup.
2380 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2382 * vc/vc.el (vc-default-ignore-completion-table):
2383 Silence byte-compiler warning.
2385 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2386 slot , which can indeed be nil.
2387 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2388 Move entry for `left' from persistent to live filter alist.
2389 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2391 (frameset-filter-params): When restoring a frame, copy items added to
2392 `filtered', to avoid unwittingly modifying the original parameters.
2393 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2394 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2396 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2397 to use looking-at-p instead of looking-at. (Bug#15028)
2399 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2401 Revert introduction of isearch-filter-predicates (bug#14714).
2402 Rely on add-function instead.
2403 * isearch.el (isearch-filter-predicates): Rename it back to
2404 isearch-filter-predicate.
2405 (isearch-message-prefix): Use advice-function-mapc and advice
2406 properties to get the isearch-message-prefix.
2407 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2408 instead of run-hook-with-args-until-failure.
2409 (isearch-filter-visible): Not obsolete any more.
2410 * loadup.el: Preload nadvice.
2411 * replace.el (perform-replace): Revert to funcall
2412 instead of run-hook-with-args-until-failure.
2413 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2414 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2415 dired-isearch-filenames-toggle; make it into a proper minor mode.
2416 Use add/remove-function.
2417 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2418 Call the minor-mode rather than add/remove-hook.
2419 (dired-isearch-filter-filenames):
2420 Remove isearch-message-prefix property.
2421 * info.el (Info--search-loop): New function, extracted from Info-search.
2422 Funcall isearch-filter-predicate instead of
2423 run-hook-with-args-until-failure isearch-filter-predicates.
2424 (Info-search): Use it.
2425 (Info-mode): Use isearch-filter-predicate instead of
2426 isearch-filter-predicates.
2428 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2430 Do not call to `selected-window' where it is assumed by default.
2431 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2432 `window-hscroll', `window-width', `window-height', `window-buffer',
2433 `window-frame', `window-start', `window-point', `next-window'
2434 and `window-display-table'.
2435 * abbrev.el (abbrev--default-expand):
2436 * bs.el (bs--show-with-configuration):
2437 * buff-menu.el (Buffer-menu-mouse-select):
2438 * calc/calc.el (calc):
2439 * calendar/calendar.el (calendar-generate-window):
2440 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2442 * comint.el (send-invisible, comint-dynamic-complete-filename)
2443 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2444 * completion.el (complete):
2445 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2446 * disp-table.el (describe-current-display-table):
2447 * doc-view.el (doc-view-insert-image):
2448 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2449 * ehelp.el (with-electric-help):
2450 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2451 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2452 * emacs-lisp/helper.el (Helper-help-scroller):
2453 * emulation/cua-base.el (cua--post-command-handler-1):
2454 * eshell/esh-mode.el (eshell-output-filter):
2455 * ffap.el (ffap-gnus-wrapper):
2456 * help-macro.el (make-help-screen):
2457 * hilit-chg.el (highlight-compare-buffers):
2458 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2459 * hl-line.el (global-hl-line-highlight):
2460 * icomplete.el (icomplete-simple-completing-p):
2461 * isearch.el (isearch-done):
2462 * jit-lock.el (jit-lock-stealth-fontify):
2463 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2464 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2465 * mpc.el (mpc-tagbrowser, mpc):
2466 * net/rcirc.el (rcirc-any-buffer):
2467 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2468 * play/landmark.el (landmark-max-width, landmark-max-height):
2469 * play/zone.el (zone):
2470 * progmodes/compile.el (compilation-goto-locus):
2471 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2472 * progmodes/etags.el (find-tag-other-window):
2473 * progmodes/fortran.el (fortran-column-ruler):
2474 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2475 * progmodes/verilog-mode.el (verilog-point-text):
2476 * reposition.el (reposition-window):
2477 * rot13.el (toggle-rot13-mode):
2478 * server.el (server-switch-buffer):
2479 * shell.el (shell-dynamic-complete-command)
2480 (shell-dynamic-complete-environment-variable):
2481 * simple.el (insert-buffer, set-selective-display)
2482 (delete-completion-window):
2483 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2484 (speedbar-recenter):
2485 * startup.el (fancy-splash-head):
2486 * textmodes/ispell.el (ispell-command-loop):
2487 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2488 * tutorial.el (help-with-tutorial):
2489 * vc/add-log.el (add-change-log-entry):
2490 * vc/compare-w.el (compare-windows):
2491 * vc/ediff-help.el (ediff-indent-help-message):
2492 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2493 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2494 (ediff-setup-control-frame):
2495 * vc/emerge.el (emerge-position-region):
2496 * vc/pcvs-util.el (cvs-bury-buffer):
2497 * window.el (walk-windows, mouse-autoselect-window-select):
2498 * winner.el (winner-set-conf, winner-undo): Related users changed.
2500 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2502 * frameset.el (frameset--set-id): Doc fix.
2503 (frameset-frame-id, frameset-frame-id-equal-p)
2504 (frameset-locate-frame-id): New functions.
2505 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2506 (frameset-restore): Use them.
2508 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2510 Do not call to `selected-frame' where it is assumed by default.
2511 Affected functions are `raise-frame', `redraw-frame',
2512 `frame-first-window', `frame-terminal' and `delete-frame'.
2513 * calendar/appt.el (appt-disp-window):
2514 * epg.el (epg-wait-for-completion):
2515 * follow.el (follow-delete-other-windows-and-split)
2516 (follow-avoid-tail-recenter):
2517 * international/mule.el (set-terminal-coding-system):
2518 * mail/rmail.el (rmail-mail-return):
2519 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2520 * progmodes/f90.el (f90-add-imenu-menu):
2521 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2522 * server.el (server-switch-buffer):
2523 * simple.el (delete-completion-window):
2525 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2526 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2527 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2528 * vc/ediff.el (ediff-documentation): Related users changed.
2529 * frame.el (selected-terminal): Remove the leftover.
2531 2013-08-05 Glenn Morris <rgm@gnu.org>
2533 * calendar/calendar.el (calendar-generate-month):
2534 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2535 (calendar-generate-month, calendar-font-lock-keywords):
2536 Fix for calendar-day-header-width > length of any day name.
2538 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2540 * desktop.el (desktop-clear): Use new name of sort predicate.
2542 * frameset.el (frameset): Add docstring. Move :version property to its
2544 (frameset-copy): Rename from copy-frameset.
2545 (frameset-p): Check more thoroughly.
2546 (frameset-prop): Do not check for :version, which is no longer a prop.
2547 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2548 Use new :never value instead of t.
2549 (frameset-filter-alist): Expand and clarify docstring.
2550 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2551 (frameset-filter-minibuffer, frameset-filter-save-param)
2552 (frameset-filter-restore-param, frameset-filter-iconified):
2553 Add pointer to docstring of frameset-filter-alist.
2554 (frameset-filter-params): Rename filter values to be more meaningful:
2555 :never instead of t, and reverse the meanings of :save and :restore.
2556 (frameset--process-minibuffer-frames): Clarify error message.
2557 (frameset-save): Avoid unnecessary and confusing call to framep.
2558 Use new BOA constructor for framesets.
2559 (frameset--reuse-list): Doc fix.
2560 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2561 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2562 (frameset-minibufferless-first-p): Doc fix.
2563 Rename from frameset-sort-frames-for-deletion.
2564 (frameset-restore): Doc fixes. Use new function names.
2565 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2567 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2569 * desktop.el (desktop-restore-forces-onscreen)
2570 (desktop-restore-reuses-frames): Document :keyword constant values.
2571 (desktop-filter-parameters-alist): Remove, now identical to
2572 frameset-filter-alist.
2573 (desktop--filter-tty*): Remove, moved to frameset.el.
2574 (desktop-save-frameset, desktop-restore-frameset):
2575 Do not pass :filters argument.
2577 * frameset.el (frameset-live-filter-alist)
2578 (frameset-persistent-filter-alist): New variables.
2579 (frameset-filter-alist): Use them. Add autoload cookie.
2580 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2581 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2582 `frameset--id' (it's supposed to be internal to frameset.el).
2583 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2584 (frameset--initial-params): New function.
2585 (frameset--get-frame): Use it. Doc fix.
2586 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2587 Accept :all, not 'all.
2588 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2589 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2590 with fbound symbols. Fix frame id matching, and remove matching ids if
2591 the frame being restored is deleted. Obey :delete.
2593 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * subr.el (macrop): New function.
2596 (text-clone--maintaining): New var.
2597 (text-clone--maintain): Rename from text-clone-maintain. Use it
2598 instead of inhibit-modification-hooks.
2600 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2601 a proxy, so as handle autoloads and redefinitions of the target.
2602 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2604 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2605 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2606 (pcase--mutually-exclusive-p): New function.
2607 (pcase--split-consp): Use it.
2608 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2609 mutually exclusive with the current predicate.
2611 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2612 (edebug-macrop): Remove. Use `macrop' instead.
2613 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2615 * eshell/esh-cmd.el (eshell-macrop):
2616 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2618 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2621 (advice-mapc): New function, using it.
2622 (advice-function-member-p): New function.
2623 (advice--normalize): Store the cdr in advice--saved-rewrite since
2624 that's the part that will be changed.
2625 (advice--symbol-function): New function.
2626 (advice-remove): Handle removal before the function is defined.
2627 Adjust to new advice--saved-rewrite.
2628 (advice-member-p): Use advice-function-member-p and
2629 advice--symbol-function.
2631 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2633 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2634 (frameset-filter-minibuffer): Doc fix.
2635 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2636 (frameset--set-id, frameset--process-minibuffer-frames)
2637 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2638 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2640 * desktop.el (desktop-clear): Only delete frames when called
2641 interactively and desktop-restore-frames is non-nil. Doc fix.
2642 (desktop-read): Set desktop-saved-frameset to nil.
2644 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2646 * vc/vc.el (vc-ignore): Rewrite.
2647 (vc-default-ignore-completion-table):
2649 (vc--add-line, vc--remove-regexp): New functions.
2651 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2652 (vc-svn-ignore-completion-table): New function.
2654 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2655 (vc-hg-ignore-completion-table):
2656 (vc-hg-find-ignore-file): New functions.
2658 * vc/vc-git.el (vc-git-ignore): Rewrite.
2659 (vc-git-ignore-completion-table):
2660 (vc-git-find-ignore-file): New functions.
2662 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2664 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2665 (vc-bzr-ignore-completion-table):
2666 (vc-bzr-find-ignore-file): New functions.
2668 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2670 * frameset.el (frameset-prop): New function and setter.
2671 (frameset-save): Do not modify frame list passed by the caller.
2673 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2675 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2677 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2679 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2680 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2682 * custom.el (custom-initialize-default, custom-initialize-set)
2683 (custom-initialize-reset, custom-initialize-changed): Affect the
2684 toplevel-default-value (bug#6275, bug#14586).
2685 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2688 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2690 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2691 Add cl-def* expressions.
2693 * frameset.el (frameset-filter-params): Fix order of arguments.
2695 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2697 Move code related to saving frames to frameset.el.
2698 * desktop.el: Require frameset.
2699 (desktop-restore-frames): Doc fix.
2700 (desktop-restore-reuses-frames): Rename from
2701 desktop-restoring-reuses-frames.
2702 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2703 (desktop-clear): Clear frames too.
2704 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2705 (desktop--filter-tty*, desktop-save, desktop-read):
2706 Use frameset functions.
2707 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2708 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2709 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2710 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2711 (desktop--process-minibuffer-frames, desktop-save-frames)
2712 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2713 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2714 (desktop--sort-states, desktop-restoring-frames-p)
2715 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2716 (desktop-restoring-frameset-p, desktop-restore-frameset)
2717 (desktop--check-dont-save, desktop-save-frameset): New functions.
2718 (desktop--app-id): New constant.
2719 (desktop-first-buffer, desktop-buffer-ok-count)
2720 (desktop-buffer-fail-count): Move before first use.
2721 * frameset.el: New file.
2723 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2725 * files.el: Use lexical-binding.
2726 (dir-locals-read-from-file): Remove unused `err' variable.
2727 (hack-dir-local-variables--warned-coding): New var.
2728 (hack-dir-local-variables): Use it to avoid repeated warnings.
2729 (make-backup-file-name--default-function): New function.
2730 (make-backup-file-name-function): Use it as default.
2731 (buffer-stale--default-function): New function.
2732 (buffer-stale-function): Use it as default.
2733 (revert-buffer-insert-file-contents--default-function): New function.
2734 (revert-buffer-insert-file-contents-function): Use it as default.
2735 (insert-directory): Avoid add-to-list.
2737 * autorevert.el (auto-revert-handler): Simplify.
2738 Use buffer-stale--default-function.
2740 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2742 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2744 * whitespace.el (whitespace-ensure-local-variables): New function.
2745 (whitespace-cleanup-region): Call it.
2746 (whitespace-turn-on): Call it.
2748 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2750 Complete file name handlers.
2752 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2753 (tramp-handle-verify-visited-file-modtime)
2754 (tramp-handle-file-notify-rm-watch): New functions.
2755 (tramp-call-process): Do not bind `default-directory'.
2757 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2758 Order alphabetically.
2759 [access-file, add-name-to-file, dired-call-process]:
2760 [dired-compress-file, file-acl, file-notify-rm-watch]:
2761 [file-ownership-preserved-p, file-selinux-context]:
2762 [make-directory-internal, make-symbolic-link, set-file-acl]:
2763 [set-file-selinux-context, set-visited-file-modtime]:
2764 [verify-visited-file-modtime]: Add handler.
2765 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2767 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2768 [file-notify-add-watch, file-notify-rm-watch]:
2769 [set-file-times, set-visited-file-modtime]:
2770 [verify-visited-file-modtime]: Add handler.
2771 (with-tramp-gvfs-error-message)
2772 (tramp-gvfs-handle-set-visited-file-modtime)
2773 (tramp-gvfs-fuse-file-name): Remove.
2774 (tramp-gvfs-handle-file-notify-add-watch)
2775 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2776 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2778 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2779 Order alphabetically.
2780 [file-notify-rm-watch ]: Use default Tramp handler.
2781 [executable-find]: Remove private handler.
2782 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2783 `default-directory'.
2784 (tramp-sh-handle-executable-find)
2785 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2786 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2787 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2788 Do not use `format' in `tramp-message'.
2790 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2791 [file-notify-rm-watch, set-visited-file-modtime]:
2792 [verify-visited-file-modtime]: Add handler.
2793 (tramp-smb-call-winexe): Do not bind `default-directory'.
2795 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2797 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2799 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2801 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2803 (log-view-diff-changeset): Same.
2804 (log-view-diff-common): Call backend command `previous-revision'
2805 to find out the previous revision, in both cases. Swap the
2806 variables `to' and `fr', so that `fr' usually refers to the
2807 earlier revision (Bug#14989).
2809 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2811 * ibuf-ext.el (ibuffer-filter-by-filename):
2812 Make it work with dired buffers too.
2814 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2816 * emacs-lisp/re-builder.el (reb-color-display-p):
2817 * files.el (save-buffers-kill-terminal):
2818 * net/browse-url.el (browse-url):
2819 * server.el (server-save-buffers-kill-terminal):
2820 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2821 Prefer nil to selected-frame for the first arg of frame-parameter.
2823 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2825 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2827 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2829 * minibuffer.el (completion--twq-all): Try and preserve each
2830 completion's case choice (bug#14907).
2832 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2834 * net/network-stream.el (open-network-stream): Mention the new
2835 :nogreeting parameter.
2836 (network-stream-open-starttls): Use the :nogreeting parameter
2839 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2841 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2842 more natural than popping.
2844 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2845 (shr-urlify): Highlight under mouse.
2847 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2849 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2851 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2853 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2856 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2857 point-min==1. Fix search string. Fix parentheses missing.
2859 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2860 assume point-min==1. Fix search string. Fix parentheses missing.
2862 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2864 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2867 2013-07-29 Eli Zaretskii <eliz@gnu.org>
2869 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2870 initial frame is minibuffer-less. (Bug#14841)
2872 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2874 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2877 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2878 (tramp-maybe-open-connection): Use it.
2880 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2882 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2883 minimal set of parameters passed when creating a frame, because
2884 the minibuffer status of a frame cannot be changed later.
2886 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
2888 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2889 replace-regexp-in-string and inadvertent omissions in previous change.
2890 (todo-filter-items): Ensure only file names are comma-separated in
2891 name of filtered items buffer.
2893 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2895 * desktop.el: Optionally force offscreen frames back onscreen.
2896 (desktop-restoring-reuses-frames): New option.
2897 (desktop--compute-pos, desktop--move-onscreen): New functions.
2898 (desktop--make-frame): Use desktop--move-onscreen.
2900 2013-07-27 Alan Mackenzie <acm@muc.de>
2902 Fontify a Java generic method as a function.
2903 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2906 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2908 * calendar/todo-mode.el: Add command to rename todo files.
2909 (todo-rename-file): New command.
2910 (todo-key-bindings-t): Add key binding for it. Change the
2911 bindings of todo-filter-regexp-items(-multifile) to use `x'
2912 instead of `r', since the latter is better suited to the new
2915 2013-07-27 Alan Mackenzie <acm@muc.de>
2917 Make Java try-with-resources statement parse properly.
2918 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2919 (c-block-stmt-1-2-key): New language constants/variables.
2920 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2921 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2922 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2923 with c-block-stmt-1-2-key.
2925 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2927 * desktop.el (desktop--make-frame): Apply most frame parameters after
2928 creating the frame to force (partially or totally) offscreen frames to
2929 be restored as such.
2931 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2933 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2936 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2938 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2939 `base' arg of backtrace-frame.
2941 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2943 * simple.el (list-processes): Doc fix.
2945 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2947 * desktop.el (desktop--select-frame):
2948 Try harder to reuse existing frames.
2950 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2953 (edebug-eval): Use backtrace-eval.
2954 (edebug--display, edebug--recursive-edit): Don't let-bind the
2955 edebug-outer-* vars that keep track of variables we locally let-bind.
2956 (edebug-outside-excursion): Don't restore outside values of locally
2958 (edebug--display): Use user-error.
2959 (cl-lexical-debug, cl-debug-env): Remove.
2961 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2963 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2964 are restored to be sure that they are visible before deleting any
2967 2013-07-26 Matthias Meulien <orontee@gmail.com>
2969 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2970 vc-print-root-log. (Bug#14948)
2972 2013-07-26 Richard Stallman <rms@gnu.org>
2974 Add aliases for encrypting mail.
2975 * epa.el (epa-mail-aliases): New option.
2976 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2977 Bind inhibit-read-only so read-only text doesn't ruin everything.
2978 (epa-mail-default-recipients): New subroutine broken out.
2979 Handle epa-mail-aliases.
2981 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2983 Add support for lexical variables to the debugger's `e' command.
2984 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2985 vars, except for debugger-outer-match-data.
2986 (debugger-frame-number): Move check for "on a function call" from
2987 callers into it. Add `skip-base' argument.
2988 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2989 (debugger-env-macro): Only reset the state stored in non-variables,
2990 i.e. current-buffer and match-data.
2991 (debugger-eval-expression): Rewrite using backtrace-eval.
2992 * subr.el (internal--called-interactively-p--get-frame): Remove.
2993 (called-interactively-p):
2994 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2995 `base' arg of backtrace-frame instead.
2997 2013-07-26 Glenn Morris <rgm@gnu.org>
2999 * align.el (align-regexp): Doc fix. (Bug#14857)
3000 (align-region): Explicit error if subexpression missing/does not match.
3002 * simple.el (global-visual-line-mode):
3003 Do not duplicate the mode lighter. (Bug#14858)
3005 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3007 * window.el (display-buffer): In display-buffer bind
3008 split-window-keep-point to t, bug#14829.
3010 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3012 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3013 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3014 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3015 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3017 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3018 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3020 2013-07-25 Glenn Morris <rgm@gnu.org>
3022 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3024 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3026 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3027 parameter to modify-frame-parameters if the value has not changed;
3028 this is a workaround for bug#14949.
3029 (desktop--make-frame): On cl-delete-if call, check parameter name,
3032 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3034 * vc/vc.el (vc-ignore): New function.
3036 * vc/vc-svn.el (vc-svn-ignore): New function.
3038 * vc/vc-hg.el (vc-hg-ignore): New function.
3040 * vc/vc-git.el (vc-git-ignore): New function.
3042 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3043 (vc-dir-ignore): New function.
3045 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3046 (cvs-append-to-ignore): Move here from pcvs.el.
3048 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3050 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3052 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3054 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3055 (desktop-restore-frames): Warn when deleting an existing frame failed.
3057 2013-07-24 Glenn Morris <rgm@gnu.org>
3059 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3061 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3063 * filenotify.el (file-notify-supported-p):
3064 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3067 * autorevert.el (auto-revert-use-notify):
3068 (auto-revert-notify-add-watch):
3069 * net/tramp.el (tramp-file-name-for-operation):
3070 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3071 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3072 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3073 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3074 Remove `file-notify-supported-p' entry.
3076 2013-07-24 Glenn Morris <rgm@gnu.org>
3078 * printing.el: Replace all uses of deleted ps-windows-system,
3079 ps-lp-system, ps-flatten-list with lpr- versions.
3081 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3083 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3084 checked with memq (bug#14935).
3086 * files.el (revert-buffer-function): Use a non-nil default.
3087 (revert-buffer-preserve-modes): Declare var to
3088 provide access to the `preserve-modes' argument.
3089 (revert-buffer): Let-bind it.
3090 (revert-buffer--default): New function, extracted from revert-buffer.
3092 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3094 * lpr.el: Signal print errors more prominently.
3095 (print-region-function): Don't default to nil.
3096 (lpr-print-region): New function, extracted from print-region-1.
3097 Check lpr's return value and signal an error in case of problem.
3098 (print-region-1): Use it.
3099 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3101 (ps-printer-name): Default to nil.
3102 (ps-printer-name-option): Default to lpr-printer-switch.
3103 (ps-print-region-function): Don't default to nil.
3104 (ps-postscript-code-directory): Simplify default.
3105 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3106 (ps-string-list, ps-eval-switch, ps-flatten-list)
3107 (ps-flatten-list-1): Remove.
3108 (ps-multibyte-buffer): Avoid setq.
3109 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3110 (print-region-function, ps-print-region-function): Don't set them here.
3112 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3114 * ido.el (ido-fractionp):
3115 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3116 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3117 (ido-max-directory-size, ido-max-dir-file-cache)
3118 (ido-decorations): Doc fix.
3120 * ansi-color.el: Fix old URL.
3122 2013-07-23 Michael R. Mauger <michael@mauger.com>
3124 * progmodes/sql.el Version 3.3
3125 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3126 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3127 (sql-interactive-remove-continuation-prompt): Rewrite, use
3128 functions above. Fix continuation prompt and complete output line
3130 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3131 redirected output buffer.
3132 (sql-mode): Restore deleted code (Bug#13591).
3134 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3136 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3138 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3140 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3142 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3143 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3144 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3146 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3148 * desktop.el (desktop-clear): Simplify; remove useless checks
3149 against invalid buffer names.
3150 (desktop-list*): Use cl-list*.
3151 (desktop-buffer-info, desktop-create-buffer): Simplify.
3153 2013-07-23 Leo Liu <sdl.web@gmail.com>
3155 * bookmark.el (bookmark-make-record): Restore NAME as a default
3158 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3161 extracted from autoload--insert-text.
3162 (autoload--insert-text): Remove.
3163 (autoload--print-cookie-text): New function, extracted from
3164 autoload--insert-cookie-text.
3165 (autoload--insert-cookie-text): Remove.
3166 (autoload-generate-file-autoloads): Adjust calls accordingly.
3168 * winner.el (winner-hook-installed-p): Remove.
3169 (winner-mode): Simplify accordingly.
3171 * subr.el (add-to-list): Fix compiler-macro when `append' is
3172 not constant. Don't use `cl-member' for the base case.
3174 * progmodes/subword.el: Fix boundary case (bug#13758).
3175 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3177 (subword-backward-regexp): Make it a constant.
3178 (subword-forward-internal): Don't treat a trailing capital as the
3179 beginning of a word.
3181 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3183 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3184 global value of tabulated-list-revert-hook (bug#14930).
3186 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3188 * desktop.el: Require 'cl-lib.
3189 (desktop-before-saving-frames-functions): New hook.
3190 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3191 for frames being saved. Rename from desktop--save-minibuffer-frames.
3192 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3193 Do not save frames with non-nil `desktop-dont-save' parameter.
3194 Filter out deleted frames.
3195 (desktop--find-frame): Use cl-find-if.
3196 (desktop--select-frame): Use cl-(first|second|third) to access values
3198 (desktop--make-frame): Use cl-delete-if.
3199 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3200 (desktop-restore-frames): Use cl-(first|second|third) to access values
3201 of desktop-mini. Look for visible frame at the end, not while
3204 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3205 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3206 Use string-match-p, looking-at-p (bug#14927).
3208 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3210 * desktop.el (desktop-saved-frame-states):
3211 Rename from desktop--saved-states; all users changed.
3212 (desktop-save-frames): Rename from desktop--save-frames.
3213 Do not save state to desktop file.
3214 (desktop-save): Save desktop-saved-frame-states to desktop file
3216 (desktop-restoring-frames-p): New function.
3217 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3218 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3219 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3221 * desktop.el: Correctly restore iconified frames.
3222 (desktop--filter-iconified-position): New function.
3223 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3225 2013-07-20 Glenn Morris <rgm@gnu.org>
3227 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3228 Let `message' do the formatting.
3229 (def-gdb-preempt-display-buffer): Add explicit format.
3231 * image-dired.el (image-dired-track-original-file):
3232 Use with-current-buffer.
3233 (image-dired-track-thumbnail): Use with-current-buffer.
3234 Avoid changing point of wrong window.
3236 * image-dired.el (image-dired-track-original-file):
3237 Avoid changing point of wrong window. (Bug#14909)
3239 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3241 * progmodes/gdb-mi.el (gdb-done-or-error):
3242 Guard against "%" in gdb output. (Bug#14127)
3244 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3246 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3249 * international/mule.el (coding-system-iso-2022-flags): Fix last
3252 2013-07-20 Kenichi Handa <handa@gnu.org>
3254 * international/mule.el (coding-system-iso-2022-flags):
3255 Add `8-bit-level-4'. (Bug#8522)
3257 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3259 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3262 * net/eww.el (eww-process-text-input): Allow inputting when the
3263 point is at the start of the line, as the properties aren't
3266 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3269 2013-07-19 Richard Stallman <rms@gnu.org>
3271 * epa.el (epa-popup-info-window): Doc fix.
3273 * subr.el (split-string): New arg TRIM.
3275 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3277 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3278 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3280 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3282 * filenotify.el (file-notify--library): Rename from
3283 `file-notify-support'. Do not autoload. Adapt all uses.
3284 (file-notify-supported-p): New defun.
3286 * autorevert.el (auto-revert-use-notify):
3287 Use `file-notify-supported-p' instead of `file-notify-support'.
3289 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3291 * net/tramp.el (tramp-file-name-for-operation):
3292 Add `file-notify-supported-p'.
3294 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3296 (tramp-sh-file-name-handler-alist): Add it as handler for
3297 `file-notify-supported-p '.
3299 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3300 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3301 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3302 Add `ignore' as handler for `file-notify-*' functions.
3304 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3306 * simple.el (line-move-partial, line-move): Don't start vscroll or
3307 scroll-up if the current line is not taller than the window.
3310 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3312 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3313 highlight question marks in the method names as strings.
3314 (ruby-block-beg-keywords): Inline.
3315 (ruby-font-lock-keyword-beg-re): Extract from
3316 `ruby-font-lock-keywords'.
3318 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3320 * frame.el (blink-cursor-blinks): New defcustom.
3321 (blink-cursor-blinks-done): New defvar.
3322 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3323 (blink-cursor-timer-function): Check if number of blinks has been
3325 (blink-cursor-suspend, blink-cursor-check): New defuns.
3327 2013-07-15 Glenn Morris <rgm@gnu.org>
3329 * edmacro.el (edmacro-format-keys): Fix previous change.
3331 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3333 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3334 The hack didn't work outside English locales anyway.
3336 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3338 * simple.el (define-alternatives): Rename from alternatives-define,
3339 per RMS' suggestion.
3341 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3343 * desktop.el (desktop-restore-frames): Change default to t.
3344 (desktop-restore-in-current-display): Now offer more options.
3345 (desktop-restoring-reuses-frames): New customization option.
3346 (desktop--saved-states): Doc fix.
3347 (desktop-filter-parameters-alist): New variable, renamed and expanded
3348 from desktop--excluded-frame-parameters.
3349 (desktop--target-display): New variable.
3350 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3351 (desktop--filter-tty*, desktop--filter-*-color)
3352 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3353 (desktop--filter-save-desktop-parm)
3354 (desktop-restore-in-original-display-p): New functions.
3355 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3356 (desktop--save-minibuffer-frames): New function, inspired by a similar
3357 function from Martin Rudalics.
3358 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3359 (desktop--restore-in-this-display-p): Remove.
3360 (desktop--find-frame): Rename from desktop--find-frame-in-display
3361 and add predicate argument.
3362 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3363 (desktop--reuse-list): New variable.
3364 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3366 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3368 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3370 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3372 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3374 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3375 Highlight conversion methods on Kernel.
3377 2013-07-13 Alan Mackenzie <acm@muc.de>
3379 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3380 and comment it out. This out-commenting enables certain C++
3381 declarations to be parsed correctly.
3383 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3385 * international/mule.el (define-coding-system): Doc fix.
3387 * simple.el (default-font-height): Don't call font-info if the
3388 frame's default font didn't change since the frame was created.
3391 2013-07-13 Leo Liu <sdl.web@gmail.com>
3393 * ido.el (ido-read-file-name): Guard against non-symbol value.
3395 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3397 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3400 2013-07-13 Leo Liu <sdl.web@gmail.com>
3402 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3403 ido-set-matches call. (Bug#6852)
3405 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3407 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3408 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3410 (ruby-font-lock-keywords): Distinguish calls to functions with
3411 module-like names from module references. Highlight character
3414 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3416 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3417 (gdb-send): Handle continued commands. (Bug#14847)
3419 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3421 * desktop.el (desktop--v2s): Remove unused local variable.
3422 (desktop-save-buffer): Make defvar-local; adjust docstring.
3423 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3424 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3426 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3428 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3430 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3432 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3435 2013-07-12 Glenn Morris <rgm@gnu.org>
3437 * doc-view.el: Require cl-lib at runtime too.
3438 (doc-view-remove-if): Remove.
3439 (doc-view-search-next-match, doc-view-search-previous-match):
3442 * edmacro.el: Require cl-lib at runtime too.
3443 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3444 (edmacro-mismatch, edmacro-subseq): Remove.
3446 * shadowfile.el: Require cl-lib.
3447 (shadow-remove-if): Remove.
3448 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3451 * wid-edit.el: Require cl-lib.
3452 (widget-choose): Use cl-remove-if.
3453 (widget-remove-if): Remove.
3455 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3456 (ebrowse-delete-if-not): Remove.
3457 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3458 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3459 Use cl-delete-if-not.
3461 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3463 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3464 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3466 2013-07-12 Leo Liu <sdl.web@gmail.com>
3468 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3470 2013-07-11 Glenn Morris <rgm@gnu.org>
3472 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3473 (edebug-gensym-index, edebug-gensym):
3474 Remove reimplementation of cl-gensym.
3475 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3477 * thumbs.el: Require cl-lib at run-time too.
3478 (thumbs-gensym-counter, thumbs-gensym):
3479 Remove reimplementation of cl-gensym.
3480 (thumbs-temp-file): Use cl-gensym.
3482 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3483 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3484 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3485 (ert--union, ert--gensym-counter, ert--gensym-counter)
3486 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3487 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3488 (ert-make-test-unbound, ert--expand-should-1)
3489 (ert--expand-should, ert--should-error-handle-error)
3490 (should-error, ert--explain-equal-rec)
3491 (ert--plist-difference-explanation, ert-select-tests)
3492 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3493 Use cl-lib functions rather than reimplementations.
3495 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
3497 * net/tramp.el (tramp-methods): Extend docstring.
3498 (tramp-connection-timeout): New defcustom.
3499 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3500 (with-tramp-progress-reporter): Simplify.
3501 (tramp-process-actions): Improve messages.
3503 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3504 * net/tramp-sh.el (tramp-maybe-open-connection):
3505 Use `tramp-connection-timeout'.
3506 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3509 2013-07-11 Leo Liu <sdl.web@gmail.com>
3511 * ido.el (ido-read-file-name): Conform to the requirements of
3512 read-file-name. (Bug#11861)
3513 (ido-read-directory-name): Conform to the requirements of
3514 read-directory-name.
3516 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3518 * subr.el (delay-warning): New function.
3520 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3522 * simple.el (default-line-height): New function.
3523 (line-move-partial, line-move): Use it instead of computing the
3525 (line-move-partial): Always compute ROWH. If the last line is
3526 partially-visible, but its text is completely visible, allow
3527 cursor to enter such a partially-visible line.
3529 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3531 Improve error messages. (Bug#14808)
3533 * net/tramp.el (tramp-current-connection): New defvar, moved from
3535 (tramp-message-show-progress-reporter-message): Remove, not
3537 (tramp-error-with-buffer): Show message in minibuffer.
3538 Discard input before waiting. Reset connection timestamp.
3539 (with-tramp-progress-reporter): Improve messages.
3540 (tramp-process-actions): Use progress reporter. Delete process in
3541 case of error. Improve messages.
3543 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3544 Call `tramp-error-with-buffer' with vector and buffer.
3545 (tramp-current-connection): Remove.
3546 (tramp-maybe-open-connection): The car of
3547 `tramp-current-connection' are the first 3 slots of the vector.
3549 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3551 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3552 inside continued strings.
3554 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3556 Timestamp fixes for undo (Bug#14824).
3557 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3559 2013-07-10 Leo Liu <sdl.web@gmail.com>
3561 * files.el (require-final-newline): Allow safe local value.
3564 2013-07-09 Leo Liu <sdl.web@gmail.com>
3566 * ido.el (ido-read-directory-name): Handle fallback.
3567 (ido-read-file-name): Update DIR to ido-current-directory.
3569 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3571 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3573 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3574 "autoload". Remove "warn lower camel case" section, previously
3575 commented out. Highlight negation char. Do not highlight the
3576 target in singleton method definitions.
3578 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * faces.el (tty-setup-hook): Declare the hook.
3582 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3583 and detect when a guard/pred depends on local vars (bug#14773).
3584 (pcase--u1): Adjust caller.
3586 2013-07-08 Eli Zaretskii <eliz@gnu.org>
3588 * simple.el (line-move-partial, line-move): Account for
3590 (line-move-partial): Avoid setting vscroll when the last
3591 partially-visible line in window is of default height.
3593 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3595 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3598 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
3600 * subr.el (read-quoted-char): Remove unused local variable `char'.
3602 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3604 * ediff.el (ediff-version): Version update.
3605 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3606 (ediff-merge-with-ancestor-command, ediff-directories-command)
3607 (ediff-directories3-command, ediff-merge-directories-command)
3608 (ediff-merge-directories-with-ancestor-command): New functions.
3609 All are command-line interfaces to ediff: to facilitate calling
3610 Emacs with the appropriate ediff functions invoked.
3612 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3613 (viper-save-kill-buffer): Check if buffer is modified.
3615 * viper.el (viper-version): Version update.
3616 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3618 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3620 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3621 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3622 (viper-intercept-ESC-key): Simplify.
3623 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3624 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3625 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3626 (viper-setup-ESC-to-escape): New functions.
3627 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3628 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3630 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3632 * simple.el (default-font-height, window-screen-lines):
3634 (line-move, line-move-partial): Use them instead of
3635 frame-char-height and window-text-height. This makes scrolling
3636 text smoother when the buffer's default face uses a font that is
3637 different from the frame's default font.
3639 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3641 * files.el (write-file): Do not display confirm dialog for NS,
3642 it does its own dialog, which can't be cancelled (Bug#14578).
3644 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3646 * simple.el (line-move-partial): Adjust the row returned by
3647 posn-at-point for the current window-vscroll. (Bug#14567)
3649 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3651 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3652 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3655 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3657 * window.el (window-state-put-stale-windows): New variable.
3658 (window--state-put-2): Save list of windows without matching buffer.
3659 (window-state-put): Remove "bufferless" windows if possible.
3661 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3663 * simple.el (alternatives-define): Remove leftover :group keyword.
3666 2013-07-06 Leo Liu <sdl.web@gmail.com>
3668 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3669 (ido-enable-virtual-buffers): New variable.
3670 (ido-buffer-internal, ido-toggle-virtual-buffers)
3671 (ido-make-buffer-list): Use it.
3672 (ido-exhibit): Support turning on and off virtual buffers
3675 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3677 * simple.el (alternatives-define): New macro.
3679 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3681 * subr.el (read-quoted-char): Use read-key.
3682 (sit-for): Let read-event decode tty input (bug#14782).
3684 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3686 * calendar/todo-mode.el: Add handling of file deletion, both by
3687 mode command and externally. Fix various related bugs.
3688 Clarify Commentary and improve some documentation strings and code.
3689 (todo-delete-file): New command.
3690 (todo-check-file): New function.
3691 (todo-show): Handle external deletion of the file we're trying to
3692 show (bug#14688). Replace called-interactively-p by an optional
3693 prefix argument to avoid problematic interaction with catch form
3694 when byte compiled (bug#14702).
3695 (todo-quit): Handle external deletion of the archive's todo file.
3696 Make sure the buffer that was visiting the archive file is still
3697 live before trying to bury it.
3698 (todo-category-completions): Handle external deletion of any
3699 category completion files.
3700 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3701 of todo files, in case of external deletion.
3702 (todo-add-file): Replace unnecessary setq by let-binding.
3703 (todo-find-archive): Check whether there are any archives.
3704 Replace unnecessary setq by let-binding.
3705 (todo-archive-done-item): Use find-file-noselect to get the
3706 archive buffer whether or not the archive already exists.
3707 Remove superfluous code. Use file size instead of buffer-file-name to
3708 check if the archive is new; if it is, update list of archives.
3709 (todo-default-todo-file): Allow nil to be a valid value for when
3710 there are no todo files.
3711 (todo-reevaluate-default-file-defcustom): Use corrected definition
3712 of todo-default-todo-file.
3713 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3714 (todo-delete-category, todo-show-categories-table)
3715 (todo-category-number): Clarify comment.
3716 (todo-filter-items): Clarify documentation string.
3717 (todo-show-current-file, todo-display-as-todo-file)
3718 (todo-reset-and-enable-done-separator): Tweak documentation string.
3719 (todo-done-separator): Make separator length window-width, since
3720 bug#2749 is now fixed.
3722 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3724 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3725 Support both "gvfs-monitor-dir" and "inotifywait".
3726 (tramp-sh-file-inotifywait-process-filter): Rename from
3727 `tramp-sh-file-notify-process-filter'.
3728 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3729 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3731 2013-07-05 Leo Liu <sdl.web@gmail.com>
3733 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3735 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3737 * frame.el (display-pixel-height, display-pixel-width)
3738 (display-mm-height, display-mm-width): Mention behavior on
3739 multi-monitor setups in docstrings.
3740 (w32-display-monitor-attributes-list): Declare function.
3741 (display-monitor-attributes-list): Use it.
3743 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3745 * filenotify.el: New package.
3747 * autorevert.el (top): Require filenotify.el.
3748 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3750 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3751 (auto-revert-notify-handler): Use `file-notify-*' functions.
3753 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3755 * net/tramp.el (tramp-file-name-for-operation):
3756 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3758 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3759 for `file-notify-add-watch' and `file-notify-rm-watch'.
3760 (tramp-process-sentinel): Improve trace.
3761 (tramp-sh-handle-file-notify-add-watch)
3762 (tramp-sh-file-notify-process-filter)
3763 (tramp-sh-handle-file-notify-rm-watch)
3764 (tramp-get-remote-inotifywait): New defuns.
3766 2013-07-03 Juri Linkov <juri@jurta.org>
3768 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3769 call of `occur-read-primary-args' to interactive spec.
3771 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3772 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3774 2013-07-03 Matthias Meulien <orontee@gmail.com>
3776 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3777 `Buffer-menu-multi-occur'. Add it to the menu.
3778 (Buffer-menu-mode): Document it in docstring.
3779 (Buffer-menu-multi-occur): New command. (Bug#14673)
3781 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3783 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3784 keywords and built-ins.
3786 2013-07-03 Glenn Morris <rgm@gnu.org>
3788 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3790 Make info-xref checks case-sensitive by default
3791 * info.el (Info-find-node, Info-find-in-tag-table)
3792 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3793 Add option for exact case matching of nodes.
3794 * info-xref.el (info-xref): New custom group.
3795 (info-xref-case-fold): New option.
3796 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3798 2013-07-03 Leo Liu <sdl.web@gmail.com>
3800 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3802 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3804 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3805 middle of block statement initially, lower the depth. Remove
3806 FIXME comment, not longer valid. Remove middle of block statement
3807 detection, no need to do that anymore since we've been using
3808 `ruby-parse-region' here.
3810 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3812 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3814 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3816 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3818 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3820 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3821 (desktop-restore-in-current-display): New customization option.
3822 (desktop--excluded-frame-parameters): Add `font'.
3823 (desktop--save-frames): Rename from desktop--save-windows.
3824 (desktop--restore-in-this-display-p): New function.
3825 (desktop--make-full-frame): Remove unwanted width/height from
3826 full(width|height) frames.
3827 (desktop--restore-frames): Rename from desktop--restore-windows.
3828 Obey desktop-restore-current-display. Do not delete old frames or
3829 select a new frame unless we were able to restore at least one frame.
3831 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3833 * files.el (find-file-noselect): Simplify conditional expression.
3835 * remember.el (remember-append-to-file):
3836 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3838 Add `remember-notes' function to store random notes across Emacs
3840 * remember.el (remember-data-file): Add :set callback to affect
3841 notes buffer (if any).
3842 (remember-notes): New command.
3843 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3844 New defcustoms for the `remember-notes' function.
3845 (remember-notes-save-and-bury-buffer): New command.
3846 (remember-notes-mode-map): New variable.
3847 (remember-mode): New minor mode.
3848 (remember-notes--kill-buffer-query): New function.
3849 * startup.el (initial-buffer-choice): Add notes to custom type.
3851 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3853 * bindings.el (right-char, left-char): Don't call sit-for, this is
3854 no longer needed. Use arithmetic comparison only for numerical
3857 * international/mule-cmds.el (select-safe-coding-system):
3858 Handle the case of FROM being a string correctly. (Bug#14755)
3860 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3862 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3863 progression on degenerate tables.
3864 (shr-rescale-image): ImageMagick animated images currently don't work.
3866 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
3868 Some fixes and improvements for desktop frame restoration.
3869 It is still experimental and disabled by default.
3870 * desktop.el (desktop--save-windows): Put the selected frame at
3871 the head of the list.
3872 (desktop--make-full-frame): New function.
3873 (desktop--restore-windows): Try to re-select the frame that was
3874 selected upon saving. Do not abort if some frames fail to restore,
3875 just show an error message and continue. Set up maximized frames
3876 so they have default non-maximized dimensions.
3878 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3880 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3881 Don't start heredoc inside a string or comment.
3883 2013-06-29 Eli Zaretskii <eliz@gnu.org>
3885 * bindings.el (visual-order-cursor-movement): New defcustom.
3886 (right-char, left-char): Provide visual-order cursor motion by
3887 calling move-point-visually. Update the doc strings.
3889 2013-06-28 Kenichi Handa <handa@gnu.org>
3891 * international/mule.el (define-coding-system): New coding system
3892 properties :inhibit-null-byte-detection,
3893 :inhibit-iso-escape-detection, and :prefer-utf-8.
3894 (set-buffer-file-coding-system): If :charset-list property of
3895 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3896 appropriate for setting.
3898 * international/mule-cmds.el (select-safe-coding-system):
3899 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3900 multibyte characters, return utf-8 (or one of its siblings).
3902 * international/mule-conf.el (prefer-utf-8): New coding system.
3903 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3906 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3908 * net/shr.el (shr-render-region): New function.
3910 * net/eww.el: Autoload `eww-browse-url'.
3912 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3914 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3915 Adapt to `package-desc-version' being a list.
3916 Use `package--ac-desc-version' to retrieve version from a package
3919 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3921 New experimental feature to save&restore window and frame setup.
3922 * desktop.el (desktop-save-windows): New defcustom.
3923 (desktop--saved-states): New var.
3924 (desktop--excluded-frame-parameters): New defconst.
3925 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3926 (desktop--restore-windows, desktop--save-windows): New functions.
3927 (desktop-save): Call `desktop--save-windows'.
3928 (desktop-read): Call `desktop--restore-windows'.
3930 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3932 * net/shr.el (add-face-text-property): Remove compat definition.
3934 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3936 * info.el (Info-try-follow-nearest-node): Move search for footnote
3937 above search for node name to prevent missing a footnote (bug#14717).
3939 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3941 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3943 2013-06-27 Leo Liu <sdl.web@gmail.com>
3945 * net/eww.el (eww-read-bookmarks): Check file size.
3947 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3949 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3950 advice--pending if newdef is nil or an autoload (bug#13820).
3951 (advice-mapc): New function.
3953 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3955 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3957 (eww-mode-map): Add a menu bar.
3958 (eww-add-bookmark): New command.
3959 (eww-bookmark-mode): New mode and commands.
3960 (eww-add-bookmark): Remove newlines from the title.
3961 (eww-bookmark-browse): Don't bug out if it's the only window.
3963 2013-06-26 Glenn Morris <rgm@gnu.org>
3965 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3966 (hfy-size): Handle ttys. (Bug#14668)
3968 * info-xref.el: Update for Texinfo 5 change in *note format.
3969 (info-xref-node-re, info-xref-note-re): New constants.
3970 (info-xref-check-buffer): Use info-xref-note-re.
3972 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3974 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3976 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3977 nil terminate the loop (bug#14718).
3979 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3981 * net/eww.el: Rework history traversal. When going forward/back,
3982 put these actions into the history, too, so that they can be
3984 (eww-render): Move the history reset to the correct buffer.
3986 2013-06-25 Juri Linkov <juri@jurta.org>
3988 * files-x.el (modify-dir-local-variable): Change the header comment
3989 in the file with directory local variables. (Bug#14692)
3991 * files-x.el (read-file-local-variable-value): Add `default'.
3994 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3996 * net/eww.el (eww-make-unique-file-name): Create a unique file
3997 name before saving to entering `y' accidentally asynchronously.
3999 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4001 * net/eww.el (eww-download): New command and keystroke.
4003 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005 * net/eww.el (eww-copy-page-url): Change name of command.
4007 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4008 be more consistent with Info and dired.
4010 * net/eww.el (eww-mode-map): Ditto.
4012 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4015 packages from archives.
4016 (package-archive-contents): Change format; include obsolete packages.
4017 (package-desc): Use `dir' to mark builtin packages.
4018 (package--from-builtin): Set the `dir' field to `builtin'.
4019 (generated-autoload-file, version-control): Declare.
4020 (package-compute-transaction): Change first arg and return value to be
4021 lists of package-descs. Adjust to new package-archive-contents format.
4022 (package--add-to-archive-contents): Adjust to new
4023 package-archive-contents format.
4024 (package-download-transaction): Arg is now a list of package-descs.
4025 (package-install): If `pkg' is a package name, pass it as
4026 a requirement, so it is subject to the usual (e.g. disabled) checks.
4027 (describe-package): Accept package-desc as well.
4028 (describe-package-1): Describe a specific package-desc. Add links to
4029 other package-descs for the same package name.
4030 (package-menu-describe-package): Pass the actual package-desc.
4031 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4033 (package-desc-status): New function.
4034 (package-menu--refresh): New function, extracted
4035 from package-menu--generate.
4036 (package-menu--generate): Use it.
4037 (package-delete): Update package-alist.
4038 (package-menu-execute): Don't call package-initialize.
4040 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4041 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4042 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4043 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4044 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4045 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4047 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4049 * window.el (window--state-get-1): Workaround for bug#14527.
4050 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4052 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4054 * net/eww.el (eww-back-url): Implement the history by stashing all
4055 the data into a list.
4056 (eww-forward-url): Allow going forward in the history, too.
4058 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4060 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4061 for values and use read--expression for expressions (bug#14710).
4062 (read-file-local-variable): Avoid setq.
4063 (read-file-local-variable-mode): Use minor-mode-list.
4065 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4067 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4070 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4072 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4073 Update imenu-support when dialect changes.
4075 2013-06-25 Leo Liu <sdl.web@gmail.com>
4077 * ido.el (ido-read-internal): Allow forward slash on windows.
4079 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4081 * net/eww.el (eww): Start of strings is \\`, not ^.
4083 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4085 * net/shr.el (shr-browse-url): Fix interactive spec.
4087 * net/eww.el (eww): Add a trailing slash to domain names.
4089 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4091 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4093 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4095 * net/shr.el (shr-browse-url): Use an external browser if given a
4098 * net/eww.el (eww-external-browser): Move to shr.
4100 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4102 * net/eww.el (eww): Work more correctly for file: URLs.
4103 (eww-detect-charset): Allow quoted charsets.
4104 (eww-yank-page-url): New command and keystroke.
4106 2013-06-24 Daiki Ueno <ueno@gnu.org>
4108 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4109 file name of gpg executable.
4110 (epg-context-program): New function.
4111 (epg-context-home-directory): New function.
4112 (epg-context-set-program): New function.
4113 (epg-context-set-home-directory): New function.
4114 (epg--start): Use `epg-context-program' instead of
4116 (epg--list-keys-1): Likewise.
4118 2013-06-24 Leo Liu <sdl.web@gmail.com>
4120 * ido.el (ido-read-internal): Fix bug#14620.
4122 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4124 * faces.el (face-documentation): Simplify.
4125 (read-face-attribute, tty-find-type, x-resolve-font-name):
4126 Use `string-match-p'.
4127 (list-faces-display): Use `string-match-p'. Simplify.
4128 (face-spec-recalc): Check face to avoid face alias loops.
4129 (read-color): Use `string-match-p' and non-capturing parenthesis.
4131 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4133 * net/shr.el (shr-rescale-image): Use the new
4134 :max-width/:max-height functionality.
4136 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4138 * net/eww.el (eww-search-prefix): New variable.
4140 (eww-external-browser): New variable.
4141 (eww-mode-map): New keystroke.
4142 (eww-browse-with-external-browser): New command.
4144 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4146 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4148 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4149 Don't skip aligning the next header field when padding is 0;
4150 otherwise, field width is not respected unless the title is as
4153 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * emacs-lisp/package.el (package-el-version): Remove.
4156 (package-process-define-package): Fix inf-loop.
4157 (package-install): Allow symbols as arguments again.
4159 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4161 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4162 add some more keyword-like methods.
4163 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4165 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4167 * bs.el (bs-buffer-show-mark): Make defvar-local.
4168 (bs-mode): Use setq-local.
4170 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4171 (emacs-lock--try-unlocking): Make defvar-local.
4173 2013-06-22 Glenn Morris <rgm@gnu.org>
4175 * play/cookie1.el (cookie-apropos): Minor simplification.
4177 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4179 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4181 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4182 `regexp-opt', it breaks the build during dumping.
4184 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4186 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4187 Highlight keyword-like methods on Kernel and Module with
4188 font-lock-builtin-face.
4189 (auto-mode-alist): Consolidate different entries into one regexp
4190 and add more *file-s.
4192 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4194 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4196 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4197 (diary-entry): Use it in the action of this button type instead of
4200 * calendar/todo-mode.el: New version.
4201 (todo-add-category): Append new category to end of file and give
4202 it the highest number, instead of putting it at the beginning and
4203 giving it 0. Incorporate noninteractive functionality.
4204 (todo-forward-category): Adapt to 1-based category numbering.
4205 Allow skipping over archived categories.
4206 (todo-backward-category): Derive from todo-forward-category.
4207 (todo-backward-item, todo-forward-item): Make noninteractive and
4208 delegate interactive part to new commands. Make sensitive to done items.
4209 (todo-categories): Make value an alist of category names and
4210 vectors of item counts.
4211 (todo-category-beg): Make a defconst.
4212 (todo-category-number): Use 1 instead of 0 as initial value.
4213 (todo-category-select): Make sensitive to overlays, optional item
4214 highlighting and done items.
4215 (todo-delete-item): Make sensitive to overlays and marked and done items.
4216 (todo-edit-item): Make sensitive to overlays and editing of
4217 date/time header optional. Add format checks.
4218 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4219 no-op if point is not on an item. Advertise using todo-edit-quit.
4220 (todo-edit-mode): Make sensitive to new format, font-locking, and
4221 multiple todo files.
4222 (todo-insert-item, todo-insert-item-here): Derive from
4223 todo-basic-insert-item and extend functionality.
4224 (todo-item-end, todo-item-start): Make sensitive to done items.
4225 (todo-item-string): Don't return text properties. Restore point.
4226 (todo-jump-to-category): Make sensitive to multiple todo files and
4227 todo archives. Use extended category completion.
4228 (todo-lower-item, todo-raise-item): Rename to *-priority and
4229 derive from todo-set-item-priority.
4230 (todo-mode): Derive from special-mode. Make sensitive to new
4231 format, font-locking and multiple todo files. Make read-only.
4232 (todo-mode-map): Don't suppress digit keys, so they can supply
4233 prefix arguments. Add many new key bindings.
4234 (todo-prefix): Insert as an overlay instead of file text.
4235 Change semantics from diary date expression to purely visual mark.
4236 (todo-print): Rename to todo-print-buffer. Make buffer display
4237 features printable. Remove option to restrict number of items
4238 printed. Add option to print to file.
4239 (todo-print-function): Rename to todo-print-buffer-function.
4240 (todo-quit): Extend to handle exiting new todo modes.
4241 (todo-remove-item): Make sensitive to overlays.
4242 (todo-save): Extend to buffers of filtered items.
4243 (todo-show): Make sensitive to done items, multiple todo files and
4244 new todo modes. Offer to convert legacy todo file before creating
4245 first new todo file.
4246 (todo-show-priorities): Rename to todo-top-priorities.
4247 Change semantics of value 0.
4248 (todo-top-priorities): Rename to todo-filter-top-priorities,
4249 derive from todo-filter-items and extend functionality.
4250 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4251 and extend functionality to other types of filtered items.
4252 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4253 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4254 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4255 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4256 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4257 (todo-edit-mode-hook, todo-entry-prefix-function)
4258 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4259 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4260 (todo-initials, todo-insert-threshold, todo-item-string-start)
4261 (todo-line-string, todo-menu, todo-mode-hook)
4262 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4263 (todo-print-priorities, todo-remove-separator)
4264 (todo-save-top-priorities-too, todo-string-count-lines)
4265 (todo-string-multiline-p, todo-time-string-format)
4266 (todo-tmp-buffer-name): Remove.
4267 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4268 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4269 (todo-edit-category-diary-inclusion)
4270 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4271 (todo-edit-file, todo-edit-item-date-day)
4272 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4273 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4274 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4275 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4276 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4277 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4278 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4279 (todo-filter-top-priorities-multifile, todo-find-archive)
4280 (todo-find-filtered-items-file, todo-go-to-source-item)
4281 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4282 (todo-jump-to-archive-category, todo-lower-category)
4283 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4284 (todo-move-category, todo-move-item, todo-next-button)
4285 (todo-next-item, todo-padded-string, todo-powerset)
4286 (todo-previous-button, todo-previous-item)
4287 (todo-print-buffer-to-file, todo-raise-category)
4288 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4289 (todo-set-category-number, todo-set-item-priority)
4290 (todo-set-top-priorities-in-category)
4291 (todo-set-top-priorities-in-file, todo-show-categories-table)
4292 (todo-sort-categories-alphabetically-or-numerically)
4293 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4294 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4295 (todo-toggle-item-header, todo-toggle-item-highlighting)
4296 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4297 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4298 (todo-unarchive-items, todo-unmark-category): New commands.
4299 (todo-absolute-file-name, todo-add-to-buffer-list)
4300 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4301 (todo-basic-insert-item, todo-category-completions)
4302 (todo-category-number, todo-category-string-matcher-1)
4303 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4304 (todo-check-format, todo-clear-matches)
4305 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4306 (todo-current-category, todo-date-string-matcher)
4307 (todo-define-insertion-command, todo-diary-expired-matcher)
4308 (todo-diary-goto-entry, todo-diary-item-p)
4309 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4310 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4311 (todo-done-item-section-p, todo-done-separator)
4312 (todo-done-string-matcher, todo-files, todo-filter-items)
4313 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4314 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4315 (todo-insert-category-line, todo-insert-item-from-calendar)
4316 (todo-insert-sort-button, todo-insert-with-overlays)
4317 (todo-insertion-command-name, todo-insertion-key-bindings)
4318 (todo-label-to-key, todo-longest-category-name-length)
4319 (todo-make-categories-list, todo-mode-external-set)
4320 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4321 (todo-modes-set-3, todo-multiple-filter-files)
4322 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4323 (todo-read-category, todo-read-date, todo-read-dayname)
4324 (todo-read-file-name, todo-read-time)
4325 (todo-reevaluate-category-completions-files-defcustom)
4326 (todo-reevaluate-default-file-defcustom)
4327 (todo-reevaluate-filelist-defcustoms)
4328 (todo-reevaluate-filter-files-defcustom)
4329 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4330 (todo-reset-done-separator, todo-reset-done-separator-string)
4331 (todo-reset-done-string, todo-reset-global-current-todo-file)
4332 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4333 (todo-reset-prefix, todo-set-categories)
4334 (todo-set-date-from-calendar, todo-set-show-current-file)
4335 (todo-set-top-priorities, todo-short-file-name)
4336 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4337 (todo-total-item-counts, todo-update-buffer-list)
4338 (todo-update-categories-display, todo-update-categories-sexp)
4339 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4341 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4343 (todo-categories, todo-display, todo-edit, todo-faces)
4344 (todo-filtered): New defgroups.
4345 (todo-archived-only, todo-button, todo-category-string, todo-date)
4346 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4347 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4348 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4349 (todo-add-item-if-new-category, todo-always-add-time-string)
4350 (todo-categories-align, todo-categories-archived-label)
4351 (todo-categories-category-label, todo-categories-diary-label)
4352 (todo-categories-done-label, todo-categories-number-separator)
4353 (todo-categories-todo-label, todo-categories-totals-label)
4354 (todo-category-completions-files, todo-completion-ignore-case)
4355 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4356 (todo-done-separator-string, todo-done-string)
4357 (todo-files-function, todo-filter-done-items, todo-filter-files)
4358 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4359 (todo-initial-category, todo-initial-file, todo-item-mark)
4360 (todo-legacy-date-time-regexp, todo-mode-line-function)
4361 (todo-nondiary-marker, todo-number-prefix)
4362 (todo-print-buffer-function, todo-show-current-file)
4363 (todo-show-done-only, todo-show-first, todo-show-with-done)
4364 (todo-skip-archived-categories, todo-top-priorities-overrides)
4365 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4366 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4368 (todo-category-done, todo-date-pattern, todo-date-string-start)
4369 (todo-diary-items-buffer, todo-done-string-start)
4370 (todo-filtered-items-buffer, todo-item-start)
4371 (todo-month-abbrev-array, todo-month-name-array)
4372 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4373 (todo-top-priorities-buffer): New defconsts.
4374 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4375 (todo-categories-with-marks, todo-category-string-face)
4376 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4377 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4378 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4379 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4380 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4381 (todo-font-lock-keywords, todo-global-current-todo-file)
4382 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4383 (todo-insertion-commands-args)
4384 (todo-insertion-commands-args-genlist)
4385 (todo-insertion-commands-names, todo-insertion-map)
4386 (todo-key-bindings-t, todo-key-bindings-t+a)
4387 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4388 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4389 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4390 (todo-visited): New variables.
4392 2013-06-21 Glenn Morris <rgm@gnu.org>
4394 * play/cookie1.el (cookie-apropos): Add optional display argument.
4395 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4396 (psychoanalyze-pinhead): Use cookie-doctor.
4398 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4400 * emacs-lisp/package.el (tar-get-file-descriptor)
4401 (tar--extract): Declare.
4403 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4405 Extend flymake's warning predicate to be a function (bug#14217).
4406 * progmodes/flymake.el (flymake-warning-predicate): New.
4407 (flymake-parse-line): Use it.
4408 (flymake-warning-re): Make obsolete alias to
4409 `flymake-warning-predicate'.
4411 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4413 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4414 (package-obsolete-list): Remove.
4415 (package-activate): Remove min-version argument. Add `force' argument.
4416 Adjust to new package-alist format.
4417 (package-mark-obsolete): Remove.
4418 (package-unpack): Force reload of the package's autoloads.
4419 (package-installed-p): Check builtins if the installed package is not
4421 (package-initialize): Don't reset package-obsolete-list.
4422 Don't specify which package version to activate.
4423 (package-process-define-package, describe-package-1)
4424 (package-menu--generate): Adjust to new package-alist format.
4426 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4428 * allout-widgets.el (allout-widgets-mode-off)
4429 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4430 (allout-widgets-post-command-business)
4431 (allout-widgets-after-copy-or-kill-function)
4432 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4433 (allout-decorate-item-and-context)
4434 (allout-graphics-modification-handler): Fix typos in docstrings.
4435 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4437 * cmuscheme.el (scheme-start-file): Doc fix.
4438 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4439 (scheme-input-filter): Use `string-match-p'.
4441 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4443 * dired-x.el: Use Dired consistently in docstrings.
4445 * dired.el: Use Dired consistently in docstrings.
4446 (dired-readin, dired-mode): Use `setq-local'.
4447 (dired-switches-alist): Make defvar-local.
4448 (dired-buffers-for-dir): Use `zerop'.
4449 (dired-safe-switches-p, dired-switches-escape-p)
4450 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4451 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4452 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4453 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4454 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4455 (dired-toggle-marks, dired-mark-files-containing-regexp)
4456 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4457 (dired-flag-auto-save-files, dired-flag-backup-files):
4459 (dired-mark-files-regexp, dired-build-subdir-alist):
4460 Use `string-match-p', `looking-at-p'.
4462 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4463 (direct-print-region-helper): Use `string-match-p'.
4465 2013-06-21 Leo Liu <sdl.web@gmail.com>
4467 * comint.el (comint-redirect-results-list-from-process):
4470 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4472 * net/eww.el (eww-update-header-line-format): Quote % characters.
4474 2013-06-21 Glenn Morris <rgm@gnu.org>
4476 * play/cookie1.el (cookie): New custom group.
4477 (cookie-file): New option.
4478 (cookie-check-file): New function.
4479 (cookie): Make it interactive. Make start and end messages optional.
4480 Interactively, display the result. Default to cookie-file.
4481 (cookie-insert): Default to cookie-file.
4482 (cookie-snarf): Make start and end messages optional.
4483 Default to cookie-file. Use with-temp-buffer.
4484 (cookie-read): Rename from read-cookie.
4485 Make start and end messages optional. Default to cookie-file.
4486 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4488 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4489 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4491 2013-06-21 Leo Liu <sdl.web@gmail.com>
4493 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4495 2013-06-21 Glenn Morris <rgm@gnu.org>
4497 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4499 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4500 Daniel Hackney <dan@haxney.org>
4502 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4503 Consolidate the single-file vs tarball code.
4504 (package-desc-suffix): New function.
4505 (package-desc-full-name): Don't bother inlining it.
4506 (package-load-descriptor): Return the new package-desc.
4507 (package-mark-obsolete): Remove unused arg `package'.
4508 (package-unpack): Make it work for single files as well.
4509 Make it update package-alist.
4510 (package--make-autoloads-and-stuff): Rename from
4511 package--make-autoloads-and-compile. Don't compile any more.
4512 (package--compile): New function.
4513 (package-generate-description-file): New function, extracted from
4514 package-unpack-single.
4515 (package-unpack-single): Remove.
4516 (package--with-work-buffer): Add indentation and debugging info.
4517 (package-download-single): Remove.
4518 (package-install-from-archive): Rename from package-download-tar, make
4519 it take a pkg-desc, and make it work for single files as well.
4520 (package-download-transaction): Simplify.
4521 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4522 external tar program.
4523 (package-install-from-buffer): Remove `pkg-desc' argument.
4524 Use package-tar-file-info for tar-mode buffers.
4525 (package-install-file): Simplify accordingly.
4526 (package-archive-base): Change to take a pkg-desc.
4527 * tar-mode.el (tar--check-descriptor): New function, extracted from
4529 (tar-get-descriptor): Use it.
4530 (tar-get-file-descriptor): New function.
4531 (tar--extract): New function, extracted from tar-extract.
4532 (tar--extract): Use it.
4533 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4534 case the summary uses non-ascii. Adjust to new calling convention of
4535 package-tar-file-info.
4537 2013-06-21 Leo Liu <sdl.web@gmail.com>
4539 * comint.el (comint-redirect-results-list-from-process):
4540 Fix random delay. (Bug#14681)
4542 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4544 * profiler.el (profiler-format-number): Use log, not log10.
4546 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4548 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4550 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4552 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4553 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4555 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4556 (AUTOGENEL): ... here.
4557 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4558 (cl--defsubst-expand): Use it.
4560 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4562 * subr.el (log10): Move here from C code, and declare as obsolete.
4563 All uses of (log10 X) replaced with (log X 10).
4565 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4567 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4568 Declare with `defvar-local'.
4569 (tabulated-list-use-header-line, tabulated-list-entries)
4570 (tabulated-list-padding, tabulated-list-printer)
4571 (tabulated-list-sort-key): Declare with `defvar-local'.
4572 (tabulated-list-init-header, tabulated-list-print-fake-header):
4575 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
4577 * arc-mode.el (archive-mode): Add `archive-write-file' to
4578 `write-contents-functions' also for remote files. (Bug#14652)
4580 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4582 * cus-edit.el (custom-commands): Fix typos.
4583 (custom-display): Fix tooltip text.
4584 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4585 Fix typos in docstrings.
4586 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4587 (custom-unlispify-menu-entry, custom-magic-value-create)
4588 (custom-add-see-also, custom-group-value-create): Use ?\s.
4589 (custom-guess-type, customize-apropos, editable-field)
4590 (custom-face-value-create): Use `string-match-p'.
4591 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4593 * custom.el (custom-load-symbol): Use `string-match-p'.
4595 * ansi-color.el: Convert to lexical binding.
4596 (ansi-colors): Fix URL.
4597 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4598 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4599 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4601 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4603 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4605 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4607 2013-06-19 Tom Tromey <tromey@redhat.com>
4609 * net/eww.el (eww-top-url): Remove.
4610 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4611 (eww-render): Set new variables. Don't set eww-top-url.
4612 (eww-handle-link): Handle "prev", "home", and "contents".
4613 Downcase the rel text.
4614 (eww-top-url): Choose best top URL.
4616 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4618 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4619 relying in widget.el. Using widget.el leads to too many
4620 user interface inconsistencies.
4621 (eww-self-insert): Implement entering commands in text fields.
4622 (eww-process-text-input): New function to make text input field editing
4624 (eww-submit): Rewrite to use the new-style form methods.
4625 (eww-select-display): Display the correct selected item.
4626 (eww-change-select): Implement changing the select value.
4627 (eww-toggle-checkbox): Implement radio/checkboxes.
4628 (eww-update-field): Fix compilation error.
4629 (eww-tag-textarea): Implement <textarea>.
4631 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4632 we don't shadow mode-specific bindings.
4634 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4637 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4639 2013-06-19 Glenn Morris <rgm@gnu.org>
4641 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4643 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4645 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4648 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4650 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4652 * net/browse-url.el (browse-url-browser-function):
4653 `eww-browse-url' has the right calling signature, `eww' does not.
4655 2013-06-19 Glenn Morris <rgm@gnu.org>
4657 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4658 Only eval autoloaded macros.
4659 (byte-compile-autoload): Only give the macro warning for macros.
4661 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4662 (ps-underlined-faces): Declare.
4664 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4665 (speedbar-add-supported-extension): Declare.
4667 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4668 Don't include a date stamp in the header of the generated file;
4669 it leads to needless differences between output files.
4671 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4673 * net/secrets.el (secrets-struct-secret-content-type):
4674 Replace check of introspection data by a test call of "CreateItem".
4675 Some servers do not offer introspection.
4677 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4679 * electric.el (electric-pair-mode): Improve interaction with
4680 electric-layout-mode.
4681 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4682 (electric-pair-syntax): Use text-mode-syntax-table in comments
4684 (electric-pair--insert): New function.
4685 (electric-pair-post-self-insert-function): Use it and
4686 electric--after-char-pos.
4688 2013-06-19 Leo Liu <sdl.web@gmail.com>
4690 * progmodes/octave.el (octave-help): Fix regexp.
4692 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4694 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4695 (shr-table-horizontal-line): Allow nil as a value, and change the
4697 (shr-insert-table-ruler): Respect the nil value.
4699 2013-06-18 Tom Tromey <tromey@barimba>
4701 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4703 (eww-open-file): New defun.
4704 (eww-render): Initialize new variables.
4705 (eww-display-html): Handle "link" and "a".
4706 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4707 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4708 (eww-back-url): Rename from eww-previous-url.
4709 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4712 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4714 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4715 Distinguish ternary operator tokens from slash symbol and slash
4718 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4720 Convert symbol prettification into minor mode and global minor mode.
4722 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4723 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4724 (prettify-symbols--keywords): Rename from
4725 `prog-prettify-symbols-alist' and make a local defvar.
4726 (prettify-symbols--compose-symbol): Rename from
4727 `prog--prettify-font-lock-compose-symbol'.
4728 (prettify-symbols--make-keywords): Rename from
4729 `prog-prettify-font-lock-symbols-keywords' and simplify.
4730 (prog-prettify-install): Remove.
4731 (prettify-symbols-mode): New minor mode, based on
4732 `prog-prettify-install'.
4733 (turn-on-prettify-symbols-mode): New function.
4734 (global-prettify-symbols-mode): New globalized minor mode.
4736 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4737 * progmodes/cfengine.el (cfengine3-mode):
4738 * progmodes/perl-mode.el (perl-mode): Don't call
4739 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4741 2013-06-18 Juri Linkov <juri@jurta.org>
4743 * files-x.el (modify-file-local-variable-message): New function.
4744 (modify-file-local-variable)
4745 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4746 and call `modify-file-local-variable-message' when it's non-nil.
4747 (add-file-local-variable, delete-file-local-variable)
4748 (add-file-local-variable-prop-line)
4749 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4750 and use it. (Bug#9820)
4752 2013-06-18 Juri Linkov <juri@jurta.org>
4754 * emulation/vi.el (vi-shell-op):
4755 * emulation/vip.el (vip-execute-com, ex-command):
4756 * emulation/viper-cmd.el (viper-exec-bang):
4757 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4758 the call of `shell-command-on-region'. (Bug#14637)
4760 * simple.el (shell-command-on-region): Doc fix.
4762 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4767 2013-06-18 Glenn Morris <rgm@gnu.org>
4769 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4771 * newcomment.el (comment-search-forward, comment-search-backward):
4772 Doc fix. (Bug#14376)
4774 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4776 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4777 (buffer-face-mode-invoke): Doc fix.
4779 2013-06-18 Matthias Meulien <orontee@gmail.com>
4781 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4782 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4784 2013-06-18 Glenn Morris <rgm@gnu.org>
4786 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4787 Replace obsolete function generic-make-keywords with its expansion.
4789 * progmodes/python.el (ffap-alist): Declare.
4791 * textmodes/reftex.el (bibtex-mode-map): Declare.
4793 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4796 (package-unpack, package-unpack-single): Return the pkg-dir.
4797 (package-download-transaction): Use it to update package-alist.
4799 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4801 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4804 2013-06-17 Juri Linkov <juri@jurta.org>
4806 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4808 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4810 * emacs-lisp/package.el (package-load-descriptor):
4811 Remove `with-syntax-table' call, `read' doesn't need it.
4812 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4814 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4816 * startup.el (command-line): Expand package name returned by
4817 `package--description-file' (bug#14639).
4819 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4821 * emacs-lisp/package.el (package-load-descriptor): Do not call
4822 `emacs-lisp-mode', just use its syntax table.
4824 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4826 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4827 `font-lock-extra-managed-props' if any prettifying keyword is added.
4828 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4829 (prog-mode): Use `setq-local'.
4831 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * international/characters.el (standard-case-table): Set syntax of ?»
4834 and ?« to punctuation.
4836 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4838 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4839 Save relevant match data before calling `syntax-ppss' (bug#14595).
4841 2013-06-15 Juri Linkov <juri@jurta.org>
4843 * files-x.el (modify-file-local-variable-prop-line): Add local
4844 variables to the end of the existing comment on the first line.
4845 Use `file-auto-mode-skip' to skip interpreter magic line,
4846 and also skip XML declaration.
4848 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4850 * startup.el (package--builtin-versions): New var.
4851 (package-subdirectory-regexp): Remove.
4852 (package--description-file): Hard code its value instead.
4854 * emacs-lisp/package.el: Don't activate packages older than builtin.
4855 (package-obsolete-list): Rename from package-obsolete-alist, and make
4856 it into a simple list of package-desc.
4857 (package-strip-version): Remove.
4858 (package-built-in-p): Use package--builtin-versions.
4859 (package-mark-obsolete): Simplify.
4860 (package-process-define-package): Mark it obsolete if older than the
4862 (package-handle-response): Use line-end-position.
4863 (package-read-archive-contents, package--download-one-archive):
4865 (package--add-to-archive-contents): Skip if older than the builtin or
4867 (package-menu-describe-package): Fix last change.
4868 (package-list-unversioned): New var.
4869 (package-menu--generate): Use it.
4871 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4872 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4873 (autoload-builtin-package-versions): New variable.
4874 (autoload-generate-file-autoloads): Use them.
4875 Remove the list of autoloaded functions/macros from the
4876 (autoload...) comments.
4878 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4880 2013-06-15 Eli Zaretskii <eliz@gnu.org>
4882 * simple.el (line-move-partial): Don't jump to the next screen
4883 line as soon as it becomes visible. Instead, continue enlarging
4884 the vscroll until the portion of a tall screen line that's left on
4885 display is about the height of the frame's default font.
4888 2013-06-15 Glenn Morris <rgm@gnu.org>
4890 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4891 compilation-error-regexp-alist void, or local while let-bound.
4893 * progmodes/make-mode.el (makefile-mode-syntax-table):
4894 Treat "=" as punctuation. (Bug#14614)
4896 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
4898 * help-fns.el (describe-variable):
4899 Add extra line for permanent-local variables.
4901 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4903 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4904 Add export, import, library. (Bug#9164)
4905 (library): Set indent function.
4907 2013-06-14 Glenn Morris <rgm@gnu.org>
4909 * term/xterm.el (xterm--query):
4910 Stop after first matching handler. (Bug#14615)
4912 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4914 Add support for dired in saveplace.
4915 * dired.el (dired-initial-position-hook): New variable.
4916 (dired-initial-position): Call hook to place cursor position.
4917 * saveplace.el (save-place-to-alist): Add dired position.
4918 (save-place-dired-hook): New function.
4920 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4922 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4923 through a symbol rather than letrec.
4925 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4926 (package-desc): Add `dir' field.
4927 (package-desc-full-name): New function.
4928 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4929 (package-maybe-load-descriptor): Remove.
4930 (package-load-all-descriptors): Just call package-load-descriptor.
4931 (package--disabled-p): New function.
4932 (package-desc-vers, package-desc-doc): Remove aliases.
4933 (package--dir): Remove function.
4934 (package-activate): Check if a package is disabled.
4935 (package-process-define-package): New function, extracted from
4937 (define-package): Turn into a place holder.
4938 (package-unpack-single, package-tar-file-info):
4939 Use package--description-file.
4940 (package-compute-transaction): Use package--disabled-p.
4941 (package-download-transaction): Don't call
4942 package-maybe-load-descriptor since they're all loaded anyway.
4943 (package-install): Change argument to be a pkg-desc.
4944 (package-delete): Use a single pkg-desc argument.
4945 (describe-package-1): Use package-desc-dir instead of package--dir.
4946 Use package-desc property instead of package-symbol.
4947 (package-install-button-action): Adjust accordingly.
4948 (package--push): Rewrite.
4949 (package-menu--print-info): Adjust accordingly. Change the ID format
4951 (package-menu-describe-package, package-menu-get-status)
4952 (package-menu--find-upgrades, package-menu-mark-upgrades)
4953 (package-menu-execute, package-menu--name-predicate):
4955 * startup.el (package--description-file): New function.
4956 (command-line): Use it.
4957 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4958 Use package-desc-version.
4960 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4961 (byte-compile-preprocess): Use it.
4962 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4963 can't quite recognize.
4964 (byte-compile-add-to-list): Remove.
4965 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4966 (cconv-closure-convert): Add assertion.
4968 * emacs-lisp/map-ynp.el: Use lexical-binding.
4969 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4970 Factor out some repeated code.
4972 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4974 * subr.el (with-eval-after-load): New macro.
4975 (eval-after-load): Allow form to be a function.
4976 take advantage of lexical-binding.
4977 (do-after-load-evaluation): Use dolist and adjust to new format.
4978 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4980 2013-06-13 Juri Linkov <juri@jurta.org>
4982 * replace.el (perform-replace): Display "symbol " and other search
4983 modes from `isearch-message-prefix' in the *Help* buffer.
4985 * isearch.el (isearch-query-replace): Add " symbol" and other
4986 possible search modes from `isearch-message-prefix' to the prompt.
4987 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4988 when reading a regexp to collect.
4990 2013-06-13 Juri Linkov <juri@jurta.org>
4992 * isearch.el (word-search-regexp): Match whitespace if the search
4993 string begins or ends in whitespace. The LAX arg is applied to
4994 both ends of the search string. Use `regexp-quote' and explicit
4995 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4996 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4997 boundaries are replaced with symbol boundaries, and characters
4998 between symbols match non-word non-symbol syntax. (Bug#14602)
5000 2013-06-13 Juri Linkov <juri@jurta.org>
5002 * isearch.el (isearch-del-char): Don't exceed the length of
5003 `isearch-string' by the prefix arg. (Bug#14563)
5005 2013-06-13 Juri Linkov <juri@jurta.org>
5007 * isearch.el (isearch-yank-word, isearch-yank-line)
5008 (isearch-char-by-name, isearch-quote-char)
5009 (isearch-printing-char, isearch-process-search-char):
5010 Add optional count prefix arg. (Bug#14563)
5012 * international/isearch-x.el
5013 (isearch-process-search-multibyte-characters):
5014 Add optional count prefix arg.
5016 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5018 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5019 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5022 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5024 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5026 2013-06-13 Glenn Morris <rgm@gnu.org>
5028 * startup.el (tty-handle-args):
5029 Don't just discard "--" and anything after. (Bug#14608)
5031 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5033 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5035 Implement changes in Secret Service API. Make it backward compatible.
5036 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5037 (secrets-create-item): Use it. Prefix properties with interface.
5039 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5041 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5042 (term-emulate-terminal): Respect term-suppress-hard-newline.
5044 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5046 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5047 Only remove a `thumb-file' overlay. (Bug#14548)
5049 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5051 * mail/reporter.el (reporter-submit-bug-report):
5052 Handle missing package-name. (Bug#14600)
5054 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5056 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5057 (reftex-citation-prompt, reftex-default-bibliography)
5058 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5059 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5060 (reftex-bib-sort-author, reftex-bib-sort-year)
5061 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5062 (reftex-extract-bib-entries-from-thebibliography)
5063 (reftex-get-bibkey-default, reftex-get-bib-names)
5064 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5065 (reftex-format-bib-entry, reftex-parse-bibitem)
5066 (reftex-format-bibitem, reftex-do-citation)
5067 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5068 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5069 (reftex-insert-bib-matches, reftex-format-citation)
5070 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5071 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5072 existing comments into docstrings.
5074 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5076 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5078 2013-06-12 Andreas Schwab <schwab@suse.de>
5080 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5081 for auto-save files.
5083 2013-06-12 Glenn Morris <rgm@gnu.org>
5085 * ido.el (ido-delete-ignored-files): Remove.
5086 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5087 Go back to calling ido-ignore-item-p directly.
5089 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5091 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5093 * ido.el (ido-delete-ignored-files): New function,
5094 split from ido-make-file-list-1.
5095 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5096 (ido-make-file-list-1): Use ido-delete-ignored-files.
5098 2013-06-12 Leo Liu <sdl.web@gmail.com>
5100 * progmodes/octave.el (inferior-octave-startup)
5101 (inferior-octave-completion-table)
5102 (inferior-octave-track-window-width-change)
5103 (octave-eldoc-function-signatures, octave-help)
5104 (octave-find-definition): Use single quoted strings.
5105 (inferior-octave-startup-args): Change default value.
5106 (inferior-octave-startup): Do not hard code "-i" and
5107 "--no-line-editing".
5108 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5109 (inferior-octave-directory-tracker): Use it.
5110 (octave-goto-function-definition): Robustify.
5111 (octave-help): Support highlighting operators in 'See also'.
5112 (octave-find-definition): Find subfunctions only in Octave mode.
5114 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * help-fns.el (help-fns--compiler-macro): If the handler function is
5117 named, then put a link to it.
5118 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5119 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5121 (cl-eval-when): Simplify debug spec.
5122 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5123 compiler-macro function instead of setting `compiler-macro-file'.
5125 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5127 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5128 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5130 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5131 Daniel Hackney <dan@haxney.org>
5133 First part of Daniel Hackney's patch to package.el.
5134 * emacs-lisp/package.el: Use defstruct.
5135 (package-desc): New, main struct.
5136 (package--bi-desc, package--ac-desc): New structs, used to describe the
5137 format in external files.
5138 (package-desc-vers): Replace with package-desc-version accessor.
5139 (package-desc-doc): Replace with package-desc-summary accessor.
5140 (package-activate-1): Remove `package' arg since the pkg-vec now
5142 (define-package): Use package-desc-from-define.
5143 (package-unpack-single): Change file-name arg to be a symbol.
5144 (package--add-to-archive-contents): Use package-desc-create and new
5145 accessor functions to package--ac-desc.
5146 (package-buffer-info, package-tar-file-info): Return a package-desc.
5147 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5148 arg to be a package-desc.
5149 (package-install-file): Adjust accordingly. Use \' to match EOS.
5150 (package--from-builtin): New function.
5151 (describe-package-1, package-menu--generate): Use it.
5152 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5153 (package-generate-autoloads): Idem and return the name of the file.
5154 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5155 Change pkg-info arg to be a package-desc.
5156 Use package-make-ac-desc.
5157 (package-upload-file): Use \' to match EOS.
5158 * finder.el (finder-compile-keywords): Use package-make-builtin.
5160 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * vc/vc.el (vc-deduce-fileset): Change error message.
5163 (vc-read-backend): New function.
5164 (vc-next-action): Use it.
5166 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5168 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5169 (prolog-font-lock-keywords): Use regexp-opt instead.
5170 Don't manually highlight strings.
5171 (prolog-mode-variables): Simplify comment-start-skip.
5172 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5174 * emacs-lisp/generic.el (generic--normalise-comments)
5175 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5176 (generic-mode-set-comments): Use them.
5177 (generic-bracket-support): Use setq-local.
5178 (generic-make-keywords-list): Declare obsolete.
5180 2013-06-11 Glenn Morris <rgm@gnu.org>
5182 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5183 Prettify after setting font-lock-defaults. (Bug#14574)
5185 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5187 * replace.el (query-replace, occur-read-regexp-defaults-function)
5189 * subr.el (declare-function, number-sequence, local-set-key)
5190 (substitute-key-definition, locate-user-emacs-file)
5191 (with-silent-modifications, split-string, eval-after-load):
5192 Fix typos, remove unneeded backslashes and reflow some docstrings.
5194 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5197 default for Elisp files.
5199 2013-06-11 Glenn Morris <rgm@gnu.org>
5201 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5202 although define-derived-mode was doing this anyway. (Bug#14583)
5204 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5206 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5207 Fix make-variable-buffer-local call to refer to the correct variable.
5209 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5211 * eshell/em-term.el (eshell-visual-commands)
5212 (eshell-visual-subcommands, eshell-visual-options):
5213 Add summary line to docstrings. Add cross-references.
5215 2013-06-10 Glenn Morris <rgm@gnu.org>
5217 * epa.el (epa-read-file-name): New function. (Bug#14510)
5218 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5220 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5222 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5223 output redirection to be ignored with visual commands.
5225 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5227 * eshell/em-term.el (eshell-visual-command-p): New function.
5228 (eshell-term-initialize): Move long lambda to separate function
5229 eshell-visual-command-p.
5230 * eshell/em-dirs.el (eshell-dirs-initialise):
5231 * eshell/em-script.el (eshell-script-initialize):
5232 Add missing #' to lambda.
5234 2013-06-08 Leo Liu <sdl.web@gmail.com>
5236 * progmodes/octave.el (octave-add-log-current-defun): New function.
5237 (octave-mode): Set add-log-current-defun-function.
5238 (octave-goto-function-definition): Do not move point if not found.
5239 (octave-find-definition): Enhance to try subfunctions first.
5241 2013-06-08 Glenn Morris <rgm@gnu.org>
5243 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5244 (byte-compile-backward-char, byte-compile-backward-word):
5245 Improve previous change, to handle non-explicit nil.
5247 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5249 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5250 (smie--opener/closer-at-point): New function.
5251 (smie--matching-block-data): Use it. Don't match from right after an
5252 opener or right before a closer. Obey smie-blink-matching-inners.
5253 Don't signal a mismatch for repeated inners like "switch..case..case".
5255 2013-06-07 Leo Liu <sdl.web@gmail.com>
5257 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5259 (octave-function-header-regexp): Fix. (Bug#14570)
5260 (octave-help-mode-finish-hook, octave-help-mode-finish):
5261 Remove. Just use temp-buffer-show-hook.
5263 * newcomment.el (comment-search-backward): Revert last change.
5266 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5268 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5270 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5271 through xargs, to avoid failure due to MS-Windows limitations on
5272 command-line length.
5274 2013-06-06 Glenn Morris <rgm@gnu.org>
5276 * font-lock.el (lisp-font-lock-keywords-2):
5277 Treat user-error like error.
5279 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5280 (byte-compile-backward-char, byte-compile-backward-word):
5281 Handle explicit nil arguments. (Bug#14565)
5283 2013-06-05 Alan Mackenzie <acm@muc.de>
5285 * isearch.el (isearch-allow-prefix): New user option.
5286 (isearch-other-meta-char): Don't exit isearch when a prefix
5287 argument is typed whilst `isearch-allow-prefix' is non-nil.
5290 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * autorevert.el (auto-revert-notify-handler): Use memq.
5293 Hide assertion failure.
5295 * skeleton.el: Use cl-lib.
5296 (skeleton-further-elements): Use defvar-local.
5297 (skeleton-insert): Use cl-progv.
5299 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5301 * progmodes/prog-mode.el (prog-prettify-symbols)
5302 (prog-prettify-install): Update docstrings.
5304 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * simple.el: Move all the prog-mode code to prog-mode.el.
5307 * progmodes/prog-mode.el: New file.
5308 * loadup.el: Add prog-mode.el.
5310 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5312 * simple.el (prog-prettify-symbols): Add version.
5313 (prog-prettify-install): Add convenience function to prettify symbols.
5315 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5316 (perl--augmented-font-lock-keywords-1)
5317 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5318 variables and use it.
5320 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5321 (cfengine3-mode): Remove unneeded variable and use it.
5323 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5324 (lisp--augmented-font-lock-keywords-1)
5325 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5326 Remove unneeded variables and use it.
5328 2013-06-05 João Távora <joaotavora@gmail.com>
5330 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5331 to point when opening the connection. (Bug#14380)
5333 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5335 * subr.el (load-history-regexp, load-history-filename-element)
5336 (eval-after-load, after-load-functions, do-after-load-evaluation)
5337 (eval-next-after-load, display-delayed-warnings)
5338 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5339 definition of save-match-data.
5340 (overriding-local-map): Remove accidental obsolescence declaration.
5342 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5344 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5346 Generalize symbol prettify support to prog-mode and implement it
5347 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5348 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5349 (prog--prettify-font-lock-compose-symbol)
5350 (prog-prettify-font-lock-symbols-keywords): New variables and
5351 functions to support symbol prettification.
5352 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5353 (lisp--augmented-font-lock-keywords-1)
5354 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5355 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5356 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5357 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5358 Implement prettify of -> => :: strings.
5359 * progmodes/perl-mode.el (perl-prettify-symbols)
5360 (perl--font-lock-compose-symbol)
5361 (perl--font-lock-symbols-keywords): Move to prog-mode.
5362 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5363 (perl-font-lock-keywords-1)
5364 (perl-font-lock-keywords-2): Remove explicit prettify support.
5365 (perl--augmented-font-lock-keywords)
5366 (perl--augmented-font-lock-keywords-1)
5367 (perl--augmented-font-lock-keywords-2, perl-mode):
5368 Implement prettify support.
5370 2013-06-05 Leo Liu <sdl.web@gmail.com>
5372 Re-implement smie matching block highlight using
5373 show-paren-data-function. (Bug#14395)
5374 * emacs-lisp/smie.el (smie-matching-block-highlight)
5375 (smie--highlight-matching-block-overlay)
5376 (smie--highlight-matching-block-lastpos)
5377 (smie-highlight-matching-block)
5378 (smie-highlight-matching-block-mode): Remove.
5379 (smie--matching-block-data-cache): New variable.
5380 (smie--matching-block-data): New function.
5381 (smie-setup): Use smie--matching-block-data for
5382 show-paren-data-function.
5384 * progmodes/octave.el (octave-mode-menu): Fix.
5385 (octave-find-definition): Skip garbage lines.
5387 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5389 Fix compilation error with simultaneous dynamic+lexical scoping.
5390 Add warning when a defvar appears after the first let-binding.
5391 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5392 (byte-compile-close-variables): Initialize it.
5393 (byte-compile--declare-var): New function.
5394 (byte-compile-file-form-defvar)
5395 (byte-compile-file-form-define-abbrev-table)
5396 (byte-compile-file-form-custom-declare-variable): Use it.
5397 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5398 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5399 (byte-compile-bind): Handle dynamic bindings that shadow
5401 (byte-compile-unbind): Make arg non-optional.
5402 (byte-compile-let): Simplify.
5403 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5404 (cconv--analyse-function, cconv-analyse-form): Populate it.
5405 Protect byte-compile-bound-variables to limit the scope of defvars.
5406 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5407 Remove unneeded rule for `declare'.
5409 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5410 so as to avoid depending on cl-adjoin at run-time.
5411 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5413 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5414 (macroexp--warn-and-return): Use it.
5416 2013-06-05 Leo Liu <sdl.web@gmail.com>
5418 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5420 2013-06-04 Leo Liu <sdl.web@gmail.com>
5422 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5423 (compilation-auto-jump): Suppress the "Mark set" message to give
5424 way to exit message.
5426 2013-06-04 Alan Mackenzie <acm@muc.de>
5428 Remove faulty optimisation from indentation calculation.
5429 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5430 search limit based on 2000 characters back from indent-point.
5432 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5434 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5436 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5438 * emacs-lisp/lisp.el: Use lexical-binding.
5439 (lisp--local-variables-1, lisp--local-variables): New functions.
5440 (lisp--local-variables-completion-table): New var.
5441 (lisp-completion-at-point): Use it complete let-bound vars.
5443 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5444 eagerly (bug#14422).
5446 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5448 * autorevert.el (auto-revert-notify-enabled)
5449 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5450 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5451 (auto-revert-notify-handler): Handle also gfilenotify.
5453 * subr.el (file-notify-handle-event): New defun. Replacing ...
5454 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5457 2013-06-03 Juri Linkov <juri@jurta.org>
5459 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5460 `M-s h .'. (Bug#14427)
5462 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5463 command `hi-lock-face-symbol-at-point'.
5464 (hi-lock-face-symbol-at-point): New command.
5465 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5466 (hi-lock-menu): Add `highlight-symbol-at-point'.
5467 (hi-lock-mode): Doc fix.
5469 * isearch.el (isearch-forward-symbol-at-point): New command.
5470 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5471 (isearch-highlight-regexp): Add a regexp which matches
5472 words/symbols for word/symbol mode.
5474 * subr.el (find-tag-default-bounds): New function with the body
5475 mostly moved from `find-tag-default'.
5476 (find-tag-default): Move most code to `find-tag-default-bounds',
5477 call it and apply `buffer-substring-no-properties' afterwards.
5479 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5481 * eshell/em-term.el (eshell-term-initialize):
5482 Use `cl-intersection' rather than `intersection'.
5484 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5486 * vc/log-view.el: Doc fix.
5487 (log-view-mode-map): Copy keymap from `special-mode-map'.
5489 2013-06-02 Eric Ludlam <zappo@gnu.org>
5491 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5492 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5493 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5494 (eieio-unbound, eieio-default-superclass)
5495 (eieio--define-field-accessors, method-static, method-before)
5496 (method-primary, method-after, method-num-lists)
5497 (method-generic-before, method-generic-primary)
5498 (method-generic-after, method-num-slots)
5499 (eieio-specialized-key-to-generic-key)
5500 (eieio--check-type, class-v, class-p)
5501 (eieio-class-name, define-obsolete-function-alias)
5502 (eieio-class-parents-fast, eieio-class-children-fast)
5503 (same-class-fast-p, class-constructor, generic-p)
5504 (generic-primary-only-p, generic-primary-only-one-p)
5505 (class-option-assoc, class-option, eieio-object-p)
5506 (class-abstract-p, class-method-invocation-order)
5507 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5508 (eieio-class-un-autoload, eieio-defclass)
5509 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5510 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5511 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5512 (eieio-defgeneric-reset-generic-form)
5513 (eieio-defgeneric-form-primary-only)
5514 (eieio-defgeneric-reset-generic-form-primary-only)
5515 (eieio-defgeneric-form-primary-only-one)
5516 (eieio-defgeneric-reset-generic-form-primary-only-one)
5517 (eieio-unbind-method-implementations)
5518 (eieio--defmethod, eieio--typep)
5519 (eieio-perform-slot-validation, eieio-validate-slot-value)
5520 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5521 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5522 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5523 (eieio-slot-name-index, eieio-class-slot-name-index)
5524 (eieio-set-defaults, eieio-initarg-to-attribute)
5525 (eieio-attribute-to-initarg, eieio-c3-candidate)
5526 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5527 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5528 (eieio-class-precedence-list, eieio-generic-call-methodname)
5529 (eieio-generic-call-arglst, eieio-generic-call-key)
5530 (eieio-generic-call-next-method-list)
5531 (eieio-pre-method-execution-functions, eieio-generic-call)
5532 (eieio-generic-call-primary-only, eieiomt-method-list)
5533 (eieiomt-optimizing-obarray, eieiomt-install)
5534 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5535 (eieio-generic-form, eieio-defmethod, make-obsolete)
5536 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5537 (defclass): Remove `eval-and-compile' from macro.
5538 (call-next-method, shared-initialize): Instead of using
5539 `scoped-class' variable, use new eieio--scoped-class, and
5540 eieio--with-scoped-class.
5541 (initialize-instance): Rename local variable 'scoped-class' to
5542 'this-class' to remove ambiguitity from old global.
5544 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5546 (eieio--scoped-class-stack): New variable.
5547 (eieio--scoped-class): New fcn.
5548 (eieio--with-scoped-class): New scoping macro.
5549 (eieio-defclass): Use pushnew instead of add-to-list.
5550 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5551 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5552 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5553 `scoped-class' variable, use new eieio--scoped-class, and
5554 eieio--with-scoped-class.
5556 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5558 2013-06-02 Tassilo Horn <tsdh@gnu.org>
5560 * eshell/esh-ext.el (eshell-external-command): Pass args to
5561 `eshell-find-interpreter'.
5562 (eshell-find-interpreter): Add new second parameter ARGS.
5564 * eshell/em-script.el (eshell-script-initialize): Add second arg
5565 to the function added as MATCH to `eshell-interpreter-alist'.
5567 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5568 the function added as MATCH to `eshell-interpreter-alist'.
5570 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5571 (eshell-visual-options): New defcustom.
5572 (eshell-escape-control-x): Adapt docstring.
5573 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5574 `eshell-visual-options' in addition to `eshell-visual-commands'.
5575 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5577 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5579 * progmodes/python.el (python-indent-block-enders): Add break,
5580 continue and raise keywords.
5582 2013-06-01 Glenn Morris <rgm@gnu.org>
5584 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5586 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5587 * progmodes/cc-cmds.el (delete-forward-p):
5588 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5589 * progmodes/cc-engine.el (buffer-syntactic-context):
5590 * progmodes/cc-fonts.el (face-property-instance):
5591 * progmodes/cc-mode.el (set-keymap-parents):
5592 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5593 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5594 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5595 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5596 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5598 * progmodes/cc-vars.el (other): Emacs has this widget since
5599 at least 21.1, so don't (re)define it.
5601 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5602 Replace the obsolete alias pcomplete-arg-quote-list.
5604 2013-06-01 Leo Liu <sdl.web@gmail.com>
5606 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5608 (inferior-octave-minimal-columns)
5609 (inferior-octave-last-column-width): New variables.
5610 (inferior-octave-track-window-width-change): New function.
5611 (inferior-octave-mode): Adjust column width so that Octave output,
5612 for example from 'ls', can fit into the window nicely.
5614 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5616 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5617 Highlight expansions inside regexp literals.
5619 2013-05-31 Glenn Morris <rgm@gnu.org>
5621 * obsolete/sym-comp.el (symbol-complete):
5622 Replace obsolete completion-annotate-function.
5624 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5626 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5628 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5629 New function, checks if point is inside a literal that allows
5630 expression expansion.
5631 (ruby-syntax-propertize-expansion): Use it.
5632 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5635 2013-05-30 Juri Linkov <juri@jurta.org>
5637 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5639 (isearch-invisible): New variable.
5640 (isearch-forward): Doc fix.
5641 (isearch-mode): Set `isearch-invisible'
5642 to the value of `search-invisible'.
5643 (isearch-toggle-case-fold): Doc fix.
5644 (isearch-toggle-invisible): New command.
5645 (isearch-query-replace): Let-bind `search-invisible'
5646 to the value of `isearch-invisible'.
5647 (isearch-search): Use `isearch-invisible' instead of
5648 `search-invisible'. Let-bind `search-invisible'
5649 to the value of `isearch-invisible'. (Bug#11378)
5651 2013-05-30 Juri Linkov <juri@jurta.org>
5653 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5654 call when `query-flag' is nil and `search-invisible' is non-nil.
5657 2013-05-30 Glenn Morris <rgm@gnu.org>
5659 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5661 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5662 (cc-require): Suppress spurious "noruntime" warnings.
5663 (cc-require-when-compile): Use fboundp, for sake of compiler.
5665 * progmodes/cc-mode.el: Move load of cc-vars before that of
5666 cc-langs (which in turn loads cc-vars), to quieten compiler.
5668 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5670 * paren.el: Simplify the code.
5671 (show-paren-mode): Always start the timer.
5672 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5673 (show-paren--overlay, show-paren--overlay-1): Rename from
5674 show-paren-overlay and show-paren-overlay-1, and initialize to an
5675 overlay rather than to nil.
5676 (show-paren-function): Misc cleanup and simplifications.
5678 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5680 * paren.el (show-paren-data-function): New hook.
5681 (show-paren--default): New function, extracted from show-paren-function.
5682 (show-paren-function): Use show-paren-data-function.
5684 2013-05-30 Glenn Morris <rgm@gnu.org>
5686 * ielm.el (ielm-map, ielm-complete-symbol):
5687 Use completion-at-point rather than obsolete functions.
5688 (inferior-emacs-lisp-mode): Doc fix.
5689 Set completion-at-point-functions, rather than
5690 comint-dynamic-complete-functions.
5692 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5693 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5694 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5696 * image.el (image-animated-p): Tweak definition.
5698 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5699 (rlogin-process-connection-type): Tweak default. Add set-after.
5700 (rlogin-host): Doc fix.
5701 (rlogin): Tweak prompt.
5702 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5704 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5705 * progmodes/tcl.el (inferior-tcl-mode-map):
5706 Use completion-at-point rather than obsolete alias.
5708 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5710 * minibuffer.el (read-file-name-completion-ignore-case):
5711 Move before completion--in-region, for eager macro expansion.
5713 2013-05-29 Juri Linkov <juri@jurta.org>
5715 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5716 for total count of matching lines. Add `global-matches' for total
5717 count of matches. Rename `matches' to `lines' for count of
5718 matching lines. Add `matches' for count of matches.
5719 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5720 to `prev-line' for line number of prev match endpt.
5721 Increment `matches' for every match. Print the number of
5722 matching lines in the header.
5723 (occur-context-lines): Rename `lines' to `curr-line'.
5724 Rename `prev-lines' to `prev-line'. (Bug#14017)
5726 2013-05-29 Juri Linkov <juri@jurta.org>
5728 * replace.el (perform-replace): Add `skip-read-only-count',
5729 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5730 Increment them for corresponding conditions and report the number
5731 of skipped occurrences in the final message. (Bug#11746)
5732 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5733 (replace-string, replace-regexp): Doc fix.
5735 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5737 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5739 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5740 prog-mode-map (bug#14504).
5742 2013-05-29 Leo Liu <sdl.web@gmail.com>
5744 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5745 (octave-help): Small simplification.
5747 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5748 off the highlight first.
5750 2013-05-29 Glenn Morris <rgm@gnu.org>
5752 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5753 Handle idlwave-last-system-routine-info-cons-cell being nil.
5755 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5756 (idlwave-write-paths): Simplify via with-temp-buffer.
5758 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5759 * emulation/cua-rect.el: Also load cua-base at run time.
5761 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5762 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5763 (cperl-imenu-on-info): Require imenu.
5765 2013-05-28 Alan Mackenzie <acm@muc.de>
5767 Handle "capitalised keywords" correctly.
5768 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5770 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5772 * eshell/em-unix.el: Add -r option to cp.
5774 2013-05-28 Glenn Morris <rgm@gnu.org>
5776 * vc/vc-arch.el (vc-exec-after): Declare.
5777 (vc-switches): Autoload.
5778 * vc/vc-bzr.el: No need to require vc when compiling.
5779 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5780 (vc-resynch-buffer, vc-dir-refresh): Declare.
5781 (vc-setup-buffer, vc-switches): Autoload.
5782 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5783 (vc-resynch-buffer): Declare.
5784 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5785 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5786 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5787 (grep-read-regexp, grep-read-files, grep-expand-template)
5788 (vc-dir-refresh): Declare.
5789 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5790 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5791 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5792 * vc/vc-mtn.el (vc-exec-after): Declare.
5793 (vc-switches): Autoload.
5794 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5795 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5796 (vc-file-tree-walk): Declare.
5797 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5798 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5799 (vc-tag-precondition, vc-rename-master): Autoload.
5800 * vc/vc-svn.el (vc-exec-after): Declare.
5801 (vc-switches, vc-setup-buffer): Autoload.
5802 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5804 (vc-resynch-buffer): Declare.
5806 * obsolete/fast-lock.el (byte-compile-warnings):
5807 Don't warn about obsolete features in this obsolete file.
5809 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5810 Move definition before use.
5812 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5813 (dun-unix-verbs): Remove dun-zippy.
5814 (dun-zippy): Remove function.
5816 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5818 2013-05-27 Juri Linkov <juri@jurta.org>
5820 * replace.el (replace-search): New function with code moved out
5821 from `perform-replace'.
5822 (replace-highlight, replace-dehighlight): Move function definitions
5823 up closer to `replace-search'. (Bug#11746)
5825 2013-05-27 Juri Linkov <juri@jurta.org>
5827 * replace.el (perform-replace): Ignore invisible matches.
5828 In addition to checking `query-replace-skip-read-only', also
5829 filter out matches by calling `run-hook-with-args-until-failure'
5830 on `isearch-filter-predicates', and also check `search-invisible'
5831 for t or call `isearch-range-invisible'.
5832 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5834 2013-05-27 Juri Linkov <juri@jurta.org>
5836 * isearch.el (isearch-filter-predicates): Rename from
5837 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5838 (isearch-message-prefix): Display text from the property
5839 `isearch-message-prefix' of the currently active filters.
5840 (isearch-search): Don't compare `isearch-filter-predicate' with
5841 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5842 on `isearch-filter-predicates'. Also check `search-invisible' for t
5843 or call `isearch-range-invisible'.
5844 (isearch-filter-visible): Make obsolete.
5845 (isearch-lazy-highlight-search):
5846 Call `run-hook-with-args-until-failure' on
5847 `isearch-filter-predicates' and use `isearch-range-invisible'.
5849 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5850 `isearch-filter-predicates' instead of `funcall'ing
5851 `isearch-filter-predicate'.
5852 (Info-mode): Set `Info-isearch-filter' to
5853 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5855 * dired-aux.el (dired-isearch-filter-predicate-orig):
5857 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5858 (dired-isearch-filenames-end): Add and remove
5859 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5860 instead of changing the value of `isearch-filter-predicate'.
5861 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5862 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5863 Put property `isearch-message-prefix' to "filename " on
5864 `dired-isearch-filter-filenames'.
5866 * wdired.el (wdired-change-to-wdired-mode):
5867 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5868 locally instead of changing `isearch-filter-predicate'.
5869 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5871 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5873 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5874 return the commit hash (Bug#14459). Also set the
5875 `vc-git-detached' property.
5876 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5877 (vc-git-mode-line-string): Use the same help-echo format whether
5878 in detached mode or not, because we know the actual revision now.
5879 When in detached mode, shorten the revision to 7 chars.
5881 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5883 * emacs-lisp/easy-mmode.el (define-minor-mode):
5884 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5885 mode hook and provide a docstring.
5887 2013-05-27 Alan Mackenzie <acm@muc.de>
5889 Remove spurious syntax-table text properties inserted by C-y.
5890 * progmodes/cc-mode.el (c-after-change): Also clear hard
5891 syntax-table property with value nil.
5893 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
5895 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5896 when reading the events; the buffer layout shall not be changed.
5898 2013-05-27 Leo Liu <sdl.web@gmail.com>
5900 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5902 (inferior-octave-directory-tracker): Automatically re-sync
5904 (octave-help): Improve handling of 'See also'.
5906 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5908 * doc-view.el: Minor naming convention tweaks.
5909 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5911 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5912 even if there's no `display' property yet (bug#14435).
5914 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5916 * subr.el (unmsys--file-name): Rename from reveal-filename.
5918 * Makefile.in (custom-deps, finder-data, autoloads)
5919 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5920 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5921 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5923 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5925 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5926 error-completion on the first 2 args of condition-case (bug#14446).
5929 2013-05-25 Leo Liu <sdl.web@gmail.com>
5931 * comint.el (comint-previous-matching-input): Do not flood the
5932 *Messages* buffer with trivial messages.
5934 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5936 * progmodes/flymake.el (flymake-nop): Don't return a string.
5937 (flymake-set-at): Fix typo.
5939 * simple.el (read--expression): New function, extracted from
5940 eval-expression. Set completion-at-point-functions (bug#14465).
5941 (eval-expression, eval-minibuffer): Use it.
5943 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5945 * progmodes/flymake.el (flymake-save-buffer-in-file)
5946 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5947 (flymake-selected-frame, flymake-log, flymake-ins-after)
5948 (flymake-set-at, flymake-get-buildfile-from-cache)
5949 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5950 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5951 Refine the doc string.
5952 (flymake-get-file-name-mode-and-masks): Reformat.
5953 (flymake-get-real-file-name-function): Fix a minor bug.
5955 2013-05-24 Juri Linkov <juri@jurta.org>
5957 * progmodes/grep.el (grep-mode-font-lock-keywords):
5958 Support =linenumber= format used by git-grep for lines with
5959 function names. (Bug#13549)
5961 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5964 0 after a semi-colon; it works better for smie-auto-fill.
5965 (octave--indent-new-comment-line): New function.
5966 (octave-indent-new-comment-line): Use it (indirectly).
5967 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5968 modify comment-line-break-function.
5970 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5971 (smie-setup): Use add-function to set it.
5973 2013-05-24 Sam Steingold <sds@gnu.org>
5975 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5976 argument (before the `interactive' argument).
5978 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5980 * image-mode.el (image-mode-winprops): Add winprops to
5981 image-mode-winprops-alist before running
5982 image-mode-new-window-functions.
5983 * doc-view.el (doc-view-new-window-function): Don't delay
5984 doc-view-goto-page via timers (bug#14435).
5986 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5988 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5989 (doc-view-desktop-save-buffer): New function.
5990 (doc-view-restore-desktop-buffer): New function.
5991 (desktop-buffer-mode-handlers):
5992 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5994 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5995 `desktop-save-buffer' function.
5997 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5999 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6000 (tramp-gvfs-file-name-handler): Raise a user error when
6001 `tramp-gvfs-enabled' is nil.
6002 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6003 Do not raise a user error when loading package. (Bug#14447)
6005 * net/xesam.el: Move to obsolete/.
6007 2013-05-24 Glenn Morris <rgm@gnu.org>
6009 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6011 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6013 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6014 (Info-find-node, Man-getpage-in-background): Declare.
6016 * mail/unrmail.el (unrmail):
6017 Replace obsolete detect-coding-with-priority.
6019 * net/socks.el (socks-split-string): Use this rather than split-string.
6020 (socks-nslookup-host): Update for above change.
6021 (dynamic-choice, s5-dynamic-choice-match)
6022 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6023 Comment out unused code.
6025 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6026 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6027 (gud-tooltip-echo-area): Make obsolete.
6028 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6030 * progmodes/js.el (js--optimize-arglist): Declare.
6032 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6034 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6035 (ediff-window-C): Declare.
6037 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6038 Tweak requires to silence compiler.
6040 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6041 (he-search-string, he-tried-table, he-expand-list)
6042 (he-init-string, he-string-member, he-substitute-string)
6043 (he-reset-string): Declare.
6045 * obsolete/options.el (list-options): Use custom-variable-p,
6046 rather than obsolete alias.
6048 2013-05-23 Sam Steingold <sds@gnu.org>
6050 * simple.el (shell-command-on-region): Pass the `replace' argument
6051 down to `call-process-region' to comply with the doc as reported on
6052 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6054 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6056 * emacs-lisp/smie.el (smie-indent-forward-token)
6057 (smie-indent-backward-token): Handle string tokens (bug#14381).
6059 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6061 * ielm.el (ielm-menu): New menu.
6062 (inferior-emacs-lisp-mode): Set comment-start.
6064 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6066 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6067 Fix deactivate action.
6069 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6070 Add cleveref macros.
6072 * lisp/textmodes/reftex-parse.el
6073 (reftex-locate-bibliography-files): Accept options for
6074 bibliography commands.
6075 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6076 Add addbibresource. Basic Biblatex support.
6078 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6080 * net/tramp-gvfs.el (top):
6081 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6082 when loading package. (Bug#14447)
6084 2013-05-23 Glenn Morris <rgm@gnu.org>
6086 * progmodes/js.el: No need to load comint when compiling.
6087 (ring-insert, comint-send-string, comint-send-input)
6088 (comint-last-input-end, ido-chop): Declare.
6090 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6091 * vc/ediff-mult.el: Adjust requires.
6092 (ediff-directories-internal, ediff-directory-revisions-internal)
6093 (ediff-patch-file-internal): Declare.
6094 * vc/ediff-ptch.el: Adjust requires.
6095 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6096 (ediff-find-file): Autoload.
6097 * vc/ediff-util.el: No need to load ediff when compiling.
6098 (ediff-regions-internal): Declare.
6099 * vc/ediff-wind.el: Adjust requires.
6100 (ediff-compute-toolbar-width): Define when compiling.
6101 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6102 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6103 (dired-get-filename, dired-get-marked-files)
6104 (ediff-last-dir-patch, ediff-patch-default-directory)
6105 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6106 (ediff-patch-buffer-internal): Declare.
6108 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6109 (ispell-process, ispell-buffer-local-words, lm-summary)
6110 (lm-section-start, lm-section-end): Declare.
6111 (checkdoc-ispell-init): Simplify.
6113 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6114 (he-string-member, he-reset-string, he-substitute-string): Declare.
6116 * eshell/em-ls.el: Adjust requires.
6117 (eshell-glob-regexp): Declare.
6118 * eshell/em-tramp.el: Adjust requires.
6119 (eshell-parse-command): Autoload.
6120 * eshell/em-xtra.el: Adjust requires.
6121 (eshell-parse-command): Autoload.
6122 * eshell/esh-ext.el: Adjust requires.
6123 (eshell-parse-command, eshell-close-handles): Autoload.
6124 * eshell/esh-io.el: Adjust requires.
6125 (eshell-output-filter): Autoload.
6126 * eshell/esh-util.el: No need to load tramp when compiling.
6127 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6129 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6130 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6131 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6132 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6133 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6134 * eshell/esh-opt.el, eshell/esh-proc.el:
6135 * eshell/esh-var.el: Adjust requires.
6136 * eshell/eshell.el: Do not require esh-util twice.
6137 (eshell-add-input-to-history): Declare.
6138 (eshell-command): Check history module is active before using it.
6140 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6142 2013-05-22 Leo Liu <sdl.web@gmail.com>
6144 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6146 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6148 * autorevert.el (auto-revert-notify-add-watch)
6149 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6150 it indicates changes in file modification time.
6152 2013-05-22 Glenn Morris <rgm@gnu.org>
6154 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6155 Always delete the autoloaded function from the noruntime and
6156 unresolved functions lists.
6158 * allout.el: No need to load epa, epg, overlay when compiling.
6159 (epg-context-set-passphrase-callback, epg-list-keys)
6160 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6161 (epg-key-user-id-list): Declare.
6163 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6164 (viper-set-parsing-style-toggling-macro)
6165 (viper-set-emacs-state-searchstyle-macros):
6166 Use called-interactively-p on Emacs.
6167 (viper-looking-back): Make it an obsolete alias. Update callers.
6168 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6169 Use looking-back rather than viper-looking-back.
6170 (viper-tmp-insert-at-eob, viper-enlarge-region)
6171 (viper-read-string-with-history, viper-register-to-point)
6172 (viper-append-to-register, viper-change-state-to-vi)
6173 (viper-backward-char-carefully, viper-forward-char-carefully)
6174 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6175 (viper-change-state-to-emacs): Declare.
6176 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6177 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6178 * emulation/viper-mous.el: Do not load viper-cmd.
6179 (viper-backward-char-carefully, viper-forward-char-carefully)
6180 (viper-forward-word, viper-adjust-window): Declare.
6182 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6184 * progmodes/idlw-help.el (idlwave-help-fontify):
6185 Use called-interactively-p.
6187 * term/w32console.el (w32-get-console-codepage)
6188 (w32-get-console-output-codepage): Declare.
6190 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6191 Remove unnecessary declarations.
6192 (dframe-message): Doc fix.
6194 * info.el (dframe-select-attached-frame, dframe-current-frame):
6197 * speedbar.el (speedbar-message): Make it an obsolete alias.
6199 (speedbar-with-attached-buffer)
6200 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6201 (speedbar-with-writable): Use backquote.
6202 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6203 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6204 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6205 rather than speedbar- aliases.
6206 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6207 (speedbar-make-specialized-keymap, speedbar-insert-button)
6208 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6209 (speedbar-do-function-pointer): Declare.
6210 (rmail-speedbar-button, rmail-speedbar-find-file)
6211 (rmail-speedbar-move-message):
6212 Use dframe-with-attached-buffer rather than speedbar- alias.
6213 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6214 (dframe-message, speedbar-make-specialized-keymap)
6215 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6216 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6217 (speedbar-insert-button, dframe-select-attached-frame)
6218 (dframe-maybee-jump-to-attached-frame)
6219 (speedbar-change-initial-expansion-list)
6220 (speedbar-previously-used-expansion-list-name): Declare.
6221 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6222 Use dframe-message, dframe-with-attached-buffer rather than
6224 (gud-sentinel): Silence compiler.
6225 * progmodes/vhdl-mode.el (speedbar-refresh)
6226 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6227 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6228 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6229 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6230 (speedbar-file-lists, speedbar-make-tag-line)
6231 (speedbar-line-directory, speedbar-goto-this-file)
6232 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6233 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6234 (speedbar-make-button, speedbar-reset-scanners)
6235 (speedbar-files-item-info, speedbar-line-text)
6236 (speedbar-find-file-in-frame, speedbar-set-timer)
6237 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6238 (speedbar-with-writable): Do not (re)define it.
6239 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6240 rather than speedbar- alias.
6242 2013-05-21 Leo Liu <sdl.web@gmail.com>
6244 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6246 (octave-mode): Tweak fill-nobreak-predicate.
6247 (inferior-octave-startup): Check process to avoid infinite loop.
6248 (inferior-octave): Pop to buffer first to show abornmal process
6251 2013-05-21 Glenn Morris <rgm@gnu.org>
6253 * printing.el (pr-menu-bar): Define when compiling.
6255 2013-05-21 Leo Liu <sdl.web@gmail.com>
6257 * progmodes/octave.el (octave-auto-fill): Remove.
6258 (octave-indent-new-comment-line): Improve.
6259 (octave-mode): Use auto fill mode through
6260 comment-line-break-function and fill-nobreak-predicate.
6261 (octave-goto-function-definition): Support DEFUN_DLD.
6262 (octave-beginning-of-defun): Small tweak.
6263 (octave-help): Show parent directory.
6265 2013-05-21 Glenn Morris <rgm@gnu.org>
6267 * files.el (dired-unmark):
6268 * progmodes/gud.el (gdb-input): Update declarations.
6270 * calculator.el (electric, ehelp): No need to load when compiling.
6271 (Electric-command-loop, electric-describe-mode): Declare.
6273 * doc-view.el (doc-view-current-converter-processes): Move before use.
6275 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6276 Move MODE-set-explicitly definition before use.
6278 * international/mule-diag.el (mule-diag):
6279 Don't use obsolete window-system-version.
6281 * mail/feedmail.el (smtpmail): No need to load when compiling.
6282 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6284 * mail/mail-utils.el (rfc822): No need to load when compiling.
6285 (rfc822-addresses): Autoload it.
6286 (mail-strip-quoted-names): Trivial simplification.
6288 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6289 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6291 * net/snmp-mode.el (tempo): Don't duplicate requires.
6293 * progmodes/prolog.el (info): No need to load when compiling.
6294 (comint): Require before shell requires it.
6295 (Info-goto-node): Autoload it.
6296 (Info-follow-nearest-node): Declare.
6297 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6299 * textmodes/artist.el (picture-mode-exit): Declare.
6301 * textmodes/reftex-parse.el (reftex-parse-from-file):
6302 Trivial rewrite so the compiler can parse it better.
6304 2013-05-20 Leo Liu <sdl.web@gmail.com>
6306 * progmodes/octave.el (octave-help-mode-map)
6307 (octave-help-mode-finish-hook): New variables.
6308 (octave-help-mode, octave-help-mode-finish): New functions.
6309 (octave-help): Use octave-help-mode.
6311 2013-05-20 Glenn Morris <rgm@gnu.org>
6313 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6315 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6317 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6318 start at point, so that expansion starting right after opening
6319 slash in a regexp is recognized.
6320 (ruby-syntax-before-regexp-re): New defvar, extracted from
6321 ruby-syntax-propertize-function. Since the value of this regexp
6322 is looked up at runtime now, we should be able to turn
6323 `ruby-syntax-methods-before-regexp' into a defcustom later.
6324 (ruby-syntax-propertize-function): Split regexp matching into two
6325 parts, for opening and closing slashes. That allows us to skip
6326 over string interpolations and support multiline regexps.
6327 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6328 for them, which calls `ruby-syntax-propertize-expansion'.
6329 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6330 call to `ruby-syntax-propertize-function'.
6331 (ruby-syntax-propertize-expansion): Extracted from
6332 `ruby-syntax-propertize-expansions'. Handles one expansion.
6333 (ruby-syntax-propertize-percent-literal): Leave point right after
6334 the percent symbol, so that the expression expansion rule can
6335 propertize the contents.
6336 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6338 (ruby-syntax-propertize-expansions): Remove.
6340 2013-05-18 Juri Linkov <juri@jurta.org>
6342 * man.el (Man-default-man-entry): Remove `-' from the end
6343 of the default value. (Bug#14400)
6345 2013-05-18 Glenn Morris <rgm@gnu.org>
6347 * comint.el (comint-password-prompt-regexp):
6348 Allow "password for XXX" where XXX contains colons (eg https://...).
6350 2013-05-18 Leo Liu <sdl.web@gmail.com>
6352 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6353 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6354 (octave-source-directories): Don't check process.
6355 (octave-source-directories, octave-find-definition): Doc fix.
6357 2013-05-18 Glenn Morris <rgm@gnu.org>
6359 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6360 Remove backspace/delete bindings. (Bug#14392)
6362 * cus-dep.el (custom-make-dependencies): Sort the output.
6363 (custom-versions-load-alist): Convert comment to doc.
6365 2013-05-17 Leo Liu <sdl.web@gmail.com>
6367 * newcomment.el (comment-search-backward): Stricter in finding
6368 comment start. (Bug#14303)
6370 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6371 (octave-comment-start-skip): Properly anchored.
6373 2013-05-17 Leo Liu <sdl.web@gmail.com>
6375 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6376 Clean up when turned off. (Bug#14395)
6377 (smie--highlight-matching-block-overlay): No longer buffer-local.
6378 (smie-highlight-matching-block): Adjust.
6380 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6382 Doc string fix for "nanoseconds" (Bug#14406).
6383 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6384 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6386 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6388 * calc/calc-units.el (math-extract-units): Preserve powers
6391 2013-05-17 Leo Liu <sdl.web@gmail.com>
6393 * subr.el (delete-consecutive-dups): New function.
6394 * ido.el (ido-set-matches-1): Use it.
6395 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6396 * ido.el (ido-remove-consecutive-dups): Remove.
6398 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6400 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6401 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6402 regexp-opt's `words'.
6404 2013-05-16 Leo Liu <sdl.web@gmail.com>
6406 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6407 (smie--highlight-matching-block-overlay)
6408 (smie--highlight-matching-block-lastpos)
6409 (smie--highlight-matching-block-timer): New variables.
6410 (smie-highlight-matching-block): New function.
6411 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6412 (smie-setup): Conditionally enable smie-blink-matching-open.
6414 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6416 Sync with upstream verilog-mode r840.
6417 * progmodes/verilog-mode.el (verilog-mode-version)
6418 (verilog-mode-release-date): Update.
6419 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6420 (verilog-sig-tieoff): Fix string error on
6421 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6422 (verilog-read-decls): Fix parameters confusing
6423 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6425 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6427 * subr.el (reveal-filename): New function.
6429 * loadup.el: Compute Emacs executable versions on MS-Windows,
6430 where executables have the .exe extension. Add a hard link
6431 emacs-XX.YY.ZZ.exe on MS-Windows.
6433 * Makefile.in (XARGS_LIMIT): New variable.
6434 (custom-deps, finder-data, autoloads)
6435 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6436 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6437 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6438 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6440 2013-05-16 Leo Liu <sdl.web@gmail.com>
6442 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6443 (octave-mode-menu, octave-mode-map): Remove its uses.
6445 2013-05-16 Reto Zimmermann <reto@gnu.org>
6447 Sync with upstream vhdl mode v3.34.2.
6448 * progmodes/vhdl-mode.el: Use `push' throughout.
6449 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6450 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6451 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6452 (vhdl-actual-generic-name): New option to derive actual generic name.
6453 (vhdl-port-paste-signals): Replace formal by actual generics.
6454 (vhdl-beautify): New name for old group vhdl-align. Update users.
6455 (vhdl-beautify-options): New option.
6456 (vhdl-last-input-event): New compat alias. Use throughout.
6457 (vhdl-goto-line): Replace user level function `goto-line'.
6458 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6459 vhdl-fix-statement-buffer.
6460 (vhdl-create-mode-menu): Add some entries.
6461 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6462 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6463 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6464 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6465 to force statements on one line.
6466 (vhdl-remove-trailing-spaces-region):
6467 New, split from vhdl-remove-trailing-spaces.
6468 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6469 Respect vhdl-beautify-options.
6470 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6471 (vhdl-update-sensitivity-list): Not add with index if exists without.
6472 Not include array index with signal. Ignore keywords in comments.
6473 (vhdl-get-visible-signals): Regexp tweaks.
6474 (vhdl-template-component-inst): Handle empty library.
6475 (vhdl-template-type): Add template for 'enum' type.
6476 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6477 Use vhdl-replace-string.
6478 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6479 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6480 (vhdl-speedbar-initialize): Update for above name change.
6481 (vhdl-compose-wire-components): Fix in handling of constants.
6482 (vhdl-error-regexp-emacs-alist): New variable.
6483 (vhdl-error-regexp-add-emacs): New function;
6484 adds support for new compile.el (Emacs 22+)
6485 (vhdl-generate-makefile-1): Change target order for single lib. units.
6486 Allow use of absolute file names.
6488 2013-05-16 Leo Liu <sdl.web@gmail.com>
6490 * simple.el (prog-indent-sexp): Indent enclosing defun.
6492 2013-05-15 Glenn Morris <rgm@gnu.org>
6494 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6495 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6496 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6497 (whitespace-highlight): Move to whitespace group.
6499 * comint.el (comint-source):
6500 * pcmpl-linux.el (pcmpl-linux):
6501 * shell.el (shell-faces):
6502 * eshell/esh-opt.el (eshell-opt):
6503 * international/ccl.el (ccl): Remove empty custom groups.
6505 * completion.el (dynamic-completion-mode):
6506 * jit-lock.el (jit-lock-debug-mode):
6507 * minibuffer.el (completion-in-region-mode):
6508 * type-break.el (type-break-mode-line-message-mode)
6509 (type-break-query-mode):
6510 * emulation/tpu-edt.el (tpu-edt-mode):
6511 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6512 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6513 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6515 * term/xterm.el (xterm): Change parent group to terminals.
6517 * master.el (master): Remove empty custom group.
6518 (master-mode): Remove unused :group argument.
6519 * textmodes/refill.el (refill): Remove empty custom group.
6520 (refill-mode): Remove unused :group argument.
6522 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6524 * cus-dep.el: Provide a feature.
6525 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6526 Don't mistakenly ignore files whose basenames match a basename
6527 from preloaded-file-list (eg cedet/ede/simple.el).
6528 Add a fallback method for getting :group.
6530 2013-05-15 Juri Linkov <juri@jurta.org>
6532 * isearch.el (isearch-char-by-name): Rename from
6533 `isearch-insert-char-by-name'. Doc fix.
6534 (isearch-forward): Mention `isearch-char-by-name' in
6535 the docstring. (Bug#13348)
6537 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6538 `exit-minibuffer' instead of
6539 `isearch-nonincremental-exit-minibuffer'.
6540 (isearch-edit-string): Remove mention of
6541 `isearch-nonincremental-exit-minibuffer' from docstring.
6542 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6543 (isearch-forward-exit-minibuffer)
6544 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6546 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * loadup.el: Just use unversioned DOC.
6550 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6551 literals as extending to EOB.
6552 (nxml-last-fontify-end): Remove unused variable.
6553 (nxml-after-change1): Use with-silent-modifications.
6554 (nxml-extend-after-change-region): Simplify.
6555 (nxml-extend-after-change-region1): Remove function.
6556 (nxml-after-change1): Don't adjust for dependent regions.
6557 (nxml-fontify-matcher): Simplify.
6558 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6559 (xmltok-add-dependent): Remove function.
6560 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6561 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6562 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6563 unclosed <[[, <?, comment, and other literals as extending to EOB.
6564 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6565 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6567 (rng-do-some-validation-1): Don't mark dependent regions.
6568 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6569 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6570 (nxml-clear-dependent-regions): Remove functions.
6571 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6572 (nxml-ensure-scan-up-to-date):
6573 Don't clear&mark dependent regions.
6575 2013-05-15 Leo Liu <sdl.web@gmail.com>
6577 * progmodes/octave.el (octave-goto-function-definition):
6578 Improve and fix callers.
6580 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6582 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6583 the setter (bug#14387).
6585 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6586 surrounding group (bug#14402).
6588 2013-05-14 Juri Linkov <juri@jurta.org>
6590 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6593 2013-05-14 Glenn Morris <rgm@gnu.org>
6595 * progmodes/f90.el (f90-imenu-generic-expression):
6596 Fix typo in 2013-05-08 change. (Bug#14402)
6598 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6600 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6601 Remove signals for which replies are never received.
6603 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6605 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6606 (gdb-handler-alist, gdb-handler-number): Remove variables.
6607 (gdb-handler-list): New variable.
6608 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6609 (gdb-pending-handler-p, gdb-handle-reply)
6610 (gdb-remove-all-pending-triggers): New functions.
6611 (gdb-discard-unordered-replies): New defcustom.
6612 (gdb-handler): New defstruct.
6613 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6614 instead of gdb-pending-triggers. Update docstring.
6615 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6616 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6617 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6618 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6619 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6620 (gdb-frame-handler): Pending triggers are now automatically managed.
6621 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6623 (gdb-input): Automatically handles pending triggers. Update docstring.
6624 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6625 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6627 (gdb-done-or-error): Now use gdb-handle-reply.
6629 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6631 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6634 2013-05-14 Glenn Morris <rgm@gnu.org>
6636 * subr.el (user-emacs-directory-warning): New option.
6637 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6639 2013-05-14 Leo Liu <sdl.web@gmail.com>
6641 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6643 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6644 (octave-font-lock-texinfo-comment): Fix invalid search bound
6645 error: wrong side of point.
6647 2013-05-14 Glenn Morris <rgm@gnu.org>
6649 * progmodes/flymake.el (flymake-xml-program): New option.
6650 (flymake-xml-init): Use it.
6652 * term/xterm.el: Provide a feature.
6654 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6656 2013-05-13 Glenn Morris <rgm@gnu.org>
6658 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6659 Add compat aliases as a hack workaround. (Bug#14384)
6661 2013-05-13 Leo Liu <sdl.web@gmail.com>
6663 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6665 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6667 (octave-comment-start-skip): Include %!.
6668 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6670 2013-05-12 Leo Liu <sdl.web@gmail.com>
6672 * progmodes/octave.el (inferior-octave-startup): Store the value
6673 of __octave_srcdir__ for octave-source-directories.
6674 (inferior-octave-check-process): New function refactored out of
6675 inferior-octave-send-list-and-digest.
6676 (octave-source-directories)
6677 (octave-find-definition-filename-function): New variables.
6678 (octave-source-directories)
6679 (octave-find-definition-default-filename): New functions.
6680 (octave-find-definition): Improve to find functions implemented in C++.
6682 2013-05-12 Glenn Morris <rgm@gnu.org>
6684 * calendar/diary-lib.el (diary-outlook-format-1):
6685 Don't include dayname in the output. (Bug#14349)
6687 2013-05-11 Glenn Morris <rgm@gnu.org>
6689 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6691 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6692 Treat cc-provide like provide.
6694 2013-05-11 Kevin Ryde <user42@zip.com.au>
6696 * cus-dep.el (custom-make-dependencies):
6697 Use generated-autoload-load-name for the sake of files such
6698 such cedet/semantic/bovine/c.el, where the base file name
6699 is not in load-path. (Bug#5277)
6701 2013-05-11 Glenn Morris <rgm@gnu.org>
6703 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6706 2013-05-11 Leo Liu <sdl.web@gmail.com>
6708 * progmodes/octave.el (octave-indent-comment): Improve.
6709 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6710 (octave-eldoc-function-signatures, octave-eldoc-function):
6712 (octave-mode, inferior-octave-mode): Add eldoc support.
6714 2013-05-11 Richard Stallman <rms@gnu.org>
6716 * epa.el (epa-decrypt-file): Take output file name as argument
6717 and read it using `interactive'.
6719 2013-05-11 Leo Liu <sdl.web@gmail.com>
6721 * progmodes/octave.el (octave-beginning-of-line)
6722 (octave-end-of-line): Check before using up-list because it jumps
6723 out of more syntactic contructs since moving to smie.
6724 (octave-indent-comment): New function.
6725 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6726 (octave-begin-keywords, octave-end-keywords)
6727 (octave-reserved-words, octave-smie-bnf-table)
6728 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6730 2013-05-11 Glenn Morris <rgm@gnu.org>
6732 * faces.el (internal-face-x-get-resource):
6733 * frame.el (ns-display-monitor-attributes-list):
6734 * calc/calc-aent.el (math-to-radians-2):
6735 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6738 * calc/calc-menu.el: Make it loadable in isolation.
6740 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6741 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6742 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6743 (eudc-bbdb-query-internal): Require 'bbdb.
6745 * lpr.el (lpr-headers-switches):
6746 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6748 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6750 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6752 * term.el (term-set-escape-char): Make it idempotent.
6754 2013-05-10 Leo Liu <sdl.web@gmail.com>
6756 * progmodes/octave.el (inferior-octave-completion-table):
6757 No longer a function and all uses changed. Use cache to speed up
6758 completion due to bug#11906.
6759 (octave-beginning-of-defun): Re-write to be more general.
6761 2013-05-10 Glenn Morris <rgm@gnu.org>
6763 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6765 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6767 * comint.el (comint-redirect-send-command-to-process): Use :around
6768 rather than :override for comint-redirect-filter.
6769 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6770 Call it instead of comint-redirect-original-filter-function (which
6771 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6773 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6775 * frame.el (display-monitor-attributes-list): Add NS case.
6776 (ns-display-monitor-attributes-list): Declare.
6778 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6780 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6782 2013-05-09 Glenn Morris <rgm@gnu.org>
6784 * international/fontset.el (vertical-centering-font-regexp):
6787 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6789 * bookmark.el (bookmark-search-delay):
6790 * cus-start.el (vertical-centering-font-regexp):
6791 * ps-mule.el (ps-mule-font-info-database-default):
6792 * ps-print.el (ps-default-fg, ps-default-bg):
6793 * type-break.el (type-break-good-break-interval):
6794 * whitespace.el (whitespace-indentation-regexp)
6795 (whitespace-space-after-tab-regexp):
6796 * emacs-lisp/testcover.el (testcover-1value-functions)
6797 (testcover-noreturn-functions, testcover-progn-functions)
6798 (testcover-prog1-functions):
6799 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6800 * eshell/em-glob.el (eshell-glob-translate-alist):
6801 * play/tetris.el (tetris-tty-colors):
6802 * progmodes/cpp.el (cpp-face-default-list):
6803 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6804 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6805 (idlwave-help-browser-generic-args):
6806 * progmodes/make-mode.el (makefile-special-targets-list):
6807 * progmodes/python.el (python-shell-virtualenv-path):
6808 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6809 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6810 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6811 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6812 * textmodes/reftex-vars.el (reftex-format-label-function):
6813 * textmodes/remember.el (remember-diary-file): Fix custom types.
6815 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6818 2013-05-09 Leo Liu <sdl.web@gmail.com>
6820 * progmodes/octave.el (inferior-octave-completion-at-point):
6821 Restore file completion. (Bug#14300)
6822 (inferior-octave-startup): Fix incorrect highlighting for the
6825 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6827 * progmodes/ruby-mode.el: First cut at SMIE support.
6828 (ruby-use-smie): New var.
6829 (ruby-smie-grammar): New constant.
6830 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6831 (ruby-smie--forward-token, ruby-smie--backward-token)
6832 (ruby-smie-rules): New functions.
6833 (ruby-mode-variables): Setup SMIE if applicable.
6835 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6837 * simple.el (line-move-visual): Signal beginning/end of buffer
6838 only if vertical-motion moved less than it was requested. Avoids
6839 silly incorrect error messages when there are display strings with
6840 multiple newlines at EOL.
6842 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6845 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6846 (prolog-char-quote-workaround):
6847 * progmodes/cperl-mode.el (cperl-under-as-char):
6848 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6850 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6852 (vhdl-mode-syntax-table-init): Remove.
6854 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6857 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6859 (ld-script-font-lock-keywords):
6860 Change regexps to use things like \_< and \_>.
6862 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6863 Change all regexps to use things like \_< and \_>.
6865 * progmodes/autoconf.el (autoconf-definition-regexp)
6866 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6867 Handle a _ with symbol syntax.
6868 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6870 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6871 Consolidate declaration.
6872 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6874 (ada-create-syntax-table): Remove.
6875 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6876 already has the right syntax nowadays.
6877 (ada-goto-next-word): Don't change the syntax of "_".
6879 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6882 2013-05-08 Sam Steingold <sds@gnu.org>
6884 * thingatpt.el (thing-at-point): Accept optional second argument
6885 NO-PROPERTIES to strip the text properties from the return value.
6886 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6887 to `thing-at-point' instead of stripping the properties ourselves.
6888 Also, when `thing-at-point' fails to find a url, prepend "http://"
6889 to the filename at point on the assumption that the user is
6890 pointing at something like gnu.org/gnu.
6892 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
6894 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6895 * faces.el (crm-separator):
6896 Silence byte-compiler.
6898 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6899 (tool-bar-map): Remove unneeded defvars.
6901 2013-05-08 Leo Liu <sdl.web@gmail.com>
6903 Re-work a fix for bug#10994 based on Le Wang's patch.
6904 * ido.el (ido-remove-consecutive-dups): New helper.
6905 (ido-completing-read): Use it.
6906 (ido-chop): Revert fix for bug#10994.
6908 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6910 * cus-edit.el (custom-save-variables):
6911 Pretty-print long values. (Bug#14187)
6913 2013-05-08 Glenn Morris <rgm@gnu.org>
6915 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6916 (m4-mode-syntax-table): Init in the defvar.
6917 (m4-mode-abbrev-table): Let define-derived-mode define it.
6919 2013-05-08 Tom Tromey <tromey@redhat.com>
6921 * progmodes/m4-mode.el (m4-mode-syntax-table):
6922 Do not treat "_" as word constituent. (Bug#14167)
6924 2013-05-07 Glenn Morris <rgm@gnu.org>
6926 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6927 Remove explicit eshell-isearch-cancel-map.
6929 * progmodes/f90.el (f90-smart-end-names): New option.
6930 (f90-smart-end): Doc fix.
6931 (f90-end-block-optional-name): New constant.
6932 (f90-block-match): Respect f90-smart-end-names.
6934 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6936 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6937 about implicit semi-colons (bug#14218).
6939 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6941 * frame.el (display-monitor-attributes-list)
6942 (frame-monitor-attributes): New functions.
6944 2013-05-06 Leo Liu <sdl.web@gmail.com>
6946 * progmodes/octave.el (octave-syntax-propertize-function): Change
6947 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6948 (octave-font-lock-keywords): Use octave-operator-regexp.
6949 (octave-completion-at-point): Rename from
6950 octave-completion-at-point-function.
6951 (inferior-octave-directory-tracker): Robustify.
6952 (octave-text-functions): Remove and fix its uses. No such things
6955 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6957 * emacs-lisp/trace.el (trace--display-buffer): New function.
6958 (trace-make-advice): Use it.
6960 2013-05-06 Juri Linkov <juri@jurta.org>
6962 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6963 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6965 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6966 in the help string. (Bug#12985)
6968 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6970 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6972 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6974 * progmodes/perl-mode.el: Add support for here documents.
6975 (perl-syntax-propertize-function): Match here-doc markers.
6976 (perl-syntax-propertize-special-constructs): Find their end.
6977 (perl-imenu-generic-expression): Use [:alnum:].
6979 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6980 (advice--add-function): Refresh the advice if already present
6983 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6985 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6987 2013-05-06 Glenn Morris <rgm@gnu.org>
6989 * w32-fns.el (w32-charset-info-alist): Declare.
6991 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6992 of its defcustom properties.
6993 (eshell-cmpl-initialize): No need to load pcomplete.
6995 * generic-x.el: No need to require comint when compiling.
6997 * net/eudc-export.el: Make it loadable without bbdb.
6998 (top-level): Use require rather than load-library.
6999 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7000 (eudc-batch-export-records-to-bbdb)
7001 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7004 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7007 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7008 some tweaks, instead.
7010 2013-05-05 Leo Liu <sdl.web@gmail.com>
7012 * progmodes/octave.el (octave-font-lock-keywords)
7013 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7014 (inferior-octave-send-list-and-digest): Improve error message.
7015 (octave-mode, inferior-octave-mode): Use setq-local.
7016 (octave-help): Set info-lookup-mode.
7018 2013-05-05 Richard Stallman <rms@gnu.org>
7020 * vc/compare-w.el (compare-windows-whitespace):
7021 Treat no-break space as whitespace.
7023 * mail/rmailsum.el (rmail-summary-rmail-update):
7024 Detect empty summary and don't change selected message.
7025 (rmail-summary-goto-msg): Likewise.
7027 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7028 Doc fixes, rename args.
7030 2013-05-05 Alan Mackenzie <acm@muc.de>
7032 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7034 2013-05-05 Juri Linkov <juri@jurta.org>
7036 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7037 to not add the length of the summary segment to the return value.
7040 2013-05-05 Leo Liu <sdl.web@gmail.com>
7042 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7043 (inferior-octave-output-filter): Remove.
7044 (octave-send-region, inferior-octave-startup): Fix callers.
7045 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7046 (octave-binary-file-extensions): New user variable.
7047 (octave-find-definition): Confirm if opening binary files.
7048 (octave-help-file): Use octave-find-definition to get the binary
7050 (octave-help): Adjust for octave-help-file change.
7052 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7054 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7055 Merge the two entries that handle function definitions.
7056 (pascal--syntax-propertize): New const.
7057 (pascal-mode): Use it. Use setq-local.
7059 2013-05-04 Glenn Morris <rgm@gnu.org>
7061 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7062 (diary-from-outlook): Respect diary-from-outlook-function.
7064 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7066 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7067 Move the declaration from C.
7068 (read-minibuffer, eval-minibuffer): Move from C.
7069 (completion-setup-function): Avoid minibuffer-completion-contents.
7071 2013-05-03 Leo Liu <sdl.web@gmail.com>
7073 * progmodes/octave.el (octave-font-lock-keywords): Do not
7074 dehighlight 'end' in comments or strings.
7075 (octave-completing-read, octave-goto-function-definition):
7077 (octave-help-buffer): New user variable.
7078 (octave-help-file, octave-help-function): New button types.
7079 (octave-help): New command and bind it to C-h ;.
7080 (octave-find-definition): New command and bind it to M-.
7081 (user-error): Alias to error if not defined.
7083 2013-05-02 Leo Liu <sdl.web@gmail.com>
7085 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7087 (octave-font-lock-keywords): Include [ and {.
7089 2013-05-02 Leo Liu <sdl.web@gmail.com>
7091 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7092 (inferior-octave): Remove calling comint-mode and return the buffer.
7093 (inferior-octave-startup): Cosmetic changes.
7095 2013-05-02 Leo Liu <sdl.web@gmail.com>
7097 * progmodes/octave.el (octave-syntax-propertize-function):
7098 Include the case when ' is at line beginning. (Bug#14336)
7100 2013-05-02 Glenn Morris <rgm@gnu.org>
7102 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7103 * desktop.el (vc-dir-mode): Just autoload it here.
7105 2013-05-02 Alan Mackenzie <acm@muc.de>
7107 Eliminate variable c-standard-font-lock-fontify-region-function.
7108 * progmodes/cc-mode.el
7109 (c-standard-font-lock-fontify-region-function): Remove.
7110 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7112 2013-05-01 Leo Liu <sdl.web@gmail.com>
7114 * progmodes/octave.el: Compatible with older emacs-24 releases.
7115 (inferior-octave-has-built-in-variables): Remove. Built-in
7116 variables were removed from Octave in 2007.
7117 (inferior-octave-startup): Fix uses.
7118 (comint-line-beginning-position): Remove compatibility code for
7121 2013-05-01 Juri Linkov <juri@jurta.org>
7123 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7125 2013-05-01 Juri Linkov <juri@jurta.org>
7127 * comint.el (comint-previous-matching-input): Don't print message
7128 "History item: %d" when `isearch-mode' is active.
7129 (comint-history-isearch-message): Print message "History item: %d"
7130 when `comint-input-ring-index' is not empty and this function is
7131 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7133 2013-05-01 Leo Liu <sdl.web@gmail.com>
7135 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7136 definitions. Use completion-at-point to insert keywords.
7137 (octave-abbrev-start): Remove.
7138 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7140 2013-04-30 Leo Liu <sdl.web@gmail.com>
7142 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7145 2013-04-30 Alan Mackenzie <acm@muc.de>
7147 Handle arbitrarily long C++ member initialisation lists.
7148 * progmodes/cc-engine.el (c-back-over-member-initializers):
7150 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7151 (most) member init lists.
7153 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7155 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7158 2013-04-30 Leo Liu <sdl.web@gmail.com>
7160 * progmodes/octave.el (octave-variables): Remove. No builtin
7161 variables any more. All converted to functions.
7162 (octave-font-lock-keywords, octave-completion-at-point-function):
7164 (octave-font-lock-texinfo-comment): New user variable.
7165 (octave-texinfo-font-lock-keywords): New variable for texinfo
7167 (octave-function-comment-block): New face.
7168 (octave-font-lock-texinfo-comment): New function.
7169 (octave-mode): Font lock texinfo comment block.
7171 2013-04-29 Leo Liu <sdl.web@gmail.com>
7173 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7174 indexing expression.
7175 (octave-continuation-string): Do not use \.
7176 (inferior-octave-complete-impossible): Remove.
7177 (inferior-octave-completion-table)
7178 (inferior-octave-completion-at-point): Remove its uses.
7179 (inferior-octave-startup): completion_matches was introduced to
7180 Octave in 1996 so safe to assume it.
7181 (octave-function-file-comment): Improve to follow how Octave does it.
7182 (octave-update-function-file-comment): Tweak.
7184 2013-04-29 Leo Liu <sdl.web@gmail.com>
7186 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7187 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7188 (octave-function-file-comment): Fix typo.
7189 (octave-sync-function-file-names): Use read-char-choice.
7191 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7193 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7194 to t for the less important warnings.
7196 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7198 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7200 2013-04-27 Glenn Morris <rgm@gnu.org>
7202 * vc/log-view.el (log-view-current-entry):
7203 Treat "---" separator lines as part of the following rev. (Bug#14169)
7205 2013-04-27 Juri Linkov <juri@jurta.org>
7207 * subr.el (read-number): Doc fix about using it by interactive
7208 code letter `n'. (Bug#14254)
7210 2013-04-27 Juri Linkov <juri@jurta.org>
7212 * desktop.el (desktop-auto-save-timeout): New option.
7213 (desktop-file-checksum): New variable.
7214 (desktop-save): Add optional arg `auto-save' and don't auto-save
7216 (desktop-auto-save-timer): New variable.
7217 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7218 (after-init-hook): Call `desktop-auto-save-set-timer'.
7219 Suggested by Reuben Thomas <rrt@sc3d.org> in
7220 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7222 2013-04-27 Leo Liu <sdl.web@gmail.com>
7224 * progmodes/octave.el (octave-function-file-p)
7225 (octave-skip-comment-forward, octave-function-file-comment)
7226 (octave-update-function-file-comment): New functions.
7227 (octave-mode-map): Bind C-c ; to
7228 octave-update-function-file-comment.
7229 (octave-mode-menu): Add octave-update-function-file-comment.
7230 (octave-mode, inferior-octave-mode): Fix doc-string.
7231 (octave-insert-defun): Conform to Octave's coding convention.
7234 * files.el (basic-save-buffer): Don't let errors in
7235 before-save-hook prevent saving buffer.
7237 2013-04-20 Roland Winkler <winkler@gnu.org>
7239 * faces.el (read-face-name): Use completing-read if arg multiple
7242 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7244 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7245 displayed, move point to after the totals line.
7246 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7249 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7251 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7252 Add current dir to the load-path.
7253 (package-generate-autoloads): Don't rely on
7254 autoload-ensure-default-file.
7256 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7258 * textmodes/remember.el (remember-store-in-files): Document that
7259 the file name format is passed to `format-time-string'.
7261 2013-04-26 Leo Liu <sdl.web@gmail.com>
7263 * progmodes/octave.el (octave-sync-function-file-names): New function.
7264 (octave-mode): Use it in before-save-hook.
7266 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7268 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7271 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7272 \n and comment, even if it's not an implicit ; (bug#14218).
7274 2013-04-26 Glenn Morris <rgm@gnu.org>
7276 * subr.el (read-number): Once more use `read' rather than
7277 `string-to-number', to trap non-numeric input. (Bug#14254)
7279 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7281 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7282 Use `syntax-multiline' text property consistently instead of
7283 `font-lock-multiline'. (Bug#14237)
7285 2013-04-26 Glenn Morris <rgm@gnu.org>
7287 * emacs-lisp/shadow.el (list-load-path-shadows):
7288 No longer necessary to check for duplicate simple.el, since
7289 2012-07-07 change to init_lread to not include installation lisp
7290 directories in load-path when running uninstalled. (Bug#14270)
7292 2013-04-26 Leo Liu <sdl.web@gmail.com>
7294 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7295 (octave-mode, inferior-octave-mode): Use setq-local.
7296 (octave-not-in-string-or-comment-p): Rename to
7297 octave-in-string-or-comment-p.
7298 (octave-in-comment-p, octave-in-string-p)
7299 (octave-in-string-or-comment-p): Replace defsubst with defun.
7301 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7303 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7305 2013-04-25 Bastien Guerry <bzg@gnu.org>
7307 * textmodes/remember.el (remember-data-directory)
7308 (remember-directory-file-name-format): Fix custom types.
7310 2013-04-25 Leo Liu <sdl.web@gmail.com>
7312 * progmodes/octave.el (octave-completion-at-point-function):
7313 Make use of inferior octave process.
7314 (octave-initialize-completions): Remove.
7315 (inferior-octave-completion-table): New function.
7316 (inferior-octave-completion-at-point): Use it.
7317 (octave-completion-alist): Remove.
7319 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7322 (opascal-mode-syntax-table): New var.
7323 (opascal-literal-kind, opascal-is-literal-end)
7324 (opascal-literal-token-at): Rewrite.
7325 (opascal--literal-start-re, opascal-font-lock-keywords)
7326 (opascal--syntax-propertize): New constants.
7327 (opascal-font-lock-defaults): Adjust.
7328 (opascal-mode): Use them. Set comment-<foo> variables as well.
7329 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7330 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7331 (delphi-other-face, opascal-other-face): Remove face variables.
7332 (opascal-save-state): Remove macro.
7333 (opascal-fontifying-progress-step): Remove constant.
7334 (opascal--ignore-changes): Remove var.
7335 (opascal-set-token-property, opascal-parse-next-literal)
7336 (opascal-is-stable-literal, opascal-complete-literal)
7337 (opascal-is-literal-start, opascal-face-of)
7338 (opascal-parse-region, opascal-parse-region-until-stable)
7339 (opascal-fontify-region, opascal-after-change)
7340 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7341 (opascal-debug-parse-region, opascal-debug-parse-window)
7342 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7343 (opascal-debug-fontify-buffer): Remove.
7344 (opascal-debug-mode-map): Adjust accordingly.
7346 2013-04-25 Leo Liu <sdl.web@gmail.com>
7348 Merge octave-mod.el and octave-inf.el into octave.el with some
7350 * progmodes/octave.el: New file renamed from octave-mod.el.
7351 * progmodes/octave-inf.el: Merged into octave.el.
7352 * progmodes/octave-mod.el: Renamed to octave.el.
7354 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7356 * textmodes/reftex-vars.el
7357 (reftex-label-ignored-macros-and-environments): New defcustom.
7359 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7361 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7363 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7364 (smie-indent-keyword): Improve the check to ensure that the next
7365 comment is really on the same line.
7366 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7368 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7369 semi-colons if the line is not otherwise empty (bug#14218).
7371 2013-04-25 Glenn Morris <rgm@gnu.org>
7373 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7375 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7377 * progmodes/opascal.el (opascal-set-token-property): Rename from
7378 opascal-set-text-properties and only set `token' (bug#14134).
7379 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7380 (opascal-literal-text-properties): Remove.
7381 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7384 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7386 * textmodes/remember.el (remember-handler-functions): Add an
7387 option for a new handler `remember-store-in-files'.
7388 (remember-data-directory, remember-directory-file-name-format):
7390 (remember-store-in-files): New function to store remember notes
7391 as separate files within a directory.
7393 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7395 * progmodes/compile.el (compilation-next-error-function):
7396 Pass "formats" to compilation-find-file (bug#11777).
7398 2013-04-24 Glenn Morris <rgm@gnu.org>
7400 * vc/vc-bzr.el (vc-bzr-print-log):
7401 * vc/vc-hg.el (vc-hg-print-log):
7402 * vc/vc-svn.el (vc-svn-print-log):
7403 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7405 * vc/vc-bzr.el (vc-bzr-print-log):
7406 * vc/vc-cvs.el (vc-cvs-print-log):
7407 * vc/vc-git.el (vc-git-print-log):
7408 * vc/vc-hg.el (vc-hg-print-log):
7409 * vc/vc-mtn.el (vc-mtn-print-log):
7410 * vc/vc-rcs.el (vc-rcs-print-log):
7411 * vc/vc-sccs.el (vc-sccs-print-log):
7412 * vc/vc-svn.el (vc-svn-print-log):
7413 * vc/vc.el (vc-print-log-internal): Doc fixes.
7415 2013-04-23 Glenn Morris <rgm@gnu.org>
7417 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7418 Remove venerable code attempting to avoid substitute-command-keys.
7420 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7422 * textmodes/reftex-vars.el (reftex-label-regexps):
7423 Call `reftex-compile-variables' after changes to this variable.
7425 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7427 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7428 Use lexical-binding.
7429 (jit-lock-force-redisplay): Use markers, check buffer's continued
7430 existence and beware narrowed buffers.
7431 (jit-lock-fontify-now): Adjust call accordingly.
7433 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7435 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7436 to avoid misleading the user.
7438 2013-04-22 Leo Liu <sdl.web@gmail.com>
7440 * info-look.el: Prefer latex2e.info. (Bug#14240)
7442 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7444 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7446 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7447 * net/tramp.el (tramp-call-process): ... here.
7448 (tramp-set-completion-function, tramp-parse-putty):
7449 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7450 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7451 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7452 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7453 (tramp-call-local-coding-command): Use `tramp-call-process'
7454 instead of `tramp-compat-call-process'.
7456 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7457 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7458 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7459 (tramp-find-inline-compress): Improve traces.
7460 (tramp-maybe-send-script): Check for Perl binary.
7461 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7463 2013-04-22 Daiki Ueno <ueno@gnu.org>
7465 * epg.el (epg-context-pinentry-mode): New function.
7466 (epg-context-set-pinentry-mode): New function.
7467 (epg--start): Pass --pinentry-mode option to gpg command.
7469 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7471 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7472 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7473 `completion-at-point'. (Bug#13774)
7475 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7476 default key binding for `describe-distribution' has been moved to
7477 `C-h C-o'. (Bug#13970)
7479 2013-04-21 Glenn Morris <rgm@gnu.org>
7481 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7483 (vc-print-log): Clarify interactive prompt.
7485 2013-04-20 Glenn Morris <rgm@gnu.org>
7487 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7488 No longer include timestamp etc information.
7490 2013-04-20 Roland Winkler <winkler@gnu.org>
7492 * faces.el (read-face-name): Bug fix, return just one face if arg
7493 multiple is nil. (Bug#14209)
7495 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7498 (remove-function): Autoload.
7500 * comint.el (comint-redirect-original-filter-function): Remove.
7501 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7502 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7503 (vc-cvs-annotate-command):
7504 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7505 * progmodes/prolog.el (prolog-consult-compile):
7506 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7507 Use add/remove-function instead.
7508 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7509 (gud-tooltip-process-output, gud-tooltip-tips):
7510 Use add/remove-function instead.
7511 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7512 (scheme-interaction-mode, exit-scheme-interaction-mode):
7513 Use add/remove-function instead.
7515 * vc/vc-dispatcher.el: Use lexical-binding.
7516 (vc--process-sentinel): Rename from vc-process-sentinel.
7517 Change last arg to be the code to run. Don't use vc-previous-sentinel
7518 and vc-sentinel-commands any more.
7519 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7520 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7522 2013-04-19 Masatake YAMATO <yamato@redhat.com>
7524 * progmodes/sh-script.el (sh-imenu-generic-expression):
7525 Handle function names with a single character. (Bug#14111)
7527 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7529 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7530 for subroutines defined in an eval (bug#14182).
7532 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7534 * bookmark.el (bookmark-completing-read): Improve handling of empty
7537 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7539 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7541 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7543 New faster Imenu implementation (bug#14058).
7544 * progmodes/python.el:
7545 (python-imenu-prev-index-position):
7546 (python-imenu-format-item-label-function)
7547 (python-imenu-format-parent-item-label-function)
7548 (python-imenu-format-parent-item-jump-label-function):
7550 (python-imenu-format-item-label)
7551 (python-imenu-format-parent-item-label)
7552 (python-imenu-format-parent-item-jump-label)
7553 (python-imenu--put-parent, python-imenu--build-tree)
7554 (python-imenu-create-index, python-imenu-create-flat-index)
7555 (python-util-popn): New functions.
7556 (python-mode): Set imenu-create-index-function to
7557 python-imenu-create-index.
7559 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7561 * winner.el (winner-active-region): Use region-active-p, activate-mark
7562 and deactivate-mark (bug#14225).
7564 * simple.el (deactivate-mark): Don't inline it.
7566 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
7568 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7570 2013-04-18 Tassilo Horn <tsdh@gnu.org>
7572 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7573 file extensions from the archive-mode entry in order to prefer
7574 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7576 2013-04-18 Leo Liu <sdl.web@gmail.com>
7578 * bindings.el (help-event-list): Add ?\?.
7580 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * subr.el (with-wrapper-hook): Declare obsolete.
7583 * simple.el (filter-buffer-substring-function): New hook.
7584 (filter-buffer-substring): Use it.
7585 (filter-buffer-substring-functions): Mark obsolete.
7586 * minibuffer.el (completion-in-region-function): New hook.
7587 (completion-in-region): Use it.
7588 (completion-in-region-functions): Mark obsolete.
7589 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7590 * abbrev.el (abbrev-expand-function): New hook.
7591 (expand-abbrev): Use it.
7592 (abbrev-expand-functions): Mark obsolete.
7593 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7596 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7598 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7599 and do not care about match data.
7601 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7603 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7604 completion tables when completing error conditions and
7605 `declare' arguments.
7606 (lisp-complete-symbol, field-complete): Mark as obsolete.
7607 (check-parens): Unmatched parens are user errors.
7608 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7610 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
7612 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7613 command changed buffer (ie. `flyspell-pre-buffer' is not current
7614 buffer), which prevents making decisions based on invalid value of
7615 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7616 cause an error when `flyspell-pre-point' was nil after switching
7618 (flyspell-post-command-hook): No longer needs to change buffers when
7619 checking pre-word. While at it remove unnecessary progn.
7621 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7623 * textmodes/ispell.el (ispell-add-per-file-word-list):
7624 Fix `flyspell-correct-word-before-point' error when accepting
7625 words and `coment-padding' is an integer by using
7626 `comment-normalize-vars' (Bug #14214).
7628 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7630 New defun movement commands.
7631 * progmodes/python.el (python-nav--syntactically)
7632 (python-nav--forward-defun, python-nav-backward-defun)
7633 (python-nav-forward-defun): New functions.
7635 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7637 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7638 (python-syntax-context): Use named compiler-macro for backwards
7639 compatibility with Emacs 24.x.
7641 2013-04-17 Leo Liu <sdl.web@gmail.com>
7643 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7644 octave-hide-process-buffer.
7646 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7648 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7651 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7653 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7654 Fix adjustment of offset when receiving incomplete responses from GDB
7657 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7659 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7660 python-mode-abbrev-table.
7661 (python-skeleton-define): Adjust accordingly.
7662 (python-mode-abbrev-table): New table that inherits from it so that
7663 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7665 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7666 (abbrev-symbol): Use it.
7667 (abbrev--before-point): Use it since we already handle inheritance.
7669 2013-04-16 Leo Liu <sdl.web@gmail.com>
7671 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7672 binding to info-lookup-symbol.
7674 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7676 * minibuffer.el (completion--twq-all):
7677 * term/ns-win.el (ns-initialize-window-system):
7678 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7680 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7685 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7687 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7689 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7690 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7692 (ruby-end-of-defun): Remove the unused arg, change the docstring
7693 to reflect that this function is only used as the value of
7694 `end-of-defun-function'.
7695 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7696 to reflect an earlier change that beginning/end-of-defun functions
7697 jump between methods in a class definition, as well as top-level
7700 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7702 * minibuffer.el (minibuffer-complete): Don't just scroll
7703 a *Completions* that's been iconified.
7704 (minibuffer-force-complete): Make sure repetitions do cycle when going
7705 through completion-in-region -> minibuffer-complete.
7707 2013-04-15 Alan Mackenzie <acm@muc.de>
7709 Correct the placement of c-cpp-delimiters when there're #s not at
7712 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7713 place a submatch around the #.
7714 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7715 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7718 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7720 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7721 (advice--member-p): New arg `name'.
7722 (advice--add-function, advice-member-p): Use it (bug#14202).
7724 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7726 Reformulate java imenu-generic-expression.
7727 The old expression contained ill formed regexps.
7729 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7730 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7731 (cc-imenu-java-method-arg-regexp): New defconsts.
7732 (cc-imenu-java-build-type-args-regex): New defun.
7733 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7734 handling of spaces in the regexp.
7736 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7738 * textmodes/ispell.el (ispell-command-loop): Remove
7739 flyspell highlight of a word when ispell accepts it (bug #14178).
7741 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7743 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7744 uses code from the previous `ange-ftp-run-real-handler'.
7745 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7746 only in case that function exist. This is needed for proper
7749 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7751 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7753 * textmodes/reftex.el (reftex-compile-variables): Use it.
7755 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7757 * files.el (normal-mode): Only use default major-mode if no other mode
7760 * emacs-lisp/trace.el (trace-values): New function.
7762 * files.el: Allow : in local variables (bug#14089).
7763 (hack-local-variable-regexp): New var.
7764 (hack-local-variables-prop-line, hack-local-variables): Use it.
7766 2013-04-13 Roland Winkler <winkler@gnu.org>
7768 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7769 data before it gets modified by bibtex-beginning-of-entry.
7771 2013-04-13 Roland Winkler <winkler@gnu.org>
7773 * textmodes/bibtex.el (bibtex-url): Doc fix.
7775 2013-04-13 Roland Winkler <winkler@gnu.org>
7777 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7778 does not visit a BibTeX file, exclude it from the list of buffers
7779 returned by bibtex-initialize.
7781 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7783 * window.el (split-window): Remove interactive form, since as a
7784 command this function is a special case of split-window-below.
7787 2013-04-12 Roland Winkler <winkler@gnu.org>
7789 * faces.el (read-face-name): Do not override value of arg default.
7790 Allow single faces and strings as default values. Remove those
7791 elements from return value that are not faces.
7792 (describe-face): Simplify.
7793 (face-at-point): New optional args thing and multiple so that this
7794 function can provide the same functionality previously provided by
7796 (make-face-bold, make-face-unbold, make-face-italic)
7797 (make-face-unitalic, make-face-bold-italic, invert-face)
7798 (modify-face, read-face-and-attribute): Use face-at-point.
7800 * cus-edit.el (customize-face, customize-face-other-window)
7801 * cus-theme.el (custom-theme-add-face)
7802 * face-remap.el (buffer-face-set)
7803 * facemenu.el (facemenu-set-face): Use face-at-point.
7805 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7807 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7809 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7811 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7812 off leading { and trailing } from field values.
7814 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7816 * emacs-lisp/timer.el (timer--check): New function.
7817 (timer--time, timer-set-function, timer-event-handler): Use it.
7818 (timer-set-idle-time): Simplify.
7819 (timer--activate): CSE.
7820 (timer-event-handler): Give more info in error message.
7821 (internal-timer-start-idle): New function, moved from C.
7823 * mpc.el (mpc-proc): Add `restart' argument.
7824 (mpc-proc-cmd): Use it.
7825 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7826 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7829 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7831 * progmodes/sh-script.el: Implement `sh-mode' own
7832 `add-log-current-defun-function' (bug#14112).
7833 (sh-current-defun-name): New function.
7834 (sh-mode): Use the function.
7836 2013-04-09 Bastien Guerry <bzg@gnu.org>
7838 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7840 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7842 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7844 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7847 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7849 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7852 2013-04-07 Leo Liu <sdl.web@gmail.com>
7854 * pcmpl-x.el: New file.
7856 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7858 Do not set x-display-name until X connection is established.
7859 This is needed to prevent from weird situation described at
7860 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7861 * frame.el (make-frame): Set x-display-name after call to
7862 window system initialization function, not before.
7863 * term/x-win.el (x-initialize-window-system): Add optional
7864 display argument and use it.
7865 * term/w32-win.el (w32-initialize-window-system):
7866 * term/ns-win.el (ns-initialize-window-system):
7867 * term/pc-win.el (msdos-initialize-window-system):
7868 Add compatible optional display argument.
7870 2013-04-06 Eli Zaretskii <eliz@gnu.org>
7872 * files.el (normal-backup-enable-predicate): On MS-Windows and
7873 MS-DOS compare truenames of temporary-file-directory and of the
7874 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7875 don't fail comparison by compare-strings. Also, compare file
7876 names case-insensitively on MS-Windows and MS-DOS.
7878 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7881 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7883 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7885 * whitespace.el (whitespace-color-on, whitespace-color-off):
7886 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7888 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7890 * ispell.el (ispell-set-spellchecker-params):
7891 Really set `ispell-args' for all equivs.
7893 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7895 * ido.el (ido-completions): Use extra elements of ido-decorations
7897 (ido-decorations): Update docstring.
7899 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
7901 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7902 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7903 nil during initialization, in order not to miss changes since the
7904 file was opened. (Bug#14140)
7906 2013-04-05 Leo Liu <sdl.web@gmail.com>
7908 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7910 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7912 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7914 2013-04-04 Glenn Morris <rgm@gnu.org>
7916 * electric.el (electric-pair-inhibit-predicate): Add :version.
7918 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7920 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7921 when a package is required several times (bug#14082).
7923 2013-04-04 Roland Winkler <winkler@gnu.org>
7925 * faces.el (read-face-name): Behave as promised by the docstring.
7926 Assume that arg default is a list of faces.
7927 (describe-face): Call read-face-name with list of default faces.
7929 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7931 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7932 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7933 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7935 (bookmark-exit-hook-internal): Save even if list is empty.
7937 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7939 * emacs-lisp/package.el (package-pinned-packages): New var.
7940 (package--add-to-archive-contents): Obey it (bug#14118).
7942 2013-04-03 Alan Mackenzie <acm@muc.de>
7944 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7945 Also adapt to the new values of element 7 of a parse state.
7947 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7948 parameter `not-in-delimiter'. Handle being inside comment opener.
7949 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7950 character in case we're typing a '*' after a '/'.
7951 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7952 instead by passing the parameter to c-state-pp-to-literal.
7954 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7955 for elt. 7 of a parse state.
7957 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7959 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7960 * international/latin1-disp.el, international/mule-util.el:
7961 * language/cyril-util.el, language/european.el, language/ind-util.el:
7962 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7963 * language/tibetan.el, language/viet-util.el:
7964 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7966 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7969 (electric-pair-post-self-insert-function): Use it.
7970 (electric-pair-default-inhibit): New function, extracted from
7971 electric-pair-post-self-insert-function.
7973 2013-03-31 Roland Winkler <winkler@gnu.org>
7975 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7977 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7979 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7981 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7983 Un-indent after "pass" and "return" statements (Bug#13888)
7984 * progmodes/python.el (python-indent-block-enders): New var.
7985 (python-indent-calculate-indentation): Use it.
7987 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7989 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7990 defun. Defining it as defalias could introduce too eager
7991 byte-compiler optimization. (Bug#14030)
7993 2013-03-30 Chong Yidong <cyd@gnu.org>
7995 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7997 2013-03-30 Leo Liu <sdl.web@gmail.com>
7999 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8000 (kmacro-execute-from-register): Pass the keyboard macro to
8001 kmacro-call-macro or repeating won't work correctly.
8003 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8005 * progmodes/subword.el: Back to using `forward-symbol'.
8007 * subr.el (forward-whitespace, forward-symbol)
8008 (forward-same-syntax): Move from thingatpt.el.
8010 2013-03-29 Leo Liu <sdl.web@gmail.com>
8012 * kmacro.el (kmacro-to-register): New command.
8013 (kmacro-execute-from-register): New function.
8014 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8016 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8018 * mpc.el: Use defvar-local and setq-local.
8019 (mpc--proc-connect): Connection failures are not bugs.
8020 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8021 (mpc-volume-map): Bind to the up-events.
8023 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8025 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8026 instead of `forward-symbol'.
8028 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8030 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8031 (edebug--recursive-edit): Use it.
8032 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8033 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8035 2013-03-28 Leo Liu <sdl.web@gmail.com>
8037 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8039 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8041 * facemenu.el (list-colors-callback): New defvar.
8042 (list-colors-redisplay): New function.
8043 (list-colors-display): Install list-colors-redisplay as the
8044 revert-buffer-function. (Bug#14063)
8046 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8048 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8049 and suffixes don't overlap (bug#14061).
8051 * case-table.el: Use lexical-binding.
8052 (case-table-get-table): New function.
8053 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8055 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8057 * progmodes/subword.el: Add `superword-mode' to do word motion
8058 over symbol_words (parallels and leverages `subword-mode' which
8059 does word motion inside MixedCaseWords).
8061 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8063 * eshell/em-unix.el: Move su and sudo to...
8064 * eshell/em-tramp.el: ...Eshell tramp module.
8066 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8068 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8069 Change return value to be a sexp. Delay `get-buffer' to after
8070 restoring the desktop (bug#13951).
8072 2013-03-26 Leo Liu <sdl.web@gmail.com>
8074 * register.el: Move semantic tag handling back to
8075 cedet/semantic/senator.el. (Bug#14052)
8077 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8079 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8080 into the prompt either (bug#13963).
8082 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8085 part of "(error-foo)".
8087 2013-03-24 Juri Linkov <juri@jurta.org>
8089 * replace.el (list-matching-lines-prefix-face): New defcustom.
8090 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8091 `occur-engine' if `face-differs-from-default-p' returns t.
8092 (occur-engine): Add `,' inside backquote construct to evaluate
8093 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8094 Pass `prefix-face' to the functions `occur-context-lines' and
8095 `occur-engine-add-prefix'.
8096 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8097 `prefix-face' and propertize the prefix with `prefix-face'.
8100 2013-03-24 Leo Liu <sdl.web@gmail.com>
8102 * nxml/rng-valid.el (rng-validate-while-idle)
8103 (rng-validate-quick-while-idle): Guard against deleted buffer.
8106 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8107 is the last entry in kill-buffer-hook.
8109 * files.el (kill-buffer-hook): Doc fix.
8111 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8113 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8116 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8118 2013-03-23 Leo Liu <sdl.web@gmail.com>
8120 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8123 * nxml/rng-valid.el (rng-validate-mode)
8124 (rng-after-change-function, rng-do-some-validation):
8125 * nxml/rng-maint.el (rng-validate-buffer):
8126 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8127 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8128 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8129 (nxml-extend-after-change-region): Use with-silent-modifications.
8131 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8134 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8135 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8136 timer-idle-list. (Bug#13999)
8138 2013-03-23 Juri Linkov <juri@jurta.org>
8140 * info.el (info-index-match): New face.
8141 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8142 main pattern and add text properties with the new face to matches
8143 in index entries relative to the beginning of the index entry.
8146 2013-03-21 Eric Ludlam <zappo@gnu.org>
8148 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8149 Inhibit read only while inserting objects.
8151 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8153 * progmodes/cfengine.el: Update docs to mention
8154 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8155 symbol motion. Remove "_" from the word syntax.
8157 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8159 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8160 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8162 2013-03-20 Juri Linkov <juri@jurta.org>
8164 * info.el (Info-next-reference-or-link)
8165 (Info-prev-reference-or-link): New functions.
8166 (Info-next-reference, Info-prev-reference): Use them.
8167 (Info-try-follow-nearest-node): Handle footnote navigation.
8168 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8170 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8172 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8173 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8175 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8177 Suppress unnecessary non-ASCII chatter during build process.
8178 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8179 (batch-skkdic-convert): Suppress most of the chatter.
8180 It's not needed so much now that machines are faster,
8181 and its non-ASCII component was confusing; see Dmitry Gutov in
8182 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8184 2013-03-20 Leo Liu <sdl.web@gmail.com>
8186 * ido.el (ido-chop): Fix bug#10994.
8188 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8190 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8192 (whitespace-color-on, whitespace-color-off):
8193 Use `font-lock-fontify-buffer' (Bug#13817).
8195 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8197 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8198 remapping in mode-line.
8199 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8201 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8203 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8204 value for `whitespace-line' face (Bug#13875).
8205 (whitespace-font-lock-keywords): Change description.
8206 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8207 the constructed keywords instead.
8208 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8210 2013-03-19 Leo Liu <sdl.web@gmail.com>
8212 * progmodes/compile.el (compilation-display-error): New command.
8213 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8216 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8218 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8220 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8222 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8224 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8226 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8228 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8229 * net/tramp-gvfs.el (top):
8230 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8231 (tramp-handle-shell-command): Use it.
8232 (tramp-dissect-file-name): Raise an error when hostname is a
8233 method name, and neither method nor user is specified.
8235 * net/trampver.el: Update release number.
8237 2013-03-18 Leo Liu <sdl.web@gmail.com>
8239 Make sure eldoc can be turned off properly.
8240 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8242 (eldoc-display-message-p): Revert last change.
8243 (eldoc-display-message-no-interference-p)
8244 (eldoc-print-current-symbol-info): Tweak.
8246 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8248 * doc-view.el (doc-view-new-window-function): Check the new window
8249 overlay's display property instead the char property of the
8250 buffer's first char. Use `with-selected-window' instead of
8251 `save-window-excursion' with `select-window'.
8252 (doc-view-document->bitmap): Check the current doc-view overlay's
8253 display property instead the char property of the buffer's first char.
8255 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8257 Automate the build of ja-dic.el (Bug#13984).
8258 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8259 from the input, rather than assume that it's been done for us by the
8260 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8261 the current date into a ja-dic.el comment, as that complicates
8264 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8266 * whitespace.el: Fix double evaluation.
8267 (whitespace-space, whitespace-hspace, whitespace-tab)
8268 (whitespace-newline, whitespace-trailing, whitespace-line)
8269 (whitespace-space-before-tab, whitespace-indentation)
8270 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8272 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8273 (whitespace-color-on): Use a single font-lock-add-keywords call.
8274 Fix double-evaluation of face variables.
8276 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8278 * net/tramp-adb.el (tramp-adb-parse-device-names):
8279 Use `start-process' instead of `call-process'. Otherwise, the
8280 function might be blocked under MS Windows. (Bug#13299)
8282 2013-03-17 Leo Liu <sdl.web@gmail.com>
8284 Extend eldoc to display info in the mode-line. (Bug#13978)
8285 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8286 (eldoc-mode-line-string): New variable.
8287 (eldoc-minibuffer-message): New function.
8288 (eldoc-message-function): New variable.
8289 (eldoc-message): Use it.
8290 (eldoc-display-message-p)
8291 (eldoc-display-message-no-interference-p):
8292 Support eldoc-post-insert-mode.
8294 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8295 (eval-expression): Run it.
8297 2013-03-17 Roland Winkler <winkler@gnu.org>
8299 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8300 strings in the list of return values.
8302 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8304 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8305 radix before checking for HMS forms.
8307 2013-03-16 Leo Liu <sdl.web@gmail.com>
8309 * progmodes/scheme.el: Add indentation and font-locking for λ.
8312 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8314 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8315 token before point (bug#13942).
8317 2013-03-16 Leo Liu <sdl.web@gmail.com>
8319 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8321 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8323 * startup.el (command-line-normalize-file-name): Fix handling of
8324 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8325 <xfq.free@gmail.com> in
8326 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8328 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8330 Sync with Tramp 2.2.7.
8332 * net/trampver.el: Update release number.
8334 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8336 * doc-view.el Fix bug#13887.
8337 (doc-view-insert-image): Don't modify overlay associated to
8338 non-live windows, and implement horizontal centering of image in
8339 case it's smaller than the window.
8340 (doc-view-new-window-function): Force redisplay of new windows on
8343 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8345 * saveplace.el (save-place-alist-to-file): Don't sort
8346 `save-place-alist', just pretty-print it (bug#13882).
8348 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8350 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8351 Check whether `default-file-name-coding-system' is bound.
8354 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8356 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8357 backquotes for `obsolete' (bug#13929).
8359 * international/mule.el (find-auto-coding): Include file name in
8360 obsolescence warning (bug#13922).
8362 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8364 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8365 for CFEngine 3-specific indentation.
8366 (cfengine3-indent-line): Use it. Fix up category regex.
8367 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8369 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8371 * type-break.el (type-break-file-name):
8372 * textmodes/remember.el (remember-data-file):
8373 * strokes.el (strokes-file):
8374 * shadowfile.el (shadow-initialize):
8375 * saveplace.el (save-place-file):
8376 * ps-bdf.el (bdf-cache-file):
8377 * progmodes/idlwave.el (idlwave-config-directory):
8378 * net/quickurl.el (quickurl-url-file):
8379 * international/kkc.el (kkc-init-file-name):
8380 * ido.el (ido-save-directory-list-file):
8381 * emulation/viper.el (viper-custom-file-name):
8382 * emulation/vip.el (vip-startup-file):
8383 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8384 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8386 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8388 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8389 * language/thai-word.el: Switch to UTF-8.
8391 See ChangeLog.16 for earlier changes.
8397 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8399 This file is part of GNU Emacs.
8401 GNU Emacs is free software: you can redistribute it and/or modify
8402 it under the terms of the GNU General Public License as published by
8403 the Free Software Foundation, either version 3 of the License, or
8404 (at your option) any later version.
8406 GNU Emacs is distributed in the hope that it will be useful,
8407 but WITHOUT ANY WARRANTY; without even the implied warranty of
8408 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8409 GNU General Public License for more details.
8411 You should have received a copy of the GNU General Public License
8412 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.