1 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using lexical-binding.
5 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7 * progmodes/ruby-mode.el: Fix recently added tests.
8 (ruby-smie-grammar): Add - and +.
9 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10 (ruby-smie--backward-id): New functions.
11 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
12 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
15 2013-10-07 Leo Liu <sdl.web@gmail.com>
17 * register.el (register-preview-delay)
18 (register-preview-functions): New variables.
19 (register-read-with-preview, register-preview)
20 (register-describe-oneline): New functions.
21 (point-to-register, window-configuration-to-register)
22 (frame-configuration-to-register, jump-to-register)
23 (number-to-register, view-register, insert-register)
24 (copy-to-register, append-to-register, prepend-to-register)
25 (copy-rectangle-to-register): Use register-read-with-preview to
26 read register. (Bug#15525)
28 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
30 * net/network-stream.el (network-stream-open-starttls): Don't add
31 --insecure if it's already present, because that gnutls-cli
32 rejects getting that parameter twice.
34 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
36 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
39 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
41 * newcomment.el (comment-use-global-state): Change default value
42 to t, mark obsolete (Bug#15251).
43 (comment-beginning): In addition to `comment-to-syntax', check the
44 value of `comment-use-global-state'.
46 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
48 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
49 (ruby-comment-column): Follow the global default, by default.
50 (ruby-smie-grammar): Add assignment syntax.
51 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
52 open-paren, a comma, or a \.
53 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
54 and line continuations.
55 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
56 followed by implicit semi-colons. Add rule for string concatenation
57 and for indentation at BOB.
58 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
60 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
61 calling next-sexp, since next-token may have skipped chars which
62 next-sexp doesn't know should be skipped!
64 2013-10-05 Leo Liu <sdl.web@gmail.com>
66 * progmodes/octave.el (octave-send-region):
67 Call compilation-forget-errors.
69 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
71 * vc/vc-svn.el (vc-svn-find-admin-dir):
72 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
73 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
74 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
75 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
77 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
79 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
81 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
83 * subr.el (read-passwd): Hide chars even when called within a context
84 where after-change-functions is disabled (bug#15501).
85 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
86 until we removed ourself from overriding-terminal-local-map.
88 2013-10-04 Leo Liu <sdl.web@gmail.com>
90 * progmodes/octave.el (inferior-octave-mode):
91 Call compilation-forget-errors.
93 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
95 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
97 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
99 * net/secrets.el (secrets-create-collection): Add optional
100 argument ALIAS. Use proper Label keyword. Append ALIAS as
101 dbus-call-method argument. (Bug#15516)
103 2013-10-04 Leo Liu <sdl.web@gmail.com>
105 * progmodes/octave.el (inferior-octave-error-regexp-alist)
106 (inferior-octave-compilation-font-lock-keywords): New variables.
107 (compilation-error-regexp-alist)
108 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
109 (inferior-octave-mode): Use compilation-shell-minor-mode.
111 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
113 * minibuffer.el (completion--replace): Be careful that `end' might be
116 2013-10-03 Daiki Ueno <ueno@gnu.org>
118 Add support for package signature checking.
119 * emacs-lisp/package.el (url-http-file-exists-p)
120 (epg-make-context, epg-context-set-home-directory)
121 (epg-verify-string, epg-context-result-for)
122 (epg-signature-status, epg-signature-to-string)
123 (epg-check-configuration, epg-configuration)
124 (epg-import-keys-from-file): Declare.
125 (package-check-signature): New user option.
126 (package-unsigned-archives): New user option.
127 (package-desc): Add `signed' field.
128 (package-load-descriptor): Set `signed' field if .signed file exists.
129 (package--archive-file-exists-p): New function.
130 (package--check-signature): New function.
131 (package-install-from-archive): Check package signature.
132 (package--download-one-archive): Check archive signature.
133 (package-delete): Remove .signed file.
134 (package-import-keyring): New command.
135 (package-refresh-contents): Import default keyring.
136 (package-desc-status): Add "unsigned" status.
137 (describe-package-1, package-menu--print-info)
138 (package-menu-mark-delete, package-menu--find-upgrades)
139 (package-menu--status-predicate): Support "unsigned" status.
141 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
143 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
144 the new compilation scheme using the new byte-codes.
146 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
147 (byte-pophandler): New byte codes.
148 (byte-goto-ops): Adjust accordingly.
149 (byte-compile--use-old-handlers): New var.
150 (byte-compile-catch): Use new byte codes depending on
151 byte-compile--use-old-handlers.
152 (byte-compile-condition-case--old): Rename from
153 byte-compile-condition-case.
154 (byte-compile-condition-case--new): New function.
155 (byte-compile-condition-case): New function that dispatches depending
156 on byte-compile--use-old-handlers.
157 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
160 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
161 Optimize under `condition-case' and `catch' if
162 byte-compile--use-old-handlers is nil.
163 (disassemble-offset): Handle new bytecodes.
165 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
167 * subr.el (error): Use `declare'.
168 (decode-char, encode-char): Use advertised-calling-convention instead
169 of the docstring to discourage use of the `restriction' arg.
171 2013-10-03 Daiki Ueno <ueno@gnu.org>
173 * epg.el (epg-verify-file): Add a comment saying that it does not
174 notify verification error as a return value nor a signal.
175 (epg-verify-string): Ditto.
177 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
179 * progmodes/compile.el (compilation-start): Try globbing the arg to
182 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
184 Sync with Tramp 2.2.8.
186 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
187 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
188 * net/trampver.el: Update release number.
190 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
192 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
193 and default-process-coding-system for darwin only.
195 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
197 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
199 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
201 * vc/vc-git.el (vc-git-grep): Disable pager.
203 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
205 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
206 Use :url instead of :homepage, as per
207 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
209 * newcomment.el (comment-beginning): When `comment-use-syntax' is
210 non-nil, use `syntax-ppss' (Bug#15251).
212 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
214 * progmodes/octave.el (inferior-octave-startup-file):
215 Prefer ~/.emacs.d/init_octave.m.
217 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
219 * emacs-lisp/package.el (package-desc-from-define):
220 Accept additional arguments as plist, convert them to an alist and store
221 them in the `extras' slot.
222 (package-generate-description-file): Convert extras alist back to
223 plist and append to the `define-package' form arguments.
224 (package--alist-to-plist): New function.
225 (package--ac-desc): Add `extras' slot.
226 (package--add-to-archive-contents): Check if the archive-contents
227 vector is long enough, and if it is, pass its `extras' slot value
228 to `package-desc-create'.
229 (package-buffer-info): Call `lm-homepage', pass the returned value
230 to `package-desc-from-define'.
231 (describe-package-1): Render the homepage button (Bug#13291).
233 * emacs-lisp/package-x.el (package-upload-buffer-internal):
234 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
236 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
238 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
239 and default-process-coding-system to utf-8-unix (Bug#15402).
241 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
243 * subr.el (looking-back): Do not recommend using looking-back.
245 2013-09-28 Alan Mackenzie <acm@muc.de>
247 Fix indentation/fontification of Java enum with "implements".
249 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
250 regexp which matches "implements", etc., in Java.
251 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
252 specifier clauses coming after "enum".
253 * progmodes/cc-fonts.el (c-font-lock-declarations)
254 (c-font-lock-enum-tail): Check for extra specifier clauses coming
257 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
259 * faces.el (region): Change ns_selection_color to
260 ns_selection_fg_color, add ns_selection_bg_color.
262 2013-09-28 Leo Liu <sdl.web@gmail.com>
264 * progmodes/octave.el (inferior-octave-completion-table)
265 (inferior-octave-completion-at-point): Minor tweaks.
267 * textmodes/ispell.el (ispell-lookup-words): Rename from
268 lookup-words. (Bug#15460)
269 (lookup-words): Obsolete.
270 (ispell-complete-word, ispell-command-loop): All uses changed.
272 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
274 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
275 (octave-mode-menu): Add octave-send-buffer.
276 (octave-send-buffer): New function.
278 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
280 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
282 (octave-mode-menu): Add octave-lookfor.
283 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
285 (octave-lookfor): New function.
287 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
289 * emacs-lisp/cl-macs.el:
290 (cl--loop-destr-temps): Remove.
291 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
293 (cl--loop-set-iterator-function): New function.
294 (cl-loop): Adjust accordingly, so as not to use cl-subst.
295 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
296 Bind `it' with `let' instead of substituting it with `cl-subst'.
297 (cl--unused-var-p): New function.
298 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
299 Eliminate some unused variable warnings (bug#15326).
301 2013-09-27 Tassilo Horn <tsdh@gnu.org>
303 * doc-view.el (doc-view-scale-reset): Rename from
304 `doc-view-reset-zoom-level'.
305 (doc-view-scale-adjust): New command.
306 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
307 `doc-view-scale-adjust'.
309 2013-09-26 Tassilo Horn <tsdh@gnu.org>
311 * doc-view.el (doc-view-reset-zoom-level): New command.
312 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
313 zoom commands (bug#15466).
315 2013-09-26 Kenichi Handa <handa@gnu.org>
317 * international/quail.el (quail-help): Make it not a command.
319 2013-09-26 Leo Liu <sdl.web@gmail.com>
321 * minibuffer.el (completion-all-sorted-completions): Make args
322 optional as they are.
324 2013-09-25 Daniel Colascione <dancol@dancol.org>
326 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
327 specs are and that they're not evaluated.
329 2013-09-24 Sam Steingold <sds@gnu.org>
331 * midnight.el (clean-buffer-list-kill-regexps)
332 (clean-buffer-list-kill-buffer-names): Update for the new Man
333 buffer naming which includes the object name.
335 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
337 * eshell/esh-cmd.el (eshell--sep-terms): New var.
338 (eshell-parse-command, eshell-parse-pipeline): Use it since
339 eshell-separate-commands requires a dynamic scoped var.
340 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
342 2013-09-23 Leo Liu <sdl.web@gmail.com>
344 * autoinsert.el (auto-insert-alist): Make the value of
345 lexical-binding match its file setting.
347 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
349 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
351 * autoarg.el (autoarg-kp-digit-argument):
352 * electric.el (Electric-command-loop):
353 * kmacro.el (kmacro-step-edit-insert):
354 Do not set universal-argument-num-events.
356 2013-09-22 Leo Liu <sdl.web@gmail.com>
358 * files.el (interpreter-mode-alist): Add octave.
360 2013-09-21 Alan Mackenzie <acm@muc.de>
362 C++: fontify identifier in declaration following "public:" correctly.
363 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
364 to match "public", etc.
365 (c-decl-prefix-re): Add ":" into the C++ value.
366 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
367 bit. Add a check for a ":" preceded by "public", etc.
369 2013-09-21 Eli Zaretskii <eliz@gnu.org>
371 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
372 recognized by GDB 7.5 and later.
374 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
376 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
378 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
380 * subr.el (internal--call-interactively): New const.
381 (called-interactively-p): Use it (bug#3984).
383 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
385 * vc/pcvs.el (cvs-mode-ignore):
386 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
387 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
389 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
391 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
392 (eshell-ls-orig-insert-directory): Remove.
393 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
394 (eshell-ls-use-in-dired): Use advice-add/remove.
395 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
396 Add `orig-fun' arg for use in :around advice.
397 Make it check (redundantly) eshell-ls-use-in-dired.
399 2013-09-19 Glenn Morris <rgm@gnu.org>
401 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
403 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
405 * emacs-lisp/eieio.el (class-parent): Undo previous change.
407 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
409 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
410 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
411 (tramp-get-remote-python): New defuns.
412 (tramp-get-remote-uid-with-perl)
413 (tramp-get-remote-gid-with-perl): New defuns. Perl code
414 contributed by yary <not.com@gmail.com> (tiny change).
415 (tramp-get-remote-uid-with-python)
416 (tramp-get-remote-gid-with-python): New defuns. Python code
417 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
418 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
420 2013-09-19 Glenn Morris <rgm@gnu.org>
422 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
424 * eshell/em-unix.el (eshell-remove-entries):
425 Rename argument to avoid name-clash with global `top-level'.
427 * eshell/esh-proc.el (eshell-kill-process-function):
428 Remove eshell-reset-after-proc from eshell-kill-hook if present.
429 (eshell-reset-after-proc): Remove unused arg `proc'.
431 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
432 (directory-files-and-attributes): Mark unused arg.
434 * eshell/em-unix.el (eshell-remove-entries):
435 Remove unused arg `path'. Update callers.
437 * eshell/em-hist.el (eshell-hist-parse-arguments):
438 Remove unused arg `silent'. Update callers.
440 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
441 Fix (f)boundp mix-up.
443 * eshell/em-smart.el (eshell-smart-scroll-window)
444 (eshell-disable-after-change):
445 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
447 2013-09-18 Alan Mackenzie <acm@muc.de>
449 Fix fontification of type when followed by "const".
450 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
451 "known" types from fontification.
453 2013-09-18 Glenn Morris <rgm@gnu.org>
455 * emacs-lisp/chart.el (x-display-color-cells): Declare.
456 (chart-face-list): Drop Emacsen without display-color-p.
458 * net/eww.el (libxml-parse-html-region): Declare.
459 (eww-display-html): Explicit error if no libxml2 support.
461 * doc-view.el (doc-view-mode): Silence --without-x compilation.
463 * image.el (image-type-from-buffer, image-multi-frame-p):
464 Remove --without-x warning/error.
466 * mouse.el (mouse-yank-primary):
467 * term.el (term-mouse-paste):
468 Reorder to silence --without-x compilation.
470 * mpc.el (doc-view-mode): Silence --without-x compilation.
472 * mail/rmailmm.el (rmail-mime-set-bulk-data):
473 Silence --without-x compilation.
475 * progmodes/gud.el (gud-find-file, gud-mode):
476 Silence --without-x compilation.
477 (tooltip-mode): Declare.
479 * wdired.el (dired-backup-overwrite): Remove declaration.
480 (wdired-mode-map): Add doc string.
482 * custom.el (x-get-resource): Declare.
484 * eshell/em-glob.el (ange-cache):
485 * eshell/em-unix.el (ange-cache): Declare.
487 * faces.el (x-display-list, x-open-connection, x-get-resource):
490 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
491 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
494 * frame.el (x-display-grayscale-p, x-display-name): Declare.
496 * net/gnutls.el (gnutls-log-level): Declare.
498 * net/shr.el (image-size, image-animate): Declare.
500 * simple.el (font-info): Declare.
502 * subr.el (x-popup-dialog): Declare.
504 * term/common-win.el (x-select-enable-primary)
505 (x-last-selected-text-primary, x-last-selected-text-clipboard):
508 * term/ns-win.el (x-handle-args): Declare.
510 * term/x-win.el (x-select-enable-clipboard): Declare.
512 * term/w32-win.el (create-default-fontset): Declare.
514 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
517 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
518 (fit-frame-to-buffer): Explicit error if --without-x.
519 (mouse-autoselect-window-select): Silence compiler.
521 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
523 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
524 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
525 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
526 * eshell/esh-util.el (eshell-sublist):
527 Remove unused local variables.
529 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
531 * textmodes/two-column.el: Make 2C-split work for --without-x.
532 (scroll-bar-columns): Autoload.
533 (top-level): Require fringe when compiling.
535 2013-09-18 Leo Liu <sdl.web@gmail.com>
537 * subr.el (add-hook): Robustify to handle closure as well.
539 2013-09-17 Glenn Morris <rgm@gnu.org>
541 * simple.el (messages-buffer-mode-map): Unbind "g".
543 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
545 * help-mode.el (help-mode-finish): Use derived-mode-p.
546 Remove obsolete highlighting.
548 * play/life.el (life-mode): Use define-derived-mode. Derive from
550 (life): Let-bind inhibit-read-only.
551 (life-setup): Avoid `setq'. Use `life-mode'.
553 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
554 which should not be needed any more.
555 (package-menu-refresh, package-menu-describe-package): Use user-error.
557 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
558 (eshell-post-rewrite-command-hook): Make obsolete.
559 (eshell-parse-command): Simplify.
560 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
561 (eshell--cmd): Declare.
562 (eshell-parse-pipeline): Remove unused var `final-p'.
563 Pass a dynvar to eshell-post-rewrite-command-hook.
564 Implement the new eshell-post-rewrite-command-function.
565 (eshell-invoke-directly): Remove unused arg `input'.
566 * eshell/esh-io.el (eshell-io-initialize):
567 Use eshell-post-rewrite-command-function (bug#15399).
568 (eshell--apply-redirections): Rename from eshell-apply-redirections;
569 adjust to new calling convention.
570 (eshell-create-handles): Rename args to avoid clashing with dynvar
573 2013-09-17 Glenn Morris <rgm@gnu.org>
575 * simple.el (messages-buffer-mode): New major mode.
576 (messages-buffer): New function.
577 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
578 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
579 (ert-run-test): Use `messages-buffer' function.
580 (ert--force-message-log-buffer-truncation): Ignore read-only.
581 * help.el (view-echo-area-messages): Use `messages-buffer' function.
582 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
584 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
586 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
588 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
590 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
592 * icomplete.el (icomplete-in-buffer): New var.
593 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
594 vars and replace them with functions.
595 (icomplete-minibuffer-setup): Adjust accordingly.
596 (icomplete--completion-table, icomplete--completion-predicate)
597 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
599 (icomplete-forward-completions, icomplete-backward-completions)
600 (icomplete-simple-completing-p, icomplete-exhibit)
601 (icomplete-completions): Use them.
602 (icomplete--in-region-buffer): New var.
603 (icomplete--in-region-setup): New function.
604 (icomplete-mode): Use it.
606 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
608 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
609 return args and options.
610 (eshell-eval-using-options): Use the new return value of
611 eshell--do-opts to set the options's vars in their scope.
612 (eshell--set-option): Rename from eshell-set-option.
614 (eshell--process-option): Rename from eshell-process-option.
616 (eshell--process-args): Use an `opt-vals' alist to store the options's
617 values during their processing and return them additionally to the
620 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
622 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
623 continuation character an operator, as far as indentation is
624 concerned (Bug#15369).
626 2013-09-15 Martin Rudalics <rudalics@gmx.at>
628 * window.el (window--state-put-2): Don't process buffer state
629 when buffer doesn't exist any more (Bug#15382).
631 2013-09-15 Glenn Morris <rgm@gnu.org>
633 * eshell/em-unix.el (eshell/rm):
634 Make -f ignore missing files. (Bug#15373)
636 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
637 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
638 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
640 2013-09-14 Glenn Morris <rgm@gnu.org>
642 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
644 2013-09-13 Glenn Morris <rgm@gnu.org>
646 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
647 (dired-guess-default): Make `file' available in the env. (Bug#15363)
649 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
651 * frame.el (x-focus-frame): Mark as declared in frame.c.
653 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
655 * ls-lisp.el: Use advice-add.
656 (original-insert-directory): Remove.
657 (ls-lisp--insert-directory): Rename from insert-directory; add
659 (insert-directory): Advise.
661 2013-09-13 Eli Zaretskii <eliz@gnu.org>
663 * term.el (term-emulate-terminal): Decode the command string
664 before passing it to term-command-hook. (Bug#15337)
666 2013-09-13 Glenn Morris <rgm@gnu.org>
668 * eshell/esh-util.el (ange-cache): Move declaration earlier.
670 * eshell/esh-ext.el (eshell-search-path): Declare.
672 * eshell/em-prompt.el (eshell/pwd): Autoload it.
673 Otherwise an error occurs if eshell-dirs module not loaded.
675 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
677 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
679 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
680 `tramp-check-proper-host'. Check for a valid method name.
682 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
683 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
684 * net/tramp-sh.el (tramp-maybe-open-connection):
685 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
687 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
688 also for hash values.
690 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
692 * term/ns-win.el (parameters): Don't declare as dynamic.
693 (before-make-frame-hook): Don't add ineffective function.
695 * eshell/*.el: Use lexical-binding (bug#15231).
697 2013-09-12 Kenichi Handa <handa@gnu.org>
699 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
701 2013-09-12 Glenn Morris <rgm@gnu.org>
703 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
704 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
706 * subr.el (do-after-load-evaluation): Also give compiler warnings
707 when obsolete files are used (except by obsolete files).
709 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
710 in the status output, assume `filename' is the first. (Bug#15322)
712 * vc/vc.el (vc-deduce-fileset): Doc fix.
714 * calc/calc-help.el (Info-goto-node):
715 * progmodes/cperl-mode.el (Info-find-node):
716 * vc/ediff.el (Info-goto-node): Update declarations.
718 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
720 * vc/vc-bzr.el (vc-compilation-mode): Declare.
721 (vc-bzr-pull): Require vc-dispatcher.
722 * vc/vc-git.el (vc-compilation-mode): Declare.
723 (vc-git-pull): Require vc-dispatcher.
725 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
727 * progmodes/octave.el (help-button-action): Declare.
729 * shell.el (shell-directory-tracker): Output error as a message
730 rather than just returning it as a string.
731 (shell-process-pushd): Remove useless use of message.
733 * dframe.el (dframe-timer-fn):
734 * files.el (dir-locals-read-from-file):
735 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
737 * reveal.el (reveal-post-command):
738 * saveplace.el (load-save-place-alist-from-file):
739 * shell.el (shell-resync-dirs):
740 * w32-common-fns.el (x-get-selection-value):
741 * emacs-lisp/copyright.el (copyright-find-copyright):
742 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
743 * emulation/tpu-edt.el (tpu-copy-keyfile):
744 * play/bubbles.el (bubbles--mark-neighbourhood):
745 * progmodes/executable.el
746 (executable-make-buffer-file-executable-if-script-p):
747 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
749 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
751 Cleanup Eshell to rely less on dynamic scoping.
752 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
753 last-value, and ext-command here. Bind `args' closer to `body'.
754 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
755 (eshell--args): Declare new dynamic var.
756 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
757 last-value, and ext-command. Pass `args' to `body'.
758 (eshell-process-args): Bind eshell--args.
759 (eshell-set-option): Use eshell--args.
760 * eshell/eshell.el (eshell): Use derived-mode-p.
761 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
762 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
763 (eshell-glob-function): Declare.
764 * eshell/esh-util.el: Require cl-lib.
765 (eshell-read-hosts-file): Avoid add-to-list.
766 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
768 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
770 (eshell/diff): Remove unused var `err'.
771 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
773 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
774 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
776 * eshell/em-glob.el (eshell-glob-matches, message-shown):
777 Move declaration before first use.
778 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
779 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
782 2013-09-12 Glenn Morris <rgm@gnu.org>
784 * term/ns-win.el (global-map): Remove binding for ispell-next,
785 deleted 1999-05-29. (Bug#15357)
787 2013-09-11 Glenn Morris <rgm@gnu.org>
789 * echistory.el (electric-command-history): Remove call to deleted func.
791 * play/landmark.el (landmark-mode): Fix typos.
793 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
794 Check cvs-sort-ignore-file is bound.
796 * savehist.el: No need for cl when compiling on Emacs.
798 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
800 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
802 (eshell-self-insert-command, eshell-send-invisible):
803 Remove unused argument.
804 (eshell-handle-control-codes): Remove unused var `orig'.
805 Avoid delete-backward-char.
807 * files.el (set-auto-mode): Simplify a bit further.
809 2013-09-11 Glenn Morris <rgm@gnu.org>
811 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
812 (set-auto-mode): Don't regexp-quote elements.
813 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
814 * progmodes/cc-mode.el (interpreter-mode-alist):
815 * progmodes/ruby-mode.el (interpreter-mode-alist):
816 Revert previous change.
818 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
820 * play/snake.el (snake-mode):
821 * play/mpuz.el (mpuz-mode):
822 * play/landmark.el (lm-mode):
823 * play/blackbox.el (blackbox-mode):
824 * play/5x5.el (5x5-mode):
825 * obsolete/options.el (Edit-options-mode):
826 * net/quickurl.el (quickurl-list-mode):
827 * net/newst-treeview.el (newsticker-treeview-mode):
828 * mail/rmailsum.el (rmail-summary-mode):
829 * mail/mspools.el (mspools-mode):
830 * locate.el (locate-mode):
831 * ibuffer.el (ibuffer-mode):
832 * emulation/ws-mode.el (wordstar-mode):
833 * emacs-lisp/debug.el (debugger-mode):
834 * array.el (array-mode):
835 * net/eudc.el (eudc-mode): Use define-derived-mode.
836 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
837 Move initialization into declaration.
838 (mairix-searches-mode): Use define-derived-mode.
839 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
840 (eudc-edit-hotlist): Use dolist.
841 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
842 (Man-mode): Use define-derived-mode.
843 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
844 (Info-edit-mode): Use define-derived-mode.
845 (Info-cease-edit): Use Info-mode.
846 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
848 (eshell-mode): Use define-derived-mode.
849 * chistory.el (command-history-mode-map): Rename from
851 (command-history-mode): Use define-derived-mode.
852 (Command-history-setup): Remove function.
853 * calc/calc.el (calc-trail-mode-map): New var.
854 (calc-trail-mode): Use define-derived-mode.
855 (calc-trail-buffer): Set calc-main-buffer manually.
856 * bookmark.el (bookmark-insert-annotation): New function.
857 (bookmark-edit-annotation): Use it.
858 (bookmark-edit-annotation-mode): Make it a proper major mode.
859 (bookmark-send-edited-annotation): Use derived-mode-p.
860 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
861 closer to its ideal place. Use \' to match EOS.
863 * profiler.el (profiler-calltree-find): Use function-equal.
865 2013-09-10 Glenn Morris <rgm@gnu.org>
867 * files.el (interpreter-mode-alist): Convert to regexps.
868 (set-auto-mode): Adapt for this. (Bug#15306)
869 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
870 Comment out unused variable.
871 * progmodes/cc-mode.el (interpreter-mode-alist):
872 * progmodes/python.el (interpreter-mode-alist):
873 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
874 * progmodes/sh-script.el (sh-set-shell):
875 No longer use interpreter-mode-alist to get list of shells.
877 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
879 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
881 * simple.el: Use set-temporary-overlay-map for universal-argument.
882 (universal-argument-map): Don't use default-bindings (bug#15317).
883 Bind switch-frame explicitly. Replace universal-argument-minus with
884 a conditional binding.
885 (universal-argument-num-events, saved-overriding-map): Remove.
886 (restore-overriding-map): Remove.
887 (universal-argument--mode): Rename from save&set-overriding-map,
889 (universal-argument, universal-argument-more, negative-argument)
890 (digit-argument): Adjust accordingly.
891 (universal-argument-minus): Remove.
892 (universal-argument-other-key): Remove.
894 * subr.el (with-demoted-errors): Add `format' argument.
896 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
898 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
899 `tramp-cleanup-connection'.
901 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
902 parameters KEEP-DEBUG and KEEP-PASSWORD.
904 * net/tramp.el (tramp-file-name-handler):
905 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
906 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
907 (tramp-maybe-open-connection):
908 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
909 Use `tramp-cleanup-connection'.
911 * net/tramp-sh.el (tramp-maybe-open-connection):
912 Catch 'uname-changed inside the progress reporter.
914 2013-09-10 Glenn Morris <rgm@gnu.org>
916 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
918 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
919 returns "alternate access method" in mode (eg "-rw-r--r--.").
921 2013-09-08 Glenn Morris <rgm@gnu.org>
923 * saveplace.el (load-save-place-alist-from-file):
924 Demote errors. (Bug#15305)
926 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
928 Improve compatibility with older Emacsen, and XEmacs.
930 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
931 only if it is bound. It isn't for XEmacs.
932 (with-tramp-progress-reporter): Do not let-bind `result'.
933 This yields to scoping errors in XEmacs.
934 (tramp-handle-make-auto-save-file-name): New function, moved from
937 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
938 for `make-auto-save-file-name'.
939 (tramp-adb--gnu-switches-to-ash):
940 Use `tramp-compat-replace-regexp-in-string'.
942 * net/tramp-cache.el (tramp-cache-print): Call
943 `substring-no-properties' only if it is bound. It isn't for XEmacs.
945 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
946 bound. It isn't for XEmacs.
948 * net/tramp-compat.el (tramp-compat-copy-file):
949 Catch `wrong-number-of-arguments' error.
950 (tramp-compat-replace-regexp-in-string): New defun.
952 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
953 for `make-auto-save-file-name'.
954 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
956 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
957 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
958 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
960 * net/tramp-gw.el (tramp-gw-open-network-stream):
961 Use `tramp-compat-replace-regexp-in-string'.
963 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
964 Call `tramp-handle-make-auto-save-file-name'.
965 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
966 (tramp-sh-file-gvfs-monitor-dir-process-filter)
967 (tramp-sh-file-inotifywait-process-filter):
968 Use `tramp-compat-replace-regexp-in-string'.
969 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
971 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
972 for `make-auto-save-file-name'.
973 (tramp-smb-handle-copy-directory):
974 Call `tramp-compat-replace-regexp-in-string'.
975 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
976 (tramp-smb-handle-copy-file): Improve error message.
977 (tramp-smb-handle-rename-file): Rename directly only in case
978 `newname' does not exist yet. This is a restriction of smbclient.
979 (tramp-smb-maybe-open-connection): Rerun the function only when
980 `auth-sources' is non-nil.
982 2013-09-08 Kenichi Handa <handa@gnu.org>
984 * international/characters.el: Set category "^" (Combining) for
987 2013-09-07 Alan Mackenzie <acm@muc.de>
989 Correctly fontify Java class constructors.
990 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
992 (c-recognize-typeless-decls): Set the Java value to t.
993 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
994 While handling a "(", add a check for, effectively, Java, and handle a
995 "typeless" declaration there.
997 2013-09-07 Roland Winkler <winkler@gnu.org>
999 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1000 field subtitle for entry type book.
1002 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * minibuffer.el: Make minibuffer-complete call completion-in-region
1005 rather than other way around.
1006 (completion--some, completion-pcm--find-all-completions):
1007 Don't delay signals when debugging.
1008 (minibuffer-completion-contents): Beware fields within the
1009 minibuffer contents.
1010 (completion-all-sorted-completions): Use defvar-local.
1011 (completion--do-completion, completion--cache-all-sorted-completions)
1012 (completion-all-sorted-completions, minibuffer-force-complete):
1013 Add args `beg' and `end'.
1014 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1015 (minibuffer-complete): Use completion-in-region.
1016 (completion-complete-and-exit): New fun, extracted from
1017 minibuffer-complete-and-exit.
1018 (minibuffer-complete-and-exit): Use it.
1019 (completion--complete-and-exit): Rename from
1020 minibuffer--complete-and-exit.
1021 (completion-in-region--single-word): New function, extracted from
1022 minibuffer-complete-word.
1023 (minibuffer-complete-word): Use it.
1024 (display-completion-list): Make `common-substring' argument obsolete.
1025 (completion--in-region): Call completion--in-region-1 instead of
1026 minibuffer-complete.
1027 (completion-help-at-point): Pass boundaries to
1028 minibuffer-completion-help as args rather than via an overlay.
1029 (completion-pcm--string->pattern): Use `any-delim'.
1030 (completion-pcm--optimize-pattern): New function.
1031 (completion-pcm--pattern->regex): Handle `any-delim'.
1032 * icomplete.el (icomplete-forward-completions)
1033 (icomplete-backward-completions, icomplete-completions):
1034 Adjust calls to completion-all-sorted-completions and
1035 completion--cache-all-sorted-completions.
1036 (icomplete-with-completion-tables): Default to t.
1037 * emacs-lisp/crm.el (crm--current-element): Rename from
1038 crm--select-current-element. Don't put an overlay but return the
1040 (crm--completion-command): Take two new args to bind to the boundaries.
1041 (crm-completion-help): Adjust accordingly.
1042 (crm-complete): Use completion-in-region.
1043 (crm-complete-word): Use completion-in-region--single-word.
1044 (crm-complete-and-exit): Use completion-complete-and-exit.
1046 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1051 2013-09-06 Juri Linkov <juri@jurta.org>
1053 * info.el (Info-display-images-node): When image file doesn't exist
1054 display text version of the image if it's provided in the Info file.
1055 Otherwise, display the location of missing image from SRC attribute.
1056 Add help-echo text property from ALT attribute. (Bug#15279)
1058 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1060 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1061 (edit-abbrevs-mode): Use define-derived-mode.
1063 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1064 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1066 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1067 Use define-derived-mode.
1069 * epg.el (epg-start-encrypt): Minor CSE simplification.
1071 2013-09-06 William Xu <william.xwl@gmail.com>
1073 * arc-mode.el: Add support for 7za (bug#15264).
1074 (archive-7z-program): New var.
1075 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1076 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1077 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1079 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1083 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1084 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1085 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1086 (tramp-postfix-host-format, tramp-file-name-regexp)
1087 (tramp-completion-file-name-regexp)
1088 (tramp-completion-dissect-file-name)
1089 (tramp-handle-substitute-in-file-name): Remove 'url case.
1090 (tramp-file-name-regexp-url)
1091 (tramp-completion-file-name-regexp-url): Remove constants.
1093 2013-09-06 Glenn Morris <rgm@gnu.org>
1095 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1097 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1099 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1100 keywords" below "here-doc beginnings" (Bug#15270).
1102 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * subr.el (pop): Use `car-safe'.
1105 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1106 to detect unused `pop' return value.
1108 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1110 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1111 (python-fill-string): Remove unused var `marker'.
1112 (python-skeleton-add-menu-items): Remove unused var `items'.
1114 * international/mule-cmds.el: Require CL.
1115 (find-coding-systems-for-charsets): Avoid add-to-list.
1116 (sanitize-coding-system-list): New function, extracted from
1117 select-safe-coding-system-interactively.
1118 (select-safe-coding-system-interactively): Use it.
1119 (read-input-method-name): Accept symbols for `default'.
1121 * emacs-lisp/advice.el (defadvice): Add indent rule.
1123 2013-09-05 Daniel Hackney <dan@haxney.org>
1127 * net/browse-url.el:
1130 * net/eudcb-ldap.el:
1143 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1144 byte compiler. Remove some unused let-bound variables.
1146 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1148 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1149 a "ref-cell", since it gets better optimized (bug#14883).
1151 2013-09-05 Glenn Morris <rgm@gnu.org>
1153 * progmodes/cc-awk.el (c-forward-sws): Declare.
1155 2013-09-04 Glenn Morris <rgm@gnu.org>
1157 * generic-x.el [rul-generic-mode]: Require cc-mode.
1158 (c++-mode-syntax-table): Declare.
1159 (rul-generic-mode-syntax-table): Init in the defvar.
1161 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1164 (vc-do-command, vc-set-async-update):
1165 * vc/vc-mtn.el (vc-mtn-dir-status):
1166 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1167 (vc-hg-pull, vc-hg-merge-branch):
1168 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1169 (vc-git-merge-branch):
1170 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1171 (vc-cvs-dir-status-files):
1172 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1173 (vc-bzr-dir-status-files):
1174 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1175 * vc/vc-annotate.el: Use lexical-binding.
1176 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1177 (vc-sentinel-movepoint): Declare.
1178 (vc-annotate): Don't use `goto-line'.
1179 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1180 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1181 (vc-sentinel-movepoint): Declare.
1182 * vc/vc-svn.el: Use lexical-binding.
1183 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1185 * vc/vc-rcs.el: Use lexical-binding.
1187 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1188 `deleted'. Don't drop errors silently.
1190 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1192 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1194 * vc/vc.el (vc-ignore): Rewrite.
1195 (vc-default-ignore): New function.
1196 (vc-default-ignore-completion-table): Use find-ignore-file.
1198 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1199 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1200 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1201 Remove. Most code moved to vc.el.
1203 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1205 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1206 * net/tramp-smb.el (tramp-smb-get-file-entries):
1207 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1208 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1210 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1212 (eww-change-select): Remove unused var `properties'.
1213 (eww-make-unique-file-name): Remove unused var `base'.
1215 * finder.el (finder-compile-keywords): Don't mess with windows.
1217 * calculator.el (calculator-funcall): Fix typo in last change.
1219 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1221 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1222 <pkg>-autoloads.el file stop us.
1224 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1225 warnings, and factor out common code.
1227 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1229 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1230 two-character operators and whether the character preceding them
1231 changes their meaning (Bug#15208).
1233 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1235 Format code sent to Python shell for robustness.
1236 * progmodes/python.el (python-shell-buffer-substring):
1238 (python-shell-send-region, python-shell-send-buffer): Use it.
1240 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1242 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1243 * net/tramp.el (tramp-user-error): ... here.
1244 (tramp-find-method, tramp-check-proper-host)
1245 (tramp-dissect-file-name, tramp-debug-message)
1246 (tramp-handle-shell-command):
1247 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1248 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1250 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1252 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1254 * avoid.el (mouse-avoidance-point-position)
1255 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1258 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1260 * progmodes/python.el (python-shell-completion-get-completions):
1261 Drop use of deleted `comint-last-prompt-overlay'.
1262 (python-nav-if-name-main): New command.
1264 2013-09-01 Glenn Morris <rgm@gnu.org>
1266 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1267 Avoid leading space in $wins. Otherwise the sed command used by
1268 eg compile-main ends up containing "/*.el". (Bug#15170)
1270 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1272 2013-08-30 Glenn Morris <rgm@gnu.org>
1274 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1275 Fix is-this-a-directory logic. (Bug#15220)
1277 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * textmodes/css-mode.el: Use SMIE.
1280 (css-smie-grammar): New var.
1281 (css-smie--forward-token, css-smie--backward-token)
1282 (css-smie-rules): New functions.
1283 (css-mode): Use them.
1284 (css-navigation-syntax-table): Remove var.
1285 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1286 (css-indent-calculate, css-indent-line): Remove functions.
1288 Misc changes to reduce use of `(lambda...); and other cleanups.
1289 * cus-edit.el: Use lexical-binding.
1290 (customize-push-and-save, customize-apropos)
1291 (custom-buffer-create-internal): Use closures.
1292 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1293 * progmodes/ada-xref.el: Use setq.
1294 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1295 * dframe.el: Use lexical-binding.
1296 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1297 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1298 * descr-text.el: Use lexical-binding.
1299 (describe-text-widget, describe-text-sexp, describe-property-list):
1301 * comint.el (comint-history-isearch-push-state): Use a closure.
1302 * calculator.el: Use lexical-binding.
1303 (calculator-number-to-string): Make it work with lexical-binding.
1304 (calculator-funcall): Same and use cl-letf.
1306 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1307 (lisp--company-doc-string, lisp--company-location): New functions.
1308 (lisp-completion-at-point): Use them to improve Company support.
1310 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1311 params of lambda expressions.
1312 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1313 (ruby-smie--opening-pipe-p): New function.
1314 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1315 symbols and matched |...| for formal params.
1316 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1317 from being treated as hanging. Handle "rescue".
1319 2013-08-29 Glenn Morris <rgm@gnu.org>
1321 * progmodes/cc-engine.el (c-pull-open-brace):
1322 Move definition before use.
1324 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1327 are immutable. Don't use `unsafe' any more.
1328 (cl--defsubst-expand): Don't substitute at the same time as keeping
1329 a residual unused let-binding. Don't use `unsafe' any more.
1331 2013-08-29 Glenn Morris <rgm@gnu.org>
1333 * calendar/cal-china.el (calendar-chinese-year-cache):
1336 * nxml/nxml-util.el (nxml-debug-clear-inside):
1337 Use cl-loop rather than loop.
1339 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1341 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1343 2013-08-28 Glenn Morris <rgm@gnu.org>
1345 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1347 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1349 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1351 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1353 * simple.el (repeat-complex-command--called-interactively-skip):
1355 (repeat-complex-command): Use it (bug#14136).
1357 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1358 (c-define-abbrev-table): Add `doc' argument.
1359 (c-mode-abbrev-table, c++-mode-abbrev-table)
1360 (objc-mode-abbrev-table, java-mode-abbrev-table)
1361 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1362 (awk-mode-abbrev-table): Use it.
1363 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1364 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1365 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1366 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1367 Move initialization into the declaration; and remove any
1370 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1371 and dynamic let binding.
1373 * vc/smerge-mode.el: Remove redundant :group args.
1375 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1378 2013-08-28 Juri Linkov <juri@jurta.org>
1380 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1381 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1382 (isearch-other-meta-char): Handle an undefined shifted printing
1383 character by downshifting it. (Bug#15200)
1385 2013-08-28 Juri Linkov <juri@jurta.org>
1387 * isearch.el (isearch-search): Change regexp error message for
1388 non-regexp searches. (Bug#15166)
1390 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1392 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1393 for portability to hosts where /bin/sh has problems.
1395 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1397 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1399 2013-08-27 Juri Linkov <juri@jurta.org>
1401 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1402 in the keyboard macro. (Bug#15126)
1404 2013-08-27 Juri Linkov <juri@jurta.org>
1406 * isearch.el (isearch-quote-char): Comment out converting unibyte
1407 to multibyte, thus syncing with its `quoted-insert' counterpart.
1410 2013-08-27 Martin Rudalics <rudalics@gmx.at>
1412 * window.el (display-buffer-use-some-window): Add missing
1413 argument in call of get-largest-window (Bug#15185).
1414 Reported by Stephen Leake.
1416 2013-08-27 Glenn Morris <rgm@gnu.org>
1418 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1420 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1423 from a matcher-function unless there's no more matches (bug#15161).
1425 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1427 * minibuffer.el: Revert change from 2013-08-20.
1429 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1430 with text property `tramp-default', if appropriate.
1431 (tramp-check-proper-host): New defun.
1432 (tramp-dissect-file-name): Do not check hostname. Revert change
1434 (tramp-backtrace): Make VEC-OR-PROC optional.
1436 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1437 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1438 * net/tramp-sh.el (tramp-maybe-open-connection):
1439 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1440 Apply `tramp-check-proper-host'.
1442 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1444 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1445 lambda expression in order to have `describe-variable' display it.
1447 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1449 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1450 BUF can be optional. (Bug#15186)
1452 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1454 * progmodes/flymake.el (flymake-get-real-file-name-function):
1455 Fix broken customization. (Bug#15184)
1457 2013-08-25 Alan Mackenzie <acm@muc.de>
1459 Improve indentation of bracelists defined by macros (without "=").
1461 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1462 expansion begins with "{", regard it as bracelist when it doesn't
1465 Parse C++ inher-intro when there's a template split over 2 lines.
1467 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1468 rigorously the search for "class" etc. followed by ":".
1470 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1471 random languages a regexp which never matches rather than nil.
1473 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1475 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1476 (c-awk-regexp-one-line-possibly-open-char-list-re)
1477 (c-awk-one-line-possibly-open-regexp-re)
1478 (c-awk-one-line-non-syn-ws*-re): Remove.
1479 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1480 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1481 (c-awk-space*-unclosed-regexp-/-re): New constants.
1482 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1483 aren't regexp delimiters.
1485 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1486 handling for a rare situation in AWK Mode involving unterminated
1489 2013-08-23 Glenn Morris <rgm@gnu.org>
1491 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1493 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1495 * files.el (create-file-buffer): If the result would begin with
1496 spaces, prepend a "|" instead of removing them. (Bug#15162)
1498 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1500 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1501 text-properties (bug#15155).
1503 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1505 (calc-keypad-redraw): Remove unused var `pad'.
1506 (calc-keypad-press): Remove unused var `menu'.
1508 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1510 * window.el (display-buffer-pop-up-frame):
1511 Call pop-up-frame-function with BUFFER current so `make-frame' will
1512 use it as the new frame's buffer (Bug#15133).
1514 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1516 * calendar/timeclock.el: Minor cleanups.
1517 (timeclock-ask-before-exiting, timeclock-use-display-time):
1519 (timeclock-modeline-display): Define as alias before the
1521 (timeclock-mode-line-display): Use define-minor-mode.
1522 (timeclock-day-list-template): Make it a function, add an argument.
1523 (timeclock-day-list-required, timeclock-day-list-length)
1524 (timeclock-day-list-debt, timeclock-day-list-span)
1525 (timeclock-day-list-break): Adjust calls accordingly.
1527 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1529 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1530 Use read--expression so that completion works again.
1532 2013-08-21 Sam Steingold <sds@gnu.org>
1534 Add rudimentary inferior shell interaction
1535 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1536 (sh-set-shell): Reset it.
1537 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1538 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1540 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1542 * align.el: Use lexical-binding.
1543 (align-region): Simplify accordingly.
1545 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1547 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1549 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1552 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1556 * net/tramp-cmds.el:
1558 * net/tramp-gvfs.el:
1560 * net/tramp-sh.el: Don't wrap external variable declarations by
1561 `eval-when-compile'.
1563 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1565 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1566 now that Emacs supports ImageMagick animations.
1568 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1570 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1571 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1573 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1575 * window.el (mouse-autoselect-window-select): Do autoselect when
1576 mouse pointer is on margin.
1578 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1580 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1582 2013-08-16 Glenn Morris <rgm@gnu.org>
1584 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1585 Handle "Remote Directory" response of some clients. (Bug#15058)
1587 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1588 Tweak warning. (Bug#14926)
1590 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1591 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1593 * image-mode.el (image-mode-map): Add menu items to reverse,
1594 increase, decrease, reset animation speed.
1595 (image--set-speed, image-increase-speed, image-decrease-speed)
1596 (image-reverse-speed, image-reset-speed): New functions.
1597 (image-mode-map): Add bindings for speed commands.
1599 * image.el (image-animate-get-speed, image-animate-set-speed):
1601 (image-animate-timeout): Respect image :speed property.
1603 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1606 previous line (bug#15101).
1607 (debugger-eval-expression, debugger-record-expression):
1608 Use read--expression (bug#15102).
1610 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1612 Remove byte compiler warnings, visible when compiling with
1613 `byte-compile-force-lexical-warnings' set to t.
1615 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1616 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1617 (tramp-handle-unhandled-file-name-directory)
1618 (tramp-handle-file-notify-add-watch, tramp-action-login)
1619 (tramp-action-succeed, tramp-action-permission-denied)
1620 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1623 * net/tramp-adb.el (tramp-adb-parse-device-names)
1624 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1625 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1626 (tramp-adb-handle-file-truename): Remove unused arguments.
1628 * net/tramp-cache.el (tramp-flush-directory-property)
1629 (tramp-flush-connection-property, tramp-list-connections)
1630 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1632 * net/tramp-compat.el (tramp-compat-make-temp-file):
1633 Rename FILENAME to F.
1635 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1636 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1637 (tramp-zeroconf-parse-workstation-device-names)
1638 (tramp-zeroconf-parse-webdav-device-names)
1639 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1641 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1642 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1644 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1646 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1647 (tramp-sh-handle-insert-file-contents-literally)
1648 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1650 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1651 Remove unused variables.
1653 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1654 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1655 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1657 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1658 Make them a defconst.
1659 (tramp-uuencode-region): Remove unused variable.
1661 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1663 * frameset.el (frameset--prop-setter): New function.
1664 (frameset-prop): Add gv-setter declaration.
1665 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1666 parameter was already set in FILTERED. Doc fix.
1667 (frameset--record-minibuffer-relationships): Allow saving a
1668 minibufferless frame without its corresponding minibuffer frame.
1669 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1670 frame, if the frame id matches.
1671 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1672 frames before orphaned ones.
1673 (frameset-restore): Warn about orphaned windows, instead of error out.
1675 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1677 * window.el (window-make-atom): Don't overwrite parameter
1679 (display-buffer-in-atom-window): Handle special case where we
1680 split an already atomic window.
1681 (window--major-non-side-window, display-buffer-in-side-window)
1682 (window--side-check): Ignore minibuffer window when walking
1684 (window-deletable-p): Return 'frame only if no other frame uses
1685 our minibuffer window.
1686 (record-window-buffer): Run buffer-list-update-hook.
1687 (split-window): Make sure window--check-frame won't destroy an
1688 existing atomic window in case the new window gets nested
1690 (display-buffer-at-bottom): Ignore minibuffer window when
1691 walking window tree. Don't split a side window.
1692 (pop-to-buffer): Don't set-buffer here, the select-window call
1694 (mouse-autoselect-window-select): Autoselect only if we are in the
1695 text portion of the window.
1697 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1699 * net/shr.el (shr-parse-image-data): New function to grab both the
1700 data itself and the Content-Type.
1701 (shr-put-image): Use it.
1703 * net/eww.el (eww-display-image): Ditto.
1705 * image.el (image-content-type-suffixes): New variable.
1707 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1709 * progmodes/python.el (python-imenu--build-tree)
1710 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1712 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1714 * simple.el (backward-word): Mention the optional argument.
1716 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1718 * frameset.el (frameset--make): Rename constructor from make-frameset.
1719 (frameset-p, frameset-valid-p): Don't autoload.
1720 (frameset-valid-p): Use normal accessors.
1722 2013-08-13 Glenn Morris <rgm@gnu.org>
1724 * progmodes/compile.el (compile-command): Tweak example in doc.
1725 * obsolete/scribe.el (scribe-mode):
1726 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1728 * mail/feedmail.el (feedmail-confirm-outgoing)
1729 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1731 * cus-start.el (truncate-partial-width-windows): Fix type.
1733 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1735 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1737 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * emacs-lisp/timer.el (timer--time-setter): New function.
1740 (timer--time): Use it as gv-setter.
1742 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1743 setter is not a symbol.
1745 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1747 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1748 if sending fails. This makes debugging easier.
1750 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1752 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1753 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1754 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1756 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1758 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1760 2013-08-12 Glenn Morris <rgm@gnu.org>
1762 * format.el (format-annotate-function):
1763 Handle read-only text properties in the source. (Bug#14887)
1765 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1767 * net/eww.el (eww-display-html): Ignore coding system errors.
1768 One web site uses "utf-8lias" as the coding system.
1770 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1772 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1774 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1776 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1777 (tutorial--detailed-help): Remove unused local variables.
1778 (tutorial--save-tutorial-to): Use ignore-errors.
1779 (help-with-tutorial): Use looking-at-p.
1781 * view.el (view-buffer-other-window, view-buffer-other-frame):
1782 Mark unused arguments.
1784 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1785 (woman-select-symbol-fonts, woman, woman-find-file)
1786 (woman-insert-file-contents, woman-non-underline-faces):
1788 (woman1-unquote): Move declaration.
1790 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1791 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1792 argument. Remove unused local variable.
1793 (xml-parse-elem-type): Use string-match-p.
1794 (xml-substitute-numeric-entities): Use ignore-errors.
1796 * calculator.el (calculator): Mark unused argument.
1797 (calculator-paste, calculator-quit, calculator-integer-p):
1799 (calculator-string-to-number, calculator-decimal, calculator-exp)
1800 (calculator-op-or-exp): Use string-match-p.
1802 * dired.el (dired-buffer-more-recently-used-p): Declare.
1803 (dired-insert-set-properties, dired-insert-old-subdirs):
1806 * dired-aux.el (dired-compress): Use ignore-errors.
1807 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1808 (dired-do-async-shell-command, dired-do-shell-command)
1809 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1810 (dired-insert-subdir-validate): Use string-match-p.
1811 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1812 (dired-add-entry): Use string-match-p, looking-at-p.
1813 (dired-insert-subdir-newpos): Remove unused local variable.
1815 * filenotify.el (file-notify-callback): Remove unused local variable.
1817 * filesets.el (filesets-error): Mark unused argument.
1818 (filesets-which-command-p, filesets-filter-dir-names)
1819 (filesets-directory-files, filesets-get-external-viewer)
1820 (filesets-ingroup-get-data): Use string-match-p.
1822 * find-file.el (ff-other-file-name, ff-other-file-name)
1823 (ff-find-the-other-file, ff-cc-hh-converter):
1824 Remove unused local variables.
1825 (ff-get-file-name): Use string-match-p.
1826 (ff-all-dirs-under): Use ignore-errors.
1828 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1829 (follow-select-if-visible): Remove unused local variable.
1831 * forms.el (read-file-filter): Move declaration.
1832 (forms--make-format, forms--make-parser, forms-insert-record):
1833 Quote function with #'.
1834 (forms--update): Use string-match-p. Quote function with #'.
1836 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1837 (help-make-xrefs): Use looking-at-p.
1838 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1840 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1841 (ibuffer-confirm-operation-on): Use string-match-p.
1843 * msb.el (msb-item-handler, msb-dired-item-handler):
1844 Mark unused arguments.
1846 * ses.el (ses-decode-cell-symbol)
1847 (ses-kill-override): Remove unused local variable.
1848 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1849 (ses-load): Use ignore-errors, looking-at-p.
1850 (ses-jump-safe): Use ignore-errors.
1851 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1853 * tabify.el (untabify, tabify): Mark unused arguments.
1855 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1856 Mark unused argument.
1857 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1858 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1860 * emacs-lisp/timer.el (timer--time): Define setter with
1861 gv-define-setter to avoid deprecation warning.
1863 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1864 (*record-cmpl-statistics-p*): Remove (was commented out).
1865 (cmpl-statistics-block): Remove (body was commented out).
1866 All callers changed.
1867 (add-completions-from-buffer, load-completions-from-file):
1868 Remove unused variables.
1870 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1872 * filecache.el (file-cache-delete-file-list):
1873 Print message only when told so.
1874 (file-cache-files-matching): Use #' in mapconcat argument.
1876 * ffap.el (ffap-url-at-point): Fix reference to variable
1877 thing-at-point-default-mail-uri-scheme.
1879 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * subr.el (define-error): New function.
1882 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1883 error-file-not-found and define with define-error.
1884 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1885 and define with define-error.
1886 * userlock.el (file-locked, file-supersession):
1887 * simple.el (mark-inactive):
1888 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1889 * progmodes/ada-mode.el (ada-mode-errors):
1890 * play/life.el (life-extinct):
1891 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1892 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1893 * nxml/rng-util.el (rng-error):
1894 * nxml/rng-uri.el (rng-uri-error):
1895 * nxml/rng-match.el (rng-compile-error):
1896 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1897 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1898 * nxml/nxml-rap.el (nxml-scan-error):
1899 * nxml/nxml-outln.el (nxml-outline-error):
1900 * net/soap-client.el (soap-error):
1901 * net/gnutls.el (gnutls-error):
1902 * net/ange-ftp.el (ftp-error):
1903 * mpc.el (mpc-proc-error):
1904 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1905 (json-number-format, json-string-escape, json-string-format)
1906 (json-key-format, json-object-format):
1907 * jka-compr.el (compression-error):
1908 * international/quail.el (quail-error):
1909 * international/kkc.el (kkc-error):
1910 * emacs-lisp/ert.el (ert-test-failed):
1911 * calc/calc.el (calc-error, inexact-result, math-overflow)
1913 * bookmark.el (bookmark-error-no-filename):
1914 * epg.el (epg-error): Define with define-error.
1916 * time.el (display-time-event-handler)
1917 (display-time-next-load-average): Don't call sit-for since it seems
1918 unnecessary (bug#15045).
1920 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1921 Use #' instead of ' to quote functions.
1922 (checkdoc-output-mode): Use setq-local.
1923 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1924 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1925 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1926 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1927 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1928 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1929 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1930 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1932 * ido.el (ido-completion-help): Fix up compiler warning.
1934 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1936 * frameset.el (frameset-p): Add autoload cookie.
1937 (frameset--jump-to-register): New function, based on code moved from
1939 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1941 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1942 (frameset-restore, frameset-save, frameset-session-filter-alist):
1943 Remove declarations.
1944 (register-alist): Doc fix.
1945 (frameset-to-register): Move to frameset.el.
1946 (jump-to-register, describe-register-1): Remove frameset-specific code.
1948 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1950 * allout-widgets.el (allout-widgets-pre-command-business)
1951 (allout-widgets-post-command-business)
1952 (allout-widgets-after-change-handler)
1953 (allout-decorate-item-and-context, allout-set-boundary-marker)
1954 (allout-body-modification-handler)
1955 (allout-graphics-modification-handler): Mark ignored arguments.
1956 (allout-widgets-post-command-business)
1957 (allout-widgets-exposure-change-processor)
1958 (allout-widgets-exposure-undo-processor)
1959 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1960 (allout-parse-item-at-point, allout-decorate-item-guides)
1961 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1962 * allout.el (epa-passphrase-callback-function): Declare.
1963 (allout-overlay-insert-in-front-handler)
1964 (allout-overlay-interior-modification-handler)
1965 (allout-isearch-end-handler, allout-chart-siblings)
1966 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1967 (allout-yank-processing, allout-process-exposed)
1968 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1969 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1970 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1971 (lisp-indent-defform): Mark ignored arguments.
1972 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1973 (calculate-lisp-indent): Remove unused variables.
1974 * international/characters.el (indian-2-column, arabic-2-column)
1975 (tibetan): Mark ignored arguments.
1976 (use-cjk-char-width-table): Mark ignored arguments.
1977 Remove unused variables.
1978 * international/fontset.el (build-default-fontset-data)
1979 (x-compose-font-name, create-fontset-from-fontset-spec):
1980 Mark ignored arguments.
1981 (fontset-plain-name): Remove unused variables.
1982 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1983 (keyboard-coding-system): Mark ignored arguments.
1984 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1985 * help.el (resize-temp-buffer-window):
1986 * window.el (display-buffer-in-major-side-window)
1987 (display-buffer-in-side-window, display-buffer-in-previous-window):
1988 Remove unused variables.
1989 * isearch.el (isearch-forward-symbol):
1990 * version.el (emacs-bzr-version-bzr):
1991 * international/mule-cmds.el (current-language-environment):
1992 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1994 * term/pc-win.el (x-list-fonts, x-display-planes)
1995 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1996 (x-server-version, x-display-screens, x-display-mm-height)
1997 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1998 (x-selection-owner-p, x-own-selection-internal)
1999 (x-disown-selection-internal, x-get-selection-internal)
2000 (msdos-initialize-window-system):
2001 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2002 * term/x-win.el (x-handle-no-bitmap-icon):
2003 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2004 (vc-default-find-file-hook, vc-default-extra-menu):
2005 Mark ignored arguments.
2007 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2009 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2010 break-condition in the context of the debugged code (bug#12685).
2012 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2015 Do not use an overlay to highlight the last prompt. (Bug#14744)
2016 (comint-mode): Make comint-last-prompt buffer local.
2017 (comint-last-prompt): New variable.
2018 (comint-last-prompt-overlay): Remove. Superseded by
2020 (comint-snapshot-last-prompt, comint-output-filter):
2021 Use comint-last-prompt.
2023 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2025 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2026 (frameset-save): Check validity of the resulting frameset.
2028 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2030 * ido.el (ido-record-command): Add doc string.
2032 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2034 * frameset.el (frameset): Do not disable creation of the default
2035 frameset-p predicate. Doc fix.
2036 (frameset-valid-p): New function, copied from the old predicate-p.
2037 Add additional checks.
2038 (frameset-restore): Check with frameset-valid-p.
2039 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2040 (frameset-name, frameset-description, frameset-properties)
2041 (frameset-states): Add docstring.
2042 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2043 (frameset-filter-alist): Doc fixes.
2045 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2047 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2049 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2052 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2053 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2054 (byte-compile-normal-call): Remove obsolescence check.
2056 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2058 * frameset.el (frameset-restore): Doc fix.
2060 * register.el (frameset-frame-id, frameset-frame-with-id)
2061 (frameset-p, frameset-restore, frameset-save): Declare.
2062 (register-alist): Document framesets.
2063 (frameset-session-filter-alist): Declare.
2064 (frameset-to-register): New function.
2065 (jump-to-register): Implement jumping to framesets. Doc fix.
2066 (describe-register-1): Describe framesets.
2068 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2070 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2072 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2073 Use lexical-binding.
2075 * frameset.el (frameset): Use type vector, not list (incompatible
2076 change). Do not declare a new constructor, use the default one.
2077 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2078 `name' and `description', respectively, and add read-only slot
2079 `timestamp'. Doc fixes.
2080 (frameset-copy, frameset-persistent-filter-alist)
2081 (frameset-filter-alist, frameset-switch-to-gui-p)
2082 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2083 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2084 (frameset-filter-iconified, frameset-keep-original-display-p):
2086 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2087 Rename from frameset-filter-(save|restore)-param. All callers changed.
2089 (frameset-p): Adapt to change to vector and be more thorough.
2090 Change arg name to OBJECT. Doc fix.
2091 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2092 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2093 All callers changed.
2094 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2095 All callers changed.
2096 (frameset--record-minibuffer-relationships): Rename from
2097 frameset--process-minibuffer-frames. All callers changed.
2098 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2099 Use new default constructor (again). Doc fix.
2100 (frameset--find-frame-if): Rename from `frameset--find-frame.
2101 All callers changed.
2102 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2103 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2105 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2106 PARAMETERS and WINDOW-STATE, respectively.
2107 (frameset-restore): Add new keyword argument PREDICATE.
2108 Reset frameset--target-display to nil. Doc fix.
2110 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2114 (bat-mode-syntax-table): Mark \n as end-of-comment.
2115 (bat-font-lock-keywords): Remove comment rule.
2117 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2118 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2120 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2121 (byte-compile-callargs-warn): Use `push'.
2122 (byte-compile-arglist-warn): Ignore higher-order "calls".
2123 (byte-compile-file-form-autoload): Use `pcase'.
2124 (byte-compile-function-form): If quoting a symbol, check that it exists.
2126 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2128 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2129 and add a few popular commands found in batch files.
2130 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2131 (dos-mode): Doc fixes.
2133 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2136 (dos-mode): Use setq-local. Add space after "rem".
2137 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2138 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2140 2013-08-07 Arni Magnusson <arnima@hafro.is>
2142 * progmodes/dos.el: New file.
2143 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2146 2013-08-06 Glenn Morris <rgm@gnu.org>
2148 * calendar/calendar.el: Add new faces, and day-header-array.
2149 (calendar-weekday-header, calendar-weekend-header)
2150 (calendar-month-header): New faces.
2151 (calendar-day-header-construct): New function.
2152 (calendar-day-header-width): Also :set calendar-day-header-array.
2153 (calendar-american-month-header, calendar-european-month-header)
2154 (calendar-iso-month-header): Use calendar- faces.
2155 (calendar-generate-month):
2156 Use calendar-day-header-array for day headers; apply faces to them.
2157 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2158 (calendar-abbrev-construct): Add optional maxlen argument.
2159 (calendar-day-name-array): Doc fix.
2160 (calendar-day-name-array, calendar-abbrev-length)
2161 (calendar-day-abbrev-array):
2162 Also :set calendar-day-header-array, and maybe redraw.
2163 (calendar-day-header-array): New option. (Bug#15007)
2164 (calendar-font-lock-keywords): Set to nil and make obsolete.
2165 (calendar-day-name): Add option to use header array.
2167 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2169 * net/shr.el (shr-render-td): Remove debugging.
2170 (shr-render-td): Make width computation consistent by defaulting
2171 all zero-width columns to 10 characters. This may not be optimal,
2172 but it's at least consistent.
2173 (shr-make-table-1): Redo last change to fix the real problem in
2176 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2178 * files.el (cache-long-line-scans):
2179 Make obsolete alias to `cache-long-scans'.
2181 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2183 * frameset.el (frameset, frameset-filter-alist)
2184 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2185 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2186 (frameset-compute-pos): Rename from frameset--compute-pos,
2188 (frameset-move-onscreen): Use frameset-compute-pos.
2189 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2191 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2192 Fix typos in docstrings.
2194 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2196 * frame.el (get-other-frame): Tiny cleanup.
2198 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2200 * vc/vc.el (vc-default-ignore-completion-table):
2201 Silence byte-compiler warning.
2203 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2204 slot , which can indeed be nil.
2205 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2206 Move entry for `left' from persistent to live filter alist.
2207 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2209 (frameset-filter-params): When restoring a frame, copy items added to
2210 `filtered', to avoid unwittingly modifying the original parameters.
2211 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2212 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2214 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2215 to use looking-at-p instead of looking-at. (Bug#15028)
2217 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2219 Revert introduction of isearch-filter-predicates (bug#14714).
2220 Rely on add-function instead.
2221 * isearch.el (isearch-filter-predicates): Rename it back to
2222 isearch-filter-predicate.
2223 (isearch-message-prefix): Use advice-function-mapc and advice
2224 properties to get the isearch-message-prefix.
2225 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2226 instead of run-hook-with-args-until-failure.
2227 (isearch-filter-visible): Not obsolete any more.
2228 * loadup.el: Preload nadvice.
2229 * replace.el (perform-replace): Revert to funcall
2230 instead of run-hook-with-args-until-failure.
2231 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2232 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2233 dired-isearch-filenames-toggle; make it into a proper minor mode.
2234 Use add/remove-function.
2235 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2236 Call the minor-mode rather than add/remove-hook.
2237 (dired-isearch-filter-filenames):
2238 Remove isearch-message-prefix property.
2239 * info.el (Info--search-loop): New function, extracted from Info-search.
2240 Funcall isearch-filter-predicate instead of
2241 run-hook-with-args-until-failure isearch-filter-predicates.
2242 (Info-search): Use it.
2243 (Info-mode): Use isearch-filter-predicate instead of
2244 isearch-filter-predicates.
2246 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2248 Do not call to `selected-window' where it is assumed by default.
2249 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2250 `window-hscroll', `window-width', `window-height', `window-buffer',
2251 `window-frame', `window-start', `window-point', `next-window'
2252 and `window-display-table'.
2253 * abbrev.el (abbrev--default-expand):
2254 * bs.el (bs--show-with-configuration):
2255 * buff-menu.el (Buffer-menu-mouse-select):
2256 * calc/calc.el (calc):
2257 * calendar/calendar.el (calendar-generate-window):
2258 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2260 * comint.el (send-invisible, comint-dynamic-complete-filename)
2261 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2262 * completion.el (complete):
2263 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2264 * disp-table.el (describe-current-display-table):
2265 * doc-view.el (doc-view-insert-image):
2266 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2267 * ehelp.el (with-electric-help):
2268 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2269 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2270 * emacs-lisp/helper.el (Helper-help-scroller):
2271 * emulation/cua-base.el (cua--post-command-handler-1):
2272 * eshell/esh-mode.el (eshell-output-filter):
2273 * ffap.el (ffap-gnus-wrapper):
2274 * help-macro.el (make-help-screen):
2275 * hilit-chg.el (highlight-compare-buffers):
2276 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2277 * hl-line.el (global-hl-line-highlight):
2278 * icomplete.el (icomplete-simple-completing-p):
2279 * isearch.el (isearch-done):
2280 * jit-lock.el (jit-lock-stealth-fontify):
2281 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2282 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2283 * mpc.el (mpc-tagbrowser, mpc):
2284 * net/rcirc.el (rcirc-any-buffer):
2285 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2286 * play/landmark.el (landmark-max-width, landmark-max-height):
2287 * play/zone.el (zone):
2288 * progmodes/compile.el (compilation-goto-locus):
2289 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2290 * progmodes/etags.el (find-tag-other-window):
2291 * progmodes/fortran.el (fortran-column-ruler):
2292 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2293 * progmodes/verilog-mode.el (verilog-point-text):
2294 * reposition.el (reposition-window):
2295 * rot13.el (toggle-rot13-mode):
2296 * server.el (server-switch-buffer):
2297 * shell.el (shell-dynamic-complete-command)
2298 (shell-dynamic-complete-environment-variable):
2299 * simple.el (insert-buffer, set-selective-display)
2300 (delete-completion-window):
2301 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2302 (speedbar-recenter):
2303 * startup.el (fancy-splash-head):
2304 * textmodes/ispell.el (ispell-command-loop):
2305 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2306 * tutorial.el (help-with-tutorial):
2307 * vc/add-log.el (add-change-log-entry):
2308 * vc/compare-w.el (compare-windows):
2309 * vc/ediff-help.el (ediff-indent-help-message):
2310 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2311 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2312 (ediff-setup-control-frame):
2313 * vc/emerge.el (emerge-position-region):
2314 * vc/pcvs-util.el (cvs-bury-buffer):
2315 * window.el (walk-windows, mouse-autoselect-window-select):
2316 * winner.el (winner-set-conf, winner-undo): Related users changed.
2318 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2320 * frameset.el (frameset--set-id): Doc fix.
2321 (frameset-frame-id, frameset-frame-id-equal-p)
2322 (frameset-locate-frame-id): New functions.
2323 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2324 (frameset-restore): Use them.
2326 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2328 Do not call to `selected-frame' where it is assumed by default.
2329 Affected functions are `raise-frame', `redraw-frame',
2330 `frame-first-window', `frame-terminal' and `delete-frame'.
2331 * calendar/appt.el (appt-disp-window):
2332 * epg.el (epg-wait-for-completion):
2333 * follow.el (follow-delete-other-windows-and-split)
2334 (follow-avoid-tail-recenter):
2335 * international/mule.el (set-terminal-coding-system):
2336 * mail/rmail.el (rmail-mail-return):
2337 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2338 * progmodes/f90.el (f90-add-imenu-menu):
2339 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2340 * server.el (server-switch-buffer):
2341 * simple.el (delete-completion-window):
2343 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2344 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2345 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2346 * vc/ediff.el (ediff-documentation): Related users changed.
2347 * frame.el (selected-terminal): Remove the leftover.
2349 2013-08-05 Glenn Morris <rgm@gnu.org>
2351 * calendar/calendar.el (calendar-generate-month):
2352 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2353 (calendar-generate-month, calendar-font-lock-keywords):
2354 Fix for calendar-day-header-width > length of any day name.
2356 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2358 * desktop.el (desktop-clear): Use new name of sort predicate.
2360 * frameset.el (frameset): Add docstring. Move :version property to its
2362 (frameset-copy): Rename from copy-frameset.
2363 (frameset-p): Check more thoroughly.
2364 (frameset-prop): Do not check for :version, which is no longer a prop.
2365 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2366 Use new :never value instead of t.
2367 (frameset-filter-alist): Expand and clarify docstring.
2368 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2369 (frameset-filter-minibuffer, frameset-filter-save-param)
2370 (frameset-filter-restore-param, frameset-filter-iconified):
2371 Add pointer to docstring of frameset-filter-alist.
2372 (frameset-filter-params): Rename filter values to be more meaningful:
2373 :never instead of t, and reverse the meanings of :save and :restore.
2374 (frameset--process-minibuffer-frames): Clarify error message.
2375 (frameset-save): Avoid unnecessary and confusing call to framep.
2376 Use new BOA constructor for framesets.
2377 (frameset--reuse-list): Doc fix.
2378 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2379 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2380 (frameset-minibufferless-first-p): Doc fix.
2381 Rename from frameset-sort-frames-for-deletion.
2382 (frameset-restore): Doc fixes. Use new function names.
2383 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2385 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2387 * desktop.el (desktop-restore-forces-onscreen)
2388 (desktop-restore-reuses-frames): Document :keyword constant values.
2389 (desktop-filter-parameters-alist): Remove, now identical to
2390 frameset-filter-alist.
2391 (desktop--filter-tty*): Remove, moved to frameset.el.
2392 (desktop-save-frameset, desktop-restore-frameset):
2393 Do not pass :filters argument.
2395 * frameset.el (frameset-live-filter-alist)
2396 (frameset-persistent-filter-alist): New variables.
2397 (frameset-filter-alist): Use them. Add autoload cookie.
2398 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2399 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2400 `frameset--id' (it's supposed to be internal to frameset.el).
2401 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2402 (frameset--initial-params): New function.
2403 (frameset--get-frame): Use it. Doc fix.
2404 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2405 Accept :all, not 'all.
2406 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2407 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2408 with fbound symbols. Fix frame id matching, and remove matching ids if
2409 the frame being restored is deleted. Obey :delete.
2411 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2413 * subr.el (macrop): New function.
2414 (text-clone--maintaining): New var.
2415 (text-clone--maintain): Rename from text-clone-maintain. Use it
2416 instead of inhibit-modification-hooks.
2418 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2419 a proxy, so as handle autoloads and redefinitions of the target.
2420 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2422 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2423 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2424 (pcase--mutually-exclusive-p): New function.
2425 (pcase--split-consp): Use it.
2426 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2427 mutually exclusive with the current predicate.
2429 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2430 (edebug-macrop): Remove. Use `macrop' instead.
2431 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2433 * eshell/esh-cmd.el (eshell-macrop):
2434 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2436 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2438 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2439 (advice-mapc): New function, using it.
2440 (advice-function-member-p): New function.
2441 (advice--normalize): Store the cdr in advice--saved-rewrite since
2442 that's the part that will be changed.
2443 (advice--symbol-function): New function.
2444 (advice-remove): Handle removal before the function is defined.
2445 Adjust to new advice--saved-rewrite.
2446 (advice-member-p): Use advice-function-member-p and
2447 advice--symbol-function.
2449 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2451 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2452 (frameset-filter-minibuffer): Doc fix.
2453 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2454 (frameset--set-id, frameset--process-minibuffer-frames)
2455 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2456 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2458 * desktop.el (desktop-clear): Only delete frames when called
2459 interactively and desktop-restore-frames is non-nil. Doc fix.
2460 (desktop-read): Set desktop-saved-frameset to nil.
2462 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2464 * vc/vc.el (vc-ignore): Rewrite.
2465 (vc-default-ignore-completion-table):
2467 (vc--add-line, vc--remove-regexp): New functions.
2469 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2470 (vc-svn-ignore-completion-table): New function.
2472 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2473 (vc-hg-ignore-completion-table):
2474 (vc-hg-find-ignore-file): New functions.
2476 * vc/vc-git.el (vc-git-ignore): Rewrite.
2477 (vc-git-ignore-completion-table):
2478 (vc-git-find-ignore-file): New functions.
2480 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2482 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2483 (vc-bzr-ignore-completion-table):
2484 (vc-bzr-find-ignore-file): New functions.
2486 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2488 * frameset.el (frameset-prop): New function and setter.
2489 (frameset-save): Do not modify frame list passed by the caller.
2491 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2495 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2497 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2498 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2500 * custom.el (custom-initialize-default, custom-initialize-set)
2501 (custom-initialize-reset, custom-initialize-changed): Affect the
2502 toplevel-default-value (bug#6275, bug#14586).
2503 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2506 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2508 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2509 Add cl-def* expressions.
2511 * frameset.el (frameset-filter-params): Fix order of arguments.
2513 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2515 Move code related to saving frames to frameset.el.
2516 * desktop.el: Require frameset.
2517 (desktop-restore-frames): Doc fix.
2518 (desktop-restore-reuses-frames): Rename from
2519 desktop-restoring-reuses-frames.
2520 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2521 (desktop-clear): Clear frames too.
2522 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2523 (desktop--filter-tty*, desktop-save, desktop-read):
2524 Use frameset functions.
2525 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2526 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2527 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2528 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2529 (desktop--process-minibuffer-frames, desktop-save-frames)
2530 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2531 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2532 (desktop--sort-states, desktop-restoring-frames-p)
2533 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2534 (desktop-restoring-frameset-p, desktop-restore-frameset)
2535 (desktop--check-dont-save, desktop-save-frameset): New functions.
2536 (desktop--app-id): New constant.
2537 (desktop-first-buffer, desktop-buffer-ok-count)
2538 (desktop-buffer-fail-count): Move before first use.
2539 * frameset.el: New file.
2541 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2543 * files.el: Use lexical-binding.
2544 (dir-locals-read-from-file): Remove unused `err' variable.
2545 (hack-dir-local-variables--warned-coding): New var.
2546 (hack-dir-local-variables): Use it to avoid repeated warnings.
2547 (make-backup-file-name--default-function): New function.
2548 (make-backup-file-name-function): Use it as default.
2549 (buffer-stale--default-function): New function.
2550 (buffer-stale-function): Use it as default.
2551 (revert-buffer-insert-file-contents--default-function): New function.
2552 (revert-buffer-insert-file-contents-function): Use it as default.
2553 (insert-directory): Avoid add-to-list.
2555 * autorevert.el (auto-revert-handler): Simplify.
2556 Use buffer-stale--default-function.
2558 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2560 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2562 * whitespace.el (whitespace-ensure-local-variables): New function.
2563 (whitespace-cleanup-region): Call it.
2564 (whitespace-turn-on): Call it.
2566 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2568 Complete file name handlers.
2570 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2571 (tramp-handle-verify-visited-file-modtime)
2572 (tramp-handle-file-notify-rm-watch): New functions.
2573 (tramp-call-process): Do not bind `default-directory'.
2575 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2576 Order alphabetically.
2577 [access-file, add-name-to-file, dired-call-process]:
2578 [dired-compress-file, file-acl, file-notify-rm-watch]:
2579 [file-ownership-preserved-p, file-selinux-context]:
2580 [make-directory-internal, make-symbolic-link, set-file-acl]:
2581 [set-file-selinux-context, set-visited-file-modtime]:
2582 [verify-visited-file-modtime]: Add handler.
2583 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2585 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2586 [file-notify-add-watch, file-notify-rm-watch]:
2587 [set-file-times, set-visited-file-modtime]:
2588 [verify-visited-file-modtime]: Add handler.
2589 (with-tramp-gvfs-error-message)
2590 (tramp-gvfs-handle-set-visited-file-modtime)
2591 (tramp-gvfs-fuse-file-name): Remove.
2592 (tramp-gvfs-handle-file-notify-add-watch)
2593 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2594 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2596 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2597 Order alphabetically.
2598 [file-notify-rm-watch ]: Use default Tramp handler.
2599 [executable-find]: Remove private handler.
2600 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2601 `default-directory'.
2602 (tramp-sh-handle-executable-find)
2603 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2604 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2605 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2606 Do not use `format' in `tramp-message'.
2608 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2609 [file-notify-rm-watch, set-visited-file-modtime]:
2610 [verify-visited-file-modtime]: Add handler.
2611 (tramp-smb-call-winexe): Do not bind `default-directory'.
2613 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2615 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2617 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2619 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2621 (log-view-diff-changeset): Same.
2622 (log-view-diff-common): Call backend command `previous-revision'
2623 to find out the previous revision, in both cases. Swap the
2624 variables `to' and `fr', so that `fr' usually refers to the
2625 earlier revision (Bug#14989).
2627 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2629 * ibuf-ext.el (ibuffer-filter-by-filename):
2630 Make it work with dired buffers too.
2632 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2634 * emacs-lisp/re-builder.el (reb-color-display-p):
2635 * files.el (save-buffers-kill-terminal):
2636 * net/browse-url.el (browse-url):
2637 * server.el (server-save-buffers-kill-terminal):
2638 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2639 Prefer nil to selected-frame for the first arg of frame-parameter.
2641 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2643 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2645 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2647 * minibuffer.el (completion--twq-all): Try and preserve each
2648 completion's case choice (bug#14907).
2650 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2652 * net/network-stream.el (open-network-stream): Mention the new
2653 :nogreeting parameter.
2654 (network-stream-open-starttls): Use the :nogreeting parameter
2657 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2659 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2660 more natural than popping.
2662 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2663 (shr-urlify): Highlight under mouse.
2665 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2667 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2669 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2671 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2674 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2675 point-min==1. Fix search string. Fix parentheses missing.
2677 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2678 assume point-min==1. Fix search string. Fix parentheses missing.
2680 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2682 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2685 2013-07-29 Eli Zaretskii <eliz@gnu.org>
2687 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2688 initial frame is minibuffer-less. (Bug#14841)
2690 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2692 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2695 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2696 (tramp-maybe-open-connection): Use it.
2698 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2700 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2701 minimal set of parameters passed when creating a frame, because
2702 the minibuffer status of a frame cannot be changed later.
2704 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
2706 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2707 replace-regexp-in-string and inadvertent omissions in previous change.
2708 (todo-filter-items): Ensure only file names are comma-separated in
2709 name of filtered items buffer.
2711 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2713 * desktop.el: Optionally force offscreen frames back onscreen.
2714 (desktop-restoring-reuses-frames): New option.
2715 (desktop--compute-pos, desktop--move-onscreen): New functions.
2716 (desktop--make-frame): Use desktop--move-onscreen.
2718 2013-07-27 Alan Mackenzie <acm@muc.de>
2720 Fontify a Java generic method as a function.
2721 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2724 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2726 * calendar/todo-mode.el: Add command to rename todo files.
2727 (todo-rename-file): New command.
2728 (todo-key-bindings-t): Add key binding for it. Change the
2729 bindings of todo-filter-regexp-items(-multifile) to use `x'
2730 instead of `r', since the latter is better suited to the new
2733 2013-07-27 Alan Mackenzie <acm@muc.de>
2735 Make Java try-with-resources statement parse properly.
2736 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2737 (c-block-stmt-1-2-key): New language constants/variables.
2738 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2739 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2740 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2741 with c-block-stmt-1-2-key.
2743 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2745 * desktop.el (desktop--make-frame): Apply most frame parameters after
2746 creating the frame to force (partially or totally) offscreen frames to
2747 be restored as such.
2749 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2751 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2754 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2757 `base' arg of backtrace-frame.
2759 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2761 * simple.el (list-processes): Doc fix.
2763 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2765 * desktop.el (desktop--select-frame):
2766 Try harder to reuse existing frames.
2768 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2770 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2771 (edebug-eval): Use backtrace-eval.
2772 (edebug--display, edebug--recursive-edit): Don't let-bind the
2773 edebug-outer-* vars that keep track of variables we locally let-bind.
2774 (edebug-outside-excursion): Don't restore outside values of locally
2776 (edebug--display): Use user-error.
2777 (cl-lexical-debug, cl-debug-env): Remove.
2779 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2781 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2782 are restored to be sure that they are visible before deleting any
2785 2013-07-26 Matthias Meulien <orontee@gmail.com>
2787 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2788 vc-print-root-log. (Bug#14948)
2790 2013-07-26 Richard Stallman <rms@gnu.org>
2792 Add aliases for encrypting mail.
2793 * epa.el (epa-mail-aliases): New option.
2794 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2795 Bind inhibit-read-only so read-only text doesn't ruin everything.
2796 (epa-mail-default-recipients): New subroutine broken out.
2797 Handle epa-mail-aliases.
2799 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2801 Add support for lexical variables to the debugger's `e' command.
2802 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2803 vars, except for debugger-outer-match-data.
2804 (debugger-frame-number): Move check for "on a function call" from
2805 callers into it. Add `skip-base' argument.
2806 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2807 (debugger-env-macro): Only reset the state stored in non-variables,
2808 i.e. current-buffer and match-data.
2809 (debugger-eval-expression): Rewrite using backtrace-eval.
2810 * subr.el (internal--called-interactively-p--get-frame): Remove.
2811 (called-interactively-p):
2812 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2813 `base' arg of backtrace-frame instead.
2815 2013-07-26 Glenn Morris <rgm@gnu.org>
2817 * align.el (align-regexp): Doc fix. (Bug#14857)
2818 (align-region): Explicit error if subexpression missing/does not match.
2820 * simple.el (global-visual-line-mode):
2821 Do not duplicate the mode lighter. (Bug#14858)
2823 2013-07-25 Martin Rudalics <rudalics@gmx.at>
2825 * window.el (display-buffer): In display-buffer bind
2826 split-window-keep-point to t, bug#14829.
2828 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2830 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2831 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2832 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2833 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2835 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2836 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2838 2013-07-25 Glenn Morris <rgm@gnu.org>
2840 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2842 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2844 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2845 parameter to modify-frame-parameters if the value has not changed;
2846 this is a workaround for bug#14949.
2847 (desktop--make-frame): On cl-delete-if call, check parameter name,
2850 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2852 * vc/vc.el (vc-ignore): New function.
2854 * vc/vc-svn.el (vc-svn-ignore): New function.
2856 * vc/vc-hg.el (vc-hg-ignore): New function.
2858 * vc/vc-git.el (vc-git-ignore): New function.
2860 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2861 (vc-dir-ignore): New function.
2863 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2864 (cvs-append-to-ignore): Move here from pcvs.el.
2866 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2868 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2870 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
2872 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2873 (desktop-restore-frames): Warn when deleting an existing frame failed.
2875 2013-07-24 Glenn Morris <rgm@gnu.org>
2877 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2879 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
2881 * filenotify.el (file-notify-supported-p):
2882 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2885 * autorevert.el (auto-revert-use-notify):
2886 (auto-revert-notify-add-watch):
2887 * net/tramp.el (tramp-file-name-for-operation):
2888 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2889 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2890 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2891 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2892 Remove `file-notify-supported-p' entry.
2894 2013-07-24 Glenn Morris <rgm@gnu.org>
2896 * printing.el: Replace all uses of deleted ps-windows-system,
2897 ps-lp-system, ps-flatten-list with lpr- versions.
2899 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2901 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2902 checked with memq (bug#14935).
2904 * files.el (revert-buffer-function): Use a non-nil default.
2905 (revert-buffer-preserve-modes): Declare var to
2906 provide access to the `preserve-modes' argument.
2907 (revert-buffer): Let-bind it.
2908 (revert-buffer--default): New function, extracted from revert-buffer.
2910 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * lpr.el: Signal print errors more prominently.
2913 (print-region-function): Don't default to nil.
2914 (lpr-print-region): New function, extracted from print-region-1.
2915 Check lpr's return value and signal an error in case of problem.
2916 (print-region-1): Use it.
2917 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2919 (ps-printer-name): Default to nil.
2920 (ps-printer-name-option): Default to lpr-printer-switch.
2921 (ps-print-region-function): Don't default to nil.
2922 (ps-postscript-code-directory): Simplify default.
2923 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2924 (ps-string-list, ps-eval-switch, ps-flatten-list)
2925 (ps-flatten-list-1): Remove.
2926 (ps-multibyte-buffer): Avoid setq.
2927 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2928 (print-region-function, ps-print-region-function): Don't set them here.
2930 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2932 * ido.el (ido-fractionp):
2933 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2934 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2935 (ido-max-directory-size, ido-max-dir-file-cache)
2936 (ido-decorations): Doc fix.
2938 * ansi-color.el: Fix old URL.
2940 2013-07-23 Michael R. Mauger <michael@mauger.com>
2942 * progmodes/sql.el Version 3.3
2943 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2944 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2945 (sql-interactive-remove-continuation-prompt): Rewrite, use
2946 functions above. Fix continuation prompt and complete output line
2948 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2949 redirected output buffer.
2950 (sql-mode): Restore deleted code (Bug#13591).
2952 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2954 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2956 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
2958 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2960 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2961 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2962 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2964 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2966 * desktop.el (desktop-clear): Simplify; remove useless checks
2967 against invalid buffer names.
2968 (desktop-list*): Use cl-list*.
2969 (desktop-buffer-info, desktop-create-buffer): Simplify.
2971 2013-07-23 Leo Liu <sdl.web@gmail.com>
2973 * bookmark.el (bookmark-make-record): Restore NAME as a default
2976 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2978 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2979 extracted from autoload--insert-text.
2980 (autoload--insert-text): Remove.
2981 (autoload--print-cookie-text): New function, extracted from
2982 autoload--insert-cookie-text.
2983 (autoload--insert-cookie-text): Remove.
2984 (autoload-generate-file-autoloads): Adjust calls accordingly.
2986 * winner.el (winner-hook-installed-p): Remove.
2987 (winner-mode): Simplify accordingly.
2989 * subr.el (add-to-list): Fix compiler-macro when `append' is
2990 not constant. Don't use `cl-member' for the base case.
2992 * progmodes/subword.el: Fix boundary case (bug#13758).
2993 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2995 (subword-backward-regexp): Make it a constant.
2996 (subword-forward-internal): Don't treat a trailing capital as the
2997 beginning of a word.
2999 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3001 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3002 global value of tabulated-list-revert-hook (bug#14930).
3004 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3006 * desktop.el: Require 'cl-lib.
3007 (desktop-before-saving-frames-functions): New hook.
3008 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3009 for frames being saved. Rename from desktop--save-minibuffer-frames.
3010 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3011 Do not save frames with non-nil `desktop-dont-save' parameter.
3012 Filter out deleted frames.
3013 (desktop--find-frame): Use cl-find-if.
3014 (desktop--select-frame): Use cl-(first|second|third) to access values
3016 (desktop--make-frame): Use cl-delete-if.
3017 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3018 (desktop-restore-frames): Use cl-(first|second|third) to access values
3019 of desktop-mini. Look for visible frame at the end, not while
3022 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3023 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3024 Use string-match-p, looking-at-p (bug#14927).
3026 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3028 * desktop.el (desktop-saved-frame-states):
3029 Rename from desktop--saved-states; all users changed.
3030 (desktop-save-frames): Rename from desktop--save-frames.
3031 Do not save state to desktop file.
3032 (desktop-save): Save desktop-saved-frame-states to desktop file
3034 (desktop-restoring-frames-p): New function.
3035 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3036 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3037 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3039 * desktop.el: Correctly restore iconified frames.
3040 (desktop--filter-iconified-position): New function.
3041 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3043 2013-07-20 Glenn Morris <rgm@gnu.org>
3045 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3046 Let `message' do the formatting.
3047 (def-gdb-preempt-display-buffer): Add explicit format.
3049 * image-dired.el (image-dired-track-original-file):
3050 Use with-current-buffer.
3051 (image-dired-track-thumbnail): Use with-current-buffer.
3052 Avoid changing point of wrong window.
3054 * image-dired.el (image-dired-track-original-file):
3055 Avoid changing point of wrong window. (Bug#14909)
3057 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3059 * progmodes/gdb-mi.el (gdb-done-or-error):
3060 Guard against "%" in gdb output. (Bug#14127)
3062 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3064 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3067 * international/mule.el (coding-system-iso-2022-flags): Fix last
3070 2013-07-20 Kenichi Handa <handa@gnu.org>
3072 * international/mule.el (coding-system-iso-2022-flags):
3073 Add `8-bit-level-4'. (Bug#8522)
3075 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3077 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3080 * net/eww.el (eww-process-text-input): Allow inputting when the
3081 point is at the start of the line, as the properties aren't
3084 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3087 2013-07-19 Richard Stallman <rms@gnu.org>
3089 * epa.el (epa-popup-info-window): Doc fix.
3091 * subr.el (split-string): New arg TRIM.
3093 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3095 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3096 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3098 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3100 * filenotify.el (file-notify--library): Rename from
3101 `file-notify-support'. Do not autoload. Adapt all uses.
3102 (file-notify-supported-p): New defun.
3104 * autorevert.el (auto-revert-use-notify):
3105 Use `file-notify-supported-p' instead of `file-notify-support'.
3107 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3109 * net/tramp.el (tramp-file-name-for-operation):
3110 Add `file-notify-supported-p'.
3112 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3114 (tramp-sh-file-name-handler-alist): Add it as handler for
3115 `file-notify-supported-p '.
3117 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3118 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3119 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3120 Add `ignore' as handler for `file-notify-*' functions.
3122 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3124 * simple.el (line-move-partial, line-move): Don't start vscroll or
3125 scroll-up if the current line is not taller than the window.
3128 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3130 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3131 highlight question marks in the method names as strings.
3132 (ruby-block-beg-keywords): Inline.
3133 (ruby-font-lock-keyword-beg-re): Extract from
3134 `ruby-font-lock-keywords'.
3136 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3138 * frame.el (blink-cursor-blinks): New defcustom.
3139 (blink-cursor-blinks-done): New defvar.
3140 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3141 (blink-cursor-timer-function): Check if number of blinks has been
3143 (blink-cursor-suspend, blink-cursor-check): New defuns.
3145 2013-07-15 Glenn Morris <rgm@gnu.org>
3147 * edmacro.el (edmacro-format-keys): Fix previous change.
3149 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3151 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3152 The hack didn't work outside English locales anyway.
3154 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3156 * simple.el (define-alternatives): Rename from alternatives-define,
3157 per RMS' suggestion.
3159 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3161 * desktop.el (desktop-restore-frames): Change default to t.
3162 (desktop-restore-in-current-display): Now offer more options.
3163 (desktop-restoring-reuses-frames): New customization option.
3164 (desktop--saved-states): Doc fix.
3165 (desktop-filter-parameters-alist): New variable, renamed and expanded
3166 from desktop--excluded-frame-parameters.
3167 (desktop--target-display): New variable.
3168 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3169 (desktop--filter-tty*, desktop--filter-*-color)
3170 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3171 (desktop--filter-save-desktop-parm)
3172 (desktop-restore-in-original-display-p): New functions.
3173 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3174 (desktop--save-minibuffer-frames): New function, inspired by a similar
3175 function from Martin Rudalics.
3176 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3177 (desktop--restore-in-this-display-p): Remove.
3178 (desktop--find-frame): Rename from desktop--find-frame-in-display
3179 and add predicate argument.
3180 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3181 (desktop--reuse-list): New variable.
3182 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3184 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3186 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3188 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3190 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3192 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3193 Highlight conversion methods on Kernel.
3195 2013-07-13 Alan Mackenzie <acm@muc.de>
3197 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3198 and comment it out. This out-commenting enables certain C++
3199 declarations to be parsed correctly.
3201 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3203 * international/mule.el (define-coding-system): Doc fix.
3205 * simple.el (default-font-height): Don't call font-info if the
3206 frame's default font didn't change since the frame was created.
3209 2013-07-13 Leo Liu <sdl.web@gmail.com>
3211 * ido.el (ido-read-file-name): Guard against non-symbol value.
3213 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3215 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3218 2013-07-13 Leo Liu <sdl.web@gmail.com>
3220 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3221 ido-set-matches call. (Bug#6852)
3223 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3225 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3226 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3228 (ruby-font-lock-keywords): Distinguish calls to functions with
3229 module-like names from module references. Highlight character
3232 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3234 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3235 (gdb-send): Handle continued commands. (Bug#14847)
3237 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3239 * desktop.el (desktop--v2s): Remove unused local variable.
3240 (desktop-save-buffer): Make defvar-local; adjust docstring.
3241 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3242 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3244 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3246 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3248 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3250 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3253 2013-07-12 Glenn Morris <rgm@gnu.org>
3255 * doc-view.el: Require cl-lib at runtime too.
3256 (doc-view-remove-if): Remove.
3257 (doc-view-search-next-match, doc-view-search-previous-match):
3260 * edmacro.el: Require cl-lib at runtime too.
3261 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3262 (edmacro-mismatch, edmacro-subseq): Remove.
3264 * shadowfile.el: Require cl-lib.
3265 (shadow-remove-if): Remove.
3266 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3269 * wid-edit.el: Require cl-lib.
3270 (widget-choose): Use cl-remove-if.
3271 (widget-remove-if): Remove.
3273 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3274 (ebrowse-delete-if-not): Remove.
3275 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3276 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3277 Use cl-delete-if-not.
3279 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3281 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3282 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3284 2013-07-12 Leo Liu <sdl.web@gmail.com>
3286 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3288 2013-07-11 Glenn Morris <rgm@gnu.org>
3290 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3291 (edebug-gensym-index, edebug-gensym):
3292 Remove reimplementation of cl-gensym.
3293 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3295 * thumbs.el: Require cl-lib at run-time too.
3296 (thumbs-gensym-counter, thumbs-gensym):
3297 Remove reimplementation of cl-gensym.
3298 (thumbs-temp-file): Use cl-gensym.
3300 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3301 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3302 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3303 (ert--union, ert--gensym-counter, ert--gensym-counter)
3304 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3305 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3306 (ert-make-test-unbound, ert--expand-should-1)
3307 (ert--expand-should, ert--should-error-handle-error)
3308 (should-error, ert--explain-equal-rec)
3309 (ert--plist-difference-explanation, ert-select-tests)
3310 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3311 Use cl-lib functions rather than reimplementations.
3313 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
3315 * net/tramp.el (tramp-methods): Extend docstring.
3316 (tramp-connection-timeout): New defcustom.
3317 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3318 (with-tramp-progress-reporter): Simplify.
3319 (tramp-process-actions): Improve messages.
3321 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3322 * net/tramp-sh.el (tramp-maybe-open-connection):
3323 Use `tramp-connection-timeout'.
3324 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3327 2013-07-11 Leo Liu <sdl.web@gmail.com>
3329 * ido.el (ido-read-file-name): Conform to the requirements of
3330 read-file-name. (Bug#11861)
3331 (ido-read-directory-name): Conform to the requirements of
3332 read-directory-name.
3334 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3336 * subr.el (delay-warning): New function.
3338 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3340 * simple.el (default-line-height): New function.
3341 (line-move-partial, line-move): Use it instead of computing the
3343 (line-move-partial): Always compute ROWH. If the last line is
3344 partially-visible, but its text is completely visible, allow
3345 cursor to enter such a partially-visible line.
3347 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3349 Improve error messages. (Bug#14808)
3351 * net/tramp.el (tramp-current-connection): New defvar, moved from
3353 (tramp-message-show-progress-reporter-message): Remove, not
3355 (tramp-error-with-buffer): Show message in minibuffer.
3356 Discard input before waiting. Reset connection timestamp.
3357 (with-tramp-progress-reporter): Improve messages.
3358 (tramp-process-actions): Use progress reporter. Delete process in
3359 case of error. Improve messages.
3361 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3362 Call `tramp-error-with-buffer' with vector and buffer.
3363 (tramp-current-connection): Remove.
3364 (tramp-maybe-open-connection): The car of
3365 `tramp-current-connection' are the first 3 slots of the vector.
3367 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3369 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3370 inside continued strings.
3372 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3374 Timestamp fixes for undo (Bug#14824).
3375 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3377 2013-07-10 Leo Liu <sdl.web@gmail.com>
3379 * files.el (require-final-newline): Allow safe local value.
3382 2013-07-09 Leo Liu <sdl.web@gmail.com>
3384 * ido.el (ido-read-directory-name): Handle fallback.
3385 (ido-read-file-name): Update DIR to ido-current-directory.
3387 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3389 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3391 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3392 "autoload". Remove "warn lower camel case" section, previously
3393 commented out. Highlight negation char. Do not highlight the
3394 target in singleton method definitions.
3396 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * faces.el (tty-setup-hook): Declare the hook.
3400 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3401 and detect when a guard/pred depends on local vars (bug#14773).
3402 (pcase--u1): Adjust caller.
3404 2013-07-08 Eli Zaretskii <eliz@gnu.org>
3406 * simple.el (line-move-partial, line-move): Account for
3408 (line-move-partial): Avoid setting vscroll when the last
3409 partially-visible line in window is of default height.
3411 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3413 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3416 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
3418 * subr.el (read-quoted-char): Remove unused local variable `char'.
3420 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3422 * ediff.el (ediff-version): Version update.
3423 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3424 (ediff-merge-with-ancestor-command, ediff-directories-command)
3425 (ediff-directories3-command, ediff-merge-directories-command)
3426 (ediff-merge-directories-with-ancestor-command): New functions.
3427 All are command-line interfaces to ediff: to facilitate calling
3428 Emacs with the appropriate ediff functions invoked.
3430 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3431 (viper-save-kill-buffer): Check if buffer is modified.
3433 * viper.el (viper-version): Version update.
3434 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3436 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3439 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3440 (viper-intercept-ESC-key): Simplify.
3441 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3442 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3443 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3444 (viper-setup-ESC-to-escape): New functions.
3445 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3446 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3448 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3450 * simple.el (default-font-height, window-screen-lines):
3452 (line-move, line-move-partial): Use them instead of
3453 frame-char-height and window-text-height. This makes scrolling
3454 text smoother when the buffer's default face uses a font that is
3455 different from the frame's default font.
3457 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3459 * files.el (write-file): Do not display confirm dialog for NS,
3460 it does its own dialog, which can't be cancelled (Bug#14578).
3462 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3464 * simple.el (line-move-partial): Adjust the row returned by
3465 posn-at-point for the current window-vscroll. (Bug#14567)
3467 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3469 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3470 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3473 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3475 * window.el (window-state-put-stale-windows): New variable.
3476 (window--state-put-2): Save list of windows without matching buffer.
3477 (window-state-put): Remove "bufferless" windows if possible.
3479 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3481 * simple.el (alternatives-define): Remove leftover :group keyword.
3484 2013-07-06 Leo Liu <sdl.web@gmail.com>
3486 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3487 (ido-enable-virtual-buffers): New variable.
3488 (ido-buffer-internal, ido-toggle-virtual-buffers)
3489 (ido-make-buffer-list): Use it.
3490 (ido-exhibit): Support turning on and off virtual buffers
3493 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3495 * simple.el (alternatives-define): New macro.
3497 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3499 * subr.el (read-quoted-char): Use read-key.
3500 (sit-for): Let read-event decode tty input (bug#14782).
3502 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3504 * calendar/todo-mode.el: Add handling of file deletion, both by
3505 mode command and externally. Fix various related bugs.
3506 Clarify Commentary and improve some documentation strings and code.
3507 (todo-delete-file): New command.
3508 (todo-check-file): New function.
3509 (todo-show): Handle external deletion of the file we're trying to
3510 show (bug#14688). Replace called-interactively-p by an optional
3511 prefix argument to avoid problematic interaction with catch form
3512 when byte compiled (bug#14702).
3513 (todo-quit): Handle external deletion of the archive's todo file.
3514 Make sure the buffer that was visiting the archive file is still
3515 live before trying to bury it.
3516 (todo-category-completions): Handle external deletion of any
3517 category completion files.
3518 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3519 of todo files, in case of external deletion.
3520 (todo-add-file): Replace unnecessary setq by let-binding.
3521 (todo-find-archive): Check whether there are any archives.
3522 Replace unnecessary setq by let-binding.
3523 (todo-archive-done-item): Use find-file-noselect to get the
3524 archive buffer whether or not the archive already exists.
3525 Remove superfluous code. Use file size instead of buffer-file-name to
3526 check if the archive is new; if it is, update list of archives.
3527 (todo-default-todo-file): Allow nil to be a valid value for when
3528 there are no todo files.
3529 (todo-reevaluate-default-file-defcustom): Use corrected definition
3530 of todo-default-todo-file.
3531 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3532 (todo-delete-category, todo-show-categories-table)
3533 (todo-category-number): Clarify comment.
3534 (todo-filter-items): Clarify documentation string.
3535 (todo-show-current-file, todo-display-as-todo-file)
3536 (todo-reset-and-enable-done-separator): Tweak documentation string.
3537 (todo-done-separator): Make separator length window-width, since
3538 bug#2749 is now fixed.
3540 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3542 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3543 Support both "gvfs-monitor-dir" and "inotifywait".
3544 (tramp-sh-file-inotifywait-process-filter): Rename from
3545 `tramp-sh-file-notify-process-filter'.
3546 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3547 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3549 2013-07-05 Leo Liu <sdl.web@gmail.com>
3551 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3553 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3555 * frame.el (display-pixel-height, display-pixel-width)
3556 (display-mm-height, display-mm-width): Mention behavior on
3557 multi-monitor setups in docstrings.
3558 (w32-display-monitor-attributes-list): Declare function.
3559 (display-monitor-attributes-list): Use it.
3561 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3563 * filenotify.el: New package.
3565 * autorevert.el (top): Require filenotify.el.
3566 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3568 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3569 (auto-revert-notify-handler): Use `file-notify-*' functions.
3571 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3573 * net/tramp.el (tramp-file-name-for-operation):
3574 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3576 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3577 for `file-notify-add-watch' and `file-notify-rm-watch'.
3578 (tramp-process-sentinel): Improve trace.
3579 (tramp-sh-handle-file-notify-add-watch)
3580 (tramp-sh-file-notify-process-filter)
3581 (tramp-sh-handle-file-notify-rm-watch)
3582 (tramp-get-remote-inotifywait): New defuns.
3584 2013-07-03 Juri Linkov <juri@jurta.org>
3586 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3587 call of `occur-read-primary-args' to interactive spec.
3589 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3590 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3592 2013-07-03 Matthias Meulien <orontee@gmail.com>
3594 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3595 `Buffer-menu-multi-occur'. Add it to the menu.
3596 (Buffer-menu-mode): Document it in docstring.
3597 (Buffer-menu-multi-occur): New command. (Bug#14673)
3599 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3601 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3602 keywords and built-ins.
3604 2013-07-03 Glenn Morris <rgm@gnu.org>
3606 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3608 Make info-xref checks case-sensitive by default
3609 * info.el (Info-find-node, Info-find-in-tag-table)
3610 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3611 Add option for exact case matching of nodes.
3612 * info-xref.el (info-xref): New custom group.
3613 (info-xref-case-fold): New option.
3614 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3616 2013-07-03 Leo Liu <sdl.web@gmail.com>
3618 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3620 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3622 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3623 middle of block statement initially, lower the depth. Remove
3624 FIXME comment, not longer valid. Remove middle of block statement
3625 detection, no need to do that anymore since we've been using
3626 `ruby-parse-region' here.
3628 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3630 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3632 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3634 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3636 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3638 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3639 (desktop-restore-in-current-display): New customization option.
3640 (desktop--excluded-frame-parameters): Add `font'.
3641 (desktop--save-frames): Rename from desktop--save-windows.
3642 (desktop--restore-in-this-display-p): New function.
3643 (desktop--make-full-frame): Remove unwanted width/height from
3644 full(width|height) frames.
3645 (desktop--restore-frames): Rename from desktop--restore-windows.
3646 Obey desktop-restore-current-display. Do not delete old frames or
3647 select a new frame unless we were able to restore at least one frame.
3649 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3651 * files.el (find-file-noselect): Simplify conditional expression.
3653 * remember.el (remember-append-to-file):
3654 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3656 Add `remember-notes' function to store random notes across Emacs
3658 * remember.el (remember-data-file): Add :set callback to affect
3659 notes buffer (if any).
3660 (remember-notes): New command.
3661 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3662 New defcustoms for the `remember-notes' function.
3663 (remember-notes-save-and-bury-buffer): New command.
3664 (remember-notes-mode-map): New variable.
3665 (remember-mode): New minor mode.
3666 (remember-notes--kill-buffer-query): New function.
3667 * startup.el (initial-buffer-choice): Add notes to custom type.
3669 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3671 * bindings.el (right-char, left-char): Don't call sit-for, this is
3672 no longer needed. Use arithmetic comparison only for numerical
3675 * international/mule-cmds.el (select-safe-coding-system):
3676 Handle the case of FROM being a string correctly. (Bug#14755)
3678 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3680 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3681 progression on degenerate tables.
3682 (shr-rescale-image): ImageMagick animated images currently don't work.
3684 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
3686 Some fixes and improvements for desktop frame restoration.
3687 It is still experimental and disabled by default.
3688 * desktop.el (desktop--save-windows): Put the selected frame at
3689 the head of the list.
3690 (desktop--make-full-frame): New function.
3691 (desktop--restore-windows): Try to re-select the frame that was
3692 selected upon saving. Do not abort if some frames fail to restore,
3693 just show an error message and continue. Set up maximized frames
3694 so they have default non-maximized dimensions.
3696 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3698 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3699 Don't start heredoc inside a string or comment.
3701 2013-06-29 Eli Zaretskii <eliz@gnu.org>
3703 * bindings.el (visual-order-cursor-movement): New defcustom.
3704 (right-char, left-char): Provide visual-order cursor motion by
3705 calling move-point-visually. Update the doc strings.
3707 2013-06-28 Kenichi Handa <handa@gnu.org>
3709 * international/mule.el (define-coding-system): New coding system
3710 properties :inhibit-null-byte-detection,
3711 :inhibit-iso-escape-detection, and :prefer-utf-8.
3712 (set-buffer-file-coding-system): If :charset-list property of
3713 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3714 appropriate for setting.
3716 * international/mule-cmds.el (select-safe-coding-system):
3717 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3718 multibyte characters, return utf-8 (or one of its siblings).
3720 * international/mule-conf.el (prefer-utf-8): New coding system.
3721 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3724 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3726 * net/shr.el (shr-render-region): New function.
3728 * net/eww.el: Autoload `eww-browse-url'.
3730 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3732 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3733 Adapt to `package-desc-version' being a list.
3734 Use `package--ac-desc-version' to retrieve version from a package
3737 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3739 New experimental feature to save&restore window and frame setup.
3740 * desktop.el (desktop-save-windows): New defcustom.
3741 (desktop--saved-states): New var.
3742 (desktop--excluded-frame-parameters): New defconst.
3743 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3744 (desktop--restore-windows, desktop--save-windows): New functions.
3745 (desktop-save): Call `desktop--save-windows'.
3746 (desktop-read): Call `desktop--restore-windows'.
3748 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3750 * net/shr.el (add-face-text-property): Remove compat definition.
3752 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3754 * info.el (Info-try-follow-nearest-node): Move search for footnote
3755 above search for node name to prevent missing a footnote (bug#14717).
3757 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3759 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3761 2013-06-27 Leo Liu <sdl.web@gmail.com>
3763 * net/eww.el (eww-read-bookmarks): Check file size.
3765 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3768 advice--pending if newdef is nil or an autoload (bug#13820).
3769 (advice-mapc): New function.
3771 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3773 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3775 (eww-mode-map): Add a menu bar.
3776 (eww-add-bookmark): New command.
3777 (eww-bookmark-mode): New mode and commands.
3778 (eww-add-bookmark): Remove newlines from the title.
3779 (eww-bookmark-browse): Don't bug out if it's the only window.
3781 2013-06-26 Glenn Morris <rgm@gnu.org>
3783 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3784 (hfy-size): Handle ttys. (Bug#14668)
3786 * info-xref.el: Update for Texinfo 5 change in *note format.
3787 (info-xref-node-re, info-xref-note-re): New constants.
3788 (info-xref-check-buffer): Use info-xref-note-re.
3790 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3794 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3795 nil terminate the loop (bug#14718).
3797 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3799 * net/eww.el: Rework history traversal. When going forward/back,
3800 put these actions into the history, too, so that they can be
3802 (eww-render): Move the history reset to the correct buffer.
3804 2013-06-25 Juri Linkov <juri@jurta.org>
3806 * files-x.el (modify-dir-local-variable): Change the header comment
3807 in the file with directory local variables. (Bug#14692)
3809 * files-x.el (read-file-local-variable-value): Add `default'.
3812 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3814 * net/eww.el (eww-make-unique-file-name): Create a unique file
3815 name before saving to entering `y' accidentally asynchronously.
3817 2013-06-25 Ivan Kanis <ivan@kanis.fr>
3819 * net/eww.el (eww-download): New command and keystroke.
3821 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3823 * net/eww.el (eww-copy-page-url): Change name of command.
3825 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3826 be more consistent with Info and dired.
3828 * net/eww.el (eww-mode-map): Ditto.
3830 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3832 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3833 packages from archives.
3834 (package-archive-contents): Change format; include obsolete packages.
3835 (package-desc): Use `dir' to mark builtin packages.
3836 (package--from-builtin): Set the `dir' field to `builtin'.
3837 (generated-autoload-file, version-control): Declare.
3838 (package-compute-transaction): Change first arg and return value to be
3839 lists of package-descs. Adjust to new package-archive-contents format.
3840 (package--add-to-archive-contents): Adjust to new
3841 package-archive-contents format.
3842 (package-download-transaction): Arg is now a list of package-descs.
3843 (package-install): If `pkg' is a package name, pass it as
3844 a requirement, so it is subject to the usual (e.g. disabled) checks.
3845 (describe-package): Accept package-desc as well.
3846 (describe-package-1): Describe a specific package-desc. Add links to
3847 other package-descs for the same package name.
3848 (package-menu-describe-package): Pass the actual package-desc.
3849 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3851 (package-desc-status): New function.
3852 (package-menu--refresh): New function, extracted
3853 from package-menu--generate.
3854 (package-menu--generate): Use it.
3855 (package-delete): Update package-alist.
3856 (package-menu-execute): Don't call package-initialize.
3858 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3859 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3860 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3861 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3862 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3863 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3865 2013-06-25 Martin Rudalics <rudalics@gmx.at>
3867 * window.el (window--state-get-1): Workaround for bug#14527.
3868 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3870 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3872 * net/eww.el (eww-back-url): Implement the history by stashing all
3873 the data into a list.
3874 (eww-forward-url): Allow going forward in the history, too.
3876 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3879 for values and use read--expression for expressions (bug#14710).
3880 (read-file-local-variable): Avoid setq.
3881 (read-file-local-variable-mode): Use minor-mode-list.
3883 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3885 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3888 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3890 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3891 Update imenu-support when dialect changes.
3893 2013-06-25 Leo Liu <sdl.web@gmail.com>
3895 * ido.el (ido-read-internal): Allow forward slash on windows.
3897 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3899 * net/eww.el (eww): Start of strings is \\`, not ^.
3901 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3903 * net/shr.el (shr-browse-url): Fix interactive spec.
3905 * net/eww.el (eww): Add a trailing slash to domain names.
3907 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
3909 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3911 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3913 * net/shr.el (shr-browse-url): Use an external browser if given a
3916 * net/eww.el (eww-external-browser): Move to shr.
3918 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3920 * net/eww.el (eww): Work more correctly for file: URLs.
3921 (eww-detect-charset): Allow quoted charsets.
3922 (eww-yank-page-url): New command and keystroke.
3924 2013-06-24 Daiki Ueno <ueno@gnu.org>
3926 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3927 file name of gpg executable.
3928 (epg-context-program): New function.
3929 (epg-context-home-directory): New function.
3930 (epg-context-set-program): New function.
3931 (epg-context-set-home-directory): New function.
3932 (epg--start): Use `epg-context-program' instead of
3934 (epg--list-keys-1): Likewise.
3936 2013-06-24 Leo Liu <sdl.web@gmail.com>
3938 * ido.el (ido-read-internal): Fix bug#14620.
3940 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3942 * faces.el (face-documentation): Simplify.
3943 (read-face-attribute, tty-find-type, x-resolve-font-name):
3944 Use `string-match-p'.
3945 (list-faces-display): Use `string-match-p'. Simplify.
3946 (face-spec-recalc): Check face to avoid face alias loops.
3947 (read-color): Use `string-match-p' and non-capturing parenthesis.
3949 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3951 * net/shr.el (shr-rescale-image): Use the new
3952 :max-width/:max-height functionality.
3954 2013-06-23 Ivan Kanis <ivan@kanis.fr>
3956 * net/eww.el (eww-search-prefix): New variable.
3958 (eww-external-browser): New variable.
3959 (eww-mode-map): New keystroke.
3960 (eww-browse-with-external-browser): New command.
3962 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3964 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3966 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3967 Don't skip aligning the next header field when padding is 0;
3968 otherwise, field width is not respected unless the title is as
3971 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3973 * emacs-lisp/package.el (package-el-version): Remove.
3974 (package-process-define-package): Fix inf-loop.
3975 (package-install): Allow symbols as arguments again.
3977 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3979 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3980 add some more keyword-like methods.
3981 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3983 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
3985 * bs.el (bs-buffer-show-mark): Make defvar-local.
3986 (bs-mode): Use setq-local.
3988 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3989 (emacs-lock--try-unlocking): Make defvar-local.
3991 2013-06-22 Glenn Morris <rgm@gnu.org>
3993 * play/cookie1.el (cookie-apropos): Minor simplification.
3995 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3997 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3999 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4000 `regexp-opt', it breaks the build during dumping.
4002 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4004 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4005 Highlight keyword-like methods on Kernel and Module with
4006 font-lock-builtin-face.
4007 (auto-mode-alist): Consolidate different entries into one regexp
4008 and add more *file-s.
4010 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4012 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4014 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4015 (diary-entry): Use it in the action of this button type instead of
4018 * calendar/todo-mode.el: New version.
4019 (todo-add-category): Append new category to end of file and give
4020 it the highest number, instead of putting it at the beginning and
4021 giving it 0. Incorporate noninteractive functionality.
4022 (todo-forward-category): Adapt to 1-based category numbering.
4023 Allow skipping over archived categories.
4024 (todo-backward-category): Derive from todo-forward-category.
4025 (todo-backward-item, todo-forward-item): Make noninteractive and
4026 delegate interactive part to new commands. Make sensitive to done items.
4027 (todo-categories): Make value an alist of category names and
4028 vectors of item counts.
4029 (todo-category-beg): Make a defconst.
4030 (todo-category-number): Use 1 instead of 0 as initial value.
4031 (todo-category-select): Make sensitive to overlays, optional item
4032 highlighting and done items.
4033 (todo-delete-item): Make sensitive to overlays and marked and done items.
4034 (todo-edit-item): Make sensitive to overlays and editing of
4035 date/time header optional. Add format checks.
4036 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4037 no-op if point is not on an item. Advertise using todo-edit-quit.
4038 (todo-edit-mode): Make sensitive to new format, font-locking, and
4039 multiple todo files.
4040 (todo-insert-item, todo-insert-item-here): Derive from
4041 todo-basic-insert-item and extend functionality.
4042 (todo-item-end, todo-item-start): Make sensitive to done items.
4043 (todo-item-string): Don't return text properties. Restore point.
4044 (todo-jump-to-category): Make sensitive to multiple todo files and
4045 todo archives. Use extended category completion.
4046 (todo-lower-item, todo-raise-item): Rename to *-priority and
4047 derive from todo-set-item-priority.
4048 (todo-mode): Derive from special-mode. Make sensitive to new
4049 format, font-locking and multiple todo files. Make read-only.
4050 (todo-mode-map): Don't suppress digit keys, so they can supply
4051 prefix arguments. Add many new key bindings.
4052 (todo-prefix): Insert as an overlay instead of file text.
4053 Change semantics from diary date expression to purely visual mark.
4054 (todo-print): Rename to todo-print-buffer. Make buffer display
4055 features printable. Remove option to restrict number of items
4056 printed. Add option to print to file.
4057 (todo-print-function): Rename to todo-print-buffer-function.
4058 (todo-quit): Extend to handle exiting new todo modes.
4059 (todo-remove-item): Make sensitive to overlays.
4060 (todo-save): Extend to buffers of filtered items.
4061 (todo-show): Make sensitive to done items, multiple todo files and
4062 new todo modes. Offer to convert legacy todo file before creating
4063 first new todo file.
4064 (todo-show-priorities): Rename to todo-top-priorities.
4065 Change semantics of value 0.
4066 (todo-top-priorities): Rename to todo-filter-top-priorities,
4067 derive from todo-filter-items and extend functionality.
4068 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4069 and extend functionality to other types of filtered items.
4070 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4071 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4072 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4073 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4074 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4075 (todo-edit-mode-hook, todo-entry-prefix-function)
4076 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4077 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4078 (todo-initials, todo-insert-threshold, todo-item-string-start)
4079 (todo-line-string, todo-menu, todo-mode-hook)
4080 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4081 (todo-print-priorities, todo-remove-separator)
4082 (todo-save-top-priorities-too, todo-string-count-lines)
4083 (todo-string-multiline-p, todo-time-string-format)
4084 (todo-tmp-buffer-name): Remove.
4085 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4086 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4087 (todo-edit-category-diary-inclusion)
4088 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4089 (todo-edit-file, todo-edit-item-date-day)
4090 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4091 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4092 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4093 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4094 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4095 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4096 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4097 (todo-filter-top-priorities-multifile, todo-find-archive)
4098 (todo-find-filtered-items-file, todo-go-to-source-item)
4099 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4100 (todo-jump-to-archive-category, todo-lower-category)
4101 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4102 (todo-move-category, todo-move-item, todo-next-button)
4103 (todo-next-item, todo-padded-string, todo-powerset)
4104 (todo-previous-button, todo-previous-item)
4105 (todo-print-buffer-to-file, todo-raise-category)
4106 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4107 (todo-set-category-number, todo-set-item-priority)
4108 (todo-set-top-priorities-in-category)
4109 (todo-set-top-priorities-in-file, todo-show-categories-table)
4110 (todo-sort-categories-alphabetically-or-numerically)
4111 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4112 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4113 (todo-toggle-item-header, todo-toggle-item-highlighting)
4114 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4115 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4116 (todo-unarchive-items, todo-unmark-category): New commands.
4117 (todo-absolute-file-name, todo-add-to-buffer-list)
4118 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4119 (todo-basic-insert-item, todo-category-completions)
4120 (todo-category-number, todo-category-string-matcher-1)
4121 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4122 (todo-check-format, todo-clear-matches)
4123 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4124 (todo-current-category, todo-date-string-matcher)
4125 (todo-define-insertion-command, todo-diary-expired-matcher)
4126 (todo-diary-goto-entry, todo-diary-item-p)
4127 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4128 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4129 (todo-done-item-section-p, todo-done-separator)
4130 (todo-done-string-matcher, todo-files, todo-filter-items)
4131 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4132 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4133 (todo-insert-category-line, todo-insert-item-from-calendar)
4134 (todo-insert-sort-button, todo-insert-with-overlays)
4135 (todo-insertion-command-name, todo-insertion-key-bindings)
4136 (todo-label-to-key, todo-longest-category-name-length)
4137 (todo-make-categories-list, todo-mode-external-set)
4138 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4139 (todo-modes-set-3, todo-multiple-filter-files)
4140 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4141 (todo-read-category, todo-read-date, todo-read-dayname)
4142 (todo-read-file-name, todo-read-time)
4143 (todo-reevaluate-category-completions-files-defcustom)
4144 (todo-reevaluate-default-file-defcustom)
4145 (todo-reevaluate-filelist-defcustoms)
4146 (todo-reevaluate-filter-files-defcustom)
4147 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4148 (todo-reset-done-separator, todo-reset-done-separator-string)
4149 (todo-reset-done-string, todo-reset-global-current-todo-file)
4150 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4151 (todo-reset-prefix, todo-set-categories)
4152 (todo-set-date-from-calendar, todo-set-show-current-file)
4153 (todo-set-top-priorities, todo-short-file-name)
4154 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4155 (todo-total-item-counts, todo-update-buffer-list)
4156 (todo-update-categories-display, todo-update-categories-sexp)
4157 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4159 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4161 (todo-categories, todo-display, todo-edit, todo-faces)
4162 (todo-filtered): New defgroups.
4163 (todo-archived-only, todo-button, todo-category-string, todo-date)
4164 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4165 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4166 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4167 (todo-add-item-if-new-category, todo-always-add-time-string)
4168 (todo-categories-align, todo-categories-archived-label)
4169 (todo-categories-category-label, todo-categories-diary-label)
4170 (todo-categories-done-label, todo-categories-number-separator)
4171 (todo-categories-todo-label, todo-categories-totals-label)
4172 (todo-category-completions-files, todo-completion-ignore-case)
4173 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4174 (todo-done-separator-string, todo-done-string)
4175 (todo-files-function, todo-filter-done-items, todo-filter-files)
4176 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4177 (todo-initial-category, todo-initial-file, todo-item-mark)
4178 (todo-legacy-date-time-regexp, todo-mode-line-function)
4179 (todo-nondiary-marker, todo-number-prefix)
4180 (todo-print-buffer-function, todo-show-current-file)
4181 (todo-show-done-only, todo-show-first, todo-show-with-done)
4182 (todo-skip-archived-categories, todo-top-priorities-overrides)
4183 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4184 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4186 (todo-category-done, todo-date-pattern, todo-date-string-start)
4187 (todo-diary-items-buffer, todo-done-string-start)
4188 (todo-filtered-items-buffer, todo-item-start)
4189 (todo-month-abbrev-array, todo-month-name-array)
4190 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4191 (todo-top-priorities-buffer): New defconsts.
4192 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4193 (todo-categories-with-marks, todo-category-string-face)
4194 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4195 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4196 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4197 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4198 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4199 (todo-font-lock-keywords, todo-global-current-todo-file)
4200 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4201 (todo-insertion-commands-args)
4202 (todo-insertion-commands-args-genlist)
4203 (todo-insertion-commands-names, todo-insertion-map)
4204 (todo-key-bindings-t, todo-key-bindings-t+a)
4205 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4206 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4207 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4208 (todo-visited): New variables.
4210 2013-06-21 Glenn Morris <rgm@gnu.org>
4212 * play/cookie1.el (cookie-apropos): Add optional display argument.
4213 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4214 (psychoanalyze-pinhead): Use cookie-doctor.
4216 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4218 * emacs-lisp/package.el (tar-get-file-descriptor)
4219 (tar--extract): Declare.
4221 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4223 Extend flymake's warning predicate to be a function (bug#14217).
4224 * progmodes/flymake.el (flymake-warning-predicate): New.
4225 (flymake-parse-line): Use it.
4226 (flymake-warning-re): Make obsolete alias to
4227 `flymake-warning-predicate'.
4229 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4231 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4232 (package-obsolete-list): Remove.
4233 (package-activate): Remove min-version argument. Add `force' argument.
4234 Adjust to new package-alist format.
4235 (package-mark-obsolete): Remove.
4236 (package-unpack): Force reload of the package's autoloads.
4237 (package-installed-p): Check builtins if the installed package is not
4239 (package-initialize): Don't reset package-obsolete-list.
4240 Don't specify which package version to activate.
4241 (package-process-define-package, describe-package-1)
4242 (package-menu--generate): Adjust to new package-alist format.
4244 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4246 * allout-widgets.el (allout-widgets-mode-off)
4247 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4248 (allout-widgets-post-command-business)
4249 (allout-widgets-after-copy-or-kill-function)
4250 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4251 (allout-decorate-item-and-context)
4252 (allout-graphics-modification-handler): Fix typos in docstrings.
4253 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4255 * cmuscheme.el (scheme-start-file): Doc fix.
4256 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4257 (scheme-input-filter): Use `string-match-p'.
4259 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4261 * dired-x.el: Use Dired consistently in docstrings.
4263 * dired.el: Use Dired consistently in docstrings.
4264 (dired-readin, dired-mode): Use `setq-local'.
4265 (dired-switches-alist): Make defvar-local.
4266 (dired-buffers-for-dir): Use `zerop'.
4267 (dired-safe-switches-p, dired-switches-escape-p)
4268 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4269 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4270 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4271 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4272 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4273 (dired-toggle-marks, dired-mark-files-containing-regexp)
4274 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4275 (dired-flag-auto-save-files, dired-flag-backup-files):
4277 (dired-mark-files-regexp, dired-build-subdir-alist):
4278 Use `string-match-p', `looking-at-p'.
4280 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4281 (direct-print-region-helper): Use `string-match-p'.
4283 2013-06-21 Leo Liu <sdl.web@gmail.com>
4285 * comint.el (comint-redirect-results-list-from-process):
4288 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4290 * net/eww.el (eww-update-header-line-format): Quote % characters.
4292 2013-06-21 Glenn Morris <rgm@gnu.org>
4294 * play/cookie1.el (cookie): New custom group.
4295 (cookie-file): New option.
4296 (cookie-check-file): New function.
4297 (cookie): Make it interactive. Make start and end messages optional.
4298 Interactively, display the result. Default to cookie-file.
4299 (cookie-insert): Default to cookie-file.
4300 (cookie-snarf): Make start and end messages optional.
4301 Default to cookie-file. Use with-temp-buffer.
4302 (cookie-read): Rename from read-cookie.
4303 Make start and end messages optional. Default to cookie-file.
4304 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4306 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4307 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4309 2013-06-21 Leo Liu <sdl.web@gmail.com>
4311 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4313 2013-06-21 Glenn Morris <rgm@gnu.org>
4315 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4317 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4318 Daniel Hackney <dan@haxney.org>
4320 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4321 Consolidate the single-file vs tarball code.
4322 (package-desc-suffix): New function.
4323 (package-desc-full-name): Don't bother inlining it.
4324 (package-load-descriptor): Return the new package-desc.
4325 (package-mark-obsolete): Remove unused arg `package'.
4326 (package-unpack): Make it work for single files as well.
4327 Make it update package-alist.
4328 (package--make-autoloads-and-stuff): Rename from
4329 package--make-autoloads-and-compile. Don't compile any more.
4330 (package--compile): New function.
4331 (package-generate-description-file): New function, extracted from
4332 package-unpack-single.
4333 (package-unpack-single): Remove.
4334 (package--with-work-buffer): Add indentation and debugging info.
4335 (package-download-single): Remove.
4336 (package-install-from-archive): Rename from package-download-tar, make
4337 it take a pkg-desc, and make it work for single files as well.
4338 (package-download-transaction): Simplify.
4339 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4340 external tar program.
4341 (package-install-from-buffer): Remove `pkg-desc' argument.
4342 Use package-tar-file-info for tar-mode buffers.
4343 (package-install-file): Simplify accordingly.
4344 (package-archive-base): Change to take a pkg-desc.
4345 * tar-mode.el (tar--check-descriptor): New function, extracted from
4347 (tar-get-descriptor): Use it.
4348 (tar-get-file-descriptor): New function.
4349 (tar--extract): New function, extracted from tar-extract.
4350 (tar--extract): Use it.
4351 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4352 case the summary uses non-ascii. Adjust to new calling convention of
4353 package-tar-file-info.
4355 2013-06-21 Leo Liu <sdl.web@gmail.com>
4357 * comint.el (comint-redirect-results-list-from-process):
4358 Fix random delay. (Bug#14681)
4360 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4362 * profiler.el (profiler-format-number): Use log, not log10.
4364 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4366 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4368 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4370 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4371 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4373 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4374 (AUTOGENEL): ... here.
4375 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4376 (cl--defsubst-expand): Use it.
4378 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4380 * subr.el (log10): Move here from C code, and declare as obsolete.
4381 All uses of (log10 X) replaced with (log X 10).
4383 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4385 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4386 Declare with `defvar-local'.
4387 (tabulated-list-use-header-line, tabulated-list-entries)
4388 (tabulated-list-padding, tabulated-list-printer)
4389 (tabulated-list-sort-key): Declare with `defvar-local'.
4390 (tabulated-list-init-header, tabulated-list-print-fake-header):
4393 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
4395 * arc-mode.el (archive-mode): Add `archive-write-file' to
4396 `write-contents-functions' also for remote files. (Bug#14652)
4398 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4400 * cus-edit.el (custom-commands): Fix typos.
4401 (custom-display): Fix tooltip text.
4402 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4403 Fix typos in docstrings.
4404 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4405 (custom-unlispify-menu-entry, custom-magic-value-create)
4406 (custom-add-see-also, custom-group-value-create): Use ?\s.
4407 (custom-guess-type, customize-apropos, editable-field)
4408 (custom-face-value-create): Use `string-match-p'.
4409 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4411 * custom.el (custom-load-symbol): Use `string-match-p'.
4413 * ansi-color.el: Convert to lexical binding.
4414 (ansi-colors): Fix URL.
4415 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4416 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4417 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4419 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4421 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4423 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4425 2013-06-19 Tom Tromey <tromey@redhat.com>
4427 * net/eww.el (eww-top-url): Remove.
4428 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4429 (eww-render): Set new variables. Don't set eww-top-url.
4430 (eww-handle-link): Handle "prev", "home", and "contents".
4431 Downcase the rel text.
4432 (eww-top-url): Choose best top URL.
4434 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4436 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4437 relying in widget.el. Using widget.el leads to too many
4438 user interface inconsistencies.
4439 (eww-self-insert): Implement entering commands in text fields.
4440 (eww-process-text-input): New function to make text input field editing
4442 (eww-submit): Rewrite to use the new-style form methods.
4443 (eww-select-display): Display the correct selected item.
4444 (eww-change-select): Implement changing the select value.
4445 (eww-toggle-checkbox): Implement radio/checkboxes.
4446 (eww-update-field): Fix compilation error.
4447 (eww-tag-textarea): Implement <textarea>.
4449 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4450 we don't shadow mode-specific bindings.
4452 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4455 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4457 2013-06-19 Glenn Morris <rgm@gnu.org>
4459 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4461 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4463 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4466 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4468 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4470 * net/browse-url.el (browse-url-browser-function):
4471 `eww-browse-url' has the right calling signature, `eww' does not.
4473 2013-06-19 Glenn Morris <rgm@gnu.org>
4475 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4476 Only eval autoloaded macros.
4477 (byte-compile-autoload): Only give the macro warning for macros.
4479 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4480 (ps-underlined-faces): Declare.
4482 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4483 (speedbar-add-supported-extension): Declare.
4485 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4486 Don't include a date stamp in the header of the generated file;
4487 it leads to needless differences between output files.
4489 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4491 * net/secrets.el (secrets-struct-secret-content-type):
4492 Replace check of introspection data by a test call of "CreateItem".
4493 Some servers do not offer introspection.
4495 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4497 * electric.el (electric-pair-mode): Improve interaction with
4498 electric-layout-mode.
4499 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4500 (electric-pair-syntax): Use text-mode-syntax-table in comments
4502 (electric-pair--insert): New function.
4503 (electric-pair-post-self-insert-function): Use it and
4504 electric--after-char-pos.
4506 2013-06-19 Leo Liu <sdl.web@gmail.com>
4508 * progmodes/octave.el (octave-help): Fix regexp.
4510 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4512 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4513 (shr-table-horizontal-line): Allow nil as a value, and change the
4515 (shr-insert-table-ruler): Respect the nil value.
4517 2013-06-18 Tom Tromey <tromey@barimba>
4519 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4521 (eww-open-file): New defun.
4522 (eww-render): Initialize new variables.
4523 (eww-display-html): Handle "link" and "a".
4524 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4525 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4526 (eww-back-url): Rename from eww-previous-url.
4527 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4530 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4532 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4533 Distinguish ternary operator tokens from slash symbol and slash
4536 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4538 Convert symbol prettification into minor mode and global minor mode.
4540 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4541 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4542 (prettify-symbols--keywords): Rename from
4543 `prog-prettify-symbols-alist' and make a local defvar.
4544 (prettify-symbols--compose-symbol): Rename from
4545 `prog--prettify-font-lock-compose-symbol'.
4546 (prettify-symbols--make-keywords): Rename from
4547 `prog-prettify-font-lock-symbols-keywords' and simplify.
4548 (prog-prettify-install): Remove.
4549 (prettify-symbols-mode): New minor mode, based on
4550 `prog-prettify-install'.
4551 (turn-on-prettify-symbols-mode): New function.
4552 (global-prettify-symbols-mode): New globalized minor mode.
4554 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4555 * progmodes/cfengine.el (cfengine3-mode):
4556 * progmodes/perl-mode.el (perl-mode): Don't call
4557 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4559 2013-06-18 Juri Linkov <juri@jurta.org>
4561 * files-x.el (modify-file-local-variable-message): New function.
4562 (modify-file-local-variable)
4563 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4564 and call `modify-file-local-variable-message' when it's non-nil.
4565 (add-file-local-variable, delete-file-local-variable)
4566 (add-file-local-variable-prop-line)
4567 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4568 and use it. (Bug#9820)
4570 2013-06-18 Juri Linkov <juri@jurta.org>
4572 * emulation/vi.el (vi-shell-op):
4573 * emulation/vip.el (vip-execute-com, ex-command):
4574 * emulation/viper-cmd.el (viper-exec-bang):
4575 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4576 the call of `shell-command-on-region'. (Bug#14637)
4578 * simple.el (shell-command-on-region): Doc fix.
4580 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4582 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4585 2013-06-18 Glenn Morris <rgm@gnu.org>
4587 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4589 * newcomment.el (comment-search-forward, comment-search-backward):
4590 Doc fix. (Bug#14376)
4592 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4594 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4595 (buffer-face-mode-invoke): Doc fix.
4597 2013-06-18 Matthias Meulien <orontee@gmail.com>
4599 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4600 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4602 2013-06-18 Glenn Morris <rgm@gnu.org>
4604 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4605 Replace obsolete function generic-make-keywords with its expansion.
4607 * progmodes/python.el (ffap-alist): Declare.
4609 * textmodes/reftex.el (bibtex-mode-map): Declare.
4611 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4613 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4614 (package-unpack, package-unpack-single): Return the pkg-dir.
4615 (package-download-transaction): Use it to update package-alist.
4617 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4619 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4622 2013-06-17 Juri Linkov <juri@jurta.org>
4624 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4626 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4628 * emacs-lisp/package.el (package-load-descriptor):
4629 Remove `with-syntax-table' call, `read' doesn't need it.
4630 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4632 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4634 * startup.el (command-line): Expand package name returned by
4635 `package--description-file' (bug#14639).
4637 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4639 * emacs-lisp/package.el (package-load-descriptor): Do not call
4640 `emacs-lisp-mode', just use its syntax table.
4642 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4644 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4645 `font-lock-extra-managed-props' if any prettifying keyword is added.
4646 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4647 (prog-mode): Use `setq-local'.
4649 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * international/characters.el (standard-case-table): Set syntax of ?»
4652 and ?« to punctuation.
4654 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4656 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4657 Save relevant match data before calling `syntax-ppss' (bug#14595).
4659 2013-06-15 Juri Linkov <juri@jurta.org>
4661 * files-x.el (modify-file-local-variable-prop-line): Add local
4662 variables to the end of the existing comment on the first line.
4663 Use `file-auto-mode-skip' to skip interpreter magic line,
4664 and also skip XML declaration.
4666 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * startup.el (package--builtin-versions): New var.
4669 (package-subdirectory-regexp): Remove.
4670 (package--description-file): Hard code its value instead.
4672 * emacs-lisp/package.el: Don't activate packages older than builtin.
4673 (package-obsolete-list): Rename from package-obsolete-alist, and make
4674 it into a simple list of package-desc.
4675 (package-strip-version): Remove.
4676 (package-built-in-p): Use package--builtin-versions.
4677 (package-mark-obsolete): Simplify.
4678 (package-process-define-package): Mark it obsolete if older than the
4680 (package-handle-response): Use line-end-position.
4681 (package-read-archive-contents, package--download-one-archive):
4683 (package--add-to-archive-contents): Skip if older than the builtin or
4685 (package-menu-describe-package): Fix last change.
4686 (package-list-unversioned): New var.
4687 (package-menu--generate): Use it.
4689 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4690 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4691 (autoload-builtin-package-versions): New variable.
4692 (autoload-generate-file-autoloads): Use them.
4693 Remove the list of autoloaded functions/macros from the
4694 (autoload...) comments.
4696 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4698 2013-06-15 Eli Zaretskii <eliz@gnu.org>
4700 * simple.el (line-move-partial): Don't jump to the next screen
4701 line as soon as it becomes visible. Instead, continue enlarging
4702 the vscroll until the portion of a tall screen line that's left on
4703 display is about the height of the frame's default font.
4706 2013-06-15 Glenn Morris <rgm@gnu.org>
4708 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4709 compilation-error-regexp-alist void, or local while let-bound.
4711 * progmodes/make-mode.el (makefile-mode-syntax-table):
4712 Treat "=" as punctuation. (Bug#14614)
4714 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
4716 * help-fns.el (describe-variable):
4717 Add extra line for permanent-local variables.
4719 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4721 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4722 Add export, import, library. (Bug#9164)
4723 (library): Set indent function.
4725 2013-06-14 Glenn Morris <rgm@gnu.org>
4727 * term/xterm.el (xterm--query):
4728 Stop after first matching handler. (Bug#14615)
4730 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4732 Add support for dired in saveplace.
4733 * dired.el (dired-initial-position-hook): New variable.
4734 (dired-initial-position): Call hook to place cursor position.
4735 * saveplace.el (save-place-to-alist): Add dired position.
4736 (save-place-dired-hook): New function.
4738 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4740 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4741 through a symbol rather than letrec.
4743 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4744 (package-desc): Add `dir' field.
4745 (package-desc-full-name): New function.
4746 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4747 (package-maybe-load-descriptor): Remove.
4748 (package-load-all-descriptors): Just call package-load-descriptor.
4749 (package--disabled-p): New function.
4750 (package-desc-vers, package-desc-doc): Remove aliases.
4751 (package--dir): Remove function.
4752 (package-activate): Check if a package is disabled.
4753 (package-process-define-package): New function, extracted from
4755 (define-package): Turn into a place holder.
4756 (package-unpack-single, package-tar-file-info):
4757 Use package--description-file.
4758 (package-compute-transaction): Use package--disabled-p.
4759 (package-download-transaction): Don't call
4760 package-maybe-load-descriptor since they're all loaded anyway.
4761 (package-install): Change argument to be a pkg-desc.
4762 (package-delete): Use a single pkg-desc argument.
4763 (describe-package-1): Use package-desc-dir instead of package--dir.
4764 Use package-desc property instead of package-symbol.
4765 (package-install-button-action): Adjust accordingly.
4766 (package--push): Rewrite.
4767 (package-menu--print-info): Adjust accordingly. Change the ID format
4769 (package-menu-describe-package, package-menu-get-status)
4770 (package-menu--find-upgrades, package-menu-mark-upgrades)
4771 (package-menu-execute, package-menu--name-predicate):
4773 * startup.el (package--description-file): New function.
4774 (command-line): Use it.
4775 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4776 Use package-desc-version.
4778 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4779 (byte-compile-preprocess): Use it.
4780 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4781 can't quite recognize.
4782 (byte-compile-add-to-list): Remove.
4783 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4784 (cconv-closure-convert): Add assertion.
4786 * emacs-lisp/map-ynp.el: Use lexical-binding.
4787 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4788 Factor out some repeated code.
4790 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * subr.el (with-eval-after-load): New macro.
4793 (eval-after-load): Allow form to be a function.
4794 take advantage of lexical-binding.
4795 (do-after-load-evaluation): Use dolist and adjust to new format.
4796 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4798 2013-06-13 Juri Linkov <juri@jurta.org>
4800 * replace.el (perform-replace): Display "symbol " and other search
4801 modes from `isearch-message-prefix' in the *Help* buffer.
4803 * isearch.el (isearch-query-replace): Add " symbol" and other
4804 possible search modes from `isearch-message-prefix' to the prompt.
4805 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4806 when reading a regexp to collect.
4808 2013-06-13 Juri Linkov <juri@jurta.org>
4810 * isearch.el (word-search-regexp): Match whitespace if the search
4811 string begins or ends in whitespace. The LAX arg is applied to
4812 both ends of the search string. Use `regexp-quote' and explicit
4813 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4814 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4815 boundaries are replaced with symbol boundaries, and characters
4816 between symbols match non-word non-symbol syntax. (Bug#14602)
4818 2013-06-13 Juri Linkov <juri@jurta.org>
4820 * isearch.el (isearch-del-char): Don't exceed the length of
4821 `isearch-string' by the prefix arg. (Bug#14563)
4823 2013-06-13 Juri Linkov <juri@jurta.org>
4825 * isearch.el (isearch-yank-word, isearch-yank-line)
4826 (isearch-char-by-name, isearch-quote-char)
4827 (isearch-printing-char, isearch-process-search-char):
4828 Add optional count prefix arg. (Bug#14563)
4830 * international/isearch-x.el
4831 (isearch-process-search-multibyte-characters):
4832 Add optional count prefix arg.
4834 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4836 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4837 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4840 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4842 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4844 2013-06-13 Glenn Morris <rgm@gnu.org>
4846 * startup.el (tty-handle-args):
4847 Don't just discard "--" and anything after. (Bug#14608)
4849 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4851 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
4853 Implement changes in Secret Service API. Make it backward compatible.
4854 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4855 (secrets-create-item): Use it. Prefix properties with interface.
4857 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4859 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4860 (term-emulate-terminal): Respect term-suppress-hard-newline.
4862 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4864 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4865 Only remove a `thumb-file' overlay. (Bug#14548)
4867 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
4869 * mail/reporter.el (reporter-submit-bug-report):
4870 Handle missing package-name. (Bug#14600)
4872 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4874 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4875 (reftex-citation-prompt, reftex-default-bibliography)
4876 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4877 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4878 (reftex-bib-sort-author, reftex-bib-sort-year)
4879 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4880 (reftex-extract-bib-entries-from-thebibliography)
4881 (reftex-get-bibkey-default, reftex-get-bib-names)
4882 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4883 (reftex-format-bib-entry, reftex-parse-bibitem)
4884 (reftex-format-bibitem, reftex-do-citation)
4885 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4886 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4887 (reftex-insert-bib-matches, reftex-format-citation)
4888 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4889 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4890 existing comments into docstrings.
4892 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4894 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4896 2013-06-12 Andreas Schwab <schwab@suse.de>
4898 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4899 for auto-save files.
4901 2013-06-12 Glenn Morris <rgm@gnu.org>
4903 * ido.el (ido-delete-ignored-files): Remove.
4904 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4905 Go back to calling ido-ignore-item-p directly.
4907 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4909 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4911 * ido.el (ido-delete-ignored-files): New function,
4912 split from ido-make-file-list-1.
4913 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4914 (ido-make-file-list-1): Use ido-delete-ignored-files.
4916 2013-06-12 Leo Liu <sdl.web@gmail.com>
4918 * progmodes/octave.el (inferior-octave-startup)
4919 (inferior-octave-completion-table)
4920 (inferior-octave-track-window-width-change)
4921 (octave-eldoc-function-signatures, octave-help)
4922 (octave-find-definition): Use single quoted strings.
4923 (inferior-octave-startup-args): Change default value.
4924 (inferior-octave-startup): Do not hard code "-i" and
4925 "--no-line-editing".
4926 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4927 (inferior-octave-directory-tracker): Use it.
4928 (octave-goto-function-definition): Robustify.
4929 (octave-help): Support highlighting operators in 'See also'.
4930 (octave-find-definition): Find subfunctions only in Octave mode.
4932 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4934 * help-fns.el (help-fns--compiler-macro): If the handler function is
4935 named, then put a link to it.
4936 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4937 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4939 (cl-eval-when): Simplify debug spec.
4940 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4941 compiler-macro function instead of setting `compiler-macro-file'.
4943 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4945 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4946 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4948 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4949 Daniel Hackney <dan@haxney.org>
4951 First part of Daniel Hackney's patch to package.el.
4952 * emacs-lisp/package.el: Use defstruct.
4953 (package-desc): New, main struct.
4954 (package--bi-desc, package--ac-desc): New structs, used to describe the
4955 format in external files.
4956 (package-desc-vers): Replace with package-desc-version accessor.
4957 (package-desc-doc): Replace with package-desc-summary accessor.
4958 (package-activate-1): Remove `package' arg since the pkg-vec now
4960 (define-package): Use package-desc-from-define.
4961 (package-unpack-single): Change file-name arg to be a symbol.
4962 (package--add-to-archive-contents): Use package-desc-create and new
4963 accessor functions to package--ac-desc.
4964 (package-buffer-info, package-tar-file-info): Return a package-desc.
4965 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4966 arg to be a package-desc.
4967 (package-install-file): Adjust accordingly. Use \' to match EOS.
4968 (package--from-builtin): New function.
4969 (describe-package-1, package-menu--generate): Use it.
4970 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4971 (package-generate-autoloads): Idem and return the name of the file.
4972 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4973 Change pkg-info arg to be a package-desc.
4974 Use package-make-ac-desc.
4975 (package-upload-file): Use \' to match EOS.
4976 * finder.el (finder-compile-keywords): Use package-make-builtin.
4978 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * vc/vc.el (vc-deduce-fileset): Change error message.
4981 (vc-read-backend): New function.
4982 (vc-next-action): Use it.
4984 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4986 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4987 (prolog-font-lock-keywords): Use regexp-opt instead.
4988 Don't manually highlight strings.
4989 (prolog-mode-variables): Simplify comment-start-skip.
4990 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4992 * emacs-lisp/generic.el (generic--normalise-comments)
4993 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4994 (generic-mode-set-comments): Use them.
4995 (generic-bracket-support): Use setq-local.
4996 (generic-make-keywords-list): Declare obsolete.
4998 2013-06-11 Glenn Morris <rgm@gnu.org>
5000 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5001 Prettify after setting font-lock-defaults. (Bug#14574)
5003 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5005 * replace.el (query-replace, occur-read-regexp-defaults-function)
5007 * subr.el (declare-function, number-sequence, local-set-key)
5008 (substitute-key-definition, locate-user-emacs-file)
5009 (with-silent-modifications, split-string, eval-after-load):
5010 Fix typos, remove unneeded backslashes and reflow some docstrings.
5012 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5014 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5015 default for Elisp files.
5017 2013-06-11 Glenn Morris <rgm@gnu.org>
5019 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5020 although define-derived-mode was doing this anyway. (Bug#14583)
5022 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5024 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5025 Fix make-variable-buffer-local call to refer to the correct variable.
5027 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5029 * eshell/em-term.el (eshell-visual-commands)
5030 (eshell-visual-subcommands, eshell-visual-options):
5031 Add summary line to docstrings. Add cross-references.
5033 2013-06-10 Glenn Morris <rgm@gnu.org>
5035 * epa.el (epa-read-file-name): New function. (Bug#14510)
5036 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5038 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5040 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5041 output redirection to be ignored with visual commands.
5043 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5045 * eshell/em-term.el (eshell-visual-command-p): New function.
5046 (eshell-term-initialize): Move long lambda to separate function
5047 eshell-visual-command-p.
5048 * eshell/em-dirs.el (eshell-dirs-initialise):
5049 * eshell/em-script.el (eshell-script-initialize):
5050 Add missing #' to lambda.
5052 2013-06-08 Leo Liu <sdl.web@gmail.com>
5054 * progmodes/octave.el (octave-add-log-current-defun): New function.
5055 (octave-mode): Set add-log-current-defun-function.
5056 (octave-goto-function-definition): Do not move point if not found.
5057 (octave-find-definition): Enhance to try subfunctions first.
5059 2013-06-08 Glenn Morris <rgm@gnu.org>
5061 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5062 (byte-compile-backward-char, byte-compile-backward-word):
5063 Improve previous change, to handle non-explicit nil.
5065 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5067 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5068 (smie--opener/closer-at-point): New function.
5069 (smie--matching-block-data): Use it. Don't match from right after an
5070 opener or right before a closer. Obey smie-blink-matching-inners.
5071 Don't signal a mismatch for repeated inners like "switch..case..case".
5073 2013-06-07 Leo Liu <sdl.web@gmail.com>
5075 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5077 (octave-function-header-regexp): Fix. (Bug#14570)
5078 (octave-help-mode-finish-hook, octave-help-mode-finish):
5079 Remove. Just use temp-buffer-show-hook.
5081 * newcomment.el (comment-search-backward): Revert last change.
5084 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5086 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5088 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5089 through xargs, to avoid failure due to MS-Windows limitations on
5090 command-line length.
5092 2013-06-06 Glenn Morris <rgm@gnu.org>
5094 * font-lock.el (lisp-font-lock-keywords-2):
5095 Treat user-error like error.
5097 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5098 (byte-compile-backward-char, byte-compile-backward-word):
5099 Handle explicit nil arguments. (Bug#14565)
5101 2013-06-05 Alan Mackenzie <acm@muc.de>
5103 * isearch.el (isearch-allow-prefix): New user option.
5104 (isearch-other-meta-char): Don't exit isearch when a prefix
5105 argument is typed whilst `isearch-allow-prefix' is non-nil.
5108 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5110 * autorevert.el (auto-revert-notify-handler): Use memq.
5111 Hide assertion failure.
5113 * skeleton.el: Use cl-lib.
5114 (skeleton-further-elements): Use defvar-local.
5115 (skeleton-insert): Use cl-progv.
5117 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5119 * progmodes/prog-mode.el (prog-prettify-symbols)
5120 (prog-prettify-install): Update docstrings.
5122 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * simple.el: Move all the prog-mode code to prog-mode.el.
5125 * progmodes/prog-mode.el: New file.
5126 * loadup.el: Add prog-mode.el.
5128 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5130 * simple.el (prog-prettify-symbols): Add version.
5131 (prog-prettify-install): Add convenience function to prettify symbols.
5133 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5134 (perl--augmented-font-lock-keywords-1)
5135 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5136 variables and use it.
5138 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5139 (cfengine3-mode): Remove unneeded variable and use it.
5141 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5142 (lisp--augmented-font-lock-keywords-1)
5143 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5144 Remove unneeded variables and use it.
5146 2013-06-05 João Távora <joaotavora@gmail.com>
5148 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5149 to point when opening the connection. (Bug#14380)
5151 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5153 * subr.el (load-history-regexp, load-history-filename-element)
5154 (eval-after-load, after-load-functions, do-after-load-evaluation)
5155 (eval-next-after-load, display-delayed-warnings)
5156 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5157 definition of save-match-data.
5158 (overriding-local-map): Remove accidental obsolescence declaration.
5160 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5162 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5164 Generalize symbol prettify support to prog-mode and implement it
5165 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5166 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5167 (prog--prettify-font-lock-compose-symbol)
5168 (prog-prettify-font-lock-symbols-keywords): New variables and
5169 functions to support symbol prettification.
5170 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5171 (lisp--augmented-font-lock-keywords-1)
5172 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5173 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5174 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5175 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5176 Implement prettify of -> => :: strings.
5177 * progmodes/perl-mode.el (perl-prettify-symbols)
5178 (perl--font-lock-compose-symbol)
5179 (perl--font-lock-symbols-keywords): Move to prog-mode.
5180 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5181 (perl-font-lock-keywords-1)
5182 (perl-font-lock-keywords-2): Remove explicit prettify support.
5183 (perl--augmented-font-lock-keywords)
5184 (perl--augmented-font-lock-keywords-1)
5185 (perl--augmented-font-lock-keywords-2, perl-mode):
5186 Implement prettify support.
5188 2013-06-05 Leo Liu <sdl.web@gmail.com>
5190 Re-implement smie matching block highlight using
5191 show-paren-data-function. (Bug#14395)
5192 * emacs-lisp/smie.el (smie-matching-block-highlight)
5193 (smie--highlight-matching-block-overlay)
5194 (smie--highlight-matching-block-lastpos)
5195 (smie-highlight-matching-block)
5196 (smie-highlight-matching-block-mode): Remove.
5197 (smie--matching-block-data-cache): New variable.
5198 (smie--matching-block-data): New function.
5199 (smie-setup): Use smie--matching-block-data for
5200 show-paren-data-function.
5202 * progmodes/octave.el (octave-mode-menu): Fix.
5203 (octave-find-definition): Skip garbage lines.
5205 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5207 Fix compilation error with simultaneous dynamic+lexical scoping.
5208 Add warning when a defvar appears after the first let-binding.
5209 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5210 (byte-compile-close-variables): Initialize it.
5211 (byte-compile--declare-var): New function.
5212 (byte-compile-file-form-defvar)
5213 (byte-compile-file-form-define-abbrev-table)
5214 (byte-compile-file-form-custom-declare-variable): Use it.
5215 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5216 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5217 (byte-compile-bind): Handle dynamic bindings that shadow
5219 (byte-compile-unbind): Make arg non-optional.
5220 (byte-compile-let): Simplify.
5221 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5222 (cconv--analyse-function, cconv-analyse-form): Populate it.
5223 Protect byte-compile-bound-variables to limit the scope of defvars.
5224 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5225 Remove unneeded rule for `declare'.
5227 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5228 so as to avoid depending on cl-adjoin at run-time.
5229 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5231 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5232 (macroexp--warn-and-return): Use it.
5234 2013-06-05 Leo Liu <sdl.web@gmail.com>
5236 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5238 2013-06-04 Leo Liu <sdl.web@gmail.com>
5240 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5241 (compilation-auto-jump): Suppress the "Mark set" message to give
5242 way to exit message.
5244 2013-06-04 Alan Mackenzie <acm@muc.de>
5246 Remove faulty optimisation from indentation calculation.
5247 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5248 search limit based on 2000 characters back from indent-point.
5250 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5252 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5254 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5256 * emacs-lisp/lisp.el: Use lexical-binding.
5257 (lisp--local-variables-1, lisp--local-variables): New functions.
5258 (lisp--local-variables-completion-table): New var.
5259 (lisp-completion-at-point): Use it complete let-bound vars.
5261 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5262 eagerly (bug#14422).
5264 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5266 * autorevert.el (auto-revert-notify-enabled)
5267 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5268 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5269 (auto-revert-notify-handler): Handle also gfilenotify.
5271 * subr.el (file-notify-handle-event): New defun. Replacing ...
5272 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5275 2013-06-03 Juri Linkov <juri@jurta.org>
5277 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5278 `M-s h .'. (Bug#14427)
5280 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5281 command `hi-lock-face-symbol-at-point'.
5282 (hi-lock-face-symbol-at-point): New command.
5283 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5284 (hi-lock-menu): Add `highlight-symbol-at-point'.
5285 (hi-lock-mode): Doc fix.
5287 * isearch.el (isearch-forward-symbol-at-point): New command.
5288 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5289 (isearch-highlight-regexp): Add a regexp which matches
5290 words/symbols for word/symbol mode.
5292 * subr.el (find-tag-default-bounds): New function with the body
5293 mostly moved from `find-tag-default'.
5294 (find-tag-default): Move most code to `find-tag-default-bounds',
5295 call it and apply `buffer-substring-no-properties' afterwards.
5297 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5299 * eshell/em-term.el (eshell-term-initialize):
5300 Use `cl-intersection' rather than `intersection'.
5302 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5304 * vc/log-view.el: Doc fix.
5305 (log-view-mode-map): Copy keymap from `special-mode-map'.
5307 2013-06-02 Eric Ludlam <zappo@gnu.org>
5309 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5310 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5311 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5312 (eieio-unbound, eieio-default-superclass)
5313 (eieio--define-field-accessors, method-static, method-before)
5314 (method-primary, method-after, method-num-lists)
5315 (method-generic-before, method-generic-primary)
5316 (method-generic-after, method-num-slots)
5317 (eieio-specialized-key-to-generic-key)
5318 (eieio--check-type, class-v, class-p)
5319 (eieio-class-name, define-obsolete-function-alias)
5320 (eieio-class-parents-fast, eieio-class-children-fast)
5321 (same-class-fast-p, class-constructor, generic-p)
5322 (generic-primary-only-p, generic-primary-only-one-p)
5323 (class-option-assoc, class-option, eieio-object-p)
5324 (class-abstract-p, class-method-invocation-order)
5325 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5326 (eieio-class-un-autoload, eieio-defclass)
5327 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5328 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5329 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5330 (eieio-defgeneric-reset-generic-form)
5331 (eieio-defgeneric-form-primary-only)
5332 (eieio-defgeneric-reset-generic-form-primary-only)
5333 (eieio-defgeneric-form-primary-only-one)
5334 (eieio-defgeneric-reset-generic-form-primary-only-one)
5335 (eieio-unbind-method-implementations)
5336 (eieio--defmethod, eieio--typep)
5337 (eieio-perform-slot-validation, eieio-validate-slot-value)
5338 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5339 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5340 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5341 (eieio-slot-name-index, eieio-class-slot-name-index)
5342 (eieio-set-defaults, eieio-initarg-to-attribute)
5343 (eieio-attribute-to-initarg, eieio-c3-candidate)
5344 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5345 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5346 (eieio-class-precedence-list, eieio-generic-call-methodname)
5347 (eieio-generic-call-arglst, eieio-generic-call-key)
5348 (eieio-generic-call-next-method-list)
5349 (eieio-pre-method-execution-functions, eieio-generic-call)
5350 (eieio-generic-call-primary-only, eieiomt-method-list)
5351 (eieiomt-optimizing-obarray, eieiomt-install)
5352 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5353 (eieio-generic-form, eieio-defmethod, make-obsolete)
5354 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5355 (defclass): Remove `eval-and-compile' from macro.
5356 (call-next-method, shared-initialize): Instead of using
5357 `scoped-class' variable, use new eieio--scoped-class, and
5358 eieio--with-scoped-class.
5359 (initialize-instance): Rename local variable 'scoped-class' to
5360 'this-class' to remove ambiguitity from old global.
5362 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5364 (eieio--scoped-class-stack): New variable.
5365 (eieio--scoped-class): New fcn.
5366 (eieio--with-scoped-class): New scoping macro.
5367 (eieio-defclass): Use pushnew instead of add-to-list.
5368 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5369 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5370 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5371 `scoped-class' variable, use new eieio--scoped-class, and
5372 eieio--with-scoped-class.
5374 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5376 2013-06-02 Tassilo Horn <tsdh@gnu.org>
5378 * eshell/esh-ext.el (eshell-external-command): Pass args to
5379 `eshell-find-interpreter'.
5380 (eshell-find-interpreter): Add new second parameter ARGS.
5382 * eshell/em-script.el (eshell-script-initialize): Add second arg
5383 to the function added as MATCH to `eshell-interpreter-alist'.
5385 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5386 the function added as MATCH to `eshell-interpreter-alist'.
5388 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5389 (eshell-visual-options): New defcustom.
5390 (eshell-escape-control-x): Adapt docstring.
5391 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5392 `eshell-visual-options' in addition to `eshell-visual-commands'.
5393 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5395 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5397 * progmodes/python.el (python-indent-block-enders): Add break,
5398 continue and raise keywords.
5400 2013-06-01 Glenn Morris <rgm@gnu.org>
5402 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5404 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5405 * progmodes/cc-cmds.el (delete-forward-p):
5406 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5407 * progmodes/cc-engine.el (buffer-syntactic-context):
5408 * progmodes/cc-fonts.el (face-property-instance):
5409 * progmodes/cc-mode.el (set-keymap-parents):
5410 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5411 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5412 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5413 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5414 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5416 * progmodes/cc-vars.el (other): Emacs has this widget since
5417 at least 21.1, so don't (re)define it.
5419 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5420 Replace the obsolete alias pcomplete-arg-quote-list.
5422 2013-06-01 Leo Liu <sdl.web@gmail.com>
5424 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5426 (inferior-octave-minimal-columns)
5427 (inferior-octave-last-column-width): New variables.
5428 (inferior-octave-track-window-width-change): New function.
5429 (inferior-octave-mode): Adjust column width so that Octave output,
5430 for example from 'ls', can fit into the window nicely.
5432 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5434 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5435 Highlight expansions inside regexp literals.
5437 2013-05-31 Glenn Morris <rgm@gnu.org>
5439 * obsolete/sym-comp.el (symbol-complete):
5440 Replace obsolete completion-annotate-function.
5442 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5444 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5446 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5447 New function, checks if point is inside a literal that allows
5448 expression expansion.
5449 (ruby-syntax-propertize-expansion): Use it.
5450 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5453 2013-05-30 Juri Linkov <juri@jurta.org>
5455 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5457 (isearch-invisible): New variable.
5458 (isearch-forward): Doc fix.
5459 (isearch-mode): Set `isearch-invisible'
5460 to the value of `search-invisible'.
5461 (isearch-toggle-case-fold): Doc fix.
5462 (isearch-toggle-invisible): New command.
5463 (isearch-query-replace): Let-bind `search-invisible'
5464 to the value of `isearch-invisible'.
5465 (isearch-search): Use `isearch-invisible' instead of
5466 `search-invisible'. Let-bind `search-invisible'
5467 to the value of `isearch-invisible'. (Bug#11378)
5469 2013-05-30 Juri Linkov <juri@jurta.org>
5471 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5472 call when `query-flag' is nil and `search-invisible' is non-nil.
5475 2013-05-30 Glenn Morris <rgm@gnu.org>
5477 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5479 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5480 (cc-require): Suppress spurious "noruntime" warnings.
5481 (cc-require-when-compile): Use fboundp, for sake of compiler.
5483 * progmodes/cc-mode.el: Move load of cc-vars before that of
5484 cc-langs (which in turn loads cc-vars), to quieten compiler.
5486 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5488 * paren.el: Simplify the code.
5489 (show-paren-mode): Always start the timer.
5490 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5491 (show-paren--overlay, show-paren--overlay-1): Rename from
5492 show-paren-overlay and show-paren-overlay-1, and initialize to an
5493 overlay rather than to nil.
5494 (show-paren-function): Misc cleanup and simplifications.
5496 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5498 * paren.el (show-paren-data-function): New hook.
5499 (show-paren--default): New function, extracted from show-paren-function.
5500 (show-paren-function): Use show-paren-data-function.
5502 2013-05-30 Glenn Morris <rgm@gnu.org>
5504 * ielm.el (ielm-map, ielm-complete-symbol):
5505 Use completion-at-point rather than obsolete functions.
5506 (inferior-emacs-lisp-mode): Doc fix.
5507 Set completion-at-point-functions, rather than
5508 comint-dynamic-complete-functions.
5510 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5511 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5512 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5514 * image.el (image-animated-p): Tweak definition.
5516 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5517 (rlogin-process-connection-type): Tweak default. Add set-after.
5518 (rlogin-host): Doc fix.
5519 (rlogin): Tweak prompt.
5520 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5522 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5523 * progmodes/tcl.el (inferior-tcl-mode-map):
5524 Use completion-at-point rather than obsolete alias.
5526 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5528 * minibuffer.el (read-file-name-completion-ignore-case):
5529 Move before completion--in-region, for eager macro expansion.
5531 2013-05-29 Juri Linkov <juri@jurta.org>
5533 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5534 for total count of matching lines. Add `global-matches' for total
5535 count of matches. Rename `matches' to `lines' for count of
5536 matching lines. Add `matches' for count of matches.
5537 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5538 to `prev-line' for line number of prev match endpt.
5539 Increment `matches' for every match. Print the number of
5540 matching lines in the header.
5541 (occur-context-lines): Rename `lines' to `curr-line'.
5542 Rename `prev-lines' to `prev-line'. (Bug#14017)
5544 2013-05-29 Juri Linkov <juri@jurta.org>
5546 * replace.el (perform-replace): Add `skip-read-only-count',
5547 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5548 Increment them for corresponding conditions and report the number
5549 of skipped occurrences in the final message. (Bug#11746)
5550 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5551 (replace-string, replace-regexp): Doc fix.
5553 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5557 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5558 prog-mode-map (bug#14504).
5560 2013-05-29 Leo Liu <sdl.web@gmail.com>
5562 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5563 (octave-help): Small simplification.
5565 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5566 off the highlight first.
5568 2013-05-29 Glenn Morris <rgm@gnu.org>
5570 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5571 Handle idlwave-last-system-routine-info-cons-cell being nil.
5573 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5574 (idlwave-write-paths): Simplify via with-temp-buffer.
5576 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5577 * emulation/cua-rect.el: Also load cua-base at run time.
5579 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5580 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5581 (cperl-imenu-on-info): Require imenu.
5583 2013-05-28 Alan Mackenzie <acm@muc.de>
5585 Handle "capitalised keywords" correctly.
5586 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5588 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5590 * eshell/em-unix.el: Add -r option to cp.
5592 2013-05-28 Glenn Morris <rgm@gnu.org>
5594 * vc/vc-arch.el (vc-exec-after): Declare.
5595 (vc-switches): Autoload.
5596 * vc/vc-bzr.el: No need to require vc when compiling.
5597 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5598 (vc-resynch-buffer, vc-dir-refresh): Declare.
5599 (vc-setup-buffer, vc-switches): Autoload.
5600 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5601 (vc-resynch-buffer): Declare.
5602 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5603 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5604 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5605 (grep-read-regexp, grep-read-files, grep-expand-template)
5606 (vc-dir-refresh): Declare.
5607 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5608 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5609 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5610 * vc/vc-mtn.el (vc-exec-after): Declare.
5611 (vc-switches): Autoload.
5612 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5613 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5614 (vc-file-tree-walk): Declare.
5615 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5616 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5617 (vc-tag-precondition, vc-rename-master): Autoload.
5618 * vc/vc-svn.el (vc-exec-after): Declare.
5619 (vc-switches, vc-setup-buffer): Autoload.
5620 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5622 (vc-resynch-buffer): Declare.
5624 * obsolete/fast-lock.el (byte-compile-warnings):
5625 Don't warn about obsolete features in this obsolete file.
5627 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5628 Move definition before use.
5630 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5631 (dun-unix-verbs): Remove dun-zippy.
5632 (dun-zippy): Remove function.
5634 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5636 2013-05-27 Juri Linkov <juri@jurta.org>
5638 * replace.el (replace-search): New function with code moved out
5639 from `perform-replace'.
5640 (replace-highlight, replace-dehighlight): Move function definitions
5641 up closer to `replace-search'. (Bug#11746)
5643 2013-05-27 Juri Linkov <juri@jurta.org>
5645 * replace.el (perform-replace): Ignore invisible matches.
5646 In addition to checking `query-replace-skip-read-only', also
5647 filter out matches by calling `run-hook-with-args-until-failure'
5648 on `isearch-filter-predicates', and also check `search-invisible'
5649 for t or call `isearch-range-invisible'.
5650 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5652 2013-05-27 Juri Linkov <juri@jurta.org>
5654 * isearch.el (isearch-filter-predicates): Rename from
5655 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5656 (isearch-message-prefix): Display text from the property
5657 `isearch-message-prefix' of the currently active filters.
5658 (isearch-search): Don't compare `isearch-filter-predicate' with
5659 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5660 on `isearch-filter-predicates'. Also check `search-invisible' for t
5661 or call `isearch-range-invisible'.
5662 (isearch-filter-visible): Make obsolete.
5663 (isearch-lazy-highlight-search):
5664 Call `run-hook-with-args-until-failure' on
5665 `isearch-filter-predicates' and use `isearch-range-invisible'.
5667 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5668 `isearch-filter-predicates' instead of `funcall'ing
5669 `isearch-filter-predicate'.
5670 (Info-mode): Set `Info-isearch-filter' to
5671 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5673 * dired-aux.el (dired-isearch-filter-predicate-orig):
5675 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5676 (dired-isearch-filenames-end): Add and remove
5677 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5678 instead of changing the value of `isearch-filter-predicate'.
5679 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5680 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5681 Put property `isearch-message-prefix' to "filename " on
5682 `dired-isearch-filter-filenames'.
5684 * wdired.el (wdired-change-to-wdired-mode):
5685 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5686 locally instead of changing `isearch-filter-predicate'.
5687 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5689 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5691 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5692 return the commit hash (Bug#14459). Also set the
5693 `vc-git-detached' property.
5694 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5695 (vc-git-mode-line-string): Use the same help-echo format whether
5696 in detached mode or not, because we know the actual revision now.
5697 When in detached mode, shorten the revision to 7 chars.
5699 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5701 * emacs-lisp/easy-mmode.el (define-minor-mode):
5702 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5703 mode hook and provide a docstring.
5705 2013-05-27 Alan Mackenzie <acm@muc.de>
5707 Remove spurious syntax-table text properties inserted by C-y.
5708 * progmodes/cc-mode.el (c-after-change): Also clear hard
5709 syntax-table property with value nil.
5711 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
5713 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5714 when reading the events; the buffer layout shall not be changed.
5716 2013-05-27 Leo Liu <sdl.web@gmail.com>
5718 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5720 (inferior-octave-directory-tracker): Automatically re-sync
5722 (octave-help): Improve handling of 'See also'.
5724 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5726 * doc-view.el: Minor naming convention tweaks.
5727 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5729 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5730 even if there's no `display' property yet (bug#14435).
5732 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5734 * subr.el (unmsys--file-name): Rename from reveal-filename.
5736 * Makefile.in (custom-deps, finder-data, autoloads)
5737 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5738 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5739 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5741 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5744 error-completion on the first 2 args of condition-case (bug#14446).
5747 2013-05-25 Leo Liu <sdl.web@gmail.com>
5749 * comint.el (comint-previous-matching-input): Do not flood the
5750 *Messages* buffer with trivial messages.
5752 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * progmodes/flymake.el (flymake-nop): Don't return a string.
5755 (flymake-set-at): Fix typo.
5757 * simple.el (read--expression): New function, extracted from
5758 eval-expression. Set completion-at-point-functions (bug#14465).
5759 (eval-expression, eval-minibuffer): Use it.
5761 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5763 * progmodes/flymake.el (flymake-save-buffer-in-file)
5764 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5765 (flymake-selected-frame, flymake-log, flymake-ins-after)
5766 (flymake-set-at, flymake-get-buildfile-from-cache)
5767 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5768 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5769 Refine the doc string.
5770 (flymake-get-file-name-mode-and-masks): Reformat.
5771 (flymake-get-real-file-name-function): Fix a minor bug.
5773 2013-05-24 Juri Linkov <juri@jurta.org>
5775 * progmodes/grep.el (grep-mode-font-lock-keywords):
5776 Support =linenumber= format used by git-grep for lines with
5777 function names. (Bug#13549)
5779 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5781 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5782 0 after a semi-colon; it works better for smie-auto-fill.
5783 (octave--indent-new-comment-line): New function.
5784 (octave-indent-new-comment-line): Use it (indirectly).
5785 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5786 modify comment-line-break-function.
5788 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5789 (smie-setup): Use add-function to set it.
5791 2013-05-24 Sam Steingold <sds@gnu.org>
5793 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5794 argument (before the `interactive' argument).
5796 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * image-mode.el (image-mode-winprops): Add winprops to
5799 image-mode-winprops-alist before running
5800 image-mode-new-window-functions.
5801 * doc-view.el (doc-view-new-window-function): Don't delay
5802 doc-view-goto-page via timers (bug#14435).
5804 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5806 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5807 (doc-view-desktop-save-buffer): New function.
5808 (doc-view-restore-desktop-buffer): New function.
5809 (desktop-buffer-mode-handlers):
5810 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5812 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5813 `desktop-save-buffer' function.
5815 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5817 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5818 (tramp-gvfs-file-name-handler): Raise a user error when
5819 `tramp-gvfs-enabled' is nil.
5820 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5821 Do not raise a user error when loading package. (Bug#14447)
5823 * net/xesam.el: Move to obsolete/.
5825 2013-05-24 Glenn Morris <rgm@gnu.org>
5827 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5829 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5831 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5832 (Info-find-node, Man-getpage-in-background): Declare.
5834 * mail/unrmail.el (unrmail):
5835 Replace obsolete detect-coding-with-priority.
5837 * net/socks.el (socks-split-string): Use this rather than split-string.
5838 (socks-nslookup-host): Update for above change.
5839 (dynamic-choice, s5-dynamic-choice-match)
5840 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5841 Comment out unused code.
5843 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5844 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5845 (gud-tooltip-echo-area): Make obsolete.
5846 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5848 * progmodes/js.el (js--optimize-arglist): Declare.
5850 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5852 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5853 (ediff-window-C): Declare.
5855 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5856 Tweak requires to silence compiler.
5858 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5859 (he-search-string, he-tried-table, he-expand-list)
5860 (he-init-string, he-string-member, he-substitute-string)
5861 (he-reset-string): Declare.
5863 * obsolete/options.el (list-options): Use custom-variable-p,
5864 rather than obsolete alias.
5866 2013-05-23 Sam Steingold <sds@gnu.org>
5868 * simple.el (shell-command-on-region): Pass the `replace' argument
5869 down to `call-process-region' to comply with the doc as reported on
5870 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5872 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * emacs-lisp/smie.el (smie-indent-forward-token)
5875 (smie-indent-backward-token): Handle string tokens (bug#14381).
5877 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5879 * ielm.el (ielm-menu): New menu.
5880 (inferior-emacs-lisp-mode): Set comment-start.
5882 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5884 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5885 Fix deactivate action.
5887 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5888 Add cleveref macros.
5890 * lisp/textmodes/reftex-parse.el
5891 (reftex-locate-bibliography-files): Accept options for
5892 bibliography commands.
5893 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5894 Add addbibresource. Basic Biblatex support.
5896 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
5898 * net/tramp-gvfs.el (top):
5899 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5900 when loading package. (Bug#14447)
5902 2013-05-23 Glenn Morris <rgm@gnu.org>
5904 * progmodes/js.el: No need to load comint when compiling.
5905 (ring-insert, comint-send-string, comint-send-input)
5906 (comint-last-input-end, ido-chop): Declare.
5908 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5909 * vc/ediff-mult.el: Adjust requires.
5910 (ediff-directories-internal, ediff-directory-revisions-internal)
5911 (ediff-patch-file-internal): Declare.
5912 * vc/ediff-ptch.el: Adjust requires.
5913 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5914 (ediff-find-file): Autoload.
5915 * vc/ediff-util.el: No need to load ediff when compiling.
5916 (ediff-regions-internal): Declare.
5917 * vc/ediff-wind.el: Adjust requires.
5918 (ediff-compute-toolbar-width): Define when compiling.
5919 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5920 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5921 (dired-get-filename, dired-get-marked-files)
5922 (ediff-last-dir-patch, ediff-patch-default-directory)
5923 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5924 (ediff-patch-buffer-internal): Declare.
5926 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5927 (ispell-process, ispell-buffer-local-words, lm-summary)
5928 (lm-section-start, lm-section-end): Declare.
5929 (checkdoc-ispell-init): Simplify.
5931 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5932 (he-string-member, he-reset-string, he-substitute-string): Declare.
5934 * eshell/em-ls.el: Adjust requires.
5935 (eshell-glob-regexp): Declare.
5936 * eshell/em-tramp.el: Adjust requires.
5937 (eshell-parse-command): Autoload.
5938 * eshell/em-xtra.el: Adjust requires.
5939 (eshell-parse-command): Autoload.
5940 * eshell/esh-ext.el: Adjust requires.
5941 (eshell-parse-command, eshell-close-handles): Autoload.
5942 * eshell/esh-io.el: Adjust requires.
5943 (eshell-output-filter): Autoload.
5944 * eshell/esh-util.el: No need to load tramp when compiling.
5945 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5947 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5948 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5949 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5950 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5951 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5952 * eshell/esh-opt.el, eshell/esh-proc.el:
5953 * eshell/esh-var.el: Adjust requires.
5954 * eshell/eshell.el: Do not require esh-util twice.
5955 (eshell-add-input-to-history): Declare.
5956 (eshell-command): Check history module is active before using it.
5958 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5960 2013-05-22 Leo Liu <sdl.web@gmail.com>
5962 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5964 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
5966 * autorevert.el (auto-revert-notify-add-watch)
5967 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5968 it indicates changes in file modification time.
5970 2013-05-22 Glenn Morris <rgm@gnu.org>
5972 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5973 Always delete the autoloaded function from the noruntime and
5974 unresolved functions lists.
5976 * allout.el: No need to load epa, epg, overlay when compiling.
5977 (epg-context-set-passphrase-callback, epg-list-keys)
5978 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5979 (epg-key-user-id-list): Declare.
5981 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5982 (viper-set-parsing-style-toggling-macro)
5983 (viper-set-emacs-state-searchstyle-macros):
5984 Use called-interactively-p on Emacs.
5985 (viper-looking-back): Make it an obsolete alias. Update callers.
5986 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5987 Use looking-back rather than viper-looking-back.
5988 (viper-tmp-insert-at-eob, viper-enlarge-region)
5989 (viper-read-string-with-history, viper-register-to-point)
5990 (viper-append-to-register, viper-change-state-to-vi)
5991 (viper-backward-char-carefully, viper-forward-char-carefully)
5992 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5993 (viper-change-state-to-emacs): Declare.
5994 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5995 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5996 * emulation/viper-mous.el: Do not load viper-cmd.
5997 (viper-backward-char-carefully, viper-forward-char-carefully)
5998 (viper-forward-word, viper-adjust-window): Declare.
6000 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6002 * progmodes/idlw-help.el (idlwave-help-fontify):
6003 Use called-interactively-p.
6005 * term/w32console.el (w32-get-console-codepage)
6006 (w32-get-console-output-codepage): Declare.
6008 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6009 Remove unnecessary declarations.
6010 (dframe-message): Doc fix.
6012 * info.el (dframe-select-attached-frame, dframe-current-frame):
6015 * speedbar.el (speedbar-message): Make it an obsolete alias.
6017 (speedbar-with-attached-buffer)
6018 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6019 (speedbar-with-writable): Use backquote.
6020 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6021 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6022 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6023 rather than speedbar- aliases.
6024 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6025 (speedbar-make-specialized-keymap, speedbar-insert-button)
6026 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6027 (speedbar-do-function-pointer): Declare.
6028 (rmail-speedbar-button, rmail-speedbar-find-file)
6029 (rmail-speedbar-move-message):
6030 Use dframe-with-attached-buffer rather than speedbar- alias.
6031 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6032 (dframe-message, speedbar-make-specialized-keymap)
6033 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6034 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6035 (speedbar-insert-button, dframe-select-attached-frame)
6036 (dframe-maybee-jump-to-attached-frame)
6037 (speedbar-change-initial-expansion-list)
6038 (speedbar-previously-used-expansion-list-name): Declare.
6039 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6040 Use dframe-message, dframe-with-attached-buffer rather than
6042 (gud-sentinel): Silence compiler.
6043 * progmodes/vhdl-mode.el (speedbar-refresh)
6044 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6045 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6046 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6047 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6048 (speedbar-file-lists, speedbar-make-tag-line)
6049 (speedbar-line-directory, speedbar-goto-this-file)
6050 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6051 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6052 (speedbar-make-button, speedbar-reset-scanners)
6053 (speedbar-files-item-info, speedbar-line-text)
6054 (speedbar-find-file-in-frame, speedbar-set-timer)
6055 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6056 (speedbar-with-writable): Do not (re)define it.
6057 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6058 rather than speedbar- alias.
6060 2013-05-21 Leo Liu <sdl.web@gmail.com>
6062 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6064 (octave-mode): Tweak fill-nobreak-predicate.
6065 (inferior-octave-startup): Check process to avoid infinite loop.
6066 (inferior-octave): Pop to buffer first to show abornmal process
6069 2013-05-21 Glenn Morris <rgm@gnu.org>
6071 * printing.el (pr-menu-bar): Define when compiling.
6073 2013-05-21 Leo Liu <sdl.web@gmail.com>
6075 * progmodes/octave.el (octave-auto-fill): Remove.
6076 (octave-indent-new-comment-line): Improve.
6077 (octave-mode): Use auto fill mode through
6078 comment-line-break-function and fill-nobreak-predicate.
6079 (octave-goto-function-definition): Support DEFUN_DLD.
6080 (octave-beginning-of-defun): Small tweak.
6081 (octave-help): Show parent directory.
6083 2013-05-21 Glenn Morris <rgm@gnu.org>
6085 * files.el (dired-unmark):
6086 * progmodes/gud.el (gdb-input): Update declarations.
6088 * calculator.el (electric, ehelp): No need to load when compiling.
6089 (Electric-command-loop, electric-describe-mode): Declare.
6091 * doc-view.el (doc-view-current-converter-processes): Move before use.
6093 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6094 Move MODE-set-explicitly definition before use.
6096 * international/mule-diag.el (mule-diag):
6097 Don't use obsolete window-system-version.
6099 * mail/feedmail.el (smtpmail): No need to load when compiling.
6100 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6102 * mail/mail-utils.el (rfc822): No need to load when compiling.
6103 (rfc822-addresses): Autoload it.
6104 (mail-strip-quoted-names): Trivial simplification.
6106 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6107 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6109 * net/snmp-mode.el (tempo): Don't duplicate requires.
6111 * progmodes/prolog.el (info): No need to load when compiling.
6112 (comint): Require before shell requires it.
6113 (Info-goto-node): Autoload it.
6114 (Info-follow-nearest-node): Declare.
6115 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6117 * textmodes/artist.el (picture-mode-exit): Declare.
6119 * textmodes/reftex-parse.el (reftex-parse-from-file):
6120 Trivial rewrite so the compiler can parse it better.
6122 2013-05-20 Leo Liu <sdl.web@gmail.com>
6124 * progmodes/octave.el (octave-help-mode-map)
6125 (octave-help-mode-finish-hook): New variables.
6126 (octave-help-mode, octave-help-mode-finish): New functions.
6127 (octave-help): Use octave-help-mode.
6129 2013-05-20 Glenn Morris <rgm@gnu.org>
6131 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6133 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6135 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6136 start at point, so that expansion starting right after opening
6137 slash in a regexp is recognized.
6138 (ruby-syntax-before-regexp-re): New defvar, extracted from
6139 ruby-syntax-propertize-function. Since the value of this regexp
6140 is looked up at runtime now, we should be able to turn
6141 `ruby-syntax-methods-before-regexp' into a defcustom later.
6142 (ruby-syntax-propertize-function): Split regexp matching into two
6143 parts, for opening and closing slashes. That allows us to skip
6144 over string interpolations and support multiline regexps.
6145 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6146 for them, which calls `ruby-syntax-propertize-expansion'.
6147 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6148 call to `ruby-syntax-propertize-function'.
6149 (ruby-syntax-propertize-expansion): Extracted from
6150 `ruby-syntax-propertize-expansions'. Handles one expansion.
6151 (ruby-syntax-propertize-percent-literal): Leave point right after
6152 the percent symbol, so that the expression expansion rule can
6153 propertize the contents.
6154 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6156 (ruby-syntax-propertize-expansions): Remove.
6158 2013-05-18 Juri Linkov <juri@jurta.org>
6160 * man.el (Man-default-man-entry): Remove `-' from the end
6161 of the default value. (Bug#14400)
6163 2013-05-18 Glenn Morris <rgm@gnu.org>
6165 * comint.el (comint-password-prompt-regexp):
6166 Allow "password for XXX" where XXX contains colons (eg https://...).
6168 2013-05-18 Leo Liu <sdl.web@gmail.com>
6170 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6171 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6172 (octave-source-directories): Don't check process.
6173 (octave-source-directories, octave-find-definition): Doc fix.
6175 2013-05-18 Glenn Morris <rgm@gnu.org>
6177 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6178 Remove backspace/delete bindings. (Bug#14392)
6180 * cus-dep.el (custom-make-dependencies): Sort the output.
6181 (custom-versions-load-alist): Convert comment to doc.
6183 2013-05-17 Leo Liu <sdl.web@gmail.com>
6185 * newcomment.el (comment-search-backward): Stricter in finding
6186 comment start. (Bug#14303)
6188 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6189 (octave-comment-start-skip): Properly anchored.
6191 2013-05-17 Leo Liu <sdl.web@gmail.com>
6193 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6194 Clean up when turned off. (Bug#14395)
6195 (smie--highlight-matching-block-overlay): No longer buffer-local.
6196 (smie-highlight-matching-block): Adjust.
6198 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6200 Doc string fix for "nanoseconds" (Bug#14406).
6201 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6202 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6204 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6206 * calc/calc-units.el (math-extract-units): Preserve powers
6209 2013-05-17 Leo Liu <sdl.web@gmail.com>
6211 * subr.el (delete-consecutive-dups): New function.
6212 * ido.el (ido-set-matches-1): Use it.
6213 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6214 * ido.el (ido-remove-consecutive-dups): Remove.
6216 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6219 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6220 regexp-opt's `words'.
6222 2013-05-16 Leo Liu <sdl.web@gmail.com>
6224 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6225 (smie--highlight-matching-block-overlay)
6226 (smie--highlight-matching-block-lastpos)
6227 (smie--highlight-matching-block-timer): New variables.
6228 (smie-highlight-matching-block): New function.
6229 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6230 (smie-setup): Conditionally enable smie-blink-matching-open.
6232 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6234 Sync with upstream verilog-mode r840.
6235 * progmodes/verilog-mode.el (verilog-mode-version)
6236 (verilog-mode-release-date): Update.
6237 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6238 (verilog-sig-tieoff): Fix string error on
6239 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6240 (verilog-read-decls): Fix parameters confusing
6241 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6243 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6245 * subr.el (reveal-filename): New function.
6247 * loadup.el: Compute Emacs executable versions on MS-Windows,
6248 where executables have the .exe extension. Add a hard link
6249 emacs-XX.YY.ZZ.exe on MS-Windows.
6251 * Makefile.in (XARGS_LIMIT): New variable.
6252 (custom-deps, finder-data, autoloads)
6253 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6254 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6255 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6256 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6258 2013-05-16 Leo Liu <sdl.web@gmail.com>
6260 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6261 (octave-mode-menu, octave-mode-map): Remove its uses.
6263 2013-05-16 Reto Zimmermann <reto@gnu.org>
6265 Sync with upstream vhdl mode v3.34.2.
6266 * progmodes/vhdl-mode.el: Use `push' throughout.
6267 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6268 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6269 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6270 (vhdl-actual-generic-name): New option to derive actual generic name.
6271 (vhdl-port-paste-signals): Replace formal by actual generics.
6272 (vhdl-beautify): New name for old group vhdl-align. Update users.
6273 (vhdl-beautify-options): New option.
6274 (vhdl-last-input-event): New compat alias. Use throughout.
6275 (vhdl-goto-line): Replace user level function `goto-line'.
6276 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6277 vhdl-fix-statement-buffer.
6278 (vhdl-create-mode-menu): Add some entries.
6279 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6280 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6281 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6282 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6283 to force statements on one line.
6284 (vhdl-remove-trailing-spaces-region):
6285 New, split from vhdl-remove-trailing-spaces.
6286 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6287 Respect vhdl-beautify-options.
6288 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6289 (vhdl-update-sensitivity-list): Not add with index if exists without.
6290 Not include array index with signal. Ignore keywords in comments.
6291 (vhdl-get-visible-signals): Regexp tweaks.
6292 (vhdl-template-component-inst): Handle empty library.
6293 (vhdl-template-type): Add template for 'enum' type.
6294 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6295 Use vhdl-replace-string.
6296 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6297 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6298 (vhdl-speedbar-initialize): Update for above name change.
6299 (vhdl-compose-wire-components): Fix in handling of constants.
6300 (vhdl-error-regexp-emacs-alist): New variable.
6301 (vhdl-error-regexp-add-emacs): New function;
6302 adds support for new compile.el (Emacs 22+)
6303 (vhdl-generate-makefile-1): Change target order for single lib. units.
6304 Allow use of absolute file names.
6306 2013-05-16 Leo Liu <sdl.web@gmail.com>
6308 * simple.el (prog-indent-sexp): Indent enclosing defun.
6310 2013-05-15 Glenn Morris <rgm@gnu.org>
6312 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6313 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6314 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6315 (whitespace-highlight): Move to whitespace group.
6317 * comint.el (comint-source):
6318 * pcmpl-linux.el (pcmpl-linux):
6319 * shell.el (shell-faces):
6320 * eshell/esh-opt.el (eshell-opt):
6321 * international/ccl.el (ccl): Remove empty custom groups.
6323 * completion.el (dynamic-completion-mode):
6324 * jit-lock.el (jit-lock-debug-mode):
6325 * minibuffer.el (completion-in-region-mode):
6326 * type-break.el (type-break-mode-line-message-mode)
6327 (type-break-query-mode):
6328 * emulation/tpu-edt.el (tpu-edt-mode):
6329 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6330 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6331 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6333 * term/xterm.el (xterm): Change parent group to terminals.
6335 * master.el (master): Remove empty custom group.
6336 (master-mode): Remove unused :group argument.
6337 * textmodes/refill.el (refill): Remove empty custom group.
6338 (refill-mode): Remove unused :group argument.
6340 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6342 * cus-dep.el: Provide a feature.
6343 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6344 Don't mistakenly ignore files whose basenames match a basename
6345 from preloaded-file-list (eg cedet/ede/simple.el).
6346 Add a fallback method for getting :group.
6348 2013-05-15 Juri Linkov <juri@jurta.org>
6350 * isearch.el (isearch-char-by-name): Rename from
6351 `isearch-insert-char-by-name'. Doc fix.
6352 (isearch-forward): Mention `isearch-char-by-name' in
6353 the docstring. (Bug#13348)
6355 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6356 `exit-minibuffer' instead of
6357 `isearch-nonincremental-exit-minibuffer'.
6358 (isearch-edit-string): Remove mention of
6359 `isearch-nonincremental-exit-minibuffer' from docstring.
6360 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6361 (isearch-forward-exit-minibuffer)
6362 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6364 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6366 * loadup.el: Just use unversioned DOC.
6368 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6369 literals as extending to EOB.
6370 (nxml-last-fontify-end): Remove unused variable.
6371 (nxml-after-change1): Use with-silent-modifications.
6372 (nxml-extend-after-change-region): Simplify.
6373 (nxml-extend-after-change-region1): Remove function.
6374 (nxml-after-change1): Don't adjust for dependent regions.
6375 (nxml-fontify-matcher): Simplify.
6376 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6377 (xmltok-add-dependent): Remove function.
6378 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6379 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6380 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6381 unclosed <[[, <?, comment, and other literals as extending to EOB.
6382 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6383 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6385 (rng-do-some-validation-1): Don't mark dependent regions.
6386 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6387 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6388 (nxml-clear-dependent-regions): Remove functions.
6389 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6390 (nxml-ensure-scan-up-to-date):
6391 Don't clear&mark dependent regions.
6393 2013-05-15 Leo Liu <sdl.web@gmail.com>
6395 * progmodes/octave.el (octave-goto-function-definition):
6396 Improve and fix callers.
6398 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6400 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6401 the setter (bug#14387).
6403 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6404 surrounding group (bug#14402).
6406 2013-05-14 Juri Linkov <juri@jurta.org>
6408 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6411 2013-05-14 Glenn Morris <rgm@gnu.org>
6413 * progmodes/f90.el (f90-imenu-generic-expression):
6414 Fix typo in 2013-05-08 change. (Bug#14402)
6416 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6418 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6419 Remove signals for which replies are never received.
6421 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6423 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6424 (gdb-handler-alist, gdb-handler-number): Remove variables.
6425 (gdb-handler-list): New variable.
6426 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6427 (gdb-pending-handler-p, gdb-handle-reply)
6428 (gdb-remove-all-pending-triggers): New functions.
6429 (gdb-discard-unordered-replies): New defcustom.
6430 (gdb-handler): New defstruct.
6431 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6432 instead of gdb-pending-triggers. Update docstring.
6433 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6434 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6435 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6436 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6437 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6438 (gdb-frame-handler): Pending triggers are now automatically managed.
6439 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6441 (gdb-input): Automatically handles pending triggers. Update docstring.
6442 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6443 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6445 (gdb-done-or-error): Now use gdb-handle-reply.
6447 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6449 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6452 2013-05-14 Glenn Morris <rgm@gnu.org>
6454 * subr.el (user-emacs-directory-warning): New option.
6455 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6457 2013-05-14 Leo Liu <sdl.web@gmail.com>
6459 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6461 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6462 (octave-font-lock-texinfo-comment): Fix invalid search bound
6463 error: wrong side of point.
6465 2013-05-14 Glenn Morris <rgm@gnu.org>
6467 * progmodes/flymake.el (flymake-xml-program): New option.
6468 (flymake-xml-init): Use it.
6470 * term/xterm.el: Provide a feature.
6472 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6474 2013-05-13 Glenn Morris <rgm@gnu.org>
6476 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6477 Add compat aliases as a hack workaround. (Bug#14384)
6479 2013-05-13 Leo Liu <sdl.web@gmail.com>
6481 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6483 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6485 (octave-comment-start-skip): Include %!.
6486 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6488 2013-05-12 Leo Liu <sdl.web@gmail.com>
6490 * progmodes/octave.el (inferior-octave-startup): Store the value
6491 of __octave_srcdir__ for octave-source-directories.
6492 (inferior-octave-check-process): New function refactored out of
6493 inferior-octave-send-list-and-digest.
6494 (octave-source-directories)
6495 (octave-find-definition-filename-function): New variables.
6496 (octave-source-directories)
6497 (octave-find-definition-default-filename): New functions.
6498 (octave-find-definition): Improve to find functions implemented in C++.
6500 2013-05-12 Glenn Morris <rgm@gnu.org>
6502 * calendar/diary-lib.el (diary-outlook-format-1):
6503 Don't include dayname in the output. (Bug#14349)
6505 2013-05-11 Glenn Morris <rgm@gnu.org>
6507 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6509 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6510 Treat cc-provide like provide.
6512 2013-05-11 Kevin Ryde <user42@zip.com.au>
6514 * cus-dep.el (custom-make-dependencies):
6515 Use generated-autoload-load-name for the sake of files such
6516 such cedet/semantic/bovine/c.el, where the base file name
6517 is not in load-path. (Bug#5277)
6519 2013-05-11 Glenn Morris <rgm@gnu.org>
6521 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6524 2013-05-11 Leo Liu <sdl.web@gmail.com>
6526 * progmodes/octave.el (octave-indent-comment): Improve.
6527 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6528 (octave-eldoc-function-signatures, octave-eldoc-function):
6530 (octave-mode, inferior-octave-mode): Add eldoc support.
6532 2013-05-11 Richard Stallman <rms@gnu.org>
6534 * epa.el (epa-decrypt-file): Take output file name as argument
6535 and read it using `interactive'.
6537 2013-05-11 Leo Liu <sdl.web@gmail.com>
6539 * progmodes/octave.el (octave-beginning-of-line)
6540 (octave-end-of-line): Check before using up-list because it jumps
6541 out of more syntactic contructs since moving to smie.
6542 (octave-indent-comment): New function.
6543 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6544 (octave-begin-keywords, octave-end-keywords)
6545 (octave-reserved-words, octave-smie-bnf-table)
6546 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6548 2013-05-11 Glenn Morris <rgm@gnu.org>
6550 * faces.el (internal-face-x-get-resource):
6551 * frame.el (ns-display-monitor-attributes-list):
6552 * calc/calc-aent.el (math-to-radians-2):
6553 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6556 * calc/calc-menu.el: Make it loadable in isolation.
6558 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6559 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6560 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6561 (eudc-bbdb-query-internal): Require 'bbdb.
6563 * lpr.el (lpr-headers-switches):
6564 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6566 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6568 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6570 * term.el (term-set-escape-char): Make it idempotent.
6572 2013-05-10 Leo Liu <sdl.web@gmail.com>
6574 * progmodes/octave.el (inferior-octave-completion-table):
6575 No longer a function and all uses changed. Use cache to speed up
6576 completion due to bug#11906.
6577 (octave-beginning-of-defun): Re-write to be more general.
6579 2013-05-10 Glenn Morris <rgm@gnu.org>
6581 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6583 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6585 * comint.el (comint-redirect-send-command-to-process): Use :around
6586 rather than :override for comint-redirect-filter.
6587 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6588 Call it instead of comint-redirect-original-filter-function (which
6589 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6591 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6593 * frame.el (display-monitor-attributes-list): Add NS case.
6594 (ns-display-monitor-attributes-list): Declare.
6596 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6598 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6600 2013-05-09 Glenn Morris <rgm@gnu.org>
6602 * international/fontset.el (vertical-centering-font-regexp):
6605 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6607 * bookmark.el (bookmark-search-delay):
6608 * cus-start.el (vertical-centering-font-regexp):
6609 * ps-mule.el (ps-mule-font-info-database-default):
6610 * ps-print.el (ps-default-fg, ps-default-bg):
6611 * type-break.el (type-break-good-break-interval):
6612 * whitespace.el (whitespace-indentation-regexp)
6613 (whitespace-space-after-tab-regexp):
6614 * emacs-lisp/testcover.el (testcover-1value-functions)
6615 (testcover-noreturn-functions, testcover-progn-functions)
6616 (testcover-prog1-functions):
6617 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6618 * eshell/em-glob.el (eshell-glob-translate-alist):
6619 * play/tetris.el (tetris-tty-colors):
6620 * progmodes/cpp.el (cpp-face-default-list):
6621 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6622 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6623 (idlwave-help-browser-generic-args):
6624 * progmodes/make-mode.el (makefile-special-targets-list):
6625 * progmodes/python.el (python-shell-virtualenv-path):
6626 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6627 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6628 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6629 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6630 * textmodes/reftex-vars.el (reftex-format-label-function):
6631 * textmodes/remember.el (remember-diary-file): Fix custom types.
6633 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6636 2013-05-09 Leo Liu <sdl.web@gmail.com>
6638 * progmodes/octave.el (inferior-octave-completion-at-point):
6639 Restore file completion. (Bug#14300)
6640 (inferior-octave-startup): Fix incorrect highlighting for the
6643 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6645 * progmodes/ruby-mode.el: First cut at SMIE support.
6646 (ruby-use-smie): New var.
6647 (ruby-smie-grammar): New constant.
6648 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6649 (ruby-smie--forward-token, ruby-smie--backward-token)
6650 (ruby-smie-rules): New functions.
6651 (ruby-mode-variables): Setup SMIE if applicable.
6653 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6655 * simple.el (line-move-visual): Signal beginning/end of buffer
6656 only if vertical-motion moved less than it was requested. Avoids
6657 silly incorrect error messages when there are display strings with
6658 multiple newlines at EOL.
6660 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6662 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6663 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6664 (prolog-char-quote-workaround):
6665 * progmodes/cperl-mode.el (cperl-under-as-char):
6666 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6668 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6670 (vhdl-mode-syntax-table-init): Remove.
6672 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6675 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6677 (ld-script-font-lock-keywords):
6678 Change regexps to use things like \_< and \_>.
6680 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6681 Change all regexps to use things like \_< and \_>.
6683 * progmodes/autoconf.el (autoconf-definition-regexp)
6684 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6685 Handle a _ with symbol syntax.
6686 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6688 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6689 Consolidate declaration.
6690 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6692 (ada-create-syntax-table): Remove.
6693 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6694 already has the right syntax nowadays.
6695 (ada-goto-next-word): Don't change the syntax of "_".
6697 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6700 2013-05-08 Sam Steingold <sds@gnu.org>
6702 * thingatpt.el (thing-at-point): Accept optional second argument
6703 NO-PROPERTIES to strip the text properties from the return value.
6704 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6705 to `thing-at-point' instead of stripping the properties ourselves.
6706 Also, when `thing-at-point' fails to find a url, prepend "http://"
6707 to the filename at point on the assumption that the user is
6708 pointing at something like gnu.org/gnu.
6710 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
6712 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6713 * faces.el (crm-separator):
6714 Silence byte-compiler.
6716 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6717 (tool-bar-map): Remove unneeded defvars.
6719 2013-05-08 Leo Liu <sdl.web@gmail.com>
6721 Re-work a fix for bug#10994 based on Le Wang's patch.
6722 * ido.el (ido-remove-consecutive-dups): New helper.
6723 (ido-completing-read): Use it.
6724 (ido-chop): Revert fix for bug#10994.
6726 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6728 * cus-edit.el (custom-save-variables):
6729 Pretty-print long values. (Bug#14187)
6731 2013-05-08 Glenn Morris <rgm@gnu.org>
6733 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6734 (m4-mode-syntax-table): Init in the defvar.
6735 (m4-mode-abbrev-table): Let define-derived-mode define it.
6737 2013-05-08 Tom Tromey <tromey@redhat.com>
6739 * progmodes/m4-mode.el (m4-mode-syntax-table):
6740 Do not treat "_" as word constituent. (Bug#14167)
6742 2013-05-07 Glenn Morris <rgm@gnu.org>
6744 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6745 Remove explicit eshell-isearch-cancel-map.
6747 * progmodes/f90.el (f90-smart-end-names): New option.
6748 (f90-smart-end): Doc fix.
6749 (f90-end-block-optional-name): New constant.
6750 (f90-block-match): Respect f90-smart-end-names.
6752 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6754 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6755 about implicit semi-colons (bug#14218).
6757 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6759 * frame.el (display-monitor-attributes-list)
6760 (frame-monitor-attributes): New functions.
6762 2013-05-06 Leo Liu <sdl.web@gmail.com>
6764 * progmodes/octave.el (octave-syntax-propertize-function): Change
6765 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6766 (octave-font-lock-keywords): Use octave-operator-regexp.
6767 (octave-completion-at-point): Rename from
6768 octave-completion-at-point-function.
6769 (inferior-octave-directory-tracker): Robustify.
6770 (octave-text-functions): Remove and fix its uses. No such things
6773 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * emacs-lisp/trace.el (trace--display-buffer): New function.
6776 (trace-make-advice): Use it.
6778 2013-05-06 Juri Linkov <juri@jurta.org>
6780 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6781 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6783 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6784 in the help string. (Bug#12985)
6786 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6788 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6790 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6792 * progmodes/perl-mode.el: Add support for here documents.
6793 (perl-syntax-propertize-function): Match here-doc markers.
6794 (perl-syntax-propertize-special-constructs): Find their end.
6795 (perl-imenu-generic-expression): Use [:alnum:].
6797 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6798 (advice--add-function): Refresh the advice if already present
6801 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6803 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6805 2013-05-06 Glenn Morris <rgm@gnu.org>
6807 * w32-fns.el (w32-charset-info-alist): Declare.
6809 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6810 of its defcustom properties.
6811 (eshell-cmpl-initialize): No need to load pcomplete.
6813 * generic-x.el: No need to require comint when compiling.
6815 * net/eudc-export.el: Make it loadable without bbdb.
6816 (top-level): Use require rather than load-library.
6817 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6818 (eudc-batch-export-records-to-bbdb)
6819 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6822 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6824 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6825 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6826 some tweaks, instead.
6828 2013-05-05 Leo Liu <sdl.web@gmail.com>
6830 * progmodes/octave.el (octave-font-lock-keywords)
6831 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6832 (inferior-octave-send-list-and-digest): Improve error message.
6833 (octave-mode, inferior-octave-mode): Use setq-local.
6834 (octave-help): Set info-lookup-mode.
6836 2013-05-05 Richard Stallman <rms@gnu.org>
6838 * vc/compare-w.el (compare-windows-whitespace):
6839 Treat no-break space as whitespace.
6841 * mail/rmailsum.el (rmail-summary-rmail-update):
6842 Detect empty summary and don't change selected message.
6843 (rmail-summary-goto-msg): Likewise.
6845 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6846 Doc fixes, rename args.
6848 2013-05-05 Alan Mackenzie <acm@muc.de>
6850 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6852 2013-05-05 Juri Linkov <juri@jurta.org>
6854 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6855 to not add the length of the summary segment to the return value.
6858 2013-05-05 Leo Liu <sdl.web@gmail.com>
6860 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6861 (inferior-octave-output-filter): Remove.
6862 (octave-send-region, inferior-octave-startup): Fix callers.
6863 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6864 (octave-binary-file-extensions): New user variable.
6865 (octave-find-definition): Confirm if opening binary files.
6866 (octave-help-file): Use octave-find-definition to get the binary
6868 (octave-help): Adjust for octave-help-file change.
6870 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6872 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6873 Merge the two entries that handle function definitions.
6874 (pascal--syntax-propertize): New const.
6875 (pascal-mode): Use it. Use setq-local.
6877 2013-05-04 Glenn Morris <rgm@gnu.org>
6879 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6880 (diary-from-outlook): Respect diary-from-outlook-function.
6882 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6884 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6885 Move the declaration from C.
6886 (read-minibuffer, eval-minibuffer): Move from C.
6887 (completion-setup-function): Avoid minibuffer-completion-contents.
6889 2013-05-03 Leo Liu <sdl.web@gmail.com>
6891 * progmodes/octave.el (octave-font-lock-keywords): Do not
6892 dehighlight 'end' in comments or strings.
6893 (octave-completing-read, octave-goto-function-definition):
6895 (octave-help-buffer): New user variable.
6896 (octave-help-file, octave-help-function): New button types.
6897 (octave-help): New command and bind it to C-h ;.
6898 (octave-find-definition): New command and bind it to M-.
6899 (user-error): Alias to error if not defined.
6901 2013-05-02 Leo Liu <sdl.web@gmail.com>
6903 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6905 (octave-font-lock-keywords): Include [ and {.
6907 2013-05-02 Leo Liu <sdl.web@gmail.com>
6909 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6910 (inferior-octave): Remove calling comint-mode and return the buffer.
6911 (inferior-octave-startup): Cosmetic changes.
6913 2013-05-02 Leo Liu <sdl.web@gmail.com>
6915 * progmodes/octave.el (octave-syntax-propertize-function):
6916 Include the case when ' is at line beginning. (Bug#14336)
6918 2013-05-02 Glenn Morris <rgm@gnu.org>
6920 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6921 * desktop.el (vc-dir-mode): Just autoload it here.
6923 2013-05-02 Alan Mackenzie <acm@muc.de>
6925 Eliminate variable c-standard-font-lock-fontify-region-function.
6926 * progmodes/cc-mode.el
6927 (c-standard-font-lock-fontify-region-function): Remove.
6928 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6930 2013-05-01 Leo Liu <sdl.web@gmail.com>
6932 * progmodes/octave.el: Compatible with older emacs-24 releases.
6933 (inferior-octave-has-built-in-variables): Remove. Built-in
6934 variables were removed from Octave in 2007.
6935 (inferior-octave-startup): Fix uses.
6936 (comint-line-beginning-position): Remove compatibility code for
6939 2013-05-01 Juri Linkov <juri@jurta.org>
6941 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6943 2013-05-01 Juri Linkov <juri@jurta.org>
6945 * comint.el (comint-previous-matching-input): Don't print message
6946 "History item: %d" when `isearch-mode' is active.
6947 (comint-history-isearch-message): Print message "History item: %d"
6948 when `comint-input-ring-index' is not empty and this function is
6949 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6951 2013-05-01 Leo Liu <sdl.web@gmail.com>
6953 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6954 definitions. Use completion-at-point to insert keywords.
6955 (octave-abbrev-start): Remove.
6956 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6958 2013-04-30 Leo Liu <sdl.web@gmail.com>
6960 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6963 2013-04-30 Alan Mackenzie <acm@muc.de>
6965 Handle arbitrarily long C++ member initialisation lists.
6966 * progmodes/cc-engine.el (c-back-over-member-initializers):
6968 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6969 (most) member init lists.
6971 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6973 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6976 2013-04-30 Leo Liu <sdl.web@gmail.com>
6978 * progmodes/octave.el (octave-variables): Remove. No builtin
6979 variables any more. All converted to functions.
6980 (octave-font-lock-keywords, octave-completion-at-point-function):
6982 (octave-font-lock-texinfo-comment): New user variable.
6983 (octave-texinfo-font-lock-keywords): New variable for texinfo
6985 (octave-function-comment-block): New face.
6986 (octave-font-lock-texinfo-comment): New function.
6987 (octave-mode): Font lock texinfo comment block.
6989 2013-04-29 Leo Liu <sdl.web@gmail.com>
6991 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6992 indexing expression.
6993 (octave-continuation-string): Do not use \.
6994 (inferior-octave-complete-impossible): Remove.
6995 (inferior-octave-completion-table)
6996 (inferior-octave-completion-at-point): Remove its uses.
6997 (inferior-octave-startup): completion_matches was introduced to
6998 Octave in 1996 so safe to assume it.
6999 (octave-function-file-comment): Improve to follow how Octave does it.
7000 (octave-update-function-file-comment): Tweak.
7002 2013-04-29 Leo Liu <sdl.web@gmail.com>
7004 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7005 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7006 (octave-function-file-comment): Fix typo.
7007 (octave-sync-function-file-names): Use read-char-choice.
7009 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7011 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7012 to t for the less important warnings.
7014 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7016 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7018 2013-04-27 Glenn Morris <rgm@gnu.org>
7020 * vc/log-view.el (log-view-current-entry):
7021 Treat "---" separator lines as part of the following rev. (Bug#14169)
7023 2013-04-27 Juri Linkov <juri@jurta.org>
7025 * subr.el (read-number): Doc fix about using it by interactive
7026 code letter `n'. (Bug#14254)
7028 2013-04-27 Juri Linkov <juri@jurta.org>
7030 * desktop.el (desktop-auto-save-timeout): New option.
7031 (desktop-file-checksum): New variable.
7032 (desktop-save): Add optional arg `auto-save' and don't auto-save
7034 (desktop-auto-save-timer): New variable.
7035 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7036 (after-init-hook): Call `desktop-auto-save-set-timer'.
7037 Suggested by Reuben Thomas <rrt@sc3d.org> in
7038 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7040 2013-04-27 Leo Liu <sdl.web@gmail.com>
7042 * progmodes/octave.el (octave-function-file-p)
7043 (octave-skip-comment-forward, octave-function-file-comment)
7044 (octave-update-function-file-comment): New functions.
7045 (octave-mode-map): Bind C-c ; to
7046 octave-update-function-file-comment.
7047 (octave-mode-menu): Add octave-update-function-file-comment.
7048 (octave-mode, inferior-octave-mode): Fix doc-string.
7049 (octave-insert-defun): Conform to Octave's coding convention.
7052 * files.el (basic-save-buffer): Don't let errors in
7053 before-save-hook prevent saving buffer.
7055 2013-04-20 Roland Winkler <winkler@gnu.org>
7057 * faces.el (read-face-name): Use completing-read if arg multiple
7060 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7062 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7063 displayed, move point to after the totals line.
7064 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7067 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7069 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7070 Add current dir to the load-path.
7071 (package-generate-autoloads): Don't rely on
7072 autoload-ensure-default-file.
7074 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7076 * textmodes/remember.el (remember-store-in-files): Document that
7077 the file name format is passed to `format-time-string'.
7079 2013-04-26 Leo Liu <sdl.web@gmail.com>
7081 * progmodes/octave.el (octave-sync-function-file-names): New function.
7082 (octave-mode): Use it in before-save-hook.
7084 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7089 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7090 \n and comment, even if it's not an implicit ; (bug#14218).
7092 2013-04-26 Glenn Morris <rgm@gnu.org>
7094 * subr.el (read-number): Once more use `read' rather than
7095 `string-to-number', to trap non-numeric input. (Bug#14254)
7097 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7099 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7100 Use `syntax-multiline' text property consistently instead of
7101 `font-lock-multiline'. (Bug#14237)
7103 2013-04-26 Glenn Morris <rgm@gnu.org>
7105 * emacs-lisp/shadow.el (list-load-path-shadows):
7106 No longer necessary to check for duplicate simple.el, since
7107 2012-07-07 change to init_lread to not include installation lisp
7108 directories in load-path when running uninstalled. (Bug#14270)
7110 2013-04-26 Leo Liu <sdl.web@gmail.com>
7112 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7113 (octave-mode, inferior-octave-mode): Use setq-local.
7114 (octave-not-in-string-or-comment-p): Rename to
7115 octave-in-string-or-comment-p.
7116 (octave-in-comment-p, octave-in-string-p)
7117 (octave-in-string-or-comment-p): Replace defsubst with defun.
7119 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7121 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7123 2013-04-25 Bastien Guerry <bzg@gnu.org>
7125 * textmodes/remember.el (remember-data-directory)
7126 (remember-directory-file-name-format): Fix custom types.
7128 2013-04-25 Leo Liu <sdl.web@gmail.com>
7130 * progmodes/octave.el (octave-completion-at-point-function):
7131 Make use of inferior octave process.
7132 (octave-initialize-completions): Remove.
7133 (inferior-octave-completion-table): New function.
7134 (inferior-octave-completion-at-point): Use it.
7135 (octave-completion-alist): Remove.
7137 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7139 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7140 (opascal-mode-syntax-table): New var.
7141 (opascal-literal-kind, opascal-is-literal-end)
7142 (opascal-literal-token-at): Rewrite.
7143 (opascal--literal-start-re, opascal-font-lock-keywords)
7144 (opascal--syntax-propertize): New constants.
7145 (opascal-font-lock-defaults): Adjust.
7146 (opascal-mode): Use them. Set comment-<foo> variables as well.
7147 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7148 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7149 (delphi-other-face, opascal-other-face): Remove face variables.
7150 (opascal-save-state): Remove macro.
7151 (opascal-fontifying-progress-step): Remove constant.
7152 (opascal--ignore-changes): Remove var.
7153 (opascal-set-token-property, opascal-parse-next-literal)
7154 (opascal-is-stable-literal, opascal-complete-literal)
7155 (opascal-is-literal-start, opascal-face-of)
7156 (opascal-parse-region, opascal-parse-region-until-stable)
7157 (opascal-fontify-region, opascal-after-change)
7158 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7159 (opascal-debug-parse-region, opascal-debug-parse-window)
7160 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7161 (opascal-debug-fontify-buffer): Remove.
7162 (opascal-debug-mode-map): Adjust accordingly.
7164 2013-04-25 Leo Liu <sdl.web@gmail.com>
7166 Merge octave-mod.el and octave-inf.el into octave.el with some
7168 * progmodes/octave.el: New file renamed from octave-mod.el.
7169 * progmodes/octave-inf.el: Merged into octave.el.
7170 * progmodes/octave-mod.el: Renamed to octave.el.
7172 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7174 * textmodes/reftex-vars.el
7175 (reftex-label-ignored-macros-and-environments): New defcustom.
7177 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7179 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7181 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7182 (smie-indent-keyword): Improve the check to ensure that the next
7183 comment is really on the same line.
7184 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7186 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7187 semi-colons if the line is not otherwise empty (bug#14218).
7189 2013-04-25 Glenn Morris <rgm@gnu.org>
7191 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7193 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7195 * progmodes/opascal.el (opascal-set-token-property): Rename from
7196 opascal-set-text-properties and only set `token' (bug#14134).
7197 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7198 (opascal-literal-text-properties): Remove.
7199 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7202 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7204 * textmodes/remember.el (remember-handler-functions): Add an
7205 option for a new handler `remember-store-in-files'.
7206 (remember-data-directory, remember-directory-file-name-format):
7208 (remember-store-in-files): New function to store remember notes
7209 as separate files within a directory.
7211 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7213 * progmodes/compile.el (compilation-next-error-function):
7214 Pass "formats" to compilation-find-file (bug#11777).
7216 2013-04-24 Glenn Morris <rgm@gnu.org>
7218 * vc/vc-bzr.el (vc-bzr-print-log):
7219 * vc/vc-hg.el (vc-hg-print-log):
7220 * vc/vc-svn.el (vc-svn-print-log):
7221 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7223 * vc/vc-bzr.el (vc-bzr-print-log):
7224 * vc/vc-cvs.el (vc-cvs-print-log):
7225 * vc/vc-git.el (vc-git-print-log):
7226 * vc/vc-hg.el (vc-hg-print-log):
7227 * vc/vc-mtn.el (vc-mtn-print-log):
7228 * vc/vc-rcs.el (vc-rcs-print-log):
7229 * vc/vc-sccs.el (vc-sccs-print-log):
7230 * vc/vc-svn.el (vc-svn-print-log):
7231 * vc/vc.el (vc-print-log-internal): Doc fixes.
7233 2013-04-23 Glenn Morris <rgm@gnu.org>
7235 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7236 Remove venerable code attempting to avoid substitute-command-keys.
7238 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7240 * textmodes/reftex-vars.el (reftex-label-regexps):
7241 Call `reftex-compile-variables' after changes to this variable.
7243 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7246 Use lexical-binding.
7247 (jit-lock-force-redisplay): Use markers, check buffer's continued
7248 existence and beware narrowed buffers.
7249 (jit-lock-fontify-now): Adjust call accordingly.
7251 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7253 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7254 to avoid misleading the user.
7256 2013-04-22 Leo Liu <sdl.web@gmail.com>
7258 * info-look.el: Prefer latex2e.info. (Bug#14240)
7260 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7262 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7264 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7265 * net/tramp.el (tramp-call-process): ... here.
7266 (tramp-set-completion-function, tramp-parse-putty):
7267 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7268 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7269 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7270 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7271 (tramp-call-local-coding-command): Use `tramp-call-process'
7272 instead of `tramp-compat-call-process'.
7274 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7275 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7276 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7277 (tramp-find-inline-compress): Improve traces.
7278 (tramp-maybe-send-script): Check for Perl binary.
7279 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7281 2013-04-22 Daiki Ueno <ueno@gnu.org>
7283 * epg.el (epg-context-pinentry-mode): New function.
7284 (epg-context-set-pinentry-mode): New function.
7285 (epg--start): Pass --pinentry-mode option to gpg command.
7287 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7289 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7290 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7291 `completion-at-point'. (Bug#13774)
7293 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7294 default key binding for `describe-distribution' has been moved to
7295 `C-h C-o'. (Bug#13970)
7297 2013-04-21 Glenn Morris <rgm@gnu.org>
7299 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7301 (vc-print-log): Clarify interactive prompt.
7303 2013-04-20 Glenn Morris <rgm@gnu.org>
7305 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7306 No longer include timestamp etc information.
7308 2013-04-20 Roland Winkler <winkler@gnu.org>
7310 * faces.el (read-face-name): Bug fix, return just one face if arg
7311 multiple is nil. (Bug#14209)
7313 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7316 (remove-function): Autoload.
7318 * comint.el (comint-redirect-original-filter-function): Remove.
7319 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7320 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7321 (vc-cvs-annotate-command):
7322 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7323 * progmodes/prolog.el (prolog-consult-compile):
7324 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7325 Use add/remove-function instead.
7326 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7327 (gud-tooltip-process-output, gud-tooltip-tips):
7328 Use add/remove-function instead.
7329 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7330 (scheme-interaction-mode, exit-scheme-interaction-mode):
7331 Use add/remove-function instead.
7333 * vc/vc-dispatcher.el: Use lexical-binding.
7334 (vc--process-sentinel): Rename from vc-process-sentinel.
7335 Change last arg to be the code to run. Don't use vc-previous-sentinel
7336 and vc-sentinel-commands any more.
7337 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7338 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7340 2013-04-19 Masatake YAMATO <yamato@redhat.com>
7342 * progmodes/sh-script.el (sh-imenu-generic-expression):
7343 Handle function names with a single character. (Bug#14111)
7345 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7347 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7348 for subroutines defined in an eval (bug#14182).
7350 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7352 * bookmark.el (bookmark-completing-read): Improve handling of empty
7355 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7359 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7361 New faster Imenu implementation (bug#14058).
7362 * progmodes/python.el:
7363 (python-imenu-prev-index-position):
7364 (python-imenu-format-item-label-function)
7365 (python-imenu-format-parent-item-label-function)
7366 (python-imenu-format-parent-item-jump-label-function):
7368 (python-imenu-format-item-label)
7369 (python-imenu-format-parent-item-label)
7370 (python-imenu-format-parent-item-jump-label)
7371 (python-imenu--put-parent, python-imenu--build-tree)
7372 (python-imenu-create-index, python-imenu-create-flat-index)
7373 (python-util-popn): New functions.
7374 (python-mode): Set imenu-create-index-function to
7375 python-imenu-create-index.
7377 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7379 * winner.el (winner-active-region): Use region-active-p, activate-mark
7380 and deactivate-mark (bug#14225).
7382 * simple.el (deactivate-mark): Don't inline it.
7384 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
7386 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7388 2013-04-18 Tassilo Horn <tsdh@gnu.org>
7390 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7391 file extensions from the archive-mode entry in order to prefer
7392 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7394 2013-04-18 Leo Liu <sdl.web@gmail.com>
7396 * bindings.el (help-event-list): Add ?\?.
7398 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * subr.el (with-wrapper-hook): Declare obsolete.
7401 * simple.el (filter-buffer-substring-function): New hook.
7402 (filter-buffer-substring): Use it.
7403 (filter-buffer-substring-functions): Mark obsolete.
7404 * minibuffer.el (completion-in-region-function): New hook.
7405 (completion-in-region): Use it.
7406 (completion-in-region-functions): Mark obsolete.
7407 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7408 * abbrev.el (abbrev-expand-function): New hook.
7409 (expand-abbrev): Use it.
7410 (abbrev-expand-functions): Mark obsolete.
7411 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7414 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7416 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7417 and do not care about match data.
7419 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7421 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7422 completion tables when completing error conditions and
7423 `declare' arguments.
7424 (lisp-complete-symbol, field-complete): Mark as obsolete.
7425 (check-parens): Unmatched parens are user errors.
7426 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7428 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
7430 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7431 command changed buffer (ie. `flyspell-pre-buffer' is not current
7432 buffer), which prevents making decisions based on invalid value of
7433 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7434 cause an error when `flyspell-pre-point' was nil after switching
7436 (flyspell-post-command-hook): No longer needs to change buffers when
7437 checking pre-word. While at it remove unnecessary progn.
7439 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7441 * textmodes/ispell.el (ispell-add-per-file-word-list):
7442 Fix `flyspell-correct-word-before-point' error when accepting
7443 words and `coment-padding' is an integer by using
7444 `comment-normalize-vars' (Bug #14214).
7446 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7448 New defun movement commands.
7449 * progmodes/python.el (python-nav--syntactically)
7450 (python-nav--forward-defun, python-nav-backward-defun)
7451 (python-nav-forward-defun): New functions.
7453 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7455 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7456 (python-syntax-context): Use named compiler-macro for backwards
7457 compatibility with Emacs 24.x.
7459 2013-04-17 Leo Liu <sdl.web@gmail.com>
7461 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7462 octave-hide-process-buffer.
7464 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7466 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7469 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7471 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7472 Fix adjustment of offset when receiving incomplete responses from GDB
7475 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7478 python-mode-abbrev-table.
7479 (python-skeleton-define): Adjust accordingly.
7480 (python-mode-abbrev-table): New table that inherits from it so that
7481 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7483 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7484 (abbrev-symbol): Use it.
7485 (abbrev--before-point): Use it since we already handle inheritance.
7487 2013-04-16 Leo Liu <sdl.web@gmail.com>
7489 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7490 binding to info-lookup-symbol.
7492 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7494 * minibuffer.el (completion--twq-all):
7495 * term/ns-win.el (ns-initialize-window-system):
7496 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7498 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7500 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7503 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7505 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7507 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7508 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7510 (ruby-end-of-defun): Remove the unused arg, change the docstring
7511 to reflect that this function is only used as the value of
7512 `end-of-defun-function'.
7513 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7514 to reflect an earlier change that beginning/end-of-defun functions
7515 jump between methods in a class definition, as well as top-level
7518 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7520 * minibuffer.el (minibuffer-complete): Don't just scroll
7521 a *Completions* that's been iconified.
7522 (minibuffer-force-complete): Make sure repetitions do cycle when going
7523 through completion-in-region -> minibuffer-complete.
7525 2013-04-15 Alan Mackenzie <acm@muc.de>
7527 Correct the placement of c-cpp-delimiters when there're #s not at
7530 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7531 place a submatch around the #.
7532 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7533 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7536 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7538 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7539 (advice--member-p): New arg `name'.
7540 (advice--add-function, advice-member-p): Use it (bug#14202).
7542 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7544 Reformulate java imenu-generic-expression.
7545 The old expression contained ill formed regexps.
7547 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7548 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7549 (cc-imenu-java-method-arg-regexp): New defconsts.
7550 (cc-imenu-java-build-type-args-regex): New defun.
7551 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7552 handling of spaces in the regexp.
7554 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7556 * textmodes/ispell.el (ispell-command-loop): Remove
7557 flyspell highlight of a word when ispell accepts it (bug #14178).
7559 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7561 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7562 uses code from the previous `ange-ftp-run-real-handler'.
7563 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7564 only in case that function exist. This is needed for proper
7567 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7569 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7571 * textmodes/reftex.el (reftex-compile-variables): Use it.
7573 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7575 * files.el (normal-mode): Only use default major-mode if no other mode
7578 * emacs-lisp/trace.el (trace-values): New function.
7580 * files.el: Allow : in local variables (bug#14089).
7581 (hack-local-variable-regexp): New var.
7582 (hack-local-variables-prop-line, hack-local-variables): Use it.
7584 2013-04-13 Roland Winkler <winkler@gnu.org>
7586 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7587 data before it gets modified by bibtex-beginning-of-entry.
7589 2013-04-13 Roland Winkler <winkler@gnu.org>
7591 * textmodes/bibtex.el (bibtex-url): Doc fix.
7593 2013-04-13 Roland Winkler <winkler@gnu.org>
7595 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7596 does not visit a BibTeX file, exclude it from the list of buffers
7597 returned by bibtex-initialize.
7599 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7601 * window.el (split-window): Remove interactive form, since as a
7602 command this function is a special case of split-window-below.
7605 2013-04-12 Roland Winkler <winkler@gnu.org>
7607 * faces.el (read-face-name): Do not override value of arg default.
7608 Allow single faces and strings as default values. Remove those
7609 elements from return value that are not faces.
7610 (describe-face): Simplify.
7611 (face-at-point): New optional args thing and multiple so that this
7612 function can provide the same functionality previously provided by
7614 (make-face-bold, make-face-unbold, make-face-italic)
7615 (make-face-unitalic, make-face-bold-italic, invert-face)
7616 (modify-face, read-face-and-attribute): Use face-at-point.
7618 * cus-edit.el (customize-face, customize-face-other-window)
7619 * cus-theme.el (custom-theme-add-face)
7620 * face-remap.el (buffer-face-set)
7621 * facemenu.el (facemenu-set-face): Use face-at-point.
7623 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7625 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7627 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7629 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7630 off leading { and trailing } from field values.
7632 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7634 * emacs-lisp/timer.el (timer--check): New function.
7635 (timer--time, timer-set-function, timer-event-handler): Use it.
7636 (timer-set-idle-time): Simplify.
7637 (timer--activate): CSE.
7638 (timer-event-handler): Give more info in error message.
7639 (internal-timer-start-idle): New function, moved from C.
7641 * mpc.el (mpc-proc): Add `restart' argument.
7642 (mpc-proc-cmd): Use it.
7643 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7644 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7647 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7649 * progmodes/sh-script.el: Implement `sh-mode' own
7650 `add-log-current-defun-function' (bug#14112).
7651 (sh-current-defun-name): New function.
7652 (sh-mode): Use the function.
7654 2013-04-09 Bastien Guerry <bzg@gnu.org>
7656 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7658 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7660 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7662 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7665 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7667 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7670 2013-04-07 Leo Liu <sdl.web@gmail.com>
7672 * pcmpl-x.el: New file.
7674 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7676 Do not set x-display-name until X connection is established.
7677 This is needed to prevent from weird situation described at
7678 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7679 * frame.el (make-frame): Set x-display-name after call to
7680 window system initialization function, not before.
7681 * term/x-win.el (x-initialize-window-system): Add optional
7682 display argument and use it.
7683 * term/w32-win.el (w32-initialize-window-system):
7684 * term/ns-win.el (ns-initialize-window-system):
7685 * term/pc-win.el (msdos-initialize-window-system):
7686 Add compatible optional display argument.
7688 2013-04-06 Eli Zaretskii <eliz@gnu.org>
7690 * files.el (normal-backup-enable-predicate): On MS-Windows and
7691 MS-DOS compare truenames of temporary-file-directory and of the
7692 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7693 don't fail comparison by compare-strings. Also, compare file
7694 names case-insensitively on MS-Windows and MS-DOS.
7696 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7699 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7701 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7703 * whitespace.el (whitespace-color-on, whitespace-color-off):
7704 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7706 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7708 * ispell.el (ispell-set-spellchecker-params):
7709 Really set `ispell-args' for all equivs.
7711 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7713 * ido.el (ido-completions): Use extra elements of ido-decorations
7715 (ido-decorations): Update docstring.
7717 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
7719 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7720 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7721 nil during initialization, in order not to miss changes since the
7722 file was opened. (Bug#14140)
7724 2013-04-05 Leo Liu <sdl.web@gmail.com>
7726 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7728 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7730 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7732 2013-04-04 Glenn Morris <rgm@gnu.org>
7734 * electric.el (electric-pair-inhibit-predicate): Add :version.
7736 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7739 when a package is required several times (bug#14082).
7741 2013-04-04 Roland Winkler <winkler@gnu.org>
7743 * faces.el (read-face-name): Behave as promised by the docstring.
7744 Assume that arg default is a list of faces.
7745 (describe-face): Call read-face-name with list of default faces.
7747 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7749 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7750 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7751 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7753 (bookmark-exit-hook-internal): Save even if list is empty.
7755 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7757 * emacs-lisp/package.el (package-pinned-packages): New var.
7758 (package--add-to-archive-contents): Obey it (bug#14118).
7760 2013-04-03 Alan Mackenzie <acm@muc.de>
7762 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7763 Also adapt to the new values of element 7 of a parse state.
7765 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7766 parameter `not-in-delimiter'. Handle being inside comment opener.
7767 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7768 character in case we're typing a '*' after a '/'.
7769 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7770 instead by passing the parameter to c-state-pp-to-literal.
7772 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7773 for elt. 7 of a parse state.
7775 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7777 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7778 * international/latin1-disp.el, international/mule-util.el:
7779 * language/cyril-util.el, language/european.el, language/ind-util.el:
7780 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7781 * language/tibetan.el, language/viet-util.el:
7782 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7784 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7787 (electric-pair-post-self-insert-function): Use it.
7788 (electric-pair-default-inhibit): New function, extracted from
7789 electric-pair-post-self-insert-function.
7791 2013-03-31 Roland Winkler <winkler@gnu.org>
7793 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7795 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7797 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7799 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7801 Un-indent after "pass" and "return" statements (Bug#13888)
7802 * progmodes/python.el (python-indent-block-enders): New var.
7803 (python-indent-calculate-indentation): Use it.
7805 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7807 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7808 defun. Defining it as defalias could introduce too eager
7809 byte-compiler optimization. (Bug#14030)
7811 2013-03-30 Chong Yidong <cyd@gnu.org>
7813 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7815 2013-03-30 Leo Liu <sdl.web@gmail.com>
7817 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7818 (kmacro-execute-from-register): Pass the keyboard macro to
7819 kmacro-call-macro or repeating won't work correctly.
7821 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7823 * progmodes/subword.el: Back to using `forward-symbol'.
7825 * subr.el (forward-whitespace, forward-symbol)
7826 (forward-same-syntax): Move from thingatpt.el.
7828 2013-03-29 Leo Liu <sdl.web@gmail.com>
7830 * kmacro.el (kmacro-to-register): New command.
7831 (kmacro-execute-from-register): New function.
7832 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7834 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * mpc.el: Use defvar-local and setq-local.
7837 (mpc--proc-connect): Connection failures are not bugs.
7838 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7839 (mpc-volume-map): Bind to the up-events.
7841 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7843 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7844 instead of `forward-symbol'.
7846 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7848 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7849 (edebug--recursive-edit): Use it.
7850 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7851 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7853 2013-03-28 Leo Liu <sdl.web@gmail.com>
7855 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7857 2013-03-27 Eli Zaretskii <eliz@gnu.org>
7859 * facemenu.el (list-colors-callback): New defvar.
7860 (list-colors-redisplay): New function.
7861 (list-colors-display): Install list-colors-redisplay as the
7862 revert-buffer-function. (Bug#14063)
7864 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7866 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7867 and suffixes don't overlap (bug#14061).
7869 * case-table.el: Use lexical-binding.
7870 (case-table-get-table): New function.
7871 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7873 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7875 * progmodes/subword.el: Add `superword-mode' to do word motion
7876 over symbol_words (parallels and leverages `subword-mode' which
7877 does word motion inside MixedCaseWords).
7879 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7881 * eshell/em-unix.el: Move su and sudo to...
7882 * eshell/em-tramp.el: ...Eshell tramp module.
7884 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7886 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7887 Change return value to be a sexp. Delay `get-buffer' to after
7888 restoring the desktop (bug#13951).
7890 2013-03-26 Leo Liu <sdl.web@gmail.com>
7892 * register.el: Move semantic tag handling back to
7893 cedet/semantic/senator.el. (Bug#14052)
7895 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7897 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7898 into the prompt either (bug#13963).
7900 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7903 part of "(error-foo)".
7905 2013-03-24 Juri Linkov <juri@jurta.org>
7907 * replace.el (list-matching-lines-prefix-face): New defcustom.
7908 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7909 `occur-engine' if `face-differs-from-default-p' returns t.
7910 (occur-engine): Add `,' inside backquote construct to evaluate
7911 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7912 Pass `prefix-face' to the functions `occur-context-lines' and
7913 `occur-engine-add-prefix'.
7914 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7915 `prefix-face' and propertize the prefix with `prefix-face'.
7918 2013-03-24 Leo Liu <sdl.web@gmail.com>
7920 * nxml/rng-valid.el (rng-validate-while-idle)
7921 (rng-validate-quick-while-idle): Guard against deleted buffer.
7924 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7925 is the last entry in kill-buffer-hook.
7927 * files.el (kill-buffer-hook): Doc fix.
7929 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7931 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7934 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7936 2013-03-23 Leo Liu <sdl.web@gmail.com>
7938 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7941 * nxml/rng-valid.el (rng-validate-mode)
7942 (rng-after-change-function, rng-do-some-validation):
7943 * nxml/rng-maint.el (rng-validate-buffer):
7944 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7945 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7946 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7947 (nxml-extend-after-change-region): Use with-silent-modifications.
7949 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7952 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7953 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7954 timer-idle-list. (Bug#13999)
7956 2013-03-23 Juri Linkov <juri@jurta.org>
7958 * info.el (info-index-match): New face.
7959 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7960 main pattern and add text properties with the new face to matches
7961 in index entries relative to the beginning of the index entry.
7964 2013-03-21 Eric Ludlam <zappo@gnu.org>
7966 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7967 Inhibit read only while inserting objects.
7969 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7971 * progmodes/cfengine.el: Update docs to mention
7972 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7973 symbol motion. Remove "_" from the word syntax.
7975 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7977 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7978 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7980 2013-03-20 Juri Linkov <juri@jurta.org>
7982 * info.el (Info-next-reference-or-link)
7983 (Info-prev-reference-or-link): New functions.
7984 (Info-next-reference, Info-prev-reference): Use them.
7985 (Info-try-follow-nearest-node): Handle footnote navigation.
7986 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7988 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7990 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7991 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7993 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7995 Suppress unnecessary non-ASCII chatter during build process.
7996 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7997 (batch-skkdic-convert): Suppress most of the chatter.
7998 It's not needed so much now that machines are faster,
7999 and its non-ASCII component was confusing; see Dmitry Gutov in
8000 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8002 2013-03-20 Leo Liu <sdl.web@gmail.com>
8004 * ido.el (ido-chop): Fix bug#10994.
8006 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8008 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8010 (whitespace-color-on, whitespace-color-off):
8011 Use `font-lock-fontify-buffer' (Bug#13817).
8013 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8016 remapping in mode-line.
8017 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8019 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8021 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8022 value for `whitespace-line' face (Bug#13875).
8023 (whitespace-font-lock-keywords): Change description.
8024 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8025 the constructed keywords instead.
8026 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8028 2013-03-19 Leo Liu <sdl.web@gmail.com>
8030 * progmodes/compile.el (compilation-display-error): New command.
8031 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8034 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8036 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8038 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8040 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8042 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8044 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8046 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8047 * net/tramp-gvfs.el (top):
8048 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8049 (tramp-handle-shell-command): Use it.
8050 (tramp-dissect-file-name): Raise an error when hostname is a
8051 method name, and neither method nor user is specified.
8053 * net/trampver.el: Update release number.
8055 2013-03-18 Leo Liu <sdl.web@gmail.com>
8057 Make sure eldoc can be turned off properly.
8058 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8060 (eldoc-display-message-p): Revert last change.
8061 (eldoc-display-message-no-interference-p)
8062 (eldoc-print-current-symbol-info): Tweak.
8064 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8066 * doc-view.el (doc-view-new-window-function): Check the new window
8067 overlay's display property instead the char property of the
8068 buffer's first char. Use `with-selected-window' instead of
8069 `save-window-excursion' with `select-window'.
8070 (doc-view-document->bitmap): Check the current doc-view overlay's
8071 display property instead the char property of the buffer's first char.
8073 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8075 Automate the build of ja-dic.el (Bug#13984).
8076 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8077 from the input, rather than assume that it's been done for us by the
8078 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8079 the current date into a ja-dic.el comment, as that complicates
8082 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * whitespace.el: Fix double evaluation.
8085 (whitespace-space, whitespace-hspace, whitespace-tab)
8086 (whitespace-newline, whitespace-trailing, whitespace-line)
8087 (whitespace-space-before-tab, whitespace-indentation)
8088 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8090 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8091 (whitespace-color-on): Use a single font-lock-add-keywords call.
8092 Fix double-evaluation of face variables.
8094 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8096 * net/tramp-adb.el (tramp-adb-parse-device-names):
8097 Use `start-process' instead of `call-process'. Otherwise, the
8098 function might be blocked under MS Windows. (Bug#13299)
8100 2013-03-17 Leo Liu <sdl.web@gmail.com>
8102 Extend eldoc to display info in the mode-line. (Bug#13978)
8103 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8104 (eldoc-mode-line-string): New variable.
8105 (eldoc-minibuffer-message): New function.
8106 (eldoc-message-function): New variable.
8107 (eldoc-message): Use it.
8108 (eldoc-display-message-p)
8109 (eldoc-display-message-no-interference-p):
8110 Support eldoc-post-insert-mode.
8112 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8113 (eval-expression): Run it.
8115 2013-03-17 Roland Winkler <winkler@gnu.org>
8117 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8118 strings in the list of return values.
8120 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8122 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8123 radix before checking for HMS forms.
8125 2013-03-16 Leo Liu <sdl.web@gmail.com>
8127 * progmodes/scheme.el: Add indentation and font-locking for λ.
8130 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8132 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8133 token before point (bug#13942).
8135 2013-03-16 Leo Liu <sdl.web@gmail.com>
8137 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8139 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8141 * startup.el (command-line-normalize-file-name): Fix handling of
8142 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8143 <xfq.free@gmail.com> in
8144 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8146 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8148 Sync with Tramp 2.2.7.
8150 * net/trampver.el: Update release number.
8152 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8154 * doc-view.el Fix bug#13887.
8155 (doc-view-insert-image): Don't modify overlay associated to
8156 non-live windows, and implement horizontal centering of image in
8157 case it's smaller than the window.
8158 (doc-view-new-window-function): Force redisplay of new windows on
8161 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8163 * saveplace.el (save-place-alist-to-file): Don't sort
8164 `save-place-alist', just pretty-print it (bug#13882).
8166 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8168 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8169 Check whether `default-file-name-coding-system' is bound.
8172 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8174 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8175 backquotes for `obsolete' (bug#13929).
8177 * international/mule.el (find-auto-coding): Include file name in
8178 obsolescence warning (bug#13922).
8180 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8182 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8183 for CFEngine 3-specific indentation.
8184 (cfengine3-indent-line): Use it. Fix up category regex.
8185 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8187 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8189 * type-break.el (type-break-file-name):
8190 * textmodes/remember.el (remember-data-file):
8191 * strokes.el (strokes-file):
8192 * shadowfile.el (shadow-initialize):
8193 * saveplace.el (save-place-file):
8194 * ps-bdf.el (bdf-cache-file):
8195 * progmodes/idlwave.el (idlwave-config-directory):
8196 * net/quickurl.el (quickurl-url-file):
8197 * international/kkc.el (kkc-init-file-name):
8198 * ido.el (ido-save-directory-list-file):
8199 * emulation/viper.el (viper-custom-file-name):
8200 * emulation/vip.el (vip-startup-file):
8201 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8202 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8204 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8206 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8207 * language/thai-word.el: Switch to UTF-8.
8209 See ChangeLog.16 for earlier changes.
8215 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8217 This file is part of GNU Emacs.
8219 GNU Emacs is free software: you can redistribute it and/or modify
8220 it under the terms of the GNU General Public License as published by
8221 the Free Software Foundation, either version 3 of the License, or
8222 (at your option) any later version.
8224 GNU Emacs is distributed in the hope that it will be useful,
8225 but WITHOUT ANY WARRANTY; without even the implied warranty of
8226 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8227 GNU General Public License for more details.
8229 You should have received a copy of the GNU General Public License
8230 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.