1 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3 * help-fns.el (describe-variable): Fix the case where
4 a value is directory-local with no dir-locals file. (Bug#16635)
6 2014-02-08 Glenn Morris <rgm@gnu.org>
8 * abbrev.el (edit-abbrevs-mode):
9 Derive from fundamental-mode. (Bug#16682)
11 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
13 * simple.el (quoted-insert): Check character validity (bug#16677).
15 2014-02-07 Juri Linkov <juri@jurta.org>
17 * desktop.el (desktop-read): Claim the lock when the owner is not
18 the current process. (Bug#16157)
20 2014-02-07 Juri Linkov <juri@jurta.org>
22 * desktop.el (desktop-buffers-not-to-save): Change default from nil
23 to "\\` ". (Bug#16651)
25 2014-02-07 Juri Linkov <juri@jurta.org>
27 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
28 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
29 (desktop-auto-save-cancel-timer): New function with some code from
30 `desktop-auto-save-set-timer'.
31 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
32 Instead of setting `desktop-save-mode' to nil, call
33 `desktop-save-mode' with arg 0. (Bug#16630)
35 2014-02-07 Glenn Morris <rgm@gnu.org>
37 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
38 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
39 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
41 * obsolete/iswitchb.el: Move to obsolete/.
42 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
43 since obsolete/ is not scanned for autoloads.
44 * emacs-lisp/authors.el (authors-valid-file-names):
47 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
48 Disable now non-functional find-file-hook.
50 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
52 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
53 instead of ";" in order to avoid additional prompts. Let heredoc
54 scripts read from tty. (Bug#16582)
55 (tramp-send-command): No special handling of heredocs, it isn't
58 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
60 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
61 with a space (bug#16664). Limit the symbols considered to the ones
62 that are bound or fbound (bug#16646).
64 2014-02-06 Glenn Morris <rgm@gnu.org>
66 * epa.el (epa-mail-aliases): Doc fix.
68 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
70 * emacs-lisp/lisp.el (lisp-completion-at-point):
71 Use `completion-table-merge' instead of `completion-table-in-turn'
74 * minibuffer.el (completion-table-merge): New function.
76 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
78 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
79 (tramp-sh-handle-set-file-acl)
80 (tramp-sh-handle-start-file-process)
81 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
82 (tramp-find-executable, tramp-send-command): Use it.
84 2014-02-05 Glenn Morris <rgm@gnu.org>
86 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
88 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
90 * progmodes/python.el (python-shell-send-string):
91 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
93 2014-02-04 Anders Lindgren <andlind@gmail.com>
95 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
96 the names (bug#16620).
98 2014-02-03 Martin Rudalics <rudalics@gmx.at>
100 * faces.el (window-divider): New default value. Rewrite doc-string.
101 (window-divider-first-pixel, window-divider-last-pixel): New faces.
103 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
105 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
106 `protected' and `public' can also be called without arguments.
108 2014-02-03 Glenn Morris <rgm@gnu.org>
110 * register.el (window-configuration-to-register)
111 (frame-configuration-to-register): Unadvertise unused argument.
112 * frameset.el (frameset-to-register): Remove unused argument.
114 * frameset.el (frameset-to-register):
115 * kmacro.el (kmacro-to-register):
116 * register.el (increment-register):
117 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
118 (calc-append-to-register, calc-prepend-to-register):
119 * play/gametree.el (gametree-layout-to-register)
120 (gametree-apply-register-layout):
121 * textmodes/picture.el (picture-clear-rectangle-to-register)
122 (picture-yank-rectangle-from-register):
123 * vc/emerge.el (emerge-combine-versions-register):
124 Use register-read-with-preview to read registers.
126 2014-02-03 João Távora <joaotavora@gmail.com>
128 * elec-pair.el (electric-pair-backward-delete-char): Don't error
129 when at beginning of (possibly narrowed) buffer.
131 2014-02-02 Daniel Colascione <dancol@dancol.org>
133 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
134 Also try to display local help from just before point.
136 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
138 c-parse-state. Don't "append-lower-brace-pair" in certain
139 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
140 recognised as a comment.
142 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
143 as well as normal comment starter.
144 (c-parse-state-get-strategy): Extra return possibility
146 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
147 return value list to indicate replacement of a brace-pair cons
149 (c-parse-state-1): With 'back-and-forward, only call
150 c-append-lower-brace-pair-to state-cache when cons-separated.
152 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
154 * term/ns-win.el (ns-suspend-error): New function.
155 (ns-initialize-window-system): Add ns-suspend-error to
156 suspend-hook (Bug#16612).
158 2014-02-02 Daniel Colascione <dancol@dancol.org>
160 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
162 2014-02-02 Daniel Colascione <dancol@dancol.org>
164 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
166 2014-02-02 Glenn Morris <rgm@gnu.org>
168 * register.el (register-read-with-preview, point-to-register)
169 (window-configuration-to-register, frame-configuration-to-register)
170 (jump-to-register, number-to-register, view-register, insert-register)
171 (copy-to-register, append-to-register, prepend-to-register)
172 (copy-rectangle-to-register): Doc fixes.
174 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
176 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
177 * emacs-lisp/find-func.el (find-function-C-source): Idem.
178 * emacs-lisp/nadvice.el (advice--cd*r): New function.
179 * help-fns.el (describe-function-1): Use it.
181 2014-02-02 Glenn Morris <rgm@gnu.org>
183 * register.el (register-preview-default): New function,
184 split from register-preview.
185 (register-preview-function): Rename from register-preview-functions,
187 (register-preview): Use register-preview-function.
188 (register-read-with-preview): Error on non-character event. (Bug#16595)
190 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
192 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
193 `:' before binary operators (bug#16609). Don't check for `:'
194 before `[' and `(', or their syntax status. A percent literal
195 can't end with either.
196 (ruby-font-lock-keywords): For built-ins that require arguments,
197 check that they're followed by something that looks like argument
200 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
202 * subr.el (butlast): Document what an omitted N means (bug#13437).
205 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
207 * net/shr.el (shr-generic): Make into a defsubst to make the stack
208 depth shallower (bug#16587).
209 (shr-tag-svg): Respect `shr-inhibit-images'.
210 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
212 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
214 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
215 (ruby-smie-grammar): Make "." right-associative. Make its priority
216 lower than the ternary and all binary operators.
217 (ruby-smie-rules): Indent "(" relative to the first non-"."
218 parent, or the first "." parent at indentation.
219 Use `ruby-align-chained-calls' for indentation of "." tokens.
222 2014-01-31 Juri Linkov <juri@jurta.org>
224 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
225 from `make-hash-table'.
227 * textmodes/ispell.el (ispell-init-process): Change message format
228 to be consistent with other messages.
230 2014-01-31 Glenn Morris <rgm@gnu.org>
232 * delsel.el (delete-selection-mode): Doc fix.
234 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
235 (trace-function-background): Doc fixes.
237 * ido.el (ido-use-virtual-buffers): Doc fix.
238 Reset :version, since the default value has not changed.
240 * register.el (register-preview-delay, register-read-with-preview):
243 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
244 do not mess with mail-buffer position (fixes 2009-11-03 change).
245 * progmodes/cc-mode.el (c-submit-bug-report):
246 Check auto-fill-mode is bound. (Bug#16592)
248 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
250 * startup.el (fancy-splash-image-file): New function,
251 split from fancy-splash-head.
252 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
253 so that we are both using the same image. (Bug#16574)
255 2014-01-30 Glenn Morris <rgm@gnu.org>
257 * simple.el (eval-expression): Doc fix.
259 * hexl.el (hexl-mode-hook):
260 * ielm.el (ielm-mode-hook):
261 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
262 (lisp-interaction-mode-hook):
263 * progmodes/cfengine.e (cfengine3-documentation-function):
264 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
266 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
268 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
269 is a symbol (bug#16584).
271 2014-01-30 Glenn Morris <rgm@gnu.org>
273 * help.el (help-for-help-internal): Add "P" to text.
275 2014-01-29 Glenn Morris <rgm@gnu.org>
277 * simple.el (just-one-space, cycle-spacing): Doc fixes.
279 2014-01-28 Martin Rudalics <rudalics@gmx.at>
281 * window.el (fit-frame-to-buffer): Fix calculations for margins and
284 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
286 * progmodes/hideif.el: Extend to full CPP expression syntax.
287 (hif-token-alist): Add missing tokens.
288 (hif-token-regexp): Add support for float/octal/hex immediates.
289 (hif-string-literal-regexp): New const.
290 (hif-tokenize): Recognize strings and float/octal/hex immediates.
291 (hif-exprlist): New function.
292 (hif-parse-if-exp): Use it.
293 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
294 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
295 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
296 (hif-logxor, hif-comma): New functions.
298 2014-01-28 Glenn Morris <rgm@gnu.org>
300 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
302 * indent.el (tab-stop-list): Doc fix. Add :version.
304 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
305 (cvs-append-to-ignore): Add compatibility alias.
307 2014-01-27 Glenn Morris <rgm@gnu.org>
309 * dired.el (dired-hide-details-mode): Don't autoload it,
310 since it cannot be used outside Dired buffers anyway.
312 * emulation/cua-base.el (cua-mode): Doc fix.
314 * dired.el (dired-hide-details-hide-symlink-targets)
315 (dired-hide-details-hide-information-lines)
316 (dired-hide-details-mode): Doc fixes.
318 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
319 * strokes.el (strokes-file): Doc fix. Bump :version.
320 (strokes-help): Doc fix.
321 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
322 * emulation/viper.el (viper): Doc fix for custom group.
323 (top-level): Remove oh-so-no-longer-relevant text about vip.
324 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
326 * ido.el (ido-save-directory-list-file):
327 * saveplace.el (save-place-file):
328 * calendar/timeclock.el (timeclock-file):
329 * net/quickurl.el (quickurl-url-file):
330 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
331 * progmodes/idlwave.el (idlwave-config-directory):
332 * textmodes/remember.el (remember-data-file):
335 2014-01-26 Glenn Morris <rgm@gnu.org>
337 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
338 Doc fix. Make obsolete.
339 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
341 * sort.el (delete-duplicate-lines): Doc fix.
343 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
345 * progmodes/ada-mode.el (ada):
346 * woman.el (woman): Link to info manual and Commentary section.
348 * progmodes/flymake.el (flymake):
349 * nxml/nxml-mode.el (nxml):
351 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
352 * htmlfontify.el (htmlfontify):
355 * ido.el (ido): Link to info manual.
357 2014-01-25 Leo Liu <sdl.web@gmail.com>
359 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
361 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
363 * net/shr.el (shr-tag-img): Prefer the title over the alt text
366 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
368 * net/eww.el (eww-download-callback):
369 Fix reference to eww-download-directory.
371 * emacs-lisp/bytecomp.el (byte-compile-file):
372 Remove unused local variable `file-name'.
374 2014-01-24 Glenn Morris <rgm@gnu.org>
376 * woman.el (woman-default-faces, woman-monochrome-faces):
377 Fix obsolescence specification.
379 * subr.el (with-demoted-errors): Doc fix.
381 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
383 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
384 (cl--macroexp-fboundp): New function.
385 (cl--make-type-test): Use it.
387 2014-01-23 Glenn Morris <rgm@gnu.org>
389 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
390 * simple.el (eval-expression): Doc fixes.
392 2014-01-22 Glenn Morris <rgm@gnu.org>
394 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
396 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
398 * emacs-lisp/package.el: Write files silently.
399 (package-autoload-ensure-default-file, package--write-file-no-coding)
400 (package-generate-description-file, package--download-one-archive)
401 (package-install-from-archive): Tell `write-region' to stay quiet.
402 (package-menu-mode, package-menu--print-info): Omit the Archive column
403 if there's only one archive.
404 (package-all-keywords, package--has-keyword-p): Remove dead code.
406 2014-01-22 Glenn Morris <rgm@gnu.org>
408 * version.el (emacs-bzr-version-bzr): Fix typo.
410 * version.el (emacs-repository-get-version):
411 Check either .bzr or .git, but not both.
412 Make the git case actually use the DIR argument, and return nil
413 rather than the empty string.
414 Avoid error if .git exists but the git executable is not found.
416 2014-01-22 Martin Rudalics <rudalics@gmx.at>
418 Fixes in window size functions around Bug#16430 and Bug#16470.
419 * window.el (window-total-size, window-size): New argument ROUND.
420 (window--min-delta-1, window-min-delta, window--max-delta-1):
421 Be more conservative when calculating the numbers of lines or
422 columns a window can shrink (Bug#16430).
423 (fit-window-to-buffer): Simplify code.
424 * term.el (term-window-width): Call window-body-width again.
426 2014-01-22 Glenn Morris <rgm@gnu.org>
428 * image.el (image-format-suffixes): Doc fix.
430 * international/quail.el (quail-define-package): Doc fix.
432 * emacs-lisp/authors.el (authors-valid-file-names):
433 (authors-renamed-files-alist): Additions.
435 * vc/vc-git.el (vc-git-print-log): Remove --follow;
436 reverts 2014-01-09 change. (Bug#16422)
438 * calc/calc-embed.el (thing-at-point-looking-at):
439 * emacs-lisp/map-ynp.el (x-popup-dialog):
440 * obsolete/lmenu.el (x-popup-dialog):
441 * emacs-lisp/package.el (url-recreate-url):
442 * mail/mailclient.el (clipboard-kill-ring-save):
443 * subr.el (x-popup-dialog): Update declaration.
444 * mail/rmail.el (rmail-mime-message-p):
445 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
447 2014-01-21 Daniel Colascione <dancol@dancol.org>
449 * progmodes/sh-script.el (sh--inside-noncommand-expression):
450 Correctly detect when we're inside an arithmetic expansion form
451 containing nested parenthesis.
452 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
453 to detect cases where we shouldn't expand "<<" to a heredoc
456 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
458 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
459 (eldoc--message-command-p): New function.
460 (eldoc-display-message-p): Use it.
461 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
462 message is not automatically erased for us.
463 (eldoc-print-current-symbol-info): Erase previous message, if any.
465 2014-01-21 Tassilo Horn <tsdh@gnu.org>
467 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
468 specify it's an interactive function.
470 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
471 Fix regex used for scanning for citation keys which failed for
472 citations with optional arguments.
474 2014-01-21 Leo Liu <sdl.web@gmail.com>
476 * simple.el (read--expression): Don't enable eldoc-mode.
478 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
480 * simple.el (move-beginning-of-line): Make sure we don't move forward
483 2014-01-20 Juri Linkov <juri@jurta.org>
485 * saveplace.el (toggle-save-place, save-place-to-alist)
486 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
487 'dired-mode) before checking for dired-directory. (Bug#16477)
489 2014-01-20 Juri Linkov <juri@jurta.org>
491 * indent.el (indent-line-to): Use backward-to-indentation
492 instead of back-to-indentation. (Bug#16461)
494 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
496 Revert some of the CANNOT_DUMP fix (Bug#16494).
497 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
498 but fixing this can wait until after the next release.
499 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
501 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
503 * eshell/esh-mode.el (eshell-password-prompt-regexp):
504 Use `password-word-equivalents'.
505 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
506 to t. (Bug#5664, Bug#13124)
508 2014-01-19 Alan Mackenzie <acm@muc.de>
510 Bind open-paren-in-column-0-is-defun-start to nil at some entry
512 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
513 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
514 * progmodes/cc-mode.el (c-before-change, c-after-change)
515 (c-font-lock-fontify-region): Bind it here.
517 2014-01-19 Martin Rudalics <rudalics@gmx.at>
519 * term.el (term-window-width): Call window-text-width instead of
520 window-width (Bug#16470).
522 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
524 * simple.el (password-word-equivalents): Remove duplicates.
525 Sort, to make this easier next time.
526 Downcase. Omit ": " after "jelszó".
528 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
530 * term/common-win.el (saved-region-selection): Defvar it.
531 (x-select-text): Set saved-region-selection (Bug#16382).
533 2014-01-18 Glenn Morris <rgm@gnu.org>
535 * emacs-lisp/authors.el (authors-aliases)
536 (authors-renamed-files-alist): Add some entries.
538 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
540 * net/tramp.el (tramp-password-prompt-regexp):
541 Use `password-word-equivalents' if available.
542 (tramp-action-password, tramp-process-one-action)
543 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
545 2014-01-17 Chong Yidong <cyd@gnu.org>
547 * simple.el (password-word-equivalents): New defcustom.
548 * comint.el (comint-password-prompt-regexp): Use it. Bump version
550 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
553 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
555 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
556 (ruby-align-to-stmt-keywords): Change the default value.
557 Use `ruby-alignable-keywords' to generate the possible customization
559 (ruby-smie-rules): Instead of using a hardcoded list of alignable
560 keywords, check against the value of `ruby-alignable-keywords'
561 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
563 2014-01-17 Glenn Morris <rgm@gnu.org>
565 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
567 Make M-x authors return zero *Authors Errors* from current logs.
568 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
569 (authors-ignored-files): Add some entries, remove others.
570 (authors-ambiguous-files, authors-valid-file-names):
572 (authors-renamed-files-alist): Add, remove, and adjust entries.
573 (authors-renamed-files-regexps): Add some entries.
574 Remove some very broad ones. Make some entries `lax'.
575 (authors-lax-changelogs): New constant.
576 (authors-disambiguate-file-name): Treat top-level specially.
577 (authors-lax-changelog-p): New function.
578 (authors-canonical-file-name): Check file as written against
579 authors-valid-file-names. Do not special-case etc/.
580 Handle `lax' logs and authors-renamed-files-regexps elements.
582 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
584 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
585 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
588 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
590 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
591 Assume we're already in the proper buffer.
592 Inspired by Anders Lindgren <andlind@gmail.com>.
593 (follow-post-command-hook): Call it from the right buffer.
594 (follow-comint-scroll-to-bottom): Adjust call.
595 (follow-all-followers): Use get-buffer-window-list.
597 2014-01-15 Daniel Colascione <dancol@dancol.org>
599 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
600 `buffer-file-name' in interactive-form so that we don't leave
601 pathless file names in `file-name-history'.
603 2014-01-15 Juri Linkov <juri@jurta.org>
605 * indent.el (indent-rigidly): Set deactivate-mark to nil
606 in transient indentation mode. (Bug#16438)
608 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
610 * emacs-lisp/package.el (package-desc-keywords): New function
612 (describe-package-1, package-all-keywords)
613 (package--has-keyword-p): Use it.
615 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
617 * simple.el (define-alternatives): When creating the
618 COMMAND-alternatives variable, assign COMMAND as its definition
619 name so that `describe-variable' can relocate it.
621 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
623 * font-lock.el (font-lock-keywords): Fix typo in docstring
626 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
628 * ispell.el (ispell-region): Reset `in-comment' for new line
629 instead of wrongly reset `add-coment' (bug#13577).
631 2014-01-14 Daiki Ueno <ueno@gnu.org>
633 * epa-file.el (epa-file-write-region): Encode the region according
634 to `buffer-file-format'. Problem reported at:
635 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
637 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
639 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
640 so it applies in the right buffer (bug#16410).
642 2014-01-13 Daniel Colascione <dancol@dancol.org>
644 * textmodes/rst.el (rst-define-key): Provide deprecated
645 keybindings through named functions instead of anonymous ones so
646 that "??" doesn't appear in describe-mode output.
648 2014-01-13 Bastien Guerry <bzg@gnu.org>
650 * simple.el (define-alternatives): Call the selected command
651 interactively. When setting `COMMAND--implementation' for the
652 first time, tell the user how to chose another implementation.
653 Enhance the docstring.
655 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
657 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
658 (log-edit--match-first-line): New function.
659 (log-edit-font-lock-keywords): Use it.
660 (log-edit-mode): Make jit-lock-defer-multiline work.
662 2014-01-13 Bastien Guerry <bzg@gnu.org>
664 * rect.el (rectangle-mark-mode): When the region is not active,
665 display a message saying that the mark as been set and that
666 rectangle mode is in use.
667 (rectangle--highlight-for-redisplay): Only put an overlay with a
668 visible vertical bar when (display-graphic-p) is non-nil.
669 This partially fixes Bug#16403.
671 2014-01-13 Juri Linkov <juri@jurta.org>
673 * info.el (Info-find-file): Go to DIR before displaying the error
674 about a nonexistent file if no previous Info file is visited.
675 Use `user-error' instead of `error' for "Info file %s does not exist".
676 (Info-find-node-2): In case of a nonexistent node in unwind forms
677 go to the Top node if there is no previous node to revert to.
680 2014-01-13 Martin Rudalics <rudalics@gmx.at>
682 fit-frame/window-to-buffer code fixes including one for Bug#14096.
683 * window.el (fit-frame-to-buffer): Fix doc-string.
684 Respect window-min-height/-width. Fit pixelwise when
685 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
686 when avoiding that frame goes partially off-screen.
687 (fit-window-to-buffer): Respect window-min-height/-width
690 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
692 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
695 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
697 * net/shr.el (shr-render-region): Autoload.
699 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
701 * net/eww.el (eww-download-directory): Rename from
702 `eww-download-path' (Bug#16419).
704 2014-01-12 Leo Liu <sdl.web@gmail.com>
706 * dired-x.el (dired-mode-map): Fix last change.
708 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
710 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
713 * emacs-lisp/generic.el (generic--normalize-comments):
714 Rename from generic--normalise-comments. All uses changed.
715 * play/bubbles.el (bubbles--neighborhood-score):
716 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
717 (bubbles--neighborhood-available)
718 (bubbles--update-neighborhood-score):
719 Rename from names with 'neighbourhood'. All uses changed.
721 2014-01-12 Leo Liu <sdl.web@gmail.com>
723 Re-implement the feature of showing eldoc info after editing.
724 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
725 (eldoc-edit-message-commands): New function.
726 (eldoc-print-after-edit): New variable.
727 (eldoc-pre-command-refresh-echo-area): Emit message only by
728 eldoc-message-commands.
729 (eldoc-mode): Restrict eldoc-message-commands to editing commands
730 if eldoc-print-after-edit is set. (Bug#16346)
731 * simple.el (read--expression): Enable eldoc-mode.
732 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
734 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
735 Eric S. Raymond <esr@thyrsus.com>
737 * version.el (emacs-repository-get-version): Enhance so the
738 function works correctly in either a Bazaar or Git repo.
740 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
742 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
743 Goes with removal of the joke manpages from /etc.
745 2014-01-10 K. Handa <handa@gnu.org>
747 * mail/rmail.el (rmail-get-coding-system):
748 Check rmail-get-coding-function before "funcall"ing it.
750 2014-01-10 Glenn Morris <rgm@gnu.org>
752 * emacs-lisp/authors.el (authors-fixed-entries):
753 Update for files that no longer exist.
755 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
757 * version.el (emacs-bzr-get-version): Restore compatibilty with
760 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
762 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
765 2014-01-10 Eli Zaretskii <eliz@gnu.org>
767 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
769 2014-01-10 Chong Yidong <cyd@gnu.org>
771 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
773 2014-01-10 Anders Lindgren <andlind@gmail.com>
775 * follow.el (follow-cache-command-list): Include right-char and
778 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
781 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
782 * woman.el (woman-mark-horizontal-position):
783 Rename from woman-mark-horizonal-position. Use changed.
785 2014-01-10 Glenn Morris <rgm@gnu.org>
787 * info.el (info-initialize): If running uninstalled, ensure our
788 own info files are always found first, even if INFOPATH is set.
790 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
792 2014-01-09 David Engster <deng@randomsample.de>
794 * emacs-lisp/eieio-custom.el:
795 * emacs-lisp/eieio-opt.el: Set generated autoload file to
796 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
797 * emacs-lisp/eieio.el: Regenerate autoloads.
799 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
801 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
802 following renames. (Bug#8756)
804 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
806 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
808 (activate-mark): Add `no-tmm' argument.
809 (set-mark, push-mark-command): Use it instead of running
810 activate-mark-hook by hand.
812 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
814 In preparation for the move to git, sanitize out some
815 Bazaar-specific names.
817 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
819 * version.el (emacs-bzr-version): Name changed to
820 emacs-repository-version. Obsolete-variable alias made.
821 * loadup.el: Follow through on this name change.
822 * mail/emacsbug.el (report-emacs-bug): Factor out any
823 assumption about the version control system in use.
825 2014-01-08 David Engster <deng@randomsample.de>
827 * help-fns.el (help-fns-describe-function-functions):
828 New variable to call functions for augmenting help buffers.
829 (describe-function-1): Remove explicit calls to
830 `help-fns--compiler-macro', `help-fns--parent-mode' and
831 `help-fns--obsolete'. Put them in above new variable instead, and
832 call them through `run-hook-with-args'.
833 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
834 `eieio-describe-class'. Not meant for interactive use anymore,
835 but to augment existing help buffers. Remove optional second
836 argument. Create proper button for file location.
837 Rewrite function to use `insert' instead of `princ' and `prin1' where
839 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
840 (eieio-method-def, eieio-class-def): Move further up.
841 (describe-method, describe-generic, eieio-describe-method):
843 (eieio-help-constructor, eieio-help-generic): Rename from
844 `eieio-describe-constructor' and `eieio-describe-generic', resp.
845 Rewrite to use `insert' in the current buffer and use proper help
847 (eieio-help-find-method-definition)
848 (eieio-help-find-class-definition): Also accept symbols as
850 (eieio-help-mode-augmentation-maybee): Remove.
851 (eieio-describe-class-sb): Use `describe-function'.
852 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
853 Add `eieio-help-generic' and `eieio-help-constructor'.
855 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
858 * language/china-util.el (hz-ascii-designation):
859 Rename from hz-ascii-designnation.
860 (hz-ascii-designation): Rename from hz-ascii-designnation.
863 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
865 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
868 2014-01-08 Bastien Guerry <bzg@gnu.org>
870 * emacs-lisp/package.el (package-delete):
871 Correctly delete the package from package-alist.
873 2014-01-08 Daiki Ueno <ueno@gnu.org>
875 * emacs-lisp/package.el (url-recreate-url): Declare.
876 (url-http-target-url): Declare.
877 (package-handle-response): Include requested URL in the error message.
878 (package--check-signature): Don't re-signal errors from
879 package--with-work-buffer. Suggested by Stefan Monnier.
881 2014-01-07 Bastien Guerry <bzg@gnu.org>
883 * minibuffer.el (completion--try-word-completion): When both a
884 hyphen and a space are possible candidates for the character
885 following a word, display both candidates. (Bug#15980)
887 2014-01-07 Martin Rudalics <rudalics@gmx.at>
889 * window.el (balance-windows-2): While rounding don't give a
890 window more than the remainder. Bug#16351, Bug#16383.
892 2014-01-07 Glenn Morris <rgm@gnu.org>
894 * menu-bar.el (menu-bar-help-extra-packages): Remove.
895 (menu-bar-help-menu): Use view-external-packages instead.
897 2014-01-07 Bastien Guerry <bzg@gnu.org>
899 * emacs-lisp/package.el (package-delete): Also delete the package
900 name from `package-alist', not its description only.
902 2014-01-07 Glenn Morris <rgm@gnu.org>
904 * help.el (view-external-packages):
905 * menu-bar.el (menu-bar-help-extra-packages):
906 Visit efaq.info rather than etc/MORE.STUFF.
908 2014-01-07 Juri Linkov <juri@jurta.org>
910 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
911 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
913 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
914 that shadows RET. (Bug#16342)
916 2014-01-07 Chong Yidong <cyd@gnu.org>
918 * isearch.el (isearch-yank-char, isearch-yank-word)
919 (isearch-yank-line): Doc fix.
921 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
923 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
924 * emacs-lisp/elint.el (elint-find-builtins):
925 * emacs-lisp/eldoc.el (eldoc-symbol-function):
926 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
927 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
928 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
929 * apropos.el (apropos-safe-documentation):
930 * subr.el (symbol-file): Remove redundant fboundp.
931 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
933 2014-01-06 Bastien Guerry <bzg@gnu.org>
935 * hl-line.el (global-hl-line-overlay): Make a local variable.
936 (global-hl-line-overlays): New variable to store all overlays.
937 (global-hl-line-mode): Don't delete overlays from the current
938 buffer when `global-hl-line-sticky-flag' is non-nil.
939 (global-hl-line-highlight): Add new overlays to
940 `global-hl-line-overlays'.
941 (global-hl-line-unhighlight-all): New function to delete all
942 overlays when turning off `global-hl-line-mode'.
943 This fixes Bug#16183.
945 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
947 * subr.el (set-transient-map): Fix nested case and docstring.
949 2014-01-06 Tassilo Horn <tsdh@gnu.org>
951 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
954 2014-01-06 Daniel Colascione <dancol@dancol.org>
956 Fix defun navigation in vc log view.
958 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
959 like `beginning-of-defun'.
960 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
961 log-view-end-of-defun to log-view-end-of-defun-1. Replace
962 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
963 (log-view-extract-comment): Call `log-view-current-entry' directly
964 instead of relying on broken `log-view-beginning-of-defun' behavior.
966 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
969 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
970 * emacs-lisp/debug.el (cancel-debug-on-entry):
971 * epg.el (epg-error-to-string):
972 * files.el (recover-file):
973 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
974 * mail/emacsbug.el (report-emacs-bug-hook):
975 * mail/sendmail.el (mail-recover):
976 * ses.el (ses-yank-resize):
977 * term/ns-win.el (ns-print-buffer):
978 Spelling fixes in diagnostics, mostly for "canceled" with one L.
979 * epg.el (epg-key-capability-alist): Rename from misspelled version.
981 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
983 2014-01-06 Leo Liu <sdl.web@gmail.com>
985 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
986 to avoid shadowing global key. (Bug#16354)
988 2014-01-06 Daniel Colascione <dancol@dancol.org>
990 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
993 2014-01-05 Martin Rudalics <rudalics@gmx.at>
995 * window.el (balance-windows): Add mising t to fix Bug#16351.
997 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
999 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1001 (shr-insert): If we have a word that's longer than `shr-width',
1002 break after it anyway. Otherwise we'll do no breaking once we get
1005 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1007 * net/eww.el (eww): Support single/double quote for search.
1008 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1009 (eww-history-quit): Delete and use quit-window.
1010 (eww-history-kill): Delete, because it doesn't work well and
1012 (eww-history-mode-map): Delete some keys and add easy-menu.
1014 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1016 Fix misspelling of 'chinese' in rx (Bug#16237).
1017 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1020 Change subword regexps back to vars (Bug#16296).
1021 * progmodes/subword.el (subword-forward-regexp)
1022 (subword-backward-regexp): Change these back to variables.
1024 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1026 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1027 syntax-begin-function (bug#16247).
1029 2014-01-03 Chong Yidong <cyd@gnu.org>
1031 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1032 (advice--docstring): Delete variable.
1033 (advice--make-1): Leave the docstring empty.
1034 (advice-add): Use function-documentation for advised docstring.
1036 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1037 Ignore function-documentation property when getting documentation.
1038 (ad-activate-advised-definition): Use function-documentation
1039 generate the docstring.
1040 (ad-make-advised-definition): Don't call
1041 ad-make-advised-definition-docstring.
1042 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1045 * progmodes/sql.el (sql-help): Use function-documentation instead
1046 of dynamic-docstring-function property. No need to autoload now.
1047 (sql--help-docstring): New variable.
1048 (sql--make-help-docstring): Use it.
1050 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1052 * ielm.el (ielm-tab): Retarget.
1053 (ielm-map): Use ielm-tab for tab.
1054 (ielm-complete-filename): Use comint-filename-completion.
1055 (ielm-complete-symbol): Remove.
1056 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1057 remove ielm-tab from completion-at-point-functions (bug#16224).
1059 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1060 Beware signals raised by predicates (bug#16201).
1062 2014-01-02 Richard Stallman <rms@gnu.org>
1064 * dired-aux.el (dired-do-print): Handle printer-name.
1066 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1067 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1068 (rmail-epa-decrypt): Turn off mime processing.
1070 * mail/rmail.el (rmail-make-in-reply-to-field):
1071 Add parens in message-id.
1073 * mail/rmail.el (rmail-get-coding-function): Variable.
1074 (rmail-get-coding-system): Use it.
1076 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1078 * international/mule-conf.el: Unify the charset indian-is13194.
1079 (indian-is13194): Specify unify-map.
1081 2013-12-31 Leo Liu <sdl.web@gmail.com>
1083 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1085 2013-12-30 Daniel Colascione <dancol@dancol.org>
1087 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1088 of printing a useless when we resume from sleep.
1090 * progmodes/sh-script.el
1091 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1092 in indentation code. (Bug#16233)
1094 2013-12-28 João Távora <joaotavora@gmail.com>
1096 * elec-pair.el (electric-pair-post-self-insert-function):
1097 Don't open extra newlines at beginning of buffer. (Bug#16272)
1099 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1101 * frame.el (window-system-for-display): Don't allow to create a
1102 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1104 2013-12-28 Glenn Morris <rgm@gnu.org>
1106 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1109 * apropos.el (apropos-match-face):
1110 * calculator.el (calculator-displayer):
1111 * dabbrev.el (dabbrev-search-these-buffers-only):
1112 * face-remap.el (buffer-face-mode-face):
1113 * simple.el (yank-handled-properties):
1114 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1115 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1116 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1117 (hashcash-double-spend-database):
1118 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1119 (ruby-deep-indent-paren-style):
1120 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1121 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1122 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1123 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1124 Specify custom types.
1126 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1127 * bookmark.el (bookmark-bmenu-use-header-line):
1128 * doc-view.el (doc-view-scale-internally):
1129 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1130 * register.el (register-preview-delay):
1131 * net/shr.el (shr-bullet):
1132 * progmodes/cfengine.el (cfengine-cf-promises)
1133 (cfengine-parameters-indent):
1134 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1135 * textmodes/reftex-vars.el (reftex-label-regexps):
1136 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1138 * net/tls.el (tls-certtool-program): Fix default value.
1140 * desktop.el (desktop-restore-in-current-display):
1141 * newcomment.el (comment-empty-lines):
1142 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1143 (idlwave-pad-keyword):
1144 * progmodes/tcl.el (tcl-tab-always-indent):
1145 * textmodes/reftex-vars.el (reftex-index-default-tag):
1146 * elec-pair.el (electric-pair-skip-whitespace):
1147 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1149 * emacs-lisp/authors.el (authors-ignored-files)
1150 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1152 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1154 * shell.el (shell-dynamic-complete-command): Doc fix.
1155 (shell--command-completion-data): Shell completion now matches
1156 executable filenames from the current buffer's directory, on
1157 systems in which this behavior is the default (windows-nt, ms-dos).
1159 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1161 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1163 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1168 * electric.el: Move all electric-pair-* to elec-pair.el.
1169 * elec-pair.el: New file, split from electric.el.
1171 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1173 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1174 indentation level is larger than the width, because that will
1176 (shr-insert): Fill repeatedly long texts, so that Japanese is
1177 formatted correctly (bug#16263).
1178 (shr-find-fill-point): Off by one error in comparison with the
1181 2013-12-26 João Távora <joaotavora@gmail.com>
1183 * electric.el (electric-pair-mode): More flexible engine for skip-
1184 and inhibit predicates, new options for pairing-related functionality.
1185 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1186 if that keeps or improves their balance in buffers.
1187 (electric-pair-delete-adjacent-pairs): Delete the pair when
1188 backspacing over adjacent matched delimiters.
1189 (electric-pair-open-extra-newline): Open extra newline when
1190 inserting newlines between adjacent matched delimiters.
1191 (electric--sort-post-self-insertion-hook):
1192 Sort post-self-insert-hook according to priority values when
1193 minor-modes are activated.
1194 * simple.el (newline-and-indent): Call newline with interactive
1196 (blink-paren-post-self-insert-function): Set priority to 100.
1197 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1198 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1199 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1200 electric-pair-open-newline-between-pairs to nil.
1202 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1204 * progmodes/python.el: Use lexical-binding.
1205 (python-nav-beginning-of-defun): Stop searching ASAP.
1207 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1209 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1210 Fix interactive spec. Doc fix. (Bug#15754)
1212 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1214 * emacs-lisp/byte-run.el (eval-when-compile):
1215 * progmodes/cc-defs.el (cc-eval-when-compile):
1216 Fix edebug spec (bug#16184).
1218 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1220 * net/shr.el (shr-visit-file): Remove debugging function.
1221 (shr-insert): Don't infloop if we can't find a good place to break
1222 the line (bug#16256).
1224 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1226 * progmodes/python.el:
1227 (python-nav--lisp-forward-sexp): New function.
1228 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1229 python-nav-lisp-forward-sexp-safe.
1230 (python-nav--forward-sexp): New argument SAFE allows switching
1231 forward sexp movement behavior for parens.
1232 (python-nav-forward-sexp): Throw errors on unterminated parens
1234 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1235 (python-nav-backward-sexp-safe): New functions.
1236 (python-shell-buffer-substring):
1237 Use `python-nav-forward-sexp-safe'.
1239 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1241 * net/shr.el (shr-find-fill-point): Don't break lines before a
1243 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1244 (shr-find-fill-point): Remove the special checks for the quotation
1245 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1247 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1249 * net/eww.el (eww-form-textarea): Use a different face for
1250 textareas than text input since they have different keymaps
1253 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1255 * progmodes/python.el (python-nav-beginning-of-statement):
1256 Speed up (Bug#15295).
1258 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1260 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1261 the window configuration.
1263 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1265 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1266 we run on MS-Windows or MS-DOS.
1268 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1270 * window.el (balance-windows-area): Call window-size instead of
1271 window-height and window-width. Bug#16241.
1273 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1275 * net/eww.el (eww-bookmark-quit): Remove.
1276 (eww-bookmark-browse): Restore the window configuration when you
1277 choose a bookmark (bug#16144).
1279 2013-12-24 Daniel Colascione <dancol@dancol.org>
1281 * icomplete.el: Remove redundant :group arguments to `defcustom'
1283 (icomplete-show-matches-on-no-input): New customizable variable.
1284 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1285 we have something to show.
1286 (icomplete-exhibit): Compute completions even if we have no user input.
1288 2013-12-23 Daniel Colascione <dancol@dancol.org>
1290 * icomplete.el: Move `provide' to end of file.
1292 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1294 * net/gnutls.el (gnutls-verify-error): Add version tag.
1296 2013-12-23 Chong Yidong <cyd@gnu.org>
1298 * subr.el (set-transient-map): Rename from
1299 set-temporary-overlay-map. Doc fix.
1301 * face-remap.el (text-scale-adjust):
1302 * indent.el (indent-rigidly):
1303 * kmacro.el (kmacro-call-macro):
1304 * minibuffer.el (minibuffer-force-complete):
1305 * repeat.el (repeat):
1306 * simple.el (universal-argument--mode):
1307 * calendar/todo-mode.el (todo-insert-item--next-param):
1308 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1310 * indent.el (indent-rigidly): Use substitute-command-keys.
1312 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1314 * net/eww.el (eww-tag-select): Add text-property to jump to next
1316 (eww): Add non-supported ftp error.
1318 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1320 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1321 comments. Handle electric indent after typing `?' and `!'.
1323 2013-12-22 Chong Yidong <cyd@gnu.org>
1325 * faces.el (face-spec-recalc): If the theme specs are not
1326 applicable to a frame, fall back on the defface spec.
1327 This prevents themes from obliterating faces on low-color terminals.
1329 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1331 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1332 after `{'. We need it after block openers, and it doesn't seem
1333 to hurt after hash openers.
1335 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1337 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1338 extracted from `ruby-smie-rules'.
1339 (ruby--electric-indent-chars): New variable.
1340 (ruby--electric-indent-p): New function.
1341 (ruby-mode): Use `electric-indent-functions' instead of
1342 `electric-indent-chars'.
1344 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1346 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1348 (ruby-smie-rules): Indent plus one level after `=>'.
1350 2013-12-21 Richard Stallman <rms@gnu.org>
1352 * simple.el (newline): Doc fix.
1354 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1356 * net/eww.el (eww-list-histories, eww-list-histories)
1357 (eww-history-browse, eww-history-quit, eww-history-kill)
1358 (eww-history-mode-map, eww-history-mode): New command and
1359 functions to list browser histories.
1360 (eww-form-text): Support text form with disabled
1361 and readonly attributes.
1362 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1364 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1366 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1367 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1368 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1369 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1371 (eww-bookmark-mode-map): Add menu.
1372 (eww-render, eww-mode): Use `setq-local'.
1373 (eww-tool-bar-map): New variable.
1374 (eww-mode): Set `tool-bar-map'.
1375 (eww-view-source): Check for `html-mode' with `fboundp'.
1377 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1379 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1380 elements with text inside. Also remove debugging.
1382 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1384 * cus-start.el (all): Add ns-use-srgb-colorspace.
1386 2013-12-21 Chong Yidong <cyd@gnu.org>
1388 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1389 undefined. Thus, theme settings for undefined faces do not take
1390 effect until the faces are defined with defface, the same as with
1393 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1394 (face-spec-reset-face): Don't assign extra properties in temacs.
1395 (face-spec-recalc): Apply X resources too.
1397 2013-12-21 Chong Yidong <cyd@gnu.org>
1399 * faces.el (face-spec-set):
1400 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1401 * custom.el (defface): Doc fixes (Bug#16203).
1403 * indent.el (indent-rigidly-map): Add docstring, and move commands
1404 into named functions.
1405 (indent-rigidly-left, indent-rigidly-right)
1406 (indent-rigidly-left-to-tab-stop)
1407 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1408 indentation direction based on bidi direction, and accumulate
1409 sequential commands in a single undo boundary.
1410 (indent-rigidly--pop-undo): New utility function.
1412 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1414 * faces.el (read-face-name): Require crm.el when using crm-separator.
1416 2013-12-20 Daniel Colascione <dancol@dancol.org>
1418 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1419 so that we don't reflow comments into the shebang line.
1421 2013-12-20 Juri Linkov <juri@jurta.org>
1423 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1424 a position when `dired-directory' is non-nil. Check integer
1425 positions with `integerp'.
1426 (toggle-save-place, save-places-to-alist): Add check for
1428 (save-place-find-file-hook): Check integer positions with
1430 (save-place-dired-hook): Use `dired-goto-file' when
1431 `dired-filename' is found in the assoc list. Check integer
1432 positions with `integerp'.
1433 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1435 * dired.el (dired-initial-position-hook): Rename back from
1436 `dired-initial-point-hook'.
1437 (dired-initial-position): Rename `dired-initial-point-hook' to
1438 `dired-initial-position-hook'.
1439 (dired-file-name-at-point): Doc fix. (Bug#15329)
1441 2013-12-20 Juri Linkov <juri@jurta.org>
1443 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1444 (read-regexp-suggestions): New function.
1445 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1446 Use `read-regexp-suggestions'. Add non-empty default to history
1448 (occur-read-regexp-defaults-function): Remove function.
1449 (occur-read-primary-args): Use `regexp-history-last' instead of
1450 `occur-read-regexp-defaults-function'.
1452 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1453 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1454 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1455 `hi-lock-read-regexp-defaults-function'. Doc fix.
1456 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1457 with `find-tag-default-as-symbol-regexp'. Doc fix.
1458 (hi-lock-read-regexp-defaults): Remove function.
1459 (hi-lock-regexp-okay): Add check for null.
1461 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1462 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1464 * subr.el (find-tag-default-as-symbol-regexp): New function.
1465 (find-tag-default-as-regexp): Move symbol regexp formatting to
1466 `find-tag-default-as-symbol-regexp'.
1468 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1470 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1473 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1475 * calendar/todo-mode.el: New implementation of item insertion
1476 commands and key bindings.
1477 (todo-key-prompt): New face.
1478 (todo-insert-item): New command.
1479 (todo-insert-item--parameters): New defconst, replacing defvar
1480 todo-insertion-commands-args-genlist.
1481 (todo-insert-item--param-key-alist): New defconst, replacing
1482 defvar todo-insertion-commands-arg-key-list.
1483 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1484 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1485 (todo-insert-item--next-param): New functions.
1486 (todo-insert-item--args, todo-insert-item--argleft)
1487 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1489 (todo-key-bindings-t): Change binding of "i" from
1490 todo-insertion-map to todo-insert-item.
1491 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1492 (todo-insertion-command-name, todo-insertion-commands-names)
1493 (todo-define-insertion-command, todo-insertion-commands)
1494 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1496 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1498 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1499 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1501 (todo-move-category): Allow choosing a non-existing todo file to
1502 move the category to, and create that file.
1503 (todo-default-priority): New user option.
1504 (todo-set-item-priority): Use it.
1505 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1506 (desktop-restore-file-buffer): Declare.
1507 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1508 (todo-modes-set-2): Locally set desktop-save-buffer to
1509 todo-desktop-save-buffer.
1510 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1511 (auto-mode-alist): Add autoload cookie.
1513 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1515 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1516 helpers.el was a poor choice of name.
1517 (string-remove-prefix): New function.
1518 (string-remove-suffix): New function.
1520 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1522 Fix assignment for new window total sizes.
1523 * window.el (window--pixel-to-size): Remove function.
1524 (window--pixel-to-total-1, window--pixel-to-total):
1525 Fix calculation of new total sizes.
1527 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1529 * comint.el (comint-output-filter): Fix rear-nonsticky property
1530 placement (Bug#16010).
1532 2013-12-20 Chong Yidong <cyd@gnu.org>
1534 * faces.el (read-color): Minor fix for completion function.
1536 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1538 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1539 New option. (Bug#16182)
1540 (ruby-smie--indent-to-stmt-p): Use it.
1541 (ruby-smie-rules): Revert the logic in the handling of `when'.
1542 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1543 (ruby-deep-arglist, ruby-deep-indent-paren)
1544 (ruby-deep-indent-paren-style): Update docstrings to note that the
1545 vars don't have any effect with SMIE.
1547 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1549 * calc/calc.el (calc-enter, calc-pop): Use the variable
1550 `calc-context-sensitive-enter'.
1552 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1554 * net/shr.el (shr-insert): Protect against infloops in degenerate
1557 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1559 * progmodes/octave.el (octave): Add link to manual and octave
1561 (octave-mode-menu): Link to octave-mode manual.
1563 2013-12-20 Leo Liu <sdl.web@gmail.com>
1565 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1566 insertion using skeleton-end-newline. (Bug#16138)
1568 2013-12-20 Juri Linkov <juri@jurta.org>
1570 * replace.el (occur-engine): Use `add-face-text-property'
1571 to add the face property to matches and titles. (Bug#14645)
1573 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1574 the palette of other hi-lock colors.
1575 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1577 2013-12-19 Juri Linkov <juri@jurta.org>
1579 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1580 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1581 (minibuffer-history-symbol): Move variable declaration closer to
1584 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1587 2013-12-19 Juri Linkov <juri@jurta.org>
1589 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1591 (log-edit-hook): Add it to :options. (Bug#16170)
1593 2013-12-19 Juri Linkov <juri@jurta.org>
1595 * simple.el (eval-expression-print-format): Don't check for
1596 command names and the last command. Always display additional
1597 formats of the integer result in the echo area, and insert them
1598 to the current buffer only with a zero prefix arg.
1599 Display character when char-displayable-p is non-nil.
1600 (eval-expression): With a zero prefix arg, set `print-length' and
1601 `print-level' to nil, and insert the integer values from
1602 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1604 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1605 `eval-last-sexp-arg-internal'. Doc fix.
1606 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1607 `eval-last-sexp-print-value'. Doc fix.
1608 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1609 Set `print-length' and `print-level' to nil when arg is zero.
1610 (eval-last-sexp): Doc fix.
1611 (eval-defun-2): Print the integer values from
1612 `eval-expression-print-format' at the end.
1614 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1615 values from `eval-expression-print-format' at the end.
1617 * ielm.el (ielm-eval-input): Print the integer
1618 values from `eval-expression-print-format' at the end.
1620 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1622 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1623 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1625 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1628 (hl-line-highlight, global-hl-line-highlight): Use it.
1629 (hl-line-overlay): Use defvar-local.
1631 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1633 * term/ns-win.el: Require dnd.
1634 (global-map): Remove drag items.
1635 (ns-insert-text, ns-set-foreground-at-mouse)
1636 (ns-set-background-at-mouse):
1637 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1638 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1641 2013-12-19 Glenn Morris <rgm@gnu.org>
1643 * emacs-lisp/ert.el (ert-select-tests):
1644 Fix string/symbol mixup. (Bug#16121)
1646 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1648 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1649 keywords to their parent.
1651 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1653 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1654 first arg to be a string (fixed dead code), or an operator symbol.
1655 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1657 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1658 did nothing. Don't respond to `(:after ".")', it will be called
1659 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1660 change anything. Only return indentation for binary operators
1661 when they are hanging. De-dent opening paren when its parent is
1662 `.', otherwise it looks bad when the dot is not at bol or eol
1665 2013-12-19 Juri Linkov <juri@jurta.org>
1667 * replace.el (query-replace-read-args): Split a non-negative arg
1668 and a negative arg into separate elements.
1669 (query-replace, query-replace-regexp, replace-string)
1670 (replace-regexp): Add arg `backward'. Doc fix.
1671 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1672 move point to the beginning of the match.
1673 (replace-search, replace-highlight): Use new arg `backward'
1674 to set the value of `isearch-forward'.
1675 (perform-replace): Add arg `backward' and use it to perform
1676 replacement backward. (Bug#14979)
1678 * isearch.el (isearch-query-replace): Use a negative prefix arg
1679 to call `perform-replace' with a non-nil arg `backward'.
1681 2013-12-18 Juri Linkov <juri@jurta.org>
1683 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1684 to the default list. Move `log-edit-show-files' to the end.
1685 Add more available functions to options.
1686 (log-edit): Move default specific settings to
1687 `log-edit-insert-message-template'. Don't move point.
1688 (log-edit-insert-message-template): New function.
1689 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1692 2013-12-18 Juri Linkov <juri@jurta.org>
1694 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1695 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1697 2013-12-18 Leo Liu <sdl.web@gmail.com>
1699 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1702 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1704 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1705 formats for displaying file sizes when the -s switch is given.
1706 Instead, compute a separate format for displaying the size in
1707 blocks, which is displayed in addition to the "regular" size.
1708 When -h is given in addition to -s, produce size in blocks in
1709 human-readable form as well. (Bug#16179)
1711 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1713 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1714 Reference tables with ~\ref{...} instead of only \ref{...}.
1716 2013-12-18 Chong Yidong <cyd@gnu.org>
1718 * cus-edit.el (custom-magic-alist): Fix "themed" description
1721 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1722 is non-nil, do not create a new entry in the symbol's theme-value
1723 or theme-face property; update theme-settings only (Bug#14664).
1724 (custom-available-themes): Doc fix.
1726 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1729 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1731 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1733 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1736 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1738 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1740 2013-12-18 Glenn Morris <rgm@gnu.org>
1742 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1743 * cus-start.el (load-prefer-newer): New option.
1745 2013-12-18 Le Wang <l26wang@gmail.com>
1747 * comint.el (comint-previous-matching-input-from-input):
1748 Retain point (Bug#13404).
1750 2013-12-18 Chong Yidong <cyd@gnu.org>
1752 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1754 2013-12-18 Glenn Morris <rgm@gnu.org>
1756 * mail/emacsbug.el (report-emacs-bug):
1757 Only mention enable-multibyte-characters if non-standard.
1759 2013-12-17 Juri Linkov <juri@jurta.org>
1761 * arc-mode.el (archive-extract-by-file): Check if directory exists
1762 before deletion to not show irrelevant errors if it doesn't exist.
1764 2013-12-17 Juri Linkov <juri@jurta.org>
1766 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1769 * net/eww.el (browse-web): Add alias to `eww'.
1770 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1771 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1773 * net/browse-url.el (browse-url-browser-function): Move `eww'
1774 closer to similar functions.
1776 * startup.el (fancy-startup-screen, fancy-about-screen):
1777 Set browse-url-browser-function to eww-browse-url locally.
1780 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * window.el (window--pixel-to-total): Remove unused `mini' var.
1783 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1784 (split-window): Remove unused `new' var.
1785 (window--display-buffer): Remove unused `frame' and `delta' vars.
1786 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1789 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1791 * dired.el (dired-mark-pop-up):
1792 * register.el (register-preview): Don't bind
1793 split-height-threshold here since it's now done in
1794 display-buffer-below-selected.
1796 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1798 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1799 xterm-rgb-convert-to-16bit.
1800 (rxvt-register-default-colors): Standardize with
1801 xterm-register-default-colors (Bug#14078).
1803 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1805 * simple.el (kill-region): Pass mark first, then point, so that
1806 kill-append works right (Bug#12819).
1807 (copy-region-as-kill, kill-ring-save): Likewise.
1809 2013-12-17 Leo Liu <sdl.web@gmail.com>
1811 * net/rcirc.el (rcirc-add-face):
1812 * eshell/em-prompt.el (eshell-emit-prompt):
1813 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1816 2013-12-17 Chong Yidong <cyd@gnu.org>
1818 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1819 Suggested by Xue Fuqiao.
1821 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1823 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1825 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1827 * net/shr.el (shr-insert-document): Remove unused var
1828 `shr-preliminary-table-render'.
1829 (shr-rescale-image): Remove unused arg `force'.
1830 (shr-put-image): Update calls accordingly.
1831 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1833 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1835 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1836 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1837 :close-all, to see which indentation method to use (Bug#16116).
1838 (smie-rules-function): Document the method :close-all.
1840 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1842 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1844 * net/eww.el (eww-display-html): If we can't find the anchor we're
1845 looking for, then go to point-min.
1847 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1849 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1850 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1851 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1852 Expand dir too, in case it's relative.
1854 2013-12-16 Juri Linkov <juri@jurta.org>
1856 * desktop.el (desktop-auto-save-timeout): Change default to
1857 `auto-save-timeout'. Doc fix.
1858 (desktop-save): Skip the timestamp in desktop-saved-frameset
1859 when checking for auto-save changes.
1860 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1861 `desktop-auto-save' is called repeatedly by the idle timer.
1862 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1863 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1866 2013-12-16 Juri Linkov <juri@jurta.org>
1868 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1870 (isearch-pre-command-hook): Check `this-command' for symbolp.
1872 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1874 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1876 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1878 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1879 (cfengine3--current-function): Bring in the current-function
1880 functionality from `cfengine3--current-word'.
1881 (cfengine3-completion-function): Bring in the
1882 bounds-of-current-word functionality from
1883 `cfengine3--current-word'.
1885 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1887 * window.el (display-buffer-below-selected):
1888 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1890 2013-12-16 Leo Liu <sdl.web@gmail.com>
1892 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1893 Remove NOMSG arg and all uses changed.
1895 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1897 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1898 (cua--deactivate-rectangle): Don't deactivate the mark.
1899 (cua-set-rectangle-mark): Don't set mark-active since
1900 cua--activate-rectangle already does it for us.
1901 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1902 non-rectangular region.
1904 * emulation/cua-base.el (cua-repeat-replace-region):
1905 Use with-current-buffer.
1907 * net/gnutls.el: Use cl-lib.
1908 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1910 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1912 * emacs-lisp/package.el (package-built-in-p): Support both
1913 built-in and the package.el converted package descriptions.
1914 (package-show-package-list): Allow keywords.
1915 (package-keyword-button-action): Use it instead of
1916 `finder-list-matches'.
1917 (package-menu-filter-interactive): Interactive filtering (by
1919 (package-menu--generate): Support keywords and change keymappings
1920 and headers when they are given.
1921 (package--has-keyword-p): Helper function.
1922 (package-menu--refresh): Use it.
1923 (package--mapc): Helper function.
1924 (package-all-keywords): Use it.
1925 (package-menu-mode-map): Set up menu items and keybindings to
1926 provide a filtering UI.
1928 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1930 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1931 the behavior when a certificate fails validation. Defaults to
1932 old behavior: never abort, just warn.
1933 (gnutls-negotiate): Use it.
1935 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1937 * window.el (display-buffer-below-selected): Never split window
1938 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1940 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1942 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1943 (package-buffer-info): Use it (bug#15108).
1945 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1947 * icomplete.el (icomplete-completions): Make sure the prefix is already
1948 displayed elsewhere before hiding it (bug#16219).
1950 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1952 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1953 open-paren tokens when preceded by a open-paren, too.
1954 (ruby-smie-rules): Handle virtual indentation after open-paren
1955 tokens specially. If there is code between it and eol, return the
1956 column where is starts (Bug#16118).
1958 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1960 * progmodes/cfengine.el: Fix `add-hook' doc.
1961 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1962 (cfengine3--current-word): Fix parameters.
1963 (cfengine3-make-syntax-cache): Simplify further.
1964 (cfengine3-completion-function, cfengine3--current-function):
1965 Use `assq' for symbols.
1966 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1968 2013-12-13 Glenn Morris <rgm@gnu.org>
1970 * loadup.el (load-path): Warn if site-load or site-init changes it.
1971 No more need to reset it when bootstrapping.
1973 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1975 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1976 locations for cf-promises.
1977 (cfengine-mode-syntax-functions-regex): New caching variable.
1978 (cfengine3-fallback-syntax): Fallback syntax for cases where
1979 cf-promises doesn't run.
1980 (cfengine3--current-word): Reimplement using
1981 `cfengine-mode-syntax-functions-regex'.
1982 (cfengine3-completion-function, cfengine3--current-function):
1983 Use `cfengine3-make-syntax-cache' directly.
1984 (cfengine3-clear-syntax-cache): New function.
1985 (cfengine3-make-syntax-cache): Simplify and create
1986 `cfengine-mode-syntax-functions-regex' on demand.
1987 (cfengine3-format-function-docstring): Don't call
1988 `cfengine3-make-syntax-cache' explicitly.
1990 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1992 Fix windmove-find-other-window broken after pixelwise resizing
1994 * windmove.el (windmove-other-window-loc): Revert change from
1996 (windmove-find-other-window): Call window-in-direction.
1997 * window.el (window-in-direction): New arguments SIGN, WRAP and
1998 MINI to emulate original windmove-find-other-window behavior.
2000 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2002 * simple.el (blink-matching--overlay): New variable.
2003 (blink-matching-open): Instead of moving point, highlight the
2004 matching paren with an overlay
2005 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2007 * faces.el (paren-showing-faces, show-paren-match)
2008 (show-paren-mismatch): Move from paren.el.
2010 2013-12-13 Leo Liu <sdl.web@gmail.com>
2012 * indent.el (indent-region): Disable progress reporter in
2013 minibuffer. (Bug#16108)
2015 * bindings.el (visual-order-cursor-movement): Fix version.
2017 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2019 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2020 Also match after beginning of line.
2021 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2022 files. Thanks to Russell Sim. (Bug#15378)
2024 2013-12-13 Juri Linkov <juri@jurta.org>
2026 * simple.el <Keypad support>: Remove key bindings duplicated
2027 with bindings.el. (Bug#14397)
2029 2013-12-13 Juri Linkov <juri@jurta.org>
2031 * comint.el (comint-mode-map): Replace `delete-char' with
2032 `delete-forward-char'. (Bug#16109)
2034 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2036 * progmodes/python.el (python-indent-calculate-indentation):
2037 Fix de-denters cornercase. (Bug#15731)
2039 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2042 (advice--make): Pay attention to `depth'.
2043 (advice--make-1): Don't autoload commands eagerly.
2044 * emacs-lisp/elp.el (elp-instrument-function):
2045 * emacs-lisp/trace.el (trace-function-internal):
2046 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2048 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2050 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2052 * term/w32-win.el (w32-handle-dropped-file):
2053 * startup.el (normal-top-level):
2054 * net/browse-url.el (browse-url-file-url):
2055 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2056 decode file names using 'utf-8' rather than
2057 file-name-coding-system.
2059 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2061 * progmodes/python.el (python-indent-context)
2062 (python-indent-calculate-indentation): Fix auto-identation
2063 behavior for comment blocks. (Bug#15916)
2065 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2067 * progmodes/python.el (python-indent-calculate-indentation):
2068 When determining indentation, don't treat "return", "pass", etc., as
2069 operators when they are just string constituents. (Bug#15812)
2071 2013-12-12 Juri Linkov <juri@jurta.org>
2073 * uniquify.el (uniquify-buffer-name-style): Change default to
2074 `post-forward-angle-brackets'.
2076 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2077 `uniquify'. Change default to `post-forward-angle-brackets'.
2079 2013-12-11 Glenn Morris <rgm@gnu.org>
2081 * emacs-lisp/package.el (finder-list-matches):
2082 Autoload rather than falsely declaring.
2084 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2086 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2087 (eww-mode-map): Use them.
2089 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2091 * window.el (display-buffer-in-side-window): Fix doc-string
2094 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2096 * vc/vc-git.el: Silence byte-compiler warnings.
2097 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2098 (log-edit-set-header): Declare.
2100 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2102 * Makefile.in (custom-deps, finder-data): Run output file names
2103 through unmsys--file-name. (Bug#16099)
2105 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2107 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2108 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2110 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2111 instead of deleting the selection "by hand" (bug#16098).
2112 Rely on insert-for-yank to yank rectangles.
2113 (cua-highlight-region-shift-only): Mark obsolete.
2114 (cua-mode): Don't enable/disable transient-mark-mode,
2115 shift-select-mode (cua-mode works both with and without them), and
2116 pc-selection-mode (obsolete).
2117 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2118 (cua--deactivate-rectangle): Deactivate it.
2120 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2121 (delete-selection-helper): Make sure yank starts at the top of the
2123 (minibuffer-keyboard-quit): Use region-active-p.
2125 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2127 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2128 to `delete' (bug#16109).
2130 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2132 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2133 info manual and show keybindings and set `:group' keyword.
2135 2013-12-11 Juri Linkov <juri@jurta.org>
2137 * delsel.el (delete-active-region): Let-bind `this-command'
2138 to prevent `kill-region' from changing its original value.
2139 (delete-selection-helper): Handle `overwrite-mode' for the type
2140 `kill' exactly the same way as for the type `t'.
2141 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2142 Support more commands. (Bug#13312)
2144 2013-12-11 Juri Linkov <juri@jurta.org>
2146 * bindings.el: Map kp keys to non-kp keys systematically
2147 with basic modifiers control, meta and shift. (Bug#14397)
2149 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2151 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2152 "Close browser" menu items. Fix wrong function of "List
2155 2013-12-11 Juri Linkov <juri@jurta.org>
2157 * misearch.el (multi-isearch-buffers): Set the value of
2158 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2159 arg of isearch-forward to t.
2160 (multi-isearch-buffers-regexp): Set the value of
2161 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2162 arg of isearch-forward-regexp to t.
2163 (multi-isearch-files): Set the value of
2164 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2165 arg of isearch-forward to t.
2166 (multi-isearch-files-regexp): Set the value of
2167 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2168 arg of isearch-forward-regexp to t. (Bug#16035)
2170 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2171 arg of isearch-forward to t.
2172 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2173 arg of isearch-forward-regexp to t.
2174 (dired-isearch-filter-filenames): Remove unnecessary check for
2175 `dired-isearch-filenames'.
2177 * comint.el (comint-history-isearch-backward):
2178 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2179 (comint-history-isearch-backward-regexp):
2180 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2182 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2184 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2185 unmsys--file-name. (Bug#16099)
2187 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2189 * emacs-lisp/package.el (package-keyword-button-action):
2190 Remove finder.el require dependency.
2192 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2194 * emacs-lisp/package.el: Require finder.el.
2195 (describe-package-1): Add keyword buttons.
2196 (package-make-button): New convenience function.
2197 (package-keyword-button-action): Keyword button action using
2198 `finder-list-matches'.
2200 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2202 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2205 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2207 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2210 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2212 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2213 after the end of a percent literal.
2215 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2217 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2218 Handle caret-delimited strings (Bug#16079).
2220 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2222 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2223 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2224 `ruby-parse-partial' (Bug#16078).
2226 2013-12-09 Leo Liu <sdl.web@gmail.com>
2228 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2230 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2232 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2233 (js-switch-indent-offset): New option.
2234 (js--proper-indentation): Use it. And handle the case when
2235 "default" is actually a key in an object literal.
2236 (js--same-line): New function.
2237 (js--multi-line-declaration-indentation): Use it.
2238 (js--indent-in-array-comp, js--array-comp-indentation):
2240 (js--proper-indentation): Use them, to handle array comprehension
2243 2013-12-08 Leo Liu <sdl.web@gmail.com>
2245 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2246 (flymake-make-overlay): Remove arg MOUSE-FACE.
2247 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2249 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2253 (redisplay-highlight-region-function): Use it.
2255 * emulation/cua-base.el (cua--explicit-region-start)
2256 (cua--last-region-shifted): Remove.
2257 (cua--deactivate): Use deactivate-mark.
2258 (cua--pre-command-handler-1): Don't handle shift-selection.
2259 (cua--post-command-handler-1): Don't change transient-mark-mode.
2260 (cua--select-keymaps): Use region-active-p rather than
2261 cua--explicit-region-start or cua--last-region-shifted.
2262 (cua-mode): Enable shift-select-mode.
2264 2013-12-08 Leo Liu <sdl.web@gmail.com>
2266 * progmodes/flymake.el (flymake-popup-current-error-menu):
2267 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2268 (flymake-posn-at-point-as-event, flymake-popup-menu)
2269 (flymake-make-emacs-menu): Remove. (Bug#16077)
2271 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2273 * rect.el (rectangle-mark-mode): Activate mark even if
2274 transient-mark-mode is off (bug#16066).
2275 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2276 is > mark and at bolp.
2278 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2279 (region-extract-function): Use it.
2280 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2281 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2283 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2284 kill-ring-save, kill-region, delete-char, delete-forward-char.
2285 Ignore self-insert-iso.
2287 * emulation/cua-gmrk.el (cua--init-global-mark):
2288 Ignore `self-insert-iso'.
2290 * emulation/cua-base.el (cua--prefix-copy-handler)
2291 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2292 checking cua--rectangle.
2293 (cua-delete-region): Use region-extract-function.
2294 (cua-replace-region): Delete function.
2295 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2296 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2297 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2298 (cua--init-keymaps): Don't remap delete-selection commands.
2299 (cua-mode): Use delete-selection-mode instead of rolling our own
2302 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2303 Obey region-extract-function.
2305 Make registers and delete-selection-mode work on rectangles.
2306 * register.el (describe-register-1): Don't modify the register's value.
2307 (copy-to-register): Obey region-extract-function.
2308 * delsel.el (delete-active-region): Obey region-extract-function.
2310 2013-12-08 Leo Liu <sdl.web@gmail.com>
2312 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2313 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2314 (flymake-compilation-prevents-syntax-check)
2315 (flymake-start-syntax-check-on-newline)
2316 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2317 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2318 (flymake-xml-program, flymake-master-file-dirs)
2319 (flymake-master-file-count-limit)
2320 (flymake-allowed-file-name-masks): Relocate.
2321 (flymake-makehash, flymake-float-time)
2322 (flymake-replace-regexp-in-string, flymake-split-string)
2323 (flymake-get-temp-dir): Remove.
2324 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2325 (flymake-current-row, flymake-selected-frame)
2326 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2327 related functions. (Bug#16077)
2329 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2331 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2333 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2335 * help-fns.el (describe-function-1): Use new advice-* functions
2336 rather than old ad-* functions. Fix function type description and
2337 source links for advised functions and subrs.
2339 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2341 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2343 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2345 * progmodes/compile.el (compilation-start):
2346 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2348 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2349 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2351 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2353 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2354 Touch up the last change.
2356 2013-12-06 Leo Liu <sdl.web@gmail.com>
2358 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2359 (inferior-octave-startup): Always use "octave> " for prompt.
2360 (octave-goto-function-definition)
2361 (octave-sync-function-file-names)
2362 (octave-find-definition-default-filename): Remove redundant backquotes.
2364 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2366 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2368 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2369 where appropriate already.
2370 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2371 end of method names (Bug#15874).
2373 2013-12-06 Juri Linkov <juri@jurta.org>
2375 * isearch.el (isearch--saved-overriding-local-map):
2376 New internal variable.
2377 (isearch-mode): Set it to the initial value of
2378 `overriding-terminal-local-map'.
2379 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2380 with `isearch--saved-overriding-local-map'. (Bug#16035)
2382 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2384 * progmodes/octave.el (inferior-octave-completion-table):
2385 Turn back into function, use `completion-table-with-cache'
2386 (Bug#11906). Update all references.
2388 * minibuffer.el (completion-table-with-cache): New function.
2390 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2392 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2394 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2396 * net/eww.el (eww-current-source): New variable to store page
2398 (eww-display-html, eww-mode, eww-save-history)
2399 (eww-restore-history): Use it.
2400 (eww-view-source): New command to view page source.
2401 Opportunistically uses `html-mode' to highlight the buffer.
2402 (eww-mode-map): Install it.
2404 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2406 * net/dbus.el (dbus-unregister-service)
2407 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2409 (dbus-unregister-service): Skip :serial entries in
2410 `dbus-registered-objects-table'.
2411 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2413 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2415 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2416 around keywords with extra `split-string' argument.
2418 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2420 * windmove.el (windmove-other-window-loc): Handle navigation
2421 between windows (excluding the minibuffer window - Bug#16017).
2423 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2425 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2426 in D-Bus type syntax.
2427 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2428 preserve unibyte strings. (Bug#16048)
2430 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2433 Call force-mode-line-update is the proper buffer (bug#16042).
2435 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2437 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2438 `log-edit-remember-comment', make argument optional. Adjust all
2440 (log-edit-mode): Add `log-edit-remember-comment' to
2441 `kill-buffer-hook' locally.
2442 (log-edit-kill-buffer): Don't remember comment explicitly since
2443 the buffer is killed anyway.
2445 2013-12-04 Juri Linkov <juri@jurta.org>
2447 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2448 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2450 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2452 * notifications.el (notifications-close-notification): Call the
2453 D-Bus method with ID being a `:uint32'. (Bug#16030)
2455 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2457 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2459 2013-12-03 Juri Linkov <juri@jurta.org>
2461 * progmodes/compile.el (compilation-start): Rename window alist
2462 entry `no-display-ok' to `allow-no-window'.
2464 * simple.el (shell-command): Add window alist entry
2465 `allow-no-window' to `display-buffer'.
2466 (async-shell-command): Doc fix.
2468 * window.el (display-buffer-no-window): New action function.
2469 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2471 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2473 * vc/log-edit.el (log-edit-set-header): Extract from
2474 `log-edit-toggle-header'.
2475 (log-edit-extract-headers): Separate the summary, when extracted
2476 from header, from the rest of the message with an empty line.
2478 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2479 line, if present, to the Summary header.
2481 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2483 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2484 in current-buffer (bug#16029).
2486 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2488 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2489 (debugger-mode-map): Bind it.
2490 (debugger--backtrace-base): New function.
2491 (debugger-eval-expression): Use it.
2492 (debugger-frame-number): Skip local vars when present.
2493 (debugger--locals-visible-p, debugger--insert-locals)
2494 (debugger--show-locals, debugger--hide-locals): New functions.
2496 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2498 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2500 (tramp-get-remote-locale): New defun.
2501 (tramp-open-connection-setup-interactive-shell): Use it.
2503 2013-12-02 Leo Liu <sdl.web@gmail.com>
2505 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2507 * progmodes/sh-script.el (sh-shell-process):
2508 * progmodes/octave.el (inferior-octave-process-live-p):
2509 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2510 (gdb-inferior-io-sentinel):
2511 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2513 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2515 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2516 `save-selected-window' to `log-edit-hide-buf'. This makes
2517 `log-edit-show-files' idempotent.
2518 (log-edit-show-files): Mark the new window as dedicated.
2520 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2522 * vc/log-edit.el (log-edit-mode-map): Add binding for
2523 `log-edit-kill-biffer'.
2524 (log-edit-hide-buf): Add a FIXME comment.
2525 (log-edit-add-new-comment): New function, extracted from
2527 (log-edit-done, log-edit-add-to-changelog): Use it.
2528 (log-edit-kill-buffer): New command.
2530 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2532 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2533 instead of killing the buffer.
2535 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2539 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2541 * net/eww.el (eww-form-checkbox-selected-symbol)
2542 (eww-form-checkbox-symbol): New customizable variable.
2543 (eww-form-checkbox, eww-toggle-checkbox):
2544 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2546 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2547 (shr--get-media-pref, shr--extract-best-source): New function.
2548 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2549 no :src tag was specified.
2551 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2552 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2553 Use \\` to match beginning of string instead of ^.
2554 (eww-browse-with-external-browser): Provide optional URL parameter.
2555 (eww-render): Set `eww-current-title' back to "".
2557 * net/shr.el (shr-tag-video): Display content for video if no
2558 poster is available.
2559 (shr-tag-audio): Add support for <audio> tag.
2561 * net/eww.el (eww-text-input-types): New const.
2562 (eww-process-text-input): Treat input types in
2563 `eww-text-input-types' as text.
2565 * net/shr.el (shr-tag-table): Fix comment typo.
2567 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2569 * net/eww.el (eww-follow-link): New command to avoid reloading
2570 pages when we follow #target links (bug#15243).
2571 (eww-quit): Special mode buffers shouldn't query before exiting.
2573 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2575 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2578 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2580 * net/eww.el (eww-restore-history): Update the window title after
2581 moving in the history.
2582 (eww-current-dom): New variable used to save the current DOM.
2584 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2586 * vc/log-edit.el (log-edit-mode-map): Add binding for
2587 `log-edit-beginning-of-line'.
2588 (log-edit-setup-add-author): New user option.
2589 (log-edit-beginning-of-line): New command.
2590 (log-edit): Move major mode call above the contents setup so that
2591 the local variable values are already applied.
2592 (log-edit): Only insert "Author: " when
2593 `log-edit-setup-add-author' is non-nil.
2594 (log-edit): When SETUP is non-nil, position point after ": "
2595 instead of point-min.
2597 2013-12-01 Glenn Morris <rgm@gnu.org>
2599 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2601 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2603 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2604 redisplay to make sure the initial frame gets a chance to become
2605 visible. (Bug#16014)
2607 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2609 Support resizing frames and windows pixelwise.
2610 * cus-start.el (frame-resize-pixelwise)
2611 (window-resize-pixelwise): New entries.
2612 * emacs-lisp/debug.el (debug): Use window-total-height instead
2613 of window-total-size.
2614 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2615 * help.el (describe-bindings-internal): Call help-buffer
2616 (temp-buffer-max-width): New option.
2617 (resize-temp-buffer-window, help-window-setup)
2618 (with-help-window): Rewrite.
2619 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2621 * window.el (frame-char-size, window-min-pixel-height)
2622 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2623 (window-min-pixel-width, window-safe-min-pixel-size)
2624 (window-combination-p, window-safe-min-size)
2625 (window-resizable-p, window--size-to-pixel)
2626 (window--pixel-to-size, window--resize-apply-p): New functions.
2627 (window-safe-min-height): Fix doc-string.
2628 (window-size, window-min-size, window--min-size-1)
2629 (window-sizable, window-sizable-p, window--min-delta-1)
2630 (window-min-delta, window--max-delta-1, window-max-delta)
2631 (window--resizable, window--resizable-p, window-resizable)
2632 (window-full-height-p, window-full-width-p, window-at-side-p)
2633 (window--in-direction-2, window-in-direction)
2634 (window--resize-reset-1, window--resize-mini-window)
2635 (window-resize, window-resize-no-error)
2636 (window--resize-child-windows-normal)
2637 (window--resize-child-windows, window--resize-siblings)
2638 (window--resize-this-window, window--resize-root-window)
2639 (window--resize-root-window-vertically)
2640 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2641 (maximize-window, minimize-window, delete-window)
2642 (quit-restore-window, window-split-min-size, split-window)
2643 (balance-windows-2, balance-windows)
2644 (balance-windows-area-adjust, balance-windows-area)
2645 (window--state-get-1, window-state-get, window--state-put-1)
2646 (window--state-put-2, window-state-put)
2647 (display-buffer-record-window, window--display-buffer):
2648 Make functions handle pixelwise sizing of windows.
2649 (display-buffer--action-function-custom-type)
2650 (display-buffer-fallback-action):
2651 Add display-buffer-in-previous-window.
2652 (display-buffer-use-some-window): Resize window to height it had
2654 (fit-window-to-buffer-horizontally): New option.
2655 (fit-frame-to-buffer): Describe new values.
2656 (fit-frame-to-buffer-bottom-margin): Replace with
2657 fit-frame-to-buffer-margins.
2658 (window--sanitize-margin): New function.
2659 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2660 using window-text-pixel-size.
2662 2013-11-30 Glenn Morris <rgm@gnu.org>
2664 * emacs-lisp/bytecomp.el (byte-compile-form):
2665 Make the `interactive-only' warning like the `obsolete' one.
2666 * comint.el (comint-run):
2667 * files.el (insert-file-literally, insert-file):
2668 * replace.el (replace-string, replace-regexp):
2669 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2670 (goto-line, insert-buffer, next-line, previous-line):
2671 Tweak `interactive-only' spec.
2673 Stop keeping (most) generated cedet grammar files in the repository.
2674 * Makefile.in (semantic): New.
2675 (compile-main): Depend on semantic.
2677 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2679 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2680 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2682 * uniquify.el (uniquify-buffer-name-style): Change default.
2684 * loadup.el: Preload "uniquify".
2686 * time.el (display-time-update): Update all mode lines (bug#15999).
2688 * electric.el (electric-indent-mode): Enable by default.
2689 * loadup.el: Preload "electric".
2691 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2693 * emacs-lisp/helpers.el (string-empty-p): New function.
2694 (string-blank-p): New function.
2696 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2698 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2701 2013-11-29 Andreas Politz <politza@fh-trier.de>
2702 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2703 allow non-lambda lists as functions.
2704 (imenu--in-alist): Don't recurse into non-subalists.
2705 (imenu): Don't pass function itself as an argument (Bug#14029).
2707 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * progmodes/python.el (python-mode-map): Remove binding for ":".
2710 (python-indent-electric-colon): Remove command.
2711 (python-indent-post-self-insert-function): Integrate the previous code
2712 of python-indent-electric-colon. Make it conditional on
2713 electric-indent-mode.
2714 (python-mode): Add ?: to electric-indent-chars.
2715 Move python-indent-post-self-insert-function to the end of
2716 post-self-insert-hook.
2718 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2720 * doc-view.el (doc-view-goto-page): Update mode-line.
2722 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2724 2013-11-27 Glenn Morris <rgm@gnu.org>
2726 * international/charprop.el, international/uni-bidi.el:
2727 * international/uni-category.el, international/uni-combining.el:
2728 * international/uni-comment.el, international/uni-decimal.el:
2729 * international/uni-decomposition.el, international/uni-digit.el:
2730 * international/uni-lowercase.el, international/uni-mirrored.el:
2731 * international/uni-name.el, international/uni-numeric.el:
2732 * international/uni-old-name.el, international/uni-titlecase.el:
2733 * international/uni-uppercase.el:
2734 Remove generated files from VCS repository.
2736 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2738 * filenotify.el (file-notify-add-watch): Don't special-case
2739 w32notify when computing the directory to watch.
2741 2013-11-27 Glenn Morris <rgm@gnu.org>
2743 Make bootstrap without generated uni-*.el files possible again.
2744 * loadup.el: Update command-line-args checking for unidata-gen.
2745 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2746 * composite.el, international/characters.el:
2747 Handle unicode tables being undefined.
2749 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2750 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2751 (compile-main): Depend on leim rule.
2753 * loadup.el: Move leim-list.el to leim/ subdirectory.
2754 * startup.el (normal-top-level): No more leim directory.
2755 * international/ja-dic-cnv.el (skkdic-convert):
2756 Disable version-control and autoloads in output files.
2757 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2758 Disable version-control and autoloads in output files.
2759 * leim/quail: Move here from ../leim.
2760 * leim/quail/hangul.el (hangul-input-method-activate):
2761 Add autoload cookie.
2762 (generated-autoload-load-name): Set file-local value.
2763 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2764 (generated-autoload-load-name): Set file-local value.
2766 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2768 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2769 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2770 (eww-quit): Ask confirmation before quitting eww.
2772 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2774 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2775 reading output from Diff on MS-Windows and MS-DOS.
2777 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2779 * emacs-lisp/helpers.el (string-reverse): New function.
2781 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2783 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2784 names on MS Windows, like "/[::1]:".
2786 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2789 2013-11-26 Glenn Morris <rgm@gnu.org>
2791 * progmodes/python.el (python-indent-guess-indent-offset):
2792 Avoid corner-case error. (Bug#15975)
2794 Preload leim-list.el. (Bug#4789)
2795 * loadup.el: Load leim-list.el when found.
2796 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2798 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2800 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2802 * emacs-lisp/helpers.el (string-join): New function.
2804 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2806 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2807 Mark as obsolete and replace it with a symbol property.
2808 (byte-compile-form): Use new 'interactive-only property.
2809 * comint.el, files.el, replace.el, simple.el:
2810 Apply new 'interactive-only properly.
2812 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2814 * window.el (display-buffer-at-bottom): Make sure that
2815 split-window-sensibly creates the new window on bottom
2818 2013-11-23 David Kastrup <dak@gnu.org>
2820 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2821 on the conflict markers when available.
2822 (smerge--get-marker): New function.
2823 (smerge-end-re, smerge-base-re): Add subgroup.
2825 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * frame.el (handle-focus-in, handle-focus-out): Add missing
2830 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2832 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2833 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2835 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2837 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2838 (gomoku--last-pos): New var.
2839 (gomoku--intangible-chars): New const.
2840 (gomoku--intangible): New function.
2841 (gomoku-mode): Use it. Derive from special-mode.
2842 (gomoku-move-up): Adjust line count.
2843 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2844 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2845 Simplify accordingly.
2847 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2848 Remove blink-cursor code.
2849 (blink-cursor-timer-function, blink-cursor-suspend):
2850 Don't special-case GUIs.
2851 (blink-cursor-mode): Use focus-in/out-hook.
2853 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2855 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2856 work when annotation is invisible (Bug#13886).
2858 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2860 * json.el (json-alist-p): Only return non-nil if the alist has
2861 simple keys (Bug#13518).
2863 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2865 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2866 when control-statement is the first statement in a buffer (Bug#15956).
2868 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2870 * imenu.el (imenu-generic-skip-comments-and-strings):
2871 New option (Bug#15560).
2872 (imenu--generic-function): Use it.
2874 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2876 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2879 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2881 * emacs-lisp/helpers.el: Add some string helpers.
2882 (string-trim-left): Removes leading whitespace.
2883 (string-trim-right): Removes trailing whitespace.
2884 (string-trim): Removes leading and trailing whitespace.
2886 * subr.el (string-suffix-p): New function.
2888 2013-11-23 Glenn Morris <rgm@gnu.org>
2890 * progmodes/python.el (python-shell-send-file):
2891 Add option to delete file when done. (Bug#15647)
2892 (python-shell-send-string, python-shell-send-region): Use it.
2894 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2896 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2897 to set buffer-read-only to t, never to nil. (Bug#15938)
2899 * textmodes/tex-mode.el (latex-noindent-environments):
2900 Add safe-local-variable property. (Bug#15936)
2902 2013-11-23 Glenn Morris <rgm@gnu.org>
2904 * textmodes/enriched.el (enriched-mode): Doc fix.
2905 * emacs-lisp/authors.el (authors-renamed-files-alist):
2906 Add enriched.doc -> enriched.txt.
2908 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2910 2013-11-22 Leo Liu <sdl.web@gmail.com>
2912 * progmodes/octave.el (inferior-octave-startup): Spit out error
2915 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2917 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2920 (ruby-encoding-magic-comment-style): Add :version.
2922 2013-11-22 Leo Liu <sdl.web@gmail.com>
2924 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2926 (octave-help-mode): Adapt to change to help-mode-finish to use
2927 derived-mode-p on 2013-09-17.
2928 (inferior-octave-prompt): Also match octave-gui.
2929 (octave-kill-process): Don't ask twice. (Bug#10564)
2931 2013-11-22 Leo Liu <sdl.web@gmail.com>
2933 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2934 (inferior-octave-startup, inferior-octave-check-process)
2935 (inferior-octave-track-window-width-change)
2936 (octave-completion-at-point, octave-eldoc-function): Use it.
2937 (octave-kill-process): Provide confirmation. (Bug#10564)
2939 2013-11-21 Leo Liu <sdl.web@gmail.com>
2941 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2942 Fix obsolete variable comment-use-global-state.
2944 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2946 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2947 Add `octave-source-file'.
2948 (octave-source-file): New function. (Bug#15935)
2950 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2952 * net/eww.el (eww-local-regex): New variable.
2953 (eww): Use it to detect localhost and similar.
2955 2013-11-21 Leo Liu <sdl.web@gmail.com>
2957 Add completion for command `ag'.
2958 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2959 (pcomplete/ag): New function.
2960 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2962 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2964 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2966 (make-obsolete): Remove interactive spec.
2968 2013-11-21 Glenn Morris <rgm@gnu.org>
2970 * startup.el (command-line-1): Use path-separator with -L.
2972 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2974 * emacs-lisp/package.el (describe-package-1): Add package archive
2977 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2979 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2980 Change default to "# encoding: %s" to differentiate it from the
2981 default Ruby encoding comment template.
2983 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2985 * ses.el (ses-mode): Doc fix. (Bug#14748)
2987 2013-11-20 Leo Liu <sdl.web@gmail.com>
2989 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2991 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2993 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2994 when rebase or bisect are in progress.
2996 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2998 * filenotify.el (file-notify-add-watch): Doc fix.
3000 2013-11-19 Leo Liu <sdl.web@gmail.com>
3002 * obsolete/rcompile.el: Mark obsolete.
3004 * progmodes/compile.el (compilation-start)
3005 (compilation-goto-locus, compilation-find-file):
3006 Pass no-display-ok and handle nil value from display-buffer.
3009 * window.el (display-buffer-alist, display-buffer): Document the
3010 new parameter no-display-ok. Return either a window or nil
3011 but never a non-window value.
3013 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * electric.el (electric-indent-mode-map): Remove.
3016 (electric-indent-mode): Change the global-map instead (bug#15915).
3018 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3021 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3023 * emacs-lisp/nadvice.el (remove-function): Align with
3024 add-function's behavior.
3026 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3027 (gdb--string-regexp): New constant.
3028 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3029 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3030 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3032 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3033 Adjust use accordingly.
3034 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3036 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3038 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3039 interpolation curlies (Bug#15914).
3041 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3043 * calc/calc.el (calc-context-sensitive-enter): New variable.
3044 (calc-enter): Use `calc-context-sensitive-enter'.
3046 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3048 * progmodes/cfengine.el: Version bump.
3049 (cfengine-cf-promises): New defcustom to locate cf-promises.
3050 (cfengine3-vartypes): Add new "data" type.
3051 (cfengine3--current-word): New function to get current name-like
3053 (cfengine3--current-function): New function to look up a CFEngine
3054 function's definition.
3055 (cfengine3-format-function-docstring): New function.
3056 (cfengine3-make-syntax-cache): New function.
3057 (cfengine3-documentation-function): New function: ElDoc glue.
3058 (cfengine3-completion-function): New function: completion glue.
3059 (cfengine3-mode): Set `compile-command',
3060 `eldoc-documentation-function', and add to
3061 `completion-at-point-functions'.
3063 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3065 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3066 `tramp-current-connection'.
3068 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3070 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3071 nil/self/true/false with "end of symbol".
3073 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3075 * subr.el (version-regexp-alist): Fix a typo.
3077 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3079 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3080 "en_US.utf8" and "LC_CTYPE" to "".
3081 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3082 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3084 2013-11-15 Leo Liu <sdl.web@gmail.com>
3086 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3088 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3090 * progmodes/gud.el (ctl-x-map):
3091 Remove C-x SPC binding. (Bug#12342)
3092 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3094 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3096 * subr.el (version-regexp-alist):
3097 Recognize hg, svn and darcs versions as snapshot versions.
3099 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3100 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3101 (ruby--encoding-comment-required-p): Extract from
3102 `ruby-mode-set-encoding'.
3103 (ruby-mode-set-encoding): Add the ability to always insert an
3104 utf-8 encoding comment. Fix and simplify coding comment update
3107 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3109 * net/tramp-gvfs.el (top): Run init code only when
3110 `tramp-gvfs-enabled' is not nil.
3111 (tramp-gvfs-enabled): Check also :system bus.
3113 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3115 Sync with upstream verilog-mode revision 78e66ba.
3116 * progmodes/verilog-mode.el (verilog-end-of-defun)
3117 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3118 (verilog-get-end-of-defun): Remove unused argument.
3119 (verilog-comment-depth): Remove unused local `e'.
3120 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3121 Don't pass arg to verilog-get-end-of-defun.
3123 2013-11-14 Glenn Morris <rgm@gnu.org>
3125 * obsolete/assoc.el (aget): Prefix dynamic variable.
3127 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3129 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * widget.el, hfy-cmap.el: Remove bogus package version number.
3133 2013-11-13 Glenn Morris <rgm@gnu.org>
3135 * replace.el (replace-eval-replacement):
3136 Try to give more helpful error message. (Bug#15836)
3138 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3139 (archive-7z-update): Avoid custom type mismatches.
3141 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3143 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3145 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3146 address can be empty.
3148 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3149 Accept nil SWITCHES.
3150 (tramp-gvfs-handle-write-region): Implement APPEND.
3152 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3154 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3155 binary "|" operator and closing block args delimiter.
3156 Remove FIXME comment referring to Ruby 1.8-only syntax.
3157 (ruby-smie--implicit-semi-p): Not after "|" operator.
3158 (ruby-smie--closing-pipe-p): New function.
3159 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3160 (ruby-smie-rules): Indent after "|".
3162 2013-11-12 Glenn Morris <rgm@gnu.org>
3164 * ps-print.el (ps-face-attribute-list):
3165 Handle anonymous faces. (Bug#15827)
3167 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3169 * window.el (display-buffer-other-frame): Fix doc-string.
3172 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3174 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3176 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3178 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3179 (tramp-sh-handle-file-local-copy): Don't write a message when
3180 saving temporary files.
3182 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3183 both directories are remote.
3184 (tramp-smb-handle-directory-files): Do not return double entries.
3185 Do not expand full file names.
3186 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3187 (tramp-smb-handle-write-region): Implement APPEND.
3188 (tramp-smb-get-stat-capability): Fix a stupid bug.
3190 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3192 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3194 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3196 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3197 throwing error over malformed let/let* (bug#15814).
3199 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * iswitchb.el (iswitchb-mode): Mark obsolete.
3203 2013-11-11 Glenn Morris <rgm@gnu.org>
3205 * international/uni-bidi.el, international/uni-category.el:
3206 * international/uni-name.el, international/uni-numeric.el:
3207 Regenerate for Unicode 6.3.0.
3209 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3211 * net/tramp.el (tramp-methods):
3212 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3213 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3215 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3217 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3218 Force highlighting text after Summary keyword in doc face for rpm.
3220 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3222 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3223 available and the word has no wildcards, append one to the grep pattern.
3224 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3225 (ispell-complete-word): Call `ispell-lookup-words' with the value
3226 independent of `ispell-look-p'.
3228 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3230 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3232 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3235 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3238 (ruby-font-lock-keywords): Use backquote.
3240 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3242 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3243 (ruby-smie--backward-token): Only consider full-string matches.
3245 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3247 * faces.el (describe-face): Add distant-foreground.
3249 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3251 * progmodes/ruby-mode.el: Improve encoding comment handling.
3252 (ruby-encoding-magic-comment-style): New option.
3253 (ruby-custom-encoding-magic-comment-template): New option.
3254 (ruby--insert-coding-comment, ruby--detect-encoding):
3255 New functions extracted from `ruby-mode-set-encoding'.
3256 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3257 to control the style of the auto-inserted encoding comment.
3259 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3261 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3262 Use `smie-backward-sexp' with token argument.
3264 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3266 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3267 Remove instrumentation code.
3269 2013-11-08 Glenn Morris <rgm@gnu.org>
3271 * progmodes/autoconf.el (autoconf-mode):
3272 Tweak comment-start-skip. (Bug#15822)
3274 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3277 at bobp (bug#15826).
3278 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3280 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3282 * man.el (Man-start-calling): New macro, extracted from
3283 Man-getpage-in-background.
3284 (Man-getpage-in-background): Use it.
3285 (Man-update-manpage): New command.
3286 (Man-mode-map): Bind it.
3288 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3290 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3291 of "and", "or", "&&" and "||".
3292 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3293 argument. Prohibit opening curly brace because it could only be a
3294 block opener in that position.
3295 (ruby-smie--forward-token, ruby-smie--backward-token):
3296 Separate "|" from "&" or "*" going after it. That can happen in block
3298 (ruby-smie--indent-to-stmt): New function, seeks the end of
3299 previous statement or beginning of buffer.
3300 (ruby-smie-rules): Use it.
3301 (ruby-smie-rules): Check if there's a ":" before a curly block
3302 opener candidate; if there is, it's a hash.
3304 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3306 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3307 (cl--block-wrapper): Fix last accidental change.
3309 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3311 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3312 Instrument, in order to hunt failure on hydra.
3314 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3316 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3317 malformed bindings form (bug#15814).
3319 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3321 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3322 "." compared to " @ ". This incidentally fixes some indentation
3324 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3325 (ruby-smie-grammar): New tokens: "and" and "or".
3326 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3327 Exclude "and" and "or". Remove "do" in order to work around token
3329 (ruby-smie-rules): Add all infix tokens. Handle the case of
3330 beginning-of-buffer.
3332 2013-11-06 Glenn Morris <rgm@gnu.org>
3334 * Makefile.in (setwins_almost, setwins_for_subdirs):
3335 Avoid accidental matches.
3337 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * menu-bar.el (popup-menu): Use key-binding.
3341 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3343 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3344 menus, support also the menus produced by minor modes.
3347 2013-11-06 Leo Liu <sdl.web@gmail.com>
3349 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3350 DISTANCE to bound the search. All uses changed. (Bug#15808)
3352 2013-11-06 Glenn Morris <rgm@gnu.org>
3354 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3355 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3356 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3358 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3360 * electric.el (electric-indent-just-newline): New command.
3361 (electric-indent-mode-map): New keymap.
3362 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3363 Re-add :group which weren't redundant.
3365 * electric.el (electric-indent-local-mode): New minor mode.
3366 (electric-indent-functions-without-reindent): New var.
3367 (electric-indent-post-self-insert-function): Use it.
3368 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3370 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3372 * international/quail.el (quail-help): Be more explicit about the
3373 meaning of the labels shown on the keys. (Bug#15800)
3375 * startup.el (normal-top-level): Load the subdirs.el files before
3376 setting the locale environment. (Bug#15805)
3378 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3380 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3381 via arguments so as to get the right ones (bug#15418).
3383 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3385 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3387 Fix problems found while writing a test suite.
3389 * net/tramp-compat.el (tramp-compat-load): New defun.
3390 * net/tramp.el (tramp-handle-load): Use it.
3392 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3393 "(numberp ok-if-already-exists)" correctly.
3395 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3397 * international/characters.el (glyphless-char-display-control):
3400 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3402 * progmodes/python.el (python-mode):
3403 * progmodes/scheme.el (scheme-mode):
3404 * progmodes/prolog.el (prolog-mode):
3405 * progmodes/ruby-mode.el (ruby-mode):
3406 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3407 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3409 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * rect.el (rectangle--highlight-for-redisplay):
3412 * emacs-lisp/smie.el (smie--next-indent-change):
3413 Use buffer-chars-modified-tick.
3415 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3417 * electric.el (electric-indent-post-self-insert-function):
3418 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3420 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3422 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3424 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3426 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3429 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3431 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3433 * progmodes/python.el: Fix up last change.
3434 (python-shell--save-temp-file): New function.
3435 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3436 `string' comes from the current buffer.
3437 (python-shell-send-string-no-output): Remove `msg' arg.
3438 (python--use-fake-loc): New var.
3439 (python-shell-buffer-substring): Obey it. Try to compensate for the
3440 extra coding line added by python-shell--save-temp-file.
3441 (python-shell-send-region): Use python-shell--save-temp-file and
3442 python-shell-send-file directly. Add `nomain' argument.
3443 (python-shell-send-buffer): Use python-shell-send-region.
3444 (python-electric-pair-string-delimiter): New function.
3445 (python-mode): Use it.
3447 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3449 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3450 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3451 environment and decoding all of the default-directory's to here
3453 (command-line): Decode also argv[0].
3455 * loadup.el: Error out if default-directory is a multibyte string
3456 when we are dumping.
3458 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3460 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3462 * emacs-lisp/package.el (package-menu-mode)
3463 (package-menu--print-info, package-menu--archive-predicate):
3464 Add Archive column to package list.
3466 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3468 Fix problems found while writing a test suite.
3470 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3471 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3472 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3473 to nil when running original file name handler. Otherwise,
3474 there are problems with constructs like "$$FOO".
3476 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3479 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3481 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3483 * subr.el (version<, version<=, version=):
3484 Update docstrings with information for snapshot versions.
3486 * helpers.el: New library for misc helper functions.
3487 (hash-table-keys): New function returning a list of hash keys.
3488 (hash-table-values): New function returning a list of hash values.
3490 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3492 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3493 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3495 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3497 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3498 checking whether point is after a 1-letter word.
3500 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3502 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3503 Don't infloop when expanding region over `multiline' syntax-type that
3504 begins a line (bug#15778).
3506 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3509 Make it into a proper minor mode.
3510 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3511 (rectangle-mark-mode-map): New keymap.
3512 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3514 2013-11-04 Glenn Morris <rgm@gnu.org>
3516 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3518 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3520 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3521 (ruby-smie-rules): Use smie-rule-parent instead.
3523 * emacs-lisp/smie.el (smie-rule-parent): Always call
3524 smie-indent-virtual rather than only for hanging tokens.
3525 (smie--next-indent-change): New helper command.
3527 2013-11-03 Glenn Morris <rgm@gnu.org>
3529 * Makefile.in (abs_srcdir): Remove.
3530 (emacs): Unset EMACSLOADPATH.
3532 2013-11-02 Glenn Morris <rgm@gnu.org>
3534 * Makefile.in (EMACS): Use a relative filename.
3535 (abs_top_builddir): Remove.
3536 (custom-deps, finder-data, autoloads): Use --chdir.
3538 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3540 Use relative filenames in TAGS files.
3541 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3542 (lisptagsfiles4, TAGS): Use relative file names.
3543 (TAGS-LISP): Remove.
3544 (maintainer-clean): No more TAGS-LISP file.
3546 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3547 (lisptagsfiles4): Use absolute filenames again.
3548 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3549 Remove all *loaddefs files, not just the first. Remove esh-groups.
3550 (maintainer-clean): Delete TAGS, TAGS-LISP.
3552 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3554 * emacs-lisp/package.el (package-version-join):
3555 Recognize snapshot versions.
3557 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3559 * subr.el (version-regexp-alist): Add support for snapshot versions.
3561 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3563 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3564 New function, replacement for `smie-rule-parent' for when we want to
3565 skip over our direct parent if it's an assignment token..
3566 (ruby-smie-rules): Use it.
3568 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3570 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3571 unconditionally. Remove now unnecessary forward declarations.
3572 Remove XEmacs-specific setup.
3573 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3574 (ruby-font-lock-syntactic-keywords)
3575 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3576 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3577 (ruby-here-doc-end-syntax): Remove.
3578 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3579 defined as function.
3581 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3583 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3585 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3587 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3588 table and abbrev table, `define-derived-mode' does that for us
3591 2013-11-01 Glenn Morris <rgm@gnu.org>
3593 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3594 files is atomic for some time, so no parallel compilation issues).
3596 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3598 * faces.el (face-x-resources): Add :distant-foreground.
3599 (region): Use :distant-foreground for gtk and ns.
3601 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3603 Allow multiple bibliographies when BibLaTeX is used rather than
3605 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3606 (reftex-locate-bibliography-files): Us it.
3608 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3610 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3611 allow comments in pbm files.
3613 * term/w32-win.el (dynamic-library-alist): Support newer versions
3614 of libjpeg starting with v7: look only for the DLL from the
3615 version against which Emacs was built.
3616 Support versions of libpng beyond 1.4.x.
3617 Support libtiff v4.x.
3619 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3621 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3622 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3624 (ruby-deep-arglist): Add property :type.
3626 2013-10-31 Glenn Morris <rgm@gnu.org>
3628 * Makefile.in (custom-deps, finder-data): No need to setq the target
3629 variables, we are in the right directory and the defaults work fine.
3631 2013-10-30 Glenn Morris <rgm@gnu.org>
3633 * Makefile.in (autoloads): Do not use abs_lisp.
3635 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3636 `newline' does not respect `standard-output', so use `princ'.
3638 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3640 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3641 * buff-menu.el (Buffer-menu--unmark): New function.
3642 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3644 2013-10-30 Glenn Morris <rgm@gnu.org>
3646 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3648 * emacs-lisp/package.el (lm-homepage): Declare.
3650 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3653 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3655 * Makefile.in (finder-data, autoloads, update-subdirs)
3656 (compile-main, compile-clean, compile-always, bootstrap-clean):
3657 Check return value of cd.
3658 (compile-calc): Remove.
3660 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3662 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3664 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3665 (byte-compile-and-folded): New function.
3666 (=, <, >, <=, >=): Use it.
3668 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3669 (path-separator, null-device, buffer-file-coding-system)
3670 (lpr-headers-switches): Check system-type before modifying them.
3671 (find-buffer-file-type-coding-system): Mark obsolete.
3672 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3673 find-file-not-found-set-buffer-file-coding-system.
3674 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3675 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3676 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3677 (w32-direct-print-region-helper, w32-direct-print-region-function)
3678 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3679 * startup.el (normal-top-level-add-subdirs-to-load-path):
3680 * ps-print.el (ps-print-region-function):
3681 * lpr.el (print-region-function): Use new name.
3683 * subr.el (custom-declare-variable-early): Remove function.
3684 (custom-declare-variable-list): Remove var.
3685 (error, user-error): Remove `while' loop.
3686 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3687 (user-emacs-directory-warning, locate-user-emacs-file):
3689 * simple.el (read-quoted-char-radix, read-quoted-char):
3690 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3692 * custom.el (custom-declare-variable-list): Don't process
3693 custom-declare-variable-list.
3695 * progmodes/python.el (python-shell-get-buffer): New function.
3696 (python-shell-get-process): Use it.
3697 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3698 Python which encoding was used. Don't split-string since we only care
3699 about the first line. Return the temp-file, if applicable.
3700 (python-shell-send-region): Tell compile.el how to turn locations in
3701 the temp-file into locations in the source buffer.
3703 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3705 * subr.el (undefined): Add missing behavior from the C code for
3708 * rect.el: Use lexical-binding. Add new rectangular region support.
3709 (rectangle-mark): New command.
3710 (rectangle--region): New var.
3711 (deactivate-mark-hook): Reset rectangle--region.
3712 (rectangle--extract-region, rectangle--insert-for-yank)
3713 (rectangle--highlight-for-redisplay)
3714 (rectangle--unhighlight-for-redisplay): New functions.
3715 (region-extract-function, redisplay-unhighlight-region-function)
3716 (redisplay-highlight-region-function): Use them to handle
3718 * simple.el (region-extract-function): New var.
3719 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3720 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3721 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3722 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3723 (redisplay-unhighlight-region-function)
3724 (redisplay-highlight-region-function): New vars.
3725 (redisplay--update-region-highlight): New function.
3726 (pre-redisplay-function): Use it.
3727 (exchange-point-and-mark): Don't deactivate the mark before
3728 reactivate-it anyway.
3729 * comint.el (comint-kill-region): Remove yank-handler argument.
3730 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3731 (delete-char): Remove property, since it's now part of their
3733 (self-insert-iso): Remove property since this command doesn't exist.
3735 * emacs-lisp/package.el (package--download-one-archive)
3736 (describe-package-1): Don't query the user about final newline.
3738 2013-10-29 Daniel Colascione <dancol@dancol.org>
3740 * net/tramp.el (tramp-methods): Document new functionality.
3741 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3742 tramp-hostname-checker if method provides one instead of scanning
3743 argument list for "%h" to decide hostname acceptability.
3745 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3747 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3748 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3749 Handle COPY-CONTENTS. (Bug#15737)
3751 2013-10-28 Daiki Ueno <ueno@gnu.org>
3754 (epa-file-cache-passphrase-for-symmetric-encryption):
3755 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3757 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3759 * image.el (defimage):
3760 (image-load-path): Doc fixes.
3762 2013-10-27 Alan Mackenzie <acm@muc.de>
3764 Indent statements in macros following "##" correctly.
3765 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3766 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3768 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3770 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3772 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3774 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3775 after `=' is probably a new expression.
3777 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3779 * man.el (man-imenu-title): New option.
3780 (Man-mode-map): Add menu. (Bug#15722)
3781 (Man-mode): Add imenu to menu.
3783 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3785 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3786 specific in what the first arg can be: a non-keyword word,
3787 string/regexp/percent literal opener, opening paren, or unary
3788 operator followed directly by word.
3790 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3793 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3794 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3795 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3796 Remove vars, they do not apply any more.
3797 (prolog-mode-abbrev-table): Remove redundant declaration.
3798 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3799 (prolog-use-smie): Remove.
3800 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3801 supported by prolog-electric-if-then-else-flag.
3802 (prolog-mode-variables, prolog-menu): Use setq-local.
3803 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3804 Remove binding to `Backspace' since this key doesn't exist anyway.
3805 Remove bindings for electric self-inserting keys.
3806 (prog-mode): Assume it's defined.
3807 (prolog-post-self-insert): New function.
3808 (prolog-mode): Use it.
3809 (prolog-indent-line, prolog-indent-level)
3810 (prolog-find-indent-of-matching-paren)
3811 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3812 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3813 (prolog-goto-next-paren, prolog-in-string-or-comment)
3814 (prolog-tokenize, prolog-inside-mline-comment)
3815 (prolog-find-start-of-mline-comment): Remove functions.
3816 (prolog-find-unmatched-paren, prolog-clause-end)
3817 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3818 (prolog-electric--if-then-else): Rename from
3819 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3820 (prolog-tokenize-searchkey): Remove const.
3821 (prolog-clause-info): Use forward-sexp.
3822 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3823 (prolog-electric-if-then-else): Remove commands.
3824 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3825 for use in post-self-insert-hook.
3826 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3827 for use in post-self-insert-hook.
3828 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3829 for use in post-self-insert-hook.
3830 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3831 adapt it for use in post-self-insert-hook.
3833 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3835 * emacs-lisp/ert.el (ert-run-tests-interactively):
3836 Use `completing-read'. (Bug#9756)
3838 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3840 * simple.el (line-move): Call line-move-1 instead of
3841 line-move-visual when the current window hscroll is zero, but
3842 temporary-goal-column indicates we will need to hscroll as result
3843 of the movement. (Bug#15712)
3845 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3847 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3848 capitalization. Use :visible instead of :active.
3849 Fix `ruby-indent-exp' reference. Add menu items for the generic
3850 commands that are used with SMIE.
3851 (ruby-do-end-to-brace): Insert space after `{'.
3853 2013-10-25 John Anthony <john@jo.hnanthony.com>
3855 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3857 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3859 2013-10-25 Glenn Morris <rgm@gnu.org>
3861 * vc/vc.el (vc-print-log): Don't use a working revision unless
3862 one was explicitly specified. (Bug#15322)
3864 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3866 * subr.el (add-to-list): Preserve return value in compiler-macro
3869 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3871 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3872 result. Ask user to retry using '-all' flag. (Bug#15701)
3874 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3876 * emacs-lisp/smie.el: New smie-config system.
3877 (smie-config): New defcustom.
3878 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3879 (smie-config-guess, smie-config-save): New commands.
3880 (smie-config--mode-local, smie-config--buffer-local)
3881 (smie-config--trace, smie-config--modefuns): New vars.
3882 (smie-config--advice, smie-config--mode-hook)
3883 (smie-config--setter, smie-config-local, smie-config--get-trace)
3884 (smie-config--guess-value, smie-config--guess): New functions.
3885 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3886 text properties. Treat "string fence" syntax like string syntax.
3888 * progmodes/sh-script.el (sh-use-smie): Change default.
3889 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3890 (sh-var-value): Simplify by CSE.
3891 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3892 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3894 (sh-guess-basic-offset): Use cl-incf.
3895 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3897 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3899 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3902 2013-10-24 Glenn Morris <rgm@gnu.org>
3904 * Makefile.in (abs_top_srcdir): Remove.
3905 (update-subdirs): Use relative path to update-subdirs.
3907 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3909 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3910 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3911 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3912 Call unmsys--file-name before expand-file-name, not after it.
3914 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3916 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3917 (ert-test-skipped): New error.
3918 (ert-skip, ert-stats-skipped): New defuns.
3919 (ert--skip-unless): New macro.
3920 (ert-test-skipped): New struct.
3921 (ert--run-test-debugger, ert-test-result-type-p)
3922 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3923 (ert--stats-set-test-and-result, ert-char-for-test-result)
3924 (ert-string-for-test-result, ert-run-tests-batch)
3925 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3926 Handle skipped tests. (Bug#9803)
3928 2013-10-24 Glenn Morris <rgm@gnu.org>
3930 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3932 * Makefile.in (abs_top_srcdir): New, set by configure.
3933 (update-subdirs): Correct build-aux location.
3935 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3937 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3938 value, whether we could auto-deduce `backend', or not.
3940 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3941 with parameters" example. Simplify the "is it block or is it
3942 hash" check, but also make it more thorough.
3944 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3946 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3948 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3953 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3956 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3958 * progmodes/compile.el (compilation-directory-matcher)
3959 (compilation-page-delimiter):
3960 Support GNU Make-4.0 directory quoting. (Bug#15678)
3962 2013-10-23 Leo Liu <sdl.web@gmail.com>
3964 * ido.el (ido-tidy): Handle read-only text.
3966 2013-10-23 Glenn Morris <rgm@gnu.org>
3968 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3969 (emacs, compile, compile-always):
3970 Quote entities that might contain whitespace.
3971 (custom-deps, finder-data, autoloads): Use abs_lisp.
3972 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3973 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3974 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3976 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3978 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3979 Use `following-char'.
3981 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3984 * progmodes/ruby-mode.el (ruby-smie-rules):
3985 Remove corresponding workaround. Fix indentation rule of ";" so it
3986 also applies when ";" is the parent.
3988 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3990 * frame.el (display-screens, display-pixel-height)
3991 (display-pixel-width, display-mm-width, display-backing-store)
3992 (display-save-under, display-planes, display-color-cells)
3993 (display-visual-class, display-monitor-attributes-list):
3994 Mention the optional ‘display’ argument in doc strings.
3996 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3998 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3999 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4001 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4003 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4004 TODO. Add "." after " @ ".
4005 (ruby-smie--at-dot-call): New function. Checks if point at method
4006 call with explicit target.
4007 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4008 to the method name tokens when it precedes them.
4009 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4010 (ruby-smie-rules): Add rule for indentation before and after "."
4013 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4015 * textmodes/remember.el (remember-diary-extract-entries):
4018 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4021 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4023 * progmodes/ruby-mode.el (ruby-smie-grammar):
4024 Add (almost) all infix operators.
4025 (ruby-smie--implicit-semi-p): Add new operator chars.
4027 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4029 (ruby-smie--args-separator-p): Check that there's no newline
4030 between method call and its arguments.
4032 2013-10-20 Alan Mackenzie <acm@muc.de>
4034 Allow comma separated lists after Java "implements".
4036 * progmodes/cc-engine.el (c-backward-over-enum-header):
4038 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4039 from a "disallowed" list in enum fontification.
4041 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4043 * startup.el (default-frame-background-mode): Remove unused defvar.
4045 * progmodes/verilog-mode.el (verilog-mode): Don't set
4046 comment-indent-function globally.
4048 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4050 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4051 Move Info menu item creation to ns-win.el.
4053 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4056 * menu-bar.el: Move GNUstep specific menus...
4058 * term/ns-win.el (ns-initialize-window-system): ... to here.
4060 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * simple.el (newline): Only run post-self-insert-hook when
4063 called interactively.
4065 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4067 * icomplete.el (icomplete-with-completion-tables): Add :version.
4069 2013-10-19 Alan Mackenzie <acm@muc.de>
4071 Fix fontification bugs with constructors and const.
4073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4074 CASE 2) Remove the check for the absence of a suffix construct
4075 after a function declaration with only types (no identifiers) in
4076 the parentheses. Also, accept a function declaration with just a
4077 type inside the parentheses, if this type can be positively
4078 recognised as such, or if a prefix keyword like "explicit" nails
4079 down the construct as a declaration.
4081 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4083 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4084 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4085 the problem whereby selecting a menu item that leads to a
4086 minibuffer prompt moves the cursor out of the minibuffer window,
4087 making it hard to type at the prompt. Suggested by Stefan Monnier
4088 <monnier@iro.umontreal.ca>.
4090 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4092 * menu-bar.el: Don't make Services menu.
4094 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4096 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4097 (ffap-alist): Use ffap-c++-mode for c++-mode.
4098 (ffap-c++-path): New variable.
4099 (ffap-c++-mode): New function.
4101 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4103 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4105 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4107 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4108 introduced on 2013-09-08, which results in an infinite loop
4109 requesting a password.
4111 2013-10-18 Glenn Morris <rgm@gnu.org>
4113 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4115 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4117 Sync with upstream verilog-mode revision 1a6ecec7.
4118 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4119 (verilog-mode-release-date): Remove.
4120 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4121 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4122 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4123 (verilog-auto-tieoff-ignore-regexp)
4124 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4125 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4126 (verilog-signals-with, verilog-dir-cache-preserving)
4127 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4129 (verilog-case-fold): New option, to control case folding in
4130 regexp searches, bug597.
4131 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4132 (verilog-string-match-fold, verilog-in-paren-count)
4133 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4134 (verilog-at-close-struct-p): New functions.
4135 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4136 (verilog-forward-sexp, verilog-set-auto-endcomments):
4137 (verilog-leap-to-case-head): Handle "unique0" case.
4138 (verilog-in-constraint-re): New constant.
4139 (verilog-keywords, verilog-type-font-keywords):
4140 Add some SystemVerilog 1800-2012 keywords.
4141 (verilog-label-be): Remove unimplemented argument, bug669.
4142 (verilog-batch-execute-func): When batch expanding clear
4143 create-lockfiles to prevent spurious user locks when a file ends
4145 (verilog-calculate-indent, verilog-calc-1)
4146 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4147 (verilog-do-indent): Fix indentation of nested constraints
4149 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4150 (verilog-auto-inst-param): Use verilog-string-match-fold.
4151 (verilog-read-inst-module-matcher):
4152 Fix AUTOINST on gate primitives with #1.
4153 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4154 Reads all user-defined typed variables.
4155 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4156 (verilog-signals-matching-regexp)
4157 (verilog-signals-not-matching-regexp, verilog-auto):
4158 Respect verilog-case-fold.
4159 (verilog-diff-report): Fix line count.
4160 (verilog-auto-assign-modport): Remove unused local `modi'.
4161 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4162 better handle multidimensional arrays.
4163 Fix packed array ports misadding bit index in AUTOINST, bug637.
4164 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4165 to not double-declare existing outputs and inputs, respectively.
4166 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4167 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4168 (verilog-sk-uvm-component): New skeleton.
4169 (verilog-submit-bug-report): Add verilog-case-fold,
4170 remove verilog-mode-release-date.
4172 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4174 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4177 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4179 * textmodes/remember.el (remember): Set buffer-offer-save in
4180 remember buffers (bug#13566).
4182 2013-10-18 Daniel Colascione <dancol@dancol.org>
4184 When evaluating forms in ielm, direct standard output to ielm
4185 buffer. Add new ielm-return-for-effect command. Remove trailing
4186 whitespace throughout.
4188 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4189 (ielm-return-for-effect): New command.
4190 (ielm-send-input): Accept optional `for-effect' parameter.
4191 (ielm-eval-input): Accept optional `for-effect' parameter.
4192 Bind `standard-output' to stream we create using
4193 `ielm-standard-output-impl'. Suppress printing result when
4195 (ielm-standard-output-impl): New function.
4196 (inferior-emacs-lisp-mode): Explain new features in documentation.
4198 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4202 * net/tramp.el (tramp-debug-message): Do not check for connection
4204 (tramp-message): Use "vector" connection property.
4206 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4207 (tramp-equal-remote, tramp-eshell-directory-change)
4208 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4209 (tramp-adb-handle-rename-file)
4210 * net/tramp-cmds.el (tramp-list-remote-buffers)
4211 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4212 * net/tramp-compat.el (tramp-compat-process-running-p)
4213 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4214 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4215 (tramp-gvfs-handle-rename-file)
4216 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4217 (tramp-set-file-uid-gid)
4218 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4219 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4222 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4223 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4224 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4225 (tramp-gw-open-network-stream): Suppress unrelated traces.
4227 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4228 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4229 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4230 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4231 connection property.
4233 * net/tramp-cache.el (top): Suppress traces when reading
4236 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4237 Refactor common code. Improve debug message.
4238 (tramp-maybe-open-connection)
4239 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4240 connection buffer too early.
4242 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4243 from `tramp-smb-actions-with-acl'.
4244 (tramp-smb-actions-set-acl): New defconst.
4245 (tramp-smb-handle-copy-directory)
4246 (tramp-smb-action-get-acl): New defun, renamed from
4247 `tramp-smb-action-with-acl'.
4248 (tramp-smb-action-set-acl): New defun.
4249 (tramp-smb-handle-set-file-acl): Rewrite.
4251 2013-10-17 Glenn Morris <rgm@gnu.org>
4253 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4255 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * skeleton.el (skeleton-newline): Remove.
4258 (skeleton-internal-1): Use (insert "\n") instead.
4260 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4263 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4264 forward-sexp-function while we redo its job (bug#15613).
4266 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4268 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4269 represented by lists.
4271 2013-10-16 Glenn Morris <rgm@gnu.org>
4273 * tmm.el (tmm--history): New dynamic variable.
4274 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4276 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4278 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4279 (tramp-smb-errors): Add error messages.
4280 (tramp-smb-actions-with-acl): New defconst.
4281 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4282 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4283 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4284 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4285 (tramp-smb-get-stat-capability): Fix tests.
4287 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4289 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4292 2013-10-16 Glenn Morris <rgm@gnu.org>
4294 * ansi-color.el (ansi-color-drop-regexp):
4295 Add 1J, 1K, 2K. (Bug#15617)
4297 * files.el (hack-local-variables--warned-lexical): New.
4298 (hack-local-variables):
4299 Warn about misplaced lexical-binding. (Bug#15616)
4301 * net/eww.el (eww-render): Always set eww-current-url,
4302 and update header line. (Bug#15622)
4303 (eww-display-html): ... Rather than just doing it here.
4305 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4307 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4308 menu navigations commands.
4310 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4312 * progmodes/subword.el (subword-capitalize): Be careful when
4313 the search for [[:alpha:]] fails (bug#15580).
4315 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4317 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4318 to commands that scroll the menu.
4320 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4322 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4323 Handle methods ending with `?' and `!'.
4325 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4327 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4328 `japanese-cp932' to `cp932' to fix the problem where saving a
4329 source file written in Shift_JIS twice would end up having
4330 `coding: japanese-cp932' which Ruby could not recognize.
4331 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4332 in `ruby-encoding-map'.
4333 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4334 doesn't need to be explicitly declared in magic comment.
4335 (ruby-encoding-map): Add type declaration for better customize UI.
4337 2013-10-13 Glenn Morris <rgm@gnu.org>
4339 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4340 Occur buffers are read-only. http://bugs.debian.org/720775
4342 * emacs-lisp/authors.el (authors-fixed-entries):
4343 Comment out old alpha stuff.
4345 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4347 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4348 to `after-save-hook' instead of `before-save-hook'.
4349 (ruby-mode-set-encoding): Use the value of coding system used to
4350 write the file. Call `basic-save-buffer-1' after modifying the
4353 2013-10-13 Alan Mackenzie <acm@muc.de>
4355 Fix indentation/fontification of Java enum with
4356 "implements"/generic.
4358 * progmodes/cc-engine.el (c-backward-over-enum-header):
4359 Extracted from the three other places and enhanced to handle generics.
4360 (c-inside-bracelist-p): Uses new function above.
4361 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4363 (c-font-lock-enum-tail): Uses new function above.
4365 2013-10-13 Kenichi Handa <handa@gnu.org>
4367 * international/mule-cmds.el (select-safe-coding-system): Remove a
4368 superfluous condition in chekcing whether a coding system is safe
4371 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4373 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4375 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4377 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4379 2013-10-13 Glenn Morris <rgm@gnu.org>
4381 * menu-bar.el (menu-bar-update-buffers):
4382 Unify Buffers menu prompt string. (Bug#15576)
4384 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4386 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4388 (authors-fixed-entries): Use accented form of name.
4390 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4393 method calls (bug#15594).
4394 (ruby-smie--args-separator-p): New function.
4395 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4396 recognize paren-free method calls.
4398 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4399 internals of universal-argument.
4401 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4403 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4404 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4405 dropped menu on second mouse click on the menu bar.
4407 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4410 (explicit-shell-file-name): Declare.
4411 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4412 (sh-completion-at-point-function): New function.
4414 (sh-smie--keyword-p): Remove unused argument.
4415 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4417 (sh-set-shell): Always setup SMIE, even if we use the
4418 old indentation code.
4420 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4422 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4424 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4425 predicate would return nil are almost non-existent.
4426 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4428 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4429 cache also after commands that modify the buffer but don't move
4432 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4434 * env.el (substitute-env-in-file-name): New function.
4435 (substitute-env-vars): Extend the meaning of the optional arg.
4437 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4439 * term/w32-win.el (dynamic-library-alist): Define separate lists
4440 of GIF DLLs for versions before and after 5.0.0 of giflib.
4443 2013-10-10 João Távora <joaotavora@gmail.com>
4445 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4446 not locked, use last revision and current source as
4447 defaults. (Bug#15569)
4449 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4451 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4454 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4456 * window.el (pop-to-buffer-same-window): Fix doc-string.
4459 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4461 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4463 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4465 * calendar/icalendar.el (icalendar-import-file):
4466 Fix interactive spec. (Bug#15482)
4468 2013-10-10 Glenn Morris <rgm@gnu.org>
4470 * desktop.el (desktop-save): Default to saving in .emacs.d,
4471 since PWD is no longer in desktop-path by default. (Bug#15319)
4473 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4474 now that text mode has a menu with the same entry.
4475 (menu-bar-text-mode-auto-fill): Remove now unused func.
4476 * textmodes/text-mode.el (text-mode-map):
4477 Use auto-fill help text from menu-bar.el.
4479 2013-10-10 John Anthony <john@jo.hnanthony.com>
4481 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4483 2013-10-09 Juri Linkov <juri@jurta.org>
4485 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4486 instead of this-command-keys. Add universal-argument-more and
4487 universal-argument-minus to the list of prefix commands. (Bug#15568)
4489 2013-10-09 Glenn Morris <rgm@gnu.org>
4491 * vc/vc-svn.el (vc-svn-create-repo):
4492 Expand paths in file://... url. (Bug#15446)
4494 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4496 (authors): Remove unused local variables.
4498 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4500 * profiler.el: Create a more coherent calltree from partial backtraces.
4501 (profiler-format): Hide the tail with `invisible' so that C-s can still
4502 find the hidden elements.
4503 (profiler-calltree-depth): Don't recurse so enthusiastically.
4504 (profiler-function-equal): New hash-table-test.
4505 (profiler-calltree-build-unified): New function.
4506 (profiler-calltree-build): Use it.
4507 (profiler-report-make-name-part): Indent the calltree less.
4508 (profiler-report-mode): Add visibility specs for profiler-format.
4509 (profiler-report-expand-entry, profiler-report-toggle-entry):
4510 Expand the whole subtree when provided with a prefix arg.
4512 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4514 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4516 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4517 hanging iuwu-mod token.
4518 (ruby-smie--forward-token): Do not include a dot after a token in
4520 (ruby-smie--backward-token): Likewise.
4522 2013-10-08 Juri Linkov <juri@jurta.org>
4524 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4525 to isearch-other-control-char.
4526 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4527 and isearch-post-command-hook to post-command-hook.
4528 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4529 and isearch-post-command-hook from post-command-hook.
4530 (isearch-unread-key-sequence)
4531 (isearch-reread-key-sequence-naturally)
4532 (isearch-lookup-scroll-key, isearch-other-control-char)
4533 (isearch-other-meta-char): Remove functions.
4534 (isearch-pre-command-hook, isearch-post-command-hook):
4535 New functions based on isearch-other-meta-char rewritten
4536 relying on the new behavior of overriding-terminal-local-map
4537 that does not replace the local keymaps any more. (Bug#15200)
4539 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4541 Support menus on text-mode terminals.
4542 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4545 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4547 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4548 Move here from mouse.el.
4549 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4551 (tty-menu-navigation-map): New map for TTY menu navigation.
4553 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4555 * frame.el (display-mouse-p): Report text-mode mouse as available
4557 (display-popup-menus-p): Report availability if mouse is
4558 available; don't condition on window-system.
4560 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4561 (tty-menu-selected-face): New faces.
4563 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4566 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4567 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4568 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4570 (lisp-mode-variables): New `elisp' argument.
4571 (emacs-lisp-mode): Use it.
4572 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4573 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4575 * indent.el: Use lexical-binding.
4576 (indent-region): Add progress reporter.
4577 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4579 (indent--next-tab-stop): New function to implement this behavior.
4580 (tab-to-tab-stop, move-to-tab-stop): Use it.
4582 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4584 * indent.el (indent-rigidly--current-indentation): New function.
4585 (indent-rigidly-map): New var.
4586 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4588 2013-10-08 Bastien Guerry <bzg@gnu.org>
4590 * register.el (insert-register): Fix 2013-10-07 change.
4592 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * progmodes/perl-mode.el: Use lexical-binding.
4595 Remove redundant :group args.
4596 (perl-nochange): Change default to be closer to other major modes's
4598 (perl-indent-line): Don't consider text on current line as a
4599 valid beginning of function from which to indent.
4601 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4602 with more than one argument (bug#15538).
4604 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4606 * vc/pcvs.el: Use lexical-binding.
4607 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4608 environment of `eval'.
4609 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4610 than a list of expressions. Adjust callers.
4611 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4613 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4615 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4616 case of the dot in a chained method call being on the following line.
4618 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4620 * electric.el (electric-indent-inhibit): New var.
4621 (electric-indent-post-self-insert-function): Use it.
4622 * progmodes/python.el (python-mode): Set it.
4624 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4627 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4629 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4630 (css-mode): Use electric-indent-chars.
4632 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4633 (font-lock-beg, font-lock-end): Move before first use.
4634 (nxml-mode): Use syntax-propertize-function.
4635 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4636 (nxml-extend-after-change-region): Remove.
4637 * nxml/xmltok.el: Use lexical-binding.
4638 (xmltok-save): Use `declare'.
4639 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4640 * nxml/nxml-util.el: Use lexical-binding.
4641 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4643 * nxml/nxml-ns.el: Use lexical-binding.
4644 (nxml-ns-save): Use `declare'.
4645 (nxml-ns-prefixes-for): Avoid add-to-list.
4646 * nxml/rng-match.el: Use lexical-binding.
4647 (rng--ipattern): Use cl-defstruct.
4648 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4649 (rng-cons-group-after, rng-subst-group-after)
4650 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4651 Use closures instead of `(lambda...).
4653 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4655 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4658 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4659 Use `tramp-handle-insert-file-contents'.
4660 (tramp-gvfs-handle-insert-file-contents): Remove function.
4662 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4663 Use `save-restriction' in order to keep markers.
4665 * net/trampver.el: Update release number.
4667 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * progmodes/compile.el (compilation-parse-errors):
4670 Use compilation--put-prop.
4671 (compilation--ensure-parse): Check compilation-multiline.
4673 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4675 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4678 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4680 * progmodes/ruby-mode.el: Fix recently added tests.
4681 (ruby-smie-grammar): Add - and +.
4682 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4683 (ruby-smie--backward-id): New functions.
4684 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4685 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4688 2013-10-07 Leo Liu <sdl.web@gmail.com>
4690 * register.el (register-preview-delay)
4691 (register-preview-functions): New variables.
4692 (register-read-with-preview, register-preview)
4693 (register-describe-oneline): New functions.
4694 (point-to-register, window-configuration-to-register)
4695 (frame-configuration-to-register, jump-to-register)
4696 (number-to-register, view-register, insert-register)
4697 (copy-to-register, append-to-register, prepend-to-register)
4698 (copy-rectangle-to-register): Use register-read-with-preview to
4699 read register. (Bug#15525)
4701 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4703 * net/network-stream.el (network-stream-open-starttls): Don't add
4704 --insecure if it's already present, because that gnutls-cli
4705 rejects getting that parameter twice.
4707 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4709 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4712 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4714 * newcomment.el (comment-use-global-state): Change default value
4715 to t, mark obsolete (Bug#15251).
4716 (comment-beginning): In addition to `comment-to-syntax', check the
4717 value of `comment-use-global-state'.
4719 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4721 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4722 (ruby-comment-column): Follow the global default, by default.
4723 (ruby-smie-grammar): Add assignment syntax.
4724 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4725 open-paren, a comma, or a \.
4726 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4727 and line continuations.
4728 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4729 followed by implicit semi-colons. Add rule for string concatenation
4730 and for indentation at BOB.
4731 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4733 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4734 calling next-sexp, since next-token may have skipped chars which
4735 next-sexp doesn't know should be skipped!
4737 2013-10-05 Leo Liu <sdl.web@gmail.com>
4739 * progmodes/octave.el (octave-send-region):
4740 Call compilation-forget-errors.
4742 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4744 * vc/vc-svn.el (vc-svn-find-admin-dir):
4745 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4746 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4747 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4748 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4750 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4754 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4756 * subr.el (read-passwd): Hide chars even when called within a context
4757 where after-change-functions is disabled (bug#15501).
4758 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4759 until we removed ourself from overriding-terminal-local-map.
4761 2013-10-04 Leo Liu <sdl.web@gmail.com>
4763 * progmodes/octave.el (inferior-octave-mode):
4764 Call compilation-forget-errors.
4766 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4768 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4770 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4772 * net/secrets.el (secrets-create-collection): Add optional
4773 argument ALIAS. Use proper Label keyword. Append ALIAS as
4774 dbus-call-method argument. (Bug#15516)
4776 2013-10-04 Leo Liu <sdl.web@gmail.com>
4778 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4779 (inferior-octave-compilation-font-lock-keywords): New variables.
4780 (compilation-error-regexp-alist)
4781 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4782 (inferior-octave-mode): Use compilation-shell-minor-mode.
4784 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4786 * minibuffer.el (completion--replace): Be careful that `end' might be
4789 2013-10-03 Daiki Ueno <ueno@gnu.org>
4791 Add support for package signature checking.
4792 * emacs-lisp/package.el (url-http-file-exists-p)
4793 (epg-make-context, epg-context-set-home-directory)
4794 (epg-verify-string, epg-context-result-for)
4795 (epg-signature-status, epg-signature-to-string)
4796 (epg-check-configuration, epg-configuration)
4797 (epg-import-keys-from-file): Declare.
4798 (package-check-signature): New user option.
4799 (package-unsigned-archives): New user option.
4800 (package-desc): Add `signed' field.
4801 (package-load-descriptor): Set `signed' field if .signed file exists.
4802 (package--archive-file-exists-p): New function.
4803 (package--check-signature): New function.
4804 (package-install-from-archive): Check package signature.
4805 (package--download-one-archive): Check archive signature.
4806 (package-delete): Remove .signed file.
4807 (package-import-keyring): New command.
4808 (package-refresh-contents): Import default keyring.
4809 (package-desc-status): Add "unsigned" status.
4810 (describe-package-1, package-menu--print-info)
4811 (package-menu-mark-delete, package-menu--find-upgrades)
4812 (package-menu--status-predicate): Support "unsigned" status.
4814 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4816 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4817 the new compilation scheme using the new byte-codes.
4819 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4820 (byte-pophandler): New byte codes.
4821 (byte-goto-ops): Adjust accordingly.
4822 (byte-compile--use-old-handlers): New var.
4823 (byte-compile-catch): Use new byte codes depending on
4824 byte-compile--use-old-handlers.
4825 (byte-compile-condition-case--old): Rename from
4826 byte-compile-condition-case.
4827 (byte-compile-condition-case--new): New function.
4828 (byte-compile-condition-case): New function that dispatches depending
4829 on byte-compile--use-old-handlers.
4830 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4833 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4834 Optimize under `condition-case' and `catch' if
4835 byte-compile--use-old-handlers is nil.
4836 (disassemble-offset): Handle new bytecodes.
4838 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4840 * subr.el (error): Use `declare'.
4841 (decode-char, encode-char): Use advertised-calling-convention instead
4842 of the docstring to discourage use of the `restriction' arg.
4844 2013-10-03 Daiki Ueno <ueno@gnu.org>
4846 * epg.el (epg-verify-file): Add a comment saying that it does not
4847 notify verification error as a return value nor a signal.
4848 (epg-verify-string): Ditto.
4850 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4852 * progmodes/compile.el (compilation-start): Try globbing the arg to
4855 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4857 Sync with Tramp 2.2.8.
4859 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4860 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4861 * net/trampver.el: Update release number.
4863 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4865 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4866 and default-process-coding-system for darwin only.
4868 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4870 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4872 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4874 * vc/vc-git.el (vc-git-grep): Disable pager.
4876 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4878 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4879 Use :url instead of :homepage, as per
4880 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4882 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4883 non-nil, use `syntax-ppss' (Bug#15251).
4885 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4887 * progmodes/octave.el (inferior-octave-startup-file):
4888 Prefer ~/.emacs.d/init_octave.m.
4890 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4892 * emacs-lisp/package.el (package-desc-from-define):
4893 Accept additional arguments as plist, convert them to an alist and store
4894 them in the `extras' slot.
4895 (package-generate-description-file): Convert extras alist back to
4896 plist and append to the `define-package' form arguments.
4897 (package--alist-to-plist): New function.
4898 (package--ac-desc): Add `extras' slot.
4899 (package--add-to-archive-contents): Check if the archive-contents
4900 vector is long enough, and if it is, pass its `extras' slot value
4901 to `package-desc-create'.
4902 (package-buffer-info): Call `lm-homepage', pass the returned value
4903 to `package-desc-from-define'.
4904 (describe-package-1): Render the homepage button (Bug#13291).
4906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4907 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4909 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4911 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4912 and default-process-coding-system to utf-8-unix (Bug#15402).
4914 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4916 * subr.el (looking-back): Do not recommend using looking-back.
4918 2013-09-28 Alan Mackenzie <acm@muc.de>
4920 Fix indentation/fontification of Java enum with "implements".
4922 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4923 regexp which matches "implements", etc., in Java.
4924 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4925 specifier clauses coming after "enum".
4926 * progmodes/cc-fonts.el (c-font-lock-declarations)
4927 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4930 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4932 * faces.el (region): Change ns_selection_color to
4933 ns_selection_fg_color, add ns_selection_bg_color.
4935 2013-09-28 Leo Liu <sdl.web@gmail.com>
4937 * progmodes/octave.el (inferior-octave-completion-table)
4938 (inferior-octave-completion-at-point): Minor tweaks.
4940 * textmodes/ispell.el (ispell-lookup-words): Rename from
4941 lookup-words. (Bug#15460)
4942 (lookup-words): Obsolete.
4943 (ispell-complete-word, ispell-command-loop): All uses changed.
4945 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4947 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4948 (octave-mode-menu): Add octave-send-buffer.
4949 (octave-send-buffer): New function.
4951 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4953 * progmodes/octave.el (octave-mode-map): Add key binding for
4955 (octave-mode-menu): Add octave-lookfor.
4956 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4958 (octave-lookfor): New function.
4960 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4962 * emacs-lisp/cl-macs.el:
4963 (cl--loop-destr-temps): Remove.
4964 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4966 (cl--loop-set-iterator-function): New function.
4967 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4968 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4969 Bind `it' with `let' instead of substituting it with `cl-subst'.
4970 (cl--unused-var-p): New function.
4971 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4972 Eliminate some unused variable warnings (bug#15326).
4974 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4976 * doc-view.el (doc-view-scale-reset): Rename from
4977 `doc-view-reset-zoom-level'.
4978 (doc-view-scale-adjust): New command.
4979 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4980 `doc-view-scale-adjust'.
4982 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4984 * doc-view.el (doc-view-reset-zoom-level): New command.
4985 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4986 zoom commands (bug#15466).
4988 2013-09-26 Kenichi Handa <handa@gnu.org>
4990 * international/quail.el (quail-help): Make it not a command.
4992 2013-09-26 Leo Liu <sdl.web@gmail.com>
4994 * minibuffer.el (completion-all-sorted-completions): Make args
4995 optional as they are.
4997 2013-09-25 Daniel Colascione <dancol@dancol.org>
4999 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5000 specs are and that they're not evaluated.
5002 2013-09-24 Sam Steingold <sds@gnu.org>
5004 * midnight.el (clean-buffer-list-kill-regexps)
5005 (clean-buffer-list-kill-buffer-names): Update for the new Man
5006 buffer naming which includes the object name.
5008 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5011 (eshell-parse-command, eshell-parse-pipeline): Use it since
5012 eshell-separate-commands requires a dynamic scoped var.
5013 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5015 2013-09-23 Leo Liu <sdl.web@gmail.com>
5017 * autoinsert.el (auto-insert-alist): Make the value of
5018 lexical-binding match its file setting.
5020 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5022 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5024 * autoarg.el (autoarg-kp-digit-argument):
5025 * electric.el (Electric-command-loop):
5026 * kmacro.el (kmacro-step-edit-insert):
5027 Do not set universal-argument-num-events.
5029 2013-09-22 Leo Liu <sdl.web@gmail.com>
5031 * files.el (interpreter-mode-alist): Add octave.
5033 2013-09-21 Alan Mackenzie <acm@muc.de>
5035 C++: fontify identifier in declaration following "public:" correctly.
5036 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5037 to match "public", etc.
5038 (c-decl-prefix-re): Add ":" into the C++ value.
5039 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5040 bit. Add a check for a ":" preceded by "public", etc.
5042 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5044 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5045 recognized by GDB 7.5 and later.
5047 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5049 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5051 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * subr.el (internal--call-interactively): New const.
5054 (called-interactively-p): Use it (bug#3984).
5056 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5058 * vc/pcvs.el (cvs-mode-ignore):
5059 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5060 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5062 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5064 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5065 (eshell-ls-orig-insert-directory): Remove.
5066 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5067 (eshell-ls-use-in-dired): Use advice-add/remove.
5068 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5069 Add `orig-fun' arg for use in :around advice.
5070 Make it check (redundantly) eshell-ls-use-in-dired.
5072 2013-09-19 Glenn Morris <rgm@gnu.org>
5074 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5076 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5078 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5080 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5082 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5083 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5084 (tramp-get-remote-python): New defuns.
5085 (tramp-get-remote-uid-with-perl)
5086 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5087 contributed by yary <not.com@gmail.com> (tiny change).
5088 (tramp-get-remote-uid-with-python)
5089 (tramp-get-remote-gid-with-python): New defuns. Python code
5090 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5091 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5093 2013-09-19 Glenn Morris <rgm@gnu.org>
5095 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5097 * eshell/em-unix.el (eshell-remove-entries):
5098 Rename argument to avoid name-clash with global `top-level'.
5100 * eshell/esh-proc.el (eshell-kill-process-function):
5101 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5102 (eshell-reset-after-proc): Remove unused arg `proc'.
5104 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5105 (directory-files-and-attributes): Mark unused arg.
5107 * eshell/em-unix.el (eshell-remove-entries):
5108 Remove unused arg `path'. Update callers.
5110 * eshell/em-hist.el (eshell-hist-parse-arguments):
5111 Remove unused arg `silent'. Update callers.
5113 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5114 Fix (f)boundp mix-up.
5116 * eshell/em-smart.el (eshell-smart-scroll-window)
5117 (eshell-disable-after-change):
5118 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5120 2013-09-18 Alan Mackenzie <acm@muc.de>
5122 Fix fontification of type when followed by "const".
5123 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5124 "known" types from fontification.
5126 2013-09-18 Glenn Morris <rgm@gnu.org>
5128 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5129 (chart-face-list): Drop Emacsen without display-color-p.
5131 * net/eww.el (libxml-parse-html-region): Declare.
5132 (eww-display-html): Explicit error if no libxml2 support.
5134 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5136 * image.el (image-type-from-buffer, image-multi-frame-p):
5137 Remove --without-x warning/error.
5139 * mouse.el (mouse-yank-primary):
5140 * term.el (term-mouse-paste):
5141 Reorder to silence --without-x compilation.
5143 * mpc.el (doc-view-mode): Silence --without-x compilation.
5145 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5146 Silence --without-x compilation.
5148 * progmodes/gud.el (gud-find-file, gud-mode):
5149 Silence --without-x compilation.
5150 (tooltip-mode): Declare.
5152 * wdired.el (dired-backup-overwrite): Remove declaration.
5153 (wdired-mode-map): Add doc string.
5155 * custom.el (x-get-resource): Declare.
5157 * eshell/em-glob.el (ange-cache):
5158 * eshell/em-unix.el (ange-cache): Declare.
5160 * faces.el (x-display-list, x-open-connection, x-get-resource):
5163 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5164 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5167 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5169 * net/gnutls.el (gnutls-log-level): Declare.
5171 * net/shr.el (image-size, image-animate): Declare.
5173 * simple.el (font-info): Declare.
5175 * subr.el (x-popup-dialog): Declare.
5177 * term/common-win.el (x-select-enable-primary)
5178 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5181 * term/ns-win.el (x-handle-args): Declare.
5183 * term/x-win.el (x-select-enable-clipboard): Declare.
5185 * term/w32-win.el (create-default-fontset): Declare.
5187 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5190 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5191 (fit-frame-to-buffer): Explicit error if --without-x.
5192 (mouse-autoselect-window-select): Silence compiler.
5194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5196 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5197 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5198 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5199 * eshell/esh-util.el (eshell-sublist):
5200 Remove unused local variables.
5202 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5204 * textmodes/two-column.el: Make 2C-split work for --without-x.
5205 (scroll-bar-columns): Autoload.
5206 (top-level): Require fringe when compiling.
5208 2013-09-18 Leo Liu <sdl.web@gmail.com>
5210 * subr.el (add-hook): Robustify to handle closure as well.
5212 2013-09-17 Glenn Morris <rgm@gnu.org>
5214 * simple.el (messages-buffer-mode-map): Unbind "g".
5216 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * help-mode.el (help-mode-finish): Use derived-mode-p.
5219 Remove obsolete highlighting.
5221 * play/life.el (life-mode): Use define-derived-mode. Derive from
5223 (life): Let-bind inhibit-read-only.
5224 (life-setup): Avoid `setq'. Use `life-mode'.
5226 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5227 which should not be needed any more.
5228 (package-menu-refresh, package-menu-describe-package): Use user-error.
5230 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5231 (eshell-post-rewrite-command-hook): Make obsolete.
5232 (eshell-parse-command): Simplify.
5233 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5234 (eshell--cmd): Declare.
5235 (eshell-parse-pipeline): Remove unused var `final-p'.
5236 Pass a dynvar to eshell-post-rewrite-command-hook.
5237 Implement the new eshell-post-rewrite-command-function.
5238 (eshell-invoke-directly): Remove unused arg `input'.
5239 * eshell/esh-io.el (eshell-io-initialize):
5240 Use eshell-post-rewrite-command-function (bug#15399).
5241 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5242 adjust to new calling convention.
5243 (eshell-create-handles): Rename args to avoid clashing with dynvar
5246 2013-09-17 Glenn Morris <rgm@gnu.org>
5248 * simple.el (messages-buffer-mode): New major mode.
5249 (messages-buffer): New function.
5250 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5251 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5252 (ert-run-test): Use `messages-buffer' function.
5253 (ert--force-message-log-buffer-truncation): Ignore read-only.
5254 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5255 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5257 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5259 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5261 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5263 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5265 * icomplete.el (icomplete-in-buffer): New var.
5266 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5267 vars and replace them with functions.
5268 (icomplete-minibuffer-setup): Adjust accordingly.
5269 (icomplete--completion-table, icomplete--completion-predicate)
5270 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5272 (icomplete-forward-completions, icomplete-backward-completions)
5273 (icomplete-simple-completing-p, icomplete-exhibit)
5274 (icomplete-completions): Use them.
5275 (icomplete--in-region-buffer): New var.
5276 (icomplete--in-region-setup): New function.
5277 (icomplete-mode): Use it.
5279 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5281 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5282 return args and options.
5283 (eshell-eval-using-options): Use the new return value of
5284 eshell--do-opts to set the options's vars in their scope.
5285 (eshell--set-option): Rename from eshell-set-option.
5287 (eshell--process-option): Rename from eshell-process-option.
5289 (eshell--process-args): Use an `opt-vals' alist to store the options's
5290 values during their processing and return them additionally to the
5293 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5295 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5296 continuation character an operator, as far as indentation is
5297 concerned (Bug#15369).
5299 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5301 * window.el (window--state-put-2): Don't process buffer state
5302 when buffer doesn't exist any more (Bug#15382).
5304 2013-09-15 Glenn Morris <rgm@gnu.org>
5306 * eshell/em-unix.el (eshell/rm):
5307 Make -f ignore missing files. (Bug#15373)
5309 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5310 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5311 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5313 2013-09-14 Glenn Morris <rgm@gnu.org>
5315 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5317 2013-09-13 Glenn Morris <rgm@gnu.org>
5319 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5320 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5322 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5324 * frame.el (x-focus-frame): Mark as declared in frame.c.
5326 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * ls-lisp.el: Use advice-add.
5329 (original-insert-directory): Remove.
5330 (ls-lisp--insert-directory): Rename from insert-directory; add
5331 `orig-fun' argument.
5332 (insert-directory): Advise.
5334 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5336 * term.el (term-emulate-terminal): Decode the command string
5337 before passing it to term-command-hook. (Bug#15337)
5339 2013-09-13 Glenn Morris <rgm@gnu.org>
5341 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5343 * eshell/esh-ext.el (eshell-search-path): Declare.
5345 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5346 Otherwise an error occurs if eshell-dirs module not loaded.
5348 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5350 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5352 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5353 `tramp-check-proper-host'. Check for a valid method name.
5355 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5356 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5357 * net/tramp-sh.el (tramp-maybe-open-connection):
5358 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5360 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5361 also for hash values.
5363 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5365 * term/ns-win.el (parameters): Don't declare as dynamic.
5366 (before-make-frame-hook): Don't add ineffective function.
5368 * eshell/*.el: Use lexical-binding (bug#15231).
5370 2013-09-12 Kenichi Handa <handa@gnu.org>
5372 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5374 2013-09-12 Glenn Morris <rgm@gnu.org>
5376 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5377 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5379 * subr.el (do-after-load-evaluation): Also give compiler warnings
5380 when obsolete files are used (except by obsolete files).
5382 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5383 in the status output, assume `filename' is the first. (Bug#15322)
5385 * vc/vc.el (vc-deduce-fileset): Doc fix.
5387 * calc/calc-help.el (Info-goto-node):
5388 * progmodes/cperl-mode.el (Info-find-node):
5389 * vc/ediff.el (Info-goto-node): Update declarations.
5391 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5393 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5394 (vc-bzr-pull): Require vc-dispatcher.
5395 * vc/vc-git.el (vc-compilation-mode): Declare.
5396 (vc-git-pull): Require vc-dispatcher.
5398 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5400 * progmodes/octave.el (help-button-action): Declare.
5402 * shell.el (shell-directory-tracker): Output error as a message
5403 rather than just returning it as a string.
5404 (shell-process-pushd): Remove useless use of message.
5406 * dframe.el (dframe-timer-fn):
5407 * files.el (dir-locals-read-from-file):
5408 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5410 * reveal.el (reveal-post-command):
5411 * saveplace.el (load-save-place-alist-from-file):
5412 * shell.el (shell-resync-dirs):
5413 * w32-common-fns.el (x-get-selection-value):
5414 * emacs-lisp/copyright.el (copyright-find-copyright):
5415 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5416 * emulation/tpu-edt.el (tpu-copy-keyfile):
5417 * play/bubbles.el (bubbles--mark-neighbourhood):
5418 * progmodes/executable.el
5419 (executable-make-buffer-file-executable-if-script-p):
5420 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5422 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5424 Cleanup Eshell to rely less on dynamic scoping.
5425 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5426 last-value, and ext-command here. Bind `args' closer to `body'.
5427 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5428 (eshell--args): Declare new dynamic var.
5429 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5430 last-value, and ext-command. Pass `args' to `body'.
5431 (eshell-process-args): Bind eshell--args.
5432 (eshell-set-option): Use eshell--args.
5433 * eshell/eshell.el (eshell): Use derived-mode-p.
5434 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5435 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5436 (eshell-glob-function): Declare.
5437 * eshell/esh-util.el: Require cl-lib.
5438 (eshell-read-hosts-file): Avoid add-to-list.
5439 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5441 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5443 (eshell/diff): Remove unused var `err'.
5444 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5446 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5447 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5449 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5450 Move declaration before first use.
5451 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5452 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5455 2013-09-12 Glenn Morris <rgm@gnu.org>
5457 * term/ns-win.el (global-map): Remove binding for ispell-next,
5458 deleted 1999-05-29. (Bug#15357)
5460 2013-09-11 Glenn Morris <rgm@gnu.org>
5462 * echistory.el (electric-command-history): Remove call to deleted func.
5464 * play/landmark.el (landmark-mode): Fix typos.
5466 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5467 Check cvs-sort-ignore-file is bound.
5469 * savehist.el: No need for cl when compiling on Emacs.
5471 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5473 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5475 (eshell-self-insert-command, eshell-send-invisible):
5476 Remove unused argument.
5477 (eshell-handle-control-codes): Remove unused var `orig'.
5478 Avoid delete-backward-char.
5480 * files.el (set-auto-mode): Simplify a bit further.
5482 2013-09-11 Glenn Morris <rgm@gnu.org>
5484 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5485 (set-auto-mode): Don't regexp-quote elements.
5486 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5487 * progmodes/cc-mode.el (interpreter-mode-alist):
5488 * progmodes/ruby-mode.el (interpreter-mode-alist):
5489 Revert previous change.
5491 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5493 * play/snake.el (snake-mode):
5494 * play/mpuz.el (mpuz-mode):
5495 * play/landmark.el (lm-mode):
5496 * play/blackbox.el (blackbox-mode):
5497 * play/5x5.el (5x5-mode):
5498 * obsolete/options.el (Edit-options-mode):
5499 * net/quickurl.el (quickurl-list-mode):
5500 * net/newst-treeview.el (newsticker-treeview-mode):
5501 * mail/rmailsum.el (rmail-summary-mode):
5502 * mail/mspools.el (mspools-mode):
5503 * locate.el (locate-mode):
5504 * ibuffer.el (ibuffer-mode):
5505 * emulation/ws-mode.el (wordstar-mode):
5506 * emacs-lisp/debug.el (debugger-mode):
5507 * array.el (array-mode):
5508 * net/eudc.el (eudc-mode): Use define-derived-mode.
5509 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5510 Move initialization into declaration.
5511 (mairix-searches-mode): Use define-derived-mode.
5512 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5513 (eudc-edit-hotlist): Use dolist.
5514 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5515 (Man-mode): Use define-derived-mode.
5516 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5517 (Info-edit-mode): Use define-derived-mode.
5518 (Info-cease-edit): Use Info-mode.
5519 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5521 (eshell-mode): Use define-derived-mode.
5522 * chistory.el (command-history-mode-map): Rename from
5523 command-history-map.
5524 (command-history-mode): Use define-derived-mode.
5525 (Command-history-setup): Remove function.
5526 * calc/calc.el (calc-trail-mode-map): New var.
5527 (calc-trail-mode): Use define-derived-mode.
5528 (calc-trail-buffer): Set calc-main-buffer manually.
5529 * bookmark.el (bookmark-insert-annotation): New function.
5530 (bookmark-edit-annotation): Use it.
5531 (bookmark-edit-annotation-mode): Make it a proper major mode.
5532 (bookmark-send-edited-annotation): Use derived-mode-p.
5533 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5534 closer to its ideal place. Use \' to match EOS.
5536 * profiler.el (profiler-calltree-find): Use function-equal.
5538 2013-09-10 Glenn Morris <rgm@gnu.org>
5540 * files.el (interpreter-mode-alist): Convert to regexps.
5541 (set-auto-mode): Adapt for this. (Bug#15306)
5542 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5543 Comment out unused variable.
5544 * progmodes/cc-mode.el (interpreter-mode-alist):
5545 * progmodes/python.el (interpreter-mode-alist):
5546 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5547 * progmodes/sh-script.el (sh-set-shell):
5548 No longer use interpreter-mode-alist to get list of shells.
5550 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5552 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5554 * simple.el: Use set-temporary-overlay-map for universal-argument.
5555 (universal-argument-map): Don't use default-bindings (bug#15317).
5556 Bind switch-frame explicitly. Replace universal-argument-minus with
5557 a conditional binding.
5558 (universal-argument-num-events, saved-overriding-map): Remove.
5559 (restore-overriding-map): Remove.
5560 (universal-argument--mode): Rename from save&set-overriding-map,
5562 (universal-argument, universal-argument-more, negative-argument)
5563 (digit-argument): Adjust accordingly.
5564 (universal-argument-minus): Remove.
5565 (universal-argument-other-key): Remove.
5567 * subr.el (with-demoted-errors): Add `format' argument.
5569 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5571 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5572 `tramp-cleanup-connection'.
5574 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5575 parameters KEEP-DEBUG and KEEP-PASSWORD.
5577 * net/tramp.el (tramp-file-name-handler):
5578 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5579 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5580 (tramp-maybe-open-connection):
5581 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5582 Use `tramp-cleanup-connection'.
5584 * net/tramp-sh.el (tramp-maybe-open-connection):
5585 Catch 'uname-changed inside the progress reporter.
5587 2013-09-10 Glenn Morris <rgm@gnu.org>
5589 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5591 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5592 returns "alternate access method" in mode (eg "-rw-r--r--.").
5594 2013-09-08 Glenn Morris <rgm@gnu.org>
5596 * saveplace.el (load-save-place-alist-from-file):
5597 Demote errors. (Bug#15305)
5599 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5601 Improve compatibility with older Emacsen, and XEmacs.
5603 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5604 only if it is bound. It isn't for XEmacs.
5605 (with-tramp-progress-reporter): Do not let-bind `result'.
5606 This yields to scoping errors in XEmacs.
5607 (tramp-handle-make-auto-save-file-name): New function, moved from
5610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5611 for `make-auto-save-file-name'.
5612 (tramp-adb--gnu-switches-to-ash):
5613 Use `tramp-compat-replace-regexp-in-string'.
5615 * net/tramp-cache.el (tramp-cache-print): Call
5616 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5618 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5619 bound. It isn't for XEmacs.
5621 * net/tramp-compat.el (tramp-compat-copy-file):
5622 Catch `wrong-number-of-arguments' error.
5623 (tramp-compat-replace-regexp-in-string): New defun.
5625 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5626 for `make-auto-save-file-name'.
5627 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5629 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5630 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5631 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5633 * net/tramp-gw.el (tramp-gw-open-network-stream):
5634 Use `tramp-compat-replace-regexp-in-string'.
5636 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5637 Call `tramp-handle-make-auto-save-file-name'.
5638 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5639 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5640 (tramp-sh-file-inotifywait-process-filter):
5641 Use `tramp-compat-replace-regexp-in-string'.
5642 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5644 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5645 for `make-auto-save-file-name'.
5646 (tramp-smb-handle-copy-directory):
5647 Call `tramp-compat-replace-regexp-in-string'.
5648 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5649 (tramp-smb-handle-copy-file): Improve error message.
5650 (tramp-smb-handle-rename-file): Rename directly only in case
5651 `newname' does not exist yet. This is a restriction of smbclient.
5652 (tramp-smb-maybe-open-connection): Rerun the function only when
5653 `auth-sources' is non-nil.
5655 2013-09-08 Kenichi Handa <handa@gnu.org>
5657 * international/characters.el: Set category "^" (Combining) for
5660 2013-09-07 Alan Mackenzie <acm@muc.de>
5662 Correctly fontify Java class constructors.
5663 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5665 (c-recognize-typeless-decls): Set the Java value to t.
5666 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5667 While handling a "(", add a check for, effectively, Java, and handle a
5668 "typeless" declaration there.
5670 2013-09-07 Roland Winkler <winkler@gnu.org>
5672 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5673 field subtitle for entry type book.
5675 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5677 * minibuffer.el: Make minibuffer-complete call completion-in-region
5678 rather than other way around.
5679 (completion--some, completion-pcm--find-all-completions):
5680 Don't delay signals when debugging.
5681 (minibuffer-completion-contents): Beware fields within the
5682 minibuffer contents.
5683 (completion-all-sorted-completions): Use defvar-local.
5684 (completion--do-completion, completion--cache-all-sorted-completions)
5685 (completion-all-sorted-completions, minibuffer-force-complete):
5686 Add args `beg' and `end'.
5687 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5688 (minibuffer-complete): Use completion-in-region.
5689 (completion-complete-and-exit): New fun, extracted from
5690 minibuffer-complete-and-exit.
5691 (minibuffer-complete-and-exit): Use it.
5692 (completion--complete-and-exit): Rename from
5693 minibuffer--complete-and-exit.
5694 (completion-in-region--single-word): New function, extracted from
5695 minibuffer-complete-word.
5696 (minibuffer-complete-word): Use it.
5697 (display-completion-list): Make `common-substring' argument obsolete.
5698 (completion--in-region): Call completion--in-region-1 instead of
5699 minibuffer-complete.
5700 (completion-help-at-point): Pass boundaries to
5701 minibuffer-completion-help as args rather than via an overlay.
5702 (completion-pcm--string->pattern): Use `any-delim'.
5703 (completion-pcm--optimize-pattern): New function.
5704 (completion-pcm--pattern->regex): Handle `any-delim'.
5705 * icomplete.el (icomplete-forward-completions)
5706 (icomplete-backward-completions, icomplete-completions):
5707 Adjust calls to completion-all-sorted-completions and
5708 completion--cache-all-sorted-completions.
5709 (icomplete-with-completion-tables): Default to t.
5710 * emacs-lisp/crm.el (crm--current-element): Rename from
5711 crm--select-current-element. Don't put an overlay but return the
5713 (crm--completion-command): Take two new args to bind to the boundaries.
5714 (crm-completion-help): Adjust accordingly.
5715 (crm-complete): Use completion-in-region.
5716 (crm-complete-word): Use completion-in-region--single-word.
5717 (crm-complete-and-exit): Use completion-complete-and-exit.
5719 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5721 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5724 2013-09-06 Juri Linkov <juri@jurta.org>
5726 * info.el (Info-display-images-node): When image file doesn't exist
5727 display text version of the image if it's provided in the Info file.
5728 Otherwise, display the location of missing image from SRC attribute.
5729 Add help-echo text property from ALT attribute. (Bug#15279)
5731 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5733 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5734 (edit-abbrevs-mode): Use define-derived-mode.
5736 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5737 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5739 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5740 Use define-derived-mode.
5742 * epg.el (epg-start-encrypt): Minor CSE simplification.
5744 2013-09-06 William Xu <william.xwl@gmail.com>
5746 * arc-mode.el: Add support for 7za (bug#15264).
5747 (archive-7z-program): New var.
5748 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5749 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5750 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5752 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5756 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5757 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5758 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5759 (tramp-postfix-host-format, tramp-file-name-regexp)
5760 (tramp-completion-file-name-regexp)
5761 (tramp-completion-dissect-file-name)
5762 (tramp-handle-substitute-in-file-name): Remove 'url case.
5763 (tramp-file-name-regexp-url)
5764 (tramp-completion-file-name-regexp-url): Remove constants.
5766 2013-09-06 Glenn Morris <rgm@gnu.org>
5768 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5770 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5773 keywords" below "here-doc beginnings" (Bug#15270).
5775 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5777 * subr.el (pop): Use `car-safe'.
5778 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5779 to detect unused `pop' return value.
5781 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5783 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5784 (python-fill-string): Remove unused var `marker'.
5785 (python-skeleton-add-menu-items): Remove unused var `items'.
5787 * international/mule-cmds.el: Require CL.
5788 (find-coding-systems-for-charsets): Avoid add-to-list.
5789 (sanitize-coding-system-list): New function, extracted from
5790 select-safe-coding-system-interactively.
5791 (select-safe-coding-system-interactively): Use it.
5792 (read-input-method-name): Accept symbols for `default'.
5794 * emacs-lisp/advice.el (defadvice): Add indent rule.
5796 2013-09-05 Daniel Hackney <dan@haxney.org>
5800 * net/browse-url.el:
5803 * net/eudcb-ldap.el:
5816 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5817 byte compiler. Remove some unused let-bound variables.
5819 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5821 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5822 a "ref-cell", since it gets better optimized (bug#14883).
5824 2013-09-05 Glenn Morris <rgm@gnu.org>
5826 * progmodes/cc-awk.el (c-forward-sws): Declare.
5828 2013-09-04 Glenn Morris <rgm@gnu.org>
5830 * generic-x.el [rul-generic-mode]: Require cc-mode.
5831 (c++-mode-syntax-table): Declare.
5832 (rul-generic-mode-syntax-table): Init in the defvar.
5834 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5836 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5837 (vc-do-command, vc-set-async-update):
5838 * vc/vc-mtn.el (vc-mtn-dir-status):
5839 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5840 (vc-hg-pull, vc-hg-merge-branch):
5841 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5842 (vc-git-merge-branch):
5843 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5844 (vc-cvs-dir-status-files):
5845 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5846 (vc-bzr-dir-status-files):
5847 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5848 * vc/vc-annotate.el: Use lexical-binding.
5849 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5850 (vc-sentinel-movepoint): Declare.
5851 (vc-annotate): Don't use `goto-line'.
5852 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5853 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5854 (vc-sentinel-movepoint): Declare.
5855 * vc/vc-svn.el: Use lexical-binding.
5856 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5858 * vc/vc-rcs.el: Use lexical-binding.
5860 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5861 `deleted'. Don't drop errors silently.
5863 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5865 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5867 * vc/vc.el (vc-ignore): Rewrite.
5868 (vc-default-ignore): New function.
5869 (vc-default-ignore-completion-table): Use find-ignore-file.
5871 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5872 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5873 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5874 Remove. Most code moved to vc.el.
5876 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5878 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5879 * net/tramp-smb.el (tramp-smb-get-file-entries):
5880 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5881 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5883 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5885 (eww-change-select): Remove unused var `properties'.
5886 (eww-make-unique-file-name): Remove unused var `base'.
5888 * finder.el (finder-compile-keywords): Don't mess with windows.
5890 * calculator.el (calculator-funcall): Fix typo in last change.
5892 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5894 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5895 <pkg>-autoloads.el file stop us.
5897 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5898 warnings, and factor out common code.
5900 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5902 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5903 two-character operators and whether the character preceding them
5904 changes their meaning (Bug#15208).
5906 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5908 Format code sent to Python shell for robustness.
5909 * progmodes/python.el (python-shell-buffer-substring):
5911 (python-shell-send-region, python-shell-send-buffer): Use it.
5913 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5915 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5916 * net/tramp.el (tramp-user-error): ... here.
5917 (tramp-find-method, tramp-check-proper-host)
5918 (tramp-dissect-file-name, tramp-debug-message)
5919 (tramp-handle-shell-command):
5920 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5923 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5925 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5927 * avoid.el (mouse-avoidance-point-position)
5928 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5931 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5933 * progmodes/python.el (python-shell-completion-get-completions):
5934 Drop use of deleted `comint-last-prompt-overlay'.
5935 (python-nav-if-name-main): New command.
5937 2013-09-01 Glenn Morris <rgm@gnu.org>
5939 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5940 Avoid leading space in $wins. Otherwise the sed command used by
5941 eg compile-main ends up containing "/*.el". (Bug#15170)
5943 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5945 2013-08-30 Glenn Morris <rgm@gnu.org>
5947 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5948 Fix is-this-a-directory logic. (Bug#15220)
5950 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5952 * textmodes/css-mode.el: Use SMIE.
5953 (css-smie-grammar): New var.
5954 (css-smie--forward-token, css-smie--backward-token)
5955 (css-smie-rules): New functions.
5956 (css-mode): Use them.
5957 (css-navigation-syntax-table): Remove var.
5958 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5959 (css-indent-calculate, css-indent-line): Remove functions.
5961 Misc changes to reduce use of `(lambda...); and other cleanups.
5962 * cus-edit.el: Use lexical-binding.
5963 (customize-push-and-save, customize-apropos)
5964 (custom-buffer-create-internal): Use closures.
5965 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5966 * progmodes/ada-xref.el: Use setq.
5967 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5968 * dframe.el: Use lexical-binding.
5969 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5970 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5971 * descr-text.el: Use lexical-binding.
5972 (describe-text-widget, describe-text-sexp, describe-property-list):
5974 * comint.el (comint-history-isearch-push-state): Use a closure.
5975 * calculator.el: Use lexical-binding.
5976 (calculator-number-to-string): Make it work with lexical-binding.
5977 (calculator-funcall): Same and use cl-letf.
5979 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5980 (lisp--company-doc-string, lisp--company-location): New functions.
5981 (lisp-completion-at-point): Use them to improve Company support.
5983 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5984 params of lambda expressions.
5985 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5986 (ruby-smie--opening-pipe-p): New function.
5987 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5988 symbols and matched |...| for formal params.
5989 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5990 from being treated as hanging. Handle "rescue".
5992 2013-08-29 Glenn Morris <rgm@gnu.org>
5994 * progmodes/cc-engine.el (c-pull-open-brace):
5995 Move definition before use.
5997 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5999 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6000 are immutable. Don't use `unsafe' any more.
6001 (cl--defsubst-expand): Don't substitute at the same time as keeping
6002 a residual unused let-binding. Don't use `unsafe' any more.
6004 2013-08-29 Glenn Morris <rgm@gnu.org>
6006 * calendar/cal-china.el (calendar-chinese-year-cache):
6009 * nxml/nxml-util.el (nxml-debug-clear-inside):
6010 Use cl-loop rather than loop.
6012 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6014 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6016 2013-08-28 Glenn Morris <rgm@gnu.org>
6018 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6020 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6022 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6024 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6026 * simple.el (repeat-complex-command--called-interactively-skip):
6028 (repeat-complex-command): Use it (bug#14136).
6030 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6031 (c-define-abbrev-table): Add `doc' argument.
6032 (c-mode-abbrev-table, c++-mode-abbrev-table)
6033 (objc-mode-abbrev-table, java-mode-abbrev-table)
6034 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6035 (awk-mode-abbrev-table): Use it.
6036 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6037 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6038 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6039 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6040 Move initialization into the declaration; and remove any
6043 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6044 and dynamic let binding.
6046 * vc/smerge-mode.el: Remove redundant :group args.
6048 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6051 2013-08-28 Juri Linkov <juri@jurta.org>
6053 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6054 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6055 (isearch-other-meta-char): Handle an undefined shifted printing
6056 character by downshifting it. (Bug#15200)
6058 2013-08-28 Juri Linkov <juri@jurta.org>
6060 * isearch.el (isearch-search): Change regexp error message for
6061 non-regexp searches. (Bug#15166)
6063 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6065 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6066 for portability to hosts where /bin/sh has problems.
6068 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6070 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6072 2013-08-27 Juri Linkov <juri@jurta.org>
6074 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6075 in the keyboard macro. (Bug#15126)
6077 2013-08-27 Juri Linkov <juri@jurta.org>
6079 * isearch.el (isearch-quote-char): Comment out converting unibyte
6080 to multibyte, thus syncing with its `quoted-insert' counterpart.
6083 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6085 * window.el (display-buffer-use-some-window): Add missing
6086 argument in call of get-largest-window (Bug#15185).
6087 Reported by Stephen Leake.
6089 2013-08-27 Glenn Morris <rgm@gnu.org>
6091 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6093 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6096 from a matcher-function unless there's no more matches (bug#15161).
6098 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6100 * minibuffer.el: Revert change from 2013-08-20.
6102 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6103 with text property `tramp-default', if appropriate.
6104 (tramp-check-proper-host): New defun.
6105 (tramp-dissect-file-name): Do not check hostname. Revert change
6107 (tramp-backtrace): Make VEC-OR-PROC optional.
6109 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6110 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6111 * net/tramp-sh.el (tramp-maybe-open-connection):
6112 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6113 Apply `tramp-check-proper-host'.
6115 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6117 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6118 lambda expression in order to have `describe-variable' display it.
6120 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6122 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6123 BUF can be optional. (Bug#15186)
6125 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6127 * progmodes/flymake.el (flymake-get-real-file-name-function):
6128 Fix broken customization. (Bug#15184)
6130 2013-08-25 Alan Mackenzie <acm@muc.de>
6132 Improve indentation of bracelists defined by macros (without "=").
6134 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6135 expansion begins with "{", regard it as bracelist when it doesn't
6138 Parse C++ inher-intro when there's a template split over 2 lines.
6140 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6141 rigorously the search for "class" etc. followed by ":".
6143 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6144 random languages a regexp which never matches rather than nil.
6146 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6148 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6149 (c-awk-regexp-one-line-possibly-open-char-list-re)
6150 (c-awk-one-line-possibly-open-regexp-re)
6151 (c-awk-one-line-non-syn-ws*-re): Remove.
6152 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6153 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6154 (c-awk-space*-unclosed-regexp-/-re): New constants.
6155 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6156 aren't regexp delimiters.
6158 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6159 handling for a rare situation in AWK Mode involving unterminated
6162 2013-08-23 Glenn Morris <rgm@gnu.org>
6164 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6166 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6168 * files.el (create-file-buffer): If the result would begin with
6169 spaces, prepend a "|" instead of removing them. (Bug#15162)
6171 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6174 text-properties (bug#15155).
6176 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6178 (calc-keypad-redraw): Remove unused var `pad'.
6179 (calc-keypad-press): Remove unused var `menu'.
6181 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6183 * window.el (display-buffer-pop-up-frame):
6184 Call pop-up-frame-function with BUFFER current so `make-frame' will
6185 use it as the new frame's buffer (Bug#15133).
6187 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6189 * calendar/timeclock.el: Minor cleanups.
6190 (timeclock-ask-before-exiting, timeclock-use-display-time):
6192 (timeclock-modeline-display): Define as alias before the
6194 (timeclock-mode-line-display): Use define-minor-mode.
6195 (timeclock-day-list-template): Make it a function, add an argument.
6196 (timeclock-day-list-required, timeclock-day-list-length)
6197 (timeclock-day-list-debt, timeclock-day-list-span)
6198 (timeclock-day-list-break): Adjust calls accordingly.
6200 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6203 Use read--expression so that completion works again.
6205 2013-08-21 Sam Steingold <sds@gnu.org>
6207 Add rudimentary inferior shell interaction
6208 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6209 (sh-set-shell): Reset it.
6210 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6211 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6213 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * align.el: Use lexical-binding.
6216 (align-region): Simplify accordingly.
6218 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6220 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6222 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6225 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6229 * net/tramp-cmds.el:
6231 * net/tramp-gvfs.el:
6233 * net/tramp-sh.el: Don't wrap external variable declarations by
6234 `eval-when-compile'.
6236 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6238 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6239 now that Emacs supports ImageMagick animations.
6241 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6243 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6244 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6246 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6248 * window.el (mouse-autoselect-window-select): Do autoselect when
6249 mouse pointer is on margin.
6251 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6253 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6255 2013-08-16 Glenn Morris <rgm@gnu.org>
6257 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6258 Handle "Remote Directory" response of some clients. (Bug#15058)
6260 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6261 Tweak warning. (Bug#14926)
6263 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6264 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6266 * image-mode.el (image-mode-map): Add menu items to reverse,
6267 increase, decrease, reset animation speed.
6268 (image--set-speed, image-increase-speed, image-decrease-speed)
6269 (image-reverse-speed, image-reset-speed): New functions.
6270 (image-mode-map): Add bindings for speed commands.
6272 * image.el (image-animate-get-speed, image-animate-set-speed):
6274 (image-animate-timeout): Respect image :speed property.
6276 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6278 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6279 previous line (bug#15101).
6280 (debugger-eval-expression, debugger-record-expression):
6281 Use read--expression (bug#15102).
6283 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6285 Remove byte compiler warnings, visible when compiling with
6286 `byte-compile-force-lexical-warnings' set to t.
6288 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6289 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6290 (tramp-handle-unhandled-file-name-directory)
6291 (tramp-handle-file-notify-add-watch, tramp-action-login)
6292 (tramp-action-succeed, tramp-action-permission-denied)
6293 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6296 * net/tramp-adb.el (tramp-adb-parse-device-names)
6297 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6298 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6299 (tramp-adb-handle-file-truename): Remove unused arguments.
6301 * net/tramp-cache.el (tramp-flush-directory-property)
6302 (tramp-flush-connection-property, tramp-list-connections)
6303 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6305 * net/tramp-compat.el (tramp-compat-make-temp-file):
6306 Rename FILENAME to F.
6308 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6309 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6310 (tramp-zeroconf-parse-workstation-device-names)
6311 (tramp-zeroconf-parse-webdav-device-names)
6312 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6314 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6315 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6317 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6319 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6320 (tramp-sh-handle-insert-file-contents-literally)
6321 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6323 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6324 Remove unused variables.
6326 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6327 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6328 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6330 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6331 Make them a defconst.
6332 (tramp-uuencode-region): Remove unused variable.
6334 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6336 * frameset.el (frameset--prop-setter): New function.
6337 (frameset-prop): Add gv-setter declaration.
6338 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6339 parameter was already set in FILTERED. Doc fix.
6340 (frameset--record-minibuffer-relationships): Allow saving a
6341 minibufferless frame without its corresponding minibuffer frame.
6342 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6343 frame, if the frame id matches.
6344 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6345 frames before orphaned ones.
6346 (frameset-restore): Warn about orphaned windows, instead of error out.
6348 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6350 * window.el (window-make-atom): Don't overwrite parameter
6352 (display-buffer-in-atom-window): Handle special case where we
6353 split an already atomic window.
6354 (window--major-non-side-window, display-buffer-in-side-window)
6355 (window--side-check): Ignore minibuffer window when walking
6357 (window-deletable-p): Return 'frame only if no other frame uses
6358 our minibuffer window.
6359 (record-window-buffer): Run buffer-list-update-hook.
6360 (split-window): Make sure window--check-frame won't destroy an
6361 existing atomic window in case the new window gets nested
6363 (display-buffer-at-bottom): Ignore minibuffer window when
6364 walking window tree. Don't split a side window.
6365 (pop-to-buffer): Don't set-buffer here, the select-window call
6367 (mouse-autoselect-window-select): Autoselect only if we are in the
6368 text portion of the window.
6370 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6372 * net/shr.el (shr-parse-image-data): New function to grab both the
6373 data itself and the Content-Type.
6374 (shr-put-image): Use it.
6376 * net/eww.el (eww-display-image): Ditto.
6378 * image.el (image-content-type-suffixes): New variable.
6380 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6382 * progmodes/python.el (python-imenu--build-tree)
6383 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6385 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6387 * simple.el (backward-word): Mention the optional argument.
6389 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6391 * frameset.el (frameset--make): Rename constructor from make-frameset.
6392 (frameset-p, frameset-valid-p): Don't autoload.
6393 (frameset-valid-p): Use normal accessors.
6395 2013-08-13 Glenn Morris <rgm@gnu.org>
6397 * progmodes/compile.el (compile-command): Tweak example in doc.
6398 * obsolete/scribe.el (scribe-mode):
6399 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6401 * mail/feedmail.el (feedmail-confirm-outgoing)
6402 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6404 * cus-start.el (truncate-partial-width-windows): Fix type.
6406 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6408 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6410 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6412 * emacs-lisp/timer.el (timer--time-setter): New function.
6413 (timer--time): Use it as gv-setter.
6415 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6416 setter is not a symbol.
6418 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6420 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6421 if sending fails. This makes debugging easier.
6423 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6425 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6426 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6427 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6429 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6431 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6433 2013-08-12 Glenn Morris <rgm@gnu.org>
6435 * format.el (format-annotate-function):
6436 Handle read-only text properties in the source. (Bug#14887)
6438 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6440 * net/eww.el (eww-display-html): Ignore coding system errors.
6441 One web site uses "utf-8lias" as the coding system.
6443 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6445 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6447 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6449 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6450 (tutorial--detailed-help): Remove unused local variables.
6451 (tutorial--save-tutorial-to): Use ignore-errors.
6452 (help-with-tutorial): Use looking-at-p.
6454 * view.el (view-buffer-other-window, view-buffer-other-frame):
6455 Mark unused arguments.
6457 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6458 (woman-select-symbol-fonts, woman, woman-find-file)
6459 (woman-insert-file-contents, woman-non-underline-faces):
6461 (woman1-unquote): Move declaration.
6463 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6464 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6465 argument. Remove unused local variable.
6466 (xml-parse-elem-type): Use string-match-p.
6467 (xml-substitute-numeric-entities): Use ignore-errors.
6469 * calculator.el (calculator): Mark unused argument.
6470 (calculator-paste, calculator-quit, calculator-integer-p):
6472 (calculator-string-to-number, calculator-decimal, calculator-exp)
6473 (calculator-op-or-exp): Use string-match-p.
6475 * dired.el (dired-buffer-more-recently-used-p): Declare.
6476 (dired-insert-set-properties, dired-insert-old-subdirs):
6479 * dired-aux.el (dired-compress): Use ignore-errors.
6480 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6481 (dired-do-async-shell-command, dired-do-shell-command)
6482 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6483 (dired-insert-subdir-validate): Use string-match-p.
6484 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6485 (dired-add-entry): Use string-match-p, looking-at-p.
6486 (dired-insert-subdir-newpos): Remove unused local variable.
6488 * filenotify.el (file-notify-callback): Remove unused local variable.
6490 * filesets.el (filesets-error): Mark unused argument.
6491 (filesets-which-command-p, filesets-filter-dir-names)
6492 (filesets-directory-files, filesets-get-external-viewer)
6493 (filesets-ingroup-get-data): Use string-match-p.
6495 * find-file.el (ff-other-file-name, ff-other-file-name)
6496 (ff-find-the-other-file, ff-cc-hh-converter):
6497 Remove unused local variables.
6498 (ff-get-file-name): Use string-match-p.
6499 (ff-all-dirs-under): Use ignore-errors.
6501 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6502 (follow-select-if-visible): Remove unused local variable.
6504 * forms.el (read-file-filter): Move declaration.
6505 (forms--make-format, forms--make-parser, forms-insert-record):
6506 Quote function with #'.
6507 (forms--update): Use string-match-p. Quote function with #'.
6509 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6510 (help-make-xrefs): Use looking-at-p.
6511 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6513 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6514 (ibuffer-confirm-operation-on): Use string-match-p.
6516 * msb.el (msb-item-handler, msb-dired-item-handler):
6517 Mark unused arguments.
6519 * ses.el (ses-decode-cell-symbol)
6520 (ses-kill-override): Remove unused local variable.
6521 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6522 (ses-load): Use ignore-errors, looking-at-p.
6523 (ses-jump-safe): Use ignore-errors.
6524 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6526 * tabify.el (untabify, tabify): Mark unused arguments.
6528 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6529 Mark unused argument.
6530 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6531 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6533 * emacs-lisp/timer.el (timer--time): Define setter with
6534 gv-define-setter to avoid deprecation warning.
6536 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6537 (*record-cmpl-statistics-p*): Remove (was commented out).
6538 (cmpl-statistics-block): Remove (body was commented out).
6539 All callers changed.
6540 (add-completions-from-buffer, load-completions-from-file):
6541 Remove unused variables.
6543 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6545 * filecache.el (file-cache-delete-file-list):
6546 Print message only when told so.
6547 (file-cache-files-matching): Use #' in mapconcat argument.
6549 * ffap.el (ffap-url-at-point): Fix reference to variable
6550 thing-at-point-default-mail-uri-scheme.
6552 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * subr.el (define-error): New function.
6555 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6556 error-file-not-found and define with define-error.
6557 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6558 and define with define-error.
6559 * userlock.el (file-locked, file-supersession):
6560 * simple.el (mark-inactive):
6561 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6562 * progmodes/ada-mode.el (ada-mode-errors):
6563 * play/life.el (life-extinct):
6564 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6565 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6566 * nxml/rng-util.el (rng-error):
6567 * nxml/rng-uri.el (rng-uri-error):
6568 * nxml/rng-match.el (rng-compile-error):
6569 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6570 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6571 * nxml/nxml-rap.el (nxml-scan-error):
6572 * nxml/nxml-outln.el (nxml-outline-error):
6573 * net/soap-client.el (soap-error):
6574 * net/gnutls.el (gnutls-error):
6575 * net/ange-ftp.el (ftp-error):
6576 * mpc.el (mpc-proc-error):
6577 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6578 (json-number-format, json-string-escape, json-string-format)
6579 (json-key-format, json-object-format):
6580 * jka-compr.el (compression-error):
6581 * international/quail.el (quail-error):
6582 * international/kkc.el (kkc-error):
6583 * emacs-lisp/ert.el (ert-test-failed):
6584 * calc/calc.el (calc-error, inexact-result, math-overflow)
6586 * bookmark.el (bookmark-error-no-filename):
6587 * epg.el (epg-error): Define with define-error.
6589 * time.el (display-time-event-handler)
6590 (display-time-next-load-average): Don't call sit-for since it seems
6591 unnecessary (bug#15045).
6593 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6594 Use #' instead of ' to quote functions.
6595 (checkdoc-output-mode): Use setq-local.
6596 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6597 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6598 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6599 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6600 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6601 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6602 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6603 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6605 * ido.el (ido-completion-help): Fix up compiler warning.
6607 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6609 * frameset.el (frameset-p): Add autoload cookie.
6610 (frameset--jump-to-register): New function, based on code moved from
6612 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6614 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6615 (frameset-restore, frameset-save, frameset-session-filter-alist):
6616 Remove declarations.
6617 (register-alist): Doc fix.
6618 (frameset-to-register): Move to frameset.el.
6619 (jump-to-register, describe-register-1): Remove frameset-specific code.
6621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6623 * allout-widgets.el (allout-widgets-pre-command-business)
6624 (allout-widgets-post-command-business)
6625 (allout-widgets-after-change-handler)
6626 (allout-decorate-item-and-context, allout-set-boundary-marker)
6627 (allout-body-modification-handler)
6628 (allout-graphics-modification-handler): Mark ignored arguments.
6629 (allout-widgets-post-command-business)
6630 (allout-widgets-exposure-change-processor)
6631 (allout-widgets-exposure-undo-processor)
6632 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6633 (allout-parse-item-at-point, allout-decorate-item-guides)
6634 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6635 * allout.el (epa-passphrase-callback-function): Declare.
6636 (allout-overlay-insert-in-front-handler)
6637 (allout-overlay-interior-modification-handler)
6638 (allout-isearch-end-handler, allout-chart-siblings)
6639 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6640 (allout-yank-processing, allout-process-exposed)
6641 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6642 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6643 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6644 (lisp-indent-defform): Mark ignored arguments.
6645 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6646 (calculate-lisp-indent): Remove unused variables.
6647 * international/characters.el (indian-2-column, arabic-2-column)
6648 (tibetan): Mark ignored arguments.
6649 (use-cjk-char-width-table): Mark ignored arguments.
6650 Remove unused variables.
6651 * international/fontset.el (build-default-fontset-data)
6652 (x-compose-font-name, create-fontset-from-fontset-spec):
6653 Mark ignored arguments.
6654 (fontset-plain-name): Remove unused variables.
6655 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6656 (keyboard-coding-system): Mark ignored arguments.
6657 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6658 * help.el (resize-temp-buffer-window):
6659 * window.el (display-buffer-in-major-side-window)
6660 (display-buffer-in-side-window, display-buffer-in-previous-window):
6661 Remove unused variables.
6662 * isearch.el (isearch-forward-symbol):
6663 * version.el (emacs-bzr-version-bzr):
6664 * international/mule-cmds.el (current-language-environment):
6665 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6667 * term/pc-win.el (x-list-fonts, x-display-planes)
6668 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6669 (x-server-version, x-display-screens, x-display-mm-height)
6670 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6671 (x-selection-owner-p, x-own-selection-internal)
6672 (x-disown-selection-internal, x-get-selection-internal)
6673 (msdos-initialize-window-system):
6674 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6675 * term/x-win.el (x-handle-no-bitmap-icon):
6676 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6677 (vc-default-find-file-hook, vc-default-extra-menu):
6678 Mark ignored arguments.
6680 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6682 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6683 break-condition in the context of the debugged code (bug#12685).
6685 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6688 Do not use an overlay to highlight the last prompt. (Bug#14744)
6689 (comint-mode): Make comint-last-prompt buffer local.
6690 (comint-last-prompt): New variable.
6691 (comint-last-prompt-overlay): Remove. Superseded by
6693 (comint-snapshot-last-prompt, comint-output-filter):
6694 Use comint-last-prompt.
6696 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6698 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6699 (frameset-save): Check validity of the resulting frameset.
6701 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6703 * ido.el (ido-record-command): Add doc string.
6705 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6707 * frameset.el (frameset): Do not disable creation of the default
6708 frameset-p predicate. Doc fix.
6709 (frameset-valid-p): New function, copied from the old predicate-p.
6710 Add additional checks.
6711 (frameset-restore): Check with frameset-valid-p.
6712 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6713 (frameset-name, frameset-description, frameset-properties)
6714 (frameset-states): Add docstring.
6715 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6716 (frameset-filter-alist): Doc fixes.
6718 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6720 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6722 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6724 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6725 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6726 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6727 (byte-compile-normal-call): Remove obsolescence check.
6729 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6731 * frameset.el (frameset-restore): Doc fix.
6733 * register.el (frameset-frame-id, frameset-frame-with-id)
6734 (frameset-p, frameset-restore, frameset-save): Declare.
6735 (register-alist): Document framesets.
6736 (frameset-session-filter-alist): Declare.
6737 (frameset-to-register): New function.
6738 (jump-to-register): Implement jumping to framesets. Doc fix.
6739 (describe-register-1): Describe framesets.
6741 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6743 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6745 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6746 Use lexical-binding.
6748 * frameset.el (frameset): Use type vector, not list (incompatible
6749 change). Do not declare a new constructor, use the default one.
6750 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6751 `name' and `description', respectively, and add read-only slot
6752 `timestamp'. Doc fixes.
6753 (frameset-copy, frameset-persistent-filter-alist)
6754 (frameset-filter-alist, frameset-switch-to-gui-p)
6755 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6756 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6757 (frameset-filter-iconified, frameset-keep-original-display-p):
6759 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6760 Rename from frameset-filter-(save|restore)-param. All callers changed.
6762 (frameset-p): Adapt to change to vector and be more thorough.
6763 Change arg name to OBJECT. Doc fix.
6764 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6765 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6766 All callers changed.
6767 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6768 All callers changed.
6769 (frameset--record-minibuffer-relationships): Rename from
6770 frameset--process-minibuffer-frames. All callers changed.
6771 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6772 Use new default constructor (again). Doc fix.
6773 (frameset--find-frame-if): Rename from `frameset--find-frame.
6774 All callers changed.
6775 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6776 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6778 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6779 PARAMETERS and WINDOW-STATE, respectively.
6780 (frameset-restore): Add new keyword argument PREDICATE.
6781 Reset frameset--target-display to nil. Doc fix.
6783 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6787 (bat-mode-syntax-table): Mark \n as end-of-comment.
6788 (bat-font-lock-keywords): Remove comment rule.
6790 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6791 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6793 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6794 (byte-compile-callargs-warn): Use `push'.
6795 (byte-compile-arglist-warn): Ignore higher-order "calls".
6796 (byte-compile-file-form-autoload): Use `pcase'.
6797 (byte-compile-function-form): If quoting a symbol, check that it exists.
6799 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6801 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6802 and add a few popular commands found in batch files.
6803 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6804 (dos-mode): Doc fixes.
6806 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6808 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6809 (dos-mode): Use setq-local. Add space after "rem".
6810 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6811 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6813 2013-08-07 Arni Magnusson <arnima@hafro.is>
6815 * progmodes/dos.el: New file.
6816 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6819 2013-08-06 Glenn Morris <rgm@gnu.org>
6821 * calendar/calendar.el: Add new faces, and day-header-array.
6822 (calendar-weekday-header, calendar-weekend-header)
6823 (calendar-month-header): New faces.
6824 (calendar-day-header-construct): New function.
6825 (calendar-day-header-width): Also :set calendar-day-header-array.
6826 (calendar-american-month-header, calendar-european-month-header)
6827 (calendar-iso-month-header): Use calendar- faces.
6828 (calendar-generate-month):
6829 Use calendar-day-header-array for day headers; apply faces to them.
6830 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6831 (calendar-abbrev-construct): Add optional maxlen argument.
6832 (calendar-day-name-array): Doc fix.
6833 (calendar-day-name-array, calendar-abbrev-length)
6834 (calendar-day-abbrev-array):
6835 Also :set calendar-day-header-array, and maybe redraw.
6836 (calendar-day-header-array): New option. (Bug#15007)
6837 (calendar-font-lock-keywords): Set to nil and make obsolete.
6838 (calendar-day-name): Add option to use header array.
6840 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842 * net/shr.el (shr-render-td): Remove debugging.
6843 (shr-render-td): Make width computation consistent by defaulting
6844 all zero-width columns to 10 characters. This may not be optimal,
6845 but it's at least consistent.
6846 (shr-make-table-1): Redo last change to fix the real problem in
6849 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6851 * files.el (cache-long-line-scans):
6852 Make obsolete alias to `cache-long-scans'.
6854 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6856 * frameset.el (frameset, frameset-filter-alist)
6857 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6858 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6859 (frameset-compute-pos): Rename from frameset--compute-pos,
6861 (frameset-move-onscreen): Use frameset-compute-pos.
6862 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6864 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6865 Fix typos in docstrings.
6867 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6869 * frame.el (get-other-frame): Tiny cleanup.
6871 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6873 * vc/vc.el (vc-default-ignore-completion-table):
6874 Silence byte-compiler warning.
6876 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6877 slot, which can indeed be nil.
6878 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6879 Move entry for `left' from persistent to live filter alist.
6880 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6882 (frameset-filter-params): When restoring a frame, copy items added to
6883 `filtered', to avoid unwittingly modifying the original parameters.
6884 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6885 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6887 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6888 to use looking-at-p instead of looking-at. (Bug#15028)
6890 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6892 Revert introduction of isearch-filter-predicates (bug#14714).
6893 Rely on add-function instead.
6894 * isearch.el (isearch-filter-predicates): Rename it back to
6895 isearch-filter-predicate.
6896 (isearch-message-prefix): Use advice-function-mapc and advice
6897 properties to get the isearch-message-prefix.
6898 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6899 instead of run-hook-with-args-until-failure.
6900 (isearch-filter-visible): Not obsolete any more.
6901 * loadup.el: Preload nadvice.
6902 * replace.el (perform-replace): Revert to funcall
6903 instead of run-hook-with-args-until-failure.
6904 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6905 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6906 dired-isearch-filenames-toggle; make it into a proper minor mode.
6907 Use add/remove-function.
6908 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6909 Call the minor-mode rather than add/remove-hook.
6910 (dired-isearch-filter-filenames):
6911 Remove isearch-message-prefix property.
6912 * info.el (Info--search-loop): New function, extracted from Info-search.
6913 Funcall isearch-filter-predicate instead of
6914 run-hook-with-args-until-failure isearch-filter-predicates.
6915 (Info-search): Use it.
6916 (Info-mode): Use isearch-filter-predicate instead of
6917 isearch-filter-predicates.
6919 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6921 Do not call to `selected-window' where it is assumed by default.
6922 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6923 `window-hscroll', `window-width', `window-height', `window-buffer',
6924 `window-frame', `window-start', `window-point', `next-window'
6925 and `window-display-table'.
6926 * abbrev.el (abbrev--default-expand):
6927 * bs.el (bs--show-with-configuration):
6928 * buff-menu.el (Buffer-menu-mouse-select):
6929 * calc/calc.el (calc):
6930 * calendar/calendar.el (calendar-generate-window):
6931 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6933 * comint.el (send-invisible, comint-dynamic-complete-filename)
6934 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6935 * completion.el (complete):
6936 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6937 * disp-table.el (describe-current-display-table):
6938 * doc-view.el (doc-view-insert-image):
6939 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6940 * ehelp.el (with-electric-help):
6941 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6942 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6943 * emacs-lisp/helper.el (Helper-help-scroller):
6944 * emulation/cua-base.el (cua--post-command-handler-1):
6945 * eshell/esh-mode.el (eshell-output-filter):
6946 * ffap.el (ffap-gnus-wrapper):
6947 * help-macro.el (make-help-screen):
6948 * hilit-chg.el (highlight-compare-buffers):
6949 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6950 * hl-line.el (global-hl-line-highlight):
6951 * icomplete.el (icomplete-simple-completing-p):
6952 * isearch.el (isearch-done):
6953 * jit-lock.el (jit-lock-stealth-fontify):
6954 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6955 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6956 * mpc.el (mpc-tagbrowser, mpc):
6957 * net/rcirc.el (rcirc-any-buffer):
6958 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6959 * play/landmark.el (landmark-max-width, landmark-max-height):
6960 * play/zone.el (zone):
6961 * progmodes/compile.el (compilation-goto-locus):
6962 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6963 * progmodes/etags.el (find-tag-other-window):
6964 * progmodes/fortran.el (fortran-column-ruler):
6965 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6966 * progmodes/verilog-mode.el (verilog-point-text):
6967 * reposition.el (reposition-window):
6968 * rot13.el (toggle-rot13-mode):
6969 * server.el (server-switch-buffer):
6970 * shell.el (shell-dynamic-complete-command)
6971 (shell-dynamic-complete-environment-variable):
6972 * simple.el (insert-buffer, set-selective-display)
6973 (delete-completion-window):
6974 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6975 (speedbar-recenter):
6976 * startup.el (fancy-splash-head):
6977 * textmodes/ispell.el (ispell-command-loop):
6978 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6979 * tutorial.el (help-with-tutorial):
6980 * vc/add-log.el (add-change-log-entry):
6981 * vc/compare-w.el (compare-windows):
6982 * vc/ediff-help.el (ediff-indent-help-message):
6983 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6984 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6985 (ediff-setup-control-frame):
6986 * vc/emerge.el (emerge-position-region):
6987 * vc/pcvs-util.el (cvs-bury-buffer):
6988 * window.el (walk-windows, mouse-autoselect-window-select):
6989 * winner.el (winner-set-conf, winner-undo): Related users changed.
6991 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6993 * frameset.el (frameset--set-id): Doc fix.
6994 (frameset-frame-id, frameset-frame-id-equal-p)
6995 (frameset-locate-frame-id): New functions.
6996 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6997 (frameset-restore): Use them.
6999 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7001 Do not call to `selected-frame' where it is assumed by default.
7002 Affected functions are `raise-frame', `redraw-frame',
7003 `frame-first-window', `frame-terminal' and `delete-frame'.
7004 * calendar/appt.el (appt-disp-window):
7005 * epg.el (epg-wait-for-completion):
7006 * follow.el (follow-delete-other-windows-and-split)
7007 (follow-avoid-tail-recenter):
7008 * international/mule.el (set-terminal-coding-system):
7009 * mail/rmail.el (rmail-mail-return):
7010 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7011 * progmodes/f90.el (f90-add-imenu-menu):
7012 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7013 * server.el (server-switch-buffer):
7014 * simple.el (delete-completion-window):
7016 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7017 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7018 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7019 * vc/ediff.el (ediff-documentation): Related users changed.
7020 * frame.el (selected-terminal): Remove the leftover.
7022 2013-08-05 Glenn Morris <rgm@gnu.org>
7024 * calendar/calendar.el (calendar-generate-month):
7025 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7026 (calendar-generate-month, calendar-font-lock-keywords):
7027 Fix for calendar-day-header-width > length of any day name.
7029 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7031 * desktop.el (desktop-clear): Use new name of sort predicate.
7033 * frameset.el (frameset): Add docstring. Move :version property to its
7035 (frameset-copy): Rename from copy-frameset.
7036 (frameset-p): Check more thoroughly.
7037 (frameset-prop): Do not check for :version, which is no longer a prop.
7038 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7039 Use new :never value instead of t.
7040 (frameset-filter-alist): Expand and clarify docstring.
7041 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7042 (frameset-filter-minibuffer, frameset-filter-save-param)
7043 (frameset-filter-restore-param, frameset-filter-iconified):
7044 Add pointer to docstring of frameset-filter-alist.
7045 (frameset-filter-params): Rename filter values to be more meaningful:
7046 :never instead of t, and reverse the meanings of :save and :restore.
7047 (frameset--process-minibuffer-frames): Clarify error message.
7048 (frameset-save): Avoid unnecessary and confusing call to framep.
7049 Use new BOA constructor for framesets.
7050 (frameset--reuse-list): Doc fix.
7051 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7052 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7053 (frameset-minibufferless-first-p): Doc fix.
7054 Rename from frameset-sort-frames-for-deletion.
7055 (frameset-restore): Doc fixes. Use new function names.
7056 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7058 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7060 * desktop.el (desktop-restore-forces-onscreen)
7061 (desktop-restore-reuses-frames): Document :keyword constant values.
7062 (desktop-filter-parameters-alist): Remove, now identical to
7063 frameset-filter-alist.
7064 (desktop--filter-tty*): Remove, moved to frameset.el.
7065 (desktop-save-frameset, desktop-restore-frameset):
7066 Do not pass :filters argument.
7068 * frameset.el (frameset-live-filter-alist)
7069 (frameset-persistent-filter-alist): New variables.
7070 (frameset-filter-alist): Use them. Add autoload cookie.
7071 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7072 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7073 `frameset--id' (it's supposed to be internal to frameset.el).
7074 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7075 (frameset--initial-params): New function.
7076 (frameset--get-frame): Use it. Doc fix.
7077 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7078 Accept :all, not 'all.
7079 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7080 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7081 with fbound symbols. Fix frame id matching, and remove matching ids if
7082 the frame being restored is deleted. Obey :delete.
7084 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * subr.el (macrop): New function.
7087 (text-clone--maintaining): New var.
7088 (text-clone--maintain): Rename from text-clone-maintain. Use it
7089 instead of inhibit-modification-hooks.
7091 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7092 a proxy, so as handle autoloads and redefinitions of the target.
7093 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7095 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7096 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7097 (pcase--mutually-exclusive-p): New function.
7098 (pcase--split-consp): Use it.
7099 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7100 mutually exclusive with the current predicate.
7102 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7103 (edebug-macrop): Remove. Use `macrop' instead.
7104 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7106 * eshell/esh-cmd.el (eshell-macrop):
7107 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7109 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7111 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7112 (advice-mapc): New function, using it.
7113 (advice-function-member-p): New function.
7114 (advice--normalize): Store the cdr in advice--saved-rewrite since
7115 that's the part that will be changed.
7116 (advice--symbol-function): New function.
7117 (advice-remove): Handle removal before the function is defined.
7118 Adjust to new advice--saved-rewrite.
7119 (advice-member-p): Use advice-function-member-p and
7120 advice--symbol-function.
7122 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7124 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7125 (frameset-filter-minibuffer): Doc fix.
7126 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7127 (frameset--set-id, frameset--process-minibuffer-frames)
7128 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7129 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7131 * desktop.el (desktop-clear): Only delete frames when called
7132 interactively and desktop-restore-frames is non-nil. Doc fix.
7133 (desktop-read): Set desktop-saved-frameset to nil.
7135 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7137 * vc/vc.el (vc-ignore): Rewrite.
7138 (vc-default-ignore-completion-table):
7140 (vc--add-line, vc--remove-regexp): New functions.
7142 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7143 (vc-svn-ignore-completion-table): New function.
7145 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7146 (vc-hg-ignore-completion-table):
7147 (vc-hg-find-ignore-file): New functions.
7149 * vc/vc-git.el (vc-git-ignore): Rewrite.
7150 (vc-git-ignore-completion-table):
7151 (vc-git-find-ignore-file): New functions.
7153 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7155 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7156 (vc-bzr-ignore-completion-table):
7157 (vc-bzr-find-ignore-file): New functions.
7159 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7161 * frameset.el (frameset-prop): New function and setter.
7162 (frameset-save): Do not modify frame list passed by the caller.
7164 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7166 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7168 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7171 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7173 * custom.el (custom-initialize-default, custom-initialize-set)
7174 (custom-initialize-reset, custom-initialize-changed): Affect the
7175 toplevel-default-value (bug#6275, bug#14586).
7176 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7179 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7181 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7182 Add cl-def* expressions.
7184 * frameset.el (frameset-filter-params): Fix order of arguments.
7186 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7188 Move code related to saving frames to frameset.el.
7189 * desktop.el: Require frameset.
7190 (desktop-restore-frames): Doc fix.
7191 (desktop-restore-reuses-frames): Rename from
7192 desktop-restoring-reuses-frames.
7193 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7194 (desktop-clear): Clear frames too.
7195 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7196 (desktop--filter-tty*, desktop-save, desktop-read):
7197 Use frameset functions.
7198 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7199 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7200 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7201 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7202 (desktop--process-minibuffer-frames, desktop-save-frames)
7203 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7204 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7205 (desktop--sort-states, desktop-restoring-frames-p)
7206 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7207 (desktop-restoring-frameset-p, desktop-restore-frameset)
7208 (desktop--check-dont-save, desktop-save-frameset): New functions.
7209 (desktop--app-id): New constant.
7210 (desktop-first-buffer, desktop-buffer-ok-count)
7211 (desktop-buffer-fail-count): Move before first use.
7212 * frameset.el: New file.
7214 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * files.el: Use lexical-binding.
7217 (dir-locals-read-from-file): Remove unused `err' variable.
7218 (hack-dir-local-variables--warned-coding): New var.
7219 (hack-dir-local-variables): Use it to avoid repeated warnings.
7220 (make-backup-file-name--default-function): New function.
7221 (make-backup-file-name-function): Use it as default.
7222 (buffer-stale--default-function): New function.
7223 (buffer-stale-function): Use it as default.
7224 (revert-buffer-insert-file-contents--default-function): New function.
7225 (revert-buffer-insert-file-contents-function): Use it as default.
7226 (insert-directory): Avoid add-to-list.
7228 * autorevert.el (auto-revert-handler): Simplify.
7229 Use buffer-stale--default-function.
7231 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7233 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7235 * whitespace.el (whitespace-ensure-local-variables): New function.
7236 (whitespace-cleanup-region): Call it.
7237 (whitespace-turn-on): Call it.
7239 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7241 Complete file name handlers.
7243 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7244 (tramp-handle-verify-visited-file-modtime)
7245 (tramp-handle-file-notify-rm-watch): New functions.
7246 (tramp-call-process): Do not bind `default-directory'.
7248 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7249 Order alphabetically.
7250 [access-file, add-name-to-file, dired-call-process]:
7251 [dired-compress-file, file-acl, file-notify-rm-watch]:
7252 [file-ownership-preserved-p, file-selinux-context]:
7253 [make-directory-internal, make-symbolic-link, set-file-acl]:
7254 [set-file-selinux-context, set-visited-file-modtime]:
7255 [verify-visited-file-modtime]: Add handler.
7256 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7259 [file-notify-add-watch, file-notify-rm-watch]:
7260 [set-file-times, set-visited-file-modtime]:
7261 [verify-visited-file-modtime]: Add handler.
7262 (with-tramp-gvfs-error-message)
7263 (tramp-gvfs-handle-set-visited-file-modtime)
7264 (tramp-gvfs-fuse-file-name): Remove.
7265 (tramp-gvfs-handle-file-notify-add-watch)
7266 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7267 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7269 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7270 Order alphabetically.
7271 [file-notify-rm-watch ]: Use default Tramp handler.
7272 [executable-find]: Remove private handler.
7273 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7274 `default-directory'.
7275 (tramp-sh-handle-executable-find)
7276 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7277 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7278 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7279 Do not use `format' in `tramp-message'.
7281 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7282 [file-notify-rm-watch, set-visited-file-modtime]:
7283 [verify-visited-file-modtime]: Add handler.
7284 (tramp-smb-call-winexe): Do not bind `default-directory'.
7286 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7288 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7290 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7292 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7294 (log-view-diff-changeset): Same.
7295 (log-view-diff-common): Call backend command `previous-revision'
7296 to find out the previous revision, in both cases. Swap the
7297 variables `to' and `fr', so that `fr' usually refers to the
7298 earlier revision (Bug#14989).
7300 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7302 * ibuf-ext.el (ibuffer-filter-by-filename):
7303 Make it work with dired buffers too.
7305 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7307 * emacs-lisp/re-builder.el (reb-color-display-p):
7308 * files.el (save-buffers-kill-terminal):
7309 * net/browse-url.el (browse-url):
7310 * server.el (server-save-buffers-kill-terminal):
7311 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7312 Prefer nil to selected-frame for the first arg of frame-parameter.
7314 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7316 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7318 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7320 * minibuffer.el (completion--twq-all): Try and preserve each
7321 completion's case choice (bug#14907).
7323 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7325 * net/network-stream.el (open-network-stream): Mention the new
7326 :nogreeting parameter.
7327 (network-stream-open-starttls): Use the :nogreeting parameter
7330 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7332 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7333 more natural than popping.
7335 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7336 (shr-urlify): Highlight under mouse.
7338 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7340 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7342 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7344 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7347 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7348 point-min==1. Fix search string. Fix parentheses missing.
7350 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7351 assume point-min==1. Fix search string. Fix parentheses missing.
7353 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7355 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7358 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7360 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7361 initial frame is minibuffer-less. (Bug#14841)
7363 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7365 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7369 (tramp-maybe-open-connection): Use it.
7371 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7373 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7374 minimal set of parameters passed when creating a frame, because
7375 the minibuffer status of a frame cannot be changed later.
7377 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7379 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7380 replace-regexp-in-string and inadvertent omissions in previous change.
7381 (todo-filter-items): Ensure only file names are comma-separated in
7382 name of filtered items buffer.
7384 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7386 * desktop.el: Optionally force offscreen frames back onscreen.
7387 (desktop-restoring-reuses-frames): New option.
7388 (desktop--compute-pos, desktop--move-onscreen): New functions.
7389 (desktop--make-frame): Use desktop--move-onscreen.
7391 2013-07-27 Alan Mackenzie <acm@muc.de>
7393 Fontify a Java generic method as a function.
7394 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7397 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7399 * calendar/todo-mode.el: Add command to rename todo files.
7400 (todo-rename-file): New command.
7401 (todo-key-bindings-t): Add key binding for it. Change the
7402 bindings of todo-filter-regexp-items(-multifile) to use `x'
7403 instead of `r', since the latter is better suited to the new
7406 2013-07-27 Alan Mackenzie <acm@muc.de>
7408 Make Java try-with-resources statement parse properly.
7409 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7410 (c-block-stmt-1-2-key): New language constants/variables.
7411 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7412 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7413 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7414 with c-block-stmt-1-2-key.
7416 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7418 * desktop.el (desktop--make-frame): Apply most frame parameters after
7419 creating the frame to force (partially or totally) offscreen frames to
7420 be restored as such.
7422 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7424 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7427 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7429 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7430 `base' arg of backtrace-frame.
7432 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7434 * simple.el (list-processes): Doc fix.
7436 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7438 * desktop.el (desktop--select-frame):
7439 Try harder to reuse existing frames.
7441 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7443 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7444 (edebug-eval): Use backtrace-eval.
7445 (edebug--display, edebug--recursive-edit): Don't let-bind the
7446 edebug-outer-* vars that keep track of variables we locally let-bind.
7447 (edebug-outside-excursion): Don't restore outside values of locally
7449 (edebug--display): Use user-error.
7450 (cl-lexical-debug, cl-debug-env): Remove.
7452 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7454 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7455 are restored to be sure that they are visible before deleting any
7458 2013-07-26 Matthias Meulien <orontee@gmail.com>
7460 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7461 vc-print-root-log. (Bug#14948)
7463 2013-07-26 Richard Stallman <rms@gnu.org>
7465 Add aliases for encrypting mail.
7466 * epa.el (epa-mail-aliases): New option.
7467 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7468 Bind inhibit-read-only so read-only text doesn't ruin everything.
7469 (epa-mail-default-recipients): New subroutine broken out.
7470 Handle epa-mail-aliases.
7472 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7474 Add support for lexical variables to the debugger's `e' command.
7475 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7476 vars, except for debugger-outer-match-data.
7477 (debugger-frame-number): Move check for "on a function call" from
7478 callers into it. Add `skip-base' argument.
7479 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7480 (debugger-env-macro): Only reset the state stored in non-variables,
7481 i.e. current-buffer and match-data.
7482 (debugger-eval-expression): Rewrite using backtrace-eval.
7483 * subr.el (internal--called-interactively-p--get-frame): Remove.
7484 (called-interactively-p):
7485 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7486 `base' arg of backtrace-frame instead.
7488 2013-07-26 Glenn Morris <rgm@gnu.org>
7490 * align.el (align-regexp): Doc fix. (Bug#14857)
7491 (align-region): Explicit error if subexpression missing/does not match.
7493 * simple.el (global-visual-line-mode):
7494 Do not duplicate the mode lighter. (Bug#14858)
7496 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7498 * window.el (display-buffer): In display-buffer bind
7499 split-window-keep-point to t, bug#14829.
7501 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7503 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7504 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7505 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7506 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7508 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7509 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7511 2013-07-25 Glenn Morris <rgm@gnu.org>
7513 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7515 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7517 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7518 parameter to modify-frame-parameters if the value has not changed;
7519 this is a workaround for bug#14949.
7520 (desktop--make-frame): On cl-delete-if call, check parameter name,
7523 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7525 * vc/vc.el (vc-ignore): New function.
7527 * vc/vc-svn.el (vc-svn-ignore): New function.
7529 * vc/vc-hg.el (vc-hg-ignore): New function.
7531 * vc/vc-git.el (vc-git-ignore): New function.
7533 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7534 (vc-dir-ignore): New function.
7536 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7537 (cvs-append-to-ignore): Move here from pcvs.el.
7539 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7541 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7543 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7545 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7546 (desktop-restore-frames): Warn when deleting an existing frame failed.
7548 2013-07-24 Glenn Morris <rgm@gnu.org>
7550 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7552 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7554 * filenotify.el (file-notify-supported-p):
7555 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7558 * autorevert.el (auto-revert-use-notify):
7559 (auto-revert-notify-add-watch):
7560 * net/tramp.el (tramp-file-name-for-operation):
7561 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7563 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7564 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7565 Remove `file-notify-supported-p' entry.
7567 2013-07-24 Glenn Morris <rgm@gnu.org>
7569 * printing.el: Replace all uses of deleted ps-windows-system,
7570 ps-lp-system, ps-flatten-list with lpr- versions.
7572 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7574 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7575 checked with memq (bug#14935).
7577 * files.el (revert-buffer-function): Use a non-nil default.
7578 (revert-buffer-preserve-modes): Declare var to
7579 provide access to the `preserve-modes' argument.
7580 (revert-buffer): Let-bind it.
7581 (revert-buffer--default): New function, extracted from revert-buffer.
7583 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * lpr.el: Signal print errors more prominently.
7586 (print-region-function): Don't default to nil.
7587 (lpr-print-region): New function, extracted from print-region-1.
7588 Check lpr's return value and signal an error in case of problem.
7589 (print-region-1): Use it.
7590 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7592 (ps-printer-name): Default to nil.
7593 (ps-printer-name-option): Default to lpr-printer-switch.
7594 (ps-print-region-function): Don't default to nil.
7595 (ps-postscript-code-directory): Simplify default.
7596 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7597 (ps-string-list, ps-eval-switch, ps-flatten-list)
7598 (ps-flatten-list-1): Remove.
7599 (ps-multibyte-buffer): Avoid setq.
7600 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7601 (print-region-function, ps-print-region-function): Don't set them here.
7603 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7605 * ido.el (ido-fractionp):
7606 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7607 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7608 (ido-max-directory-size, ido-max-dir-file-cache)
7609 (ido-decorations): Doc fix.
7611 * ansi-color.el: Fix old URL.
7613 2013-07-23 Michael R. Mauger <michael@mauger.com>
7615 * progmodes/sql.el: Version 3.3
7616 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7617 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7618 (sql-interactive-remove-continuation-prompt): Rewrite, use
7619 functions above. Fix continuation prompt and complete output line
7621 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7622 redirected output buffer.
7623 (sql-mode): Restore deleted code (Bug#13591).
7625 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7627 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7629 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7631 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7633 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7634 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7635 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7637 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7639 * desktop.el (desktop-clear): Simplify; remove useless checks
7640 against invalid buffer names.
7641 (desktop-list*): Use cl-list*.
7642 (desktop-buffer-info, desktop-create-buffer): Simplify.
7644 2013-07-23 Leo Liu <sdl.web@gmail.com>
7646 * bookmark.el (bookmark-make-record): Restore NAME as a default
7649 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7651 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7652 extracted from autoload--insert-text.
7653 (autoload--insert-text): Remove.
7654 (autoload--print-cookie-text): New function, extracted from
7655 autoload--insert-cookie-text.
7656 (autoload--insert-cookie-text): Remove.
7657 (autoload-generate-file-autoloads): Adjust calls accordingly.
7659 * winner.el (winner-hook-installed-p): Remove.
7660 (winner-mode): Simplify accordingly.
7662 * subr.el (add-to-list): Fix compiler-macro when `append' is
7663 not constant. Don't use `cl-member' for the base case.
7665 * progmodes/subword.el: Fix boundary case (bug#13758).
7666 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7668 (subword-backward-regexp): Make it a constant.
7669 (subword-forward-internal): Don't treat a trailing capital as the
7670 beginning of a word.
7672 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7674 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7675 global value of tabulated-list-revert-hook (bug#14930).
7677 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7679 * desktop.el: Require 'cl-lib.
7680 (desktop-before-saving-frames-functions): New hook.
7681 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7682 for frames being saved. Rename from desktop--save-minibuffer-frames.
7683 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7684 Do not save frames with non-nil `desktop-dont-save' parameter.
7685 Filter out deleted frames.
7686 (desktop--find-frame): Use cl-find-if.
7687 (desktop--select-frame): Use cl-(first|second|third) to access values
7689 (desktop--make-frame): Use cl-delete-if.
7690 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7691 (desktop-restore-frames): Use cl-(first|second|third) to access values
7692 of desktop-mini. Look for visible frame at the end, not while
7695 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7696 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7697 Use string-match-p, looking-at-p (bug#14927).
7699 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7701 * desktop.el (desktop-saved-frame-states):
7702 Rename from desktop--saved-states; all users changed.
7703 (desktop-save-frames): Rename from desktop--save-frames.
7704 Do not save state to desktop file.
7705 (desktop-save): Save desktop-saved-frame-states to desktop file
7707 (desktop-restoring-frames-p): New function.
7708 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7709 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7710 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7712 * desktop.el: Correctly restore iconified frames.
7713 (desktop--filter-iconified-position): New function.
7714 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7716 2013-07-20 Glenn Morris <rgm@gnu.org>
7718 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7719 Let `message' do the formatting.
7720 (def-gdb-preempt-display-buffer): Add explicit format.
7722 * image-dired.el (image-dired-track-original-file):
7723 Use with-current-buffer.
7724 (image-dired-track-thumbnail): Use with-current-buffer.
7725 Avoid changing point of wrong window.
7727 * image-dired.el (image-dired-track-original-file):
7728 Avoid changing point of wrong window. (Bug#14909)
7730 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7732 * progmodes/gdb-mi.el (gdb-done-or-error):
7733 Guard against "%" in gdb output. (Bug#14127)
7735 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7737 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7740 * international/mule.el (coding-system-iso-2022-flags): Fix last
7743 2013-07-20 Kenichi Handa <handa@gnu.org>
7745 * international/mule.el (coding-system-iso-2022-flags):
7746 Add `8-bit-level-4'. (Bug#8522)
7748 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7750 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7753 * net/eww.el (eww-process-text-input): Allow inputting when the
7754 point is at the start of the line, as the properties aren't
7757 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7760 2013-07-19 Richard Stallman <rms@gnu.org>
7762 * epa.el (epa-popup-info-window): Doc fix.
7764 * subr.el (split-string): New arg TRIM.
7766 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7768 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7769 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7771 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7773 * filenotify.el (file-notify--library): Rename from
7774 `file-notify-support'. Do not autoload. Adapt all uses.
7775 (file-notify-supported-p): New defun.
7777 * autorevert.el (auto-revert-use-notify):
7778 Use `file-notify-supported-p' instead of `file-notify-support'.
7780 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7782 * net/tramp.el (tramp-file-name-for-operation):
7783 Add `file-notify-supported-p'.
7785 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7787 (tramp-sh-file-name-handler-alist): Add it as handler for
7788 `file-notify-supported-p '.
7790 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7791 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7792 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7793 Add `ignore' as handler for `file-notify-*' functions.
7795 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7797 * simple.el (line-move-partial, line-move): Don't start vscroll or
7798 scroll-up if the current line is not taller than the window.
7801 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7803 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7804 highlight question marks in the method names as strings.
7805 (ruby-block-beg-keywords): Inline.
7806 (ruby-font-lock-keyword-beg-re): Extract from
7807 `ruby-font-lock-keywords'.
7809 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7811 * frame.el (blink-cursor-blinks): New defcustom.
7812 (blink-cursor-blinks-done): New defvar.
7813 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7814 (blink-cursor-timer-function): Check if number of blinks has been
7816 (blink-cursor-suspend, blink-cursor-check): New defuns.
7818 2013-07-15 Glenn Morris <rgm@gnu.org>
7820 * edmacro.el (edmacro-format-keys): Fix previous change.
7822 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7824 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7825 The hack didn't work outside English locales anyway.
7827 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7829 * simple.el (define-alternatives): Rename from alternatives-define,
7830 per RMS' suggestion.
7832 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7834 * desktop.el (desktop-restore-frames): Change default to t.
7835 (desktop-restore-in-current-display): Now offer more options.
7836 (desktop-restoring-reuses-frames): New customization option.
7837 (desktop--saved-states): Doc fix.
7838 (desktop-filter-parameters-alist): New variable, renamed and expanded
7839 from desktop--excluded-frame-parameters.
7840 (desktop--target-display): New variable.
7841 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7842 (desktop--filter-tty*, desktop--filter-*-color)
7843 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7844 (desktop--filter-save-desktop-parm)
7845 (desktop-restore-in-original-display-p): New functions.
7846 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7847 (desktop--save-minibuffer-frames): New function, inspired by a similar
7848 function from Martin Rudalics.
7849 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7850 (desktop--restore-in-this-display-p): Remove.
7851 (desktop--find-frame): Rename from desktop--find-frame-in-display
7852 and add predicate argument.
7853 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7854 (desktop--reuse-list): New variable.
7855 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7857 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7859 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7861 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7863 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7865 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7866 Highlight conversion methods on Kernel.
7868 2013-07-13 Alan Mackenzie <acm@muc.de>
7870 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7871 and comment it out. This out-commenting enables certain C++
7872 declarations to be parsed correctly.
7874 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7876 * international/mule.el (define-coding-system): Doc fix.
7878 * simple.el (default-font-height): Don't call font-info if the
7879 frame's default font didn't change since the frame was created.
7882 2013-07-13 Leo Liu <sdl.web@gmail.com>
7884 * ido.el (ido-read-file-name): Guard against non-symbol value.
7886 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7888 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7891 2013-07-13 Leo Liu <sdl.web@gmail.com>
7893 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7894 ido-set-matches call. (Bug#6852)
7896 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7898 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7899 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7901 (ruby-font-lock-keywords): Distinguish calls to functions with
7902 module-like names from module references. Highlight character
7905 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7907 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7908 (gdb-send): Handle continued commands. (Bug#14847)
7910 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7912 * desktop.el (desktop--v2s): Remove unused local variable.
7913 (desktop-save-buffer): Make defvar-local; adjust docstring.
7914 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7915 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7917 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7919 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7921 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7923 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7926 2013-07-12 Glenn Morris <rgm@gnu.org>
7928 * doc-view.el: Require cl-lib at runtime too.
7929 (doc-view-remove-if): Remove.
7930 (doc-view-search-next-match, doc-view-search-previous-match):
7933 * edmacro.el: Require cl-lib at runtime too.
7934 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7935 (edmacro-mismatch, edmacro-subseq): Remove.
7937 * shadowfile.el: Require cl-lib.
7938 (shadow-remove-if): Remove.
7939 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7942 * wid-edit.el: Require cl-lib.
7943 (widget-choose): Use cl-remove-if.
7944 (widget-remove-if): Remove.
7946 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7947 (ebrowse-delete-if-not): Remove.
7948 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7949 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7950 Use cl-delete-if-not.
7952 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7954 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7955 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7957 2013-07-12 Leo Liu <sdl.web@gmail.com>
7959 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7961 2013-07-11 Glenn Morris <rgm@gnu.org>
7963 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7964 (edebug-gensym-index, edebug-gensym):
7965 Remove reimplementation of cl-gensym.
7966 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7968 * thumbs.el: Require cl-lib at run-time too.
7969 (thumbs-gensym-counter, thumbs-gensym):
7970 Remove reimplementation of cl-gensym.
7971 (thumbs-temp-file): Use cl-gensym.
7973 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7974 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7975 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7976 (ert--union, ert--gensym-counter, ert--gensym-counter)
7977 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7978 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7979 (ert-make-test-unbound, ert--expand-should-1)
7980 (ert--expand-should, ert--should-error-handle-error)
7981 (should-error, ert--explain-equal-rec)
7982 (ert--plist-difference-explanation, ert-select-tests)
7983 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7984 Use cl-lib functions rather than reimplementations.
7986 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7988 * net/tramp.el (tramp-methods): Extend docstring.
7989 (tramp-connection-timeout): New defcustom.
7990 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7991 (with-tramp-progress-reporter): Simplify.
7992 (tramp-process-actions): Improve messages.
7994 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7995 * net/tramp-sh.el (tramp-maybe-open-connection):
7996 Use `tramp-connection-timeout'.
7997 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8000 2013-07-11 Leo Liu <sdl.web@gmail.com>
8002 * ido.el (ido-read-file-name): Conform to the requirements of
8003 read-file-name. (Bug#11861)
8004 (ido-read-directory-name): Conform to the requirements of
8005 read-directory-name.
8007 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8009 * subr.el (delay-warning): New function.
8011 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8013 * simple.el (default-line-height): New function.
8014 (line-move-partial, line-move): Use it instead of computing the
8016 (line-move-partial): Always compute ROWH. If the last line is
8017 partially-visible, but its text is completely visible, allow
8018 cursor to enter such a partially-visible line.
8020 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8022 Improve error messages. (Bug#14808)
8024 * net/tramp.el (tramp-current-connection): New defvar, moved from
8026 (tramp-message-show-progress-reporter-message): Remove, not
8028 (tramp-error-with-buffer): Show message in minibuffer.
8029 Discard input before waiting. Reset connection timestamp.
8030 (with-tramp-progress-reporter): Improve messages.
8031 (tramp-process-actions): Use progress reporter. Delete process in
8032 case of error. Improve messages.
8034 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8035 Call `tramp-error-with-buffer' with vector and buffer.
8036 (tramp-current-connection): Remove.
8037 (tramp-maybe-open-connection): The car of
8038 `tramp-current-connection' are the first 3 slots of the vector.
8040 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8042 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8043 inside continued strings.
8045 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8047 Timestamp fixes for undo (Bug#14824).
8048 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8050 2013-07-10 Leo Liu <sdl.web@gmail.com>
8052 * files.el (require-final-newline): Allow safe local value.
8055 2013-07-09 Leo Liu <sdl.web@gmail.com>
8057 * ido.el (ido-read-directory-name): Handle fallback.
8058 (ido-read-file-name): Update DIR to ido-current-directory.
8060 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8062 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8065 "autoload". Remove "warn lower camel case" section, previously
8066 commented out. Highlight negation char. Do not highlight the
8067 target in singleton method definitions.
8069 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8071 * faces.el (tty-setup-hook): Declare the hook.
8073 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8074 and detect when a guard/pred depends on local vars (bug#14773).
8075 (pcase--u1): Adjust caller.
8077 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8079 * simple.el (line-move-partial, line-move): Account for
8081 (line-move-partial): Avoid setting vscroll when the last
8082 partially-visible line in window is of default height.
8084 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8086 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8089 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8091 * subr.el (read-quoted-char): Remove unused local variable `char'.
8093 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8095 * ediff.el (ediff-version): Version update.
8096 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8097 (ediff-merge-with-ancestor-command, ediff-directories-command)
8098 (ediff-directories3-command, ediff-merge-directories-command)
8099 (ediff-merge-directories-with-ancestor-command): New functions.
8100 All are command-line interfaces to ediff: to facilitate calling
8101 Emacs with the appropriate ediff functions invoked.
8103 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8104 (viper-save-kill-buffer): Check if buffer is modified.
8106 * viper.el (viper-version): Version update.
8107 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8109 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8112 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8113 (viper-intercept-ESC-key): Simplify.
8114 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8115 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8116 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8117 (viper-setup-ESC-to-escape): New functions.
8118 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8119 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8121 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8123 * simple.el (default-font-height, window-screen-lines):
8125 (line-move, line-move-partial): Use them instead of
8126 frame-char-height and window-text-height. This makes scrolling
8127 text smoother when the buffer's default face uses a font that is
8128 different from the frame's default font.
8130 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8132 * files.el (write-file): Do not display confirm dialog for NS,
8133 it does its own dialog, which can't be canceled (Bug#14578).
8135 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8137 * simple.el (line-move-partial): Adjust the row returned by
8138 posn-at-point for the current window-vscroll. (Bug#14567)
8140 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8142 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8143 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8146 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8148 * window.el (window-state-put-stale-windows): New variable.
8149 (window--state-put-2): Save list of windows without matching buffer.
8150 (window-state-put): Remove "bufferless" windows if possible.
8152 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8154 * simple.el (alternatives-define): Remove leftover :group keyword.
8157 2013-07-06 Leo Liu <sdl.web@gmail.com>
8159 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8160 (ido-enable-virtual-buffers): New variable.
8161 (ido-buffer-internal, ido-toggle-virtual-buffers)
8162 (ido-make-buffer-list): Use it.
8163 (ido-exhibit): Support turning on and off virtual buffers
8166 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8168 * simple.el (alternatives-define): New macro.
8170 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8172 * subr.el (read-quoted-char): Use read-key.
8173 (sit-for): Let read-event decode tty input (bug#14782).
8175 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8177 * calendar/todo-mode.el: Add handling of file deletion, both by
8178 mode command and externally. Fix various related bugs.
8179 Clarify Commentary and improve some documentation strings and code.
8180 (todo-delete-file): New command.
8181 (todo-check-file): New function.
8182 (todo-show): Handle external deletion of the file we're trying to
8183 show (bug#14688). Replace called-interactively-p by an optional
8184 prefix argument to avoid problematic interaction with catch form
8185 when byte compiled (bug#14702).
8186 (todo-quit): Handle external deletion of the archive's todo file.
8187 Make sure the buffer that was visiting the archive file is still
8188 live before trying to bury it.
8189 (todo-category-completions): Handle external deletion of any
8190 category completion files.
8191 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8192 of todo files, in case of external deletion.
8193 (todo-add-file): Replace unnecessary setq by let-binding.
8194 (todo-find-archive): Check whether there are any archives.
8195 Replace unnecessary setq by let-binding.
8196 (todo-archive-done-item): Use find-file-noselect to get the
8197 archive buffer whether or not the archive already exists.
8198 Remove superfluous code. Use file size instead of buffer-file-name to
8199 check if the archive is new; if it is, update list of archives.
8200 (todo-default-todo-file): Allow nil to be a valid value for when
8201 there are no todo files.
8202 (todo-reevaluate-default-file-defcustom): Use corrected definition
8203 of todo-default-todo-file.
8204 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8205 (todo-delete-category, todo-show-categories-table)
8206 (todo-category-number): Clarify comment.
8207 (todo-filter-items): Clarify documentation string.
8208 (todo-show-current-file, todo-display-as-todo-file)
8209 (todo-reset-and-enable-done-separator): Tweak documentation string.
8210 (todo-done-separator): Make separator length window-width, since
8211 bug#2749 is now fixed.
8213 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8215 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8216 Support both "gvfs-monitor-dir" and "inotifywait".
8217 (tramp-sh-file-inotifywait-process-filter): Rename from
8218 `tramp-sh-file-notify-process-filter'.
8219 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8220 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8222 2013-07-05 Leo Liu <sdl.web@gmail.com>
8224 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8226 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8228 * frame.el (display-pixel-height, display-pixel-width)
8229 (display-mm-height, display-mm-width): Mention behavior on
8230 multi-monitor setups in docstrings.
8231 (w32-display-monitor-attributes-list): Declare function.
8232 (display-monitor-attributes-list): Use it.
8234 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8236 * filenotify.el: New package.
8238 * autorevert.el (top): Require filenotify.el.
8239 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8241 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8242 (auto-revert-notify-handler): Use `file-notify-*' functions.
8244 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8246 * net/tramp.el (tramp-file-name-for-operation):
8247 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8249 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8250 for `file-notify-add-watch' and `file-notify-rm-watch'.
8251 (tramp-process-sentinel): Improve trace.
8252 (tramp-sh-handle-file-notify-add-watch)
8253 (tramp-sh-file-notify-process-filter)
8254 (tramp-sh-handle-file-notify-rm-watch)
8255 (tramp-get-remote-inotifywait): New defuns.
8257 2013-07-03 Juri Linkov <juri@jurta.org>
8259 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8260 call of `occur-read-primary-args' to interactive spec.
8262 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8263 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8265 2013-07-03 Matthias Meulien <orontee@gmail.com>
8267 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8268 `Buffer-menu-multi-occur'. Add it to the menu.
8269 (Buffer-menu-mode): Document it in docstring.
8270 (Buffer-menu-multi-occur): New command. (Bug#14673)
8272 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8274 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8275 keywords and built-ins.
8277 2013-07-03 Glenn Morris <rgm@gnu.org>
8279 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8281 Make info-xref checks case-sensitive by default
8282 * info.el (Info-find-node, Info-find-in-tag-table)
8283 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8284 Add option for exact case matching of nodes.
8285 * info-xref.el (info-xref): New custom group.
8286 (info-xref-case-fold): New option.
8287 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8289 2013-07-03 Leo Liu <sdl.web@gmail.com>
8291 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8293 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8295 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8296 middle of block statement initially, lower the depth. Remove
8297 FIXME comment, not longer valid. Remove middle of block statement
8298 detection, no need to do that anymore since we've been using
8299 `ruby-parse-region' here.
8301 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8303 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8305 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8307 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8309 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8311 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8312 (desktop-restore-in-current-display): New customization option.
8313 (desktop--excluded-frame-parameters): Add `font'.
8314 (desktop--save-frames): Rename from desktop--save-windows.
8315 (desktop--restore-in-this-display-p): New function.
8316 (desktop--make-full-frame): Remove unwanted width/height from
8317 full(width|height) frames.
8318 (desktop--restore-frames): Rename from desktop--restore-windows.
8319 Obey desktop-restore-current-display. Do not delete old frames or
8320 select a new frame unless we were able to restore at least one frame.
8322 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8324 * files.el (find-file-noselect): Simplify conditional expression.
8326 * textmodes/remember.el (remember-append-to-file):
8327 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8329 Add `remember-notes' function to store random notes across Emacs
8331 * textmodes/remember.el (remember-data-file): Add :set callback to
8332 affect notes buffer (if any).
8333 (remember-notes): New command.
8334 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8335 New defcustoms for the `remember-notes' function.
8336 (remember-notes-save-and-bury-buffer): New command.
8337 (remember-notes-mode-map): New variable.
8338 (remember-mode): New minor mode.
8339 (remember-notes--kill-buffer-query): New function.
8340 * startup.el (initial-buffer-choice): Add notes to custom type.
8342 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8344 * bindings.el (right-char, left-char): Don't call sit-for, this is
8345 no longer needed. Use arithmetic comparison only for numerical
8348 * international/mule-cmds.el (select-safe-coding-system):
8349 Handle the case of FROM being a string correctly. (Bug#14755)
8351 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8353 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8354 progression on degenerate tables.
8355 (shr-rescale-image): ImageMagick animated images currently don't work.
8357 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8359 Some fixes and improvements for desktop frame restoration.
8360 It is still experimental and disabled by default.
8361 * desktop.el (desktop--save-windows): Put the selected frame at
8362 the head of the list.
8363 (desktop--make-full-frame): New function.
8364 (desktop--restore-windows): Try to re-select the frame that was
8365 selected upon saving. Do not abort if some frames fail to restore,
8366 just show an error message and continue. Set up maximized frames
8367 so they have default non-maximized dimensions.
8369 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8371 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8372 Don't start heredoc inside a string or comment.
8374 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8376 * bindings.el (visual-order-cursor-movement): New defcustom.
8377 (right-char, left-char): Provide visual-order cursor motion by
8378 calling move-point-visually. Update the doc strings.
8380 2013-06-28 Kenichi Handa <handa@gnu.org>
8382 * international/mule.el (define-coding-system): New coding system
8383 properties :inhibit-null-byte-detection,
8384 :inhibit-iso-escape-detection, and :prefer-utf-8.
8385 (set-buffer-file-coding-system): If :charset-list property of
8386 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8387 appropriate for setting.
8389 * international/mule-cmds.el (select-safe-coding-system):
8390 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8391 multibyte characters, return utf-8 (or one of its siblings).
8393 * international/mule-conf.el (prefer-utf-8): New coding system.
8394 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8397 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8399 * net/shr.el (shr-render-region): New function.
8401 * net/eww.el: Autoload `eww-browse-url'.
8403 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8405 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8406 Adapt to `package-desc-version' being a list.
8407 Use `package--ac-desc-version' to retrieve version from a package
8410 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8412 New experimental feature to save&restore window and frame setup.
8413 * desktop.el (desktop-save-windows): New defcustom.
8414 (desktop--saved-states): New var.
8415 (desktop--excluded-frame-parameters): New defconst.
8416 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8417 (desktop--restore-windows, desktop--save-windows): New functions.
8418 (desktop-save): Call `desktop--save-windows'.
8419 (desktop-read): Call `desktop--restore-windows'.
8421 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8423 * net/shr.el (add-face-text-property): Remove compat definition.
8425 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8427 * info.el (Info-try-follow-nearest-node): Move search for footnote
8428 above search for node name to prevent missing a footnote (bug#14717).
8430 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8432 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8434 2013-06-27 Leo Liu <sdl.web@gmail.com>
8436 * net/eww.el (eww-read-bookmarks): Check file size.
8438 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8440 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8441 advice--pending if newdef is nil or an autoload (bug#13820).
8442 (advice-mapc): New function.
8444 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8446 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8448 (eww-mode-map): Add a menu bar.
8449 (eww-add-bookmark): New command.
8450 (eww-bookmark-mode): New mode and commands.
8451 (eww-add-bookmark): Remove newlines from the title.
8452 (eww-bookmark-browse): Don't bug out if it's the only window.
8454 2013-06-26 Glenn Morris <rgm@gnu.org>
8456 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8457 (hfy-size): Handle ttys. (Bug#14668)
8459 * info-xref.el: Update for Texinfo 5 change in *note format.
8460 (info-xref-node-re, info-xref-note-re): New constants.
8461 (info-xref-check-buffer): Use info-xref-note-re.
8463 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8467 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8468 nil terminate the loop (bug#14718).
8470 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472 * net/eww.el: Rework history traversal. When going forward/back,
8473 put these actions into the history, too, so that they can be
8475 (eww-render): Move the history reset to the correct buffer.
8477 2013-06-25 Juri Linkov <juri@jurta.org>
8479 * files-x.el (modify-dir-local-variable): Change the header comment
8480 in the file with directory local variables. (Bug#14692)
8482 * files-x.el (read-file-local-variable-value): Add `default'.
8485 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8487 * net/eww.el (eww-make-unique-file-name): Create a unique file
8488 name before saving to entering `y' accidentally asynchronously.
8490 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8492 * net/eww.el (eww-download): New command and keystroke.
8494 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496 * net/eww.el (eww-copy-page-url): Change name of command.
8498 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8499 be more consistent with Info and dired.
8501 * net/eww.el (eww-mode-map): Ditto.
8503 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8505 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8506 packages from archives.
8507 (package-archive-contents): Change format; include obsolete packages.
8508 (package-desc): Use `dir' to mark builtin packages.
8509 (package--from-builtin): Set the `dir' field to `builtin'.
8510 (generated-autoload-file, version-control): Declare.
8511 (package-compute-transaction): Change first arg and return value to be
8512 lists of package-descs. Adjust to new package-archive-contents format.
8513 (package--add-to-archive-contents): Adjust to new
8514 package-archive-contents format.
8515 (package-download-transaction): Arg is now a list of package-descs.
8516 (package-install): If `pkg' is a package name, pass it as
8517 a requirement, so it is subject to the usual (e.g. disabled) checks.
8518 (describe-package): Accept package-desc as well.
8519 (describe-package-1): Describe a specific package-desc. Add links to
8520 other package-descs for the same package name.
8521 (package-menu-describe-package): Pass the actual package-desc.
8522 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8524 (package-desc-status): New function.
8525 (package-menu--refresh): New function, extracted
8526 from package-menu--generate.
8527 (package-menu--generate): Use it.
8528 (package-delete): Update package-alist.
8529 (package-menu-execute): Don't call package-initialize.
8531 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8532 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8533 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8534 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8535 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8536 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8538 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8540 * window.el (window--state-get-1): Workaround for bug#14527.
8541 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8543 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545 * net/eww.el (eww-back-url): Implement the history by stashing all
8546 the data into a list.
8547 (eww-forward-url): Allow going forward in the history, too.
8549 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8551 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8552 for values and use read--expression for expressions (bug#14710).
8553 (read-file-local-variable): Avoid setq.
8554 (read-file-local-variable-mode): Use minor-mode-list.
8556 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8558 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8561 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8563 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8564 Update imenu-support when dialect changes.
8566 2013-06-25 Leo Liu <sdl.web@gmail.com>
8568 * ido.el (ido-read-internal): Allow forward slash on windows.
8570 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8572 * net/eww.el (eww): Start of strings is \\`, not ^.
8574 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8576 * net/shr.el (shr-browse-url): Fix interactive spec.
8578 * net/eww.el (eww): Add a trailing slash to domain names.
8580 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8582 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8584 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8586 * net/shr.el (shr-browse-url): Use an external browser if given a
8589 * net/eww.el (eww-external-browser): Move to shr.
8591 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8593 * net/eww.el (eww): Work more correctly for file: URLs.
8594 (eww-detect-charset): Allow quoted charsets.
8595 (eww-yank-page-url): New command and keystroke.
8597 2013-06-24 Daiki Ueno <ueno@gnu.org>
8599 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8600 file name of gpg executable.
8601 (epg-context-program): New function.
8602 (epg-context-home-directory): New function.
8603 (epg-context-set-program): New function.
8604 (epg-context-set-home-directory): New function.
8605 (epg--start): Use `epg-context-program' instead of
8607 (epg--list-keys-1): Likewise.
8609 2013-06-24 Leo Liu <sdl.web@gmail.com>
8611 * ido.el (ido-read-internal): Fix bug#14620.
8613 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8615 * faces.el (face-documentation): Simplify.
8616 (read-face-attribute, tty-find-type, x-resolve-font-name):
8617 Use `string-match-p'.
8618 (list-faces-display): Use `string-match-p'. Simplify.
8619 (face-spec-recalc): Check face to avoid face alias loops.
8620 (read-color): Use `string-match-p' and non-capturing parenthesis.
8622 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8624 * net/shr.el (shr-rescale-image): Use the new
8625 :max-width/:max-height functionality.
8627 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8629 * net/eww.el (eww-search-prefix): New variable.
8631 (eww-external-browser): New variable.
8632 (eww-mode-map): New keystroke.
8633 (eww-browse-with-external-browser): New command.
8635 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8637 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8639 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8640 Don't skip aligning the next header field when padding is 0;
8641 otherwise, field width is not respected unless the title is as
8644 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8646 * emacs-lisp/package.el (package-el-version): Remove.
8647 (package-process-define-package): Fix inf-loop.
8648 (package-install): Allow symbols as arguments again.
8650 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8653 add some more keyword-like methods.
8654 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8656 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8658 * bs.el (bs-buffer-show-mark): Make defvar-local.
8659 (bs-mode): Use setq-local.
8661 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8662 (emacs-lock--try-unlocking): Make defvar-local.
8664 2013-06-22 Glenn Morris <rgm@gnu.org>
8666 * play/cookie1.el (cookie-apropos): Minor simplification.
8668 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8670 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8672 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8673 `regexp-opt', it breaks the build during dumping.
8675 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8677 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8678 Highlight keyword-like methods on Kernel and Module with
8679 font-lock-builtin-face.
8680 (auto-mode-alist): Consolidate different entries into one regexp
8681 and add more *file-s.
8683 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8685 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8687 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8688 (diary-entry): Use it in the action of this button type instead of
8691 * calendar/todo-mode.el: New version.
8692 (todo-add-category): Append new category to end of file and give
8693 it the highest number, instead of putting it at the beginning and
8694 giving it 0. Incorporate noninteractive functionality.
8695 (todo-forward-category): Adapt to 1-based category numbering.
8696 Allow skipping over archived categories.
8697 (todo-backward-category): Derive from todo-forward-category.
8698 (todo-backward-item, todo-forward-item): Make noninteractive and
8699 delegate interactive part to new commands. Make sensitive to done items.
8700 (todo-categories): Make value an alist of category names and
8701 vectors of item counts.
8702 (todo-category-beg): Make a defconst.
8703 (todo-category-number): Use 1 instead of 0 as initial value.
8704 (todo-category-select): Make sensitive to overlays, optional item
8705 highlighting and done items.
8706 (todo-delete-item): Make sensitive to overlays and marked and done items.
8707 (todo-edit-item): Make sensitive to overlays and editing of
8708 date/time header optional. Add format checks.
8709 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8710 no-op if point is not on an item. Advertise using todo-edit-quit.
8711 (todo-edit-mode): Make sensitive to new format, font-locking, and
8712 multiple todo files.
8713 (todo-insert-item, todo-insert-item-here): Derive from
8714 todo-basic-insert-item and extend functionality.
8715 (todo-item-end, todo-item-start): Make sensitive to done items.
8716 (todo-item-string): Don't return text properties. Restore point.
8717 (todo-jump-to-category): Make sensitive to multiple todo files and
8718 todo archives. Use extended category completion.
8719 (todo-lower-item, todo-raise-item): Rename to *-priority and
8720 derive from todo-set-item-priority.
8721 (todo-mode): Derive from special-mode. Make sensitive to new
8722 format, font-locking and multiple todo files. Make read-only.
8723 (todo-mode-map): Don't suppress digit keys, so they can supply
8724 prefix arguments. Add many new key bindings.
8725 (todo-prefix): Insert as an overlay instead of file text.
8726 Change semantics from diary date expression to purely visual mark.
8727 (todo-print): Rename to todo-print-buffer. Make buffer display
8728 features printable. Remove option to restrict number of items
8729 printed. Add option to print to file.
8730 (todo-print-function): Rename to todo-print-buffer-function.
8731 (todo-quit): Extend to handle exiting new todo modes.
8732 (todo-remove-item): Make sensitive to overlays.
8733 (todo-save): Extend to buffers of filtered items.
8734 (todo-show): Make sensitive to done items, multiple todo files and
8735 new todo modes. Offer to convert legacy todo file before creating
8736 first new todo file.
8737 (todo-show-priorities): Rename to todo-top-priorities.
8738 Change semantics of value 0.
8739 (todo-top-priorities): Rename to todo-filter-top-priorities,
8740 derive from todo-filter-items and extend functionality.
8741 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8742 and extend functionality to other types of filtered items.
8743 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8744 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8745 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8746 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8747 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8748 (todo-edit-mode-hook, todo-entry-prefix-function)
8749 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8750 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8751 (todo-initials, todo-insert-threshold, todo-item-string-start)
8752 (todo-line-string, todo-menu, todo-mode-hook)
8753 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8754 (todo-print-priorities, todo-remove-separator)
8755 (todo-save-top-priorities-too, todo-string-count-lines)
8756 (todo-string-multiline-p, todo-time-string-format)
8757 (todo-tmp-buffer-name): Remove.
8758 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8759 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8760 (todo-edit-category-diary-inclusion)
8761 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8762 (todo-edit-file, todo-edit-item-date-day)
8763 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8764 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8765 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8766 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8767 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8768 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8769 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8770 (todo-filter-top-priorities-multifile, todo-find-archive)
8771 (todo-find-filtered-items-file, todo-go-to-source-item)
8772 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8773 (todo-jump-to-archive-category, todo-lower-category)
8774 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8775 (todo-move-category, todo-move-item, todo-next-button)
8776 (todo-next-item, todo-padded-string, todo-powerset)
8777 (todo-previous-button, todo-previous-item)
8778 (todo-print-buffer-to-file, todo-raise-category)
8779 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8780 (todo-set-category-number, todo-set-item-priority)
8781 (todo-set-top-priorities-in-category)
8782 (todo-set-top-priorities-in-file, todo-show-categories-table)
8783 (todo-sort-categories-alphabetically-or-numerically)
8784 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8785 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8786 (todo-toggle-item-header, todo-toggle-item-highlighting)
8787 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8788 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8789 (todo-unarchive-items, todo-unmark-category): New commands.
8790 (todo-absolute-file-name, todo-add-to-buffer-list)
8791 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8792 (todo-basic-insert-item, todo-category-completions)
8793 (todo-category-number, todo-category-string-matcher-1)
8794 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8795 (todo-check-format, todo-clear-matches)
8796 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8797 (todo-current-category, todo-date-string-matcher)
8798 (todo-define-insertion-command, todo-diary-expired-matcher)
8799 (todo-diary-goto-entry, todo-diary-item-p)
8800 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8801 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8802 (todo-done-item-section-p, todo-done-separator)
8803 (todo-done-string-matcher, todo-files, todo-filter-items)
8804 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8805 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8806 (todo-insert-category-line, todo-insert-item-from-calendar)
8807 (todo-insert-sort-button, todo-insert-with-overlays)
8808 (todo-insertion-command-name, todo-insertion-key-bindings)
8809 (todo-label-to-key, todo-longest-category-name-length)
8810 (todo-make-categories-list, todo-mode-external-set)
8811 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8812 (todo-modes-set-3, todo-multiple-filter-files)
8813 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8814 (todo-read-category, todo-read-date, todo-read-dayname)
8815 (todo-read-file-name, todo-read-time)
8816 (todo-reevaluate-category-completions-files-defcustom)
8817 (todo-reevaluate-default-file-defcustom)
8818 (todo-reevaluate-filelist-defcustoms)
8819 (todo-reevaluate-filter-files-defcustom)
8820 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8821 (todo-reset-done-separator, todo-reset-done-separator-string)
8822 (todo-reset-done-string, todo-reset-global-current-todo-file)
8823 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8824 (todo-reset-prefix, todo-set-categories)
8825 (todo-set-date-from-calendar, todo-set-show-current-file)
8826 (todo-set-top-priorities, todo-short-file-name)
8827 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8828 (todo-total-item-counts, todo-update-buffer-list)
8829 (todo-update-categories-display, todo-update-categories-sexp)
8830 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8832 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8834 (todo-categories, todo-display, todo-edit, todo-faces)
8835 (todo-filtered): New defgroups.
8836 (todo-archived-only, todo-button, todo-category-string, todo-date)
8837 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8838 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8839 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8840 (todo-add-item-if-new-category, todo-always-add-time-string)
8841 (todo-categories-align, todo-categories-archived-label)
8842 (todo-categories-category-label, todo-categories-diary-label)
8843 (todo-categories-done-label, todo-categories-number-separator)
8844 (todo-categories-todo-label, todo-categories-totals-label)
8845 (todo-category-completions-files, todo-completion-ignore-case)
8846 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8847 (todo-done-separator-string, todo-done-string)
8848 (todo-files-function, todo-filter-done-items, todo-filter-files)
8849 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8850 (todo-initial-category, todo-initial-file, todo-item-mark)
8851 (todo-legacy-date-time-regexp, todo-mode-line-function)
8852 (todo-nondiary-marker, todo-number-prefix)
8853 (todo-print-buffer-function, todo-show-current-file)
8854 (todo-show-done-only, todo-show-first, todo-show-with-done)
8855 (todo-skip-archived-categories, todo-top-priorities-overrides)
8856 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8857 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8859 (todo-category-done, todo-date-pattern, todo-date-string-start)
8860 (todo-diary-items-buffer, todo-done-string-start)
8861 (todo-filtered-items-buffer, todo-item-start)
8862 (todo-month-abbrev-array, todo-month-name-array)
8863 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8864 (todo-top-priorities-buffer): New defconsts.
8865 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8866 (todo-categories-with-marks, todo-category-string-face)
8867 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8868 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8869 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8870 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8871 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8872 (todo-font-lock-keywords, todo-global-current-todo-file)
8873 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8874 (todo-insertion-commands-args)
8875 (todo-insertion-commands-args-genlist)
8876 (todo-insertion-commands-names, todo-insertion-map)
8877 (todo-key-bindings-t, todo-key-bindings-t+a)
8878 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8879 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8880 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8881 (todo-visited): New variables.
8883 2013-06-21 Glenn Morris <rgm@gnu.org>
8885 * play/cookie1.el (cookie-apropos): Add optional display argument.
8886 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8887 (psychoanalyze-pinhead): Use cookie-doctor.
8889 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8891 * emacs-lisp/package.el (tar-get-file-descriptor)
8892 (tar--extract): Declare.
8894 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8896 Extend flymake's warning predicate to be a function (bug#14217).
8897 * progmodes/flymake.el (flymake-warning-predicate): New.
8898 (flymake-parse-line): Use it.
8899 (flymake-warning-re): Make obsolete alias to
8900 `flymake-warning-predicate'.
8902 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8904 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8905 (package-obsolete-list): Remove.
8906 (package-activate): Remove min-version argument. Add `force' argument.
8907 Adjust to new package-alist format.
8908 (package-mark-obsolete): Remove.
8909 (package-unpack): Force reload of the package's autoloads.
8910 (package-installed-p): Check builtins if the installed package is not
8912 (package-initialize): Don't reset package-obsolete-list.
8913 Don't specify which package version to activate.
8914 (package-process-define-package, describe-package-1)
8915 (package-menu--generate): Adjust to new package-alist format.
8917 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8919 * allout-widgets.el (allout-widgets-mode-off)
8920 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8921 (allout-widgets-post-command-business)
8922 (allout-widgets-after-copy-or-kill-function)
8923 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8924 (allout-decorate-item-and-context)
8925 (allout-graphics-modification-handler): Fix typos in docstrings.
8926 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8928 * cmuscheme.el (scheme-start-file): Doc fix.
8929 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8930 (scheme-input-filter): Use `string-match-p'.
8932 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8934 * dired-x.el: Use Dired consistently in docstrings.
8936 * dired.el: Use Dired consistently in docstrings.
8937 (dired-readin, dired-mode): Use `setq-local'.
8938 (dired-switches-alist): Make defvar-local.
8939 (dired-buffers-for-dir): Use `zerop'.
8940 (dired-safe-switches-p, dired-switches-escape-p)
8941 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8942 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8943 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8944 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8945 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8946 (dired-toggle-marks, dired-mark-files-containing-regexp)
8947 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8948 (dired-flag-auto-save-files, dired-flag-backup-files):
8950 (dired-mark-files-regexp, dired-build-subdir-alist):
8951 Use `string-match-p', `looking-at-p'.
8953 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8954 (direct-print-region-helper): Use `string-match-p'.
8956 2013-06-21 Leo Liu <sdl.web@gmail.com>
8958 * comint.el (comint-redirect-results-list-from-process):
8961 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8963 * net/eww.el (eww-update-header-line-format): Quote % characters.
8965 2013-06-21 Glenn Morris <rgm@gnu.org>
8967 * play/cookie1.el (cookie): New custom group.
8968 (cookie-file): New option.
8969 (cookie-check-file): New function.
8970 (cookie): Make it interactive. Make start and end messages optional.
8971 Interactively, display the result. Default to cookie-file.
8972 (cookie-insert): Default to cookie-file.
8973 (cookie-snarf): Make start and end messages optional.
8974 Default to cookie-file. Use with-temp-buffer.
8975 (cookie-read): Rename from read-cookie.
8976 Make start and end messages optional. Default to cookie-file.
8977 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8979 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8980 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8982 2013-06-21 Leo Liu <sdl.web@gmail.com>
8984 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8986 2013-06-21 Glenn Morris <rgm@gnu.org>
8988 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8990 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8991 Daniel Hackney <dan@haxney.org>
8993 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8994 Consolidate the single-file vs tarball code.
8995 (package-desc-suffix): New function.
8996 (package-desc-full-name): Don't bother inlining it.
8997 (package-load-descriptor): Return the new package-desc.
8998 (package-mark-obsolete): Remove unused arg `package'.
8999 (package-unpack): Make it work for single files as well.
9000 Make it update package-alist.
9001 (package--make-autoloads-and-stuff): Rename from
9002 package--make-autoloads-and-compile. Don't compile any more.
9003 (package--compile): New function.
9004 (package-generate-description-file): New function, extracted from
9005 package-unpack-single.
9006 (package-unpack-single): Remove.
9007 (package--with-work-buffer): Add indentation and debugging info.
9008 (package-download-single): Remove.
9009 (package-install-from-archive): Rename from package-download-tar, make
9010 it take a pkg-desc, and make it work for single files as well.
9011 (package-download-transaction): Simplify.
9012 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9013 external tar program.
9014 (package-install-from-buffer): Remove `pkg-desc' argument.
9015 Use package-tar-file-info for tar-mode buffers.
9016 (package-install-file): Simplify accordingly.
9017 (package-archive-base): Change to take a pkg-desc.
9018 * tar-mode.el (tar--check-descriptor): New function, extracted from
9020 (tar-get-descriptor): Use it.
9021 (tar-get-file-descriptor): New function.
9022 (tar--extract): New function, extracted from tar-extract.
9023 (tar--extract): Use it.
9024 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9025 case the summary uses non-ascii. Adjust to new calling convention of
9026 package-tar-file-info.
9028 2013-06-21 Leo Liu <sdl.web@gmail.com>
9030 * comint.el (comint-redirect-results-list-from-process):
9031 Fix random delay. (Bug#14681)
9033 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9035 * profiler.el (profiler-format-number): Use log, not log10.
9037 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9039 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9041 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9043 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9044 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9046 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9047 (AUTOGENEL): ... here.
9048 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9049 (cl--defsubst-expand): Use it.
9051 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9053 * subr.el (log10): Move here from C code, and declare as obsolete.
9054 All uses of (log10 X) replaced with (log X 10).
9056 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9058 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9059 Declare with `defvar-local'.
9060 (tabulated-list-use-header-line, tabulated-list-entries)
9061 (tabulated-list-padding, tabulated-list-printer)
9062 (tabulated-list-sort-key): Declare with `defvar-local'.
9063 (tabulated-list-init-header, tabulated-list-print-fake-header):
9066 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9068 * arc-mode.el (archive-mode): Add `archive-write-file' to
9069 `write-contents-functions' also for remote files. (Bug#14652)
9071 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9073 * cus-edit.el (custom-commands): Fix typos.
9074 (custom-display): Fix tooltip text.
9075 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9076 Fix typos in docstrings.
9077 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9078 (custom-unlispify-menu-entry, custom-magic-value-create)
9079 (custom-add-see-also, custom-group-value-create): Use ?\s.
9080 (custom-guess-type, customize-apropos, editable-field)
9081 (custom-face-value-create): Use `string-match-p'.
9082 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9084 * custom.el (custom-load-symbol): Use `string-match-p'.
9086 * ansi-color.el: Convert to lexical binding.
9087 (ansi-colors): Fix URL.
9088 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9089 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9090 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9092 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9094 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9096 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9098 2013-06-19 Tom Tromey <tromey@redhat.com>
9100 * net/eww.el (eww-top-url): Remove.
9101 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9102 (eww-render): Set new variables. Don't set eww-top-url.
9103 (eww-handle-link): Handle "prev", "home", and "contents".
9104 Downcase the rel text.
9105 (eww-top-url): Choose best top URL.
9107 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9109 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9110 relying in widget.el. Using widget.el leads to too many
9111 user interface inconsistencies.
9112 (eww-self-insert): Implement entering commands in text fields.
9113 (eww-process-text-input): New function to make text input field editing
9115 (eww-submit): Rewrite to use the new-style form methods.
9116 (eww-select-display): Display the correct selected item.
9117 (eww-change-select): Implement changing the select value.
9118 (eww-toggle-checkbox): Implement radio/checkboxes.
9119 (eww-update-field): Fix compilation error.
9120 (eww-tag-textarea): Implement <textarea>.
9122 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9123 we don't shadow mode-specific bindings.
9125 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9128 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9130 2013-06-19 Glenn Morris <rgm@gnu.org>
9132 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9134 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9136 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9139 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9141 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9143 * net/browse-url.el (browse-url-browser-function):
9144 `eww-browse-url' has the right calling signature, `eww' does not.
9146 2013-06-19 Glenn Morris <rgm@gnu.org>
9148 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9149 Only eval autoloaded macros.
9150 (byte-compile-autoload): Only give the macro warning for macros.
9152 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9153 (ps-underlined-faces): Declare.
9155 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9156 (speedbar-add-supported-extension): Declare.
9158 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9159 Don't include a date stamp in the header of the generated file;
9160 it leads to needless differences between output files.
9162 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9164 * net/secrets.el (secrets-struct-secret-content-type):
9165 Replace check of introspection data by a test call of "CreateItem".
9166 Some servers do not offer introspection.
9168 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9170 * electric.el (electric-pair-mode): Improve interaction with
9171 electric-layout-mode.
9172 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9173 (electric-pair-syntax): Use text-mode-syntax-table in comments
9175 (electric-pair--insert): New function.
9176 (electric-pair-post-self-insert-function): Use it and
9177 electric--after-char-pos.
9179 2013-06-19 Leo Liu <sdl.web@gmail.com>
9181 * progmodes/octave.el (octave-help): Fix regexp.
9183 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9185 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9186 (shr-table-horizontal-line): Allow nil as a value, and change the
9188 (shr-insert-table-ruler): Respect the nil value.
9190 2013-06-18 Tom Tromey <tromey@barimba>
9192 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9194 (eww-open-file): New defun.
9195 (eww-render): Initialize new variables.
9196 (eww-display-html): Handle "link" and "a".
9197 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9198 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9199 (eww-back-url): Rename from eww-previous-url.
9200 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9203 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9205 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9206 Distinguish ternary operator tokens from slash symbol and slash
9209 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9211 Convert symbol prettification into minor mode and global minor mode.
9213 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9214 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9215 (prettify-symbols--keywords): Rename from
9216 `prog-prettify-symbols-alist' and make a local defvar.
9217 (prettify-symbols--compose-symbol): Rename from
9218 `prog--prettify-font-lock-compose-symbol'.
9219 (prettify-symbols--make-keywords): Rename from
9220 `prog-prettify-font-lock-symbols-keywords' and simplify.
9221 (prog-prettify-install): Remove.
9222 (prettify-symbols-mode): New minor mode, based on
9223 `prog-prettify-install'.
9224 (turn-on-prettify-symbols-mode): New function.
9225 (global-prettify-symbols-mode): New globalized minor mode.
9227 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9228 * progmodes/cfengine.el (cfengine3-mode):
9229 * progmodes/perl-mode.el (perl-mode): Don't call
9230 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9232 2013-06-18 Juri Linkov <juri@jurta.org>
9234 * files-x.el (modify-file-local-variable-message): New function.
9235 (modify-file-local-variable)
9236 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9237 and call `modify-file-local-variable-message' when it's non-nil.
9238 (add-file-local-variable, delete-file-local-variable)
9239 (add-file-local-variable-prop-line)
9240 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9241 and use it. (Bug#9820)
9243 2013-06-18 Juri Linkov <juri@jurta.org>
9245 * emulation/vi.el (vi-shell-op):
9246 * emulation/vip.el (vip-execute-com, ex-command):
9247 * emulation/viper-cmd.el (viper-exec-bang):
9248 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9249 the call of `shell-command-on-region'. (Bug#14637)
9251 * simple.el (shell-command-on-region): Doc fix.
9253 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9255 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9258 2013-06-18 Glenn Morris <rgm@gnu.org>
9260 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9262 * newcomment.el (comment-search-forward, comment-search-backward):
9263 Doc fix. (Bug#14376)
9265 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9267 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9268 (buffer-face-mode-invoke): Doc fix.
9270 2013-06-18 Matthias Meulien <orontee@gmail.com>
9272 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9273 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9275 2013-06-18 Glenn Morris <rgm@gnu.org>
9277 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9278 Replace obsolete function generic-make-keywords with its expansion.
9280 * progmodes/python.el (ffap-alist): Declare.
9282 * textmodes/reftex.el (bibtex-mode-map): Declare.
9284 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9286 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9287 (package-unpack, package-unpack-single): Return the pkg-dir.
9288 (package-download-transaction): Use it to update package-alist.
9290 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9292 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9295 2013-06-17 Juri Linkov <juri@jurta.org>
9297 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9299 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9301 * emacs-lisp/package.el (package-load-descriptor):
9302 Remove `with-syntax-table' call, `read' doesn't need it.
9303 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9305 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9307 * startup.el (command-line): Expand package name returned by
9308 `package--description-file' (bug#14639).
9310 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9312 * emacs-lisp/package.el (package-load-descriptor): Do not call
9313 `emacs-lisp-mode', just use its syntax table.
9315 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9317 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9318 `font-lock-extra-managed-props' if any prettifying keyword is added.
9319 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9320 (prog-mode): Use `setq-local'.
9322 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9324 * international/characters.el (standard-case-table): Set syntax of ?»
9325 and ?« to punctuation.
9327 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9329 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9330 Save relevant match data before calling `syntax-ppss' (bug#14595).
9332 2013-06-15 Juri Linkov <juri@jurta.org>
9334 * files-x.el (modify-file-local-variable-prop-line): Add local
9335 variables to the end of the existing comment on the first line.
9336 Use `file-auto-mode-skip' to skip interpreter magic line,
9337 and also skip XML declaration.
9339 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9341 * startup.el (package--builtin-versions): New var.
9342 (package-subdirectory-regexp): Remove.
9343 (package--description-file): Hard code its value instead.
9345 * emacs-lisp/package.el: Don't activate packages older than builtin.
9346 (package-obsolete-list): Rename from package-obsolete-alist, and make
9347 it into a simple list of package-desc.
9348 (package-strip-version): Remove.
9349 (package-built-in-p): Use package--builtin-versions.
9350 (package-mark-obsolete): Simplify.
9351 (package-process-define-package): Mark it obsolete if older than the
9353 (package-handle-response): Use line-end-position.
9354 (package-read-archive-contents, package--download-one-archive):
9356 (package--add-to-archive-contents): Skip if older than the builtin or
9358 (package-menu-describe-package): Fix last change.
9359 (package-list-unversioned): New var.
9360 (package-menu--generate): Use it.
9362 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9363 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9364 (autoload-builtin-package-versions): New variable.
9365 (autoload-generate-file-autoloads): Use them.
9366 Remove the list of autoloaded functions/macros from the
9367 (autoload...) comments.
9369 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9371 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9373 * simple.el (line-move-partial): Don't jump to the next screen
9374 line as soon as it becomes visible. Instead, continue enlarging
9375 the vscroll until the portion of a tall screen line that's left on
9376 display is about the height of the frame's default font.
9379 2013-06-15 Glenn Morris <rgm@gnu.org>
9381 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9382 compilation-error-regexp-alist void, or local while let-bound.
9384 * progmodes/make-mode.el (makefile-mode-syntax-table):
9385 Treat "=" as punctuation. (Bug#14614)
9387 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9389 * help-fns.el (describe-variable):
9390 Add extra line for permanent-local variables.
9392 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9394 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9395 Add export, import, library. (Bug#9164)
9396 (library): Set indent function.
9398 2013-06-14 Glenn Morris <rgm@gnu.org>
9400 * term/xterm.el (xterm--query):
9401 Stop after first matching handler. (Bug#14615)
9403 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9405 Add support for dired in saveplace.
9406 * dired.el (dired-initial-position-hook): New variable.
9407 (dired-initial-position): Call hook to place cursor position.
9408 * saveplace.el (save-place-to-alist): Add dired position.
9409 (save-place-dired-hook): New function.
9411 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9414 through a symbol rather than letrec.
9416 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9417 (package-desc): Add `dir' field.
9418 (package-desc-full-name): New function.
9419 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9420 (package-maybe-load-descriptor): Remove.
9421 (package-load-all-descriptors): Just call package-load-descriptor.
9422 (package--disabled-p): New function.
9423 (package-desc-vers, package-desc-doc): Remove aliases.
9424 (package--dir): Remove function.
9425 (package-activate): Check if a package is disabled.
9426 (package-process-define-package): New function, extracted from
9428 (define-package): Turn into a place holder.
9429 (package-unpack-single, package-tar-file-info):
9430 Use package--description-file.
9431 (package-compute-transaction): Use package--disabled-p.
9432 (package-download-transaction): Don't call
9433 package-maybe-load-descriptor since they're all loaded anyway.
9434 (package-install): Change argument to be a pkg-desc.
9435 (package-delete): Use a single pkg-desc argument.
9436 (describe-package-1): Use package-desc-dir instead of package--dir.
9437 Use package-desc property instead of package-symbol.
9438 (package-install-button-action): Adjust accordingly.
9439 (package--push): Rewrite.
9440 (package-menu--print-info): Adjust accordingly. Change the ID format
9442 (package-menu-describe-package, package-menu-get-status)
9443 (package-menu--find-upgrades, package-menu-mark-upgrades)
9444 (package-menu-execute, package-menu--name-predicate):
9446 * startup.el (package--description-file): New function.
9447 (command-line): Use it.
9448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9449 Use package-desc-version.
9451 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9452 (byte-compile-preprocess): Use it.
9453 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9454 can't quite recognize.
9455 (byte-compile-add-to-list): Remove.
9456 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9457 (cconv-closure-convert): Add assertion.
9459 * emacs-lisp/map-ynp.el: Use lexical-binding.
9460 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9461 Factor out some repeated code.
9463 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9465 * subr.el (with-eval-after-load): New macro.
9466 (eval-after-load): Allow form to be a function.
9467 take advantage of lexical-binding.
9468 (do-after-load-evaluation): Use dolist and adjust to new format.
9469 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9471 2013-06-13 Juri Linkov <juri@jurta.org>
9473 * replace.el (perform-replace): Display "symbol " and other search
9474 modes from `isearch-message-prefix' in the *Help* buffer.
9476 * isearch.el (isearch-query-replace): Add " symbol" and other
9477 possible search modes from `isearch-message-prefix' to the prompt.
9478 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9479 when reading a regexp to collect.
9481 2013-06-13 Juri Linkov <juri@jurta.org>
9483 * isearch.el (word-search-regexp): Match whitespace if the search
9484 string begins or ends in whitespace. The LAX arg is applied to
9485 both ends of the search string. Use `regexp-quote' and explicit
9486 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9487 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9488 boundaries are replaced with symbol boundaries, and characters
9489 between symbols match non-word non-symbol syntax. (Bug#14602)
9491 2013-06-13 Juri Linkov <juri@jurta.org>
9493 * isearch.el (isearch-del-char): Don't exceed the length of
9494 `isearch-string' by the prefix arg. (Bug#14563)
9496 2013-06-13 Juri Linkov <juri@jurta.org>
9498 * isearch.el (isearch-yank-word, isearch-yank-line)
9499 (isearch-char-by-name, isearch-quote-char)
9500 (isearch-printing-char, isearch-process-search-char):
9501 Add optional count prefix arg. (Bug#14563)
9503 * international/isearch-x.el
9504 (isearch-process-search-multibyte-characters):
9505 Add optional count prefix arg.
9507 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9509 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9510 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9513 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9515 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9517 2013-06-13 Glenn Morris <rgm@gnu.org>
9519 * startup.el (tty-handle-args):
9520 Don't just discard "--" and anything after. (Bug#14608)
9522 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9524 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9526 Implement changes in Secret Service API. Make it backward compatible.
9527 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9528 (secrets-create-item): Use it. Prefix properties with interface.
9530 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9532 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9533 (term-emulate-terminal): Respect term-suppress-hard-newline.
9535 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9537 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9538 Only remove a `thumb-file' overlay. (Bug#14548)
9540 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9542 * mail/reporter.el (reporter-submit-bug-report):
9543 Handle missing package-name. (Bug#14600)
9545 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9547 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9548 (reftex-citation-prompt, reftex-default-bibliography)
9549 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9550 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9551 (reftex-bib-sort-author, reftex-bib-sort-year)
9552 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9553 (reftex-extract-bib-entries-from-thebibliography)
9554 (reftex-get-bibkey-default, reftex-get-bib-names)
9555 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9556 (reftex-format-bib-entry, reftex-parse-bibitem)
9557 (reftex-format-bibitem, reftex-do-citation)
9558 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9559 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9560 (reftex-insert-bib-matches, reftex-format-citation)
9561 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9562 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9563 existing comments into docstrings.
9565 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9567 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9569 2013-06-12 Andreas Schwab <schwab@suse.de>
9571 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9572 for auto-save files.
9574 2013-06-12 Glenn Morris <rgm@gnu.org>
9576 * ido.el (ido-delete-ignored-files): Remove.
9577 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9578 Go back to calling ido-ignore-item-p directly.
9580 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9582 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9584 * ido.el (ido-delete-ignored-files): New function,
9585 split from ido-make-file-list-1.
9586 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9587 (ido-make-file-list-1): Use ido-delete-ignored-files.
9589 2013-06-12 Leo Liu <sdl.web@gmail.com>
9591 * progmodes/octave.el (inferior-octave-startup)
9592 (inferior-octave-completion-table)
9593 (inferior-octave-track-window-width-change)
9594 (octave-eldoc-function-signatures, octave-help)
9595 (octave-find-definition): Use single quoted strings.
9596 (inferior-octave-startup-args): Change default value.
9597 (inferior-octave-startup): Do not hard code "-i" and
9598 "--no-line-editing".
9599 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9600 (inferior-octave-directory-tracker): Use it.
9601 (octave-goto-function-definition): Robustify.
9602 (octave-help): Support highlighting operators in 'See also'.
9603 (octave-find-definition): Find subfunctions only in Octave mode.
9605 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9607 * help-fns.el (help-fns--compiler-macro): If the handler function is
9608 named, then put a link to it.
9609 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9610 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9612 (cl-eval-when): Simplify debug spec.
9613 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9614 compiler-macro function instead of setting `compiler-macro-file'.
9616 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9618 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9619 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9621 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9622 Daniel Hackney <dan@haxney.org>
9624 First part of Daniel Hackney's patch to package.el.
9625 * emacs-lisp/package.el: Use defstruct.
9626 (package-desc): New, main struct.
9627 (package--bi-desc, package--ac-desc): New structs, used to describe the
9628 format in external files.
9629 (package-desc-vers): Replace with package-desc-version accessor.
9630 (package-desc-doc): Replace with package-desc-summary accessor.
9631 (package-activate-1): Remove `package' arg since the pkg-vec now
9633 (define-package): Use package-desc-from-define.
9634 (package-unpack-single): Change file-name arg to be a symbol.
9635 (package--add-to-archive-contents): Use package-desc-create and new
9636 accessor functions to package--ac-desc.
9637 (package-buffer-info, package-tar-file-info): Return a package-desc.
9638 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9639 arg to be a package-desc.
9640 (package-install-file): Adjust accordingly. Use \' to match EOS.
9641 (package--from-builtin): New function.
9642 (describe-package-1, package-menu--generate): Use it.
9643 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9644 (package-generate-autoloads): Idem and return the name of the file.
9645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9646 Change pkg-info arg to be a package-desc.
9647 Use package-make-ac-desc.
9648 (package-upload-file): Use \' to match EOS.
9649 * finder.el (finder-compile-keywords): Use package-make-builtin.
9651 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9653 * vc/vc.el (vc-deduce-fileset): Change error message.
9654 (vc-read-backend): New function.
9655 (vc-next-action): Use it.
9657 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9659 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9660 (prolog-font-lock-keywords): Use regexp-opt instead.
9661 Don't manually highlight strings.
9662 (prolog-mode-variables): Simplify comment-start-skip.
9663 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9665 * emacs-lisp/generic.el (generic--normalise-comments)
9666 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9667 (generic-mode-set-comments): Use them.
9668 (generic-bracket-support): Use setq-local.
9669 (generic-make-keywords-list): Declare obsolete.
9671 2013-06-11 Glenn Morris <rgm@gnu.org>
9673 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9674 Prettify after setting font-lock-defaults. (Bug#14574)
9676 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9678 * replace.el (query-replace, occur-read-regexp-defaults-function)
9680 * subr.el (declare-function, number-sequence, local-set-key)
9681 (substitute-key-definition, locate-user-emacs-file)
9682 (with-silent-modifications, split-string, eval-after-load):
9683 Fix typos, remove unneeded backslashes and reflow some docstrings.
9685 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9688 default for Elisp files.
9690 2013-06-11 Glenn Morris <rgm@gnu.org>
9692 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9693 although define-derived-mode was doing this anyway. (Bug#14583)
9695 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9697 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9698 Fix make-variable-buffer-local call to refer to the correct variable.
9700 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9702 * eshell/em-term.el (eshell-visual-commands)
9703 (eshell-visual-subcommands, eshell-visual-options):
9704 Add summary line to docstrings. Add cross-references.
9706 2013-06-10 Glenn Morris <rgm@gnu.org>
9708 * epa.el (epa-read-file-name): New function. (Bug#14510)
9709 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9711 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9713 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9714 output redirection to be ignored with visual commands.
9716 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9718 * eshell/em-term.el (eshell-visual-command-p): New function.
9719 (eshell-term-initialize): Move long lambda to separate function
9720 eshell-visual-command-p.
9721 * eshell/em-dirs.el (eshell-dirs-initialise):
9722 * eshell/em-script.el (eshell-script-initialize):
9723 Add missing #' to lambda.
9725 2013-06-08 Leo Liu <sdl.web@gmail.com>
9727 * progmodes/octave.el (octave-add-log-current-defun): New function.
9728 (octave-mode): Set add-log-current-defun-function.
9729 (octave-goto-function-definition): Do not move point if not found.
9730 (octave-find-definition): Enhance to try subfunctions first.
9732 2013-06-08 Glenn Morris <rgm@gnu.org>
9734 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9735 (byte-compile-backward-char, byte-compile-backward-word):
9736 Improve previous change, to handle non-explicit nil.
9738 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9740 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9741 (smie--opener/closer-at-point): New function.
9742 (smie--matching-block-data): Use it. Don't match from right after an
9743 opener or right before a closer. Obey smie-blink-matching-inners.
9744 Don't signal a mismatch for repeated inners like "switch..case..case".
9746 2013-06-07 Leo Liu <sdl.web@gmail.com>
9748 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9750 (octave-function-header-regexp): Fix. (Bug#14570)
9751 (octave-help-mode-finish-hook, octave-help-mode-finish):
9752 Remove. Just use temp-buffer-show-hook.
9754 * newcomment.el (comment-search-backward): Revert last change.
9757 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9759 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9761 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9762 through xargs, to avoid failure due to MS-Windows limitations on
9763 command-line length.
9765 2013-06-06 Glenn Morris <rgm@gnu.org>
9767 * font-lock.el (lisp-font-lock-keywords-2):
9768 Treat user-error like error.
9770 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9771 (byte-compile-backward-char, byte-compile-backward-word):
9772 Handle explicit nil arguments. (Bug#14565)
9774 2013-06-05 Alan Mackenzie <acm@muc.de>
9776 * isearch.el (isearch-allow-prefix): New user option.
9777 (isearch-other-meta-char): Don't exit isearch when a prefix
9778 argument is typed whilst `isearch-allow-prefix' is non-nil.
9781 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9783 * autorevert.el (auto-revert-notify-handler): Use memq.
9784 Hide assertion failure.
9786 * skeleton.el: Use cl-lib.
9787 (skeleton-further-elements): Use defvar-local.
9788 (skeleton-insert): Use cl-progv.
9790 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9792 * progmodes/prog-mode.el (prog-prettify-symbols)
9793 (prog-prettify-install): Update docstrings.
9795 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9797 * simple.el: Move all the prog-mode code to prog-mode.el.
9798 * progmodes/prog-mode.el: New file.
9799 * loadup.el: Add prog-mode.el.
9801 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9803 * simple.el (prog-prettify-symbols): Add version.
9804 (prog-prettify-install): Add convenience function to prettify symbols.
9806 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9807 (perl--augmented-font-lock-keywords-1)
9808 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9809 variables and use it.
9811 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9812 (cfengine3-mode): Remove unneeded variable and use it.
9814 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9815 (lisp--augmented-font-lock-keywords-1)
9816 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9817 Remove unneeded variables and use it.
9819 2013-06-05 João Távora <joaotavora@gmail.com>
9821 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9822 to point when opening the connection. (Bug#14380)
9824 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * subr.el (load-history-regexp, load-history-filename-element)
9827 (eval-after-load, after-load-functions, do-after-load-evaluation)
9828 (eval-next-after-load, display-delayed-warnings)
9829 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9830 definition of save-match-data.
9831 (overriding-local-map): Remove accidental obsolescence declaration.
9833 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9835 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9837 Generalize symbol prettify support to prog-mode and implement it
9838 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9839 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9840 (prog--prettify-font-lock-compose-symbol)
9841 (prog-prettify-font-lock-symbols-keywords): New variables and
9842 functions to support symbol prettification.
9843 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9844 (lisp--augmented-font-lock-keywords-1)
9845 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9846 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9847 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9848 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9849 Implement prettify of -> => :: strings.
9850 * progmodes/perl-mode.el (perl-prettify-symbols)
9851 (perl--font-lock-compose-symbol)
9852 (perl--font-lock-symbols-keywords): Move to prog-mode.
9853 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9854 (perl-font-lock-keywords-1)
9855 (perl-font-lock-keywords-2): Remove explicit prettify support.
9856 (perl--augmented-font-lock-keywords)
9857 (perl--augmented-font-lock-keywords-1)
9858 (perl--augmented-font-lock-keywords-2, perl-mode):
9859 Implement prettify support.
9861 2013-06-05 Leo Liu <sdl.web@gmail.com>
9863 Re-implement smie matching block highlight using
9864 show-paren-data-function. (Bug#14395)
9865 * emacs-lisp/smie.el (smie-matching-block-highlight)
9866 (smie--highlight-matching-block-overlay)
9867 (smie--highlight-matching-block-lastpos)
9868 (smie-highlight-matching-block)
9869 (smie-highlight-matching-block-mode): Remove.
9870 (smie--matching-block-data-cache): New variable.
9871 (smie--matching-block-data): New function.
9872 (smie-setup): Use smie--matching-block-data for
9873 show-paren-data-function.
9875 * progmodes/octave.el (octave-mode-menu): Fix.
9876 (octave-find-definition): Skip garbage lines.
9878 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9880 Fix compilation error with simultaneous dynamic+lexical scoping.
9881 Add warning when a defvar appears after the first let-binding.
9882 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9883 (byte-compile-close-variables): Initialize it.
9884 (byte-compile--declare-var): New function.
9885 (byte-compile-file-form-defvar)
9886 (byte-compile-file-form-define-abbrev-table)
9887 (byte-compile-file-form-custom-declare-variable): Use it.
9888 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9889 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9890 (byte-compile-bind): Handle dynamic bindings that shadow
9892 (byte-compile-unbind): Make arg non-optional.
9893 (byte-compile-let): Simplify.
9894 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9895 (cconv--analyse-function, cconv-analyse-form): Populate it.
9896 Protect byte-compile-bound-variables to limit the scope of defvars.
9897 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9898 Remove unneeded rule for `declare'.
9900 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9901 so as to avoid depending on cl-adjoin at run-time.
9902 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9904 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9905 (macroexp--warn-and-return): Use it.
9907 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * subr.el: Convert to lexical binding.
9910 (overriding-local-map): Make obsolete.
9911 (add-to-list): Doc fix. Add compiler macro.
9912 (read-key): Swap values of local maps.
9914 2013-06-05 Leo Liu <sdl.web@gmail.com>
9916 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9918 2013-06-04 Leo Liu <sdl.web@gmail.com>
9920 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9921 (compilation-auto-jump): Suppress the "Mark set" message to give
9922 way to exit message.
9924 2013-06-04 Alan Mackenzie <acm@muc.de>
9926 Remove faulty optimisation from indentation calculation.
9927 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9928 search limit based on 2000 characters back from indent-point.
9930 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9932 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9934 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9936 * emacs-lisp/lisp.el: Use lexical-binding.
9937 (lisp--local-variables-1, lisp--local-variables): New functions.
9938 (lisp--local-variables-completion-table): New var.
9939 (lisp-completion-at-point): Use it complete let-bound vars.
9941 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9942 eagerly (bug#14422).
9944 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9946 * autorevert.el (auto-revert-notify-enabled)
9947 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9948 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9949 (auto-revert-notify-handler): Handle also gfilenotify.
9951 * subr.el (file-notify-handle-event): New defun. Replacing ...
9952 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9955 2013-06-03 Juri Linkov <juri@jurta.org>
9957 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9958 `M-s h .'. (Bug#14427)
9960 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9961 command `hi-lock-face-symbol-at-point'.
9962 (hi-lock-face-symbol-at-point): New command.
9963 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9964 (hi-lock-menu): Add `highlight-symbol-at-point'.
9965 (hi-lock-mode): Doc fix.
9967 * isearch.el (isearch-forward-symbol-at-point): New command.
9968 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9969 (isearch-highlight-regexp): Add a regexp which matches
9970 words/symbols for word/symbol mode.
9972 * subr.el (find-tag-default-bounds): New function with the body
9973 mostly moved from `find-tag-default'.
9974 (find-tag-default): Move most code to `find-tag-default-bounds',
9975 call it and apply `buffer-substring-no-properties' afterwards.
9977 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9979 * eshell/em-term.el (eshell-term-initialize):
9980 Use `cl-intersection' rather than `intersection'.
9982 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9984 * vc/log-view.el: Doc fix.
9985 (log-view-mode-map): Copy keymap from `special-mode-map'.
9987 2013-06-02 Eric Ludlam <zappo@gnu.org>
9989 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9990 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9991 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9992 (eieio-unbound, eieio-default-superclass)
9993 (eieio--define-field-accessors, method-static, method-before)
9994 (method-primary, method-after, method-num-lists)
9995 (method-generic-before, method-generic-primary)
9996 (method-generic-after, method-num-slots)
9997 (eieio-specialized-key-to-generic-key)
9998 (eieio--check-type, class-v, class-p)
9999 (eieio-class-name, define-obsolete-function-alias)
10000 (eieio-class-parents-fast, eieio-class-children-fast)
10001 (same-class-fast-p, class-constructor, generic-p)
10002 (generic-primary-only-p, generic-primary-only-one-p)
10003 (class-option-assoc, class-option, eieio-object-p)
10004 (class-abstract-p, class-method-invocation-order)
10005 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10006 (eieio-class-un-autoload, eieio-defclass)
10007 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10008 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10009 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10010 (eieio-defgeneric-reset-generic-form)
10011 (eieio-defgeneric-form-primary-only)
10012 (eieio-defgeneric-reset-generic-form-primary-only)
10013 (eieio-defgeneric-form-primary-only-one)
10014 (eieio-defgeneric-reset-generic-form-primary-only-one)
10015 (eieio-unbind-method-implementations)
10016 (eieio--defmethod, eieio--typep)
10017 (eieio-perform-slot-validation, eieio-validate-slot-value)
10018 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10019 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10020 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10021 (eieio-slot-name-index, eieio-class-slot-name-index)
10022 (eieio-set-defaults, eieio-initarg-to-attribute)
10023 (eieio-attribute-to-initarg, eieio-c3-candidate)
10024 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10025 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10026 (eieio-class-precedence-list, eieio-generic-call-methodname)
10027 (eieio-generic-call-arglst, eieio-generic-call-key)
10028 (eieio-generic-call-next-method-list)
10029 (eieio-pre-method-execution-functions, eieio-generic-call)
10030 (eieio-generic-call-primary-only, eieiomt-method-list)
10031 (eieiomt-optimizing-obarray, eieiomt-install)
10032 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10033 (eieio-generic-form, eieio-defmethod, make-obsolete)
10034 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10035 (defclass): Remove `eval-and-compile' from macro.
10036 (call-next-method, shared-initialize): Instead of using
10037 `scoped-class' variable, use new eieio--scoped-class, and
10038 eieio--with-scoped-class.
10039 (initialize-instance): Rename local variable 'scoped-class' to
10040 'this-class' to remove ambiguitity from old global.
10042 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10044 (eieio--scoped-class-stack): New variable.
10045 (eieio--scoped-class): New fcn.
10046 (eieio--with-scoped-class): New scoping macro.
10047 (eieio-defclass): Use pushnew instead of add-to-list.
10048 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10049 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10050 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10051 `scoped-class' variable, use new eieio--scoped-class, and
10052 eieio--with-scoped-class.
10054 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10056 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10058 * eshell/esh-ext.el (eshell-external-command): Pass args to
10059 `eshell-find-interpreter'.
10060 (eshell-find-interpreter): Add new second parameter ARGS.
10062 * eshell/em-script.el (eshell-script-initialize): Add second arg
10063 to the function added as MATCH to `eshell-interpreter-alist'.
10065 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10066 the function added as MATCH to `eshell-interpreter-alist'.
10068 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10069 (eshell-visual-options): New defcustom.
10070 (eshell-escape-control-x): Adapt docstring.
10071 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10072 `eshell-visual-options' in addition to `eshell-visual-commands'.
10073 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10075 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10077 * progmodes/python.el (python-indent-block-enders): Add break,
10078 continue and raise keywords.
10080 2013-06-01 Glenn Morris <rgm@gnu.org>
10082 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10084 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10085 * progmodes/cc-cmds.el (delete-forward-p):
10086 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10087 * progmodes/cc-engine.el (buffer-syntactic-context):
10088 * progmodes/cc-fonts.el (face-property-instance):
10089 * progmodes/cc-mode.el (set-keymap-parents):
10090 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10091 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10092 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10093 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10094 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10096 * progmodes/cc-vars.el (other): Emacs has this widget since
10097 at least 21.1, so don't (re)define it.
10099 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10100 Replace the obsolete alias pcomplete-arg-quote-list.
10102 2013-06-01 Leo Liu <sdl.web@gmail.com>
10104 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10105 punctuation syntax.
10106 (inferior-octave-minimal-columns)
10107 (inferior-octave-last-column-width): New variables.
10108 (inferior-octave-track-window-width-change): New function.
10109 (inferior-octave-mode): Adjust column width so that Octave output,
10110 for example from 'ls', can fit into the window nicely.
10112 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10114 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10115 Highlight expansions inside regexp literals.
10117 2013-05-31 Glenn Morris <rgm@gnu.org>
10119 * obsolete/sym-comp.el (symbol-complete):
10120 Replace obsolete completion-annotate-function.
10122 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10124 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10126 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10127 New function, checks if point is inside a literal that allows
10128 expression expansion.
10129 (ruby-syntax-propertize-expansion): Use it.
10130 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10133 2013-05-30 Juri Linkov <juri@jurta.org>
10135 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10137 (isearch-invisible): New variable.
10138 (isearch-forward): Doc fix.
10139 (isearch-mode): Set `isearch-invisible'
10140 to the value of `search-invisible'.
10141 (isearch-toggle-case-fold): Doc fix.
10142 (isearch-toggle-invisible): New command.
10143 (isearch-query-replace): Let-bind `search-invisible'
10144 to the value of `isearch-invisible'.
10145 (isearch-search): Use `isearch-invisible' instead of
10146 `search-invisible'. Let-bind `search-invisible'
10147 to the value of `isearch-invisible'. (Bug#11378)
10149 2013-05-30 Juri Linkov <juri@jurta.org>
10151 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10152 call when `query-flag' is nil and `search-invisible' is non-nil.
10155 2013-05-30 Glenn Morris <rgm@gnu.org>
10157 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10159 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10160 (cc-require): Suppress spurious "noruntime" warnings.
10161 (cc-require-when-compile): Use fboundp, for sake of compiler.
10163 * progmodes/cc-mode.el: Move load of cc-vars before that of
10164 cc-langs (which in turn loads cc-vars), to quieten compiler.
10166 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10168 * paren.el: Simplify the code.
10169 (show-paren-mode): Always start the timer.
10170 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10171 (show-paren--overlay, show-paren--overlay-1): Rename from
10172 show-paren-overlay and show-paren-overlay-1, and initialize to an
10173 overlay rather than to nil.
10174 (show-paren-function): Misc cleanup and simplifications.
10176 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10178 * paren.el (show-paren-data-function): New hook.
10179 (show-paren--default): New function, extracted from show-paren-function.
10180 (show-paren-function): Use show-paren-data-function.
10182 2013-05-30 Glenn Morris <rgm@gnu.org>
10184 * ielm.el (ielm-map, ielm-complete-symbol):
10185 Use completion-at-point rather than obsolete functions.
10186 (inferior-emacs-lisp-mode): Doc fix.
10187 Set completion-at-point-functions, rather than
10188 comint-dynamic-complete-functions.
10190 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10191 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10192 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10194 * image.el (image-animated-p): Tweak definition.
10196 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10197 (rlogin-process-connection-type): Tweak default. Add set-after.
10198 (rlogin-host): Doc fix.
10199 (rlogin): Tweak prompt.
10200 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10202 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10203 * progmodes/tcl.el (inferior-tcl-mode-map):
10204 Use completion-at-point rather than obsolete alias.
10206 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10208 * minibuffer.el (read-file-name-completion-ignore-case):
10209 Move before completion--in-region, for eager macro expansion.
10211 2013-05-29 Juri Linkov <juri@jurta.org>
10213 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10214 for total count of matching lines. Add `global-matches' for total
10215 count of matches. Rename `matches' to `lines' for count of
10216 matching lines. Add `matches' for count of matches.
10217 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10218 to `prev-line' for line number of prev match endpt.
10219 Increment `matches' for every match. Print the number of
10220 matching lines in the header.
10221 (occur-context-lines): Rename `lines' to `curr-line'.
10222 Rename `prev-lines' to `prev-line'. (Bug#14017)
10224 2013-05-29 Juri Linkov <juri@jurta.org>
10226 * replace.el (perform-replace): Add `skip-read-only-count',
10227 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10228 Increment them for corresponding conditions and report the number
10229 of skipped occurrences in the final message. (Bug#11746)
10230 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10231 (replace-string, replace-regexp): Doc fix.
10233 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10235 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10237 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10238 prog-mode-map (bug#14504).
10240 2013-05-29 Leo Liu <sdl.web@gmail.com>
10242 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10243 (octave-help): Small simplification.
10245 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10246 off the highlight first.
10248 2013-05-29 Glenn Morris <rgm@gnu.org>
10250 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10251 Handle idlwave-last-system-routine-info-cons-cell being nil.
10253 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10254 (idlwave-write-paths): Simplify via with-temp-buffer.
10256 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10257 * emulation/cua-rect.el: Also load cua-base at run time.
10259 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10260 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10261 (cperl-imenu-on-info): Require imenu.
10263 2013-05-28 Alan Mackenzie <acm@muc.de>
10265 Handle "capitalised keywords" correctly.
10266 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10268 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10270 * eshell/em-unix.el: Add -r option to cp.
10272 2013-05-28 Glenn Morris <rgm@gnu.org>
10274 * vc/vc-arch.el (vc-exec-after): Declare.
10275 (vc-switches): Autoload.
10276 * vc/vc-bzr.el: No need to require vc when compiling.
10277 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10278 (vc-resynch-buffer, vc-dir-refresh): Declare.
10279 (vc-setup-buffer, vc-switches): Autoload.
10280 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10281 (vc-resynch-buffer): Declare.
10282 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10283 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10284 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10285 (grep-read-regexp, grep-read-files, grep-expand-template)
10286 (vc-dir-refresh): Declare.
10287 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10288 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10289 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10290 * vc/vc-mtn.el (vc-exec-after): Declare.
10291 (vc-switches): Autoload.
10292 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10293 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10294 (vc-file-tree-walk): Declare.
10295 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10296 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10297 (vc-tag-precondition, vc-rename-master): Autoload.
10298 * vc/vc-svn.el (vc-exec-after): Declare.
10299 (vc-switches, vc-setup-buffer): Autoload.
10300 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10302 (vc-resynch-buffer): Declare.
10304 * obsolete/fast-lock.el (byte-compile-warnings):
10305 Don't warn about obsolete features in this obsolete file.
10307 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10308 Move definition before use.
10310 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10311 (dun-unix-verbs): Remove dun-zippy.
10312 (dun-zippy): Remove function.
10314 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10316 2013-05-27 Juri Linkov <juri@jurta.org>
10318 * replace.el (replace-search): New function with code moved out
10319 from `perform-replace'.
10320 (replace-highlight, replace-dehighlight): Move function definitions
10321 up closer to `replace-search'. (Bug#11746)
10323 2013-05-27 Juri Linkov <juri@jurta.org>
10325 * replace.el (perform-replace): Ignore invisible matches.
10326 In addition to checking `query-replace-skip-read-only', also
10327 filter out matches by calling `run-hook-with-args-until-failure'
10328 on `isearch-filter-predicates', and also check `search-invisible'
10329 for t or call `isearch-range-invisible'.
10330 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10332 2013-05-27 Juri Linkov <juri@jurta.org>
10334 * isearch.el (isearch-filter-predicates): Rename from
10335 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10336 (isearch-message-prefix): Display text from the property
10337 `isearch-message-prefix' of the currently active filters.
10338 (isearch-search): Don't compare `isearch-filter-predicate' with
10339 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10340 on `isearch-filter-predicates'. Also check `search-invisible' for t
10341 or call `isearch-range-invisible'.
10342 (isearch-filter-visible): Make obsolete.
10343 (isearch-lazy-highlight-search):
10344 Call `run-hook-with-args-until-failure' on
10345 `isearch-filter-predicates' and use `isearch-range-invisible'.
10347 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10348 `isearch-filter-predicates' instead of `funcall'ing
10349 `isearch-filter-predicate'.
10350 (Info-mode): Set `Info-isearch-filter' to
10351 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10353 * dired-aux.el (dired-isearch-filter-predicate-orig):
10355 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10356 (dired-isearch-filenames-end): Add and remove
10357 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10358 instead of changing the value of `isearch-filter-predicate'.
10359 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10360 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10361 Put property `isearch-message-prefix' to "filename " on
10362 `dired-isearch-filter-filenames'.
10364 * wdired.el (wdired-change-to-wdired-mode):
10365 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10366 locally instead of changing `isearch-filter-predicate'.
10367 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10369 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10371 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10372 return the commit hash (Bug#14459). Also set the
10373 `vc-git-detached' property.
10374 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10375 (vc-git-mode-line-string): Use the same help-echo format whether
10376 in detached mode or not, because we know the actual revision now.
10377 When in detached mode, shorten the revision to 7 chars.
10379 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10381 * emacs-lisp/easy-mmode.el (define-minor-mode):
10382 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10383 mode hook and provide a docstring.
10385 2013-05-27 Alan Mackenzie <acm@muc.de>
10387 Remove spurious syntax-table text properties inserted by C-y.
10388 * progmodes/cc-mode.el (c-after-change): Also clear hard
10389 syntax-table property with value nil.
10391 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10393 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10394 when reading the events; the buffer layout shall not be changed.
10396 2013-05-27 Leo Liu <sdl.web@gmail.com>
10398 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10400 (inferior-octave-directory-tracker): Automatically re-sync
10402 (octave-help): Improve handling of 'See also'.
10404 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10406 * doc-view.el: Minor naming convention tweaks.
10407 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10409 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10410 even if there's no `display' property yet (bug#14435).
10412 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10414 * subr.el (unmsys--file-name): Rename from reveal-filename.
10416 * Makefile.in (custom-deps, finder-data, autoloads)
10417 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10418 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10419 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10421 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10423 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10424 error-completion on the first 2 args of condition-case (bug#14446).
10427 2013-05-25 Leo Liu <sdl.web@gmail.com>
10429 * comint.el (comint-previous-matching-input): Do not flood the
10430 *Messages* buffer with trivial messages.
10432 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10434 * progmodes/flymake.el (flymake-nop): Don't return a string.
10435 (flymake-set-at): Fix typo.
10437 * simple.el (read--expression): New function, extracted from
10438 eval-expression. Set completion-at-point-functions (bug#14465).
10439 (eval-expression, eval-minibuffer): Use it.
10441 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10443 * progmodes/flymake.el (flymake-save-buffer-in-file)
10444 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10445 (flymake-selected-frame, flymake-log, flymake-ins-after)
10446 (flymake-set-at, flymake-get-buildfile-from-cache)
10447 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10448 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10449 Refine the doc string.
10450 (flymake-get-file-name-mode-and-masks): Reformat.
10451 (flymake-get-real-file-name-function): Fix a minor bug.
10453 2013-05-24 Juri Linkov <juri@jurta.org>
10455 * progmodes/grep.el (grep-mode-font-lock-keywords):
10456 Support =linenumber= format used by git-grep for lines with
10457 function names. (Bug#13549)
10459 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10461 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10462 0 after a semi-colon; it works better for smie-auto-fill.
10463 (octave--indent-new-comment-line): New function.
10464 (octave-indent-new-comment-line): Use it (indirectly).
10465 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10466 modify comment-line-break-function.
10468 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10469 (smie-setup): Use add-function to set it.
10471 2013-05-24 Sam Steingold <sds@gnu.org>
10473 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10474 argument (before the `interactive' argument).
10476 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * image-mode.el (image-mode-winprops): Add winprops to
10479 image-mode-winprops-alist before running
10480 image-mode-new-window-functions.
10481 * doc-view.el (doc-view-new-window-function): Don't delay
10482 doc-view-goto-page via timers (bug#14435).
10484 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10486 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10487 (doc-view-desktop-save-buffer): New function.
10488 (doc-view-restore-desktop-buffer): New function.
10489 (desktop-buffer-mode-handlers):
10490 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10492 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10493 `desktop-save-buffer' function.
10495 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10497 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10498 (tramp-gvfs-file-name-handler): Raise a user error when
10499 `tramp-gvfs-enabled' is nil.
10500 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10501 Do not raise a user error when loading package. (Bug#14447)
10503 * net/xesam.el: Move to obsolete/.
10505 2013-05-24 Glenn Morris <rgm@gnu.org>
10507 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10509 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10511 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10512 (Info-find-node, Man-getpage-in-background): Declare.
10514 * mail/unrmail.el (unrmail):
10515 Replace obsolete detect-coding-with-priority.
10517 * net/socks.el (socks-split-string): Use this rather than split-string.
10518 (socks-nslookup-host): Update for above change.
10519 (dynamic-choice, s5-dynamic-choice-match)
10520 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10521 Comment out unused code.
10523 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10524 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10525 (gud-tooltip-echo-area): Make obsolete.
10526 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10528 * progmodes/js.el (js--optimize-arglist): Declare.
10530 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10532 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10533 (ediff-window-C): Declare.
10535 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10536 Tweak requires to silence compiler.
10538 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10539 (he-search-string, he-tried-table, he-expand-list)
10540 (he-init-string, he-string-member, he-substitute-string)
10541 (he-reset-string): Declare.
10543 * obsolete/options.el (list-options): Use custom-variable-p,
10544 rather than obsolete alias.
10546 2013-05-23 Sam Steingold <sds@gnu.org>
10548 * simple.el (shell-command-on-region): Pass the `replace' argument
10549 down to `call-process-region' to comply with the doc as reported on
10550 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10552 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10554 * emacs-lisp/smie.el (smie-indent-forward-token)
10555 (smie-indent-backward-token): Handle string tokens (bug#14381).
10557 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10559 * ielm.el (ielm-menu): New menu.
10560 (inferior-emacs-lisp-mode): Set comment-start.
10562 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10564 * textmodes/reftex.el (reftex-ref-style-toggle):
10565 Fix deactivate action.
10567 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10568 Add cleveref macros.
10570 * textmodes/reftex-parse.el
10571 (reftex-locate-bibliography-files): Accept options for
10572 bibliography commands.
10573 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10574 Add addbibresource. Basic Biblatex support.
10576 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10578 * net/tramp-gvfs.el (top):
10579 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10580 when loading package. (Bug#14447)
10582 2013-05-23 Glenn Morris <rgm@gnu.org>
10584 * progmodes/js.el: No need to load comint when compiling.
10585 (ring-insert, comint-send-string, comint-send-input)
10586 (comint-last-input-end, ido-chop): Declare.
10588 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10589 * vc/ediff-mult.el: Adjust requires.
10590 (ediff-directories-internal, ediff-directory-revisions-internal)
10591 (ediff-patch-file-internal): Declare.
10592 * vc/ediff-ptch.el: Adjust requires.
10593 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10594 (ediff-find-file): Autoload.
10595 * vc/ediff-util.el: No need to load ediff when compiling.
10596 (ediff-regions-internal): Declare.
10597 * vc/ediff-wind.el: Adjust requires.
10598 (ediff-compute-toolbar-width): Define when compiling.
10599 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10600 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10601 (dired-get-filename, dired-get-marked-files)
10602 (ediff-last-dir-patch, ediff-patch-default-directory)
10603 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10604 (ediff-patch-buffer-internal): Declare.
10606 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10607 (ispell-process, ispell-buffer-local-words, lm-summary)
10608 (lm-section-start, lm-section-end): Declare.
10609 (checkdoc-ispell-init): Simplify.
10611 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10612 (he-string-member, he-reset-string, he-substitute-string): Declare.
10614 * eshell/em-ls.el: Adjust requires.
10615 (eshell-glob-regexp): Declare.
10616 * eshell/em-tramp.el: Adjust requires.
10617 (eshell-parse-command): Autoload.
10618 * eshell/em-xtra.el: Adjust requires.
10619 (eshell-parse-command): Autoload.
10620 * eshell/esh-ext.el: Adjust requires.
10621 (eshell-parse-command, eshell-close-handles): Autoload.
10622 * eshell/esh-io.el: Adjust requires.
10623 (eshell-output-filter): Autoload.
10624 * eshell/esh-util.el: No need to load tramp when compiling.
10625 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10627 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10628 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10629 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10630 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10631 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10632 * eshell/esh-opt.el, eshell/esh-proc.el:
10633 * eshell/esh-var.el: Adjust requires.
10634 * eshell/eshell.el: Do not require esh-util twice.
10635 (eshell-add-input-to-history): Declare.
10636 (eshell-command): Check history module is active before using it.
10638 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10640 2013-05-22 Leo Liu <sdl.web@gmail.com>
10642 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10644 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10646 * autorevert.el (auto-revert-notify-add-watch)
10647 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10648 it indicates changes in file modification time.
10650 2013-05-22 Glenn Morris <rgm@gnu.org>
10652 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10653 Always delete the autoloaded function from the noruntime and
10654 unresolved functions lists.
10656 * allout.el: No need to load epa, epg, overlay when compiling.
10657 (epg-context-set-passphrase-callback, epg-list-keys)
10658 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10659 (epg-key-user-id-list): Declare.
10661 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10662 (viper-set-parsing-style-toggling-macro)
10663 (viper-set-emacs-state-searchstyle-macros):
10664 Use called-interactively-p on Emacs.
10665 (viper-looking-back): Make it an obsolete alias. Update callers.
10666 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10667 Use looking-back rather than viper-looking-back.
10668 (viper-tmp-insert-at-eob, viper-enlarge-region)
10669 (viper-read-string-with-history, viper-register-to-point)
10670 (viper-append-to-register, viper-change-state-to-vi)
10671 (viper-backward-char-carefully, viper-forward-char-carefully)
10672 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10673 (viper-change-state-to-emacs): Declare.
10674 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10675 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10676 * emulation/viper-mous.el: Do not load viper-cmd.
10677 (viper-backward-char-carefully, viper-forward-char-carefully)
10678 (viper-forward-word, viper-adjust-window): Declare.
10680 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10682 * progmodes/idlw-help.el (idlwave-help-fontify):
10683 Use called-interactively-p.
10685 * term/w32console.el (w32-get-console-codepage)
10686 (w32-get-console-output-codepage): Declare.
10688 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10689 Remove unnecessary declarations.
10690 (dframe-message): Doc fix.
10692 * info.el (dframe-select-attached-frame, dframe-current-frame):
10695 * speedbar.el (speedbar-message): Make it an obsolete alias.
10696 Update all callers.
10697 (speedbar-with-attached-buffer)
10698 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10699 (speedbar-with-writable): Use backquote.
10700 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10701 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10702 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10703 rather than speedbar- aliases.
10704 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10705 (speedbar-make-specialized-keymap, speedbar-insert-button)
10706 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10707 (speedbar-do-function-pointer): Declare.
10708 (rmail-speedbar-button, rmail-speedbar-find-file)
10709 (rmail-speedbar-move-message):
10710 Use dframe-with-attached-buffer rather than speedbar- alias.
10711 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10712 (dframe-message, speedbar-make-specialized-keymap)
10713 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10714 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10715 (speedbar-insert-button, dframe-select-attached-frame)
10716 (dframe-maybee-jump-to-attached-frame)
10717 (speedbar-change-initial-expansion-list)
10718 (speedbar-previously-used-expansion-list-name): Declare.
10719 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10720 Use dframe-message, dframe-with-attached-buffer rather than
10722 (gud-sentinel): Silence compiler.
10723 * progmodes/vhdl-mode.el (speedbar-refresh)
10724 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10725 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10726 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10727 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10728 (speedbar-file-lists, speedbar-make-tag-line)
10729 (speedbar-line-directory, speedbar-goto-this-file)
10730 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10731 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10732 (speedbar-make-button, speedbar-reset-scanners)
10733 (speedbar-files-item-info, speedbar-line-text)
10734 (speedbar-find-file-in-frame, speedbar-set-timer)
10735 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10736 (speedbar-with-writable): Do not (re)define it.
10737 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10738 rather than speedbar- alias.
10740 2013-05-21 Leo Liu <sdl.web@gmail.com>
10742 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10744 (octave-mode): Tweak fill-nobreak-predicate.
10745 (inferior-octave-startup): Check process to avoid infinite loop.
10746 (inferior-octave): Pop to buffer first to show abornmal process
10749 2013-05-21 Glenn Morris <rgm@gnu.org>
10751 * printing.el (pr-menu-bar): Define when compiling.
10753 2013-05-21 Leo Liu <sdl.web@gmail.com>
10755 * progmodes/octave.el (octave-auto-fill): Remove.
10756 (octave-indent-new-comment-line): Improve.
10757 (octave-mode): Use auto fill mode through
10758 comment-line-break-function and fill-nobreak-predicate.
10759 (octave-goto-function-definition): Support DEFUN_DLD.
10760 (octave-beginning-of-defun): Small tweak.
10761 (octave-help): Show parent directory.
10763 2013-05-21 Glenn Morris <rgm@gnu.org>
10765 * files.el (dired-unmark):
10766 * progmodes/gud.el (gdb-input): Update declarations.
10768 * calculator.el (electric, ehelp): No need to load when compiling.
10769 (Electric-command-loop, electric-describe-mode): Declare.
10771 * doc-view.el (doc-view-current-converter-processes): Move before use.
10773 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10774 Move MODE-set-explicitly definition before use.
10776 * international/mule-diag.el (mule-diag):
10777 Don't use obsolete window-system-version.
10779 * mail/feedmail.el (smtpmail): No need to load when compiling.
10780 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10782 * mail/mail-utils.el (rfc822): No need to load when compiling.
10783 (rfc822-addresses): Autoload it.
10784 (mail-strip-quoted-names): Trivial simplification.
10786 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10787 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10789 * net/snmp-mode.el (tempo): Don't duplicate requires.
10791 * progmodes/prolog.el (info): No need to load when compiling.
10792 (comint): Require before shell requires it.
10793 (Info-goto-node): Autoload it.
10794 (Info-follow-nearest-node): Declare.
10795 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10797 * textmodes/artist.el (picture-mode-exit): Declare.
10799 * textmodes/reftex-parse.el (reftex-parse-from-file):
10800 Trivial rewrite so the compiler can parse it better.
10802 2013-05-20 Leo Liu <sdl.web@gmail.com>
10804 * progmodes/octave.el (octave-help-mode-map)
10805 (octave-help-mode-finish-hook): New variables.
10806 (octave-help-mode, octave-help-mode-finish): New functions.
10807 (octave-help): Use octave-help-mode.
10809 2013-05-20 Glenn Morris <rgm@gnu.org>
10811 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10813 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10815 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10816 start at point, so that expansion starting right after opening
10817 slash in a regexp is recognized.
10818 (ruby-syntax-before-regexp-re): New defvar, extracted from
10819 ruby-syntax-propertize-function. Since the value of this regexp
10820 is looked up at runtime now, we should be able to turn
10821 `ruby-syntax-methods-before-regexp' into a defcustom later.
10822 (ruby-syntax-propertize-function): Split regexp matching into two
10823 parts, for opening and closing slashes. That allows us to skip
10824 over string interpolations and support multiline regexps.
10825 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10826 for them, which calls `ruby-syntax-propertize-expansion'.
10827 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10828 call to `ruby-syntax-propertize-function'.
10829 (ruby-syntax-propertize-expansion): Extracted from
10830 `ruby-syntax-propertize-expansions'. Handles one expansion.
10831 (ruby-syntax-propertize-percent-literal): Leave point right after
10832 the percent symbol, so that the expression expansion rule can
10833 propertize the contents.
10834 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10836 (ruby-syntax-propertize-expansions): Remove.
10838 2013-05-18 Juri Linkov <juri@jurta.org>
10840 * man.el (Man-default-man-entry): Remove `-' from the end
10841 of the default value. (Bug#14400)
10843 2013-05-18 Glenn Morris <rgm@gnu.org>
10845 * comint.el (comint-password-prompt-regexp):
10846 Allow "password for XXX" where XXX contains colons (eg https://...).
10848 2013-05-18 Leo Liu <sdl.web@gmail.com>
10850 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10851 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10852 (octave-source-directories): Don't check process.
10853 (octave-source-directories, octave-find-definition): Doc fix.
10855 2013-05-18 Glenn Morris <rgm@gnu.org>
10857 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10858 Remove backspace/delete bindings. (Bug#14392)
10860 * cus-dep.el (custom-make-dependencies): Sort the output.
10861 (custom-versions-load-alist): Convert comment to doc.
10863 2013-05-17 Leo Liu <sdl.web@gmail.com>
10865 * newcomment.el (comment-search-backward): Stricter in finding
10866 comment start. (Bug#14303)
10868 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10869 (octave-comment-start-skip): Properly anchored.
10871 2013-05-17 Leo Liu <sdl.web@gmail.com>
10873 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10874 Clean up when turned off. (Bug#14395)
10875 (smie--highlight-matching-block-overlay): No longer buffer-local.
10876 (smie-highlight-matching-block): Adjust.
10878 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10880 Doc string fix for "nanoseconds" (Bug#14406).
10881 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10882 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10884 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10886 * calc/calc-units.el (math-extract-units): Preserve powers
10889 2013-05-17 Leo Liu <sdl.web@gmail.com>
10891 * subr.el (delete-consecutive-dups): New function.
10892 * ido.el (ido-set-matches-1): Use it.
10893 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10894 * ido.el (ido-remove-consecutive-dups): Remove.
10896 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10898 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10899 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10900 regexp-opt's `words'.
10902 2013-05-16 Leo Liu <sdl.web@gmail.com>
10904 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10905 (smie--highlight-matching-block-overlay)
10906 (smie--highlight-matching-block-lastpos)
10907 (smie--highlight-matching-block-timer): New variables.
10908 (smie-highlight-matching-block): New function.
10909 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10910 (smie-setup): Conditionally enable smie-blink-matching-open.
10912 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10914 Sync with upstream verilog-mode r840.
10915 * progmodes/verilog-mode.el (verilog-mode-version)
10916 (verilog-mode-release-date): Update.
10917 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10918 (verilog-sig-tieoff): Fix string error on
10919 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10920 (verilog-read-decls): Fix parameters confusing
10921 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10923 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10925 * subr.el (reveal-filename): New function.
10927 * loadup.el: Compute Emacs executable versions on MS-Windows,
10928 where executables have the .exe extension. Add a hard link
10929 emacs-XX.YY.ZZ.exe on MS-Windows.
10931 * Makefile.in (XARGS_LIMIT): New variable.
10932 (custom-deps, finder-data, autoloads)
10933 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10934 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10935 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10936 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10938 2013-05-16 Leo Liu <sdl.web@gmail.com>
10940 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10941 (octave-mode-menu, octave-mode-map): Remove its uses.
10943 2013-05-16 Reto Zimmermann <reto@gnu.org>
10945 Sync with upstream vhdl mode v3.34.2.
10946 * progmodes/vhdl-mode.el: Use `push' throughout.
10947 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10948 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10949 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10950 (vhdl-actual-generic-name): New option to derive actual generic name.
10951 (vhdl-port-paste-signals): Replace formal by actual generics.
10952 (vhdl-beautify): New name for old group vhdl-align. Update users.
10953 (vhdl-beautify-options): New option.
10954 (vhdl-last-input-event): New compat alias. Use throughout.
10955 (vhdl-goto-line): Replace user level function `goto-line'.
10956 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10957 vhdl-fix-statement-buffer.
10958 (vhdl-create-mode-menu): Add some entries.
10959 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10960 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10961 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10962 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10963 to force statements on one line.
10964 (vhdl-remove-trailing-spaces-region):
10965 New, split from vhdl-remove-trailing-spaces.
10966 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10967 Respect vhdl-beautify-options.
10968 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10969 (vhdl-update-sensitivity-list): Not add with index if exists without.
10970 Not include array index with signal. Ignore keywords in comments.
10971 (vhdl-get-visible-signals): Regexp tweaks.
10972 (vhdl-template-component-inst): Handle empty library.
10973 (vhdl-template-type): Add template for 'enum' type.
10974 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10975 Use vhdl-replace-string.
10976 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10977 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10978 (vhdl-speedbar-initialize): Update for above name change.
10979 (vhdl-compose-wire-components): Fix in handling of constants.
10980 (vhdl-error-regexp-emacs-alist): New variable.
10981 (vhdl-error-regexp-add-emacs): New function;
10982 adds support for new compile.el (Emacs 22+)
10983 (vhdl-generate-makefile-1): Change target order for single lib. units.
10984 Allow use of absolute file names.
10986 2013-05-16 Leo Liu <sdl.web@gmail.com>
10988 * simple.el (prog-indent-sexp): Indent enclosing defun.
10990 2013-05-15 Glenn Morris <rgm@gnu.org>
10992 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10993 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10994 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10995 (whitespace-highlight): Move to whitespace group.
10997 * comint.el (comint-source):
10998 * pcmpl-linux.el (pcmpl-linux):
10999 * shell.el (shell-faces):
11000 * eshell/esh-opt.el (eshell-opt):
11001 * international/ccl.el (ccl): Remove empty custom groups.
11003 * completion.el (dynamic-completion-mode):
11004 * jit-lock.el (jit-lock-debug-mode):
11005 * minibuffer.el (completion-in-region-mode):
11006 * type-break.el (type-break-mode-line-message-mode)
11007 (type-break-query-mode):
11008 * emulation/tpu-edt.el (tpu-edt-mode):
11009 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11010 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11011 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11013 * term/xterm.el (xterm): Change parent group to terminals.
11015 * master.el (master): Remove empty custom group.
11016 (master-mode): Remove unused :group argument.
11017 * textmodes/refill.el (refill): Remove empty custom group.
11018 (refill-mode): Remove unused :group argument.
11020 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11022 * cus-dep.el: Provide a feature.
11023 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11024 Don't mistakenly ignore files whose basenames match a basename
11025 from preloaded-file-list (eg cedet/ede/simple.el).
11026 Add a fallback method for getting :group.
11028 2013-05-15 Juri Linkov <juri@jurta.org>
11030 * isearch.el (isearch-char-by-name): Rename from
11031 `isearch-insert-char-by-name'. Doc fix.
11032 (isearch-forward): Mention `isearch-char-by-name' in
11033 the docstring. (Bug#13348)
11035 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11036 `exit-minibuffer' instead of
11037 `isearch-nonincremental-exit-minibuffer'.
11038 (isearch-edit-string): Remove mention of
11039 `isearch-nonincremental-exit-minibuffer' from docstring.
11040 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11041 (isearch-forward-exit-minibuffer)
11042 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11044 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * loadup.el: Just use unversioned DOC.
11048 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11049 literals as extending to EOB.
11050 (nxml-last-fontify-end): Remove unused variable.
11051 (nxml-after-change1): Use with-silent-modifications.
11052 (nxml-extend-after-change-region): Simplify.
11053 (nxml-extend-after-change-region1): Remove function.
11054 (nxml-after-change1): Don't adjust for dependent regions.
11055 (nxml-fontify-matcher): Simplify.
11056 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11057 (xmltok-add-dependent): Remove function.
11058 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11059 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11060 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11061 unclosed <[[, <?, comment, and other literals as extending to EOB.
11062 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11063 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11065 (rng-do-some-validation-1): Don't mark dependent regions.
11066 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11067 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11068 (nxml-clear-dependent-regions): Remove functions.
11069 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11070 (nxml-ensure-scan-up-to-date):
11071 Don't clear&mark dependent regions.
11073 2013-05-15 Leo Liu <sdl.web@gmail.com>
11075 * progmodes/octave.el (octave-goto-function-definition):
11076 Improve and fix callers.
11078 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11080 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11081 the setter (bug#14387).
11083 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11084 surrounding group (bug#14402).
11086 2013-05-14 Juri Linkov <juri@jurta.org>
11088 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11091 2013-05-14 Glenn Morris <rgm@gnu.org>
11093 * progmodes/f90.el (f90-imenu-generic-expression):
11094 Fix typo in 2013-05-08 change. (Bug#14402)
11096 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11098 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11099 Remove signals for which replies are never received.
11101 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11103 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11104 (gdb-handler-alist, gdb-handler-number): Remove variables.
11105 (gdb-handler-list): New variable.
11106 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11107 (gdb-pending-handler-p, gdb-handle-reply)
11108 (gdb-remove-all-pending-triggers): New functions.
11109 (gdb-discard-unordered-replies): New defcustom.
11110 (gdb-handler): New defstruct.
11111 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11112 instead of gdb-pending-triggers. Update docstring.
11113 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11114 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11115 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11116 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11117 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11118 (gdb-frame-handler): Pending triggers are now automatically managed.
11119 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11121 (gdb-input): Automatically handles pending triggers. Update docstring.
11122 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11123 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11125 (gdb-done-or-error): Now use gdb-handle-reply.
11127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11129 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11132 2013-05-14 Glenn Morris <rgm@gnu.org>
11134 * subr.el (user-emacs-directory-warning): New option.
11135 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11137 2013-05-14 Leo Liu <sdl.web@gmail.com>
11139 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11141 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11142 (octave-font-lock-texinfo-comment): Fix invalid search bound
11143 error: wrong side of point.
11145 2013-05-14 Glenn Morris <rgm@gnu.org>
11147 * progmodes/flymake.el (flymake-xml-program): New option.
11148 (flymake-xml-init): Use it.
11150 * term/xterm.el: Provide a feature.
11152 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11154 2013-05-13 Glenn Morris <rgm@gnu.org>
11156 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11157 Add compat aliases as a hack workaround. (Bug#14384)
11159 2013-05-13 Leo Liu <sdl.web@gmail.com>
11161 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11163 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11165 (octave-comment-start-skip): Include %!.
11166 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11168 2013-05-12 Leo Liu <sdl.web@gmail.com>
11170 * progmodes/octave.el (inferior-octave-startup): Store the value
11171 of __octave_srcdir__ for octave-source-directories.
11172 (inferior-octave-check-process): New function refactored out of
11173 inferior-octave-send-list-and-digest.
11174 (octave-source-directories)
11175 (octave-find-definition-filename-function): New variables.
11176 (octave-source-directories)
11177 (octave-find-definition-default-filename): New functions.
11178 (octave-find-definition): Improve to find functions implemented in C++.
11180 2013-05-12 Glenn Morris <rgm@gnu.org>
11182 * calendar/diary-lib.el (diary-outlook-format-1):
11183 Don't include dayname in the output. (Bug#14349)
11185 2013-05-11 Glenn Morris <rgm@gnu.org>
11187 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11189 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11190 Treat cc-provide like provide.
11192 2013-05-11 Kevin Ryde <user42@zip.com.au>
11194 * cus-dep.el (custom-make-dependencies):
11195 Use generated-autoload-load-name for the sake of files such
11196 such cedet/semantic/bovine/c.el, where the base file name
11197 is not in load-path. (Bug#5277)
11199 2013-05-11 Glenn Morris <rgm@gnu.org>
11201 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11204 2013-05-11 Leo Liu <sdl.web@gmail.com>
11206 * progmodes/octave.el (octave-indent-comment): Improve.
11207 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11208 (octave-eldoc-function-signatures, octave-eldoc-function):
11210 (octave-mode, inferior-octave-mode): Add eldoc support.
11212 2013-05-11 Richard Stallman <rms@gnu.org>
11214 * epa.el (epa-decrypt-file): Take output file name as argument
11215 and read it using `interactive'.
11217 2013-05-11 Leo Liu <sdl.web@gmail.com>
11219 * progmodes/octave.el (octave-beginning-of-line)
11220 (octave-end-of-line): Check before using up-list because it jumps
11221 out of more syntactic contructs since moving to smie.
11222 (octave-indent-comment): New function.
11223 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11224 (octave-begin-keywords, octave-end-keywords)
11225 (octave-reserved-words, octave-smie-bnf-table)
11226 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11228 2013-05-11 Glenn Morris <rgm@gnu.org>
11230 * faces.el (internal-face-x-get-resource):
11231 * frame.el (ns-display-monitor-attributes-list):
11232 * calc/calc-aent.el (math-to-radians-2):
11233 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11236 * calc/calc-menu.el: Make it loadable in isolation.
11238 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11239 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11240 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11241 (eudc-bbdb-query-internal): Require 'bbdb.
11243 * lpr.el (lpr-headers-switches):
11244 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11246 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11248 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11250 * term.el (term-set-escape-char): Make it idempotent.
11252 2013-05-10 Leo Liu <sdl.web@gmail.com>
11254 * progmodes/octave.el (inferior-octave-completion-table):
11255 No longer a function and all uses changed. Use cache to speed up
11256 completion due to bug#11906.
11257 (octave-beginning-of-defun): Re-write to be more general.
11259 2013-05-10 Glenn Morris <rgm@gnu.org>
11261 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11263 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11265 * comint.el (comint-redirect-send-command-to-process): Use :around
11266 rather than :override for comint-redirect-filter.
11267 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11268 Call it instead of comint-redirect-original-filter-function (which
11269 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11271 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11273 * frame.el (display-monitor-attributes-list): Add NS case.
11274 (ns-display-monitor-attributes-list): Declare.
11276 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11278 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11280 2013-05-09 Glenn Morris <rgm@gnu.org>
11282 * international/fontset.el (vertical-centering-font-regexp):
11283 Set standard-value.
11285 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11287 * bookmark.el (bookmark-search-delay):
11288 * cus-start.el (vertical-centering-font-regexp):
11289 * ps-mule.el (ps-mule-font-info-database-default):
11290 * ps-print.el (ps-default-fg, ps-default-bg):
11291 * type-break.el (type-break-good-break-interval):
11292 * whitespace.el (whitespace-indentation-regexp)
11293 (whitespace-space-after-tab-regexp):
11294 * emacs-lisp/testcover.el (testcover-1value-functions)
11295 (testcover-noreturn-functions, testcover-progn-functions)
11296 (testcover-prog1-functions):
11297 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11298 * eshell/em-glob.el (eshell-glob-translate-alist):
11299 * play/tetris.el (tetris-tty-colors):
11300 * progmodes/cpp.el (cpp-face-default-list):
11301 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11302 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11303 (idlwave-help-browser-generic-args):
11304 * progmodes/make-mode.el (makefile-special-targets-list):
11305 * progmodes/python.el (python-shell-virtualenv-path):
11306 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11307 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11308 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11309 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11310 * textmodes/reftex-vars.el (reftex-format-label-function):
11311 * textmodes/remember.el (remember-diary-file): Fix custom types.
11313 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11316 2013-05-09 Leo Liu <sdl.web@gmail.com>
11318 * progmodes/octave.el (inferior-octave-completion-at-point):
11319 Restore file completion. (Bug#14300)
11320 (inferior-octave-startup): Fix incorrect highlighting for the
11323 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11325 * progmodes/ruby-mode.el: First cut at SMIE support.
11326 (ruby-use-smie): New var.
11327 (ruby-smie-grammar): New constant.
11328 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11329 (ruby-smie--forward-token, ruby-smie--backward-token)
11330 (ruby-smie-rules): New functions.
11331 (ruby-mode-variables): Setup SMIE if applicable.
11333 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11335 * simple.el (line-move-visual): Signal beginning/end of buffer
11336 only if vertical-motion moved less than it was requested. Avoids
11337 silly incorrect error messages when there are display strings with
11338 multiple newlines at EOL.
11340 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11342 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11343 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11344 (prolog-char-quote-workaround):
11345 * progmodes/cperl-mode.el (cperl-under-as-char):
11346 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11348 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11350 (vhdl-mode-syntax-table-init): Remove.
11352 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11355 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11357 (ld-script-font-lock-keywords):
11358 Change regexps to use things like \_< and \_>.
11360 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11361 Change all regexps to use things like \_< and \_>.
11363 * progmodes/autoconf.el (autoconf-definition-regexp)
11364 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11365 Handle a _ with symbol syntax.
11366 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11368 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11369 Consolidate declaration.
11370 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11372 (ada-create-syntax-table): Remove.
11373 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11374 already has the right syntax nowadays.
11375 (ada-goto-next-word): Don't change the syntax of "_".
11377 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11380 2013-05-08 Sam Steingold <sds@gnu.org>
11382 * thingatpt.el (thing-at-point): Accept optional second argument
11383 NO-PROPERTIES to strip the text properties from the return value.
11384 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11385 to `thing-at-point' instead of stripping the properties ourselves.
11386 Also, when `thing-at-point' fails to find a url, prepend "http://"
11387 to the filename at point on the assumption that the user is
11388 pointing at something like gnu.org/gnu.
11390 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11392 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11393 * faces.el (crm-separator):
11394 Silence byte-compiler.
11396 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11397 (tool-bar-map): Remove unneeded defvars.
11399 2013-05-08 Leo Liu <sdl.web@gmail.com>
11401 Re-work a fix for bug#10994 based on Le Wang's patch.
11402 * ido.el (ido-remove-consecutive-dups): New helper.
11403 (ido-completing-read): Use it.
11404 (ido-chop): Revert fix for bug#10994.
11406 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11408 * cus-edit.el (custom-save-variables):
11409 Pretty-print long values. (Bug#14187)
11411 2013-05-08 Glenn Morris <rgm@gnu.org>
11413 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11414 (m4-mode-syntax-table): Init in the defvar.
11415 (m4-mode-abbrev-table): Let define-derived-mode define it.
11417 2013-05-08 Tom Tromey <tromey@redhat.com>
11419 * progmodes/m4-mode.el (m4-mode-syntax-table):
11420 Do not treat "_" as word constituent. (Bug#14167)
11422 2013-05-07 Glenn Morris <rgm@gnu.org>
11424 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11425 Remove explicit eshell-isearch-cancel-map.
11427 * progmodes/f90.el (f90-smart-end-names): New option.
11428 (f90-smart-end): Doc fix.
11429 (f90-end-block-optional-name): New constant.
11430 (f90-block-match): Respect f90-smart-end-names.
11432 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11434 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11435 about implicit semi-colons (bug#14218).
11437 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11439 * frame.el (display-monitor-attributes-list)
11440 (frame-monitor-attributes): New functions.
11442 2013-05-06 Leo Liu <sdl.web@gmail.com>
11444 * progmodes/octave.el (octave-syntax-propertize-function): Change
11445 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11446 (octave-font-lock-keywords): Use octave-operator-regexp.
11447 (octave-completion-at-point): Rename from
11448 octave-completion-at-point-function.
11449 (inferior-octave-directory-tracker): Robustify.
11450 (octave-text-functions): Remove and fix its uses. No such things
11453 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11455 * emacs-lisp/trace.el (trace--display-buffer): New function.
11456 (trace-make-advice): Use it.
11458 2013-05-06 Juri Linkov <juri@jurta.org>
11460 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11461 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11463 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11464 in the help string. (Bug#12985)
11466 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11468 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11472 * progmodes/perl-mode.el: Add support for here documents.
11473 (perl-syntax-propertize-function): Match here-doc markers.
11474 (perl-syntax-propertize-special-constructs): Find their end.
11475 (perl-imenu-generic-expression): Use [:alnum:].
11477 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11478 (advice--add-function): Refresh the advice if already present
11481 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11483 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11485 2013-05-06 Glenn Morris <rgm@gnu.org>
11487 * w32-fns.el (w32-charset-info-alist): Declare.
11489 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11490 of its defcustom properties.
11491 (eshell-cmpl-initialize): No need to load pcomplete.
11493 * generic-x.el: No need to require comint when compiling.
11495 * net/eudc-export.el: Make it loadable without bbdb.
11496 (top-level): Use require rather than load-library.
11497 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11498 (eudc-batch-export-records-to-bbdb)
11499 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11502 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11505 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11506 some tweaks, instead.
11508 2013-05-05 Leo Liu <sdl.web@gmail.com>
11510 * progmodes/octave.el (octave-font-lock-keywords)
11511 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11512 (inferior-octave-send-list-and-digest): Improve error message.
11513 (octave-mode, inferior-octave-mode): Use setq-local.
11514 (octave-help): Set info-lookup-mode.
11516 2013-05-05 Richard Stallman <rms@gnu.org>
11518 * vc/compare-w.el (compare-windows-whitespace):
11519 Treat no-break space as whitespace.
11521 * mail/rmailsum.el (rmail-summary-rmail-update):
11522 Detect empty summary and don't change selected message.
11523 (rmail-summary-goto-msg): Likewise.
11525 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11526 Doc fixes, rename args.
11528 2013-05-05 Alan Mackenzie <acm@muc.de>
11530 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11532 2013-05-05 Juri Linkov <juri@jurta.org>
11534 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11535 to not add the length of the summary segment to the return value.
11538 2013-05-05 Leo Liu <sdl.web@gmail.com>
11540 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11541 (inferior-octave-output-filter): Remove.
11542 (octave-send-region, inferior-octave-startup): Fix callers.
11543 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11544 (octave-binary-file-extensions): New user variable.
11545 (octave-find-definition): Confirm if opening binary files.
11546 (octave-help-file): Use octave-find-definition to get the binary
11548 (octave-help): Adjust for octave-help-file change.
11550 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11552 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11553 Merge the two entries that handle function definitions.
11554 (pascal--syntax-propertize): New const.
11555 (pascal-mode): Use it. Use setq-local.
11557 2013-05-04 Glenn Morris <rgm@gnu.org>
11559 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11560 (diary-from-outlook): Respect diary-from-outlook-function.
11562 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11564 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11565 Move the declaration from C.
11566 (read-minibuffer, eval-minibuffer): Move from C.
11567 (completion-setup-function): Avoid minibuffer-completion-contents.
11569 2013-05-03 Leo Liu <sdl.web@gmail.com>
11571 * progmodes/octave.el (octave-font-lock-keywords): Do not
11572 dehighlight 'end' in comments or strings.
11573 (octave-completing-read, octave-goto-function-definition):
11575 (octave-help-buffer): New user variable.
11576 (octave-help-file, octave-help-function): New button types.
11577 (octave-help): New command and bind it to C-h ;.
11578 (octave-find-definition): New command and bind it to M-.
11579 (user-error): Alias to error if not defined.
11581 2013-05-02 Leo Liu <sdl.web@gmail.com>
11583 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11585 (octave-font-lock-keywords): Include [ and {.
11587 2013-05-02 Leo Liu <sdl.web@gmail.com>
11589 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11590 (inferior-octave): Remove calling comint-mode and return the buffer.
11591 (inferior-octave-startup): Cosmetic changes.
11593 2013-05-02 Leo Liu <sdl.web@gmail.com>
11595 * progmodes/octave.el (octave-syntax-propertize-function):
11596 Include the case when ' is at line beginning. (Bug#14336)
11598 2013-05-02 Glenn Morris <rgm@gnu.org>
11600 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11601 * desktop.el (vc-dir-mode): Just autoload it here.
11603 2013-05-02 Alan Mackenzie <acm@muc.de>
11605 Eliminate variable c-standard-font-lock-fontify-region-function.
11606 * progmodes/cc-mode.el
11607 (c-standard-font-lock-fontify-region-function): Remove.
11608 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11610 2013-05-01 Leo Liu <sdl.web@gmail.com>
11612 * progmodes/octave.el: Compatible with older emacs-24 releases.
11613 (inferior-octave-has-built-in-variables): Remove. Built-in
11614 variables were removed from Octave in 2007.
11615 (inferior-octave-startup): Fix uses.
11616 (comint-line-beginning-position): Remove compatibility code for
11619 2013-05-01 Juri Linkov <juri@jurta.org>
11621 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11623 2013-05-01 Juri Linkov <juri@jurta.org>
11625 * comint.el (comint-previous-matching-input): Don't print message
11626 "History item: %d" when `isearch-mode' is active.
11627 (comint-history-isearch-message): Print message "History item: %d"
11628 when `comint-input-ring-index' is not empty and this function is
11629 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11631 2013-05-01 Leo Liu <sdl.web@gmail.com>
11633 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11634 definitions. Use completion-at-point to insert keywords.
11635 (octave-abbrev-start): Remove.
11636 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11638 2013-04-30 Leo Liu <sdl.web@gmail.com>
11640 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11643 2013-04-30 Alan Mackenzie <acm@muc.de>
11645 Handle arbitrarily long C++ member initialisation lists.
11646 * progmodes/cc-engine.el (c-back-over-member-initializers):
11648 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11649 (most) member init lists.
11651 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11653 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11656 2013-04-30 Leo Liu <sdl.web@gmail.com>
11658 * progmodes/octave.el (octave-variables): Remove. No builtin
11659 variables any more. All converted to functions.
11660 (octave-font-lock-keywords, octave-completion-at-point-function):
11662 (octave-font-lock-texinfo-comment): New user variable.
11663 (octave-texinfo-font-lock-keywords): New variable for texinfo
11665 (octave-function-comment-block): New face.
11666 (octave-font-lock-texinfo-comment): New function.
11667 (octave-mode): Font lock texinfo comment block.
11669 2013-04-29 Leo Liu <sdl.web@gmail.com>
11671 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11672 indexing expression.
11673 (octave-continuation-string): Do not use \.
11674 (inferior-octave-complete-impossible): Remove.
11675 (inferior-octave-completion-table)
11676 (inferior-octave-completion-at-point): Remove its uses.
11677 (inferior-octave-startup): completion_matches was introduced to
11678 Octave in 1996 so safe to assume it.
11679 (octave-function-file-comment): Improve to follow how Octave does it.
11680 (octave-update-function-file-comment): Tweak.
11682 2013-04-29 Leo Liu <sdl.web@gmail.com>
11684 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11685 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11686 (octave-function-file-comment): Fix typo.
11687 (octave-sync-function-file-names): Use read-char-choice.
11689 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11691 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11692 to t for the less important warnings.
11694 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11696 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11698 2013-04-27 Glenn Morris <rgm@gnu.org>
11700 * vc/log-view.el (log-view-current-entry):
11701 Treat "---" separator lines as part of the following rev. (Bug#14169)
11703 2013-04-27 Juri Linkov <juri@jurta.org>
11705 * subr.el (read-number): Doc fix about using it by interactive
11706 code letter `n'. (Bug#14254)
11708 2013-04-27 Juri Linkov <juri@jurta.org>
11710 * desktop.el (desktop-auto-save-timeout): New option.
11711 (desktop-file-checksum): New variable.
11712 (desktop-save): Add optional arg `auto-save' and don't auto-save
11713 if nothing changed.
11714 (desktop-auto-save-timer): New variable.
11715 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11716 (after-init-hook): Call `desktop-auto-save-set-timer'.
11717 Suggested by Reuben Thomas <rrt@sc3d.org> in
11718 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11720 2013-04-27 Leo Liu <sdl.web@gmail.com>
11722 * progmodes/octave.el (octave-function-file-p)
11723 (octave-skip-comment-forward, octave-function-file-comment)
11724 (octave-update-function-file-comment): New functions.
11725 (octave-mode-map): Bind C-c ; to
11726 octave-update-function-file-comment.
11727 (octave-mode-menu): Add octave-update-function-file-comment.
11728 (octave-mode, inferior-octave-mode): Fix doc-string.
11729 (octave-insert-defun): Conform to Octave's coding convention.
11732 * files.el (basic-save-buffer): Don't let errors in
11733 before-save-hook prevent saving buffer.
11735 2013-04-20 Roland Winkler <winkler@gnu.org>
11737 * faces.el (read-face-name): Use completing-read if arg multiple
11740 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11742 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11743 displayed, move point to after the totals line.
11744 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11747 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11749 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11750 Add current dir to the load-path.
11751 (package-generate-autoloads): Don't rely on
11752 autoload-ensure-default-file.
11754 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11756 * textmodes/remember.el (remember-store-in-files): Document that
11757 the file name format is passed to `format-time-string'.
11759 2013-04-26 Leo Liu <sdl.web@gmail.com>
11761 * progmodes/octave.el (octave-sync-function-file-names): New function.
11762 (octave-mode): Use it in before-save-hook.
11764 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11769 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11770 \n and comment, even if it's not an implicit ; (bug#14218).
11772 2013-04-26 Glenn Morris <rgm@gnu.org>
11774 * subr.el (read-number): Once more use `read' rather than
11775 `string-to-number', to trap non-numeric input. (Bug#14254)
11777 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11779 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11780 Use `syntax-multiline' text property consistently instead of
11781 `font-lock-multiline'. (Bug#14237)
11783 2013-04-26 Glenn Morris <rgm@gnu.org>
11785 * emacs-lisp/shadow.el (list-load-path-shadows):
11786 No longer necessary to check for duplicate simple.el, since
11787 2012-07-07 change to init_lread to not include installation lisp
11788 directories in load-path when running uninstalled. (Bug#14270)
11790 2013-04-26 Leo Liu <sdl.web@gmail.com>
11792 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11793 (octave-mode, inferior-octave-mode): Use setq-local.
11794 (octave-not-in-string-or-comment-p): Rename to
11795 octave-in-string-or-comment-p.
11796 (octave-in-comment-p, octave-in-string-p)
11797 (octave-in-string-or-comment-p): Replace defsubst with defun.
11799 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11801 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11803 2013-04-25 Bastien Guerry <bzg@gnu.org>
11805 * textmodes/remember.el (remember-data-directory)
11806 (remember-directory-file-name-format): Fix custom types.
11808 2013-04-25 Leo Liu <sdl.web@gmail.com>
11810 * progmodes/octave.el (octave-completion-at-point-function):
11811 Make use of inferior octave process.
11812 (octave-initialize-completions): Remove.
11813 (inferior-octave-completion-table): New function.
11814 (inferior-octave-completion-at-point): Use it.
11815 (octave-completion-alist): Remove.
11817 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11819 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11820 (opascal-mode-syntax-table): New var.
11821 (opascal-literal-kind, opascal-is-literal-end)
11822 (opascal-literal-token-at): Rewrite.
11823 (opascal--literal-start-re, opascal-font-lock-keywords)
11824 (opascal--syntax-propertize): New constants.
11825 (opascal-font-lock-defaults): Adjust.
11826 (opascal-mode): Use them. Set comment-<foo> variables as well.
11827 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11828 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11829 (delphi-other-face, opascal-other-face): Remove face variables.
11830 (opascal-save-state): Remove macro.
11831 (opascal-fontifying-progress-step): Remove constant.
11832 (opascal--ignore-changes): Remove var.
11833 (opascal-set-token-property, opascal-parse-next-literal)
11834 (opascal-is-stable-literal, opascal-complete-literal)
11835 (opascal-is-literal-start, opascal-face-of)
11836 (opascal-parse-region, opascal-parse-region-until-stable)
11837 (opascal-fontify-region, opascal-after-change)
11838 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11839 (opascal-debug-parse-region, opascal-debug-parse-window)
11840 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11841 (opascal-debug-fontify-buffer): Remove.
11842 (opascal-debug-mode-map): Adjust accordingly.
11844 2013-04-25 Leo Liu <sdl.web@gmail.com>
11846 Merge octave-mod.el and octave-inf.el into octave.el with some
11848 * progmodes/octave.el: New file renamed from octave-mod.el.
11849 * progmodes/octave-inf.el: Merged into octave.el.
11850 * progmodes/octave-mod.el: Renamed to octave.el.
11852 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11854 * textmodes/reftex-vars.el
11855 (reftex-label-ignored-macros-and-environments): New defcustom.
11857 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11859 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11861 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11862 (smie-indent-keyword): Improve the check to ensure that the next
11863 comment is really on the same line.
11864 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11866 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11867 semi-colons if the line is not otherwise empty (bug#14218).
11869 2013-04-25 Glenn Morris <rgm@gnu.org>
11871 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11873 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11875 * progmodes/opascal.el (opascal-set-token-property): Rename from
11876 opascal-set-text-properties and only set `token' (bug#14134).
11877 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11878 (opascal-literal-text-properties): Remove.
11879 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11882 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11884 * textmodes/remember.el (remember-handler-functions): Add an
11885 option for a new handler `remember-store-in-files'.
11886 (remember-data-directory, remember-directory-file-name-format):
11888 (remember-store-in-files): New function to store remember notes
11889 as separate files within a directory.
11891 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11893 * progmodes/compile.el (compilation-next-error-function):
11894 Pass "formats" to compilation-find-file (bug#11777).
11896 2013-04-24 Glenn Morris <rgm@gnu.org>
11898 * vc/vc-bzr.el (vc-bzr-print-log):
11899 * vc/vc-hg.el (vc-hg-print-log):
11900 * vc/vc-svn.el (vc-svn-print-log):
11901 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11903 * vc/vc-bzr.el (vc-bzr-print-log):
11904 * vc/vc-cvs.el (vc-cvs-print-log):
11905 * vc/vc-git.el (vc-git-print-log):
11906 * vc/vc-hg.el (vc-hg-print-log):
11907 * vc/vc-mtn.el (vc-mtn-print-log):
11908 * vc/vc-rcs.el (vc-rcs-print-log):
11909 * vc/vc-sccs.el (vc-sccs-print-log):
11910 * vc/vc-svn.el (vc-svn-print-log):
11911 * vc/vc.el (vc-print-log-internal): Doc fixes.
11913 2013-04-23 Glenn Morris <rgm@gnu.org>
11915 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11916 Remove venerable code attempting to avoid substitute-command-keys.
11918 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11920 * textmodes/reftex-vars.el (reftex-label-regexps):
11921 Call `reftex-compile-variables' after changes to this variable.
11923 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11925 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11926 Use lexical-binding.
11927 (jit-lock-force-redisplay): Use markers, check buffer's continued
11928 existence and beware narrowed buffers.
11929 (jit-lock-fontify-now): Adjust call accordingly.
11931 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11933 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11934 to avoid misleading the user.
11936 2013-04-22 Leo Liu <sdl.web@gmail.com>
11938 * info-look.el: Prefer latex2e.info. (Bug#14240)
11940 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11942 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11944 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11945 * net/tramp.el (tramp-call-process): ... here.
11946 (tramp-set-completion-function, tramp-parse-putty):
11947 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11948 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11949 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11950 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11951 (tramp-call-local-coding-command): Use `tramp-call-process'
11952 instead of `tramp-compat-call-process'.
11954 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11955 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11956 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11957 (tramp-find-inline-compress): Improve traces.
11958 (tramp-maybe-send-script): Check for Perl binary.
11959 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11961 2013-04-22 Daiki Ueno <ueno@gnu.org>
11963 * epg.el (epg-context-pinentry-mode): New function.
11964 (epg-context-set-pinentry-mode): New function.
11965 (epg--start): Pass --pinentry-mode option to gpg command.
11967 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11969 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11970 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11971 `completion-at-point'. (Bug#13774)
11973 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11974 default key binding for `describe-distribution' has been moved to
11975 `C-h C-o'. (Bug#13970)
11977 2013-04-21 Glenn Morris <rgm@gnu.org>
11979 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11981 (vc-print-log): Clarify interactive prompt.
11983 2013-04-20 Glenn Morris <rgm@gnu.org>
11985 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11986 No longer include timestamp etc information.
11988 2013-04-20 Roland Winkler <winkler@gnu.org>
11990 * faces.el (read-face-name): Bug fix, return just one face if arg
11991 multiple is nil. (Bug#14209)
11993 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11995 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11996 (remove-function): Autoload.
11998 * comint.el (comint-redirect-original-filter-function): Remove.
11999 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12000 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12001 (vc-cvs-annotate-command):
12002 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12003 * progmodes/prolog.el (prolog-consult-compile):
12004 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12005 Use add/remove-function instead.
12006 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12007 (gud-tooltip-process-output, gud-tooltip-tips):
12008 Use add/remove-function instead.
12009 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12010 (scheme-interaction-mode, exit-scheme-interaction-mode):
12011 Use add/remove-function instead.
12013 * vc/vc-dispatcher.el: Use lexical-binding.
12014 (vc--process-sentinel): Rename from vc-process-sentinel.
12015 Change last arg to be the code to run. Don't use vc-previous-sentinel
12016 and vc-sentinel-commands any more.
12017 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12018 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12020 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12022 * progmodes/sh-script.el (sh-imenu-generic-expression):
12023 Handle function names with a single character. (Bug#14111)
12025 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12027 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12028 for subroutines defined in an eval (bug#14182).
12030 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12032 * bookmark.el (bookmark-completing-read): Improve handling of empty
12033 string (bug#14176).
12035 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12037 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12039 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12041 New faster Imenu implementation (bug#14058).
12042 * progmodes/python.el:
12043 (python-imenu-prev-index-position):
12044 (python-imenu-format-item-label-function)
12045 (python-imenu-format-parent-item-label-function)
12046 (python-imenu-format-parent-item-jump-label-function):
12048 (python-imenu-format-item-label)
12049 (python-imenu-format-parent-item-label)
12050 (python-imenu-format-parent-item-jump-label)
12051 (python-imenu--put-parent, python-imenu--build-tree)
12052 (python-imenu-create-index, python-imenu-create-flat-index)
12053 (python-util-popn): New functions.
12054 (python-mode): Set imenu-create-index-function to
12055 python-imenu-create-index.
12057 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12059 * winner.el (winner-active-region): Use region-active-p, activate-mark
12060 and deactivate-mark (bug#14225).
12062 * simple.el (deactivate-mark): Don't inline it.
12064 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12066 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12068 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12070 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12071 file extensions from the archive-mode entry in order to prefer
12072 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12074 2013-04-18 Leo Liu <sdl.web@gmail.com>
12076 * bindings.el (help-event-list): Add ?\?.
12078 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12080 * subr.el (with-wrapper-hook): Declare obsolete.
12081 * simple.el (filter-buffer-substring-function): New hook.
12082 (filter-buffer-substring): Use it.
12083 (filter-buffer-substring-functions): Mark obsolete.
12084 * minibuffer.el (completion-in-region-function): New hook.
12085 (completion-in-region): Use it.
12086 (completion-in-region-functions): Mark obsolete.
12087 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12088 * abbrev.el (abbrev-expand-function): New hook.
12089 (expand-abbrev): Use it.
12090 (abbrev-expand-functions): Mark obsolete.
12091 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12092 and :filter-return.
12094 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12096 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12097 and do not care about match data.
12099 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12101 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12102 completion tables when completing error conditions and
12103 `declare' arguments.
12104 (lisp-complete-symbol, field-complete): Mark as obsolete.
12105 (check-parens): Unmatched parens are user errors.
12106 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12108 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12110 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12111 command changed buffer (ie. `flyspell-pre-buffer' is not current
12112 buffer), which prevents making decisions based on invalid value of
12113 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12114 cause an error when `flyspell-pre-point' was nil after switching
12116 (flyspell-post-command-hook): No longer needs to change buffers when
12117 checking pre-word. While at it remove unnecessary progn.
12119 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12121 * textmodes/ispell.el (ispell-add-per-file-word-list):
12122 Fix `flyspell-correct-word-before-point' error when accepting
12123 words and `coment-padding' is an integer by using
12124 `comment-normalize-vars' (Bug #14214).
12126 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12128 New defun movement commands.
12129 * progmodes/python.el (python-nav--syntactically)
12130 (python-nav--forward-defun, python-nav-backward-defun)
12131 (python-nav-forward-defun): New functions.
12133 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12135 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12136 (python-syntax-context): Use named compiler-macro for backwards
12137 compatibility with Emacs 24.x.
12139 2013-04-17 Leo Liu <sdl.web@gmail.com>
12141 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12142 octave-hide-process-buffer.
12144 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12146 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12149 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12151 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12152 Fix adjustment of offset when receiving incomplete responses from GDB
12155 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12157 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12158 python-mode-abbrev-table.
12159 (python-skeleton-define): Adjust accordingly.
12160 (python-mode-abbrev-table): New table that inherits from it so that
12161 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12163 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12164 (abbrev-symbol): Use it.
12165 (abbrev--before-point): Use it since we already handle inheritance.
12167 2013-04-16 Leo Liu <sdl.web@gmail.com>
12169 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12170 binding to info-lookup-symbol.
12172 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12174 * minibuffer.el (completion--twq-all):
12175 * term/ns-win.el (ns-initialize-window-system):
12176 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12178 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12180 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12183 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12185 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12187 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12188 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12190 (ruby-end-of-defun): Remove the unused arg, change the docstring
12191 to reflect that this function is only used as the value of
12192 `end-of-defun-function'.
12193 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12194 to reflect an earlier change that beginning/end-of-defun functions
12195 jump between methods in a class definition, as well as top-level
12198 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12200 * minibuffer.el (minibuffer-complete): Don't just scroll
12201 a *Completions* that's been iconified.
12202 (minibuffer-force-complete): Make sure repetitions do cycle when going
12203 through completion-in-region -> minibuffer-complete.
12205 2013-04-15 Alan Mackenzie <acm@muc.de>
12207 Correct the placement of c-cpp-delimiters when there're #s not at
12210 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12211 place a submatch around the #.
12212 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12213 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12216 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12218 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12219 (advice--member-p): New arg `name'.
12220 (advice--add-function, advice-member-p): Use it (bug#14202).
12222 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12224 Reformulate java imenu-generic-expression.
12225 The old expression contained ill formed regexps.
12227 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12228 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12229 (cc-imenu-java-method-arg-regexp): New defconsts.
12230 (cc-imenu-java-build-type-args-regex): New defun.
12231 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12232 handling of spaces in the regexp.
12234 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12236 * textmodes/ispell.el (ispell-command-loop): Remove
12237 flyspell highlight of a word when ispell accepts it (bug #14178).
12239 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12241 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12242 uses code from the previous `ange-ftp-run-real-handler'.
12243 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12244 only in case that function exist. This is needed for proper
12245 unloading of Tramp.
12247 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12249 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12251 * textmodes/reftex.el (reftex-compile-variables): Use it.
12253 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12255 * files.el (normal-mode): Only use default major-mode if no other mode
12258 * emacs-lisp/trace.el (trace-values): New function.
12260 * files.el: Allow : in local variables (bug#14089).
12261 (hack-local-variable-regexp): New var.
12262 (hack-local-variables-prop-line, hack-local-variables): Use it.
12264 2013-04-13 Roland Winkler <winkler@gnu.org>
12266 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12267 data before it gets modified by bibtex-beginning-of-entry.
12269 2013-04-13 Roland Winkler <winkler@gnu.org>
12271 * textmodes/bibtex.el (bibtex-url): Doc fix.
12273 2013-04-13 Roland Winkler <winkler@gnu.org>
12275 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12276 does not visit a BibTeX file, exclude it from the list of buffers
12277 returned by bibtex-initialize.
12279 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12281 * window.el (split-window): Remove interactive form, since as a
12282 command this function is a special case of split-window-below.
12283 Correct doc string.
12285 2013-04-12 Roland Winkler <winkler@gnu.org>
12287 * faces.el (read-face-name): Do not override value of arg default.
12288 Allow single faces and strings as default values. Remove those
12289 elements from return value that are not faces.
12290 (describe-face): Simplify.
12291 (face-at-point): New optional args thing and multiple so that this
12292 function can provide the same functionality previously provided by
12294 (make-face-bold, make-face-unbold, make-face-italic)
12295 (make-face-unitalic, make-face-bold-italic, invert-face)
12296 (modify-face, read-face-and-attribute): Use face-at-point.
12298 * cus-edit.el (customize-face, customize-face-other-window)
12299 * cus-theme.el (custom-theme-add-face)
12300 * face-remap.el (buffer-face-set)
12301 * facemenu.el (facemenu-set-face): Use face-at-point.
12303 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12305 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12307 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12309 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12310 off leading { and trailing } from field values.
12312 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12314 * emacs-lisp/timer.el (timer--check): New function.
12315 (timer--time, timer-set-function, timer-event-handler): Use it.
12316 (timer-set-idle-time): Simplify.
12317 (timer--activate): CSE.
12318 (timer-event-handler): Give more info in error message.
12319 (internal-timer-start-idle): New function, moved from C.
12321 * mpc.el (mpc-proc): Add `restart' argument.
12322 (mpc-proc-cmd): Use it.
12323 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12324 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12327 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12329 * progmodes/sh-script.el: Implement `sh-mode' own
12330 `add-log-current-defun-function' (bug#14112).
12331 (sh-current-defun-name): New function.
12332 (sh-mode): Use the function.
12334 2013-04-09 Bastien Guerry <bzg@gnu.org>
12336 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12338 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12340 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12342 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12345 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12347 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12350 2013-04-07 Leo Liu <sdl.web@gmail.com>
12352 * pcmpl-x.el: New file.
12354 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12356 Do not set x-display-name until X connection is established.
12357 This is needed to prevent from weird situation described at
12358 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12359 * frame.el (make-frame): Set x-display-name after call to
12360 window system initialization function, not before.
12361 * term/x-win.el (x-initialize-window-system): Add optional
12362 display argument and use it.
12363 * term/w32-win.el (w32-initialize-window-system):
12364 * term/ns-win.el (ns-initialize-window-system):
12365 * term/pc-win.el (msdos-initialize-window-system):
12366 Add compatible optional display argument.
12368 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12370 * files.el (normal-backup-enable-predicate): On MS-Windows and
12371 MS-DOS compare truenames of temporary-file-directory and of the
12372 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12373 don't fail comparison by compare-strings. Also, compare file
12374 names case-insensitively on MS-Windows and MS-DOS.
12376 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12378 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12379 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12381 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12383 * whitespace.el (whitespace-color-on, whitespace-color-off):
12384 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12386 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12388 * ispell.el (ispell-set-spellchecker-params):
12389 Really set `ispell-args' for all equivs.
12391 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12393 * ido.el (ido-completions): Use extra elements of ido-decorations
12395 (ido-decorations): Update docstring.
12397 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12399 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12400 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12401 nil during initialization, in order not to miss changes since the
12402 file was opened. (Bug#14140)
12404 2013-04-05 Leo Liu <sdl.web@gmail.com>
12406 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12408 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12410 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12412 2013-04-04 Glenn Morris <rgm@gnu.org>
12414 * electric.el (electric-pair-inhibit-predicate): Add :version.
12416 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12418 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12419 when a package is required several times (bug#14082).
12421 2013-04-04 Roland Winkler <winkler@gnu.org>
12423 * faces.el (read-face-name): Behave as promised by the docstring.
12424 Assume that arg default is a list of faces.
12425 (describe-face): Call read-face-name with list of default faces.
12427 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12429 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12430 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12431 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12433 (bookmark-exit-hook-internal): Save even if list is empty.
12435 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12437 * emacs-lisp/package.el (package-pinned-packages): New var.
12438 (package--add-to-archive-contents): Obey it (bug#14118).
12440 2013-04-03 Alan Mackenzie <acm@muc.de>
12442 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12443 Also adapt to the new values of element 7 of a parse state.
12445 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12446 parameter `not-in-delimiter'. Handle being inside comment opener.
12447 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12448 character in case we're typing a '*' after a '/'.
12449 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12450 instead by passing the parameter to c-state-pp-to-literal.
12452 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12453 for elt. 7 of a parse state.
12455 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12457 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12458 * international/latin1-disp.el, international/mule-util.el:
12459 * language/cyril-util.el, language/european.el, language/ind-util.el:
12460 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12461 * language/tibetan.el, language/viet-util.el:
12462 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12464 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12466 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12467 (electric-pair-post-self-insert-function): Use it.
12468 (electric-pair-default-inhibit): New function, extracted from
12469 electric-pair-post-self-insert-function.
12471 2013-03-31 Roland Winkler <winkler@gnu.org>
12473 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12475 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12479 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12481 Un-indent after "pass" and "return" statements (Bug#13888)
12482 * progmodes/python.el (python-indent-block-enders): New var.
12483 (python-indent-calculate-indentation): Use it.
12485 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12487 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12488 defun. Defining it as defalias could introduce too eager
12489 byte-compiler optimization. (Bug#14030)
12491 2013-03-30 Chong Yidong <cyd@gnu.org>
12493 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12495 2013-03-30 Leo Liu <sdl.web@gmail.com>
12497 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12498 (kmacro-execute-from-register): Pass the keyboard macro to
12499 kmacro-call-macro or repeating won't work correctly.
12501 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12503 * progmodes/subword.el: Back to using `forward-symbol'.
12505 * subr.el (forward-whitespace, forward-symbol)
12506 (forward-same-syntax): Move from thingatpt.el.
12508 2013-03-29 Leo Liu <sdl.web@gmail.com>
12510 * kmacro.el (kmacro-to-register): New command.
12511 (kmacro-execute-from-register): New function.
12512 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12514 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12516 * mpc.el: Use defvar-local and setq-local.
12517 (mpc--proc-connect): Connection failures are not bugs.
12518 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12519 (mpc-volume-map): Bind to the up-events.
12521 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12523 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12524 instead of `forward-symbol'.
12526 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12528 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12529 (edebug--recursive-edit): Use it.
12530 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12531 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12533 2013-03-28 Leo Liu <sdl.web@gmail.com>
12535 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12537 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12539 * facemenu.el (list-colors-callback): New defvar.
12540 (list-colors-redisplay): New function.
12541 (list-colors-display): Install list-colors-redisplay as the
12542 revert-buffer-function. (Bug#14063)
12544 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12546 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12547 and suffixes don't overlap (bug#14061).
12549 * case-table.el: Use lexical-binding.
12550 (case-table-get-table): New function.
12551 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12553 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12555 * progmodes/subword.el: Add `superword-mode' to do word motion
12556 over symbol_words (parallels and leverages `subword-mode' which
12557 does word motion inside MixedCaseWords).
12559 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12561 * eshell/em-unix.el: Move su and sudo to...
12562 * eshell/em-tramp.el: ...Eshell tramp module.
12564 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12566 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12567 Change return value to be a sexp. Delay `get-buffer' to after
12568 restoring the desktop (bug#13951).
12570 2013-03-26 Leo Liu <sdl.web@gmail.com>
12572 * register.el: Move semantic tag handling back to
12573 cedet/semantic/senator.el. (Bug#14052)
12575 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12578 into the prompt either (bug#13963).
12580 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12582 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12583 part of "(error-foo)".
12585 2013-03-24 Juri Linkov <juri@jurta.org>
12587 * replace.el (list-matching-lines-prefix-face): New defcustom.
12588 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12589 `occur-engine' if `face-differs-from-default-p' returns t.
12590 (occur-engine): Add `,' inside backquote construct to evaluate
12591 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12592 Pass `prefix-face' to the functions `occur-context-lines' and
12593 `occur-engine-add-prefix'.
12594 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12595 `prefix-face' and propertize the prefix with `prefix-face'.
12598 2013-03-24 Leo Liu <sdl.web@gmail.com>
12600 * nxml/rng-valid.el (rng-validate-while-idle)
12601 (rng-validate-quick-while-idle): Guard against deleted buffer.
12604 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12605 is the last entry in kill-buffer-hook.
12607 * files.el (kill-buffer-hook): Doc fix.
12609 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12611 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12612 Make it safe-local.
12614 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12616 2013-03-23 Leo Liu <sdl.web@gmail.com>
12618 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12621 * nxml/rng-valid.el (rng-validate-mode)
12622 (rng-after-change-function, rng-do-some-validation):
12623 * nxml/rng-maint.el (rng-validate-buffer):
12624 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12625 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12626 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12627 (nxml-extend-after-change-region): Use with-silent-modifications.
12629 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12632 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12633 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12634 timer-idle-list. (Bug#13999)
12636 2013-03-23 Juri Linkov <juri@jurta.org>
12638 * info.el (info-index-match): New face.
12639 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12640 main pattern and add text properties with the new face to matches
12641 in index entries relative to the beginning of the index entry.
12644 2013-03-21 Eric Ludlam <zappo@gnu.org>
12646 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12647 Inhibit read only while inserting objects.
12649 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12651 * progmodes/cfengine.el: Update docs to mention
12652 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12653 symbol motion. Remove "_" from the word syntax.
12655 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12657 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12658 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12660 2013-03-20 Juri Linkov <juri@jurta.org>
12662 * info.el (Info-next-reference-or-link)
12663 (Info-prev-reference-or-link): New functions.
12664 (Info-next-reference, Info-prev-reference): Use them.
12665 (Info-try-follow-nearest-node): Handle footnote navigation.
12666 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12668 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12670 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12671 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12673 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12675 Suppress unnecessary non-ASCII chatter during build process.
12676 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12677 (batch-skkdic-convert): Suppress most of the chatter.
12678 It's not needed so much now that machines are faster,
12679 and its non-ASCII component was confusing; see Dmitry Gutov in
12680 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12682 2013-03-20 Leo Liu <sdl.web@gmail.com>
12684 * ido.el (ido-chop): Fix bug#10994.
12686 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12688 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12690 (whitespace-color-on, whitespace-color-off):
12691 Use `font-lock-fontify-buffer' (Bug#13817).
12693 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12695 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12696 remapping in mode-line.
12697 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12699 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12701 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12702 value for `whitespace-line' face (Bug#13875).
12703 (whitespace-font-lock-keywords): Change description.
12704 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12705 the constructed keywords instead.
12706 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12708 2013-03-19 Leo Liu <sdl.web@gmail.com>
12710 * progmodes/compile.el (compilation-display-error): New command.
12711 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12714 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12716 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12718 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12720 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12722 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12724 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12726 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12727 * net/tramp-gvfs.el (top):
12728 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12729 (tramp-handle-shell-command): Use it.
12730 (tramp-dissect-file-name): Raise an error when hostname is a
12731 method name, and neither method nor user is specified.
12733 * net/trampver.el: Update release number.
12735 2013-03-18 Leo Liu <sdl.web@gmail.com>
12737 Make sure eldoc can be turned off properly.
12738 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12740 (eldoc-display-message-p): Revert last change.
12741 (eldoc-display-message-no-interference-p)
12742 (eldoc-print-current-symbol-info): Tweak.
12744 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12746 * doc-view.el (doc-view-new-window-function): Check the new window
12747 overlay's display property instead the char property of the
12748 buffer's first char. Use `with-selected-window' instead of
12749 `save-window-excursion' with `select-window'.
12750 (doc-view-document->bitmap): Check the current doc-view overlay's
12751 display property instead the char property of the buffer's first char.
12753 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12755 Automate the build of ja-dic.el (Bug#13984).
12756 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12757 from the input, rather than assume that it's been done for us by the
12758 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12759 the current date into a ja-dic.el comment, as that complicates
12760 regression testing.
12762 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12764 * whitespace.el: Fix double evaluation.
12765 (whitespace-space, whitespace-hspace, whitespace-tab)
12766 (whitespace-newline, whitespace-trailing, whitespace-line)
12767 (whitespace-space-before-tab, whitespace-indentation)
12768 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12770 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12771 (whitespace-color-on): Use a single font-lock-add-keywords call.
12772 Fix double-evaluation of face variables.
12774 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12776 * net/tramp-adb.el (tramp-adb-parse-device-names):
12777 Use `start-process' instead of `call-process'. Otherwise, the
12778 function might be blocked under MS Windows. (Bug#13299)
12780 2013-03-17 Leo Liu <sdl.web@gmail.com>
12782 Extend eldoc to display info in the mode-line. (Bug#13978)
12783 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12784 (eldoc-mode-line-string): New variable.
12785 (eldoc-minibuffer-message): New function.
12786 (eldoc-message-function): New variable.
12787 (eldoc-message): Use it.
12788 (eldoc-display-message-p)
12789 (eldoc-display-message-no-interference-p):
12790 Support eldoc-post-insert-mode.
12792 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12793 (eval-expression): Run it.
12795 2013-03-17 Roland Winkler <winkler@gnu.org>
12797 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12798 strings in the list of return values.
12800 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12802 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12803 radix before checking for HMS forms.
12805 2013-03-16 Leo Liu <sdl.web@gmail.com>
12807 * progmodes/scheme.el: Add indentation and font-locking for λ.
12810 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12812 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12813 token before point (bug#13942).
12815 2013-03-16 Leo Liu <sdl.web@gmail.com>
12817 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12819 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12821 * startup.el (command-line-normalize-file-name): Fix handling of
12822 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12823 <xfq.free@gmail.com> in
12824 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12826 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12828 Sync with Tramp 2.2.7.
12830 * net/trampver.el: Update release number.
12832 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12834 * doc-view.el: Fix bug#13887.
12835 (doc-view-insert-image): Don't modify overlay associated to
12836 non-live windows, and implement horizontal centering of image in
12837 case it's smaller than the window.
12838 (doc-view-new-window-function): Force redisplay of new windows on
12841 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12843 * saveplace.el (save-place-alist-to-file): Don't sort
12844 `save-place-alist', just pretty-print it (bug#13882).
12846 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12848 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12849 Check whether `default-file-name-coding-system' is bound.
12850 It isn't in XEmacs.
12852 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12854 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12855 backquotes for `obsolete' (bug#13929).
12857 * international/mule.el (find-auto-coding): Include file name in
12858 obsolescence warning (bug#13922).
12860 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12862 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12863 for CFEngine 3-specific indentation.
12864 (cfengine3-indent-line): Use it. Fix up category regex.
12865 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12867 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12869 * type-break.el (type-break-file-name):
12870 * textmodes/remember.el (remember-data-file):
12871 * strokes.el (strokes-file):
12872 * shadowfile.el (shadow-initialize):
12873 * saveplace.el (save-place-file):
12874 * ps-bdf.el (bdf-cache-file):
12875 * progmodes/idlwave.el (idlwave-config-directory):
12876 * net/quickurl.el (quickurl-url-file):
12877 * international/kkc.el (kkc-init-file-name):
12878 * ido.el (ido-save-directory-list-file):
12879 * emulation/viper.el (viper-custom-file-name):
12880 * emulation/vip.el (vip-startup-file):
12881 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12882 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12884 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12886 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12887 * language/thai-word.el: Switch to UTF-8.
12889 See ChangeLog.16 for earlier changes.
12891 ;; Local Variables:
12895 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12897 This file is part of GNU Emacs.
12899 GNU Emacs is free software: you can redistribute it and/or modify
12900 it under the terms of the GNU General Public License as published by
12901 the Free Software Foundation, either version 3 of the License, or
12902 (at your option) any later version.
12904 GNU Emacs is distributed in the hope that it will be useful,
12905 but WITHOUT ANY WARRANTY; without even the implied warranty of
12906 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12907 GNU General Public License for more details.
12909 You should have received a copy of the GNU General Public License
12910 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.