1 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
8 * net/eww.el (eww-download-callback):
9 Fix reference to eww-download-directory.
11 * emacs-lisp/bytecomp.el (byte-compile-file):
12 Remove unused local variable `file-name'.
14 2014-01-24 Glenn Morris <rgm@gnu.org>
16 * woman.el (woman-default-faces, woman-monochrome-faces):
17 Fix obsolescence specification.
19 * subr.el (with-demoted-errors): Doc fix.
21 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
23 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
24 (cl--macroexp-fboundp): New function.
25 (cl--make-type-test): Use it.
27 2014-01-23 Glenn Morris <rgm@gnu.org>
29 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
30 * simple.el (eval-expression): Doc fixes.
32 2014-01-22 Glenn Morris <rgm@gnu.org>
34 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
36 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
38 * emacs-lisp/package.el: Write files silently.
39 (package-autoload-ensure-default-file, package--write-file-no-coding)
40 (package-generate-description-file, package--download-one-archive)
41 (package-install-from-archive): Tell `write-region' to stay quiet.
42 (package-menu-mode, package-menu--print-info): Omit the Archive column
43 if there's only one archive.
44 (package-all-keywords, package--has-keyword-p): Remove dead code.
46 2014-01-22 Glenn Morris <rgm@gnu.org>
48 * version.el (emacs-bzr-version-bzr): Fix typo.
50 * version.el (emacs-repository-get-version):
51 Check either .bzr or .git, but not both.
52 Make the git case actually use the DIR argument, and return nil
53 rather than the empty string.
54 Avoid error if .git exists but the git executable is not found.
56 2014-01-22 Martin Rudalics <rudalics@gmx.at>
58 Fixes in window size functions around Bug#16430 and Bug#16470.
59 * window.el (window-total-size, window-size): New argument ROUND.
60 (window--min-delta-1, window-min-delta, window--max-delta-1):
61 Be more conservative when calculating the numbers of lines or
62 columns a window can shrink (Bug#16430).
63 (fit-window-to-buffer): Simplify code.
64 * term.el (term-window-width): Call window-body-width again.
66 2014-01-22 Glenn Morris <rgm@gnu.org>
68 * image.el (image-format-suffixes): Doc fix.
70 * international/quail.el (quail-define-package): Doc fix.
72 * emacs-lisp/authors.el (authors-valid-file-names):
73 (authors-renamed-files-alist): Additions.
75 * vc/vc-git.el (vc-git-print-log): Remove --follow;
76 reverts 2014-01-09 change. (Bug#16422)
78 * calc/calc-embed.el (thing-at-point-looking-at):
79 * emacs-lisp/map-ynp.el (x-popup-dialog):
80 * obsolete/lmenu.el (x-popup-dialog):
81 * emacs-lisp/package.el (url-recreate-url):
82 * mail/mailclient.el (clipboard-kill-ring-save):
83 * subr.el (x-popup-dialog): Update declaration.
84 * mail/rmail.el (rmail-mime-message-p):
85 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
87 2014-01-21 Daniel Colascione <dancol@dancol.org>
89 * progmodes/sh-script.el (sh--inside-noncommand-expression):
90 Correctly detect when we're inside an arithmetic expansion form
91 containing nested parenthesis.
92 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
93 to detect cases where we shouldn't expand "<<" to a heredoc
96 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
98 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
99 (eldoc--message-command-p): New function.
100 (eldoc-display-message-p): Use it.
101 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
102 message is not automatically erased for us.
103 (eldoc-print-current-symbol-info): Erase previous message, if any.
105 2014-01-21 Tassilo Horn <tsdh@gnu.org>
107 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
108 specify it's an interactive function.
110 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
111 Fix regex used for scanning for citation keys which failed for
112 citations with optional arguments.
114 2014-01-21 Leo Liu <sdl.web@gmail.com>
116 * simple.el (read--expression): Don't enable eldoc-mode.
118 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
120 * simple.el (move-beginning-of-line): Make sure we don't move forward
123 2014-01-20 Juri Linkov <juri@jurta.org>
125 * saveplace.el (toggle-save-place, save-place-to-alist)
126 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
127 'dired-mode) before checking for dired-directory. (Bug#16477)
129 2014-01-20 Juri Linkov <juri@jurta.org>
131 * indent.el (indent-line-to): Use backward-to-indentation
132 instead of back-to-indentation. (Bug#16461)
134 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
136 Revert some of the CANNOT_DUMP fix (Bug#16494).
137 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
138 but fixing this can wait until after the next release.
139 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
141 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
143 * eshell/esh-mode.el (eshell-password-prompt-regexp):
144 Use `password-word-equivalents'.
145 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
146 to t. (Bug#5664, Bug#13124)
148 2014-01-19 Alan Mackenzie <acm@muc.de>
150 Bind open-paren-in-column-0-is-defun-start to nil at some entry
152 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
153 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
154 * progmodes/cc-mode.el (c-before-change, c-after-change)
155 (c-font-lock-fontify-region): Bind it here.
157 2014-01-19 Martin Rudalics <rudalics@gmx.at>
159 * term.el (term-window-width): Call window-text-width instead of
160 window-width (Bug#16470).
162 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
164 * simple.el (password-word-equivalents): Remove duplicates.
165 Sort, to make this easier next time.
166 Downcase. Omit ": " after "jelszó".
168 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
170 * term/common-win.el (saved-region-selection): Defvar it.
171 (x-select-text): Set saved-region-selection (Bug#16382).
173 2014-01-18 Glenn Morris <rgm@gnu.org>
175 * emacs-lisp/authors.el (authors-aliases)
176 (authors-renamed-files-alist): Add some entries.
178 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
180 * net/tramp.el (tramp-password-prompt-regexp):
181 Use `password-word-equivalents' if available.
182 (tramp-action-password, tramp-process-one-action)
183 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
185 2014-01-17 Chong Yidong <cyd@gnu.org>
187 * simple.el (password-word-equivalents): New defcustom.
188 * comint.el (comint-password-prompt-regexp): Use it. Bump version
190 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
193 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
195 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
196 (ruby-align-to-stmt-keywords): Change the default value.
197 Use `ruby-alignable-keywords' to generate the possible customization
199 (ruby-smie-rules): Instead of using a hardcoded list of alignable
200 keywords, check against the value of `ruby-alignable-keywords'
201 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
203 2014-01-17 Glenn Morris <rgm@gnu.org>
205 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
207 Make M-x authors return zero *Authors Errors* from current logs.
208 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
209 (authors-ignored-files): Add some entries, remove others.
210 (authors-ambiguous-files, authors-valid-file-names):
212 (authors-renamed-files-alist): Add, remove, and adjust entries.
213 (authors-renamed-files-regexps): Add some entries.
214 Remove some very broad ones. Make some entries `lax'.
215 (authors-lax-changelogs): New constant.
216 (authors-disambiguate-file-name): Treat top-level specially.
217 (authors-lax-changelog-p): New function.
218 (authors-canonical-file-name): Check file as written against
219 authors-valid-file-names. Do not special-case etc/.
220 Handle `lax' logs and authors-renamed-files-regexps elements.
222 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
224 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
225 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
228 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
230 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
231 Assume we're already in the proper buffer.
232 Inspired by Anders Lindgren <andlind@gmail.com>.
233 (follow-post-command-hook): Call it from the right buffer.
234 (follow-comint-scroll-to-bottom): Adjust call.
235 (follow-all-followers): Use get-buffer-window-list.
237 2014-01-15 Daniel Colascione <dancol@dancol.org>
239 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
240 `buffer-file-name' in interactive-form so that we don't leave
241 pathless file names in `file-name-history'.
243 2014-01-15 Juri Linkov <juri@jurta.org>
245 * indent.el (indent-rigidly): Set deactivate-mark to nil
246 in transient indentation mode. (Bug#16438)
248 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
250 * emacs-lisp/package.el (package-desc-keywords): New function
252 (describe-package-1, package-all-keywords)
253 (package--has-keyword-p): Use it.
255 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
257 * simple.el (define-alternatives): When creating the
258 COMMAND-alternatives variable, assign COMMAND as its definition
259 name so that `describe-variable' can relocate it.
261 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
263 * font-lock.el (font-lock-keywords): Fix typo in docstring
266 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
268 * ispell.el (ispell-region): Reset `in-comment' for new line
269 instead of wrongly reset `add-coment' (bug#13577).
271 2014-01-14 Daiki Ueno <ueno@gnu.org>
273 * epa-file.el (epa-file-write-region): Encode the region according
274 to `buffer-file-format'. Problem reported at:
275 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
277 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
279 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
280 so it applies in the right buffer (bug#16410).
282 2014-01-13 Daniel Colascione <dancol@dancol.org>
284 * textmodes/rst.el (rst-define-key): Provide deprecated
285 keybindings through named functions instead of anonymous ones so
286 that "??" doesn't appear in describe-mode output.
288 2014-01-13 Bastien Guerry <bzg@gnu.org>
290 * simple.el (define-alternatives): Call the selected command
291 interactively. When setting `COMMAND--implementation' for the
292 first time, tell the user how to chose another implementation.
293 Enhance the docstring.
295 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
297 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
298 (log-edit--match-first-line): New function.
299 (log-edit-font-lock-keywords): Use it.
300 (log-edit-mode): Make jit-lock-defer-multiline work.
302 2014-01-13 Bastien Guerry <bzg@gnu.org>
304 * rect.el (rectangle-mark-mode): When the region is not active,
305 display a message saying that the mark as been set and that
306 rectangle mode is in use.
307 (rectangle--highlight-for-redisplay): Only put an overlay with a
308 visible vertical bar when (display-graphic-p) is non-nil.
309 This partially fixes Bug#16403.
311 2014-01-13 Juri Linkov <juri@jurta.org>
313 * info.el (Info-find-file): Go to DIR before displaying the error
314 about a nonexistent file if no previous Info file is visited.
315 Use `user-error' instead of `error' for "Info file %s does not exist".
316 (Info-find-node-2): In case of a nonexistent node in unwind forms
317 go to the Top node if there is no previous node to revert to.
320 2014-01-13 Martin Rudalics <rudalics@gmx.at>
322 fit-frame/window-to-buffer code fixes including one for Bug#14096.
323 * window.el (fit-frame-to-buffer): Fix doc-string.
324 Respect window-min-height/-width. Fit pixelwise when
325 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
326 when avoiding that frame goes partially off-screen.
327 (fit-window-to-buffer): Respect window-min-height/-width
330 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
332 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
335 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
337 * net/shr.el (shr-render-region): Autoload.
339 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
341 * net/eww.el (eww-download-directory): Rename from
342 `eww-download-path' (Bug#16419).
344 2014-01-12 Leo Liu <sdl.web@gmail.com>
346 * dired-x.el (dired-mode-map): Fix last change.
348 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
350 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
353 * emacs-lisp/generic.el (generic--normalize-comments):
354 Rename from generic--normalise-comments. All uses changed.
355 * play/bubbles.el (bubbles--neighborhood-score):
356 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
357 (bubbles--neighborhood-available)
358 (bubbles--update-neighborhood-score):
359 Rename from names with 'neighbourhood'. All uses changed.
361 2014-01-12 Leo Liu <sdl.web@gmail.com>
363 Re-implement the feature of showing eldoc info after editing.
364 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
365 (eldoc-edit-message-commands): New function.
366 (eldoc-print-after-edit): New variable.
367 (eldoc-pre-command-refresh-echo-area): Emit message only by
368 eldoc-message-commands.
369 (eldoc-mode): Restrict eldoc-message-commands to editing commands
370 if eldoc-print-after-edit is set. (Bug#16346)
371 * simple.el (read--expression): Enable eldoc-mode.
372 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
374 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
375 Eric S. Raymond <esr@thyrsus.com>
377 * version.el (emacs-repository-get-version): Enhance so the
378 function works correctly in either a Bazaar or Git repo.
380 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
382 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
383 Goes with removal of the joke manpages from /etc.
385 2014-01-10 K. Handa <handa@gnu.org>
387 * mail/rmail.el (rmail-get-coding-system):
388 Check rmail-get-coding-function before "funcall"ing it.
390 2014-01-10 Glenn Morris <rgm@gnu.org>
392 * emacs-lisp/authors.el (authors-fixed-entries):
393 Update for files that no longer exist.
395 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
397 * version.el (emacs-bzr-get-version): Restore compatibilty with
400 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
402 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
405 2014-01-10 Eli Zaretskii <eliz@gnu.org>
407 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
409 2014-01-10 Chong Yidong <cyd@gnu.org>
411 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
413 2014-01-10 Anders Lindgren <andlind@gmail.com>
415 * follow.el (follow-cache-command-list): Include right-char and
418 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
421 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
422 * woman.el (woman-mark-horizontal-position):
423 Rename from woman-mark-horizonal-position. Use changed.
425 2014-01-10 Glenn Morris <rgm@gnu.org>
427 * info.el (info-initialize): If running uninstalled, ensure our
428 own info files are always found first, even if INFOPATH is set.
430 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
432 2014-01-09 David Engster <deng@randomsample.de>
434 * emacs-lisp/eieio-custom.el:
435 * emacs-lisp/eieio-opt.el: Set generated autoload file to
436 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
437 * emacs-lisp/eieio.el: Regenerate autoloads.
439 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
441 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
442 following renames. (Bug#8756)
444 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
446 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
448 (activate-mark): Add `no-tmm' argument.
449 (set-mark, push-mark-command): Use it instead of running
450 activate-mark-hook by hand.
452 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
454 In preparation for the move to git, sanitize out some
455 Bazaar-specific names.
457 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
459 * version.el (emacs-bzr-version): Name changed to
460 emacs-repository-version. Obsolete-variable alias made.
461 * loadup.el: Follow through on this name change.
462 * mail/emacsbug.el (report-emacs-bug): Factor out any
463 assumption about the version control system in use.
465 2014-01-08 David Engster <deng@randomsample.de>
467 * help-fns.el (help-fns-describe-function-functions):
468 New variable to call functions for augmenting help buffers.
469 (describe-function-1): Remove explicit calls to
470 `help-fns--compiler-macro', `help-fns--parent-mode' and
471 `help-fns--obsolete'. Put them in above new variable instead, and
472 call them through `run-hook-with-args'.
473 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
474 `eieio-describe-class'. Not meant for interactive use anymore,
475 but to augment existing help buffers. Remove optional second
476 argument. Create proper button for file location.
477 Rewrite function to use `insert' instead of `princ' and `prin1' where
479 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
480 (eieio-method-def, eieio-class-def): Move further up.
481 (describe-method, describe-generic, eieio-describe-method):
483 (eieio-help-constructor, eieio-help-generic): Rename from
484 `eieio-describe-constructor' and `eieio-describe-generic', resp.
485 Rewrite to use `insert' in the current buffer and use proper help
487 (eieio-help-find-method-definition)
488 (eieio-help-find-class-definition): Also accept symbols as
490 (eieio-help-mode-augmentation-maybee): Remove.
491 (eieio-describe-class-sb): Use `describe-function'.
492 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
493 Add `eieio-help-generic' and `eieio-help-constructor'.
495 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
498 * language/china-util.el (hz-ascii-designation):
499 Rename from hz-ascii-designnation.
500 (hz-ascii-designation): Rename from hz-ascii-designnation.
503 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
505 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
508 2014-01-08 Bastien Guerry <bzg@gnu.org>
510 * emacs-lisp/package.el (package-delete):
511 Correctly delete the package from package-alist.
513 2014-01-08 Daiki Ueno <ueno@gnu.org>
515 * emacs-lisp/package.el (url-recreate-url): Declare.
516 (url-http-target-url): Declare.
517 (package-handle-response): Include requested URL in the error message.
518 (package--check-signature): Don't re-signal errors from
519 package--with-work-buffer. Suggested by Stefan Monnier.
521 2014-01-07 Bastien Guerry <bzg@gnu.org>
523 * minibuffer.el (completion--try-word-completion): When both a
524 hyphen and a space are possible candidates for the character
525 following a word, display both candidates. (Bug#15980)
527 2014-01-07 Martin Rudalics <rudalics@gmx.at>
529 * window.el (balance-windows-2): While rounding don't give a
530 window more than the remainder. Bug#16351, Bug#16383.
532 2014-01-07 Glenn Morris <rgm@gnu.org>
534 * menu-bar.el (menu-bar-help-extra-packages): Remove.
535 (menu-bar-help-menu): Use view-external-packages instead.
537 2014-01-07 Bastien Guerry <bzg@gnu.org>
539 * emacs-lisp/package.el (package-delete): Also delete the package
540 name from `package-alist', not its description only.
542 2014-01-07 Glenn Morris <rgm@gnu.org>
544 * help.el (view-external-packages):
545 * menu-bar.el (menu-bar-help-extra-packages):
546 Visit efaq.info rather than etc/MORE.STUFF.
548 2014-01-07 Juri Linkov <juri@jurta.org>
550 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
551 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
553 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
554 that shadows RET. (Bug#16342)
556 2014-01-07 Chong Yidong <cyd@gnu.org>
558 * isearch.el (isearch-yank-char, isearch-yank-word)
559 (isearch-yank-line): Doc fix.
561 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
563 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
564 * emacs-lisp/elint.el (elint-find-builtins):
565 * emacs-lisp/eldoc.el (eldoc-symbol-function):
566 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
567 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
568 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
569 * apropos.el (apropos-safe-documentation):
570 * subr.el (symbol-file): Remove redundant fboundp.
571 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
573 2014-01-06 Bastien Guerry <bzg@gnu.org>
575 * hl-line.el (global-hl-line-overlay): Make a local variable.
576 (global-hl-line-overlays): New variable to store all overlays.
577 (global-hl-line-mode): Don't delete overlays from the current
578 buffer when `global-hl-line-sticky-flag' is non-nil.
579 (global-hl-line-highlight): Add new overlays to
580 `global-hl-line-overlays'.
581 (global-hl-line-unhighlight-all): New function to delete all
582 overlays when turning off `global-hl-line-mode'.
583 This fixes Bug#16183.
585 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
587 * subr.el (set-transient-map): Fix nested case and docstring.
589 2014-01-06 Tassilo Horn <tsdh@gnu.org>
591 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
594 2014-01-06 Daniel Colascione <dancol@dancol.org>
596 Fix defun navigation in vc log view.
598 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
599 like `beginning-of-defun'.
600 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
601 log-view-end-of-defun to log-view-end-of-defun-1. Replace
602 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
603 (log-view-extract-comment): Call `log-view-current-entry' directly
604 instead of relying on broken `log-view-beginning-of-defun' behavior.
606 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
609 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
610 * emacs-lisp/debug.el (cancel-debug-on-entry):
611 * epg.el (epg-error-to-string):
612 * files.el (recover-file):
613 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
614 * mail/emacsbug.el (report-emacs-bug-hook):
615 * mail/sendmail.el (mail-recover):
616 * ses.el (ses-yank-resize):
617 * term/ns-win.el (ns-print-buffer):
618 Spelling fixes in diagnostics, mostly for "canceled" with one L.
619 * epg.el (epg-key-capability-alist): Rename from misspelled version.
621 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
623 2014-01-06 Leo Liu <sdl.web@gmail.com>
625 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
626 to avoid shadowing global key. (Bug#16354)
628 2014-01-06 Daniel Colascione <dancol@dancol.org>
630 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
633 2014-01-05 Martin Rudalics <rudalics@gmx.at>
635 * window.el (balance-windows): Add mising t to fix Bug#16351.
637 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
639 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
641 (shr-insert): If we have a word that's longer than `shr-width',
642 break after it anyway. Otherwise we'll do no breaking once we get
645 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
647 * net/eww.el (eww): Support single/double quote for search.
648 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
649 (eww-history-quit): Delete and use quit-window.
650 (eww-history-kill): Delete, because it doesn't work well and
652 (eww-history-mode-map): Delete some keys and add easy-menu.
654 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
656 Fix misspelling of 'chinese' in rx (Bug#16237).
657 * emacs-lisp/rx.el (rx-categories): Correct spelling of
660 Change subword regexps back to vars (Bug#16296).
661 * progmodes/subword.el (subword-forward-regexp)
662 (subword-backward-regexp): Change these back to variables.
664 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
666 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
667 syntax-begin-function (bug#16247).
669 2014-01-03 Chong Yidong <cyd@gnu.org>
671 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
672 (advice--docstring): Delete variable.
673 (advice--make-1): Leave the docstring empty.
674 (advice-add): Use function-documentation for advised docstring.
676 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
677 Ignore function-documentation property when getting documentation.
678 (ad-activate-advised-definition): Use function-documentation
679 generate the docstring.
680 (ad-make-advised-definition): Don't call
681 ad-make-advised-definition-docstring.
682 (ad-make-advised-definition-docstring, ad-advised-definition-p):
685 * progmodes/sql.el (sql-help): Use function-documentation instead
686 of dynamic-docstring-function property. No need to autoload now.
687 (sql--help-docstring): New variable.
688 (sql--make-help-docstring): Use it.
690 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
692 * ielm.el (ielm-tab): Retarget.
693 (ielm-map): Use ielm-tab for tab.
694 (ielm-complete-filename): Use comint-filename-completion.
695 (ielm-complete-symbol): Remove.
696 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
697 remove ielm-tab from completion-at-point-functions (bug#16224).
699 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
700 Beware signals raised by predicates (bug#16201).
702 2014-01-02 Richard Stallman <rms@gnu.org>
704 * dired-aux.el (dired-do-print): Handle printer-name.
706 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
707 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
708 (rmail-epa-decrypt): Turn off mime processing.
710 * mail/rmail.el (rmail-make-in-reply-to-field):
711 Add parens in message-id.
713 * mail/rmail.el (rmail-get-coding-function): Variable.
714 (rmail-get-coding-system): Use it.
716 2013-12-31 Eli Zaretskii <eliz@gnu.org>
718 * international/mule-conf.el: Unify the charset indian-is13194.
719 (indian-is13194): Specify unify-map.
721 2013-12-31 Leo Liu <sdl.web@gmail.com>
723 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
725 2013-12-30 Daniel Colascione <dancol@dancol.org>
727 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
728 of printing a useless when we resume from sleep.
730 * progmodes/sh-script.el
731 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
732 in indentation code. (Bug#16233)
734 2013-12-28 João Távora <joaotavora@gmail.com>
736 * elec-pair.el (electric-pair-post-self-insert-function):
737 Don't open extra newlines at beginning of buffer. (Bug#16272)
739 2013-12-28 Eli Zaretskii <eliz@gnu.org>
741 * frame.el (window-system-for-display): Don't allow to create a
742 GUI frame from a -nw session on MS-Windows. (Bug#14739)
744 2013-12-28 Glenn Morris <rgm@gnu.org>
746 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
749 * apropos.el (apropos-match-face):
750 * calculator.el (calculator-displayer):
751 * dabbrev.el (dabbrev-search-these-buffers-only):
752 * face-remap.el (buffer-face-mode-face):
753 * simple.el (yank-handled-properties):
754 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
755 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
756 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
757 (hashcash-double-spend-database):
758 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
759 (ruby-deep-indent-paren-style):
760 * textmodes/flyspell.el (flyspell-auto-correct-binding):
761 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
762 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
763 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
764 Specify custom types.
766 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
767 * bookmark.el (bookmark-bmenu-use-header-line):
768 * doc-view.el (doc-view-scale-internally):
769 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
770 * register.el (register-preview-delay):
771 * net/shr.el (shr-bullet):
772 * progmodes/cfengine.el (cfengine-cf-promises)
773 (cfengine-parameters-indent):
774 * progmodes/octave.el (inferior-octave-error-regexp-alist):
775 * textmodes/reftex-vars.el (reftex-label-regexps):
776 * vc/log-edit.el (log-edit-setup-add-author): Add version.
778 * net/tls.el (tls-certtool-program): Fix default value.
780 * desktop.el (desktop-restore-in-current-display):
781 * newcomment.el (comment-empty-lines):
782 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
783 (idlwave-pad-keyword):
784 * progmodes/tcl.el (tcl-tab-always-indent):
785 * textmodes/reftex-vars.el (reftex-index-default-tag):
786 * elec-pair.el (electric-pair-skip-whitespace):
787 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
789 * emacs-lisp/authors.el (authors-ignored-files)
790 (authors-valid-file-names, authors-renamed-files-alist): Additions.
792 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
794 * shell.el (shell-dynamic-complete-command): Doc fix.
795 (shell--command-completion-data): Shell completion now matches
796 executable filenames from the current buffer's directory, on
797 systems in which this behavior is the default (windows-nt, ms-dos).
799 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
801 * net/shr.el (shr-insert): Don't infloop if the width is zero.
803 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
805 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
808 * electric.el: Move all electric-pair-* to elec-pair.el.
809 * elec-pair.el: New file, split from electric.el.
811 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
813 * net/shr.el (shr-find-fill-point): Don't try to fill if the
814 indentation level is larger than the width, because that will
816 (shr-insert): Fill repeatedly long texts, so that Japanese is
817 formatted correctly (bug#16263).
818 (shr-find-fill-point): Off by one error in comparison with the
821 2013-12-26 João Távora <joaotavora@gmail.com>
823 * electric.el (electric-pair-mode): More flexible engine for skip-
824 and inhibit predicates, new options for pairing-related functionality.
825 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
826 if that keeps or improves their balance in buffers.
827 (electric-pair-delete-adjacent-pairs): Delete the pair when
828 backspacing over adjacent matched delimiters.
829 (electric-pair-open-extra-newline): Open extra newline when
830 inserting newlines between adjacent matched delimiters.
831 (electric--sort-post-self-insertion-hook):
832 Sort post-self-insert-hook according to priority values when
833 minor-modes are activated.
834 * simple.el (newline-and-indent): Call newline with interactive
836 (blink-paren-post-self-insert-function): Set priority to 100.
837 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
838 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
839 comments. Locally set electric-pair-skip-whitespace to 'chomp and
840 electric-pair-open-newline-between-pairs to nil.
842 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
844 * progmodes/python.el: Use lexical-binding.
845 (python-nav-beginning-of-defun): Stop searching ASAP.
847 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
849 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
850 Fix interactive spec. Doc fix. (Bug#15754)
852 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
854 * emacs-lisp/byte-run.el (eval-when-compile):
855 * progmodes/cc-defs.el (cc-eval-when-compile):
856 Fix edebug spec (bug#16184).
858 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
860 * net/shr.el (shr-visit-file): Remove debugging function.
861 (shr-insert): Don't infloop if we can't find a good place to break
862 the line (bug#16256).
864 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
866 * progmodes/python.el:
867 (python-nav--lisp-forward-sexp): New function.
868 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
869 python-nav-lisp-forward-sexp-safe.
870 (python-nav--forward-sexp): New argument SAFE allows switching
871 forward sexp movement behavior for parens.
872 (python-nav-forward-sexp): Throw errors on unterminated parens
874 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
875 (python-nav-backward-sexp-safe): New functions.
876 (python-shell-buffer-substring):
877 Use `python-nav-forward-sexp-safe'.
879 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
881 * net/shr.el (shr-find-fill-point): Don't break lines before a
883 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
884 (shr-find-fill-point): Remove the special checks for the quotation
885 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
887 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
889 * net/eww.el (eww-form-textarea): Use a different face for
890 textareas than text input since they have different keymaps
893 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
895 * progmodes/python.el (python-nav-beginning-of-statement):
896 Speed up (Bug#15295).
898 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
900 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
901 the window configuration.
903 2013-12-24 Eli Zaretskii <eliz@gnu.org>
905 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
906 we run on MS-Windows or MS-DOS.
908 2013-12-24 Martin Rudalics <rudalics@gmx.at>
910 * window.el (balance-windows-area): Call window-size instead of
911 window-height and window-width. Bug#16241.
913 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
915 * net/eww.el (eww-bookmark-quit): Remove.
916 (eww-bookmark-browse): Restore the window configuration when you
917 choose a bookmark (bug#16144).
919 2013-12-24 Daniel Colascione <dancol@dancol.org>
921 * icomplete.el: Remove redundant :group arguments to `defcustom'
923 (icomplete-show-matches-on-no-input): New customizable variable.
924 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
925 we have something to show.
926 (icomplete-exhibit): Compute completions even if we have no user input.
928 2013-12-23 Daniel Colascione <dancol@dancol.org>
930 * icomplete.el: Move `provide' to end of file.
932 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
934 * net/gnutls.el (gnutls-verify-error): Add version tag.
936 2013-12-23 Chong Yidong <cyd@gnu.org>
938 * subr.el (set-transient-map): Rename from
939 set-temporary-overlay-map. Doc fix.
941 * face-remap.el (text-scale-adjust):
942 * indent.el (indent-rigidly):
943 * kmacro.el (kmacro-call-macro):
944 * minibuffer.el (minibuffer-force-complete):
945 * repeat.el (repeat):
946 * simple.el (universal-argument--mode):
947 * calendar/todo-mode.el (todo-insert-item--next-param):
948 * progmodes/f90.el (f90-abbrev-start): Callers changed.
950 * indent.el (indent-rigidly): Use substitute-command-keys.
952 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
954 * net/eww.el (eww-tag-select): Add text-property to jump to next
956 (eww): Add non-supported ftp error.
958 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
960 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
961 comments. Handle electric indent after typing `?' and `!'.
963 2013-12-22 Chong Yidong <cyd@gnu.org>
965 * faces.el (face-spec-recalc): If the theme specs are not
966 applicable to a frame, fall back on the defface spec.
967 This prevents themes from obliterating faces on low-color terminals.
969 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
971 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
972 after `{'. We need it after block openers, and it doesn't seem
973 to hurt after hash openers.
975 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
977 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
978 extracted from `ruby-smie-rules'.
979 (ruby--electric-indent-chars): New variable.
980 (ruby--electric-indent-p): New function.
981 (ruby-mode): Use `electric-indent-functions' instead of
982 `electric-indent-chars'.
984 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
986 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
988 (ruby-smie-rules): Indent plus one level after `=>'.
990 2013-12-21 Richard Stallman <rms@gnu.org>
992 * simple.el (newline): Doc fix.
994 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
996 * net/eww.el (eww-list-histories, eww-list-histories)
997 (eww-history-browse, eww-history-quit, eww-history-kill)
998 (eww-history-mode-map, eww-history-mode): New command and
999 functions to list browser histories.
1000 (eww-form-text): Support text form with disabled
1001 and readonly attributes.
1002 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1004 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1006 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1007 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1008 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1009 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1011 (eww-bookmark-mode-map): Add menu.
1012 (eww-render, eww-mode): Use `setq-local'.
1013 (eww-tool-bar-map): New variable.
1014 (eww-mode): Set `tool-bar-map'.
1015 (eww-view-source): Check for `html-mode' with `fboundp'.
1017 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1019 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1020 elements with text inside. Also remove debugging.
1022 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1024 * cus-start.el (all): Add ns-use-srgb-colorspace.
1026 2013-12-21 Chong Yidong <cyd@gnu.org>
1028 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1029 undefined. Thus, theme settings for undefined faces do not take
1030 effect until the faces are defined with defface, the same as with
1033 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1034 (face-spec-reset-face): Don't assign extra properties in temacs.
1035 (face-spec-recalc): Apply X resources too.
1037 2013-12-21 Chong Yidong <cyd@gnu.org>
1039 * faces.el (face-spec-set):
1040 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1041 * custom.el (defface): Doc fixes (Bug#16203).
1043 * indent.el (indent-rigidly-map): Add docstring, and move commands
1044 into named functions.
1045 (indent-rigidly-left, indent-rigidly-right)
1046 (indent-rigidly-left-to-tab-stop)
1047 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1048 indentation direction based on bidi direction, and accumulate
1049 sequential commands in a single undo boundary.
1050 (indent-rigidly--pop-undo): New utility function.
1052 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1054 * faces.el (read-face-name): Require crm.el when using crm-separator.
1056 2013-12-20 Daniel Colascione <dancol@dancol.org>
1058 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1059 so that we don't reflow comments into the shebang line.
1061 2013-12-20 Juri Linkov <juri@jurta.org>
1063 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1064 a position when `dired-directory' is non-nil. Check integer
1065 positions with `integerp'.
1066 (toggle-save-place, save-places-to-alist): Add check for
1068 (save-place-find-file-hook): Check integer positions with
1070 (save-place-dired-hook): Use `dired-goto-file' when
1071 `dired-filename' is found in the assoc list. Check integer
1072 positions with `integerp'.
1073 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1075 * dired.el (dired-initial-position-hook): Rename back from
1076 `dired-initial-point-hook'.
1077 (dired-initial-position): Rename `dired-initial-point-hook' to
1078 `dired-initial-position-hook'.
1079 (dired-file-name-at-point): Doc fix. (Bug#15329)
1081 2013-12-20 Juri Linkov <juri@jurta.org>
1083 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1084 (read-regexp-suggestions): New function.
1085 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1086 Use `read-regexp-suggestions'. Add non-empty default to history
1088 (occur-read-regexp-defaults-function): Remove function.
1089 (occur-read-primary-args): Use `regexp-history-last' instead of
1090 `occur-read-regexp-defaults-function'.
1092 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1093 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1094 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1095 `hi-lock-read-regexp-defaults-function'. Doc fix.
1096 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1097 with `find-tag-default-as-symbol-regexp'. Doc fix.
1098 (hi-lock-read-regexp-defaults): Remove function.
1099 (hi-lock-regexp-okay): Add check for null.
1101 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1102 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1104 * subr.el (find-tag-default-as-symbol-regexp): New function.
1105 (find-tag-default-as-regexp): Move symbol regexp formatting to
1106 `find-tag-default-as-symbol-regexp'.
1108 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1110 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1113 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1115 * calendar/todo-mode.el: New implementation of item insertion
1116 commands and key bindings.
1117 (todo-key-prompt): New face.
1118 (todo-insert-item): New command.
1119 (todo-insert-item--parameters): New defconst, replacing defvar
1120 todo-insertion-commands-args-genlist.
1121 (todo-insert-item--param-key-alist): New defconst, replacing
1122 defvar todo-insertion-commands-arg-key-list.
1123 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1124 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1125 (todo-insert-item--next-param): New functions.
1126 (todo-insert-item--args, todo-insert-item--argleft)
1127 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1129 (todo-key-bindings-t): Change binding of "i" from
1130 todo-insertion-map to todo-insert-item.
1131 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1132 (todo-insertion-command-name, todo-insertion-commands-names)
1133 (todo-define-insertion-command, todo-insertion-commands)
1134 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1136 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1138 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1139 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1141 (todo-move-category): Allow choosing a non-existing todo file to
1142 move the category to, and create that file.
1143 (todo-default-priority): New user option.
1144 (todo-set-item-priority): Use it.
1145 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1146 (desktop-restore-file-buffer): Declare.
1147 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1148 (todo-modes-set-2): Locally set desktop-save-buffer to
1149 todo-desktop-save-buffer.
1150 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1151 (auto-mode-alist): Add autoload cookie.
1153 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1155 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1156 helpers.el was a poor choice of name.
1157 (string-remove-prefix): New function.
1158 (string-remove-suffix): New function.
1160 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1162 Fix assignment for new window total sizes.
1163 * window.el (window--pixel-to-size): Remove function.
1164 (window--pixel-to-total-1, window--pixel-to-total):
1165 Fix calculation of new total sizes.
1167 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1169 * comint.el (comint-output-filter): Fix rear-nonsticky property
1170 placement (Bug#16010).
1172 2013-12-20 Chong Yidong <cyd@gnu.org>
1174 * faces.el (read-color): Minor fix for completion function.
1176 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1178 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1179 New option. (Bug#16182)
1180 (ruby-smie--indent-to-stmt-p): Use it.
1181 (ruby-smie-rules): Revert the logic in the handling of `when'.
1182 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1183 (ruby-deep-arglist, ruby-deep-indent-paren)
1184 (ruby-deep-indent-paren-style): Update docstrings to note that the
1185 vars don't have any effect with SMIE.
1187 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1189 * calc/calc.el (calc-enter, calc-pop): Use the variable
1190 `calc-context-sensitive-enter'.
1192 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1194 * net/shr.el (shr-insert): Protect against infloops in degenerate
1197 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1199 * progmodes/octave.el (octave): Add link to manual and octave
1201 (octave-mode-menu): Link to octave-mode manual.
1203 2013-12-20 Leo Liu <sdl.web@gmail.com>
1205 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1206 insertion using skeleton-end-newline. (Bug#16138)
1208 2013-12-20 Juri Linkov <juri@jurta.org>
1210 * replace.el (occur-engine): Use `add-face-text-property'
1211 to add the face property to matches and titles. (Bug#14645)
1213 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1214 the palette of other hi-lock colors.
1215 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1217 2013-12-19 Juri Linkov <juri@jurta.org>
1219 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1220 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1221 (minibuffer-history-symbol): Move variable declaration closer to
1224 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1227 2013-12-19 Juri Linkov <juri@jurta.org>
1229 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1231 (log-edit-hook): Add it to :options. (Bug#16170)
1233 2013-12-19 Juri Linkov <juri@jurta.org>
1235 * simple.el (eval-expression-print-format): Don't check for
1236 command names and the last command. Always display additional
1237 formats of the integer result in the echo area, and insert them
1238 to the current buffer only with a zero prefix arg.
1239 Display character when char-displayable-p is non-nil.
1240 (eval-expression): With a zero prefix arg, set `print-length' and
1241 `print-level' to nil, and insert the integer values from
1242 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1244 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1245 `eval-last-sexp-arg-internal'. Doc fix.
1246 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1247 `eval-last-sexp-print-value'. Doc fix.
1248 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1249 Set `print-length' and `print-level' to nil when arg is zero.
1250 (eval-last-sexp): Doc fix.
1251 (eval-defun-2): Print the integer values from
1252 `eval-expression-print-format' at the end.
1254 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1255 values from `eval-expression-print-format' at the end.
1257 * ielm.el (ielm-eval-input): Print the integer
1258 values from `eval-expression-print-format' at the end.
1260 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1262 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1263 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1265 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1267 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1268 (hl-line-highlight, global-hl-line-highlight): Use it.
1269 (hl-line-overlay): Use defvar-local.
1271 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1273 * term/ns-win.el: Require dnd.
1274 (global-map): Remove drag items.
1275 (ns-insert-text, ns-set-foreground-at-mouse)
1276 (ns-set-background-at-mouse):
1277 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1278 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1281 2013-12-19 Glenn Morris <rgm@gnu.org>
1283 * emacs-lisp/ert.el (ert-select-tests):
1284 Fix string/symbol mixup. (Bug#16121)
1286 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1288 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1289 keywords to their parent.
1291 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1293 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1294 first arg to be a string (fixed dead code), or an operator symbol.
1295 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1297 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1298 did nothing. Don't respond to `(:after ".")', it will be called
1299 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1300 change anything. Only return indentation for binary operators
1301 when they are hanging. De-dent opening paren when its parent is
1302 `.', otherwise it looks bad when the dot is not at bol or eol
1305 2013-12-19 Juri Linkov <juri@jurta.org>
1307 * replace.el (query-replace-read-args): Split a non-negative arg
1308 and a negative arg into separate elements.
1309 (query-replace, query-replace-regexp, replace-string)
1310 (replace-regexp): Add arg `backward'. Doc fix.
1311 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1312 move point to the beginning of the match.
1313 (replace-search, replace-highlight): Use new arg `backward'
1314 to set the value of `isearch-forward'.
1315 (perform-replace): Add arg `backward' and use it to perform
1316 replacement backward. (Bug#14979)
1318 * isearch.el (isearch-query-replace): Use a negative prefix arg
1319 to call `perform-replace' with a non-nil arg `backward'.
1321 2013-12-18 Juri Linkov <juri@jurta.org>
1323 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1324 to the default list. Move `log-edit-show-files' to the end.
1325 Add more available functions to options.
1326 (log-edit): Move default specific settings to
1327 `log-edit-insert-message-template'. Don't move point.
1328 (log-edit-insert-message-template): New function.
1329 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1332 2013-12-18 Juri Linkov <juri@jurta.org>
1334 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1335 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1337 2013-12-18 Leo Liu <sdl.web@gmail.com>
1339 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1342 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1344 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1345 formats for displaying file sizes when the -s switch is given.
1346 Instead, compute a separate format for displaying the size in
1347 blocks, which is displayed in addition to the "regular" size.
1348 When -h is given in addition to -s, produce size in blocks in
1349 human-readable form as well. (Bug#16179)
1351 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1353 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1354 Reference tables with ~\ref{...} instead of only \ref{...}.
1356 2013-12-18 Chong Yidong <cyd@gnu.org>
1358 * cus-edit.el (custom-magic-alist): Fix "themed" description
1361 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1362 is non-nil, do not create a new entry in the symbol's theme-value
1363 or theme-face property; update theme-settings only (Bug#14664).
1364 (custom-available-themes): Doc fix.
1366 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1369 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1371 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1373 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1376 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1378 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1380 2013-12-18 Glenn Morris <rgm@gnu.org>
1382 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1383 * cus-start.el (load-prefer-newer): New option.
1385 2013-12-18 Le Wang <l26wang@gmail.com>
1387 * comint.el (comint-previous-matching-input-from-input):
1388 Retain point (Bug#13404).
1390 2013-12-18 Chong Yidong <cyd@gnu.org>
1392 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1394 2013-12-18 Glenn Morris <rgm@gnu.org>
1396 * mail/emacsbug.el (report-emacs-bug):
1397 Only mention enable-multibyte-characters if non-standard.
1399 2013-12-17 Juri Linkov <juri@jurta.org>
1401 * arc-mode.el (archive-extract-by-file): Check if directory exists
1402 before deletion to not show irrelevant errors if it doesn't exist.
1404 2013-12-17 Juri Linkov <juri@jurta.org>
1406 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1409 * net/eww.el (browse-web): Add alias to `eww'.
1410 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1411 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1413 * net/browse-url.el (browse-url-browser-function): Move `eww'
1414 closer to similar functions.
1416 * startup.el (fancy-startup-screen, fancy-about-screen):
1417 Set browse-url-browser-function to eww-browse-url locally.
1420 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * window.el (window--pixel-to-total): Remove unused `mini' var.
1423 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1424 (split-window): Remove unused `new' var.
1425 (window--display-buffer): Remove unused `frame' and `delta' vars.
1426 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1429 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1431 * dired.el (dired-mark-pop-up):
1432 * register.el (register-preview): Don't bind
1433 split-height-threshold here since it's now done in
1434 display-buffer-below-selected.
1436 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1438 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1439 xterm-rgb-convert-to-16bit.
1440 (rxvt-register-default-colors): Standardize with
1441 xterm-register-default-colors (Bug#14078).
1443 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1445 * simple.el (kill-region): Pass mark first, then point, so that
1446 kill-append works right (Bug#12819).
1447 (copy-region-as-kill, kill-ring-save): Likewise.
1449 2013-12-17 Leo Liu <sdl.web@gmail.com>
1451 * net/rcirc.el (rcirc-add-face):
1452 * eshell/em-prompt.el (eshell-emit-prompt):
1453 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1456 2013-12-17 Chong Yidong <cyd@gnu.org>
1458 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1459 Suggested by Xue Fuqiao.
1461 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1463 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1465 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1467 * net/shr.el (shr-insert-document): Remove unused var
1468 `shr-preliminary-table-render'.
1469 (shr-rescale-image): Remove unused arg `force'.
1470 (shr-put-image): Update calls accordingly.
1471 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1473 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1475 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1476 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1477 :close-all, to see which indentation method to use (Bug#16116).
1478 (smie-rules-function): Document the method :close-all.
1480 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1482 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1484 * net/eww.el (eww-display-html): If we can't find the anchor we're
1485 looking for, then go to point-min.
1487 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1489 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1490 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1491 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1492 Expand dir too, in case it's relative.
1494 2013-12-16 Juri Linkov <juri@jurta.org>
1496 * desktop.el (desktop-auto-save-timeout): Change default to
1497 `auto-save-timeout'. Doc fix.
1498 (desktop-save): Skip the timestamp in desktop-saved-frameset
1499 when checking for auto-save changes.
1500 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1501 `desktop-auto-save' is called repeatedly by the idle timer.
1502 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1503 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1506 2013-12-16 Juri Linkov <juri@jurta.org>
1508 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1510 (isearch-pre-command-hook): Check `this-command' for symbolp.
1512 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1514 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1516 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1518 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1519 (cfengine3--current-function): Bring in the current-function
1520 functionality from `cfengine3--current-word'.
1521 (cfengine3-completion-function): Bring in the
1522 bounds-of-current-word functionality from
1523 `cfengine3--current-word'.
1525 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1527 * window.el (display-buffer-below-selected):
1528 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1530 2013-12-16 Leo Liu <sdl.web@gmail.com>
1532 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1533 Remove NOMSG arg and all uses changed.
1535 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1538 (cua--deactivate-rectangle): Don't deactivate the mark.
1539 (cua-set-rectangle-mark): Don't set mark-active since
1540 cua--activate-rectangle already does it for us.
1541 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1542 non-rectangular region.
1544 * emulation/cua-base.el (cua-repeat-replace-region):
1545 Use with-current-buffer.
1547 * net/gnutls.el: Use cl-lib.
1548 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1550 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1552 * emacs-lisp/package.el (package-built-in-p): Support both
1553 built-in and the package.el converted package descriptions.
1554 (package-show-package-list): Allow keywords.
1555 (package-keyword-button-action): Use it instead of
1556 `finder-list-matches'.
1557 (package-menu-filter-interactive): Interactive filtering (by
1559 (package-menu--generate): Support keywords and change keymappings
1560 and headers when they are given.
1561 (package--has-keyword-p): Helper function.
1562 (package-menu--refresh): Use it.
1563 (package--mapc): Helper function.
1564 (package-all-keywords): Use it.
1565 (package-menu-mode-map): Set up menu items and keybindings to
1566 provide a filtering UI.
1568 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1570 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1571 the behavior when a certificate fails validation. Defaults to
1572 old behavior: never abort, just warn.
1573 (gnutls-negotiate): Use it.
1575 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1577 * window.el (display-buffer-below-selected): Never split window
1578 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1580 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1582 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1583 (package-buffer-info): Use it (bug#15108).
1585 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * icomplete.el (icomplete-completions): Make sure the prefix is already
1588 displayed elsewhere before hiding it (bug#16219).
1590 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1592 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1593 open-paren tokens when preceded by a open-paren, too.
1594 (ruby-smie-rules): Handle virtual indentation after open-paren
1595 tokens specially. If there is code between it and eol, return the
1596 column where is starts (Bug#16118).
1598 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1600 * progmodes/cfengine.el: Fix `add-hook' doc.
1601 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1602 (cfengine3--current-word): Fix parameters.
1603 (cfengine3-make-syntax-cache): Simplify further.
1604 (cfengine3-completion-function, cfengine3--current-function):
1605 Use `assq' for symbols.
1606 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1608 2013-12-13 Glenn Morris <rgm@gnu.org>
1610 * loadup.el (load-path): Warn if site-load or site-init changes it.
1611 No more need to reset it when bootstrapping.
1613 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1615 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1616 locations for cf-promises.
1617 (cfengine-mode-syntax-functions-regex): New caching variable.
1618 (cfengine3-fallback-syntax): Fallback syntax for cases where
1619 cf-promises doesn't run.
1620 (cfengine3--current-word): Reimplement using
1621 `cfengine-mode-syntax-functions-regex'.
1622 (cfengine3-completion-function, cfengine3--current-function):
1623 Use `cfengine3-make-syntax-cache' directly.
1624 (cfengine3-clear-syntax-cache): New function.
1625 (cfengine3-make-syntax-cache): Simplify and create
1626 `cfengine-mode-syntax-functions-regex' on demand.
1627 (cfengine3-format-function-docstring): Don't call
1628 `cfengine3-make-syntax-cache' explicitly.
1630 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1632 Fix windmove-find-other-window broken after pixelwise resizing
1634 * windmove.el (windmove-other-window-loc): Revert change from
1636 (windmove-find-other-window): Call window-in-direction.
1637 * window.el (window-in-direction): New arguments SIGN, WRAP and
1638 MINI to emulate original windmove-find-other-window behavior.
1640 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1642 * simple.el (blink-matching--overlay): New variable.
1643 (blink-matching-open): Instead of moving point, highlight the
1644 matching paren with an overlay
1645 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1647 * faces.el (paren-showing-faces, show-paren-match)
1648 (show-paren-mismatch): Move from paren.el.
1650 2013-12-13 Leo Liu <sdl.web@gmail.com>
1652 * indent.el (indent-region): Disable progress reporter in
1653 minibuffer. (Bug#16108)
1655 * bindings.el (visual-order-cursor-movement): Fix version.
1657 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1659 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1660 Also match after beginning of line.
1661 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1662 files. Thanks to Russell Sim. (Bug#15378)
1664 2013-12-13 Juri Linkov <juri@jurta.org>
1666 * simple.el <Keypad support>: Remove key bindings duplicated
1667 with bindings.el. (Bug#14397)
1669 2013-12-13 Juri Linkov <juri@jurta.org>
1671 * comint.el (comint-mode-map): Replace `delete-char' with
1672 `delete-forward-char'. (Bug#16109)
1674 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1676 * progmodes/python.el (python-indent-calculate-indentation):
1677 Fix de-denters cornercase. (Bug#15731)
1679 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1682 (advice--make): Pay attention to `depth'.
1683 (advice--make-1): Don't autoload commands eagerly.
1684 * emacs-lisp/elp.el (elp-instrument-function):
1685 * emacs-lisp/trace.el (trace-function-internal):
1686 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1688 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1690 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1692 * term/w32-win.el (w32-handle-dropped-file):
1693 * startup.el (normal-top-level):
1694 * net/browse-url.el (browse-url-file-url):
1695 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1696 decode file names using 'utf-8' rather than
1697 file-name-coding-system.
1699 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1701 * progmodes/python.el (python-indent-context)
1702 (python-indent-calculate-indentation): Fix auto-identation
1703 behavior for comment blocks. (Bug#15916)
1705 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1707 * progmodes/python.el (python-indent-calculate-indentation):
1708 When determining indentation, don't treat "return", "pass", etc., as
1709 operators when they are just string constituents. (Bug#15812)
1711 2013-12-12 Juri Linkov <juri@jurta.org>
1713 * uniquify.el (uniquify-buffer-name-style): Change default to
1714 `post-forward-angle-brackets'.
1716 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1717 `uniquify'. Change default to `post-forward-angle-brackets'.
1719 2013-12-11 Glenn Morris <rgm@gnu.org>
1721 * emacs-lisp/package.el (finder-list-matches):
1722 Autoload rather than falsely declaring.
1724 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1726 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1727 (eww-mode-map): Use them.
1729 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1731 * window.el (display-buffer-in-side-window): Fix doc-string
1734 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1736 * vc/vc-git.el: Silence byte-compiler warnings.
1737 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1738 (log-edit-set-header): Declare.
1740 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1742 * Makefile.in (custom-deps, finder-data): Run output file names
1743 through unmsys--file-name. (Bug#16099)
1745 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1747 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1748 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1750 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1751 instead of deleting the selection "by hand" (bug#16098).
1752 Rely on insert-for-yank to yank rectangles.
1753 (cua-highlight-region-shift-only): Mark obsolete.
1754 (cua-mode): Don't enable/disable transient-mark-mode,
1755 shift-select-mode (cua-mode works both with and without them), and
1756 pc-selection-mode (obsolete).
1757 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1758 (cua--deactivate-rectangle): Deactivate it.
1760 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1761 (delete-selection-helper): Make sure yank starts at the top of the
1763 (minibuffer-keyboard-quit): Use region-active-p.
1765 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1767 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1768 to `delete' (bug#16109).
1770 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1772 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1773 info manual and show keybindings and set `:group' keyword.
1775 2013-12-11 Juri Linkov <juri@jurta.org>
1777 * delsel.el (delete-active-region): Let-bind `this-command'
1778 to prevent `kill-region' from changing its original value.
1779 (delete-selection-helper): Handle `overwrite-mode' for the type
1780 `kill' exactly the same way as for the type `t'.
1781 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1782 Support more commands. (Bug#13312)
1784 2013-12-11 Juri Linkov <juri@jurta.org>
1786 * bindings.el: Map kp keys to non-kp keys systematically
1787 with basic modifiers control, meta and shift. (Bug#14397)
1789 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1791 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1792 "Close browser" menu items. Fix wrong function of "List
1795 2013-12-11 Juri Linkov <juri@jurta.org>
1797 * misearch.el (multi-isearch-buffers): Set the value of
1798 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1799 arg of isearch-forward to t.
1800 (multi-isearch-buffers-regexp): Set the value of
1801 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1802 arg of isearch-forward-regexp to t.
1803 (multi-isearch-files): Set the value of
1804 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1805 arg of isearch-forward to t.
1806 (multi-isearch-files-regexp): Set the value of
1807 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1808 arg of isearch-forward-regexp to t. (Bug#16035)
1810 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1811 arg of isearch-forward to t.
1812 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1813 arg of isearch-forward-regexp to t.
1814 (dired-isearch-filter-filenames): Remove unnecessary check for
1815 `dired-isearch-filenames'.
1817 * comint.el (comint-history-isearch-backward):
1818 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1819 (comint-history-isearch-backward-regexp):
1820 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1822 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1824 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1825 unmsys--file-name. (Bug#16099)
1827 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1829 * emacs-lisp/package.el (package-keyword-button-action):
1830 Remove finder.el require dependency.
1832 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1834 * emacs-lisp/package.el: Require finder.el.
1835 (describe-package-1): Add keyword buttons.
1836 (package-make-button): New convenience function.
1837 (package-keyword-button-action): Keyword button action using
1838 `finder-list-matches'.
1840 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1842 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1845 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1847 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1850 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1852 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1853 after the end of a percent literal.
1855 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1857 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1858 Handle caret-delimited strings (Bug#16079).
1860 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1862 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1863 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1864 `ruby-parse-partial' (Bug#16078).
1866 2013-12-09 Leo Liu <sdl.web@gmail.com>
1868 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1870 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1872 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1873 (js-switch-indent-offset): New option.
1874 (js--proper-indentation): Use it. And handle the case when
1875 "default" is actually a key in an object literal.
1876 (js--same-line): New function.
1877 (js--multi-line-declaration-indentation): Use it.
1878 (js--indent-in-array-comp, js--array-comp-indentation):
1880 (js--proper-indentation): Use them, to handle array comprehension
1883 2013-12-08 Leo Liu <sdl.web@gmail.com>
1885 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1886 (flymake-make-overlay): Remove arg MOUSE-FACE.
1887 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1889 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1891 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1893 (redisplay-highlight-region-function): Use it.
1895 * emulation/cua-base.el (cua--explicit-region-start)
1896 (cua--last-region-shifted): Remove.
1897 (cua--deactivate): Use deactivate-mark.
1898 (cua--pre-command-handler-1): Don't handle shift-selection.
1899 (cua--post-command-handler-1): Don't change transient-mark-mode.
1900 (cua--select-keymaps): Use region-active-p rather than
1901 cua--explicit-region-start or cua--last-region-shifted.
1902 (cua-mode): Enable shift-select-mode.
1904 2013-12-08 Leo Liu <sdl.web@gmail.com>
1906 * progmodes/flymake.el (flymake-popup-current-error-menu):
1907 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1908 (flymake-posn-at-point-as-event, flymake-popup-menu)
1909 (flymake-make-emacs-menu): Remove. (Bug#16077)
1911 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1913 * rect.el (rectangle-mark-mode): Activate mark even if
1914 transient-mark-mode is off (bug#16066).
1915 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1916 is > mark and at bolp.
1918 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1919 (region-extract-function): Use it.
1920 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1921 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1923 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1924 kill-ring-save, kill-region, delete-char, delete-forward-char.
1925 Ignore self-insert-iso.
1927 * emulation/cua-gmrk.el (cua--init-global-mark):
1928 Ignore `self-insert-iso'.
1930 * emulation/cua-base.el (cua--prefix-copy-handler)
1931 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1932 checking cua--rectangle.
1933 (cua-delete-region): Use region-extract-function.
1934 (cua-replace-region): Delete function.
1935 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1936 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1937 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1938 (cua--init-keymaps): Don't remap delete-selection commands.
1939 (cua-mode): Use delete-selection-mode instead of rolling our own
1942 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1943 Obey region-extract-function.
1945 Make registers and delete-selection-mode work on rectangles.
1946 * register.el (describe-register-1): Don't modify the register's value.
1947 (copy-to-register): Obey region-extract-function.
1948 * delsel.el (delete-active-region): Obey region-extract-function.
1950 2013-12-08 Leo Liu <sdl.web@gmail.com>
1952 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1953 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1954 (flymake-compilation-prevents-syntax-check)
1955 (flymake-start-syntax-check-on-newline)
1956 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1957 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1958 (flymake-xml-program, flymake-master-file-dirs)
1959 (flymake-master-file-count-limit)
1960 (flymake-allowed-file-name-masks): Relocate.
1961 (flymake-makehash, flymake-float-time)
1962 (flymake-replace-regexp-in-string, flymake-split-string)
1963 (flymake-get-temp-dir): Remove.
1964 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1965 (flymake-current-row, flymake-selected-frame)
1966 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1967 related functions. (Bug#16077)
1969 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1971 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1973 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1975 * help-fns.el (describe-function-1): Use new advice-* functions
1976 rather than old ad-* functions. Fix function type description and
1977 source links for advised functions and subrs.
1979 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1981 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1983 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1985 * progmodes/compile.el (compilation-start):
1986 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1988 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1989 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1991 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1993 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1994 Touch up the last change.
1996 2013-12-06 Leo Liu <sdl.web@gmail.com>
1998 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1999 (inferior-octave-startup): Always use "octave> " for prompt.
2000 (octave-goto-function-definition)
2001 (octave-sync-function-file-names)
2002 (octave-find-definition-default-filename): Remove redundant backquotes.
2004 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2006 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2008 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2009 where appropriate already.
2010 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2011 end of method names (Bug#15874).
2013 2013-12-06 Juri Linkov <juri@jurta.org>
2015 * isearch.el (isearch--saved-overriding-local-map):
2016 New internal variable.
2017 (isearch-mode): Set it to the initial value of
2018 `overriding-terminal-local-map'.
2019 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2020 with `isearch--saved-overriding-local-map'. (Bug#16035)
2022 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2024 * progmodes/octave.el (inferior-octave-completion-table):
2025 Turn back into function, use `completion-table-with-cache'
2026 (Bug#11906). Update all references.
2028 * minibuffer.el (completion-table-with-cache): New function.
2030 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2032 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2034 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2036 * net/eww.el (eww-current-source): New variable to store page
2038 (eww-display-html, eww-mode, eww-save-history)
2039 (eww-restore-history): Use it.
2040 (eww-view-source): New command to view page source.
2041 Opportunistically uses `html-mode' to highlight the buffer.
2042 (eww-mode-map): Install it.
2044 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2046 * net/dbus.el (dbus-unregister-service)
2047 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2049 (dbus-unregister-service): Skip :serial entries in
2050 `dbus-registered-objects-table'.
2051 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2053 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2055 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2056 around keywords with extra `split-string' argument.
2058 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2060 * windmove.el (windmove-other-window-loc): Handle navigation
2061 between windows (excluding the minibuffer window - Bug#16017).
2063 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2065 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2066 in D-Bus type syntax.
2067 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2068 preserve unibyte strings. (Bug#16048)
2070 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2073 Call force-mode-line-update is the proper buffer (bug#16042).
2075 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2077 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2078 `log-edit-remember-comment', make argument optional. Adjust all
2080 (log-edit-mode): Add `log-edit-remember-comment' to
2081 `kill-buffer-hook' locally.
2082 (log-edit-kill-buffer): Don't remember comment explicitly since
2083 the buffer is killed anyway.
2085 2013-12-04 Juri Linkov <juri@jurta.org>
2087 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2088 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2090 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2092 * notifications.el (notifications-close-notification): Call the
2093 D-Bus method with ID being a `:uint32'. (Bug#16030)
2095 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2097 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2099 2013-12-03 Juri Linkov <juri@jurta.org>
2101 * progmodes/compile.el (compilation-start): Rename window alist
2102 entry `no-display-ok' to `allow-no-window'.
2104 * simple.el (shell-command): Add window alist entry
2105 `allow-no-window' to `display-buffer'.
2106 (async-shell-command): Doc fix.
2108 * window.el (display-buffer-no-window): New action function.
2109 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2111 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2113 * vc/log-edit.el (log-edit-set-header): Extract from
2114 `log-edit-toggle-header'.
2115 (log-edit-extract-headers): Separate the summary, when extracted
2116 from header, from the rest of the message with an empty line.
2118 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2119 line, if present, to the Summary header.
2121 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2124 in current-buffer (bug#16029).
2126 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2128 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2129 (debugger-mode-map): Bind it.
2130 (debugger--backtrace-base): New function.
2131 (debugger-eval-expression): Use it.
2132 (debugger-frame-number): Skip local vars when present.
2133 (debugger--locals-visible-p, debugger--insert-locals)
2134 (debugger--show-locals, debugger--hide-locals): New functions.
2136 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2138 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2140 (tramp-get-remote-locale): New defun.
2141 (tramp-open-connection-setup-interactive-shell): Use it.
2143 2013-12-02 Leo Liu <sdl.web@gmail.com>
2145 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2147 * progmodes/sh-script.el (sh-shell-process):
2148 * progmodes/octave.el (inferior-octave-process-live-p):
2149 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2150 (gdb-inferior-io-sentinel):
2151 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2153 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2155 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2156 `save-selected-window' to `log-edit-hide-buf'. This makes
2157 `log-edit-show-files' idempotent.
2158 (log-edit-show-files): Mark the new window as dedicated.
2160 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2162 * vc/log-edit.el (log-edit-mode-map): Add binding for
2163 `log-edit-kill-biffer'.
2164 (log-edit-hide-buf): Add a FIXME comment.
2165 (log-edit-add-new-comment): New function, extracted from
2167 (log-edit-done, log-edit-add-to-changelog): Use it.
2168 (log-edit-kill-buffer): New command.
2170 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2172 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2173 instead of killing the buffer.
2175 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2179 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2181 * net/eww.el (eww-form-checkbox-selected-symbol)
2182 (eww-form-checkbox-symbol): New customizable variable.
2183 (eww-form-checkbox, eww-toggle-checkbox):
2184 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2186 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2187 (shr--get-media-pref, shr--extract-best-source): New function.
2188 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2189 no :src tag was specified.
2191 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2192 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2193 Use \\` to match beginning of string instead of ^.
2194 (eww-browse-with-external-browser): Provide optional URL parameter.
2195 (eww-render): Set `eww-current-title' back to "".
2197 * net/shr.el (shr-tag-video): Display content for video if no
2198 poster is available.
2199 (shr-tag-audio): Add support for <audio> tag.
2201 * net/eww.el (eww-text-input-types): New const.
2202 (eww-process-text-input): Treat input types in
2203 `eww-text-input-types' as text.
2205 * net/shr.el (shr-tag-table): Fix comment typo.
2207 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2209 * net/eww.el (eww-follow-link): New command to avoid reloading
2210 pages when we follow #target links (bug#15243).
2211 (eww-quit): Special mode buffers shouldn't query before exiting.
2213 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2215 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2218 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2220 * net/eww.el (eww-restore-history): Update the window title after
2221 moving in the history.
2222 (eww-current-dom): New variable used to save the current DOM.
2224 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2226 * vc/log-edit.el (log-edit-mode-map): Add binding for
2227 `log-edit-beginning-of-line'.
2228 (log-edit-setup-add-author): New user option.
2229 (log-edit-beginning-of-line): New command.
2230 (log-edit): Move major mode call above the contents setup so that
2231 the local variable values are already applied.
2232 (log-edit): Only insert "Author: " when
2233 `log-edit-setup-add-author' is non-nil.
2234 (log-edit): When SETUP is non-nil, position point after ": "
2235 instead of point-min.
2237 2013-12-01 Glenn Morris <rgm@gnu.org>
2239 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2241 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2243 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2244 redisplay to make sure the initial frame gets a chance to become
2245 visible. (Bug#16014)
2247 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2249 Support resizing frames and windows pixelwise.
2250 * cus-start.el (frame-resize-pixelwise)
2251 (window-resize-pixelwise): New entries.
2252 * emacs-lisp/debug.el (debug): Use window-total-height instead
2253 of window-total-size.
2254 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2255 * help.el (describe-bindings-internal): Call help-buffer
2256 (temp-buffer-max-width): New option.
2257 (resize-temp-buffer-window, help-window-setup)
2258 (with-help-window): Rewrite.
2259 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2261 * window.el (frame-char-size, window-min-pixel-height)
2262 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2263 (window-min-pixel-width, window-safe-min-pixel-size)
2264 (window-combination-p, window-safe-min-size)
2265 (window-resizable-p, window--size-to-pixel)
2266 (window--pixel-to-size, window--resize-apply-p): New functions.
2267 (window-safe-min-height): Fix doc-string.
2268 (window-size, window-min-size, window--min-size-1)
2269 (window-sizable, window-sizable-p, window--min-delta-1)
2270 (window-min-delta, window--max-delta-1, window-max-delta)
2271 (window--resizable, window--resizable-p, window-resizable)
2272 (window-full-height-p, window-full-width-p, window-at-side-p)
2273 (window--in-direction-2, window-in-direction)
2274 (window--resize-reset-1, window--resize-mini-window)
2275 (window-resize, window-resize-no-error)
2276 (window--resize-child-windows-normal)
2277 (window--resize-child-windows, window--resize-siblings)
2278 (window--resize-this-window, window--resize-root-window)
2279 (window--resize-root-window-vertically)
2280 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2281 (maximize-window, minimize-window, delete-window)
2282 (quit-restore-window, window-split-min-size, split-window)
2283 (balance-windows-2, balance-windows)
2284 (balance-windows-area-adjust, balance-windows-area)
2285 (window--state-get-1, window-state-get, window--state-put-1)
2286 (window--state-put-2, window-state-put)
2287 (display-buffer-record-window, window--display-buffer):
2288 Make functions handle pixelwise sizing of windows.
2289 (display-buffer--action-function-custom-type)
2290 (display-buffer-fallback-action):
2291 Add display-buffer-in-previous-window.
2292 (display-buffer-use-some-window): Resize window to height it had
2294 (fit-window-to-buffer-horizontally): New option.
2295 (fit-frame-to-buffer): Describe new values.
2296 (fit-frame-to-buffer-bottom-margin): Replace with
2297 fit-frame-to-buffer-margins.
2298 (window--sanitize-margin): New function.
2299 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2300 using window-text-pixel-size.
2302 2013-11-30 Glenn Morris <rgm@gnu.org>
2304 * emacs-lisp/bytecomp.el (byte-compile-form):
2305 Make the `interactive-only' warning like the `obsolete' one.
2306 * comint.el (comint-run):
2307 * files.el (insert-file-literally, insert-file):
2308 * replace.el (replace-string, replace-regexp):
2309 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2310 (goto-line, insert-buffer, next-line, previous-line):
2311 Tweak `interactive-only' spec.
2313 Stop keeping (most) generated cedet grammar files in the repository.
2314 * Makefile.in (semantic): New.
2315 (compile-main): Depend on semantic.
2317 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2320 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2322 * uniquify.el (uniquify-buffer-name-style): Change default.
2324 * loadup.el: Preload "uniquify".
2326 * time.el (display-time-update): Update all mode lines (bug#15999).
2328 * electric.el (electric-indent-mode): Enable by default.
2329 * loadup.el: Preload "electric".
2331 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2333 * emacs-lisp/helpers.el (string-empty-p): New function.
2334 (string-blank-p): New function.
2336 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2338 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2341 2013-11-29 Andreas Politz <politza@fh-trier.de>
2342 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2343 allow non-lambda lists as functions.
2344 (imenu--in-alist): Don't recurse into non-subalists.
2345 (imenu): Don't pass function itself as an argument (Bug#14029).
2347 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2349 * progmodes/python.el (python-mode-map): Remove binding for ":".
2350 (python-indent-electric-colon): Remove command.
2351 (python-indent-post-self-insert-function): Integrate the previous code
2352 of python-indent-electric-colon. Make it conditional on
2353 electric-indent-mode.
2354 (python-mode): Add ?: to electric-indent-chars.
2355 Move python-indent-post-self-insert-function to the end of
2356 post-self-insert-hook.
2358 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2360 * doc-view.el (doc-view-goto-page): Update mode-line.
2362 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2364 2013-11-27 Glenn Morris <rgm@gnu.org>
2366 * international/charprop.el, international/uni-bidi.el:
2367 * international/uni-category.el, international/uni-combining.el:
2368 * international/uni-comment.el, international/uni-decimal.el:
2369 * international/uni-decomposition.el, international/uni-digit.el:
2370 * international/uni-lowercase.el, international/uni-mirrored.el:
2371 * international/uni-name.el, international/uni-numeric.el:
2372 * international/uni-old-name.el, international/uni-titlecase.el:
2373 * international/uni-uppercase.el:
2374 Remove generated files from VCS repository.
2376 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2378 * filenotify.el (file-notify-add-watch): Don't special-case
2379 w32notify when computing the directory to watch.
2381 2013-11-27 Glenn Morris <rgm@gnu.org>
2383 Make bootstrap without generated uni-*.el files possible again.
2384 * loadup.el: Update command-line-args checking for unidata-gen.
2385 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2386 * composite.el, international/characters.el:
2387 Handle unicode tables being undefined.
2389 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2390 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2391 (compile-main): Depend on leim rule.
2393 * loadup.el: Move leim-list.el to leim/ subdirectory.
2394 * startup.el (normal-top-level): No more leim directory.
2395 * international/ja-dic-cnv.el (skkdic-convert):
2396 Disable version-control and autoloads in output files.
2397 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2398 Disable version-control and autoloads in output files.
2399 * leim/quail: Move here from ../leim.
2400 * leim/quail/hangul.el (hangul-input-method-activate):
2401 Add autoload cookie.
2402 (generated-autoload-load-name): Set file-local value.
2403 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2404 (generated-autoload-load-name): Set file-local value.
2406 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2408 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2409 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2410 (eww-quit): Ask confirmation before quitting eww.
2412 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2414 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2415 reading output from Diff on MS-Windows and MS-DOS.
2417 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2419 * emacs-lisp/helpers.el (string-reverse): New function.
2421 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2423 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2424 names on MS Windows, like "/[::1]:".
2426 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2429 2013-11-26 Glenn Morris <rgm@gnu.org>
2431 * progmodes/python.el (python-indent-guess-indent-offset):
2432 Avoid corner-case error. (Bug#15975)
2434 Preload leim-list.el. (Bug#4789)
2435 * loadup.el: Load leim-list.el when found.
2436 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2438 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2440 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2442 * emacs-lisp/helpers.el (string-join): New function.
2444 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2446 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2447 Mark as obsolete and replace it with a symbol property.
2448 (byte-compile-form): Use new 'interactive-only property.
2449 * comint.el, files.el, replace.el, simple.el:
2450 Apply new 'interactive-only properly.
2452 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2454 * window.el (display-buffer-at-bottom): Make sure that
2455 split-window-sensibly creates the new window on bottom
2458 2013-11-23 David Kastrup <dak@gnu.org>
2460 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2461 on the conflict markers when available.
2462 (smerge--get-marker): New function.
2463 (smerge-end-re, smerge-base-re): Add subgroup.
2465 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * frame.el (handle-focus-in, handle-focus-out): Add missing
2470 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2472 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2473 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2475 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2477 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2478 (gomoku--last-pos): New var.
2479 (gomoku--intangible-chars): New const.
2480 (gomoku--intangible): New function.
2481 (gomoku-mode): Use it. Derive from special-mode.
2482 (gomoku-move-up): Adjust line count.
2483 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2484 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2485 Simplify accordingly.
2487 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2488 Remove blink-cursor code.
2489 (blink-cursor-timer-function, blink-cursor-suspend):
2490 Don't special-case GUIs.
2491 (blink-cursor-mode): Use focus-in/out-hook.
2493 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2495 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2496 work when annotation is invisible (Bug#13886).
2498 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2500 * json.el (json-alist-p): Only return non-nil if the alist has
2501 simple keys (Bug#13518).
2503 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2505 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2506 when control-statement is the first statement in a buffer (Bug#15956).
2508 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2510 * imenu.el (imenu-generic-skip-comments-and-strings):
2511 New option (Bug#15560).
2512 (imenu--generic-function): Use it.
2514 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2516 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2519 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2521 * emacs-lisp/helpers.el: Add some string helpers.
2522 (string-trim-left): Removes leading whitespace.
2523 (string-trim-right): Removes trailing whitespace.
2524 (string-trim): Removes leading and trailing whitespace.
2526 * subr.el (string-suffix-p): New function.
2528 2013-11-23 Glenn Morris <rgm@gnu.org>
2530 * progmodes/python.el (python-shell-send-file):
2531 Add option to delete file when done. (Bug#15647)
2532 (python-shell-send-string, python-shell-send-region): Use it.
2534 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2536 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2537 to set buffer-read-only to t, never to nil. (Bug#15938)
2539 * textmodes/tex-mode.el (latex-noindent-environments):
2540 Add safe-local-variable property. (Bug#15936)
2542 2013-11-23 Glenn Morris <rgm@gnu.org>
2544 * textmodes/enriched.el (enriched-mode): Doc fix.
2545 * emacs-lisp/authors.el (authors-renamed-files-alist):
2546 Add enriched.doc -> enriched.txt.
2548 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2550 2013-11-22 Leo Liu <sdl.web@gmail.com>
2552 * progmodes/octave.el (inferior-octave-startup): Spit out error
2555 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2557 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2560 (ruby-encoding-magic-comment-style): Add :version.
2562 2013-11-22 Leo Liu <sdl.web@gmail.com>
2564 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2566 (octave-help-mode): Adapt to change to help-mode-finish to use
2567 derived-mode-p on 2013-09-17.
2568 (inferior-octave-prompt): Also match octave-gui.
2569 (octave-kill-process): Don't ask twice. (Bug#10564)
2571 2013-11-22 Leo Liu <sdl.web@gmail.com>
2573 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2574 (inferior-octave-startup, inferior-octave-check-process)
2575 (inferior-octave-track-window-width-change)
2576 (octave-completion-at-point, octave-eldoc-function): Use it.
2577 (octave-kill-process): Provide confirmation. (Bug#10564)
2579 2013-11-21 Leo Liu <sdl.web@gmail.com>
2581 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2582 Fix obsolete variable comment-use-global-state.
2584 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2586 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2587 Add `octave-source-file'.
2588 (octave-source-file): New function. (Bug#15935)
2590 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2592 * net/eww.el (eww-local-regex): New variable.
2593 (eww): Use it to detect localhost and similar.
2595 2013-11-21 Leo Liu <sdl.web@gmail.com>
2597 Add completion for command `ag'.
2598 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2599 (pcomplete/ag): New function.
2600 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2602 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2606 (make-obsolete): Remove interactive spec.
2608 2013-11-21 Glenn Morris <rgm@gnu.org>
2610 * startup.el (command-line-1): Use path-separator with -L.
2612 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2614 * emacs-lisp/package.el (describe-package-1): Add package archive
2617 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2619 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2620 Change default to "# encoding: %s" to differentiate it from the
2621 default Ruby encoding comment template.
2623 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2625 * ses.el (ses-mode): Doc fix. (Bug#14748)
2627 2013-11-20 Leo Liu <sdl.web@gmail.com>
2629 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2631 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2633 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2634 when rebase or bisect are in progress.
2636 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2638 * filenotify.el (file-notify-add-watch): Doc fix.
2640 2013-11-19 Leo Liu <sdl.web@gmail.com>
2642 * obsolete/rcompile.el: Mark obsolete.
2644 * progmodes/compile.el (compilation-start)
2645 (compilation-goto-locus, compilation-find-file):
2646 Pass no-display-ok and handle nil value from display-buffer.
2649 * window.el (display-buffer-alist, display-buffer): Document the
2650 new parameter no-display-ok. Return either a window or nil
2651 but never a non-window value.
2653 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * electric.el (electric-indent-mode-map): Remove.
2656 (electric-indent-mode): Change the global-map instead (bug#15915).
2658 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2661 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2663 * emacs-lisp/nadvice.el (remove-function): Align with
2664 add-function's behavior.
2666 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2667 (gdb--string-regexp): New constant.
2668 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2669 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2670 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2672 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2673 Adjust use accordingly.
2674 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2676 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2678 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2679 interpolation curlies (Bug#15914).
2681 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2683 * calc/calc.el (calc-context-sensitive-enter): New variable.
2684 (calc-enter): Use `calc-context-sensitive-enter'.
2686 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2688 * progmodes/cfengine.el: Version bump.
2689 (cfengine-cf-promises): New defcustom to locate cf-promises.
2690 (cfengine3-vartypes): Add new "data" type.
2691 (cfengine3--current-word): New function to get current name-like
2693 (cfengine3--current-function): New function to look up a CFEngine
2694 function's definition.
2695 (cfengine3-format-function-docstring): New function.
2696 (cfengine3-make-syntax-cache): New function.
2697 (cfengine3-documentation-function): New function: ElDoc glue.
2698 (cfengine3-completion-function): New function: completion glue.
2699 (cfengine3-mode): Set `compile-command',
2700 `eldoc-documentation-function', and add to
2701 `completion-at-point-functions'.
2703 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2705 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2706 `tramp-current-connection'.
2708 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2710 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2711 nil/self/true/false with "end of symbol".
2713 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2715 * subr.el (version-regexp-alist): Fix a typo.
2717 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2719 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2720 "en_US.utf8" and "LC_CTYPE" to "".
2721 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2722 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2724 2013-11-15 Leo Liu <sdl.web@gmail.com>
2726 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2728 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2730 * progmodes/gud.el (ctl-x-map):
2731 Remove C-x SPC binding. (Bug#12342)
2732 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2734 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2736 * subr.el (version-regexp-alist):
2737 Recognize hg, svn and darcs versions as snapshot versions.
2739 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2740 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2741 (ruby--encoding-comment-required-p): Extract from
2742 `ruby-mode-set-encoding'.
2743 (ruby-mode-set-encoding): Add the ability to always insert an
2744 utf-8 encoding comment. Fix and simplify coding comment update
2747 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2749 * net/tramp-gvfs.el (top): Run init code only when
2750 `tramp-gvfs-enabled' is not nil.
2751 (tramp-gvfs-enabled): Check also :system bus.
2753 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2755 Sync with upstream verilog-mode revision 78e66ba.
2756 * progmodes/verilog-mode.el (verilog-end-of-defun)
2757 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2758 (verilog-get-end-of-defun): Remove unused argument.
2759 (verilog-comment-depth): Remove unused local `e'.
2760 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2761 Don't pass arg to verilog-get-end-of-defun.
2763 2013-11-14 Glenn Morris <rgm@gnu.org>
2765 * obsolete/assoc.el (aget): Prefix dynamic variable.
2767 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2769 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2771 * widget.el, hfy-cmap.el: Remove bogus package version number.
2773 2013-11-13 Glenn Morris <rgm@gnu.org>
2775 * replace.el (replace-eval-replacement):
2776 Try to give more helpful error message. (Bug#15836)
2778 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2779 (archive-7z-update): Avoid custom type mismatches.
2781 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2783 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2785 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2786 address can be empty.
2788 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2789 Accept nil SWITCHES.
2790 (tramp-gvfs-handle-write-region): Implement APPEND.
2792 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2794 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2795 binary "|" operator and closing block args delimiter.
2796 Remove FIXME comment referring to Ruby 1.8-only syntax.
2797 (ruby-smie--implicit-semi-p): Not after "|" operator.
2798 (ruby-smie--closing-pipe-p): New function.
2799 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2800 (ruby-smie-rules): Indent after "|".
2802 2013-11-12 Glenn Morris <rgm@gnu.org>
2804 * ps-print.el (ps-face-attribute-list):
2805 Handle anonymous faces. (Bug#15827)
2807 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2809 * window.el (display-buffer-other-frame): Fix doc-string.
2812 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2816 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2819 (tramp-sh-handle-file-local-copy): Don't write a message when
2820 saving temporary files.
2822 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2823 both directories are remote.
2824 (tramp-smb-handle-directory-files): Do not return double entries.
2825 Do not expand full file names.
2826 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2827 (tramp-smb-handle-write-region): Implement APPEND.
2828 (tramp-smb-get-stat-capability): Fix a stupid bug.
2830 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2832 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2834 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2836 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2837 throwing error over malformed let/let* (bug#15814).
2839 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2841 * iswitchb.el (iswitchb-mode): Mark obsolete.
2843 2013-11-11 Glenn Morris <rgm@gnu.org>
2845 * international/uni-bidi.el, international/uni-category.el:
2846 * international/uni-name.el, international/uni-numeric.el:
2847 Regenerate for Unicode 6.3.0.
2849 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2851 * net/tramp.el (tramp-methods):
2852 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2853 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2855 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2857 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2858 Force highlighting text after Summary keyword in doc face for rpm.
2860 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2862 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2863 available and the word has no wildcards, append one to the grep pattern.
2864 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2865 (ispell-complete-word): Call `ispell-lookup-words' with the value
2866 independent of `ispell-look-p'.
2868 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2870 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2872 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2875 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2877 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2878 (ruby-font-lock-keywords): Use backquote.
2880 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2882 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2883 (ruby-smie--backward-token): Only consider full-string matches.
2885 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2887 * faces.el (describe-face): Add distant-foreground.
2889 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2891 * progmodes/ruby-mode.el: Improve encoding comment handling.
2892 (ruby-encoding-magic-comment-style): New option.
2893 (ruby-custom-encoding-magic-comment-template): New option.
2894 (ruby--insert-coding-comment, ruby--detect-encoding):
2895 New functions extracted from `ruby-mode-set-encoding'.
2896 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2897 to control the style of the auto-inserted encoding comment.
2899 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2901 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2902 Use `smie-backward-sexp' with token argument.
2904 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2906 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2907 Remove instrumentation code.
2909 2013-11-08 Glenn Morris <rgm@gnu.org>
2911 * progmodes/autoconf.el (autoconf-mode):
2912 Tweak comment-start-skip. (Bug#15822)
2914 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2916 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2917 at bobp (bug#15826).
2918 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2920 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2922 * man.el (Man-start-calling): New macro, extracted from
2923 Man-getpage-in-background.
2924 (Man-getpage-in-background): Use it.
2925 (Man-update-manpage): New command.
2926 (Man-mode-map): Bind it.
2928 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2930 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2931 of "and", "or", "&&" and "||".
2932 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2933 argument. Prohibit opening curly brace because it could only be a
2934 block opener in that position.
2935 (ruby-smie--forward-token, ruby-smie--backward-token):
2936 Separate "|" from "&" or "*" going after it. That can happen in block
2938 (ruby-smie--indent-to-stmt): New function, seeks the end of
2939 previous statement or beginning of buffer.
2940 (ruby-smie-rules): Use it.
2941 (ruby-smie-rules): Check if there's a ":" before a curly block
2942 opener candidate; if there is, it's a hash.
2944 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2946 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2947 (cl--block-wrapper): Fix last accidental change.
2949 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2951 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2952 Instrument, in order to hunt failure on hydra.
2954 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2956 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2957 malformed bindings form (bug#15814).
2959 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2961 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2962 "." compared to " @ ". This incidentally fixes some indentation
2964 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2965 (ruby-smie-grammar): New tokens: "and" and "or".
2966 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2967 Exclude "and" and "or". Remove "do" in order to work around token
2969 (ruby-smie-rules): Add all infix tokens. Handle the case of
2970 beginning-of-buffer.
2972 2013-11-06 Glenn Morris <rgm@gnu.org>
2974 * Makefile.in (setwins_almost, setwins_for_subdirs):
2975 Avoid accidental matches.
2977 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2979 * menu-bar.el (popup-menu): Use key-binding.
2981 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2983 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2984 menus, support also the menus produced by minor modes.
2987 2013-11-06 Leo Liu <sdl.web@gmail.com>
2989 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2990 DISTANCE to bound the search. All uses changed. (Bug#15808)
2992 2013-11-06 Glenn Morris <rgm@gnu.org>
2994 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2995 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2996 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2998 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * electric.el (electric-indent-just-newline): New command.
3001 (electric-indent-mode-map): New keymap.
3002 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3003 Re-add :group which weren't redundant.
3005 * electric.el (electric-indent-local-mode): New minor mode.
3006 (electric-indent-functions-without-reindent): New var.
3007 (electric-indent-post-self-insert-function): Use it.
3008 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3010 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3012 * international/quail.el (quail-help): Be more explicit about the
3013 meaning of the labels shown on the keys. (Bug#15800)
3015 * startup.el (normal-top-level): Load the subdirs.el files before
3016 setting the locale environment. (Bug#15805)
3018 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3021 via arguments so as to get the right ones (bug#15418).
3023 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3025 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3027 Fix problems found while writing a test suite.
3029 * net/tramp-compat.el (tramp-compat-load): New defun.
3030 * net/tramp.el (tramp-handle-load): Use it.
3032 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3033 "(numberp ok-if-already-exists)" correctly.
3035 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3037 * international/characters.el (glyphless-char-display-control):
3040 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3042 * progmodes/python.el (python-mode):
3043 * progmodes/scheme.el (scheme-mode):
3044 * progmodes/prolog.el (prolog-mode):
3045 * progmodes/ruby-mode.el (ruby-mode):
3046 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3047 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3049 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * rect.el (rectangle--highlight-for-redisplay):
3052 * emacs-lisp/smie.el (smie--next-indent-change):
3053 Use buffer-chars-modified-tick.
3055 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3057 * electric.el (electric-indent-post-self-insert-function):
3058 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3060 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3062 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3064 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3066 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3069 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3071 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3073 * progmodes/python.el: Fix up last change.
3074 (python-shell--save-temp-file): New function.
3075 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3076 `string' comes from the current buffer.
3077 (python-shell-send-string-no-output): Remove `msg' arg.
3078 (python--use-fake-loc): New var.
3079 (python-shell-buffer-substring): Obey it. Try to compensate for the
3080 extra coding line added by python-shell--save-temp-file.
3081 (python-shell-send-region): Use python-shell--save-temp-file and
3082 python-shell-send-file directly. Add `nomain' argument.
3083 (python-shell-send-buffer): Use python-shell-send-region.
3084 (python-electric-pair-string-delimiter): New function.
3085 (python-mode): Use it.
3087 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3089 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3090 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3091 environment and decoding all of the default-directory's to here
3093 (command-line): Decode also argv[0].
3095 * loadup.el: Error out if default-directory is a multibyte string
3096 when we are dumping.
3098 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3100 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3102 * emacs-lisp/package.el (package-menu-mode)
3103 (package-menu--print-info, package-menu--archive-predicate):
3104 Add Archive column to package list.
3106 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3108 Fix problems found while writing a test suite.
3110 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3111 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3112 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3113 to nil when running original file name handler. Otherwise,
3114 there are problems with constructs like "$$FOO".
3116 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3119 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3121 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3123 * subr.el (version<, version<=, version=):
3124 Update docstrings with information for snapshot versions.
3126 * helpers.el: New library for misc helper functions.
3127 (hash-table-keys): New function returning a list of hash keys.
3128 (hash-table-values): New function returning a list of hash values.
3130 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3132 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3133 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3135 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3137 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3138 checking whether point is after a 1-letter word.
3140 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3142 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3143 Don't infloop when expanding region over `multiline' syntax-type that
3144 begins a line (bug#15778).
3146 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3149 Make it into a proper minor mode.
3150 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3151 (rectangle-mark-mode-map): New keymap.
3152 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3154 2013-11-04 Glenn Morris <rgm@gnu.org>
3156 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3158 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3161 (ruby-smie-rules): Use smie-rule-parent instead.
3163 * emacs-lisp/smie.el (smie-rule-parent): Always call
3164 smie-indent-virtual rather than only for hanging tokens.
3165 (smie--next-indent-change): New helper command.
3167 2013-11-03 Glenn Morris <rgm@gnu.org>
3169 * Makefile.in (abs_srcdir): Remove.
3170 (emacs): Unset EMACSLOADPATH.
3172 2013-11-02 Glenn Morris <rgm@gnu.org>
3174 * Makefile.in (EMACS): Use a relative filename.
3175 (abs_top_builddir): Remove.
3176 (custom-deps, finder-data, autoloads): Use --chdir.
3178 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3180 Use relative filenames in TAGS files.
3181 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3182 (lisptagsfiles4, TAGS): Use relative file names.
3183 (TAGS-LISP): Remove.
3184 (maintainer-clean): No more TAGS-LISP file.
3186 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3187 (lisptagsfiles4): Use absolute filenames again.
3188 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3189 Remove all *loaddefs files, not just the first. Remove esh-groups.
3190 (maintainer-clean): Delete TAGS, TAGS-LISP.
3192 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3194 * emacs-lisp/package.el (package-version-join):
3195 Recognize snapshot versions.
3197 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3199 * subr.el (version-regexp-alist): Add support for snapshot versions.
3201 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3203 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3204 New function, replacement for `smie-rule-parent' for when we want to
3205 skip over our direct parent if it's an assignment token..
3206 (ruby-smie-rules): Use it.
3208 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3210 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3211 unconditionally. Remove now unnecessary forward declarations.
3212 Remove XEmacs-specific setup.
3213 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3214 (ruby-font-lock-syntactic-keywords)
3215 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3216 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3217 (ruby-here-doc-end-syntax): Remove.
3218 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3219 defined as function.
3221 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3223 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3225 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3227 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3228 table and abbrev table, `define-derived-mode' does that for us
3231 2013-11-01 Glenn Morris <rgm@gnu.org>
3233 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3234 files is atomic for some time, so no parallel compilation issues).
3236 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3238 * faces.el (face-x-resources): Add :distant-foreground.
3239 (region): Use :distant-foreground for gtk and ns.
3241 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3243 Allow multiple bibliographies when BibLaTeX is used rather than
3245 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3246 (reftex-locate-bibliography-files): Us it.
3248 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3250 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3251 allow comments in pbm files.
3253 * term/w32-win.el (dynamic-library-alist): Support newer versions
3254 of libjpeg starting with v7: look only for the DLL from the
3255 version against which Emacs was built.
3256 Support versions of libpng beyond 1.4.x.
3257 Support libtiff v4.x.
3259 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3261 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3262 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3264 (ruby-deep-arglist): Add property :type.
3266 2013-10-31 Glenn Morris <rgm@gnu.org>
3268 * Makefile.in (custom-deps, finder-data): No need to setq the target
3269 variables, we are in the right directory and the defaults work fine.
3271 2013-10-30 Glenn Morris <rgm@gnu.org>
3273 * Makefile.in (autoloads): Do not use abs_lisp.
3275 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3276 `newline' does not respect `standard-output', so use `princ'.
3278 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3280 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3281 * buff-menu.el (Buffer-menu--unmark): New function.
3282 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3284 2013-10-30 Glenn Morris <rgm@gnu.org>
3286 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3288 * emacs-lisp/package.el (lm-homepage): Declare.
3290 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3293 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3295 * Makefile.in (finder-data, autoloads, update-subdirs)
3296 (compile-main, compile-clean, compile-always, bootstrap-clean):
3297 Check return value of cd.
3298 (compile-calc): Remove.
3300 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3304 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3305 (byte-compile-and-folded): New function.
3306 (=, <, >, <=, >=): Use it.
3308 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3309 (path-separator, null-device, buffer-file-coding-system)
3310 (lpr-headers-switches): Check system-type before modifying them.
3311 (find-buffer-file-type-coding-system): Mark obsolete.
3312 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3313 find-file-not-found-set-buffer-file-coding-system.
3314 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3315 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3316 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3317 (w32-direct-print-region-helper, w32-direct-print-region-function)
3318 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3319 * startup.el (normal-top-level-add-subdirs-to-load-path):
3320 * ps-print.el (ps-print-region-function):
3321 * lpr.el (print-region-function): Use new name.
3323 * subr.el (custom-declare-variable-early): Remove function.
3324 (custom-declare-variable-list): Remove var.
3325 (error, user-error): Remove `while' loop.
3326 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3327 (user-emacs-directory-warning, locate-user-emacs-file):
3329 * simple.el (read-quoted-char-radix, read-quoted-char):
3330 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3332 * custom.el (custom-declare-variable-list): Don't process
3333 custom-declare-variable-list.
3335 * progmodes/python.el (python-shell-get-buffer): New function.
3336 (python-shell-get-process): Use it.
3337 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3338 Python which encoding was used. Don't split-string since we only care
3339 about the first line. Return the temp-file, if applicable.
3340 (python-shell-send-region): Tell compile.el how to turn locations in
3341 the temp-file into locations in the source buffer.
3343 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * subr.el (undefined): Add missing behavior from the C code for
3348 * rect.el: Use lexical-binding. Add new rectangular region support.
3349 (rectangle-mark): New command.
3350 (rectangle--region): New var.
3351 (deactivate-mark-hook): Reset rectangle--region.
3352 (rectangle--extract-region, rectangle--insert-for-yank)
3353 (rectangle--highlight-for-redisplay)
3354 (rectangle--unhighlight-for-redisplay): New functions.
3355 (region-extract-function, redisplay-unhighlight-region-function)
3356 (redisplay-highlight-region-function): Use them to handle
3358 * simple.el (region-extract-function): New var.
3359 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3360 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3361 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3362 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3363 (redisplay-unhighlight-region-function)
3364 (redisplay-highlight-region-function): New vars.
3365 (redisplay--update-region-highlight): New function.
3366 (pre-redisplay-function): Use it.
3367 (exchange-point-and-mark): Don't deactivate the mark before
3368 reactivate-it anyway.
3369 * comint.el (comint-kill-region): Remove yank-handler argument.
3370 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3371 (delete-char): Remove property, since it's now part of their
3373 (self-insert-iso): Remove property since this command doesn't exist.
3375 * emacs-lisp/package.el (package--download-one-archive)
3376 (describe-package-1): Don't query the user about final newline.
3378 2013-10-29 Daniel Colascione <dancol@dancol.org>
3380 * net/tramp.el (tramp-methods): Document new functionality.
3381 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3382 tramp-hostname-checker if method provides one instead of scanning
3383 argument list for "%h" to decide hostname acceptability.
3385 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3387 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3388 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3389 Handle COPY-CONTENTS. (Bug#15737)
3391 2013-10-28 Daiki Ueno <ueno@gnu.org>
3394 (epa-file-cache-passphrase-for-symmetric-encryption):
3395 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3397 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3399 * image.el (defimage):
3400 (image-load-path): Doc fixes.
3402 2013-10-27 Alan Mackenzie <acm@muc.de>
3404 Indent statements in macros following "##" correctly.
3405 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3406 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3408 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3410 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3412 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3414 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3415 after `=' is probably a new expression.
3417 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3419 * man.el (man-imenu-title): New option.
3420 (Man-mode-map): Add menu. (Bug#15722)
3421 (Man-mode): Add imenu to menu.
3423 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3425 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3426 specific in what the first arg can be: a non-keyword word,
3427 string/regexp/percent literal opener, opening paren, or unary
3428 operator followed directly by word.
3430 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3432 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3433 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3434 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3435 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3436 Remove vars, they do not apply any more.
3437 (prolog-mode-abbrev-table): Remove redundant declaration.
3438 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3439 (prolog-use-smie): Remove.
3440 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3441 supported by prolog-electric-if-then-else-flag.
3442 (prolog-mode-variables, prolog-menu): Use setq-local.
3443 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3444 Remove binding to `Backspace' since this key doesn't exist anyway.
3445 Remove bindings for electric self-inserting keys.
3446 (prog-mode): Assume it's defined.
3447 (prolog-post-self-insert): New function.
3448 (prolog-mode): Use it.
3449 (prolog-indent-line, prolog-indent-level)
3450 (prolog-find-indent-of-matching-paren)
3451 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3452 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3453 (prolog-goto-next-paren, prolog-in-string-or-comment)
3454 (prolog-tokenize, prolog-inside-mline-comment)
3455 (prolog-find-start-of-mline-comment): Remove functions.
3456 (prolog-find-unmatched-paren, prolog-clause-end)
3457 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3458 (prolog-electric--if-then-else): Rename from
3459 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3460 (prolog-tokenize-searchkey): Remove const.
3461 (prolog-clause-info): Use forward-sexp.
3462 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3463 (prolog-electric-if-then-else): Remove commands.
3464 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3465 for use in post-self-insert-hook.
3466 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3467 for use in post-self-insert-hook.
3468 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3469 for use in post-self-insert-hook.
3470 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3471 adapt it for use in post-self-insert-hook.
3473 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3475 * emacs-lisp/ert.el (ert-run-tests-interactively):
3476 Use `completing-read'. (Bug#9756)
3478 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3480 * simple.el (line-move): Call line-move-1 instead of
3481 line-move-visual when the current window hscroll is zero, but
3482 temporary-goal-column indicates we will need to hscroll as result
3483 of the movement. (Bug#15712)
3485 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3487 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3488 capitalization. Use :visible instead of :active.
3489 Fix `ruby-indent-exp' reference. Add menu items for the generic
3490 commands that are used with SMIE.
3491 (ruby-do-end-to-brace): Insert space after `{'.
3493 2013-10-25 John Anthony <john@jo.hnanthony.com>
3495 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3497 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3499 2013-10-25 Glenn Morris <rgm@gnu.org>
3501 * vc/vc.el (vc-print-log): Don't use a working revision unless
3502 one was explicitly specified. (Bug#15322)
3504 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3506 * subr.el (add-to-list): Preserve return value in compiler-macro
3509 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3511 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3512 result. Ask user to retry using '-all' flag. (Bug#15701)
3514 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3516 * emacs-lisp/smie.el: New smie-config system.
3517 (smie-config): New defcustom.
3518 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3519 (smie-config-guess, smie-config-save): New commands.
3520 (smie-config--mode-local, smie-config--buffer-local)
3521 (smie-config--trace, smie-config--modefuns): New vars.
3522 (smie-config--advice, smie-config--mode-hook)
3523 (smie-config--setter, smie-config-local, smie-config--get-trace)
3524 (smie-config--guess-value, smie-config--guess): New functions.
3525 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3526 text properties. Treat "string fence" syntax like string syntax.
3528 * progmodes/sh-script.el (sh-use-smie): Change default.
3529 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3530 (sh-var-value): Simplify by CSE.
3531 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3532 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3534 (sh-guess-basic-offset): Use cl-incf.
3535 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3537 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3539 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3542 2013-10-24 Glenn Morris <rgm@gnu.org>
3544 * Makefile.in (abs_top_srcdir): Remove.
3545 (update-subdirs): Use relative path to update-subdirs.
3547 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3549 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3550 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3551 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3552 Call unmsys--file-name before expand-file-name, not after it.
3554 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3556 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3557 (ert-test-skipped): New error.
3558 (ert-skip, ert-stats-skipped): New defuns.
3559 (ert--skip-unless): New macro.
3560 (ert-test-skipped): New struct.
3561 (ert--run-test-debugger, ert-test-result-type-p)
3562 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3563 (ert--stats-set-test-and-result, ert-char-for-test-result)
3564 (ert-string-for-test-result, ert-run-tests-batch)
3565 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3566 Handle skipped tests. (Bug#9803)
3568 2013-10-24 Glenn Morris <rgm@gnu.org>
3570 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3572 * Makefile.in (abs_top_srcdir): New, set by configure.
3573 (update-subdirs): Correct build-aux location.
3575 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3577 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3578 value, whether we could auto-deduce `backend', or not.
3580 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3581 with parameters" example. Simplify the "is it block or is it
3582 hash" check, but also make it more thorough.
3584 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3586 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3588 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3590 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3593 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3596 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3598 * progmodes/compile.el (compilation-directory-matcher)
3599 (compilation-page-delimiter):
3600 Support GNU Make-4.0 directory quoting. (Bug#15678)
3602 2013-10-23 Leo Liu <sdl.web@gmail.com>
3604 * ido.el (ido-tidy): Handle read-only text.
3606 2013-10-23 Glenn Morris <rgm@gnu.org>
3608 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3609 (emacs, compile, compile-always):
3610 Quote entities that might contain whitespace.
3611 (custom-deps, finder-data, autoloads): Use abs_lisp.
3612 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3613 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3614 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3616 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3618 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3619 Use `following-char'.
3621 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3624 * progmodes/ruby-mode.el (ruby-smie-rules):
3625 Remove corresponding workaround. Fix indentation rule of ";" so it
3626 also applies when ";" is the parent.
3628 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3630 * frame.el (display-screens, display-pixel-height)
3631 (display-pixel-width, display-mm-width, display-backing-store)
3632 (display-save-under, display-planes, display-color-cells)
3633 (display-visual-class, display-monitor-attributes-list):
3634 Mention the optional ‘display’ argument in doc strings.
3636 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3638 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3639 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3641 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3643 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3644 TODO. Add "." after " @ ".
3645 (ruby-smie--at-dot-call): New function. Checks if point at method
3646 call with explicit target.
3647 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3648 to the method name tokens when it precedes them.
3649 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3650 (ruby-smie-rules): Add rule for indentation before and after "."
3653 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * textmodes/remember.el (remember-diary-extract-entries):
3658 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3661 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3663 * progmodes/ruby-mode.el (ruby-smie-grammar):
3664 Add (almost) all infix operators.
3665 (ruby-smie--implicit-semi-p): Add new operator chars.
3667 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3669 (ruby-smie--args-separator-p): Check that there's no newline
3670 between method call and its arguments.
3672 2013-10-20 Alan Mackenzie <acm@muc.de>
3674 Allow comma separated lists after Java "implements".
3676 * progmodes/cc-engine.el (c-backward-over-enum-header):
3678 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3679 from a "disallowed" list in enum fontification.
3681 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3683 * startup.el (default-frame-background-mode): Remove unused defvar.
3685 * progmodes/verilog-mode.el (verilog-mode): Don't set
3686 comment-indent-function globally.
3688 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3690 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3691 Move Info menu item creation to ns-win.el.
3693 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3696 * menu-bar.el: Move GNUstep specific menus...
3698 * term/ns-win.el (ns-initialize-window-system): ... to here.
3700 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3702 * simple.el (newline): Only run post-self-insert-hook when
3703 called interactively.
3705 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3707 * icomplete.el (icomplete-with-completion-tables): Add :version.
3709 2013-10-19 Alan Mackenzie <acm@muc.de>
3711 Fix fontification bugs with constructors and const.
3713 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3714 CASE 2) Remove the check for the absence of a suffix construct
3715 after a function declaration with only types (no identifiers) in
3716 the parentheses. Also, accept a function declaration with just a
3717 type inside the parentheses, if this type can be positively
3718 recognised as such, or if a prefix keyword like "explicit" nails
3719 down the construct as a declaration.
3721 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3723 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3724 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3725 the problem whereby selecting a menu item that leads to a
3726 minibuffer prompt moves the cursor out of the minibuffer window,
3727 making it hard to type at the prompt. Suggested by Stefan Monnier
3728 <monnier@iro.umontreal.ca>.
3730 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3732 * menu-bar.el: Don't make Services menu.
3734 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3736 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3737 (ffap-alist): Use ffap-c++-mode for c++-mode.
3738 (ffap-c++-path): New variable.
3739 (ffap-c++-mode): New function.
3741 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3743 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3745 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3747 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3748 introduced on 2013-09-08, which results in an infinite loop
3749 requesting a password.
3751 2013-10-18 Glenn Morris <rgm@gnu.org>
3753 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3755 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3757 Sync with upstream verilog-mode revision 1a6ecec7.
3758 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3759 (verilog-mode-release-date): Remove.
3760 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3761 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3762 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3763 (verilog-auto-tieoff-ignore-regexp)
3764 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3765 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3766 (verilog-signals-with, verilog-dir-cache-preserving)
3767 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3769 (verilog-case-fold): New option, to control case folding in
3770 regexp searches, bug597.
3771 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3772 (verilog-string-match-fold, verilog-in-paren-count)
3773 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3774 (verilog-at-close-struct-p): New functions.
3775 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3776 (verilog-forward-sexp, verilog-set-auto-endcomments):
3777 (verilog-leap-to-case-head): Handle "unique0" case.
3778 (verilog-in-constraint-re): New constant.
3779 (verilog-keywords, verilog-type-font-keywords):
3780 Add some SystemVerilog 1800-2012 keywords.
3781 (verilog-label-be): Remove unimplemented argument, bug669.
3782 (verilog-batch-execute-func): When batch expanding clear
3783 create-lockfiles to prevent spurious user locks when a file ends
3785 (verilog-calculate-indent, verilog-calc-1)
3786 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3787 (verilog-do-indent): Fix indentation of nested constraints
3789 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3790 (verilog-auto-inst-param): Use verilog-string-match-fold.
3791 (verilog-read-inst-module-matcher):
3792 Fix AUTOINST on gate primitives with #1.
3793 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3794 Reads all user-defined typed variables.
3795 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3796 (verilog-signals-matching-regexp)
3797 (verilog-signals-not-matching-regexp, verilog-auto):
3798 Respect verilog-case-fold.
3799 (verilog-diff-report): Fix line count.
3800 (verilog-auto-assign-modport): Remove unused local `modi'.
3801 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3802 better handle multidimensional arrays.
3803 Fix packed array ports misadding bit index in AUTOINST, bug637.
3804 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3805 to not double-declare existing outputs and inputs, respectively.
3806 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3807 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3808 (verilog-sk-uvm-component): New skeleton.
3809 (verilog-submit-bug-report): Add verilog-case-fold,
3810 remove verilog-mode-release-date.
3812 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3814 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3817 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3819 * textmodes/remember.el (remember): Set buffer-offer-save in
3820 remember buffers (bug#13566).
3822 2013-10-18 Daniel Colascione <dancol@dancol.org>
3824 When evaluating forms in ielm, direct standard output to ielm
3825 buffer. Add new ielm-return-for-effect command. Remove trailing
3826 whitespace throughout.
3828 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3829 (ielm-return-for-effect): New command.
3830 (ielm-send-input): Accept optional `for-effect' parameter.
3831 (ielm-eval-input): Accept optional `for-effect' parameter.
3832 Bind `standard-output' to stream we create using
3833 `ielm-standard-output-impl'. Suppress printing result when
3835 (ielm-standard-output-impl): New function.
3836 (inferior-emacs-lisp-mode): Explain new features in documentation.
3838 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3842 * net/tramp.el (tramp-debug-message): Do not check for connection
3844 (tramp-message): Use "vector" connection property.
3846 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3847 (tramp-equal-remote, tramp-eshell-directory-change)
3848 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3849 (tramp-adb-handle-rename-file)
3850 * net/tramp-cmds.el (tramp-list-remote-buffers)
3851 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3852 * net/tramp-compat.el (tramp-compat-process-running-p)
3853 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3854 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3855 (tramp-gvfs-handle-rename-file)
3856 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3857 (tramp-set-file-uid-gid)
3858 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3859 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3862 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3863 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3864 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3865 (tramp-gw-open-network-stream): Suppress unrelated traces.
3867 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3868 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3869 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3870 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3871 connection property.
3873 * net/tramp-cache.el (top): Suppress traces when reading
3876 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3877 Refactor common code. Improve debug message.
3878 (tramp-maybe-open-connection)
3879 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3880 connection buffer too early.
3882 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3883 from `tramp-smb-actions-with-acl'.
3884 (tramp-smb-actions-set-acl): New defconst.
3885 (tramp-smb-handle-copy-directory)
3886 (tramp-smb-action-get-acl): New defun, renamed from
3887 `tramp-smb-action-with-acl'.
3888 (tramp-smb-action-set-acl): New defun.
3889 (tramp-smb-handle-set-file-acl): Rewrite.
3891 2013-10-17 Glenn Morris <rgm@gnu.org>
3893 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3895 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3897 * skeleton.el (skeleton-newline): Remove.
3898 (skeleton-internal-1): Use (insert "\n") instead.
3900 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3903 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3904 forward-sexp-function while we redo its job (bug#15613).
3906 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3908 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3909 represented by lists.
3911 2013-10-16 Glenn Morris <rgm@gnu.org>
3913 * tmm.el (tmm--history): New dynamic variable.
3914 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3916 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3918 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3919 (tramp-smb-errors): Add error messages.
3920 (tramp-smb-actions-with-acl): New defconst.
3921 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3922 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3923 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3924 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3925 (tramp-smb-get-stat-capability): Fix tests.
3927 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3929 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3932 2013-10-16 Glenn Morris <rgm@gnu.org>
3934 * ansi-color.el (ansi-color-drop-regexp):
3935 Add 1J, 1K, 2K. (Bug#15617)
3937 * files.el (hack-local-variables--warned-lexical): New.
3938 (hack-local-variables):
3939 Warn about misplaced lexical-binding. (Bug#15616)
3941 * net/eww.el (eww-render): Always set eww-current-url,
3942 and update header line. (Bug#15622)
3943 (eww-display-html): ... Rather than just doing it here.
3945 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3947 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3948 menu navigations commands.
3950 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3952 * progmodes/subword.el (subword-capitalize): Be careful when
3953 the search for [[:alpha:]] fails (bug#15580).
3955 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3957 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3958 to commands that scroll the menu.
3960 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3962 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3963 Handle methods ending with `?' and `!'.
3965 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3967 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3968 `japanese-cp932' to `cp932' to fix the problem where saving a
3969 source file written in Shift_JIS twice would end up having
3970 `coding: japanese-cp932' which Ruby could not recognize.
3971 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3972 in `ruby-encoding-map'.
3973 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3974 doesn't need to be explicitly declared in magic comment.
3975 (ruby-encoding-map): Add type declaration for better customize UI.
3977 2013-10-13 Glenn Morris <rgm@gnu.org>
3979 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3980 Occur buffers are read-only. http://bugs.debian.org/720775
3982 * emacs-lisp/authors.el (authors-fixed-entries):
3983 Comment out old alpha stuff.
3985 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3987 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3988 to `after-save-hook' instead of `before-save-hook'.
3989 (ruby-mode-set-encoding): Use the value of coding system used to
3990 write the file. Call `basic-save-buffer-1' after modifying the
3993 2013-10-13 Alan Mackenzie <acm@muc.de>
3995 Fix indentation/fontification of Java enum with
3996 "implements"/generic.
3998 * progmodes/cc-engine.el (c-backward-over-enum-header):
3999 Extracted from the three other places and enhanced to handle generics.
4000 (c-inside-bracelist-p): Uses new function above.
4001 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4003 (c-font-lock-enum-tail): Uses new function above.
4005 2013-10-13 Kenichi Handa <handa@gnu.org>
4007 * international/mule-cmds.el (select-safe-coding-system): Remove a
4008 superfluous condition in chekcing whether a coding system is safe
4011 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4013 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4015 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4017 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4019 2013-10-13 Glenn Morris <rgm@gnu.org>
4021 * menu-bar.el (menu-bar-update-buffers):
4022 Unify Buffers menu prompt string. (Bug#15576)
4024 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4026 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4028 (authors-fixed-entries): Use accented form of name.
4030 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4032 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4033 method calls (bug#15594).
4034 (ruby-smie--args-separator-p): New function.
4035 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4036 recognize paren-free method calls.
4038 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4039 internals of universal-argument.
4041 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4043 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4044 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4045 dropped menu on second mouse click on the menu bar.
4047 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4049 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4050 (explicit-shell-file-name): Declare.
4051 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4052 (sh-completion-at-point-function): New function.
4054 (sh-smie--keyword-p): Remove unused argument.
4055 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4057 (sh-set-shell): Always setup SMIE, even if we use the
4058 old indentation code.
4060 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4062 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4064 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4065 predicate would return nil are almost non-existent.
4066 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4068 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4069 cache also after commands that modify the buffer but don't move
4072 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4074 * env.el (substitute-env-in-file-name): New function.
4075 (substitute-env-vars): Extend the meaning of the optional arg.
4077 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4079 * term/w32-win.el (dynamic-library-alist): Define separate lists
4080 of GIF DLLs for versions before and after 5.0.0 of giflib.
4083 2013-10-10 João Távora <joaotavora@gmail.com>
4085 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4086 not locked, use last revision and current source as
4087 defaults. (Bug#15569)
4089 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4091 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4094 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4096 * window.el (pop-to-buffer-same-window): Fix doc-string.
4099 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4103 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4105 * calendar/icalendar.el (icalendar-import-file):
4106 Fix interactive spec. (Bug#15482)
4108 2013-10-10 Glenn Morris <rgm@gnu.org>
4110 * desktop.el (desktop-save): Default to saving in .emacs.d,
4111 since PWD is no longer in desktop-path by default. (Bug#15319)
4113 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4114 now that text mode has a menu with the same entry.
4115 (menu-bar-text-mode-auto-fill): Remove now unused func.
4116 * textmodes/text-mode.el (text-mode-map):
4117 Use auto-fill help text from menu-bar.el.
4119 2013-10-10 John Anthony <john@jo.hnanthony.com>
4121 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4123 2013-10-09 Juri Linkov <juri@jurta.org>
4125 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4126 instead of this-command-keys. Add universal-argument-more and
4127 universal-argument-minus to the list of prefix commands. (Bug#15568)
4129 2013-10-09 Glenn Morris <rgm@gnu.org>
4131 * vc/vc-svn.el (vc-svn-create-repo):
4132 Expand paths in file://... url. (Bug#15446)
4134 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4136 (authors): Remove unused local variables.
4138 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * profiler.el: Create a more coherent calltree from partial backtraces.
4141 (profiler-format): Hide the tail with `invisible' so that C-s can still
4142 find the hidden elements.
4143 (profiler-calltree-depth): Don't recurse so enthusiastically.
4144 (profiler-function-equal): New hash-table-test.
4145 (profiler-calltree-build-unified): New function.
4146 (profiler-calltree-build): Use it.
4147 (profiler-report-make-name-part): Indent the calltree less.
4148 (profiler-report-mode): Add visibility specs for profiler-format.
4149 (profiler-report-expand-entry, profiler-report-toggle-entry):
4150 Expand the whole subtree when provided with a prefix arg.
4152 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4154 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4156 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4157 hanging iuwu-mod token.
4158 (ruby-smie--forward-token): Do not include a dot after a token in
4160 (ruby-smie--backward-token): Likewise.
4162 2013-10-08 Juri Linkov <juri@jurta.org>
4164 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4165 to isearch-other-control-char.
4166 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4167 and isearch-post-command-hook to post-command-hook.
4168 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4169 and isearch-post-command-hook from post-command-hook.
4170 (isearch-unread-key-sequence)
4171 (isearch-reread-key-sequence-naturally)
4172 (isearch-lookup-scroll-key, isearch-other-control-char)
4173 (isearch-other-meta-char): Remove functions.
4174 (isearch-pre-command-hook, isearch-post-command-hook):
4175 New functions based on isearch-other-meta-char rewritten
4176 relying on the new behavior of overriding-terminal-local-map
4177 that does not replace the local keymaps any more. (Bug#15200)
4179 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4181 Support menus on text-mode terminals.
4182 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4185 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4187 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4188 Move here from mouse.el.
4189 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4191 (tty-menu-navigation-map): New map for TTY menu navigation.
4193 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4195 * frame.el (display-mouse-p): Report text-mode mouse as available
4197 (display-popup-menus-p): Report availability if mouse is
4198 available; don't condition on window-system.
4200 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4201 (tty-menu-selected-face): New faces.
4203 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4206 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4207 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4208 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4210 (lisp-mode-variables): New `elisp' argument.
4211 (emacs-lisp-mode): Use it.
4212 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4213 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4215 * indent.el: Use lexical-binding.
4216 (indent-region): Add progress reporter.
4217 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4219 (indent--next-tab-stop): New function to implement this behavior.
4220 (tab-to-tab-stop, move-to-tab-stop): Use it.
4222 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4224 * indent.el (indent-rigidly--current-indentation): New function.
4225 (indent-rigidly-map): New var.
4226 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4228 2013-10-08 Bastien Guerry <bzg@gnu.org>
4230 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4232 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4234 * progmodes/perl-mode.el: Use lexical-binding.
4235 Remove redundant :group args.
4236 (perl-nochange): Change default to be closer to other major modes's
4238 (perl-indent-line): Don't consider text on current line as a
4239 valid beginning of function from which to indent.
4241 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4242 with more than one argument (bug#15538).
4244 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4246 * vc/pcvs.el: Use lexical-binding.
4247 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4248 environment of `eval'.
4249 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4250 than a list of expressions. Adjust callers.
4251 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4253 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4255 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4256 case of the dot in a chained method call being on the following line.
4258 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * electric.el (electric-indent-inhibit): New var.
4261 (electric-indent-post-self-insert-function): Use it.
4262 * progmodes/python.el (python-mode): Set it.
4264 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4267 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4269 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4270 (css-mode): Use electric-indent-chars.
4272 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4273 (font-lock-beg, font-lock-end): Move before first use.
4274 (nxml-mode): Use syntax-propertize-function.
4275 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4276 (nxml-extend-after-change-region): Remove.
4277 * nxml/xmltok.el: Use lexical-binding.
4278 (xmltok-save): Use `declare'.
4279 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4280 * nxml/nxml-util.el: Use lexical-binding.
4281 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4283 * nxml/nxml-ns.el: Use lexical-binding.
4284 (nxml-ns-save): Use `declare'.
4285 (nxml-ns-prefixes-for): Avoid add-to-list.
4286 * nxml/rng-match.el: Use lexical-binding.
4287 (rng--ipattern): Use cl-defstruct.
4288 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4289 (rng-cons-group-after, rng-subst-group-after)
4290 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4291 Use closures instead of `(lambda...).
4293 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4295 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4298 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4299 Use `tramp-handle-insert-file-contents'.
4300 (tramp-gvfs-handle-insert-file-contents): Remove function.
4302 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4303 Use `save-restriction' in order to keep markers.
4305 * net/trampver.el: Update release number.
4307 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4309 * progmodes/compile.el (compilation-parse-errors):
4310 Use compilation--put-prop.
4311 (compilation--ensure-parse): Check compilation-multiline.
4313 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4315 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4318 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4320 * progmodes/ruby-mode.el: Fix recently added tests.
4321 (ruby-smie-grammar): Add - and +.
4322 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4323 (ruby-smie--backward-id): New functions.
4324 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4325 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4328 2013-10-07 Leo Liu <sdl.web@gmail.com>
4330 * register.el (register-preview-delay)
4331 (register-preview-functions): New variables.
4332 (register-read-with-preview, register-preview)
4333 (register-describe-oneline): New functions.
4334 (point-to-register, window-configuration-to-register)
4335 (frame-configuration-to-register, jump-to-register)
4336 (number-to-register, view-register, insert-register)
4337 (copy-to-register, append-to-register, prepend-to-register)
4338 (copy-rectangle-to-register): Use register-read-with-preview to
4339 read register. (Bug#15525)
4341 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4343 * net/network-stream.el (network-stream-open-starttls): Don't add
4344 --insecure if it's already present, because that gnutls-cli
4345 rejects getting that parameter twice.
4347 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4349 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4352 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4354 * newcomment.el (comment-use-global-state): Change default value
4355 to t, mark obsolete (Bug#15251).
4356 (comment-beginning): In addition to `comment-to-syntax', check the
4357 value of `comment-use-global-state'.
4359 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4362 (ruby-comment-column): Follow the global default, by default.
4363 (ruby-smie-grammar): Add assignment syntax.
4364 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4365 open-paren, a comma, or a \.
4366 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4367 and line continuations.
4368 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4369 followed by implicit semi-colons. Add rule for string concatenation
4370 and for indentation at BOB.
4371 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4373 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4374 calling next-sexp, since next-token may have skipped chars which
4375 next-sexp doesn't know should be skipped!
4377 2013-10-05 Leo Liu <sdl.web@gmail.com>
4379 * progmodes/octave.el (octave-send-region):
4380 Call compilation-forget-errors.
4382 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4384 * vc/vc-svn.el (vc-svn-find-admin-dir):
4385 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4386 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4387 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4388 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4390 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4394 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4396 * subr.el (read-passwd): Hide chars even when called within a context
4397 where after-change-functions is disabled (bug#15501).
4398 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4399 until we removed ourself from overriding-terminal-local-map.
4401 2013-10-04 Leo Liu <sdl.web@gmail.com>
4403 * progmodes/octave.el (inferior-octave-mode):
4404 Call compilation-forget-errors.
4406 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4408 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4410 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4412 * net/secrets.el (secrets-create-collection): Add optional
4413 argument ALIAS. Use proper Label keyword. Append ALIAS as
4414 dbus-call-method argument. (Bug#15516)
4416 2013-10-04 Leo Liu <sdl.web@gmail.com>
4418 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4419 (inferior-octave-compilation-font-lock-keywords): New variables.
4420 (compilation-error-regexp-alist)
4421 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4422 (inferior-octave-mode): Use compilation-shell-minor-mode.
4424 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4426 * minibuffer.el (completion--replace): Be careful that `end' might be
4429 2013-10-03 Daiki Ueno <ueno@gnu.org>
4431 Add support for package signature checking.
4432 * emacs-lisp/package.el (url-http-file-exists-p)
4433 (epg-make-context, epg-context-set-home-directory)
4434 (epg-verify-string, epg-context-result-for)
4435 (epg-signature-status, epg-signature-to-string)
4436 (epg-check-configuration, epg-configuration)
4437 (epg-import-keys-from-file): Declare.
4438 (package-check-signature): New user option.
4439 (package-unsigned-archives): New user option.
4440 (package-desc): Add `signed' field.
4441 (package-load-descriptor): Set `signed' field if .signed file exists.
4442 (package--archive-file-exists-p): New function.
4443 (package--check-signature): New function.
4444 (package-install-from-archive): Check package signature.
4445 (package--download-one-archive): Check archive signature.
4446 (package-delete): Remove .signed file.
4447 (package-import-keyring): New command.
4448 (package-refresh-contents): Import default keyring.
4449 (package-desc-status): Add "unsigned" status.
4450 (describe-package-1, package-menu--print-info)
4451 (package-menu-mark-delete, package-menu--find-upgrades)
4452 (package-menu--status-predicate): Support "unsigned" status.
4454 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4456 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4457 the new compilation scheme using the new byte-codes.
4459 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4460 (byte-pophandler): New byte codes.
4461 (byte-goto-ops): Adjust accordingly.
4462 (byte-compile--use-old-handlers): New var.
4463 (byte-compile-catch): Use new byte codes depending on
4464 byte-compile--use-old-handlers.
4465 (byte-compile-condition-case--old): Rename from
4466 byte-compile-condition-case.
4467 (byte-compile-condition-case--new): New function.
4468 (byte-compile-condition-case): New function that dispatches depending
4469 on byte-compile--use-old-handlers.
4470 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4473 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4474 Optimize under `condition-case' and `catch' if
4475 byte-compile--use-old-handlers is nil.
4476 (disassemble-offset): Handle new bytecodes.
4478 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * subr.el (error): Use `declare'.
4481 (decode-char, encode-char): Use advertised-calling-convention instead
4482 of the docstring to discourage use of the `restriction' arg.
4484 2013-10-03 Daiki Ueno <ueno@gnu.org>
4486 * epg.el (epg-verify-file): Add a comment saying that it does not
4487 notify verification error as a return value nor a signal.
4488 (epg-verify-string): Ditto.
4490 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4492 * progmodes/compile.el (compilation-start): Try globbing the arg to
4495 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4497 Sync with Tramp 2.2.8.
4499 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4500 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4501 * net/trampver.el: Update release number.
4503 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4505 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4506 and default-process-coding-system for darwin only.
4508 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4512 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4514 * vc/vc-git.el (vc-git-grep): Disable pager.
4516 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4518 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4519 Use :url instead of :homepage, as per
4520 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4522 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4523 non-nil, use `syntax-ppss' (Bug#15251).
4525 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4527 * progmodes/octave.el (inferior-octave-startup-file):
4528 Prefer ~/.emacs.d/init_octave.m.
4530 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4532 * emacs-lisp/package.el (package-desc-from-define):
4533 Accept additional arguments as plist, convert them to an alist and store
4534 them in the `extras' slot.
4535 (package-generate-description-file): Convert extras alist back to
4536 plist and append to the `define-package' form arguments.
4537 (package--alist-to-plist): New function.
4538 (package--ac-desc): Add `extras' slot.
4539 (package--add-to-archive-contents): Check if the archive-contents
4540 vector is long enough, and if it is, pass its `extras' slot value
4541 to `package-desc-create'.
4542 (package-buffer-info): Call `lm-homepage', pass the returned value
4543 to `package-desc-from-define'.
4544 (describe-package-1): Render the homepage button (Bug#13291).
4546 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4547 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4549 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4551 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4552 and default-process-coding-system to utf-8-unix (Bug#15402).
4554 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4556 * subr.el (looking-back): Do not recommend using looking-back.
4558 2013-09-28 Alan Mackenzie <acm@muc.de>
4560 Fix indentation/fontification of Java enum with "implements".
4562 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4563 regexp which matches "implements", etc., in Java.
4564 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4565 specifier clauses coming after "enum".
4566 * progmodes/cc-fonts.el (c-font-lock-declarations)
4567 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4570 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4572 * faces.el (region): Change ns_selection_color to
4573 ns_selection_fg_color, add ns_selection_bg_color.
4575 2013-09-28 Leo Liu <sdl.web@gmail.com>
4577 * progmodes/octave.el (inferior-octave-completion-table)
4578 (inferior-octave-completion-at-point): Minor tweaks.
4580 * textmodes/ispell.el (ispell-lookup-words): Rename from
4581 lookup-words. (Bug#15460)
4582 (lookup-words): Obsolete.
4583 (ispell-complete-word, ispell-command-loop): All uses changed.
4585 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4587 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4588 (octave-mode-menu): Add octave-send-buffer.
4589 (octave-send-buffer): New function.
4591 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4593 * progmodes/octave.el (octave-mode-map): Add key binding for
4595 (octave-mode-menu): Add octave-lookfor.
4596 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4598 (octave-lookfor): New function.
4600 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4602 * emacs-lisp/cl-macs.el:
4603 (cl--loop-destr-temps): Remove.
4604 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4606 (cl--loop-set-iterator-function): New function.
4607 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4608 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4609 Bind `it' with `let' instead of substituting it with `cl-subst'.
4610 (cl--unused-var-p): New function.
4611 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4612 Eliminate some unused variable warnings (bug#15326).
4614 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4616 * doc-view.el (doc-view-scale-reset): Rename from
4617 `doc-view-reset-zoom-level'.
4618 (doc-view-scale-adjust): New command.
4619 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4620 `doc-view-scale-adjust'.
4622 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4624 * doc-view.el (doc-view-reset-zoom-level): New command.
4625 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4626 zoom commands (bug#15466).
4628 2013-09-26 Kenichi Handa <handa@gnu.org>
4630 * international/quail.el (quail-help): Make it not a command.
4632 2013-09-26 Leo Liu <sdl.web@gmail.com>
4634 * minibuffer.el (completion-all-sorted-completions): Make args
4635 optional as they are.
4637 2013-09-25 Daniel Colascione <dancol@dancol.org>
4639 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4640 specs are and that they're not evaluated.
4642 2013-09-24 Sam Steingold <sds@gnu.org>
4644 * midnight.el (clean-buffer-list-kill-regexps)
4645 (clean-buffer-list-kill-buffer-names): Update for the new Man
4646 buffer naming which includes the object name.
4648 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4650 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4651 (eshell-parse-command, eshell-parse-pipeline): Use it since
4652 eshell-separate-commands requires a dynamic scoped var.
4653 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4655 2013-09-23 Leo Liu <sdl.web@gmail.com>
4657 * autoinsert.el (auto-insert-alist): Make the value of
4658 lexical-binding match its file setting.
4660 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4662 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4664 * autoarg.el (autoarg-kp-digit-argument):
4665 * electric.el (Electric-command-loop):
4666 * kmacro.el (kmacro-step-edit-insert):
4667 Do not set universal-argument-num-events.
4669 2013-09-22 Leo Liu <sdl.web@gmail.com>
4671 * files.el (interpreter-mode-alist): Add octave.
4673 2013-09-21 Alan Mackenzie <acm@muc.de>
4675 C++: fontify identifier in declaration following "public:" correctly.
4676 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4677 to match "public", etc.
4678 (c-decl-prefix-re): Add ":" into the C++ value.
4679 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4680 bit. Add a check for a ":" preceded by "public", etc.
4682 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4684 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4685 recognized by GDB 7.5 and later.
4687 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4689 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4691 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * subr.el (internal--call-interactively): New const.
4694 (called-interactively-p): Use it (bug#3984).
4696 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4698 * vc/pcvs.el (cvs-mode-ignore):
4699 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4700 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4702 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4704 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4705 (eshell-ls-orig-insert-directory): Remove.
4706 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4707 (eshell-ls-use-in-dired): Use advice-add/remove.
4708 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4709 Add `orig-fun' arg for use in :around advice.
4710 Make it check (redundantly) eshell-ls-use-in-dired.
4712 2013-09-19 Glenn Morris <rgm@gnu.org>
4714 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4716 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4718 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4720 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4722 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4723 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4724 (tramp-get-remote-python): New defuns.
4725 (tramp-get-remote-uid-with-perl)
4726 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4727 contributed by yary <not.com@gmail.com> (tiny change).
4728 (tramp-get-remote-uid-with-python)
4729 (tramp-get-remote-gid-with-python): New defuns. Python code
4730 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4731 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4733 2013-09-19 Glenn Morris <rgm@gnu.org>
4735 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4737 * eshell/em-unix.el (eshell-remove-entries):
4738 Rename argument to avoid name-clash with global `top-level'.
4740 * eshell/esh-proc.el (eshell-kill-process-function):
4741 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4742 (eshell-reset-after-proc): Remove unused arg `proc'.
4744 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4745 (directory-files-and-attributes): Mark unused arg.
4747 * eshell/em-unix.el (eshell-remove-entries):
4748 Remove unused arg `path'. Update callers.
4750 * eshell/em-hist.el (eshell-hist-parse-arguments):
4751 Remove unused arg `silent'. Update callers.
4753 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4754 Fix (f)boundp mix-up.
4756 * eshell/em-smart.el (eshell-smart-scroll-window)
4757 (eshell-disable-after-change):
4758 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4760 2013-09-18 Alan Mackenzie <acm@muc.de>
4762 Fix fontification of type when followed by "const".
4763 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4764 "known" types from fontification.
4766 2013-09-18 Glenn Morris <rgm@gnu.org>
4768 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4769 (chart-face-list): Drop Emacsen without display-color-p.
4771 * net/eww.el (libxml-parse-html-region): Declare.
4772 (eww-display-html): Explicit error if no libxml2 support.
4774 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4776 * image.el (image-type-from-buffer, image-multi-frame-p):
4777 Remove --without-x warning/error.
4779 * mouse.el (mouse-yank-primary):
4780 * term.el (term-mouse-paste):
4781 Reorder to silence --without-x compilation.
4783 * mpc.el (doc-view-mode): Silence --without-x compilation.
4785 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4786 Silence --without-x compilation.
4788 * progmodes/gud.el (gud-find-file, gud-mode):
4789 Silence --without-x compilation.
4790 (tooltip-mode): Declare.
4792 * wdired.el (dired-backup-overwrite): Remove declaration.
4793 (wdired-mode-map): Add doc string.
4795 * custom.el (x-get-resource): Declare.
4797 * eshell/em-glob.el (ange-cache):
4798 * eshell/em-unix.el (ange-cache): Declare.
4800 * faces.el (x-display-list, x-open-connection, x-get-resource):
4803 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4804 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4807 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4809 * net/gnutls.el (gnutls-log-level): Declare.
4811 * net/shr.el (image-size, image-animate): Declare.
4813 * simple.el (font-info): Declare.
4815 * subr.el (x-popup-dialog): Declare.
4817 * term/common-win.el (x-select-enable-primary)
4818 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4821 * term/ns-win.el (x-handle-args): Declare.
4823 * term/x-win.el (x-select-enable-clipboard): Declare.
4825 * term/w32-win.el (create-default-fontset): Declare.
4827 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4830 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4831 (fit-frame-to-buffer): Explicit error if --without-x.
4832 (mouse-autoselect-window-select): Silence compiler.
4834 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4836 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4837 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4838 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4839 * eshell/esh-util.el (eshell-sublist):
4840 Remove unused local variables.
4842 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4844 * textmodes/two-column.el: Make 2C-split work for --without-x.
4845 (scroll-bar-columns): Autoload.
4846 (top-level): Require fringe when compiling.
4848 2013-09-18 Leo Liu <sdl.web@gmail.com>
4850 * subr.el (add-hook): Robustify to handle closure as well.
4852 2013-09-17 Glenn Morris <rgm@gnu.org>
4854 * simple.el (messages-buffer-mode-map): Unbind "g".
4856 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4858 * help-mode.el (help-mode-finish): Use derived-mode-p.
4859 Remove obsolete highlighting.
4861 * play/life.el (life-mode): Use define-derived-mode. Derive from
4863 (life): Let-bind inhibit-read-only.
4864 (life-setup): Avoid `setq'. Use `life-mode'.
4866 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4867 which should not be needed any more.
4868 (package-menu-refresh, package-menu-describe-package): Use user-error.
4870 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4871 (eshell-post-rewrite-command-hook): Make obsolete.
4872 (eshell-parse-command): Simplify.
4873 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4874 (eshell--cmd): Declare.
4875 (eshell-parse-pipeline): Remove unused var `final-p'.
4876 Pass a dynvar to eshell-post-rewrite-command-hook.
4877 Implement the new eshell-post-rewrite-command-function.
4878 (eshell-invoke-directly): Remove unused arg `input'.
4879 * eshell/esh-io.el (eshell-io-initialize):
4880 Use eshell-post-rewrite-command-function (bug#15399).
4881 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4882 adjust to new calling convention.
4883 (eshell-create-handles): Rename args to avoid clashing with dynvar
4886 2013-09-17 Glenn Morris <rgm@gnu.org>
4888 * simple.el (messages-buffer-mode): New major mode.
4889 (messages-buffer): New function.
4890 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4891 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4892 (ert-run-test): Use `messages-buffer' function.
4893 (ert--force-message-log-buffer-truncation): Ignore read-only.
4894 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4895 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4897 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4901 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4903 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4905 * icomplete.el (icomplete-in-buffer): New var.
4906 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4907 vars and replace them with functions.
4908 (icomplete-minibuffer-setup): Adjust accordingly.
4909 (icomplete--completion-table, icomplete--completion-predicate)
4910 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4912 (icomplete-forward-completions, icomplete-backward-completions)
4913 (icomplete-simple-completing-p, icomplete-exhibit)
4914 (icomplete-completions): Use them.
4915 (icomplete--in-region-buffer): New var.
4916 (icomplete--in-region-setup): New function.
4917 (icomplete-mode): Use it.
4919 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4921 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4922 return args and options.
4923 (eshell-eval-using-options): Use the new return value of
4924 eshell--do-opts to set the options's vars in their scope.
4925 (eshell--set-option): Rename from eshell-set-option.
4927 (eshell--process-option): Rename from eshell-process-option.
4929 (eshell--process-args): Use an `opt-vals' alist to store the options's
4930 values during their processing and return them additionally to the
4933 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4935 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4936 continuation character an operator, as far as indentation is
4937 concerned (Bug#15369).
4939 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4941 * window.el (window--state-put-2): Don't process buffer state
4942 when buffer doesn't exist any more (Bug#15382).
4944 2013-09-15 Glenn Morris <rgm@gnu.org>
4946 * eshell/em-unix.el (eshell/rm):
4947 Make -f ignore missing files. (Bug#15373)
4949 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4950 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4951 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4953 2013-09-14 Glenn Morris <rgm@gnu.org>
4955 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4957 2013-09-13 Glenn Morris <rgm@gnu.org>
4959 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4960 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4962 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4964 * frame.el (x-focus-frame): Mark as declared in frame.c.
4966 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4968 * ls-lisp.el: Use advice-add.
4969 (original-insert-directory): Remove.
4970 (ls-lisp--insert-directory): Rename from insert-directory; add
4971 `orig-fun' argument.
4972 (insert-directory): Advise.
4974 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4976 * term.el (term-emulate-terminal): Decode the command string
4977 before passing it to term-command-hook. (Bug#15337)
4979 2013-09-13 Glenn Morris <rgm@gnu.org>
4981 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4983 * eshell/esh-ext.el (eshell-search-path): Declare.
4985 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4986 Otherwise an error occurs if eshell-dirs module not loaded.
4988 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4990 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4992 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4993 `tramp-check-proper-host'. Check for a valid method name.
4995 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4996 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4997 * net/tramp-sh.el (tramp-maybe-open-connection):
4998 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5000 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5001 also for hash values.
5003 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5005 * term/ns-win.el (parameters): Don't declare as dynamic.
5006 (before-make-frame-hook): Don't add ineffective function.
5008 * eshell/*.el: Use lexical-binding (bug#15231).
5010 2013-09-12 Kenichi Handa <handa@gnu.org>
5012 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5014 2013-09-12 Glenn Morris <rgm@gnu.org>
5016 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5017 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5019 * subr.el (do-after-load-evaluation): Also give compiler warnings
5020 when obsolete files are used (except by obsolete files).
5022 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5023 in the status output, assume `filename' is the first. (Bug#15322)
5025 * vc/vc.el (vc-deduce-fileset): Doc fix.
5027 * calc/calc-help.el (Info-goto-node):
5028 * progmodes/cperl-mode.el (Info-find-node):
5029 * vc/ediff.el (Info-goto-node): Update declarations.
5031 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5033 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5034 (vc-bzr-pull): Require vc-dispatcher.
5035 * vc/vc-git.el (vc-compilation-mode): Declare.
5036 (vc-git-pull): Require vc-dispatcher.
5038 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5040 * progmodes/octave.el (help-button-action): Declare.
5042 * shell.el (shell-directory-tracker): Output error as a message
5043 rather than just returning it as a string.
5044 (shell-process-pushd): Remove useless use of message.
5046 * dframe.el (dframe-timer-fn):
5047 * files.el (dir-locals-read-from-file):
5048 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5050 * reveal.el (reveal-post-command):
5051 * saveplace.el (load-save-place-alist-from-file):
5052 * shell.el (shell-resync-dirs):
5053 * w32-common-fns.el (x-get-selection-value):
5054 * emacs-lisp/copyright.el (copyright-find-copyright):
5055 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5056 * emulation/tpu-edt.el (tpu-copy-keyfile):
5057 * play/bubbles.el (bubbles--mark-neighbourhood):
5058 * progmodes/executable.el
5059 (executable-make-buffer-file-executable-if-script-p):
5060 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5062 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5064 Cleanup Eshell to rely less on dynamic scoping.
5065 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5066 last-value, and ext-command here. Bind `args' closer to `body'.
5067 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5068 (eshell--args): Declare new dynamic var.
5069 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5070 last-value, and ext-command. Pass `args' to `body'.
5071 (eshell-process-args): Bind eshell--args.
5072 (eshell-set-option): Use eshell--args.
5073 * eshell/eshell.el (eshell): Use derived-mode-p.
5074 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5075 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5076 (eshell-glob-function): Declare.
5077 * eshell/esh-util.el: Require cl-lib.
5078 (eshell-read-hosts-file): Avoid add-to-list.
5079 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5081 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5083 (eshell/diff): Remove unused var `err'.
5084 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5086 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5087 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5089 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5090 Move declaration before first use.
5091 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5092 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5095 2013-09-12 Glenn Morris <rgm@gnu.org>
5097 * term/ns-win.el (global-map): Remove binding for ispell-next,
5098 deleted 1999-05-29. (Bug#15357)
5100 2013-09-11 Glenn Morris <rgm@gnu.org>
5102 * echistory.el (electric-command-history): Remove call to deleted func.
5104 * play/landmark.el (landmark-mode): Fix typos.
5106 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5107 Check cvs-sort-ignore-file is bound.
5109 * savehist.el: No need for cl when compiling on Emacs.
5111 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5115 (eshell-self-insert-command, eshell-send-invisible):
5116 Remove unused argument.
5117 (eshell-handle-control-codes): Remove unused var `orig'.
5118 Avoid delete-backward-char.
5120 * files.el (set-auto-mode): Simplify a bit further.
5122 2013-09-11 Glenn Morris <rgm@gnu.org>
5124 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5125 (set-auto-mode): Don't regexp-quote elements.
5126 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5127 * progmodes/cc-mode.el (interpreter-mode-alist):
5128 * progmodes/ruby-mode.el (interpreter-mode-alist):
5129 Revert previous change.
5131 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5133 * play/snake.el (snake-mode):
5134 * play/mpuz.el (mpuz-mode):
5135 * play/landmark.el (lm-mode):
5136 * play/blackbox.el (blackbox-mode):
5137 * play/5x5.el (5x5-mode):
5138 * obsolete/options.el (Edit-options-mode):
5139 * net/quickurl.el (quickurl-list-mode):
5140 * net/newst-treeview.el (newsticker-treeview-mode):
5141 * mail/rmailsum.el (rmail-summary-mode):
5142 * mail/mspools.el (mspools-mode):
5143 * locate.el (locate-mode):
5144 * ibuffer.el (ibuffer-mode):
5145 * emulation/ws-mode.el (wordstar-mode):
5146 * emacs-lisp/debug.el (debugger-mode):
5147 * array.el (array-mode):
5148 * net/eudc.el (eudc-mode): Use define-derived-mode.
5149 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5150 Move initialization into declaration.
5151 (mairix-searches-mode): Use define-derived-mode.
5152 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5153 (eudc-edit-hotlist): Use dolist.
5154 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5155 (Man-mode): Use define-derived-mode.
5156 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5157 (Info-edit-mode): Use define-derived-mode.
5158 (Info-cease-edit): Use Info-mode.
5159 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5161 (eshell-mode): Use define-derived-mode.
5162 * chistory.el (command-history-mode-map): Rename from
5163 command-history-map.
5164 (command-history-mode): Use define-derived-mode.
5165 (Command-history-setup): Remove function.
5166 * calc/calc.el (calc-trail-mode-map): New var.
5167 (calc-trail-mode): Use define-derived-mode.
5168 (calc-trail-buffer): Set calc-main-buffer manually.
5169 * bookmark.el (bookmark-insert-annotation): New function.
5170 (bookmark-edit-annotation): Use it.
5171 (bookmark-edit-annotation-mode): Make it a proper major mode.
5172 (bookmark-send-edited-annotation): Use derived-mode-p.
5173 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5174 closer to its ideal place. Use \' to match EOS.
5176 * profiler.el (profiler-calltree-find): Use function-equal.
5178 2013-09-10 Glenn Morris <rgm@gnu.org>
5180 * files.el (interpreter-mode-alist): Convert to regexps.
5181 (set-auto-mode): Adapt for this. (Bug#15306)
5182 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5183 Comment out unused variable.
5184 * progmodes/cc-mode.el (interpreter-mode-alist):
5185 * progmodes/python.el (interpreter-mode-alist):
5186 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5187 * progmodes/sh-script.el (sh-set-shell):
5188 No longer use interpreter-mode-alist to get list of shells.
5190 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5192 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * simple.el: Use set-temporary-overlay-map for universal-argument.
5195 (universal-argument-map): Don't use default-bindings (bug#15317).
5196 Bind switch-frame explicitly. Replace universal-argument-minus with
5197 a conditional binding.
5198 (universal-argument-num-events, saved-overriding-map): Remove.
5199 (restore-overriding-map): Remove.
5200 (universal-argument--mode): Rename from save&set-overriding-map,
5202 (universal-argument, universal-argument-more, negative-argument)
5203 (digit-argument): Adjust accordingly.
5204 (universal-argument-minus): Remove.
5205 (universal-argument-other-key): Remove.
5207 * subr.el (with-demoted-errors): Add `format' argument.
5209 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5211 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5212 `tramp-cleanup-connection'.
5214 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5215 parameters KEEP-DEBUG and KEEP-PASSWORD.
5217 * net/tramp.el (tramp-file-name-handler):
5218 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5219 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5220 (tramp-maybe-open-connection):
5221 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5222 Use `tramp-cleanup-connection'.
5224 * net/tramp-sh.el (tramp-maybe-open-connection):
5225 Catch 'uname-changed inside the progress reporter.
5227 2013-09-10 Glenn Morris <rgm@gnu.org>
5229 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5231 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5232 returns "alternate access method" in mode (eg "-rw-r--r--.").
5234 2013-09-08 Glenn Morris <rgm@gnu.org>
5236 * saveplace.el (load-save-place-alist-from-file):
5237 Demote errors. (Bug#15305)
5239 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5241 Improve compatibility with older Emacsen, and XEmacs.
5243 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5244 only if it is bound. It isn't for XEmacs.
5245 (with-tramp-progress-reporter): Do not let-bind `result'.
5246 This yields to scoping errors in XEmacs.
5247 (tramp-handle-make-auto-save-file-name): New function, moved from
5250 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5251 for `make-auto-save-file-name'.
5252 (tramp-adb--gnu-switches-to-ash):
5253 Use `tramp-compat-replace-regexp-in-string'.
5255 * net/tramp-cache.el (tramp-cache-print): Call
5256 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5258 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5259 bound. It isn't for XEmacs.
5261 * net/tramp-compat.el (tramp-compat-copy-file):
5262 Catch `wrong-number-of-arguments' error.
5263 (tramp-compat-replace-regexp-in-string): New defun.
5265 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5266 for `make-auto-save-file-name'.
5267 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5269 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5270 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5271 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5273 * net/tramp-gw.el (tramp-gw-open-network-stream):
5274 Use `tramp-compat-replace-regexp-in-string'.
5276 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5277 Call `tramp-handle-make-auto-save-file-name'.
5278 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5279 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5280 (tramp-sh-file-inotifywait-process-filter):
5281 Use `tramp-compat-replace-regexp-in-string'.
5282 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5284 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5285 for `make-auto-save-file-name'.
5286 (tramp-smb-handle-copy-directory):
5287 Call `tramp-compat-replace-regexp-in-string'.
5288 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5289 (tramp-smb-handle-copy-file): Improve error message.
5290 (tramp-smb-handle-rename-file): Rename directly only in case
5291 `newname' does not exist yet. This is a restriction of smbclient.
5292 (tramp-smb-maybe-open-connection): Rerun the function only when
5293 `auth-sources' is non-nil.
5295 2013-09-08 Kenichi Handa <handa@gnu.org>
5297 * international/characters.el: Set category "^" (Combining) for
5300 2013-09-07 Alan Mackenzie <acm@muc.de>
5302 Correctly fontify Java class constructors.
5303 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5305 (c-recognize-typeless-decls): Set the Java value to t.
5306 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5307 While handling a "(", add a check for, effectively, Java, and handle a
5308 "typeless" declaration there.
5310 2013-09-07 Roland Winkler <winkler@gnu.org>
5312 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5313 field subtitle for entry type book.
5315 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5317 * minibuffer.el: Make minibuffer-complete call completion-in-region
5318 rather than other way around.
5319 (completion--some, completion-pcm--find-all-completions):
5320 Don't delay signals when debugging.
5321 (minibuffer-completion-contents): Beware fields within the
5322 minibuffer contents.
5323 (completion-all-sorted-completions): Use defvar-local.
5324 (completion--do-completion, completion--cache-all-sorted-completions)
5325 (completion-all-sorted-completions, minibuffer-force-complete):
5326 Add args `beg' and `end'.
5327 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5328 (minibuffer-complete): Use completion-in-region.
5329 (completion-complete-and-exit): New fun, extracted from
5330 minibuffer-complete-and-exit.
5331 (minibuffer-complete-and-exit): Use it.
5332 (completion--complete-and-exit): Rename from
5333 minibuffer--complete-and-exit.
5334 (completion-in-region--single-word): New function, extracted from
5335 minibuffer-complete-word.
5336 (minibuffer-complete-word): Use it.
5337 (display-completion-list): Make `common-substring' argument obsolete.
5338 (completion--in-region): Call completion--in-region-1 instead of
5339 minibuffer-complete.
5340 (completion-help-at-point): Pass boundaries to
5341 minibuffer-completion-help as args rather than via an overlay.
5342 (completion-pcm--string->pattern): Use `any-delim'.
5343 (completion-pcm--optimize-pattern): New function.
5344 (completion-pcm--pattern->regex): Handle `any-delim'.
5345 * icomplete.el (icomplete-forward-completions)
5346 (icomplete-backward-completions, icomplete-completions):
5347 Adjust calls to completion-all-sorted-completions and
5348 completion--cache-all-sorted-completions.
5349 (icomplete-with-completion-tables): Default to t.
5350 * emacs-lisp/crm.el (crm--current-element): Rename from
5351 crm--select-current-element. Don't put an overlay but return the
5353 (crm--completion-command): Take two new args to bind to the boundaries.
5354 (crm-completion-help): Adjust accordingly.
5355 (crm-complete): Use completion-in-region.
5356 (crm-complete-word): Use completion-in-region--single-word.
5357 (crm-complete-and-exit): Use completion-complete-and-exit.
5359 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5361 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5364 2013-09-06 Juri Linkov <juri@jurta.org>
5366 * info.el (Info-display-images-node): When image file doesn't exist
5367 display text version of the image if it's provided in the Info file.
5368 Otherwise, display the location of missing image from SRC attribute.
5369 Add help-echo text property from ALT attribute. (Bug#15279)
5371 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5373 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5374 (edit-abbrevs-mode): Use define-derived-mode.
5376 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5377 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5379 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5380 Use define-derived-mode.
5382 * epg.el (epg-start-encrypt): Minor CSE simplification.
5384 2013-09-06 William Xu <william.xwl@gmail.com>
5386 * arc-mode.el: Add support for 7za (bug#15264).
5387 (archive-7z-program): New var.
5388 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5389 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5390 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5392 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5396 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5397 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5398 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5399 (tramp-postfix-host-format, tramp-file-name-regexp)
5400 (tramp-completion-file-name-regexp)
5401 (tramp-completion-dissect-file-name)
5402 (tramp-handle-substitute-in-file-name): Remove 'url case.
5403 (tramp-file-name-regexp-url)
5404 (tramp-completion-file-name-regexp-url): Remove constants.
5406 2013-09-06 Glenn Morris <rgm@gnu.org>
5408 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5410 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5412 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5413 keywords" below "here-doc beginnings" (Bug#15270).
5415 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5417 * subr.el (pop): Use `car-safe'.
5418 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5419 to detect unused `pop' return value.
5421 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5423 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5424 (python-fill-string): Remove unused var `marker'.
5425 (python-skeleton-add-menu-items): Remove unused var `items'.
5427 * international/mule-cmds.el: Require CL.
5428 (find-coding-systems-for-charsets): Avoid add-to-list.
5429 (sanitize-coding-system-list): New function, extracted from
5430 select-safe-coding-system-interactively.
5431 (select-safe-coding-system-interactively): Use it.
5432 (read-input-method-name): Accept symbols for `default'.
5434 * emacs-lisp/advice.el (defadvice): Add indent rule.
5436 2013-09-05 Daniel Hackney <dan@haxney.org>
5440 * net/browse-url.el:
5443 * net/eudcb-ldap.el:
5456 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5457 byte compiler. Remove some unused let-bound variables.
5459 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5461 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5462 a "ref-cell", since it gets better optimized (bug#14883).
5464 2013-09-05 Glenn Morris <rgm@gnu.org>
5466 * progmodes/cc-awk.el (c-forward-sws): Declare.
5468 2013-09-04 Glenn Morris <rgm@gnu.org>
5470 * generic-x.el [rul-generic-mode]: Require cc-mode.
5471 (c++-mode-syntax-table): Declare.
5472 (rul-generic-mode-syntax-table): Init in the defvar.
5474 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5476 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5477 (vc-do-command, vc-set-async-update):
5478 * vc/vc-mtn.el (vc-mtn-dir-status):
5479 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5480 (vc-hg-pull, vc-hg-merge-branch):
5481 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5482 (vc-git-merge-branch):
5483 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5484 (vc-cvs-dir-status-files):
5485 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5486 (vc-bzr-dir-status-files):
5487 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5488 * vc/vc-annotate.el: Use lexical-binding.
5489 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5490 (vc-sentinel-movepoint): Declare.
5491 (vc-annotate): Don't use `goto-line'.
5492 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5493 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5494 (vc-sentinel-movepoint): Declare.
5495 * vc/vc-svn.el: Use lexical-binding.
5496 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5498 * vc/vc-rcs.el: Use lexical-binding.
5500 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5501 `deleted'. Don't drop errors silently.
5503 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5505 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5507 * vc/vc.el (vc-ignore): Rewrite.
5508 (vc-default-ignore): New function.
5509 (vc-default-ignore-completion-table): Use find-ignore-file.
5511 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5512 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5513 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5514 Remove. Most code moved to vc.el.
5516 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5518 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5519 * net/tramp-smb.el (tramp-smb-get-file-entries):
5520 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5521 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5523 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5525 (eww-change-select): Remove unused var `properties'.
5526 (eww-make-unique-file-name): Remove unused var `base'.
5528 * finder.el (finder-compile-keywords): Don't mess with windows.
5530 * calculator.el (calculator-funcall): Fix typo in last change.
5532 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5534 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5535 <pkg>-autoloads.el file stop us.
5537 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5538 warnings, and factor out common code.
5540 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5542 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5543 two-character operators and whether the character preceding them
5544 changes their meaning (Bug#15208).
5546 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5548 Format code sent to Python shell for robustness.
5549 * progmodes/python.el (python-shell-buffer-substring):
5551 (python-shell-send-region, python-shell-send-buffer): Use it.
5553 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5555 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5556 * net/tramp.el (tramp-user-error): ... here.
5557 (tramp-find-method, tramp-check-proper-host)
5558 (tramp-dissect-file-name, tramp-debug-message)
5559 (tramp-handle-shell-command):
5560 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5561 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5563 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5565 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5567 * avoid.el (mouse-avoidance-point-position)
5568 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5571 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5573 * progmodes/python.el (python-shell-completion-get-completions):
5574 Drop use of deleted `comint-last-prompt-overlay'.
5575 (python-nav-if-name-main): New command.
5577 2013-09-01 Glenn Morris <rgm@gnu.org>
5579 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5580 Avoid leading space in $wins. Otherwise the sed command used by
5581 eg compile-main ends up containing "/*.el". (Bug#15170)
5583 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5585 2013-08-30 Glenn Morris <rgm@gnu.org>
5587 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5588 Fix is-this-a-directory logic. (Bug#15220)
5590 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * textmodes/css-mode.el: Use SMIE.
5593 (css-smie-grammar): New var.
5594 (css-smie--forward-token, css-smie--backward-token)
5595 (css-smie-rules): New functions.
5596 (css-mode): Use them.
5597 (css-navigation-syntax-table): Remove var.
5598 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5599 (css-indent-calculate, css-indent-line): Remove functions.
5601 Misc changes to reduce use of `(lambda...); and other cleanups.
5602 * cus-edit.el: Use lexical-binding.
5603 (customize-push-and-save, customize-apropos)
5604 (custom-buffer-create-internal): Use closures.
5605 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5606 * progmodes/ada-xref.el: Use setq.
5607 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5608 * dframe.el: Use lexical-binding.
5609 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5610 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5611 * descr-text.el: Use lexical-binding.
5612 (describe-text-widget, describe-text-sexp, describe-property-list):
5614 * comint.el (comint-history-isearch-push-state): Use a closure.
5615 * calculator.el: Use lexical-binding.
5616 (calculator-number-to-string): Make it work with lexical-binding.
5617 (calculator-funcall): Same and use cl-letf.
5619 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5620 (lisp--company-doc-string, lisp--company-location): New functions.
5621 (lisp-completion-at-point): Use them to improve Company support.
5623 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5624 params of lambda expressions.
5625 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5626 (ruby-smie--opening-pipe-p): New function.
5627 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5628 symbols and matched |...| for formal params.
5629 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5630 from being treated as hanging. Handle "rescue".
5632 2013-08-29 Glenn Morris <rgm@gnu.org>
5634 * progmodes/cc-engine.el (c-pull-open-brace):
5635 Move definition before use.
5637 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5639 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5640 are immutable. Don't use `unsafe' any more.
5641 (cl--defsubst-expand): Don't substitute at the same time as keeping
5642 a residual unused let-binding. Don't use `unsafe' any more.
5644 2013-08-29 Glenn Morris <rgm@gnu.org>
5646 * calendar/cal-china.el (calendar-chinese-year-cache):
5649 * nxml/nxml-util.el (nxml-debug-clear-inside):
5650 Use cl-loop rather than loop.
5652 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5654 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5656 2013-08-28 Glenn Morris <rgm@gnu.org>
5658 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5660 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5662 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5664 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * simple.el (repeat-complex-command--called-interactively-skip):
5668 (repeat-complex-command): Use it (bug#14136).
5670 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5671 (c-define-abbrev-table): Add `doc' argument.
5672 (c-mode-abbrev-table, c++-mode-abbrev-table)
5673 (objc-mode-abbrev-table, java-mode-abbrev-table)
5674 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5675 (awk-mode-abbrev-table): Use it.
5676 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5677 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5678 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5679 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5680 Move initialization into the declaration; and remove any
5683 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5684 and dynamic let binding.
5686 * vc/smerge-mode.el: Remove redundant :group args.
5688 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5691 2013-08-28 Juri Linkov <juri@jurta.org>
5693 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5694 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5695 (isearch-other-meta-char): Handle an undefined shifted printing
5696 character by downshifting it. (Bug#15200)
5698 2013-08-28 Juri Linkov <juri@jurta.org>
5700 * isearch.el (isearch-search): Change regexp error message for
5701 non-regexp searches. (Bug#15166)
5703 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5705 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5706 for portability to hosts where /bin/sh has problems.
5708 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5710 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5712 2013-08-27 Juri Linkov <juri@jurta.org>
5714 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5715 in the keyboard macro. (Bug#15126)
5717 2013-08-27 Juri Linkov <juri@jurta.org>
5719 * isearch.el (isearch-quote-char): Comment out converting unibyte
5720 to multibyte, thus syncing with its `quoted-insert' counterpart.
5723 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5725 * window.el (display-buffer-use-some-window): Add missing
5726 argument in call of get-largest-window (Bug#15185).
5727 Reported by Stephen Leake.
5729 2013-08-27 Glenn Morris <rgm@gnu.org>
5731 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5733 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5736 from a matcher-function unless there's no more matches (bug#15161).
5738 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5740 * minibuffer.el: Revert change from 2013-08-20.
5742 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5743 with text property `tramp-default', if appropriate.
5744 (tramp-check-proper-host): New defun.
5745 (tramp-dissect-file-name): Do not check hostname. Revert change
5747 (tramp-backtrace): Make VEC-OR-PROC optional.
5749 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5750 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5751 * net/tramp-sh.el (tramp-maybe-open-connection):
5752 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5753 Apply `tramp-check-proper-host'.
5755 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5757 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5758 lambda expression in order to have `describe-variable' display it.
5760 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5762 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5763 BUF can be optional. (Bug#15186)
5765 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5767 * progmodes/flymake.el (flymake-get-real-file-name-function):
5768 Fix broken customization. (Bug#15184)
5770 2013-08-25 Alan Mackenzie <acm@muc.de>
5772 Improve indentation of bracelists defined by macros (without "=").
5774 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5775 expansion begins with "{", regard it as bracelist when it doesn't
5778 Parse C++ inher-intro when there's a template split over 2 lines.
5780 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5781 rigorously the search for "class" etc. followed by ":".
5783 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5784 random languages a regexp which never matches rather than nil.
5786 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5788 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5789 (c-awk-regexp-one-line-possibly-open-char-list-re)
5790 (c-awk-one-line-possibly-open-regexp-re)
5791 (c-awk-one-line-non-syn-ws*-re): Remove.
5792 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5793 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5794 (c-awk-space*-unclosed-regexp-/-re): New constants.
5795 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5796 aren't regexp delimiters.
5798 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5799 handling for a rare situation in AWK Mode involving unterminated
5802 2013-08-23 Glenn Morris <rgm@gnu.org>
5804 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5806 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5808 * files.el (create-file-buffer): If the result would begin with
5809 spaces, prepend a "|" instead of removing them. (Bug#15162)
5811 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5814 text-properties (bug#15155).
5816 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5818 (calc-keypad-redraw): Remove unused var `pad'.
5819 (calc-keypad-press): Remove unused var `menu'.
5821 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5823 * window.el (display-buffer-pop-up-frame):
5824 Call pop-up-frame-function with BUFFER current so `make-frame' will
5825 use it as the new frame's buffer (Bug#15133).
5827 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5829 * calendar/timeclock.el: Minor cleanups.
5830 (timeclock-ask-before-exiting, timeclock-use-display-time):
5832 (timeclock-modeline-display): Define as alias before the
5834 (timeclock-mode-line-display): Use define-minor-mode.
5835 (timeclock-day-list-template): Make it a function, add an argument.
5836 (timeclock-day-list-required, timeclock-day-list-length)
5837 (timeclock-day-list-debt, timeclock-day-list-span)
5838 (timeclock-day-list-break): Adjust calls accordingly.
5840 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5843 Use read--expression so that completion works again.
5845 2013-08-21 Sam Steingold <sds@gnu.org>
5847 Add rudimentary inferior shell interaction
5848 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5849 (sh-set-shell): Reset it.
5850 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5851 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5853 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * align.el: Use lexical-binding.
5856 (align-region): Simplify accordingly.
5858 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5860 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5862 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5865 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5869 * net/tramp-cmds.el:
5871 * net/tramp-gvfs.el:
5873 * net/tramp-sh.el: Don't wrap external variable declarations by
5874 `eval-when-compile'.
5876 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5878 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5879 now that Emacs supports ImageMagick animations.
5881 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5883 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5884 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5886 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5888 * window.el (mouse-autoselect-window-select): Do autoselect when
5889 mouse pointer is on margin.
5891 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5893 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5895 2013-08-16 Glenn Morris <rgm@gnu.org>
5897 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5898 Handle "Remote Directory" response of some clients. (Bug#15058)
5900 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5901 Tweak warning. (Bug#14926)
5903 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5904 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5906 * image-mode.el (image-mode-map): Add menu items to reverse,
5907 increase, decrease, reset animation speed.
5908 (image--set-speed, image-increase-speed, image-decrease-speed)
5909 (image-reverse-speed, image-reset-speed): New functions.
5910 (image-mode-map): Add bindings for speed commands.
5912 * image.el (image-animate-get-speed, image-animate-set-speed):
5914 (image-animate-timeout): Respect image :speed property.
5916 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5918 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5919 previous line (bug#15101).
5920 (debugger-eval-expression, debugger-record-expression):
5921 Use read--expression (bug#15102).
5923 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5925 Remove byte compiler warnings, visible when compiling with
5926 `byte-compile-force-lexical-warnings' set to t.
5928 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5929 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5930 (tramp-handle-unhandled-file-name-directory)
5931 (tramp-handle-file-notify-add-watch, tramp-action-login)
5932 (tramp-action-succeed, tramp-action-permission-denied)
5933 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5936 * net/tramp-adb.el (tramp-adb-parse-device-names)
5937 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5938 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5939 (tramp-adb-handle-file-truename): Remove unused arguments.
5941 * net/tramp-cache.el (tramp-flush-directory-property)
5942 (tramp-flush-connection-property, tramp-list-connections)
5943 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5945 * net/tramp-compat.el (tramp-compat-make-temp-file):
5946 Rename FILENAME to F.
5948 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5949 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5950 (tramp-zeroconf-parse-workstation-device-names)
5951 (tramp-zeroconf-parse-webdav-device-names)
5952 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5954 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5955 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5957 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5959 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5960 (tramp-sh-handle-insert-file-contents-literally)
5961 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5963 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5964 Remove unused variables.
5966 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5967 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5968 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5970 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5971 Make them a defconst.
5972 (tramp-uuencode-region): Remove unused variable.
5974 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5976 * frameset.el (frameset--prop-setter): New function.
5977 (frameset-prop): Add gv-setter declaration.
5978 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5979 parameter was already set in FILTERED. Doc fix.
5980 (frameset--record-minibuffer-relationships): Allow saving a
5981 minibufferless frame without its corresponding minibuffer frame.
5982 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5983 frame, if the frame id matches.
5984 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5985 frames before orphaned ones.
5986 (frameset-restore): Warn about orphaned windows, instead of error out.
5988 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5990 * window.el (window-make-atom): Don't overwrite parameter
5992 (display-buffer-in-atom-window): Handle special case where we
5993 split an already atomic window.
5994 (window--major-non-side-window, display-buffer-in-side-window)
5995 (window--side-check): Ignore minibuffer window when walking
5997 (window-deletable-p): Return 'frame only if no other frame uses
5998 our minibuffer window.
5999 (record-window-buffer): Run buffer-list-update-hook.
6000 (split-window): Make sure window--check-frame won't destroy an
6001 existing atomic window in case the new window gets nested
6003 (display-buffer-at-bottom): Ignore minibuffer window when
6004 walking window tree. Don't split a side window.
6005 (pop-to-buffer): Don't set-buffer here, the select-window call
6007 (mouse-autoselect-window-select): Autoselect only if we are in the
6008 text portion of the window.
6010 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6012 * net/shr.el (shr-parse-image-data): New function to grab both the
6013 data itself and the Content-Type.
6014 (shr-put-image): Use it.
6016 * net/eww.el (eww-display-image): Ditto.
6018 * image.el (image-content-type-suffixes): New variable.
6020 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6022 * progmodes/python.el (python-imenu--build-tree)
6023 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6025 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6027 * simple.el (backward-word): Mention the optional argument.
6029 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * frameset.el (frameset--make): Rename constructor from make-frameset.
6032 (frameset-p, frameset-valid-p): Don't autoload.
6033 (frameset-valid-p): Use normal accessors.
6035 2013-08-13 Glenn Morris <rgm@gnu.org>
6037 * progmodes/compile.el (compile-command): Tweak example in doc.
6038 * obsolete/scribe.el (scribe-mode):
6039 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6041 * mail/feedmail.el (feedmail-confirm-outgoing)
6042 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6044 * cus-start.el (truncate-partial-width-windows): Fix type.
6046 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6048 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6050 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6052 * emacs-lisp/timer.el (timer--time-setter): New function.
6053 (timer--time): Use it as gv-setter.
6055 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6056 setter is not a symbol.
6058 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6060 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6061 if sending fails. This makes debugging easier.
6063 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6065 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6066 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6067 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6069 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6071 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6073 2013-08-12 Glenn Morris <rgm@gnu.org>
6075 * format.el (format-annotate-function):
6076 Handle read-only text properties in the source. (Bug#14887)
6078 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080 * net/eww.el (eww-display-html): Ignore coding system errors.
6081 One web site uses "utf-8lias" as the coding system.
6083 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6085 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6087 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6089 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6090 (tutorial--detailed-help): Remove unused local variables.
6091 (tutorial--save-tutorial-to): Use ignore-errors.
6092 (help-with-tutorial): Use looking-at-p.
6094 * view.el (view-buffer-other-window, view-buffer-other-frame):
6095 Mark unused arguments.
6097 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6098 (woman-select-symbol-fonts, woman, woman-find-file)
6099 (woman-insert-file-contents, woman-non-underline-faces):
6101 (woman1-unquote): Move declaration.
6103 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6104 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6105 argument. Remove unused local variable.
6106 (xml-parse-elem-type): Use string-match-p.
6107 (xml-substitute-numeric-entities): Use ignore-errors.
6109 * calculator.el (calculator): Mark unused argument.
6110 (calculator-paste, calculator-quit, calculator-integer-p):
6112 (calculator-string-to-number, calculator-decimal, calculator-exp)
6113 (calculator-op-or-exp): Use string-match-p.
6115 * dired.el (dired-buffer-more-recently-used-p): Declare.
6116 (dired-insert-set-properties, dired-insert-old-subdirs):
6119 * dired-aux.el (dired-compress): Use ignore-errors.
6120 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6121 (dired-do-async-shell-command, dired-do-shell-command)
6122 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6123 (dired-insert-subdir-validate): Use string-match-p.
6124 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6125 (dired-add-entry): Use string-match-p, looking-at-p.
6126 (dired-insert-subdir-newpos): Remove unused local variable.
6128 * filenotify.el (file-notify-callback): Remove unused local variable.
6130 * filesets.el (filesets-error): Mark unused argument.
6131 (filesets-which-command-p, filesets-filter-dir-names)
6132 (filesets-directory-files, filesets-get-external-viewer)
6133 (filesets-ingroup-get-data): Use string-match-p.
6135 * find-file.el (ff-other-file-name, ff-other-file-name)
6136 (ff-find-the-other-file, ff-cc-hh-converter):
6137 Remove unused local variables.
6138 (ff-get-file-name): Use string-match-p.
6139 (ff-all-dirs-under): Use ignore-errors.
6141 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6142 (follow-select-if-visible): Remove unused local variable.
6144 * forms.el (read-file-filter): Move declaration.
6145 (forms--make-format, forms--make-parser, forms-insert-record):
6146 Quote function with #'.
6147 (forms--update): Use string-match-p. Quote function with #'.
6149 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6150 (help-make-xrefs): Use looking-at-p.
6151 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6153 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6154 (ibuffer-confirm-operation-on): Use string-match-p.
6156 * msb.el (msb-item-handler, msb-dired-item-handler):
6157 Mark unused arguments.
6159 * ses.el (ses-decode-cell-symbol)
6160 (ses-kill-override): Remove unused local variable.
6161 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6162 (ses-load): Use ignore-errors, looking-at-p.
6163 (ses-jump-safe): Use ignore-errors.
6164 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6166 * tabify.el (untabify, tabify): Mark unused arguments.
6168 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6169 Mark unused argument.
6170 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6171 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6173 * emacs-lisp/timer.el (timer--time): Define setter with
6174 gv-define-setter to avoid deprecation warning.
6176 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6177 (*record-cmpl-statistics-p*): Remove (was commented out).
6178 (cmpl-statistics-block): Remove (body was commented out).
6179 All callers changed.
6180 (add-completions-from-buffer, load-completions-from-file):
6181 Remove unused variables.
6183 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6185 * filecache.el (file-cache-delete-file-list):
6186 Print message only when told so.
6187 (file-cache-files-matching): Use #' in mapconcat argument.
6189 * ffap.el (ffap-url-at-point): Fix reference to variable
6190 thing-at-point-default-mail-uri-scheme.
6192 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * subr.el (define-error): New function.
6195 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6196 error-file-not-found and define with define-error.
6197 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6198 and define with define-error.
6199 * userlock.el (file-locked, file-supersession):
6200 * simple.el (mark-inactive):
6201 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6202 * progmodes/ada-mode.el (ada-mode-errors):
6203 * play/life.el (life-extinct):
6204 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6205 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6206 * nxml/rng-util.el (rng-error):
6207 * nxml/rng-uri.el (rng-uri-error):
6208 * nxml/rng-match.el (rng-compile-error):
6209 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6210 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6211 * nxml/nxml-rap.el (nxml-scan-error):
6212 * nxml/nxml-outln.el (nxml-outline-error):
6213 * net/soap-client.el (soap-error):
6214 * net/gnutls.el (gnutls-error):
6215 * net/ange-ftp.el (ftp-error):
6216 * mpc.el (mpc-proc-error):
6217 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6218 (json-number-format, json-string-escape, json-string-format)
6219 (json-key-format, json-object-format):
6220 * jka-compr.el (compression-error):
6221 * international/quail.el (quail-error):
6222 * international/kkc.el (kkc-error):
6223 * emacs-lisp/ert.el (ert-test-failed):
6224 * calc/calc.el (calc-error, inexact-result, math-overflow)
6226 * bookmark.el (bookmark-error-no-filename):
6227 * epg.el (epg-error): Define with define-error.
6229 * time.el (display-time-event-handler)
6230 (display-time-next-load-average): Don't call sit-for since it seems
6231 unnecessary (bug#15045).
6233 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6234 Use #' instead of ' to quote functions.
6235 (checkdoc-output-mode): Use setq-local.
6236 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6237 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6238 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6239 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6240 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6241 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6242 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6243 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6245 * ido.el (ido-completion-help): Fix up compiler warning.
6247 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6249 * frameset.el (frameset-p): Add autoload cookie.
6250 (frameset--jump-to-register): New function, based on code moved from
6252 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6254 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6255 (frameset-restore, frameset-save, frameset-session-filter-alist):
6256 Remove declarations.
6257 (register-alist): Doc fix.
6258 (frameset-to-register): Move to frameset.el.
6259 (jump-to-register, describe-register-1): Remove frameset-specific code.
6261 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6263 * allout-widgets.el (allout-widgets-pre-command-business)
6264 (allout-widgets-post-command-business)
6265 (allout-widgets-after-change-handler)
6266 (allout-decorate-item-and-context, allout-set-boundary-marker)
6267 (allout-body-modification-handler)
6268 (allout-graphics-modification-handler): Mark ignored arguments.
6269 (allout-widgets-post-command-business)
6270 (allout-widgets-exposure-change-processor)
6271 (allout-widgets-exposure-undo-processor)
6272 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6273 (allout-parse-item-at-point, allout-decorate-item-guides)
6274 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6275 * allout.el (epa-passphrase-callback-function): Declare.
6276 (allout-overlay-insert-in-front-handler)
6277 (allout-overlay-interior-modification-handler)
6278 (allout-isearch-end-handler, allout-chart-siblings)
6279 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6280 (allout-yank-processing, allout-process-exposed)
6281 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6282 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6283 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6284 (lisp-indent-defform): Mark ignored arguments.
6285 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6286 (calculate-lisp-indent): Remove unused variables.
6287 * international/characters.el (indian-2-column, arabic-2-column)
6288 (tibetan): Mark ignored arguments.
6289 (use-cjk-char-width-table): Mark ignored arguments.
6290 Remove unused variables.
6291 * international/fontset.el (build-default-fontset-data)
6292 (x-compose-font-name, create-fontset-from-fontset-spec):
6293 Mark ignored arguments.
6294 (fontset-plain-name): Remove unused variables.
6295 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6296 (keyboard-coding-system): Mark ignored arguments.
6297 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6298 * help.el (resize-temp-buffer-window):
6299 * window.el (display-buffer-in-major-side-window)
6300 (display-buffer-in-side-window, display-buffer-in-previous-window):
6301 Remove unused variables.
6302 * isearch.el (isearch-forward-symbol):
6303 * version.el (emacs-bzr-version-bzr):
6304 * international/mule-cmds.el (current-language-environment):
6305 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6307 * term/pc-win.el (x-list-fonts, x-display-planes)
6308 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6309 (x-server-version, x-display-screens, x-display-mm-height)
6310 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6311 (x-selection-owner-p, x-own-selection-internal)
6312 (x-disown-selection-internal, x-get-selection-internal)
6313 (msdos-initialize-window-system):
6314 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6315 * term/x-win.el (x-handle-no-bitmap-icon):
6316 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6317 (vc-default-find-file-hook, vc-default-extra-menu):
6318 Mark ignored arguments.
6320 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6323 break-condition in the context of the debugged code (bug#12685).
6325 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6328 Do not use an overlay to highlight the last prompt. (Bug#14744)
6329 (comint-mode): Make comint-last-prompt buffer local.
6330 (comint-last-prompt): New variable.
6331 (comint-last-prompt-overlay): Remove. Superseded by
6333 (comint-snapshot-last-prompt, comint-output-filter):
6334 Use comint-last-prompt.
6336 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6338 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6339 (frameset-save): Check validity of the resulting frameset.
6341 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6343 * ido.el (ido-record-command): Add doc string.
6345 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6347 * frameset.el (frameset): Do not disable creation of the default
6348 frameset-p predicate. Doc fix.
6349 (frameset-valid-p): New function, copied from the old predicate-p.
6350 Add additional checks.
6351 (frameset-restore): Check with frameset-valid-p.
6352 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6353 (frameset-name, frameset-description, frameset-properties)
6354 (frameset-states): Add docstring.
6355 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6356 (frameset-filter-alist): Doc fixes.
6358 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6360 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6362 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6364 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6365 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6366 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6367 (byte-compile-normal-call): Remove obsolescence check.
6369 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6371 * frameset.el (frameset-restore): Doc fix.
6373 * register.el (frameset-frame-id, frameset-frame-with-id)
6374 (frameset-p, frameset-restore, frameset-save): Declare.
6375 (register-alist): Document framesets.
6376 (frameset-session-filter-alist): Declare.
6377 (frameset-to-register): New function.
6378 (jump-to-register): Implement jumping to framesets. Doc fix.
6379 (describe-register-1): Describe framesets.
6381 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6383 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6385 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6386 Use lexical-binding.
6388 * frameset.el (frameset): Use type vector, not list (incompatible
6389 change). Do not declare a new constructor, use the default one.
6390 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6391 `name' and `description', respectively, and add read-only slot
6392 `timestamp'. Doc fixes.
6393 (frameset-copy, frameset-persistent-filter-alist)
6394 (frameset-filter-alist, frameset-switch-to-gui-p)
6395 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6396 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6397 (frameset-filter-iconified, frameset-keep-original-display-p):
6399 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6400 Rename from frameset-filter-(save|restore)-param. All callers changed.
6402 (frameset-p): Adapt to change to vector and be more thorough.
6403 Change arg name to OBJECT. Doc fix.
6404 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6405 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6406 All callers changed.
6407 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6408 All callers changed.
6409 (frameset--record-minibuffer-relationships): Rename from
6410 frameset--process-minibuffer-frames. All callers changed.
6411 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6412 Use new default constructor (again). Doc fix.
6413 (frameset--find-frame-if): Rename from `frameset--find-frame.
6414 All callers changed.
6415 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6416 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6418 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6419 PARAMETERS and WINDOW-STATE, respectively.
6420 (frameset-restore): Add new keyword argument PREDICATE.
6421 Reset frameset--target-display to nil. Doc fix.
6423 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6425 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6427 (bat-mode-syntax-table): Mark \n as end-of-comment.
6428 (bat-font-lock-keywords): Remove comment rule.
6430 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6431 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6433 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6434 (byte-compile-callargs-warn): Use `push'.
6435 (byte-compile-arglist-warn): Ignore higher-order "calls".
6436 (byte-compile-file-form-autoload): Use `pcase'.
6437 (byte-compile-function-form): If quoting a symbol, check that it exists.
6439 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6441 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6442 and add a few popular commands found in batch files.
6443 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6444 (dos-mode): Doc fixes.
6446 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6449 (dos-mode): Use setq-local. Add space after "rem".
6450 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6451 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6453 2013-08-07 Arni Magnusson <arnima@hafro.is>
6455 * progmodes/dos.el: New file.
6456 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6459 2013-08-06 Glenn Morris <rgm@gnu.org>
6461 * calendar/calendar.el: Add new faces, and day-header-array.
6462 (calendar-weekday-header, calendar-weekend-header)
6463 (calendar-month-header): New faces.
6464 (calendar-day-header-construct): New function.
6465 (calendar-day-header-width): Also :set calendar-day-header-array.
6466 (calendar-american-month-header, calendar-european-month-header)
6467 (calendar-iso-month-header): Use calendar- faces.
6468 (calendar-generate-month):
6469 Use calendar-day-header-array for day headers; apply faces to them.
6470 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6471 (calendar-abbrev-construct): Add optional maxlen argument.
6472 (calendar-day-name-array): Doc fix.
6473 (calendar-day-name-array, calendar-abbrev-length)
6474 (calendar-day-abbrev-array):
6475 Also :set calendar-day-header-array, and maybe redraw.
6476 (calendar-day-header-array): New option. (Bug#15007)
6477 (calendar-font-lock-keywords): Set to nil and make obsolete.
6478 (calendar-day-name): Add option to use header array.
6480 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6482 * net/shr.el (shr-render-td): Remove debugging.
6483 (shr-render-td): Make width computation consistent by defaulting
6484 all zero-width columns to 10 characters. This may not be optimal,
6485 but it's at least consistent.
6486 (shr-make-table-1): Redo last change to fix the real problem in
6489 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6491 * files.el (cache-long-line-scans):
6492 Make obsolete alias to `cache-long-scans'.
6494 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6496 * frameset.el (frameset, frameset-filter-alist)
6497 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6498 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6499 (frameset-compute-pos): Rename from frameset--compute-pos,
6501 (frameset-move-onscreen): Use frameset-compute-pos.
6502 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6504 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6505 Fix typos in docstrings.
6507 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6509 * frame.el (get-other-frame): Tiny cleanup.
6511 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6513 * vc/vc.el (vc-default-ignore-completion-table):
6514 Silence byte-compiler warning.
6516 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6517 slot , which can indeed be nil.
6518 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6519 Move entry for `left' from persistent to live filter alist.
6520 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6522 (frameset-filter-params): When restoring a frame, copy items added to
6523 `filtered', to avoid unwittingly modifying the original parameters.
6524 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6525 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6527 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6528 to use looking-at-p instead of looking-at. (Bug#15028)
6530 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6532 Revert introduction of isearch-filter-predicates (bug#14714).
6533 Rely on add-function instead.
6534 * isearch.el (isearch-filter-predicates): Rename it back to
6535 isearch-filter-predicate.
6536 (isearch-message-prefix): Use advice-function-mapc and advice
6537 properties to get the isearch-message-prefix.
6538 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6539 instead of run-hook-with-args-until-failure.
6540 (isearch-filter-visible): Not obsolete any more.
6541 * loadup.el: Preload nadvice.
6542 * replace.el (perform-replace): Revert to funcall
6543 instead of run-hook-with-args-until-failure.
6544 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6545 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6546 dired-isearch-filenames-toggle; make it into a proper minor mode.
6547 Use add/remove-function.
6548 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6549 Call the minor-mode rather than add/remove-hook.
6550 (dired-isearch-filter-filenames):
6551 Remove isearch-message-prefix property.
6552 * info.el (Info--search-loop): New function, extracted from Info-search.
6553 Funcall isearch-filter-predicate instead of
6554 run-hook-with-args-until-failure isearch-filter-predicates.
6555 (Info-search): Use it.
6556 (Info-mode): Use isearch-filter-predicate instead of
6557 isearch-filter-predicates.
6559 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6561 Do not call to `selected-window' where it is assumed by default.
6562 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6563 `window-hscroll', `window-width', `window-height', `window-buffer',
6564 `window-frame', `window-start', `window-point', `next-window'
6565 and `window-display-table'.
6566 * abbrev.el (abbrev--default-expand):
6567 * bs.el (bs--show-with-configuration):
6568 * buff-menu.el (Buffer-menu-mouse-select):
6569 * calc/calc.el (calc):
6570 * calendar/calendar.el (calendar-generate-window):
6571 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6573 * comint.el (send-invisible, comint-dynamic-complete-filename)
6574 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6575 * completion.el (complete):
6576 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6577 * disp-table.el (describe-current-display-table):
6578 * doc-view.el (doc-view-insert-image):
6579 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6580 * ehelp.el (with-electric-help):
6581 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6582 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6583 * emacs-lisp/helper.el (Helper-help-scroller):
6584 * emulation/cua-base.el (cua--post-command-handler-1):
6585 * eshell/esh-mode.el (eshell-output-filter):
6586 * ffap.el (ffap-gnus-wrapper):
6587 * help-macro.el (make-help-screen):
6588 * hilit-chg.el (highlight-compare-buffers):
6589 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6590 * hl-line.el (global-hl-line-highlight):
6591 * icomplete.el (icomplete-simple-completing-p):
6592 * isearch.el (isearch-done):
6593 * jit-lock.el (jit-lock-stealth-fontify):
6594 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6595 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6596 * mpc.el (mpc-tagbrowser, mpc):
6597 * net/rcirc.el (rcirc-any-buffer):
6598 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6599 * play/landmark.el (landmark-max-width, landmark-max-height):
6600 * play/zone.el (zone):
6601 * progmodes/compile.el (compilation-goto-locus):
6602 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6603 * progmodes/etags.el (find-tag-other-window):
6604 * progmodes/fortran.el (fortran-column-ruler):
6605 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6606 * progmodes/verilog-mode.el (verilog-point-text):
6607 * reposition.el (reposition-window):
6608 * rot13.el (toggle-rot13-mode):
6609 * server.el (server-switch-buffer):
6610 * shell.el (shell-dynamic-complete-command)
6611 (shell-dynamic-complete-environment-variable):
6612 * simple.el (insert-buffer, set-selective-display)
6613 (delete-completion-window):
6614 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6615 (speedbar-recenter):
6616 * startup.el (fancy-splash-head):
6617 * textmodes/ispell.el (ispell-command-loop):
6618 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6619 * tutorial.el (help-with-tutorial):
6620 * vc/add-log.el (add-change-log-entry):
6621 * vc/compare-w.el (compare-windows):
6622 * vc/ediff-help.el (ediff-indent-help-message):
6623 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6624 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6625 (ediff-setup-control-frame):
6626 * vc/emerge.el (emerge-position-region):
6627 * vc/pcvs-util.el (cvs-bury-buffer):
6628 * window.el (walk-windows, mouse-autoselect-window-select):
6629 * winner.el (winner-set-conf, winner-undo): Related users changed.
6631 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6633 * frameset.el (frameset--set-id): Doc fix.
6634 (frameset-frame-id, frameset-frame-id-equal-p)
6635 (frameset-locate-frame-id): New functions.
6636 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6637 (frameset-restore): Use them.
6639 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6641 Do not call to `selected-frame' where it is assumed by default.
6642 Affected functions are `raise-frame', `redraw-frame',
6643 `frame-first-window', `frame-terminal' and `delete-frame'.
6644 * calendar/appt.el (appt-disp-window):
6645 * epg.el (epg-wait-for-completion):
6646 * follow.el (follow-delete-other-windows-and-split)
6647 (follow-avoid-tail-recenter):
6648 * international/mule.el (set-terminal-coding-system):
6649 * mail/rmail.el (rmail-mail-return):
6650 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6651 * progmodes/f90.el (f90-add-imenu-menu):
6652 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6653 * server.el (server-switch-buffer):
6654 * simple.el (delete-completion-window):
6656 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6657 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6658 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6659 * vc/ediff.el (ediff-documentation): Related users changed.
6660 * frame.el (selected-terminal): Remove the leftover.
6662 2013-08-05 Glenn Morris <rgm@gnu.org>
6664 * calendar/calendar.el (calendar-generate-month):
6665 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6666 (calendar-generate-month, calendar-font-lock-keywords):
6667 Fix for calendar-day-header-width > length of any day name.
6669 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6671 * desktop.el (desktop-clear): Use new name of sort predicate.
6673 * frameset.el (frameset): Add docstring. Move :version property to its
6675 (frameset-copy): Rename from copy-frameset.
6676 (frameset-p): Check more thoroughly.
6677 (frameset-prop): Do not check for :version, which is no longer a prop.
6678 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6679 Use new :never value instead of t.
6680 (frameset-filter-alist): Expand and clarify docstring.
6681 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6682 (frameset-filter-minibuffer, frameset-filter-save-param)
6683 (frameset-filter-restore-param, frameset-filter-iconified):
6684 Add pointer to docstring of frameset-filter-alist.
6685 (frameset-filter-params): Rename filter values to be more meaningful:
6686 :never instead of t, and reverse the meanings of :save and :restore.
6687 (frameset--process-minibuffer-frames): Clarify error message.
6688 (frameset-save): Avoid unnecessary and confusing call to framep.
6689 Use new BOA constructor for framesets.
6690 (frameset--reuse-list): Doc fix.
6691 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6692 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6693 (frameset-minibufferless-first-p): Doc fix.
6694 Rename from frameset-sort-frames-for-deletion.
6695 (frameset-restore): Doc fixes. Use new function names.
6696 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6698 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6700 * desktop.el (desktop-restore-forces-onscreen)
6701 (desktop-restore-reuses-frames): Document :keyword constant values.
6702 (desktop-filter-parameters-alist): Remove, now identical to
6703 frameset-filter-alist.
6704 (desktop--filter-tty*): Remove, moved to frameset.el.
6705 (desktop-save-frameset, desktop-restore-frameset):
6706 Do not pass :filters argument.
6708 * frameset.el (frameset-live-filter-alist)
6709 (frameset-persistent-filter-alist): New variables.
6710 (frameset-filter-alist): Use them. Add autoload cookie.
6711 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6712 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6713 `frameset--id' (it's supposed to be internal to frameset.el).
6714 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6715 (frameset--initial-params): New function.
6716 (frameset--get-frame): Use it. Doc fix.
6717 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6718 Accept :all, not 'all.
6719 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6720 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6721 with fbound symbols. Fix frame id matching, and remove matching ids if
6722 the frame being restored is deleted. Obey :delete.
6724 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6726 * subr.el (macrop): New function.
6727 (text-clone--maintaining): New var.
6728 (text-clone--maintain): Rename from text-clone-maintain. Use it
6729 instead of inhibit-modification-hooks.
6731 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6732 a proxy, so as handle autoloads and redefinitions of the target.
6733 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6735 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6736 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6737 (pcase--mutually-exclusive-p): New function.
6738 (pcase--split-consp): Use it.
6739 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6740 mutually exclusive with the current predicate.
6742 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6743 (edebug-macrop): Remove. Use `macrop' instead.
6744 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6746 * eshell/esh-cmd.el (eshell-macrop):
6747 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6749 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6752 (advice-mapc): New function, using it.
6753 (advice-function-member-p): New function.
6754 (advice--normalize): Store the cdr in advice--saved-rewrite since
6755 that's the part that will be changed.
6756 (advice--symbol-function): New function.
6757 (advice-remove): Handle removal before the function is defined.
6758 Adjust to new advice--saved-rewrite.
6759 (advice-member-p): Use advice-function-member-p and
6760 advice--symbol-function.
6762 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6764 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6765 (frameset-filter-minibuffer): Doc fix.
6766 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6767 (frameset--set-id, frameset--process-minibuffer-frames)
6768 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6769 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6771 * desktop.el (desktop-clear): Only delete frames when called
6772 interactively and desktop-restore-frames is non-nil. Doc fix.
6773 (desktop-read): Set desktop-saved-frameset to nil.
6775 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6777 * vc/vc.el (vc-ignore): Rewrite.
6778 (vc-default-ignore-completion-table):
6780 (vc--add-line, vc--remove-regexp): New functions.
6782 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6783 (vc-svn-ignore-completion-table): New function.
6785 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6786 (vc-hg-ignore-completion-table):
6787 (vc-hg-find-ignore-file): New functions.
6789 * vc/vc-git.el (vc-git-ignore): Rewrite.
6790 (vc-git-ignore-completion-table):
6791 (vc-git-find-ignore-file): New functions.
6793 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6795 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6796 (vc-bzr-ignore-completion-table):
6797 (vc-bzr-find-ignore-file): New functions.
6799 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6801 * frameset.el (frameset-prop): New function and setter.
6802 (frameset-save): Do not modify frame list passed by the caller.
6804 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6808 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6810 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6811 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6813 * custom.el (custom-initialize-default, custom-initialize-set)
6814 (custom-initialize-reset, custom-initialize-changed): Affect the
6815 toplevel-default-value (bug#6275, bug#14586).
6816 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6819 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6821 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6822 Add cl-def* expressions.
6824 * frameset.el (frameset-filter-params): Fix order of arguments.
6826 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6828 Move code related to saving frames to frameset.el.
6829 * desktop.el: Require frameset.
6830 (desktop-restore-frames): Doc fix.
6831 (desktop-restore-reuses-frames): Rename from
6832 desktop-restoring-reuses-frames.
6833 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6834 (desktop-clear): Clear frames too.
6835 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6836 (desktop--filter-tty*, desktop-save, desktop-read):
6837 Use frameset functions.
6838 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6839 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6840 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6841 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6842 (desktop--process-minibuffer-frames, desktop-save-frames)
6843 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6844 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6845 (desktop--sort-states, desktop-restoring-frames-p)
6846 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6847 (desktop-restoring-frameset-p, desktop-restore-frameset)
6848 (desktop--check-dont-save, desktop-save-frameset): New functions.
6849 (desktop--app-id): New constant.
6850 (desktop-first-buffer, desktop-buffer-ok-count)
6851 (desktop-buffer-fail-count): Move before first use.
6852 * frameset.el: New file.
6854 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6856 * files.el: Use lexical-binding.
6857 (dir-locals-read-from-file): Remove unused `err' variable.
6858 (hack-dir-local-variables--warned-coding): New var.
6859 (hack-dir-local-variables): Use it to avoid repeated warnings.
6860 (make-backup-file-name--default-function): New function.
6861 (make-backup-file-name-function): Use it as default.
6862 (buffer-stale--default-function): New function.
6863 (buffer-stale-function): Use it as default.
6864 (revert-buffer-insert-file-contents--default-function): New function.
6865 (revert-buffer-insert-file-contents-function): Use it as default.
6866 (insert-directory): Avoid add-to-list.
6868 * autorevert.el (auto-revert-handler): Simplify.
6869 Use buffer-stale--default-function.
6871 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6873 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6875 * whitespace.el (whitespace-ensure-local-variables): New function.
6876 (whitespace-cleanup-region): Call it.
6877 (whitespace-turn-on): Call it.
6879 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6881 Complete file name handlers.
6883 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6884 (tramp-handle-verify-visited-file-modtime)
6885 (tramp-handle-file-notify-rm-watch): New functions.
6886 (tramp-call-process): Do not bind `default-directory'.
6888 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6889 Order alphabetically.
6890 [access-file, add-name-to-file, dired-call-process]:
6891 [dired-compress-file, file-acl, file-notify-rm-watch]:
6892 [file-ownership-preserved-p, file-selinux-context]:
6893 [make-directory-internal, make-symbolic-link, set-file-acl]:
6894 [set-file-selinux-context, set-visited-file-modtime]:
6895 [verify-visited-file-modtime]: Add handler.
6896 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6898 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6899 [file-notify-add-watch, file-notify-rm-watch]:
6900 [set-file-times, set-visited-file-modtime]:
6901 [verify-visited-file-modtime]: Add handler.
6902 (with-tramp-gvfs-error-message)
6903 (tramp-gvfs-handle-set-visited-file-modtime)
6904 (tramp-gvfs-fuse-file-name): Remove.
6905 (tramp-gvfs-handle-file-notify-add-watch)
6906 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6907 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6909 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6910 Order alphabetically.
6911 [file-notify-rm-watch ]: Use default Tramp handler.
6912 [executable-find]: Remove private handler.
6913 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6914 `default-directory'.
6915 (tramp-sh-handle-executable-find)
6916 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6917 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6918 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6919 Do not use `format' in `tramp-message'.
6921 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6922 [file-notify-rm-watch, set-visited-file-modtime]:
6923 [verify-visited-file-modtime]: Add handler.
6924 (tramp-smb-call-winexe): Do not bind `default-directory'.
6926 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6928 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6930 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6932 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6934 (log-view-diff-changeset): Same.
6935 (log-view-diff-common): Call backend command `previous-revision'
6936 to find out the previous revision, in both cases. Swap the
6937 variables `to' and `fr', so that `fr' usually refers to the
6938 earlier revision (Bug#14989).
6940 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6942 * ibuf-ext.el (ibuffer-filter-by-filename):
6943 Make it work with dired buffers too.
6945 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6947 * emacs-lisp/re-builder.el (reb-color-display-p):
6948 * files.el (save-buffers-kill-terminal):
6949 * net/browse-url.el (browse-url):
6950 * server.el (server-save-buffers-kill-terminal):
6951 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6952 Prefer nil to selected-frame for the first arg of frame-parameter.
6954 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6956 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6958 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6960 * minibuffer.el (completion--twq-all): Try and preserve each
6961 completion's case choice (bug#14907).
6963 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965 * net/network-stream.el (open-network-stream): Mention the new
6966 :nogreeting parameter.
6967 (network-stream-open-starttls): Use the :nogreeting parameter
6970 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6972 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6973 more natural than popping.
6975 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6976 (shr-urlify): Highlight under mouse.
6978 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6980 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6982 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6984 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6987 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6988 point-min==1. Fix search string. Fix parentheses missing.
6990 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6991 assume point-min==1. Fix search string. Fix parentheses missing.
6993 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6995 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6998 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7000 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7001 initial frame is minibuffer-less. (Bug#14841)
7003 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7005 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7008 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7009 (tramp-maybe-open-connection): Use it.
7011 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7013 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7014 minimal set of parameters passed when creating a frame, because
7015 the minibuffer status of a frame cannot be changed later.
7017 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7019 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7020 replace-regexp-in-string and inadvertent omissions in previous change.
7021 (todo-filter-items): Ensure only file names are comma-separated in
7022 name of filtered items buffer.
7024 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7026 * desktop.el: Optionally force offscreen frames back onscreen.
7027 (desktop-restoring-reuses-frames): New option.
7028 (desktop--compute-pos, desktop--move-onscreen): New functions.
7029 (desktop--make-frame): Use desktop--move-onscreen.
7031 2013-07-27 Alan Mackenzie <acm@muc.de>
7033 Fontify a Java generic method as a function.
7034 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7037 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7039 * calendar/todo-mode.el: Add command to rename todo files.
7040 (todo-rename-file): New command.
7041 (todo-key-bindings-t): Add key binding for it. Change the
7042 bindings of todo-filter-regexp-items(-multifile) to use `x'
7043 instead of `r', since the latter is better suited to the new
7046 2013-07-27 Alan Mackenzie <acm@muc.de>
7048 Make Java try-with-resources statement parse properly.
7049 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7050 (c-block-stmt-1-2-key): New language constants/variables.
7051 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7052 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7053 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7054 with c-block-stmt-1-2-key.
7056 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7058 * desktop.el (desktop--make-frame): Apply most frame parameters after
7059 creating the frame to force (partially or totally) offscreen frames to
7060 be restored as such.
7062 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7064 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7067 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7069 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7070 `base' arg of backtrace-frame.
7072 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7074 * simple.el (list-processes): Doc fix.
7076 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7078 * desktop.el (desktop--select-frame):
7079 Try harder to reuse existing frames.
7081 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7084 (edebug-eval): Use backtrace-eval.
7085 (edebug--display, edebug--recursive-edit): Don't let-bind the
7086 edebug-outer-* vars that keep track of variables we locally let-bind.
7087 (edebug-outside-excursion): Don't restore outside values of locally
7089 (edebug--display): Use user-error.
7090 (cl-lexical-debug, cl-debug-env): Remove.
7092 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7094 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7095 are restored to be sure that they are visible before deleting any
7098 2013-07-26 Matthias Meulien <orontee@gmail.com>
7100 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7101 vc-print-root-log. (Bug#14948)
7103 2013-07-26 Richard Stallman <rms@gnu.org>
7105 Add aliases for encrypting mail.
7106 * epa.el (epa-mail-aliases): New option.
7107 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7108 Bind inhibit-read-only so read-only text doesn't ruin everything.
7109 (epa-mail-default-recipients): New subroutine broken out.
7110 Handle epa-mail-aliases.
7112 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7114 Add support for lexical variables to the debugger's `e' command.
7115 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7116 vars, except for debugger-outer-match-data.
7117 (debugger-frame-number): Move check for "on a function call" from
7118 callers into it. Add `skip-base' argument.
7119 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7120 (debugger-env-macro): Only reset the state stored in non-variables,
7121 i.e. current-buffer and match-data.
7122 (debugger-eval-expression): Rewrite using backtrace-eval.
7123 * subr.el (internal--called-interactively-p--get-frame): Remove.
7124 (called-interactively-p):
7125 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7126 `base' arg of backtrace-frame instead.
7128 2013-07-26 Glenn Morris <rgm@gnu.org>
7130 * align.el (align-regexp): Doc fix. (Bug#14857)
7131 (align-region): Explicit error if subexpression missing/does not match.
7133 * simple.el (global-visual-line-mode):
7134 Do not duplicate the mode lighter. (Bug#14858)
7136 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7138 * window.el (display-buffer): In display-buffer bind
7139 split-window-keep-point to t, bug#14829.
7141 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7143 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7144 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7145 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7146 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7148 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7149 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7151 2013-07-25 Glenn Morris <rgm@gnu.org>
7153 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7155 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7157 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7158 parameter to modify-frame-parameters if the value has not changed;
7159 this is a workaround for bug#14949.
7160 (desktop--make-frame): On cl-delete-if call, check parameter name,
7163 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7165 * vc/vc.el (vc-ignore): New function.
7167 * vc/vc-svn.el (vc-svn-ignore): New function.
7169 * vc/vc-hg.el (vc-hg-ignore): New function.
7171 * vc/vc-git.el (vc-git-ignore): New function.
7173 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7174 (vc-dir-ignore): New function.
7176 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7177 (cvs-append-to-ignore): Move here from pcvs.el.
7179 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7181 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7183 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7185 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7186 (desktop-restore-frames): Warn when deleting an existing frame failed.
7188 2013-07-24 Glenn Morris <rgm@gnu.org>
7190 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7192 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7194 * filenotify.el (file-notify-supported-p):
7195 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7198 * autorevert.el (auto-revert-use-notify):
7199 (auto-revert-notify-add-watch):
7200 * net/tramp.el (tramp-file-name-for-operation):
7201 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7203 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7204 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7205 Remove `file-notify-supported-p' entry.
7207 2013-07-24 Glenn Morris <rgm@gnu.org>
7209 * printing.el: Replace all uses of deleted ps-windows-system,
7210 ps-lp-system, ps-flatten-list with lpr- versions.
7212 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7215 checked with memq (bug#14935).
7217 * files.el (revert-buffer-function): Use a non-nil default.
7218 (revert-buffer-preserve-modes): Declare var to
7219 provide access to the `preserve-modes' argument.
7220 (revert-buffer): Let-bind it.
7221 (revert-buffer--default): New function, extracted from revert-buffer.
7223 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * lpr.el: Signal print errors more prominently.
7226 (print-region-function): Don't default to nil.
7227 (lpr-print-region): New function, extracted from print-region-1.
7228 Check lpr's return value and signal an error in case of problem.
7229 (print-region-1): Use it.
7230 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7232 (ps-printer-name): Default to nil.
7233 (ps-printer-name-option): Default to lpr-printer-switch.
7234 (ps-print-region-function): Don't default to nil.
7235 (ps-postscript-code-directory): Simplify default.
7236 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7237 (ps-string-list, ps-eval-switch, ps-flatten-list)
7238 (ps-flatten-list-1): Remove.
7239 (ps-multibyte-buffer): Avoid setq.
7240 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7241 (print-region-function, ps-print-region-function): Don't set them here.
7243 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7245 * ido.el (ido-fractionp):
7246 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7247 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7248 (ido-max-directory-size, ido-max-dir-file-cache)
7249 (ido-decorations): Doc fix.
7251 * ansi-color.el: Fix old URL.
7253 2013-07-23 Michael R. Mauger <michael@mauger.com>
7255 * progmodes/sql.el: Version 3.3
7256 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7257 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7258 (sql-interactive-remove-continuation-prompt): Rewrite, use
7259 functions above. Fix continuation prompt and complete output line
7261 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7262 redirected output buffer.
7263 (sql-mode): Restore deleted code (Bug#13591).
7265 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7267 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7269 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7271 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7273 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7274 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7275 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7277 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7279 * desktop.el (desktop-clear): Simplify; remove useless checks
7280 against invalid buffer names.
7281 (desktop-list*): Use cl-list*.
7282 (desktop-buffer-info, desktop-create-buffer): Simplify.
7284 2013-07-23 Leo Liu <sdl.web@gmail.com>
7286 * bookmark.el (bookmark-make-record): Restore NAME as a default
7289 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7292 extracted from autoload--insert-text.
7293 (autoload--insert-text): Remove.
7294 (autoload--print-cookie-text): New function, extracted from
7295 autoload--insert-cookie-text.
7296 (autoload--insert-cookie-text): Remove.
7297 (autoload-generate-file-autoloads): Adjust calls accordingly.
7299 * winner.el (winner-hook-installed-p): Remove.
7300 (winner-mode): Simplify accordingly.
7302 * subr.el (add-to-list): Fix compiler-macro when `append' is
7303 not constant. Don't use `cl-member' for the base case.
7305 * progmodes/subword.el: Fix boundary case (bug#13758).
7306 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7308 (subword-backward-regexp): Make it a constant.
7309 (subword-forward-internal): Don't treat a trailing capital as the
7310 beginning of a word.
7312 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7314 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7315 global value of tabulated-list-revert-hook (bug#14930).
7317 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7319 * desktop.el: Require 'cl-lib.
7320 (desktop-before-saving-frames-functions): New hook.
7321 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7322 for frames being saved. Rename from desktop--save-minibuffer-frames.
7323 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7324 Do not save frames with non-nil `desktop-dont-save' parameter.
7325 Filter out deleted frames.
7326 (desktop--find-frame): Use cl-find-if.
7327 (desktop--select-frame): Use cl-(first|second|third) to access values
7329 (desktop--make-frame): Use cl-delete-if.
7330 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7331 (desktop-restore-frames): Use cl-(first|second|third) to access values
7332 of desktop-mini. Look for visible frame at the end, not while
7335 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7336 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7337 Use string-match-p, looking-at-p (bug#14927).
7339 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7341 * desktop.el (desktop-saved-frame-states):
7342 Rename from desktop--saved-states; all users changed.
7343 (desktop-save-frames): Rename from desktop--save-frames.
7344 Do not save state to desktop file.
7345 (desktop-save): Save desktop-saved-frame-states to desktop file
7347 (desktop-restoring-frames-p): New function.
7348 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7349 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7350 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7352 * desktop.el: Correctly restore iconified frames.
7353 (desktop--filter-iconified-position): New function.
7354 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7356 2013-07-20 Glenn Morris <rgm@gnu.org>
7358 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7359 Let `message' do the formatting.
7360 (def-gdb-preempt-display-buffer): Add explicit format.
7362 * image-dired.el (image-dired-track-original-file):
7363 Use with-current-buffer.
7364 (image-dired-track-thumbnail): Use with-current-buffer.
7365 Avoid changing point of wrong window.
7367 * image-dired.el (image-dired-track-original-file):
7368 Avoid changing point of wrong window. (Bug#14909)
7370 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7372 * progmodes/gdb-mi.el (gdb-done-or-error):
7373 Guard against "%" in gdb output. (Bug#14127)
7375 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7377 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7380 * international/mule.el (coding-system-iso-2022-flags): Fix last
7383 2013-07-20 Kenichi Handa <handa@gnu.org>
7385 * international/mule.el (coding-system-iso-2022-flags):
7386 Add `8-bit-level-4'. (Bug#8522)
7388 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7390 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7393 * net/eww.el (eww-process-text-input): Allow inputting when the
7394 point is at the start of the line, as the properties aren't
7397 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7400 2013-07-19 Richard Stallman <rms@gnu.org>
7402 * epa.el (epa-popup-info-window): Doc fix.
7404 * subr.el (split-string): New arg TRIM.
7406 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7408 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7409 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7411 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7413 * filenotify.el (file-notify--library): Rename from
7414 `file-notify-support'. Do not autoload. Adapt all uses.
7415 (file-notify-supported-p): New defun.
7417 * autorevert.el (auto-revert-use-notify):
7418 Use `file-notify-supported-p' instead of `file-notify-support'.
7420 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7422 * net/tramp.el (tramp-file-name-for-operation):
7423 Add `file-notify-supported-p'.
7425 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7427 (tramp-sh-file-name-handler-alist): Add it as handler for
7428 `file-notify-supported-p '.
7430 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7431 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7432 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7433 Add `ignore' as handler for `file-notify-*' functions.
7435 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7437 * simple.el (line-move-partial, line-move): Don't start vscroll or
7438 scroll-up if the current line is not taller than the window.
7441 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7443 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7444 highlight question marks in the method names as strings.
7445 (ruby-block-beg-keywords): Inline.
7446 (ruby-font-lock-keyword-beg-re): Extract from
7447 `ruby-font-lock-keywords'.
7449 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7451 * frame.el (blink-cursor-blinks): New defcustom.
7452 (blink-cursor-blinks-done): New defvar.
7453 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7454 (blink-cursor-timer-function): Check if number of blinks has been
7456 (blink-cursor-suspend, blink-cursor-check): New defuns.
7458 2013-07-15 Glenn Morris <rgm@gnu.org>
7460 * edmacro.el (edmacro-format-keys): Fix previous change.
7462 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7464 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7465 The hack didn't work outside English locales anyway.
7467 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7469 * simple.el (define-alternatives): Rename from alternatives-define,
7470 per RMS' suggestion.
7472 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7474 * desktop.el (desktop-restore-frames): Change default to t.
7475 (desktop-restore-in-current-display): Now offer more options.
7476 (desktop-restoring-reuses-frames): New customization option.
7477 (desktop--saved-states): Doc fix.
7478 (desktop-filter-parameters-alist): New variable, renamed and expanded
7479 from desktop--excluded-frame-parameters.
7480 (desktop--target-display): New variable.
7481 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7482 (desktop--filter-tty*, desktop--filter-*-color)
7483 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7484 (desktop--filter-save-desktop-parm)
7485 (desktop-restore-in-original-display-p): New functions.
7486 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7487 (desktop--save-minibuffer-frames): New function, inspired by a similar
7488 function from Martin Rudalics.
7489 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7490 (desktop--restore-in-this-display-p): Remove.
7491 (desktop--find-frame): Rename from desktop--find-frame-in-display
7492 and add predicate argument.
7493 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7494 (desktop--reuse-list): New variable.
7495 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7497 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7499 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7501 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7503 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7505 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7506 Highlight conversion methods on Kernel.
7508 2013-07-13 Alan Mackenzie <acm@muc.de>
7510 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7511 and comment it out. This out-commenting enables certain C++
7512 declarations to be parsed correctly.
7514 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7516 * international/mule.el (define-coding-system): Doc fix.
7518 * simple.el (default-font-height): Don't call font-info if the
7519 frame's default font didn't change since the frame was created.
7522 2013-07-13 Leo Liu <sdl.web@gmail.com>
7524 * ido.el (ido-read-file-name): Guard against non-symbol value.
7526 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7528 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7531 2013-07-13 Leo Liu <sdl.web@gmail.com>
7533 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7534 ido-set-matches call. (Bug#6852)
7536 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7538 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7539 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7541 (ruby-font-lock-keywords): Distinguish calls to functions with
7542 module-like names from module references. Highlight character
7545 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7547 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7548 (gdb-send): Handle continued commands. (Bug#14847)
7550 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7552 * desktop.el (desktop--v2s): Remove unused local variable.
7553 (desktop-save-buffer): Make defvar-local; adjust docstring.
7554 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7555 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7557 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7559 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7561 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7563 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7566 2013-07-12 Glenn Morris <rgm@gnu.org>
7568 * doc-view.el: Require cl-lib at runtime too.
7569 (doc-view-remove-if): Remove.
7570 (doc-view-search-next-match, doc-view-search-previous-match):
7573 * edmacro.el: Require cl-lib at runtime too.
7574 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7575 (edmacro-mismatch, edmacro-subseq): Remove.
7577 * shadowfile.el: Require cl-lib.
7578 (shadow-remove-if): Remove.
7579 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7582 * wid-edit.el: Require cl-lib.
7583 (widget-choose): Use cl-remove-if.
7584 (widget-remove-if): Remove.
7586 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7587 (ebrowse-delete-if-not): Remove.
7588 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7589 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7590 Use cl-delete-if-not.
7592 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7594 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7595 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7597 2013-07-12 Leo Liu <sdl.web@gmail.com>
7599 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7601 2013-07-11 Glenn Morris <rgm@gnu.org>
7603 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7604 (edebug-gensym-index, edebug-gensym):
7605 Remove reimplementation of cl-gensym.
7606 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7608 * thumbs.el: Require cl-lib at run-time too.
7609 (thumbs-gensym-counter, thumbs-gensym):
7610 Remove reimplementation of cl-gensym.
7611 (thumbs-temp-file): Use cl-gensym.
7613 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7614 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7615 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7616 (ert--union, ert--gensym-counter, ert--gensym-counter)
7617 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7618 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7619 (ert-make-test-unbound, ert--expand-should-1)
7620 (ert--expand-should, ert--should-error-handle-error)
7621 (should-error, ert--explain-equal-rec)
7622 (ert--plist-difference-explanation, ert-select-tests)
7623 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7624 Use cl-lib functions rather than reimplementations.
7626 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7628 * net/tramp.el (tramp-methods): Extend docstring.
7629 (tramp-connection-timeout): New defcustom.
7630 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7631 (with-tramp-progress-reporter): Simplify.
7632 (tramp-process-actions): Improve messages.
7634 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7635 * net/tramp-sh.el (tramp-maybe-open-connection):
7636 Use `tramp-connection-timeout'.
7637 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7640 2013-07-11 Leo Liu <sdl.web@gmail.com>
7642 * ido.el (ido-read-file-name): Conform to the requirements of
7643 read-file-name. (Bug#11861)
7644 (ido-read-directory-name): Conform to the requirements of
7645 read-directory-name.
7647 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7649 * subr.el (delay-warning): New function.
7651 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7653 * simple.el (default-line-height): New function.
7654 (line-move-partial, line-move): Use it instead of computing the
7656 (line-move-partial): Always compute ROWH. If the last line is
7657 partially-visible, but its text is completely visible, allow
7658 cursor to enter such a partially-visible line.
7660 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7662 Improve error messages. (Bug#14808)
7664 * net/tramp.el (tramp-current-connection): New defvar, moved from
7666 (tramp-message-show-progress-reporter-message): Remove, not
7668 (tramp-error-with-buffer): Show message in minibuffer.
7669 Discard input before waiting. Reset connection timestamp.
7670 (with-tramp-progress-reporter): Improve messages.
7671 (tramp-process-actions): Use progress reporter. Delete process in
7672 case of error. Improve messages.
7674 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7675 Call `tramp-error-with-buffer' with vector and buffer.
7676 (tramp-current-connection): Remove.
7677 (tramp-maybe-open-connection): The car of
7678 `tramp-current-connection' are the first 3 slots of the vector.
7680 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7682 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7683 inside continued strings.
7685 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7687 Timestamp fixes for undo (Bug#14824).
7688 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7690 2013-07-10 Leo Liu <sdl.web@gmail.com>
7692 * files.el (require-final-newline): Allow safe local value.
7695 2013-07-09 Leo Liu <sdl.web@gmail.com>
7697 * ido.el (ido-read-directory-name): Handle fallback.
7698 (ido-read-file-name): Update DIR to ido-current-directory.
7700 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7702 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7704 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7705 "autoload". Remove "warn lower camel case" section, previously
7706 commented out. Highlight negation char. Do not highlight the
7707 target in singleton method definitions.
7709 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7711 * faces.el (tty-setup-hook): Declare the hook.
7713 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7714 and detect when a guard/pred depends on local vars (bug#14773).
7715 (pcase--u1): Adjust caller.
7717 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7719 * simple.el (line-move-partial, line-move): Account for
7721 (line-move-partial): Avoid setting vscroll when the last
7722 partially-visible line in window is of default height.
7724 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7729 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7731 * subr.el (read-quoted-char): Remove unused local variable `char'.
7733 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7735 * ediff.el (ediff-version): Version update.
7736 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7737 (ediff-merge-with-ancestor-command, ediff-directories-command)
7738 (ediff-directories3-command, ediff-merge-directories-command)
7739 (ediff-merge-directories-with-ancestor-command): New functions.
7740 All are command-line interfaces to ediff: to facilitate calling
7741 Emacs with the appropriate ediff functions invoked.
7743 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7744 (viper-save-kill-buffer): Check if buffer is modified.
7746 * viper.el (viper-version): Version update.
7747 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7749 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7751 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7752 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7753 (viper-intercept-ESC-key): Simplify.
7754 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7755 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7756 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7757 (viper-setup-ESC-to-escape): New functions.
7758 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7759 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7761 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7763 * simple.el (default-font-height, window-screen-lines):
7765 (line-move, line-move-partial): Use them instead of
7766 frame-char-height and window-text-height. This makes scrolling
7767 text smoother when the buffer's default face uses a font that is
7768 different from the frame's default font.
7770 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7772 * files.el (write-file): Do not display confirm dialog for NS,
7773 it does its own dialog, which can't be canceled (Bug#14578).
7775 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7777 * simple.el (line-move-partial): Adjust the row returned by
7778 posn-at-point for the current window-vscroll. (Bug#14567)
7780 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7782 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7783 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7786 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7788 * window.el (window-state-put-stale-windows): New variable.
7789 (window--state-put-2): Save list of windows without matching buffer.
7790 (window-state-put): Remove "bufferless" windows if possible.
7792 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7794 * simple.el (alternatives-define): Remove leftover :group keyword.
7797 2013-07-06 Leo Liu <sdl.web@gmail.com>
7799 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7800 (ido-enable-virtual-buffers): New variable.
7801 (ido-buffer-internal, ido-toggle-virtual-buffers)
7802 (ido-make-buffer-list): Use it.
7803 (ido-exhibit): Support turning on and off virtual buffers
7806 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7808 * simple.el (alternatives-define): New macro.
7810 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7812 * subr.el (read-quoted-char): Use read-key.
7813 (sit-for): Let read-event decode tty input (bug#14782).
7815 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7817 * calendar/todo-mode.el: Add handling of file deletion, both by
7818 mode command and externally. Fix various related bugs.
7819 Clarify Commentary and improve some documentation strings and code.
7820 (todo-delete-file): New command.
7821 (todo-check-file): New function.
7822 (todo-show): Handle external deletion of the file we're trying to
7823 show (bug#14688). Replace called-interactively-p by an optional
7824 prefix argument to avoid problematic interaction with catch form
7825 when byte compiled (bug#14702).
7826 (todo-quit): Handle external deletion of the archive's todo file.
7827 Make sure the buffer that was visiting the archive file is still
7828 live before trying to bury it.
7829 (todo-category-completions): Handle external deletion of any
7830 category completion files.
7831 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7832 of todo files, in case of external deletion.
7833 (todo-add-file): Replace unnecessary setq by let-binding.
7834 (todo-find-archive): Check whether there are any archives.
7835 Replace unnecessary setq by let-binding.
7836 (todo-archive-done-item): Use find-file-noselect to get the
7837 archive buffer whether or not the archive already exists.
7838 Remove superfluous code. Use file size instead of buffer-file-name to
7839 check if the archive is new; if it is, update list of archives.
7840 (todo-default-todo-file): Allow nil to be a valid value for when
7841 there are no todo files.
7842 (todo-reevaluate-default-file-defcustom): Use corrected definition
7843 of todo-default-todo-file.
7844 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7845 (todo-delete-category, todo-show-categories-table)
7846 (todo-category-number): Clarify comment.
7847 (todo-filter-items): Clarify documentation string.
7848 (todo-show-current-file, todo-display-as-todo-file)
7849 (todo-reset-and-enable-done-separator): Tweak documentation string.
7850 (todo-done-separator): Make separator length window-width, since
7851 bug#2749 is now fixed.
7853 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7855 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7856 Support both "gvfs-monitor-dir" and "inotifywait".
7857 (tramp-sh-file-inotifywait-process-filter): Rename from
7858 `tramp-sh-file-notify-process-filter'.
7859 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7860 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7862 2013-07-05 Leo Liu <sdl.web@gmail.com>
7864 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7866 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7868 * frame.el (display-pixel-height, display-pixel-width)
7869 (display-mm-height, display-mm-width): Mention behavior on
7870 multi-monitor setups in docstrings.
7871 (w32-display-monitor-attributes-list): Declare function.
7872 (display-monitor-attributes-list): Use it.
7874 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7876 * filenotify.el: New package.
7878 * autorevert.el (top): Require filenotify.el.
7879 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7881 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7882 (auto-revert-notify-handler): Use `file-notify-*' functions.
7884 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7886 * net/tramp.el (tramp-file-name-for-operation):
7887 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7889 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7890 for `file-notify-add-watch' and `file-notify-rm-watch'.
7891 (tramp-process-sentinel): Improve trace.
7892 (tramp-sh-handle-file-notify-add-watch)
7893 (tramp-sh-file-notify-process-filter)
7894 (tramp-sh-handle-file-notify-rm-watch)
7895 (tramp-get-remote-inotifywait): New defuns.
7897 2013-07-03 Juri Linkov <juri@jurta.org>
7899 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7900 call of `occur-read-primary-args' to interactive spec.
7902 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7903 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7905 2013-07-03 Matthias Meulien <orontee@gmail.com>
7907 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7908 `Buffer-menu-multi-occur'. Add it to the menu.
7909 (Buffer-menu-mode): Document it in docstring.
7910 (Buffer-menu-multi-occur): New command. (Bug#14673)
7912 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7915 keywords and built-ins.
7917 2013-07-03 Glenn Morris <rgm@gnu.org>
7919 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7921 Make info-xref checks case-sensitive by default
7922 * info.el (Info-find-node, Info-find-in-tag-table)
7923 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7924 Add option for exact case matching of nodes.
7925 * info-xref.el (info-xref): New custom group.
7926 (info-xref-case-fold): New option.
7927 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7929 2013-07-03 Leo Liu <sdl.web@gmail.com>
7931 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7933 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7935 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7936 middle of block statement initially, lower the depth. Remove
7937 FIXME comment, not longer valid. Remove middle of block statement
7938 detection, no need to do that anymore since we've been using
7939 `ruby-parse-region' here.
7941 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7943 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7945 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7947 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7949 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7951 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7952 (desktop-restore-in-current-display): New customization option.
7953 (desktop--excluded-frame-parameters): Add `font'.
7954 (desktop--save-frames): Rename from desktop--save-windows.
7955 (desktop--restore-in-this-display-p): New function.
7956 (desktop--make-full-frame): Remove unwanted width/height from
7957 full(width|height) frames.
7958 (desktop--restore-frames): Rename from desktop--restore-windows.
7959 Obey desktop-restore-current-display. Do not delete old frames or
7960 select a new frame unless we were able to restore at least one frame.
7962 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7964 * files.el (find-file-noselect): Simplify conditional expression.
7966 * textmodes/remember.el (remember-append-to-file):
7967 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7969 Add `remember-notes' function to store random notes across Emacs
7971 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7972 notes buffer (if any).
7973 (remember-notes): New command.
7974 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7975 New defcustoms for the `remember-notes' function.
7976 (remember-notes-save-and-bury-buffer): New command.
7977 (remember-notes-mode-map): New variable.
7978 (remember-mode): New minor mode.
7979 (remember-notes--kill-buffer-query): New function.
7980 * startup.el (initial-buffer-choice): Add notes to custom type.
7982 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7984 * bindings.el (right-char, left-char): Don't call sit-for, this is
7985 no longer needed. Use arithmetic comparison only for numerical
7988 * international/mule-cmds.el (select-safe-coding-system):
7989 Handle the case of FROM being a string correctly. (Bug#14755)
7991 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7993 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7994 progression on degenerate tables.
7995 (shr-rescale-image): ImageMagick animated images currently don't work.
7997 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7999 Some fixes and improvements for desktop frame restoration.
8000 It is still experimental and disabled by default.
8001 * desktop.el (desktop--save-windows): Put the selected frame at
8002 the head of the list.
8003 (desktop--make-full-frame): New function.
8004 (desktop--restore-windows): Try to re-select the frame that was
8005 selected upon saving. Do not abort if some frames fail to restore,
8006 just show an error message and continue. Set up maximized frames
8007 so they have default non-maximized dimensions.
8009 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8011 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8012 Don't start heredoc inside a string or comment.
8014 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8016 * bindings.el (visual-order-cursor-movement): New defcustom.
8017 (right-char, left-char): Provide visual-order cursor motion by
8018 calling move-point-visually. Update the doc strings.
8020 2013-06-28 Kenichi Handa <handa@gnu.org>
8022 * international/mule.el (define-coding-system): New coding system
8023 properties :inhibit-null-byte-detection,
8024 :inhibit-iso-escape-detection, and :prefer-utf-8.
8025 (set-buffer-file-coding-system): If :charset-list property of
8026 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8027 appropriate for setting.
8029 * international/mule-cmds.el (select-safe-coding-system):
8030 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8031 multibyte characters, return utf-8 (or one of its siblings).
8033 * international/mule-conf.el (prefer-utf-8): New coding system.
8034 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8037 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8039 * net/shr.el (shr-render-region): New function.
8041 * net/eww.el: Autoload `eww-browse-url'.
8043 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8045 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8046 Adapt to `package-desc-version' being a list.
8047 Use `package--ac-desc-version' to retrieve version from a package
8050 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8052 New experimental feature to save&restore window and frame setup.
8053 * desktop.el (desktop-save-windows): New defcustom.
8054 (desktop--saved-states): New var.
8055 (desktop--excluded-frame-parameters): New defconst.
8056 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8057 (desktop--restore-windows, desktop--save-windows): New functions.
8058 (desktop-save): Call `desktop--save-windows'.
8059 (desktop-read): Call `desktop--restore-windows'.
8061 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8063 * net/shr.el (add-face-text-property): Remove compat definition.
8065 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8067 * info.el (Info-try-follow-nearest-node): Move search for footnote
8068 above search for node name to prevent missing a footnote (bug#14717).
8070 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8072 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8074 2013-06-27 Leo Liu <sdl.web@gmail.com>
8076 * net/eww.el (eww-read-bookmarks): Check file size.
8078 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8080 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8081 advice--pending if newdef is nil or an autoload (bug#13820).
8082 (advice-mapc): New function.
8084 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8086 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8088 (eww-mode-map): Add a menu bar.
8089 (eww-add-bookmark): New command.
8090 (eww-bookmark-mode): New mode and commands.
8091 (eww-add-bookmark): Remove newlines from the title.
8092 (eww-bookmark-browse): Don't bug out if it's the only window.
8094 2013-06-26 Glenn Morris <rgm@gnu.org>
8096 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8097 (hfy-size): Handle ttys. (Bug#14668)
8099 * info-xref.el: Update for Texinfo 5 change in *note format.
8100 (info-xref-node-re, info-xref-note-re): New constants.
8101 (info-xref-check-buffer): Use info-xref-note-re.
8103 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8105 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8107 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8108 nil terminate the loop (bug#14718).
8110 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8112 * net/eww.el: Rework history traversal. When going forward/back,
8113 put these actions into the history, too, so that they can be
8115 (eww-render): Move the history reset to the correct buffer.
8117 2013-06-25 Juri Linkov <juri@jurta.org>
8119 * files-x.el (modify-dir-local-variable): Change the header comment
8120 in the file with directory local variables. (Bug#14692)
8122 * files-x.el (read-file-local-variable-value): Add `default'.
8125 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8127 * net/eww.el (eww-make-unique-file-name): Create a unique file
8128 name before saving to entering `y' accidentally asynchronously.
8130 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8132 * net/eww.el (eww-download): New command and keystroke.
8134 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8136 * net/eww.el (eww-copy-page-url): Change name of command.
8138 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8139 be more consistent with Info and dired.
8141 * net/eww.el (eww-mode-map): Ditto.
8143 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8145 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8146 packages from archives.
8147 (package-archive-contents): Change format; include obsolete packages.
8148 (package-desc): Use `dir' to mark builtin packages.
8149 (package--from-builtin): Set the `dir' field to `builtin'.
8150 (generated-autoload-file, version-control): Declare.
8151 (package-compute-transaction): Change first arg and return value to be
8152 lists of package-descs. Adjust to new package-archive-contents format.
8153 (package--add-to-archive-contents): Adjust to new
8154 package-archive-contents format.
8155 (package-download-transaction): Arg is now a list of package-descs.
8156 (package-install): If `pkg' is a package name, pass it as
8157 a requirement, so it is subject to the usual (e.g. disabled) checks.
8158 (describe-package): Accept package-desc as well.
8159 (describe-package-1): Describe a specific package-desc. Add links to
8160 other package-descs for the same package name.
8161 (package-menu-describe-package): Pass the actual package-desc.
8162 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8164 (package-desc-status): New function.
8165 (package-menu--refresh): New function, extracted
8166 from package-menu--generate.
8167 (package-menu--generate): Use it.
8168 (package-delete): Update package-alist.
8169 (package-menu-execute): Don't call package-initialize.
8171 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8172 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8173 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8174 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8175 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8176 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8178 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8180 * window.el (window--state-get-1): Workaround for bug#14527.
8181 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8183 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8185 * net/eww.el (eww-back-url): Implement the history by stashing all
8186 the data into a list.
8187 (eww-forward-url): Allow going forward in the history, too.
8189 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8191 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8192 for values and use read--expression for expressions (bug#14710).
8193 (read-file-local-variable): Avoid setq.
8194 (read-file-local-variable-mode): Use minor-mode-list.
8196 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8198 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8201 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8203 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8204 Update imenu-support when dialect changes.
8206 2013-06-25 Leo Liu <sdl.web@gmail.com>
8208 * ido.el (ido-read-internal): Allow forward slash on windows.
8210 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8212 * net/eww.el (eww): Start of strings is \\`, not ^.
8214 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8216 * net/shr.el (shr-browse-url): Fix interactive spec.
8218 * net/eww.el (eww): Add a trailing slash to domain names.
8220 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8222 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8224 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8226 * net/shr.el (shr-browse-url): Use an external browser if given a
8229 * net/eww.el (eww-external-browser): Move to shr.
8231 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8233 * net/eww.el (eww): Work more correctly for file: URLs.
8234 (eww-detect-charset): Allow quoted charsets.
8235 (eww-yank-page-url): New command and keystroke.
8237 2013-06-24 Daiki Ueno <ueno@gnu.org>
8239 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8240 file name of gpg executable.
8241 (epg-context-program): New function.
8242 (epg-context-home-directory): New function.
8243 (epg-context-set-program): New function.
8244 (epg-context-set-home-directory): New function.
8245 (epg--start): Use `epg-context-program' instead of
8247 (epg--list-keys-1): Likewise.
8249 2013-06-24 Leo Liu <sdl.web@gmail.com>
8251 * ido.el (ido-read-internal): Fix bug#14620.
8253 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8255 * faces.el (face-documentation): Simplify.
8256 (read-face-attribute, tty-find-type, x-resolve-font-name):
8257 Use `string-match-p'.
8258 (list-faces-display): Use `string-match-p'. Simplify.
8259 (face-spec-recalc): Check face to avoid face alias loops.
8260 (read-color): Use `string-match-p' and non-capturing parenthesis.
8262 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8264 * net/shr.el (shr-rescale-image): Use the new
8265 :max-width/:max-height functionality.
8267 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8269 * net/eww.el (eww-search-prefix): New variable.
8271 (eww-external-browser): New variable.
8272 (eww-mode-map): New keystroke.
8273 (eww-browse-with-external-browser): New command.
8275 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8277 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8279 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8280 Don't skip aligning the next header field when padding is 0;
8281 otherwise, field width is not respected unless the title is as
8284 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8286 * emacs-lisp/package.el (package-el-version): Remove.
8287 (package-process-define-package): Fix inf-loop.
8288 (package-install): Allow symbols as arguments again.
8290 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8292 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8293 add some more keyword-like methods.
8294 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8296 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8298 * bs.el (bs-buffer-show-mark): Make defvar-local.
8299 (bs-mode): Use setq-local.
8301 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8302 (emacs-lock--try-unlocking): Make defvar-local.
8304 2013-06-22 Glenn Morris <rgm@gnu.org>
8306 * play/cookie1.el (cookie-apropos): Minor simplification.
8308 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8310 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8312 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8313 `regexp-opt', it breaks the build during dumping.
8315 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8317 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8318 Highlight keyword-like methods on Kernel and Module with
8319 font-lock-builtin-face.
8320 (auto-mode-alist): Consolidate different entries into one regexp
8321 and add more *file-s.
8323 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8325 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8327 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8328 (diary-entry): Use it in the action of this button type instead of
8331 * calendar/todo-mode.el: New version.
8332 (todo-add-category): Append new category to end of file and give
8333 it the highest number, instead of putting it at the beginning and
8334 giving it 0. Incorporate noninteractive functionality.
8335 (todo-forward-category): Adapt to 1-based category numbering.
8336 Allow skipping over archived categories.
8337 (todo-backward-category): Derive from todo-forward-category.
8338 (todo-backward-item, todo-forward-item): Make noninteractive and
8339 delegate interactive part to new commands. Make sensitive to done items.
8340 (todo-categories): Make value an alist of category names and
8341 vectors of item counts.
8342 (todo-category-beg): Make a defconst.
8343 (todo-category-number): Use 1 instead of 0 as initial value.
8344 (todo-category-select): Make sensitive to overlays, optional item
8345 highlighting and done items.
8346 (todo-delete-item): Make sensitive to overlays and marked and done items.
8347 (todo-edit-item): Make sensitive to overlays and editing of
8348 date/time header optional. Add format checks.
8349 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8350 no-op if point is not on an item. Advertise using todo-edit-quit.
8351 (todo-edit-mode): Make sensitive to new format, font-locking, and
8352 multiple todo files.
8353 (todo-insert-item, todo-insert-item-here): Derive from
8354 todo-basic-insert-item and extend functionality.
8355 (todo-item-end, todo-item-start): Make sensitive to done items.
8356 (todo-item-string): Don't return text properties. Restore point.
8357 (todo-jump-to-category): Make sensitive to multiple todo files and
8358 todo archives. Use extended category completion.
8359 (todo-lower-item, todo-raise-item): Rename to *-priority and
8360 derive from todo-set-item-priority.
8361 (todo-mode): Derive from special-mode. Make sensitive to new
8362 format, font-locking and multiple todo files. Make read-only.
8363 (todo-mode-map): Don't suppress digit keys, so they can supply
8364 prefix arguments. Add many new key bindings.
8365 (todo-prefix): Insert as an overlay instead of file text.
8366 Change semantics from diary date expression to purely visual mark.
8367 (todo-print): Rename to todo-print-buffer. Make buffer display
8368 features printable. Remove option to restrict number of items
8369 printed. Add option to print to file.
8370 (todo-print-function): Rename to todo-print-buffer-function.
8371 (todo-quit): Extend to handle exiting new todo modes.
8372 (todo-remove-item): Make sensitive to overlays.
8373 (todo-save): Extend to buffers of filtered items.
8374 (todo-show): Make sensitive to done items, multiple todo files and
8375 new todo modes. Offer to convert legacy todo file before creating
8376 first new todo file.
8377 (todo-show-priorities): Rename to todo-top-priorities.
8378 Change semantics of value 0.
8379 (todo-top-priorities): Rename to todo-filter-top-priorities,
8380 derive from todo-filter-items and extend functionality.
8381 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8382 and extend functionality to other types of filtered items.
8383 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8384 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8385 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8386 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8387 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8388 (todo-edit-mode-hook, todo-entry-prefix-function)
8389 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8390 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8391 (todo-initials, todo-insert-threshold, todo-item-string-start)
8392 (todo-line-string, todo-menu, todo-mode-hook)
8393 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8394 (todo-print-priorities, todo-remove-separator)
8395 (todo-save-top-priorities-too, todo-string-count-lines)
8396 (todo-string-multiline-p, todo-time-string-format)
8397 (todo-tmp-buffer-name): Remove.
8398 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8399 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8400 (todo-edit-category-diary-inclusion)
8401 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8402 (todo-edit-file, todo-edit-item-date-day)
8403 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8404 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8405 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8406 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8407 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8408 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8409 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8410 (todo-filter-top-priorities-multifile, todo-find-archive)
8411 (todo-find-filtered-items-file, todo-go-to-source-item)
8412 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8413 (todo-jump-to-archive-category, todo-lower-category)
8414 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8415 (todo-move-category, todo-move-item, todo-next-button)
8416 (todo-next-item, todo-padded-string, todo-powerset)
8417 (todo-previous-button, todo-previous-item)
8418 (todo-print-buffer-to-file, todo-raise-category)
8419 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8420 (todo-set-category-number, todo-set-item-priority)
8421 (todo-set-top-priorities-in-category)
8422 (todo-set-top-priorities-in-file, todo-show-categories-table)
8423 (todo-sort-categories-alphabetically-or-numerically)
8424 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8425 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8426 (todo-toggle-item-header, todo-toggle-item-highlighting)
8427 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8428 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8429 (todo-unarchive-items, todo-unmark-category): New commands.
8430 (todo-absolute-file-name, todo-add-to-buffer-list)
8431 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8432 (todo-basic-insert-item, todo-category-completions)
8433 (todo-category-number, todo-category-string-matcher-1)
8434 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8435 (todo-check-format, todo-clear-matches)
8436 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8437 (todo-current-category, todo-date-string-matcher)
8438 (todo-define-insertion-command, todo-diary-expired-matcher)
8439 (todo-diary-goto-entry, todo-diary-item-p)
8440 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8441 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8442 (todo-done-item-section-p, todo-done-separator)
8443 (todo-done-string-matcher, todo-files, todo-filter-items)
8444 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8445 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8446 (todo-insert-category-line, todo-insert-item-from-calendar)
8447 (todo-insert-sort-button, todo-insert-with-overlays)
8448 (todo-insertion-command-name, todo-insertion-key-bindings)
8449 (todo-label-to-key, todo-longest-category-name-length)
8450 (todo-make-categories-list, todo-mode-external-set)
8451 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8452 (todo-modes-set-3, todo-multiple-filter-files)
8453 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8454 (todo-read-category, todo-read-date, todo-read-dayname)
8455 (todo-read-file-name, todo-read-time)
8456 (todo-reevaluate-category-completions-files-defcustom)
8457 (todo-reevaluate-default-file-defcustom)
8458 (todo-reevaluate-filelist-defcustoms)
8459 (todo-reevaluate-filter-files-defcustom)
8460 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8461 (todo-reset-done-separator, todo-reset-done-separator-string)
8462 (todo-reset-done-string, todo-reset-global-current-todo-file)
8463 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8464 (todo-reset-prefix, todo-set-categories)
8465 (todo-set-date-from-calendar, todo-set-show-current-file)
8466 (todo-set-top-priorities, todo-short-file-name)
8467 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8468 (todo-total-item-counts, todo-update-buffer-list)
8469 (todo-update-categories-display, todo-update-categories-sexp)
8470 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8472 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8474 (todo-categories, todo-display, todo-edit, todo-faces)
8475 (todo-filtered): New defgroups.
8476 (todo-archived-only, todo-button, todo-category-string, todo-date)
8477 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8478 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8479 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8480 (todo-add-item-if-new-category, todo-always-add-time-string)
8481 (todo-categories-align, todo-categories-archived-label)
8482 (todo-categories-category-label, todo-categories-diary-label)
8483 (todo-categories-done-label, todo-categories-number-separator)
8484 (todo-categories-todo-label, todo-categories-totals-label)
8485 (todo-category-completions-files, todo-completion-ignore-case)
8486 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8487 (todo-done-separator-string, todo-done-string)
8488 (todo-files-function, todo-filter-done-items, todo-filter-files)
8489 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8490 (todo-initial-category, todo-initial-file, todo-item-mark)
8491 (todo-legacy-date-time-regexp, todo-mode-line-function)
8492 (todo-nondiary-marker, todo-number-prefix)
8493 (todo-print-buffer-function, todo-show-current-file)
8494 (todo-show-done-only, todo-show-first, todo-show-with-done)
8495 (todo-skip-archived-categories, todo-top-priorities-overrides)
8496 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8497 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8499 (todo-category-done, todo-date-pattern, todo-date-string-start)
8500 (todo-diary-items-buffer, todo-done-string-start)
8501 (todo-filtered-items-buffer, todo-item-start)
8502 (todo-month-abbrev-array, todo-month-name-array)
8503 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8504 (todo-top-priorities-buffer): New defconsts.
8505 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8506 (todo-categories-with-marks, todo-category-string-face)
8507 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8508 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8509 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8510 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8511 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8512 (todo-font-lock-keywords, todo-global-current-todo-file)
8513 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8514 (todo-insertion-commands-args)
8515 (todo-insertion-commands-args-genlist)
8516 (todo-insertion-commands-names, todo-insertion-map)
8517 (todo-key-bindings-t, todo-key-bindings-t+a)
8518 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8519 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8520 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8521 (todo-visited): New variables.
8523 2013-06-21 Glenn Morris <rgm@gnu.org>
8525 * play/cookie1.el (cookie-apropos): Add optional display argument.
8526 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8527 (psychoanalyze-pinhead): Use cookie-doctor.
8529 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8531 * emacs-lisp/package.el (tar-get-file-descriptor)
8532 (tar--extract): Declare.
8534 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8536 Extend flymake's warning predicate to be a function (bug#14217).
8537 * progmodes/flymake.el (flymake-warning-predicate): New.
8538 (flymake-parse-line): Use it.
8539 (flymake-warning-re): Make obsolete alias to
8540 `flymake-warning-predicate'.
8542 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8544 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8545 (package-obsolete-list): Remove.
8546 (package-activate): Remove min-version argument. Add `force' argument.
8547 Adjust to new package-alist format.
8548 (package-mark-obsolete): Remove.
8549 (package-unpack): Force reload of the package's autoloads.
8550 (package-installed-p): Check builtins if the installed package is not
8552 (package-initialize): Don't reset package-obsolete-list.
8553 Don't specify which package version to activate.
8554 (package-process-define-package, describe-package-1)
8555 (package-menu--generate): Adjust to new package-alist format.
8557 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8559 * allout-widgets.el (allout-widgets-mode-off)
8560 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8561 (allout-widgets-post-command-business)
8562 (allout-widgets-after-copy-or-kill-function)
8563 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8564 (allout-decorate-item-and-context)
8565 (allout-graphics-modification-handler): Fix typos in docstrings.
8566 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8568 * cmuscheme.el (scheme-start-file): Doc fix.
8569 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8570 (scheme-input-filter): Use `string-match-p'.
8572 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8574 * dired-x.el: Use Dired consistently in docstrings.
8576 * dired.el: Use Dired consistently in docstrings.
8577 (dired-readin, dired-mode): Use `setq-local'.
8578 (dired-switches-alist): Make defvar-local.
8579 (dired-buffers-for-dir): Use `zerop'.
8580 (dired-safe-switches-p, dired-switches-escape-p)
8581 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8582 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8583 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8584 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8585 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8586 (dired-toggle-marks, dired-mark-files-containing-regexp)
8587 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8588 (dired-flag-auto-save-files, dired-flag-backup-files):
8590 (dired-mark-files-regexp, dired-build-subdir-alist):
8591 Use `string-match-p', `looking-at-p'.
8593 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8594 (direct-print-region-helper): Use `string-match-p'.
8596 2013-06-21 Leo Liu <sdl.web@gmail.com>
8598 * comint.el (comint-redirect-results-list-from-process):
8601 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8603 * net/eww.el (eww-update-header-line-format): Quote % characters.
8605 2013-06-21 Glenn Morris <rgm@gnu.org>
8607 * play/cookie1.el (cookie): New custom group.
8608 (cookie-file): New option.
8609 (cookie-check-file): New function.
8610 (cookie): Make it interactive. Make start and end messages optional.
8611 Interactively, display the result. Default to cookie-file.
8612 (cookie-insert): Default to cookie-file.
8613 (cookie-snarf): Make start and end messages optional.
8614 Default to cookie-file. Use with-temp-buffer.
8615 (cookie-read): Rename from read-cookie.
8616 Make start and end messages optional. Default to cookie-file.
8617 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8619 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8620 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8622 2013-06-21 Leo Liu <sdl.web@gmail.com>
8624 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8626 2013-06-21 Glenn Morris <rgm@gnu.org>
8628 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8630 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8631 Daniel Hackney <dan@haxney.org>
8633 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8634 Consolidate the single-file vs tarball code.
8635 (package-desc-suffix): New function.
8636 (package-desc-full-name): Don't bother inlining it.
8637 (package-load-descriptor): Return the new package-desc.
8638 (package-mark-obsolete): Remove unused arg `package'.
8639 (package-unpack): Make it work for single files as well.
8640 Make it update package-alist.
8641 (package--make-autoloads-and-stuff): Rename from
8642 package--make-autoloads-and-compile. Don't compile any more.
8643 (package--compile): New function.
8644 (package-generate-description-file): New function, extracted from
8645 package-unpack-single.
8646 (package-unpack-single): Remove.
8647 (package--with-work-buffer): Add indentation and debugging info.
8648 (package-download-single): Remove.
8649 (package-install-from-archive): Rename from package-download-tar, make
8650 it take a pkg-desc, and make it work for single files as well.
8651 (package-download-transaction): Simplify.
8652 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8653 external tar program.
8654 (package-install-from-buffer): Remove `pkg-desc' argument.
8655 Use package-tar-file-info for tar-mode buffers.
8656 (package-install-file): Simplify accordingly.
8657 (package-archive-base): Change to take a pkg-desc.
8658 * tar-mode.el (tar--check-descriptor): New function, extracted from
8660 (tar-get-descriptor): Use it.
8661 (tar-get-file-descriptor): New function.
8662 (tar--extract): New function, extracted from tar-extract.
8663 (tar--extract): Use it.
8664 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8665 case the summary uses non-ascii. Adjust to new calling convention of
8666 package-tar-file-info.
8668 2013-06-21 Leo Liu <sdl.web@gmail.com>
8670 * comint.el (comint-redirect-results-list-from-process):
8671 Fix random delay. (Bug#14681)
8673 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8675 * profiler.el (profiler-format-number): Use log, not log10.
8677 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8679 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8681 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8684 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8686 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8687 (AUTOGENEL): ... here.
8688 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8689 (cl--defsubst-expand): Use it.
8691 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8693 * subr.el (log10): Move here from C code, and declare as obsolete.
8694 All uses of (log10 X) replaced with (log X 10).
8696 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8698 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8699 Declare with `defvar-local'.
8700 (tabulated-list-use-header-line, tabulated-list-entries)
8701 (tabulated-list-padding, tabulated-list-printer)
8702 (tabulated-list-sort-key): Declare with `defvar-local'.
8703 (tabulated-list-init-header, tabulated-list-print-fake-header):
8706 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8708 * arc-mode.el (archive-mode): Add `archive-write-file' to
8709 `write-contents-functions' also for remote files. (Bug#14652)
8711 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8713 * cus-edit.el (custom-commands): Fix typos.
8714 (custom-display): Fix tooltip text.
8715 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8716 Fix typos in docstrings.
8717 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8718 (custom-unlispify-menu-entry, custom-magic-value-create)
8719 (custom-add-see-also, custom-group-value-create): Use ?\s.
8720 (custom-guess-type, customize-apropos, editable-field)
8721 (custom-face-value-create): Use `string-match-p'.
8722 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8724 * custom.el (custom-load-symbol): Use `string-match-p'.
8726 * ansi-color.el: Convert to lexical binding.
8727 (ansi-colors): Fix URL.
8728 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8729 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8730 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8732 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8734 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8736 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8738 2013-06-19 Tom Tromey <tromey@redhat.com>
8740 * net/eww.el (eww-top-url): Remove.
8741 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8742 (eww-render): Set new variables. Don't set eww-top-url.
8743 (eww-handle-link): Handle "prev", "home", and "contents".
8744 Downcase the rel text.
8745 (eww-top-url): Choose best top URL.
8747 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8750 relying in widget.el. Using widget.el leads to too many
8751 user interface inconsistencies.
8752 (eww-self-insert): Implement entering commands in text fields.
8753 (eww-process-text-input): New function to make text input field editing
8755 (eww-submit): Rewrite to use the new-style form methods.
8756 (eww-select-display): Display the correct selected item.
8757 (eww-change-select): Implement changing the select value.
8758 (eww-toggle-checkbox): Implement radio/checkboxes.
8759 (eww-update-field): Fix compilation error.
8760 (eww-tag-textarea): Implement <textarea>.
8762 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8763 we don't shadow mode-specific bindings.
8765 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8768 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8770 2013-06-19 Glenn Morris <rgm@gnu.org>
8772 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8774 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8776 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8779 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8781 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8783 * net/browse-url.el (browse-url-browser-function):
8784 `eww-browse-url' has the right calling signature, `eww' does not.
8786 2013-06-19 Glenn Morris <rgm@gnu.org>
8788 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8789 Only eval autoloaded macros.
8790 (byte-compile-autoload): Only give the macro warning for macros.
8792 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8793 (ps-underlined-faces): Declare.
8795 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8796 (speedbar-add-supported-extension): Declare.
8798 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8799 Don't include a date stamp in the header of the generated file;
8800 it leads to needless differences between output files.
8802 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8804 * net/secrets.el (secrets-struct-secret-content-type):
8805 Replace check of introspection data by a test call of "CreateItem".
8806 Some servers do not offer introspection.
8808 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * electric.el (electric-pair-mode): Improve interaction with
8811 electric-layout-mode.
8812 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8813 (electric-pair-syntax): Use text-mode-syntax-table in comments
8815 (electric-pair--insert): New function.
8816 (electric-pair-post-self-insert-function): Use it and
8817 electric--after-char-pos.
8819 2013-06-19 Leo Liu <sdl.web@gmail.com>
8821 * progmodes/octave.el (octave-help): Fix regexp.
8823 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8825 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8826 (shr-table-horizontal-line): Allow nil as a value, and change the
8828 (shr-insert-table-ruler): Respect the nil value.
8830 2013-06-18 Tom Tromey <tromey@barimba>
8832 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8834 (eww-open-file): New defun.
8835 (eww-render): Initialize new variables.
8836 (eww-display-html): Handle "link" and "a".
8837 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8838 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8839 (eww-back-url): Rename from eww-previous-url.
8840 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8843 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8845 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8846 Distinguish ternary operator tokens from slash symbol and slash
8849 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8851 Convert symbol prettification into minor mode and global minor mode.
8853 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8854 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8855 (prettify-symbols--keywords): Rename from
8856 `prog-prettify-symbols-alist' and make a local defvar.
8857 (prettify-symbols--compose-symbol): Rename from
8858 `prog--prettify-font-lock-compose-symbol'.
8859 (prettify-symbols--make-keywords): Rename from
8860 `prog-prettify-font-lock-symbols-keywords' and simplify.
8861 (prog-prettify-install): Remove.
8862 (prettify-symbols-mode): New minor mode, based on
8863 `prog-prettify-install'.
8864 (turn-on-prettify-symbols-mode): New function.
8865 (global-prettify-symbols-mode): New globalized minor mode.
8867 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8868 * progmodes/cfengine.el (cfengine3-mode):
8869 * progmodes/perl-mode.el (perl-mode): Don't call
8870 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8872 2013-06-18 Juri Linkov <juri@jurta.org>
8874 * files-x.el (modify-file-local-variable-message): New function.
8875 (modify-file-local-variable)
8876 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8877 and call `modify-file-local-variable-message' when it's non-nil.
8878 (add-file-local-variable, delete-file-local-variable)
8879 (add-file-local-variable-prop-line)
8880 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8881 and use it. (Bug#9820)
8883 2013-06-18 Juri Linkov <juri@jurta.org>
8885 * emulation/vi.el (vi-shell-op):
8886 * emulation/vip.el (vip-execute-com, ex-command):
8887 * emulation/viper-cmd.el (viper-exec-bang):
8888 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8889 the call of `shell-command-on-region'. (Bug#14637)
8891 * simple.el (shell-command-on-region): Doc fix.
8893 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8895 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8898 2013-06-18 Glenn Morris <rgm@gnu.org>
8900 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8902 * newcomment.el (comment-search-forward, comment-search-backward):
8903 Doc fix. (Bug#14376)
8905 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8907 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8908 (buffer-face-mode-invoke): Doc fix.
8910 2013-06-18 Matthias Meulien <orontee@gmail.com>
8912 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8913 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8915 2013-06-18 Glenn Morris <rgm@gnu.org>
8917 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8918 Replace obsolete function generic-make-keywords with its expansion.
8920 * progmodes/python.el (ffap-alist): Declare.
8922 * textmodes/reftex.el (bibtex-mode-map): Declare.
8924 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8926 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8927 (package-unpack, package-unpack-single): Return the pkg-dir.
8928 (package-download-transaction): Use it to update package-alist.
8930 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8932 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8935 2013-06-17 Juri Linkov <juri@jurta.org>
8937 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8939 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8941 * emacs-lisp/package.el (package-load-descriptor):
8942 Remove `with-syntax-table' call, `read' doesn't need it.
8943 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8945 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8947 * startup.el (command-line): Expand package name returned by
8948 `package--description-file' (bug#14639).
8950 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8952 * emacs-lisp/package.el (package-load-descriptor): Do not call
8953 `emacs-lisp-mode', just use its syntax table.
8955 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8957 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8958 `font-lock-extra-managed-props' if any prettifying keyword is added.
8959 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8960 (prog-mode): Use `setq-local'.
8962 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8964 * international/characters.el (standard-case-table): Set syntax of ?»
8965 and ?« to punctuation.
8967 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8969 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8970 Save relevant match data before calling `syntax-ppss' (bug#14595).
8972 2013-06-15 Juri Linkov <juri@jurta.org>
8974 * files-x.el (modify-file-local-variable-prop-line): Add local
8975 variables to the end of the existing comment on the first line.
8976 Use `file-auto-mode-skip' to skip interpreter magic line,
8977 and also skip XML declaration.
8979 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8981 * startup.el (package--builtin-versions): New var.
8982 (package-subdirectory-regexp): Remove.
8983 (package--description-file): Hard code its value instead.
8985 * emacs-lisp/package.el: Don't activate packages older than builtin.
8986 (package-obsolete-list): Rename from package-obsolete-alist, and make
8987 it into a simple list of package-desc.
8988 (package-strip-version): Remove.
8989 (package-built-in-p): Use package--builtin-versions.
8990 (package-mark-obsolete): Simplify.
8991 (package-process-define-package): Mark it obsolete if older than the
8993 (package-handle-response): Use line-end-position.
8994 (package-read-archive-contents, package--download-one-archive):
8996 (package--add-to-archive-contents): Skip if older than the builtin or
8998 (package-menu-describe-package): Fix last change.
8999 (package-list-unversioned): New var.
9000 (package-menu--generate): Use it.
9002 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9003 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9004 (autoload-builtin-package-versions): New variable.
9005 (autoload-generate-file-autoloads): Use them.
9006 Remove the list of autoloaded functions/macros from the
9007 (autoload...) comments.
9009 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9011 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9013 * simple.el (line-move-partial): Don't jump to the next screen
9014 line as soon as it becomes visible. Instead, continue enlarging
9015 the vscroll until the portion of a tall screen line that's left on
9016 display is about the height of the frame's default font.
9019 2013-06-15 Glenn Morris <rgm@gnu.org>
9021 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9022 compilation-error-regexp-alist void, or local while let-bound.
9024 * progmodes/make-mode.el (makefile-mode-syntax-table):
9025 Treat "=" as punctuation. (Bug#14614)
9027 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9029 * help-fns.el (describe-variable):
9030 Add extra line for permanent-local variables.
9032 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9034 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9035 Add export, import, library. (Bug#9164)
9036 (library): Set indent function.
9038 2013-06-14 Glenn Morris <rgm@gnu.org>
9040 * term/xterm.el (xterm--query):
9041 Stop after first matching handler. (Bug#14615)
9043 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9045 Add support for dired in saveplace.
9046 * dired.el (dired-initial-position-hook): New variable.
9047 (dired-initial-position): Call hook to place cursor position.
9048 * saveplace.el (save-place-to-alist): Add dired position.
9049 (save-place-dired-hook): New function.
9051 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9054 through a symbol rather than letrec.
9056 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9057 (package-desc): Add `dir' field.
9058 (package-desc-full-name): New function.
9059 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9060 (package-maybe-load-descriptor): Remove.
9061 (package-load-all-descriptors): Just call package-load-descriptor.
9062 (package--disabled-p): New function.
9063 (package-desc-vers, package-desc-doc): Remove aliases.
9064 (package--dir): Remove function.
9065 (package-activate): Check if a package is disabled.
9066 (package-process-define-package): New function, extracted from
9068 (define-package): Turn into a place holder.
9069 (package-unpack-single, package-tar-file-info):
9070 Use package--description-file.
9071 (package-compute-transaction): Use package--disabled-p.
9072 (package-download-transaction): Don't call
9073 package-maybe-load-descriptor since they're all loaded anyway.
9074 (package-install): Change argument to be a pkg-desc.
9075 (package-delete): Use a single pkg-desc argument.
9076 (describe-package-1): Use package-desc-dir instead of package--dir.
9077 Use package-desc property instead of package-symbol.
9078 (package-install-button-action): Adjust accordingly.
9079 (package--push): Rewrite.
9080 (package-menu--print-info): Adjust accordingly. Change the ID format
9082 (package-menu-describe-package, package-menu-get-status)
9083 (package-menu--find-upgrades, package-menu-mark-upgrades)
9084 (package-menu-execute, package-menu--name-predicate):
9086 * startup.el (package--description-file): New function.
9087 (command-line): Use it.
9088 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9089 Use package-desc-version.
9091 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9092 (byte-compile-preprocess): Use it.
9093 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9094 can't quite recognize.
9095 (byte-compile-add-to-list): Remove.
9096 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9097 (cconv-closure-convert): Add assertion.
9099 * emacs-lisp/map-ynp.el: Use lexical-binding.
9100 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9101 Factor out some repeated code.
9103 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9105 * subr.el (with-eval-after-load): New macro.
9106 (eval-after-load): Allow form to be a function.
9107 take advantage of lexical-binding.
9108 (do-after-load-evaluation): Use dolist and adjust to new format.
9109 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9111 2013-06-13 Juri Linkov <juri@jurta.org>
9113 * replace.el (perform-replace): Display "symbol " and other search
9114 modes from `isearch-message-prefix' in the *Help* buffer.
9116 * isearch.el (isearch-query-replace): Add " symbol" and other
9117 possible search modes from `isearch-message-prefix' to the prompt.
9118 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9119 when reading a regexp to collect.
9121 2013-06-13 Juri Linkov <juri@jurta.org>
9123 * isearch.el (word-search-regexp): Match whitespace if the search
9124 string begins or ends in whitespace. The LAX arg is applied to
9125 both ends of the search string. Use `regexp-quote' and explicit
9126 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9127 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9128 boundaries are replaced with symbol boundaries, and characters
9129 between symbols match non-word non-symbol syntax. (Bug#14602)
9131 2013-06-13 Juri Linkov <juri@jurta.org>
9133 * isearch.el (isearch-del-char): Don't exceed the length of
9134 `isearch-string' by the prefix arg. (Bug#14563)
9136 2013-06-13 Juri Linkov <juri@jurta.org>
9138 * isearch.el (isearch-yank-word, isearch-yank-line)
9139 (isearch-char-by-name, isearch-quote-char)
9140 (isearch-printing-char, isearch-process-search-char):
9141 Add optional count prefix arg. (Bug#14563)
9143 * international/isearch-x.el
9144 (isearch-process-search-multibyte-characters):
9145 Add optional count prefix arg.
9147 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9149 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9150 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9153 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9155 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9157 2013-06-13 Glenn Morris <rgm@gnu.org>
9159 * startup.el (tty-handle-args):
9160 Don't just discard "--" and anything after. (Bug#14608)
9162 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9164 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9166 Implement changes in Secret Service API. Make it backward compatible.
9167 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9168 (secrets-create-item): Use it. Prefix properties with interface.
9170 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9172 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9173 (term-emulate-terminal): Respect term-suppress-hard-newline.
9175 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9177 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9178 Only remove a `thumb-file' overlay. (Bug#14548)
9180 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9182 * mail/reporter.el (reporter-submit-bug-report):
9183 Handle missing package-name. (Bug#14600)
9185 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9187 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9188 (reftex-citation-prompt, reftex-default-bibliography)
9189 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9190 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9191 (reftex-bib-sort-author, reftex-bib-sort-year)
9192 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9193 (reftex-extract-bib-entries-from-thebibliography)
9194 (reftex-get-bibkey-default, reftex-get-bib-names)
9195 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9196 (reftex-format-bib-entry, reftex-parse-bibitem)
9197 (reftex-format-bibitem, reftex-do-citation)
9198 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9199 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9200 (reftex-insert-bib-matches, reftex-format-citation)
9201 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9202 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9203 existing comments into docstrings.
9205 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9207 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9209 2013-06-12 Andreas Schwab <schwab@suse.de>
9211 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9212 for auto-save files.
9214 2013-06-12 Glenn Morris <rgm@gnu.org>
9216 * ido.el (ido-delete-ignored-files): Remove.
9217 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9218 Go back to calling ido-ignore-item-p directly.
9220 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9222 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9224 * ido.el (ido-delete-ignored-files): New function,
9225 split from ido-make-file-list-1.
9226 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9227 (ido-make-file-list-1): Use ido-delete-ignored-files.
9229 2013-06-12 Leo Liu <sdl.web@gmail.com>
9231 * progmodes/octave.el (inferior-octave-startup)
9232 (inferior-octave-completion-table)
9233 (inferior-octave-track-window-width-change)
9234 (octave-eldoc-function-signatures, octave-help)
9235 (octave-find-definition): Use single quoted strings.
9236 (inferior-octave-startup-args): Change default value.
9237 (inferior-octave-startup): Do not hard code "-i" and
9238 "--no-line-editing".
9239 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9240 (inferior-octave-directory-tracker): Use it.
9241 (octave-goto-function-definition): Robustify.
9242 (octave-help): Support highlighting operators in 'See also'.
9243 (octave-find-definition): Find subfunctions only in Octave mode.
9245 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9247 * help-fns.el (help-fns--compiler-macro): If the handler function is
9248 named, then put a link to it.
9249 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9250 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9252 (cl-eval-when): Simplify debug spec.
9253 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9254 compiler-macro function instead of setting `compiler-macro-file'.
9256 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9258 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9259 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9261 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9262 Daniel Hackney <dan@haxney.org>
9264 First part of Daniel Hackney's patch to package.el.
9265 * emacs-lisp/package.el: Use defstruct.
9266 (package-desc): New, main struct.
9267 (package--bi-desc, package--ac-desc): New structs, used to describe the
9268 format in external files.
9269 (package-desc-vers): Replace with package-desc-version accessor.
9270 (package-desc-doc): Replace with package-desc-summary accessor.
9271 (package-activate-1): Remove `package' arg since the pkg-vec now
9273 (define-package): Use package-desc-from-define.
9274 (package-unpack-single): Change file-name arg to be a symbol.
9275 (package--add-to-archive-contents): Use package-desc-create and new
9276 accessor functions to package--ac-desc.
9277 (package-buffer-info, package-tar-file-info): Return a package-desc.
9278 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9279 arg to be a package-desc.
9280 (package-install-file): Adjust accordingly. Use \' to match EOS.
9281 (package--from-builtin): New function.
9282 (describe-package-1, package-menu--generate): Use it.
9283 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9284 (package-generate-autoloads): Idem and return the name of the file.
9285 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9286 Change pkg-info arg to be a package-desc.
9287 Use package-make-ac-desc.
9288 (package-upload-file): Use \' to match EOS.
9289 * finder.el (finder-compile-keywords): Use package-make-builtin.
9291 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9293 * vc/vc.el (vc-deduce-fileset): Change error message.
9294 (vc-read-backend): New function.
9295 (vc-next-action): Use it.
9297 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9299 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9300 (prolog-font-lock-keywords): Use regexp-opt instead.
9301 Don't manually highlight strings.
9302 (prolog-mode-variables): Simplify comment-start-skip.
9303 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9305 * emacs-lisp/generic.el (generic--normalise-comments)
9306 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9307 (generic-mode-set-comments): Use them.
9308 (generic-bracket-support): Use setq-local.
9309 (generic-make-keywords-list): Declare obsolete.
9311 2013-06-11 Glenn Morris <rgm@gnu.org>
9313 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9314 Prettify after setting font-lock-defaults. (Bug#14574)
9316 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9318 * replace.el (query-replace, occur-read-regexp-defaults-function)
9320 * subr.el (declare-function, number-sequence, local-set-key)
9321 (substitute-key-definition, locate-user-emacs-file)
9322 (with-silent-modifications, split-string, eval-after-load):
9323 Fix typos, remove unneeded backslashes and reflow some docstrings.
9325 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9327 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9328 default for Elisp files.
9330 2013-06-11 Glenn Morris <rgm@gnu.org>
9332 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9333 although define-derived-mode was doing this anyway. (Bug#14583)
9335 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9337 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9338 Fix make-variable-buffer-local call to refer to the correct variable.
9340 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9342 * eshell/em-term.el (eshell-visual-commands)
9343 (eshell-visual-subcommands, eshell-visual-options):
9344 Add summary line to docstrings. Add cross-references.
9346 2013-06-10 Glenn Morris <rgm@gnu.org>
9348 * epa.el (epa-read-file-name): New function. (Bug#14510)
9349 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9351 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9353 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9354 output redirection to be ignored with visual commands.
9356 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9358 * eshell/em-term.el (eshell-visual-command-p): New function.
9359 (eshell-term-initialize): Move long lambda to separate function
9360 eshell-visual-command-p.
9361 * eshell/em-dirs.el (eshell-dirs-initialise):
9362 * eshell/em-script.el (eshell-script-initialize):
9363 Add missing #' to lambda.
9365 2013-06-08 Leo Liu <sdl.web@gmail.com>
9367 * progmodes/octave.el (octave-add-log-current-defun): New function.
9368 (octave-mode): Set add-log-current-defun-function.
9369 (octave-goto-function-definition): Do not move point if not found.
9370 (octave-find-definition): Enhance to try subfunctions first.
9372 2013-06-08 Glenn Morris <rgm@gnu.org>
9374 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9375 (byte-compile-backward-char, byte-compile-backward-word):
9376 Improve previous change, to handle non-explicit nil.
9378 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9380 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9381 (smie--opener/closer-at-point): New function.
9382 (smie--matching-block-data): Use it. Don't match from right after an
9383 opener or right before a closer. Obey smie-blink-matching-inners.
9384 Don't signal a mismatch for repeated inners like "switch..case..case".
9386 2013-06-07 Leo Liu <sdl.web@gmail.com>
9388 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9390 (octave-function-header-regexp): Fix. (Bug#14570)
9391 (octave-help-mode-finish-hook, octave-help-mode-finish):
9392 Remove. Just use temp-buffer-show-hook.
9394 * newcomment.el (comment-search-backward): Revert last change.
9397 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9399 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9401 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9402 through xargs, to avoid failure due to MS-Windows limitations on
9403 command-line length.
9405 2013-06-06 Glenn Morris <rgm@gnu.org>
9407 * font-lock.el (lisp-font-lock-keywords-2):
9408 Treat user-error like error.
9410 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9411 (byte-compile-backward-char, byte-compile-backward-word):
9412 Handle explicit nil arguments. (Bug#14565)
9414 2013-06-05 Alan Mackenzie <acm@muc.de>
9416 * isearch.el (isearch-allow-prefix): New user option.
9417 (isearch-other-meta-char): Don't exit isearch when a prefix
9418 argument is typed whilst `isearch-allow-prefix' is non-nil.
9421 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9423 * autorevert.el (auto-revert-notify-handler): Use memq.
9424 Hide assertion failure.
9426 * skeleton.el: Use cl-lib.
9427 (skeleton-further-elements): Use defvar-local.
9428 (skeleton-insert): Use cl-progv.
9430 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9432 * progmodes/prog-mode.el (prog-prettify-symbols)
9433 (prog-prettify-install): Update docstrings.
9435 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9437 * simple.el: Move all the prog-mode code to prog-mode.el.
9438 * progmodes/prog-mode.el: New file.
9439 * loadup.el: Add prog-mode.el.
9441 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9443 * simple.el (prog-prettify-symbols): Add version.
9444 (prog-prettify-install): Add convenience function to prettify symbols.
9446 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9447 (perl--augmented-font-lock-keywords-1)
9448 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9449 variables and use it.
9451 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9452 (cfengine3-mode): Remove unneeded variable and use it.
9454 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9455 (lisp--augmented-font-lock-keywords-1)
9456 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9457 Remove unneeded variables and use it.
9459 2013-06-05 João Távora <joaotavora@gmail.com>
9461 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9462 to point when opening the connection. (Bug#14380)
9464 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9466 * subr.el (load-history-regexp, load-history-filename-element)
9467 (eval-after-load, after-load-functions, do-after-load-evaluation)
9468 (eval-next-after-load, display-delayed-warnings)
9469 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9470 definition of save-match-data.
9471 (overriding-local-map): Remove accidental obsolescence declaration.
9473 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9475 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9477 Generalize symbol prettify support to prog-mode and implement it
9478 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9479 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9480 (prog--prettify-font-lock-compose-symbol)
9481 (prog-prettify-font-lock-symbols-keywords): New variables and
9482 functions to support symbol prettification.
9483 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9484 (lisp--augmented-font-lock-keywords-1)
9485 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9486 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9487 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9488 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9489 Implement prettify of -> => :: strings.
9490 * progmodes/perl-mode.el (perl-prettify-symbols)
9491 (perl--font-lock-compose-symbol)
9492 (perl--font-lock-symbols-keywords): Move to prog-mode.
9493 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9494 (perl-font-lock-keywords-1)
9495 (perl-font-lock-keywords-2): Remove explicit prettify support.
9496 (perl--augmented-font-lock-keywords)
9497 (perl--augmented-font-lock-keywords-1)
9498 (perl--augmented-font-lock-keywords-2, perl-mode):
9499 Implement prettify support.
9501 2013-06-05 Leo Liu <sdl.web@gmail.com>
9503 Re-implement smie matching block highlight using
9504 show-paren-data-function. (Bug#14395)
9505 * emacs-lisp/smie.el (smie-matching-block-highlight)
9506 (smie--highlight-matching-block-overlay)
9507 (smie--highlight-matching-block-lastpos)
9508 (smie-highlight-matching-block)
9509 (smie-highlight-matching-block-mode): Remove.
9510 (smie--matching-block-data-cache): New variable.
9511 (smie--matching-block-data): New function.
9512 (smie-setup): Use smie--matching-block-data for
9513 show-paren-data-function.
9515 * progmodes/octave.el (octave-mode-menu): Fix.
9516 (octave-find-definition): Skip garbage lines.
9518 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9520 Fix compilation error with simultaneous dynamic+lexical scoping.
9521 Add warning when a defvar appears after the first let-binding.
9522 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9523 (byte-compile-close-variables): Initialize it.
9524 (byte-compile--declare-var): New function.
9525 (byte-compile-file-form-defvar)
9526 (byte-compile-file-form-define-abbrev-table)
9527 (byte-compile-file-form-custom-declare-variable): Use it.
9528 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9529 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9530 (byte-compile-bind): Handle dynamic bindings that shadow
9532 (byte-compile-unbind): Make arg non-optional.
9533 (byte-compile-let): Simplify.
9534 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9535 (cconv--analyse-function, cconv-analyse-form): Populate it.
9536 Protect byte-compile-bound-variables to limit the scope of defvars.
9537 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9538 Remove unneeded rule for `declare'.
9540 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9541 so as to avoid depending on cl-adjoin at run-time.
9542 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9544 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9545 (macroexp--warn-and-return): Use it.
9547 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9549 * subr.el: Convert to lexical binding.
9550 (overriding-local-map): Make obsolete.
9551 (add-to-list): Doc fix. Add compiler macro.
9552 (read-key): Swap values of local maps.
9554 2013-06-05 Leo Liu <sdl.web@gmail.com>
9556 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9558 2013-06-04 Leo Liu <sdl.web@gmail.com>
9560 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9561 (compilation-auto-jump): Suppress the "Mark set" message to give
9562 way to exit message.
9564 2013-06-04 Alan Mackenzie <acm@muc.de>
9566 Remove faulty optimisation from indentation calculation.
9567 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9568 search limit based on 2000 characters back from indent-point.
9570 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9572 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9574 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9576 * emacs-lisp/lisp.el: Use lexical-binding.
9577 (lisp--local-variables-1, lisp--local-variables): New functions.
9578 (lisp--local-variables-completion-table): New var.
9579 (lisp-completion-at-point): Use it complete let-bound vars.
9581 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9582 eagerly (bug#14422).
9584 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9586 * autorevert.el (auto-revert-notify-enabled)
9587 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9588 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9589 (auto-revert-notify-handler): Handle also gfilenotify.
9591 * subr.el (file-notify-handle-event): New defun. Replacing ...
9592 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9595 2013-06-03 Juri Linkov <juri@jurta.org>
9597 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9598 `M-s h .'. (Bug#14427)
9600 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9601 command `hi-lock-face-symbol-at-point'.
9602 (hi-lock-face-symbol-at-point): New command.
9603 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9604 (hi-lock-menu): Add `highlight-symbol-at-point'.
9605 (hi-lock-mode): Doc fix.
9607 * isearch.el (isearch-forward-symbol-at-point): New command.
9608 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9609 (isearch-highlight-regexp): Add a regexp which matches
9610 words/symbols for word/symbol mode.
9612 * subr.el (find-tag-default-bounds): New function with the body
9613 mostly moved from `find-tag-default'.
9614 (find-tag-default): Move most code to `find-tag-default-bounds',
9615 call it and apply `buffer-substring-no-properties' afterwards.
9617 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9619 * eshell/em-term.el (eshell-term-initialize):
9620 Use `cl-intersection' rather than `intersection'.
9622 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9624 * vc/log-view.el: Doc fix.
9625 (log-view-mode-map): Copy keymap from `special-mode-map'.
9627 2013-06-02 Eric Ludlam <zappo@gnu.org>
9629 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9630 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9631 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9632 (eieio-unbound, eieio-default-superclass)
9633 (eieio--define-field-accessors, method-static, method-before)
9634 (method-primary, method-after, method-num-lists)
9635 (method-generic-before, method-generic-primary)
9636 (method-generic-after, method-num-slots)
9637 (eieio-specialized-key-to-generic-key)
9638 (eieio--check-type, class-v, class-p)
9639 (eieio-class-name, define-obsolete-function-alias)
9640 (eieio-class-parents-fast, eieio-class-children-fast)
9641 (same-class-fast-p, class-constructor, generic-p)
9642 (generic-primary-only-p, generic-primary-only-one-p)
9643 (class-option-assoc, class-option, eieio-object-p)
9644 (class-abstract-p, class-method-invocation-order)
9645 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9646 (eieio-class-un-autoload, eieio-defclass)
9647 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9648 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9649 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9650 (eieio-defgeneric-reset-generic-form)
9651 (eieio-defgeneric-form-primary-only)
9652 (eieio-defgeneric-reset-generic-form-primary-only)
9653 (eieio-defgeneric-form-primary-only-one)
9654 (eieio-defgeneric-reset-generic-form-primary-only-one)
9655 (eieio-unbind-method-implementations)
9656 (eieio--defmethod, eieio--typep)
9657 (eieio-perform-slot-validation, eieio-validate-slot-value)
9658 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9659 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9660 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9661 (eieio-slot-name-index, eieio-class-slot-name-index)
9662 (eieio-set-defaults, eieio-initarg-to-attribute)
9663 (eieio-attribute-to-initarg, eieio-c3-candidate)
9664 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9665 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9666 (eieio-class-precedence-list, eieio-generic-call-methodname)
9667 (eieio-generic-call-arglst, eieio-generic-call-key)
9668 (eieio-generic-call-next-method-list)
9669 (eieio-pre-method-execution-functions, eieio-generic-call)
9670 (eieio-generic-call-primary-only, eieiomt-method-list)
9671 (eieiomt-optimizing-obarray, eieiomt-install)
9672 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9673 (eieio-generic-form, eieio-defmethod, make-obsolete)
9674 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9675 (defclass): Remove `eval-and-compile' from macro.
9676 (call-next-method, shared-initialize): Instead of using
9677 `scoped-class' variable, use new eieio--scoped-class, and
9678 eieio--with-scoped-class.
9679 (initialize-instance): Rename local variable 'scoped-class' to
9680 'this-class' to remove ambiguitity from old global.
9682 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9684 (eieio--scoped-class-stack): New variable.
9685 (eieio--scoped-class): New fcn.
9686 (eieio--with-scoped-class): New scoping macro.
9687 (eieio-defclass): Use pushnew instead of add-to-list.
9688 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9689 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9690 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9691 `scoped-class' variable, use new eieio--scoped-class, and
9692 eieio--with-scoped-class.
9694 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9696 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9698 * eshell/esh-ext.el (eshell-external-command): Pass args to
9699 `eshell-find-interpreter'.
9700 (eshell-find-interpreter): Add new second parameter ARGS.
9702 * eshell/em-script.el (eshell-script-initialize): Add second arg
9703 to the function added as MATCH to `eshell-interpreter-alist'.
9705 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9706 the function added as MATCH to `eshell-interpreter-alist'.
9708 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9709 (eshell-visual-options): New defcustom.
9710 (eshell-escape-control-x): Adapt docstring.
9711 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9712 `eshell-visual-options' in addition to `eshell-visual-commands'.
9713 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9715 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9717 * progmodes/python.el (python-indent-block-enders): Add break,
9718 continue and raise keywords.
9720 2013-06-01 Glenn Morris <rgm@gnu.org>
9722 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9724 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9725 * progmodes/cc-cmds.el (delete-forward-p):
9726 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9727 * progmodes/cc-engine.el (buffer-syntactic-context):
9728 * progmodes/cc-fonts.el (face-property-instance):
9729 * progmodes/cc-mode.el (set-keymap-parents):
9730 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9731 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9732 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9733 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9734 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9736 * progmodes/cc-vars.el (other): Emacs has this widget since
9737 at least 21.1, so don't (re)define it.
9739 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9740 Replace the obsolete alias pcomplete-arg-quote-list.
9742 2013-06-01 Leo Liu <sdl.web@gmail.com>
9744 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9746 (inferior-octave-minimal-columns)
9747 (inferior-octave-last-column-width): New variables.
9748 (inferior-octave-track-window-width-change): New function.
9749 (inferior-octave-mode): Adjust column width so that Octave output,
9750 for example from 'ls', can fit into the window nicely.
9752 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9754 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9755 Highlight expansions inside regexp literals.
9757 2013-05-31 Glenn Morris <rgm@gnu.org>
9759 * obsolete/sym-comp.el (symbol-complete):
9760 Replace obsolete completion-annotate-function.
9762 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9764 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9766 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9767 New function, checks if point is inside a literal that allows
9768 expression expansion.
9769 (ruby-syntax-propertize-expansion): Use it.
9770 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9773 2013-05-30 Juri Linkov <juri@jurta.org>
9775 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9777 (isearch-invisible): New variable.
9778 (isearch-forward): Doc fix.
9779 (isearch-mode): Set `isearch-invisible'
9780 to the value of `search-invisible'.
9781 (isearch-toggle-case-fold): Doc fix.
9782 (isearch-toggle-invisible): New command.
9783 (isearch-query-replace): Let-bind `search-invisible'
9784 to the value of `isearch-invisible'.
9785 (isearch-search): Use `isearch-invisible' instead of
9786 `search-invisible'. Let-bind `search-invisible'
9787 to the value of `isearch-invisible'. (Bug#11378)
9789 2013-05-30 Juri Linkov <juri@jurta.org>
9791 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9792 call when `query-flag' is nil and `search-invisible' is non-nil.
9795 2013-05-30 Glenn Morris <rgm@gnu.org>
9797 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9799 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9800 (cc-require): Suppress spurious "noruntime" warnings.
9801 (cc-require-when-compile): Use fboundp, for sake of compiler.
9803 * progmodes/cc-mode.el: Move load of cc-vars before that of
9804 cc-langs (which in turn loads cc-vars), to quieten compiler.
9806 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9808 * paren.el: Simplify the code.
9809 (show-paren-mode): Always start the timer.
9810 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9811 (show-paren--overlay, show-paren--overlay-1): Rename from
9812 show-paren-overlay and show-paren-overlay-1, and initialize to an
9813 overlay rather than to nil.
9814 (show-paren-function): Misc cleanup and simplifications.
9816 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * paren.el (show-paren-data-function): New hook.
9819 (show-paren--default): New function, extracted from show-paren-function.
9820 (show-paren-function): Use show-paren-data-function.
9822 2013-05-30 Glenn Morris <rgm@gnu.org>
9824 * ielm.el (ielm-map, ielm-complete-symbol):
9825 Use completion-at-point rather than obsolete functions.
9826 (inferior-emacs-lisp-mode): Doc fix.
9827 Set completion-at-point-functions, rather than
9828 comint-dynamic-complete-functions.
9830 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9831 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9832 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9834 * image.el (image-animated-p): Tweak definition.
9836 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9837 (rlogin-process-connection-type): Tweak default. Add set-after.
9838 (rlogin-host): Doc fix.
9839 (rlogin): Tweak prompt.
9840 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9842 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9843 * progmodes/tcl.el (inferior-tcl-mode-map):
9844 Use completion-at-point rather than obsolete alias.
9846 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9848 * minibuffer.el (read-file-name-completion-ignore-case):
9849 Move before completion--in-region, for eager macro expansion.
9851 2013-05-29 Juri Linkov <juri@jurta.org>
9853 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9854 for total count of matching lines. Add `global-matches' for total
9855 count of matches. Rename `matches' to `lines' for count of
9856 matching lines. Add `matches' for count of matches.
9857 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9858 to `prev-line' for line number of prev match endpt.
9859 Increment `matches' for every match. Print the number of
9860 matching lines in the header.
9861 (occur-context-lines): Rename `lines' to `curr-line'.
9862 Rename `prev-lines' to `prev-line'. (Bug#14017)
9864 2013-05-29 Juri Linkov <juri@jurta.org>
9866 * replace.el (perform-replace): Add `skip-read-only-count',
9867 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9868 Increment them for corresponding conditions and report the number
9869 of skipped occurrences in the final message. (Bug#11746)
9870 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9871 (replace-string, replace-regexp): Doc fix.
9873 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9875 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9877 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9878 prog-mode-map (bug#14504).
9880 2013-05-29 Leo Liu <sdl.web@gmail.com>
9882 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9883 (octave-help): Small simplification.
9885 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9886 off the highlight first.
9888 2013-05-29 Glenn Morris <rgm@gnu.org>
9890 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9891 Handle idlwave-last-system-routine-info-cons-cell being nil.
9893 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9894 (idlwave-write-paths): Simplify via with-temp-buffer.
9896 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9897 * emulation/cua-rect.el: Also load cua-base at run time.
9899 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9900 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9901 (cperl-imenu-on-info): Require imenu.
9903 2013-05-28 Alan Mackenzie <acm@muc.de>
9905 Handle "capitalised keywords" correctly.
9906 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9908 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9910 * eshell/em-unix.el: Add -r option to cp.
9912 2013-05-28 Glenn Morris <rgm@gnu.org>
9914 * vc/vc-arch.el (vc-exec-after): Declare.
9915 (vc-switches): Autoload.
9916 * vc/vc-bzr.el: No need to require vc when compiling.
9917 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9918 (vc-resynch-buffer, vc-dir-refresh): Declare.
9919 (vc-setup-buffer, vc-switches): Autoload.
9920 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9921 (vc-resynch-buffer): Declare.
9922 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9923 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9924 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9925 (grep-read-regexp, grep-read-files, grep-expand-template)
9926 (vc-dir-refresh): Declare.
9927 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9928 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9929 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9930 * vc/vc-mtn.el (vc-exec-after): Declare.
9931 (vc-switches): Autoload.
9932 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9933 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9934 (vc-file-tree-walk): Declare.
9935 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9936 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9937 (vc-tag-precondition, vc-rename-master): Autoload.
9938 * vc/vc-svn.el (vc-exec-after): Declare.
9939 (vc-switches, vc-setup-buffer): Autoload.
9940 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9942 (vc-resynch-buffer): Declare.
9944 * obsolete/fast-lock.el (byte-compile-warnings):
9945 Don't warn about obsolete features in this obsolete file.
9947 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9948 Move definition before use.
9950 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9951 (dun-unix-verbs): Remove dun-zippy.
9952 (dun-zippy): Remove function.
9954 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9956 2013-05-27 Juri Linkov <juri@jurta.org>
9958 * replace.el (replace-search): New function with code moved out
9959 from `perform-replace'.
9960 (replace-highlight, replace-dehighlight): Move function definitions
9961 up closer to `replace-search'. (Bug#11746)
9963 2013-05-27 Juri Linkov <juri@jurta.org>
9965 * replace.el (perform-replace): Ignore invisible matches.
9966 In addition to checking `query-replace-skip-read-only', also
9967 filter out matches by calling `run-hook-with-args-until-failure'
9968 on `isearch-filter-predicates', and also check `search-invisible'
9969 for t or call `isearch-range-invisible'.
9970 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9972 2013-05-27 Juri Linkov <juri@jurta.org>
9974 * isearch.el (isearch-filter-predicates): Rename from
9975 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9976 (isearch-message-prefix): Display text from the property
9977 `isearch-message-prefix' of the currently active filters.
9978 (isearch-search): Don't compare `isearch-filter-predicate' with
9979 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9980 on `isearch-filter-predicates'. Also check `search-invisible' for t
9981 or call `isearch-range-invisible'.
9982 (isearch-filter-visible): Make obsolete.
9983 (isearch-lazy-highlight-search):
9984 Call `run-hook-with-args-until-failure' on
9985 `isearch-filter-predicates' and use `isearch-range-invisible'.
9987 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9988 `isearch-filter-predicates' instead of `funcall'ing
9989 `isearch-filter-predicate'.
9990 (Info-mode): Set `Info-isearch-filter' to
9991 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9993 * dired-aux.el (dired-isearch-filter-predicate-orig):
9995 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9996 (dired-isearch-filenames-end): Add and remove
9997 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9998 instead of changing the value of `isearch-filter-predicate'.
9999 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10000 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10001 Put property `isearch-message-prefix' to "filename " on
10002 `dired-isearch-filter-filenames'.
10004 * wdired.el (wdired-change-to-wdired-mode):
10005 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10006 locally instead of changing `isearch-filter-predicate'.
10007 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10009 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10011 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10012 return the commit hash (Bug#14459). Also set the
10013 `vc-git-detached' property.
10014 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10015 (vc-git-mode-line-string): Use the same help-echo format whether
10016 in detached mode or not, because we know the actual revision now.
10017 When in detached mode, shorten the revision to 7 chars.
10019 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10021 * emacs-lisp/easy-mmode.el (define-minor-mode):
10022 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10023 mode hook and provide a docstring.
10025 2013-05-27 Alan Mackenzie <acm@muc.de>
10027 Remove spurious syntax-table text properties inserted by C-y.
10028 * progmodes/cc-mode.el (c-after-change): Also clear hard
10029 syntax-table property with value nil.
10031 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10033 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10034 when reading the events; the buffer layout shall not be changed.
10036 2013-05-27 Leo Liu <sdl.web@gmail.com>
10038 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10040 (inferior-octave-directory-tracker): Automatically re-sync
10042 (octave-help): Improve handling of 'See also'.
10044 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * doc-view.el: Minor naming convention tweaks.
10047 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10049 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10050 even if there's no `display' property yet (bug#14435).
10052 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10054 * subr.el (unmsys--file-name): Rename from reveal-filename.
10056 * Makefile.in (custom-deps, finder-data, autoloads)
10057 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10058 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10059 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10061 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10064 error-completion on the first 2 args of condition-case (bug#14446).
10067 2013-05-25 Leo Liu <sdl.web@gmail.com>
10069 * comint.el (comint-previous-matching-input): Do not flood the
10070 *Messages* buffer with trivial messages.
10072 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10074 * progmodes/flymake.el (flymake-nop): Don't return a string.
10075 (flymake-set-at): Fix typo.
10077 * simple.el (read--expression): New function, extracted from
10078 eval-expression. Set completion-at-point-functions (bug#14465).
10079 (eval-expression, eval-minibuffer): Use it.
10081 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10083 * progmodes/flymake.el (flymake-save-buffer-in-file)
10084 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10085 (flymake-selected-frame, flymake-log, flymake-ins-after)
10086 (flymake-set-at, flymake-get-buildfile-from-cache)
10087 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10088 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10089 Refine the doc string.
10090 (flymake-get-file-name-mode-and-masks): Reformat.
10091 (flymake-get-real-file-name-function): Fix a minor bug.
10093 2013-05-24 Juri Linkov <juri@jurta.org>
10095 * progmodes/grep.el (grep-mode-font-lock-keywords):
10096 Support =linenumber= format used by git-grep for lines with
10097 function names. (Bug#13549)
10099 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10101 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10102 0 after a semi-colon; it works better for smie-auto-fill.
10103 (octave--indent-new-comment-line): New function.
10104 (octave-indent-new-comment-line): Use it (indirectly).
10105 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10106 modify comment-line-break-function.
10108 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10109 (smie-setup): Use add-function to set it.
10111 2013-05-24 Sam Steingold <sds@gnu.org>
10113 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10114 argument (before the `interactive' argument).
10116 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10118 * image-mode.el (image-mode-winprops): Add winprops to
10119 image-mode-winprops-alist before running
10120 image-mode-new-window-functions.
10121 * doc-view.el (doc-view-new-window-function): Don't delay
10122 doc-view-goto-page via timers (bug#14435).
10124 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10126 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10127 (doc-view-desktop-save-buffer): New function.
10128 (doc-view-restore-desktop-buffer): New function.
10129 (desktop-buffer-mode-handlers):
10130 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10132 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10133 `desktop-save-buffer' function.
10135 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10137 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10138 (tramp-gvfs-file-name-handler): Raise a user error when
10139 `tramp-gvfs-enabled' is nil.
10140 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10141 Do not raise a user error when loading package. (Bug#14447)
10143 * net/xesam.el: Move to obsolete/.
10145 2013-05-24 Glenn Morris <rgm@gnu.org>
10147 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10149 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10151 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10152 (Info-find-node, Man-getpage-in-background): Declare.
10154 * mail/unrmail.el (unrmail):
10155 Replace obsolete detect-coding-with-priority.
10157 * net/socks.el (socks-split-string): Use this rather than split-string.
10158 (socks-nslookup-host): Update for above change.
10159 (dynamic-choice, s5-dynamic-choice-match)
10160 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10161 Comment out unused code.
10163 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10164 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10165 (gud-tooltip-echo-area): Make obsolete.
10166 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10168 * progmodes/js.el (js--optimize-arglist): Declare.
10170 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10172 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10173 (ediff-window-C): Declare.
10175 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10176 Tweak requires to silence compiler.
10178 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10179 (he-search-string, he-tried-table, he-expand-list)
10180 (he-init-string, he-string-member, he-substitute-string)
10181 (he-reset-string): Declare.
10183 * obsolete/options.el (list-options): Use custom-variable-p,
10184 rather than obsolete alias.
10186 2013-05-23 Sam Steingold <sds@gnu.org>
10188 * simple.el (shell-command-on-region): Pass the `replace' argument
10189 down to `call-process-region' to comply with the doc as reported on
10190 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10192 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * emacs-lisp/smie.el (smie-indent-forward-token)
10195 (smie-indent-backward-token): Handle string tokens (bug#14381).
10197 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10199 * ielm.el (ielm-menu): New menu.
10200 (inferior-emacs-lisp-mode): Set comment-start.
10202 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10204 * textmodes/reftex.el (reftex-ref-style-toggle):
10205 Fix deactivate action.
10207 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10208 Add cleveref macros.
10210 * textmodes/reftex-parse.el
10211 (reftex-locate-bibliography-files): Accept options for
10212 bibliography commands.
10213 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10214 Add addbibresource. Basic Biblatex support.
10216 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10218 * net/tramp-gvfs.el (top):
10219 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10220 when loading package. (Bug#14447)
10222 2013-05-23 Glenn Morris <rgm@gnu.org>
10224 * progmodes/js.el: No need to load comint when compiling.
10225 (ring-insert, comint-send-string, comint-send-input)
10226 (comint-last-input-end, ido-chop): Declare.
10228 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10229 * vc/ediff-mult.el: Adjust requires.
10230 (ediff-directories-internal, ediff-directory-revisions-internal)
10231 (ediff-patch-file-internal): Declare.
10232 * vc/ediff-ptch.el: Adjust requires.
10233 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10234 (ediff-find-file): Autoload.
10235 * vc/ediff-util.el: No need to load ediff when compiling.
10236 (ediff-regions-internal): Declare.
10237 * vc/ediff-wind.el: Adjust requires.
10238 (ediff-compute-toolbar-width): Define when compiling.
10239 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10240 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10241 (dired-get-filename, dired-get-marked-files)
10242 (ediff-last-dir-patch, ediff-patch-default-directory)
10243 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10244 (ediff-patch-buffer-internal): Declare.
10246 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10247 (ispell-process, ispell-buffer-local-words, lm-summary)
10248 (lm-section-start, lm-section-end): Declare.
10249 (checkdoc-ispell-init): Simplify.
10251 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10252 (he-string-member, he-reset-string, he-substitute-string): Declare.
10254 * eshell/em-ls.el: Adjust requires.
10255 (eshell-glob-regexp): Declare.
10256 * eshell/em-tramp.el: Adjust requires.
10257 (eshell-parse-command): Autoload.
10258 * eshell/em-xtra.el: Adjust requires.
10259 (eshell-parse-command): Autoload.
10260 * eshell/esh-ext.el: Adjust requires.
10261 (eshell-parse-command, eshell-close-handles): Autoload.
10262 * eshell/esh-io.el: Adjust requires.
10263 (eshell-output-filter): Autoload.
10264 * eshell/esh-util.el: No need to load tramp when compiling.
10265 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10267 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10268 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10269 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10270 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10271 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10272 * eshell/esh-opt.el, eshell/esh-proc.el:
10273 * eshell/esh-var.el: Adjust requires.
10274 * eshell/eshell.el: Do not require esh-util twice.
10275 (eshell-add-input-to-history): Declare.
10276 (eshell-command): Check history module is active before using it.
10278 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10280 2013-05-22 Leo Liu <sdl.web@gmail.com>
10282 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10284 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10286 * autorevert.el (auto-revert-notify-add-watch)
10287 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10288 it indicates changes in file modification time.
10290 2013-05-22 Glenn Morris <rgm@gnu.org>
10292 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10293 Always delete the autoloaded function from the noruntime and
10294 unresolved functions lists.
10296 * allout.el: No need to load epa, epg, overlay when compiling.
10297 (epg-context-set-passphrase-callback, epg-list-keys)
10298 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10299 (epg-key-user-id-list): Declare.
10301 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10302 (viper-set-parsing-style-toggling-macro)
10303 (viper-set-emacs-state-searchstyle-macros):
10304 Use called-interactively-p on Emacs.
10305 (viper-looking-back): Make it an obsolete alias. Update callers.
10306 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10307 Use looking-back rather than viper-looking-back.
10308 (viper-tmp-insert-at-eob, viper-enlarge-region)
10309 (viper-read-string-with-history, viper-register-to-point)
10310 (viper-append-to-register, viper-change-state-to-vi)
10311 (viper-backward-char-carefully, viper-forward-char-carefully)
10312 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10313 (viper-change-state-to-emacs): Declare.
10314 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10315 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10316 * emulation/viper-mous.el: Do not load viper-cmd.
10317 (viper-backward-char-carefully, viper-forward-char-carefully)
10318 (viper-forward-word, viper-adjust-window): Declare.
10320 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10322 * progmodes/idlw-help.el (idlwave-help-fontify):
10323 Use called-interactively-p.
10325 * term/w32console.el (w32-get-console-codepage)
10326 (w32-get-console-output-codepage): Declare.
10328 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10329 Remove unnecessary declarations.
10330 (dframe-message): Doc fix.
10332 * info.el (dframe-select-attached-frame, dframe-current-frame):
10335 * speedbar.el (speedbar-message): Make it an obsolete alias.
10336 Update all callers.
10337 (speedbar-with-attached-buffer)
10338 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10339 (speedbar-with-writable): Use backquote.
10340 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10341 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10342 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10343 rather than speedbar- aliases.
10344 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10345 (speedbar-make-specialized-keymap, speedbar-insert-button)
10346 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10347 (speedbar-do-function-pointer): Declare.
10348 (rmail-speedbar-button, rmail-speedbar-find-file)
10349 (rmail-speedbar-move-message):
10350 Use dframe-with-attached-buffer rather than speedbar- alias.
10351 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10352 (dframe-message, speedbar-make-specialized-keymap)
10353 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10354 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10355 (speedbar-insert-button, dframe-select-attached-frame)
10356 (dframe-maybee-jump-to-attached-frame)
10357 (speedbar-change-initial-expansion-list)
10358 (speedbar-previously-used-expansion-list-name): Declare.
10359 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10360 Use dframe-message, dframe-with-attached-buffer rather than
10362 (gud-sentinel): Silence compiler.
10363 * progmodes/vhdl-mode.el (speedbar-refresh)
10364 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10365 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10366 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10367 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10368 (speedbar-file-lists, speedbar-make-tag-line)
10369 (speedbar-line-directory, speedbar-goto-this-file)
10370 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10371 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10372 (speedbar-make-button, speedbar-reset-scanners)
10373 (speedbar-files-item-info, speedbar-line-text)
10374 (speedbar-find-file-in-frame, speedbar-set-timer)
10375 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10376 (speedbar-with-writable): Do not (re)define it.
10377 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10378 rather than speedbar- alias.
10380 2013-05-21 Leo Liu <sdl.web@gmail.com>
10382 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10384 (octave-mode): Tweak fill-nobreak-predicate.
10385 (inferior-octave-startup): Check process to avoid infinite loop.
10386 (inferior-octave): Pop to buffer first to show abornmal process
10389 2013-05-21 Glenn Morris <rgm@gnu.org>
10391 * printing.el (pr-menu-bar): Define when compiling.
10393 2013-05-21 Leo Liu <sdl.web@gmail.com>
10395 * progmodes/octave.el (octave-auto-fill): Remove.
10396 (octave-indent-new-comment-line): Improve.
10397 (octave-mode): Use auto fill mode through
10398 comment-line-break-function and fill-nobreak-predicate.
10399 (octave-goto-function-definition): Support DEFUN_DLD.
10400 (octave-beginning-of-defun): Small tweak.
10401 (octave-help): Show parent directory.
10403 2013-05-21 Glenn Morris <rgm@gnu.org>
10405 * files.el (dired-unmark):
10406 * progmodes/gud.el (gdb-input): Update declarations.
10408 * calculator.el (electric, ehelp): No need to load when compiling.
10409 (Electric-command-loop, electric-describe-mode): Declare.
10411 * doc-view.el (doc-view-current-converter-processes): Move before use.
10413 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10414 Move MODE-set-explicitly definition before use.
10416 * international/mule-diag.el (mule-diag):
10417 Don't use obsolete window-system-version.
10419 * mail/feedmail.el (smtpmail): No need to load when compiling.
10420 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10422 * mail/mail-utils.el (rfc822): No need to load when compiling.
10423 (rfc822-addresses): Autoload it.
10424 (mail-strip-quoted-names): Trivial simplification.
10426 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10427 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10429 * net/snmp-mode.el (tempo): Don't duplicate requires.
10431 * progmodes/prolog.el (info): No need to load when compiling.
10432 (comint): Require before shell requires it.
10433 (Info-goto-node): Autoload it.
10434 (Info-follow-nearest-node): Declare.
10435 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10437 * textmodes/artist.el (picture-mode-exit): Declare.
10439 * textmodes/reftex-parse.el (reftex-parse-from-file):
10440 Trivial rewrite so the compiler can parse it better.
10442 2013-05-20 Leo Liu <sdl.web@gmail.com>
10444 * progmodes/octave.el (octave-help-mode-map)
10445 (octave-help-mode-finish-hook): New variables.
10446 (octave-help-mode, octave-help-mode-finish): New functions.
10447 (octave-help): Use octave-help-mode.
10449 2013-05-20 Glenn Morris <rgm@gnu.org>
10451 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10453 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10455 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10456 start at point, so that expansion starting right after opening
10457 slash in a regexp is recognized.
10458 (ruby-syntax-before-regexp-re): New defvar, extracted from
10459 ruby-syntax-propertize-function. Since the value of this regexp
10460 is looked up at runtime now, we should be able to turn
10461 `ruby-syntax-methods-before-regexp' into a defcustom later.
10462 (ruby-syntax-propertize-function): Split regexp matching into two
10463 parts, for opening and closing slashes. That allows us to skip
10464 over string interpolations and support multiline regexps.
10465 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10466 for them, which calls `ruby-syntax-propertize-expansion'.
10467 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10468 call to `ruby-syntax-propertize-function'.
10469 (ruby-syntax-propertize-expansion): Extracted from
10470 `ruby-syntax-propertize-expansions'. Handles one expansion.
10471 (ruby-syntax-propertize-percent-literal): Leave point right after
10472 the percent symbol, so that the expression expansion rule can
10473 propertize the contents.
10474 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10476 (ruby-syntax-propertize-expansions): Remove.
10478 2013-05-18 Juri Linkov <juri@jurta.org>
10480 * man.el (Man-default-man-entry): Remove `-' from the end
10481 of the default value. (Bug#14400)
10483 2013-05-18 Glenn Morris <rgm@gnu.org>
10485 * comint.el (comint-password-prompt-regexp):
10486 Allow "password for XXX" where XXX contains colons (eg https://...).
10488 2013-05-18 Leo Liu <sdl.web@gmail.com>
10490 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10491 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10492 (octave-source-directories): Don't check process.
10493 (octave-source-directories, octave-find-definition): Doc fix.
10495 2013-05-18 Glenn Morris <rgm@gnu.org>
10497 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10498 Remove backspace/delete bindings. (Bug#14392)
10500 * cus-dep.el (custom-make-dependencies): Sort the output.
10501 (custom-versions-load-alist): Convert comment to doc.
10503 2013-05-17 Leo Liu <sdl.web@gmail.com>
10505 * newcomment.el (comment-search-backward): Stricter in finding
10506 comment start. (Bug#14303)
10508 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10509 (octave-comment-start-skip): Properly anchored.
10511 2013-05-17 Leo Liu <sdl.web@gmail.com>
10513 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10514 Clean up when turned off. (Bug#14395)
10515 (smie--highlight-matching-block-overlay): No longer buffer-local.
10516 (smie-highlight-matching-block): Adjust.
10518 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10520 Doc string fix for "nanoseconds" (Bug#14406).
10521 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10522 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10524 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10526 * calc/calc-units.el (math-extract-units): Preserve powers
10529 2013-05-17 Leo Liu <sdl.web@gmail.com>
10531 * subr.el (delete-consecutive-dups): New function.
10532 * ido.el (ido-set-matches-1): Use it.
10533 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10534 * ido.el (ido-remove-consecutive-dups): Remove.
10536 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10538 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10539 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10540 regexp-opt's `words'.
10542 2013-05-16 Leo Liu <sdl.web@gmail.com>
10544 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10545 (smie--highlight-matching-block-overlay)
10546 (smie--highlight-matching-block-lastpos)
10547 (smie--highlight-matching-block-timer): New variables.
10548 (smie-highlight-matching-block): New function.
10549 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10550 (smie-setup): Conditionally enable smie-blink-matching-open.
10552 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10554 Sync with upstream verilog-mode r840.
10555 * progmodes/verilog-mode.el (verilog-mode-version)
10556 (verilog-mode-release-date): Update.
10557 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10558 (verilog-sig-tieoff): Fix string error on
10559 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10560 (verilog-read-decls): Fix parameters confusing
10561 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10563 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10565 * subr.el (reveal-filename): New function.
10567 * loadup.el: Compute Emacs executable versions on MS-Windows,
10568 where executables have the .exe extension. Add a hard link
10569 emacs-XX.YY.ZZ.exe on MS-Windows.
10571 * Makefile.in (XARGS_LIMIT): New variable.
10572 (custom-deps, finder-data, autoloads)
10573 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10574 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10575 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10576 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10578 2013-05-16 Leo Liu <sdl.web@gmail.com>
10580 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10581 (octave-mode-menu, octave-mode-map): Remove its uses.
10583 2013-05-16 Reto Zimmermann <reto@gnu.org>
10585 Sync with upstream vhdl mode v3.34.2.
10586 * progmodes/vhdl-mode.el: Use `push' throughout.
10587 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10588 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10589 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10590 (vhdl-actual-generic-name): New option to derive actual generic name.
10591 (vhdl-port-paste-signals): Replace formal by actual generics.
10592 (vhdl-beautify): New name for old group vhdl-align. Update users.
10593 (vhdl-beautify-options): New option.
10594 (vhdl-last-input-event): New compat alias. Use throughout.
10595 (vhdl-goto-line): Replace user level function `goto-line'.
10596 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10597 vhdl-fix-statement-buffer.
10598 (vhdl-create-mode-menu): Add some entries.
10599 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10600 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10601 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10602 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10603 to force statements on one line.
10604 (vhdl-remove-trailing-spaces-region):
10605 New, split from vhdl-remove-trailing-spaces.
10606 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10607 Respect vhdl-beautify-options.
10608 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10609 (vhdl-update-sensitivity-list): Not add with index if exists without.
10610 Not include array index with signal. Ignore keywords in comments.
10611 (vhdl-get-visible-signals): Regexp tweaks.
10612 (vhdl-template-component-inst): Handle empty library.
10613 (vhdl-template-type): Add template for 'enum' type.
10614 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10615 Use vhdl-replace-string.
10616 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10617 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10618 (vhdl-speedbar-initialize): Update for above name change.
10619 (vhdl-compose-wire-components): Fix in handling of constants.
10620 (vhdl-error-regexp-emacs-alist): New variable.
10621 (vhdl-error-regexp-add-emacs): New function;
10622 adds support for new compile.el (Emacs 22+)
10623 (vhdl-generate-makefile-1): Change target order for single lib. units.
10624 Allow use of absolute file names.
10626 2013-05-16 Leo Liu <sdl.web@gmail.com>
10628 * simple.el (prog-indent-sexp): Indent enclosing defun.
10630 2013-05-15 Glenn Morris <rgm@gnu.org>
10632 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10633 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10634 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10635 (whitespace-highlight): Move to whitespace group.
10637 * comint.el (comint-source):
10638 * pcmpl-linux.el (pcmpl-linux):
10639 * shell.el (shell-faces):
10640 * eshell/esh-opt.el (eshell-opt):
10641 * international/ccl.el (ccl): Remove empty custom groups.
10643 * completion.el (dynamic-completion-mode):
10644 * jit-lock.el (jit-lock-debug-mode):
10645 * minibuffer.el (completion-in-region-mode):
10646 * type-break.el (type-break-mode-line-message-mode)
10647 (type-break-query-mode):
10648 * emulation/tpu-edt.el (tpu-edt-mode):
10649 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10650 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10651 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10653 * term/xterm.el (xterm): Change parent group to terminals.
10655 * master.el (master): Remove empty custom group.
10656 (master-mode): Remove unused :group argument.
10657 * textmodes/refill.el (refill): Remove empty custom group.
10658 (refill-mode): Remove unused :group argument.
10660 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10662 * cus-dep.el: Provide a feature.
10663 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10664 Don't mistakenly ignore files whose basenames match a basename
10665 from preloaded-file-list (eg cedet/ede/simple.el).
10666 Add a fallback method for getting :group.
10668 2013-05-15 Juri Linkov <juri@jurta.org>
10670 * isearch.el (isearch-char-by-name): Rename from
10671 `isearch-insert-char-by-name'. Doc fix.
10672 (isearch-forward): Mention `isearch-char-by-name' in
10673 the docstring. (Bug#13348)
10675 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10676 `exit-minibuffer' instead of
10677 `isearch-nonincremental-exit-minibuffer'.
10678 (isearch-edit-string): Remove mention of
10679 `isearch-nonincremental-exit-minibuffer' from docstring.
10680 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10681 (isearch-forward-exit-minibuffer)
10682 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10684 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10686 * loadup.el: Just use unversioned DOC.
10688 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10689 literals as extending to EOB.
10690 (nxml-last-fontify-end): Remove unused variable.
10691 (nxml-after-change1): Use with-silent-modifications.
10692 (nxml-extend-after-change-region): Simplify.
10693 (nxml-extend-after-change-region1): Remove function.
10694 (nxml-after-change1): Don't adjust for dependent regions.
10695 (nxml-fontify-matcher): Simplify.
10696 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10697 (xmltok-add-dependent): Remove function.
10698 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10699 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10700 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10701 unclosed <[[, <?, comment, and other literals as extending to EOB.
10702 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10703 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10705 (rng-do-some-validation-1): Don't mark dependent regions.
10706 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10707 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10708 (nxml-clear-dependent-regions): Remove functions.
10709 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10710 (nxml-ensure-scan-up-to-date):
10711 Don't clear&mark dependent regions.
10713 2013-05-15 Leo Liu <sdl.web@gmail.com>
10715 * progmodes/octave.el (octave-goto-function-definition):
10716 Improve and fix callers.
10718 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10720 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10721 the setter (bug#14387).
10723 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10724 surrounding group (bug#14402).
10726 2013-05-14 Juri Linkov <juri@jurta.org>
10728 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10731 2013-05-14 Glenn Morris <rgm@gnu.org>
10733 * progmodes/f90.el (f90-imenu-generic-expression):
10734 Fix typo in 2013-05-08 change. (Bug#14402)
10736 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10738 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10739 Remove signals for which replies are never received.
10741 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10743 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10744 (gdb-handler-alist, gdb-handler-number): Remove variables.
10745 (gdb-handler-list): New variable.
10746 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10747 (gdb-pending-handler-p, gdb-handle-reply)
10748 (gdb-remove-all-pending-triggers): New functions.
10749 (gdb-discard-unordered-replies): New defcustom.
10750 (gdb-handler): New defstruct.
10751 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10752 instead of gdb-pending-triggers. Update docstring.
10753 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10754 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10755 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10756 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10757 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10758 (gdb-frame-handler): Pending triggers are now automatically managed.
10759 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10761 (gdb-input): Automatically handles pending triggers. Update docstring.
10762 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10763 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10765 (gdb-done-or-error): Now use gdb-handle-reply.
10767 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10769 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10772 2013-05-14 Glenn Morris <rgm@gnu.org>
10774 * subr.el (user-emacs-directory-warning): New option.
10775 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10777 2013-05-14 Leo Liu <sdl.web@gmail.com>
10779 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10781 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10782 (octave-font-lock-texinfo-comment): Fix invalid search bound
10783 error: wrong side of point.
10785 2013-05-14 Glenn Morris <rgm@gnu.org>
10787 * progmodes/flymake.el (flymake-xml-program): New option.
10788 (flymake-xml-init): Use it.
10790 * term/xterm.el: Provide a feature.
10792 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10794 2013-05-13 Glenn Morris <rgm@gnu.org>
10796 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10797 Add compat aliases as a hack workaround. (Bug#14384)
10799 2013-05-13 Leo Liu <sdl.web@gmail.com>
10801 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10803 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10805 (octave-comment-start-skip): Include %!.
10806 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10808 2013-05-12 Leo Liu <sdl.web@gmail.com>
10810 * progmodes/octave.el (inferior-octave-startup): Store the value
10811 of __octave_srcdir__ for octave-source-directories.
10812 (inferior-octave-check-process): New function refactored out of
10813 inferior-octave-send-list-and-digest.
10814 (octave-source-directories)
10815 (octave-find-definition-filename-function): New variables.
10816 (octave-source-directories)
10817 (octave-find-definition-default-filename): New functions.
10818 (octave-find-definition): Improve to find functions implemented in C++.
10820 2013-05-12 Glenn Morris <rgm@gnu.org>
10822 * calendar/diary-lib.el (diary-outlook-format-1):
10823 Don't include dayname in the output. (Bug#14349)
10825 2013-05-11 Glenn Morris <rgm@gnu.org>
10827 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10829 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10830 Treat cc-provide like provide.
10832 2013-05-11 Kevin Ryde <user42@zip.com.au>
10834 * cus-dep.el (custom-make-dependencies):
10835 Use generated-autoload-load-name for the sake of files such
10836 such cedet/semantic/bovine/c.el, where the base file name
10837 is not in load-path. (Bug#5277)
10839 2013-05-11 Glenn Morris <rgm@gnu.org>
10841 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10844 2013-05-11 Leo Liu <sdl.web@gmail.com>
10846 * progmodes/octave.el (octave-indent-comment): Improve.
10847 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10848 (octave-eldoc-function-signatures, octave-eldoc-function):
10850 (octave-mode, inferior-octave-mode): Add eldoc support.
10852 2013-05-11 Richard Stallman <rms@gnu.org>
10854 * epa.el (epa-decrypt-file): Take output file name as argument
10855 and read it using `interactive'.
10857 2013-05-11 Leo Liu <sdl.web@gmail.com>
10859 * progmodes/octave.el (octave-beginning-of-line)
10860 (octave-end-of-line): Check before using up-list because it jumps
10861 out of more syntactic contructs since moving to smie.
10862 (octave-indent-comment): New function.
10863 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10864 (octave-begin-keywords, octave-end-keywords)
10865 (octave-reserved-words, octave-smie-bnf-table)
10866 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10868 2013-05-11 Glenn Morris <rgm@gnu.org>
10870 * faces.el (internal-face-x-get-resource):
10871 * frame.el (ns-display-monitor-attributes-list):
10872 * calc/calc-aent.el (math-to-radians-2):
10873 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10876 * calc/calc-menu.el: Make it loadable in isolation.
10878 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10879 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10880 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10881 (eudc-bbdb-query-internal): Require 'bbdb.
10883 * lpr.el (lpr-headers-switches):
10884 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10886 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10888 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10890 * term.el (term-set-escape-char): Make it idempotent.
10892 2013-05-10 Leo Liu <sdl.web@gmail.com>
10894 * progmodes/octave.el (inferior-octave-completion-table):
10895 No longer a function and all uses changed. Use cache to speed up
10896 completion due to bug#11906.
10897 (octave-beginning-of-defun): Re-write to be more general.
10899 2013-05-10 Glenn Morris <rgm@gnu.org>
10901 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10903 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * comint.el (comint-redirect-send-command-to-process): Use :around
10906 rather than :override for comint-redirect-filter.
10907 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10908 Call it instead of comint-redirect-original-filter-function (which
10909 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10911 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10913 * frame.el (display-monitor-attributes-list): Add NS case.
10914 (ns-display-monitor-attributes-list): Declare.
10916 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10918 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10920 2013-05-09 Glenn Morris <rgm@gnu.org>
10922 * international/fontset.el (vertical-centering-font-regexp):
10923 Set standard-value.
10925 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10927 * bookmark.el (bookmark-search-delay):
10928 * cus-start.el (vertical-centering-font-regexp):
10929 * ps-mule.el (ps-mule-font-info-database-default):
10930 * ps-print.el (ps-default-fg, ps-default-bg):
10931 * type-break.el (type-break-good-break-interval):
10932 * whitespace.el (whitespace-indentation-regexp)
10933 (whitespace-space-after-tab-regexp):
10934 * emacs-lisp/testcover.el (testcover-1value-functions)
10935 (testcover-noreturn-functions, testcover-progn-functions)
10936 (testcover-prog1-functions):
10937 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10938 * eshell/em-glob.el (eshell-glob-translate-alist):
10939 * play/tetris.el (tetris-tty-colors):
10940 * progmodes/cpp.el (cpp-face-default-list):
10941 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10942 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10943 (idlwave-help-browser-generic-args):
10944 * progmodes/make-mode.el (makefile-special-targets-list):
10945 * progmodes/python.el (python-shell-virtualenv-path):
10946 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10947 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10948 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10949 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10950 * textmodes/reftex-vars.el (reftex-format-label-function):
10951 * textmodes/remember.el (remember-diary-file): Fix custom types.
10953 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10956 2013-05-09 Leo Liu <sdl.web@gmail.com>
10958 * progmodes/octave.el (inferior-octave-completion-at-point):
10959 Restore file completion. (Bug#14300)
10960 (inferior-octave-startup): Fix incorrect highlighting for the
10963 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10965 * progmodes/ruby-mode.el: First cut at SMIE support.
10966 (ruby-use-smie): New var.
10967 (ruby-smie-grammar): New constant.
10968 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10969 (ruby-smie--forward-token, ruby-smie--backward-token)
10970 (ruby-smie-rules): New functions.
10971 (ruby-mode-variables): Setup SMIE if applicable.
10973 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10975 * simple.el (line-move-visual): Signal beginning/end of buffer
10976 only if vertical-motion moved less than it was requested. Avoids
10977 silly incorrect error messages when there are display strings with
10978 multiple newlines at EOL.
10980 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10982 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10983 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10984 (prolog-char-quote-workaround):
10985 * progmodes/cperl-mode.el (cperl-under-as-char):
10986 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10988 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10990 (vhdl-mode-syntax-table-init): Remove.
10992 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10995 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10997 (ld-script-font-lock-keywords):
10998 Change regexps to use things like \_< and \_>.
11000 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11001 Change all regexps to use things like \_< and \_>.
11003 * progmodes/autoconf.el (autoconf-definition-regexp)
11004 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11005 Handle a _ with symbol syntax.
11006 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11008 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11009 Consolidate declaration.
11010 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11012 (ada-create-syntax-table): Remove.
11013 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11014 already has the right syntax nowadays.
11015 (ada-goto-next-word): Don't change the syntax of "_".
11017 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11020 2013-05-08 Sam Steingold <sds@gnu.org>
11022 * thingatpt.el (thing-at-point): Accept optional second argument
11023 NO-PROPERTIES to strip the text properties from the return value.
11024 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11025 to `thing-at-point' instead of stripping the properties ourselves.
11026 Also, when `thing-at-point' fails to find a url, prepend "http://"
11027 to the filename at point on the assumption that the user is
11028 pointing at something like gnu.org/gnu.
11030 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11032 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11033 * faces.el (crm-separator):
11034 Silence byte-compiler.
11036 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11037 (tool-bar-map): Remove unneeded defvars.
11039 2013-05-08 Leo Liu <sdl.web@gmail.com>
11041 Re-work a fix for bug#10994 based on Le Wang's patch.
11042 * ido.el (ido-remove-consecutive-dups): New helper.
11043 (ido-completing-read): Use it.
11044 (ido-chop): Revert fix for bug#10994.
11046 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11048 * cus-edit.el (custom-save-variables):
11049 Pretty-print long values. (Bug#14187)
11051 2013-05-08 Glenn Morris <rgm@gnu.org>
11053 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11054 (m4-mode-syntax-table): Init in the defvar.
11055 (m4-mode-abbrev-table): Let define-derived-mode define it.
11057 2013-05-08 Tom Tromey <tromey@redhat.com>
11059 * progmodes/m4-mode.el (m4-mode-syntax-table):
11060 Do not treat "_" as word constituent. (Bug#14167)
11062 2013-05-07 Glenn Morris <rgm@gnu.org>
11064 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11065 Remove explicit eshell-isearch-cancel-map.
11067 * progmodes/f90.el (f90-smart-end-names): New option.
11068 (f90-smart-end): Doc fix.
11069 (f90-end-block-optional-name): New constant.
11070 (f90-block-match): Respect f90-smart-end-names.
11072 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11074 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11075 about implicit semi-colons (bug#14218).
11077 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11079 * frame.el (display-monitor-attributes-list)
11080 (frame-monitor-attributes): New functions.
11082 2013-05-06 Leo Liu <sdl.web@gmail.com>
11084 * progmodes/octave.el (octave-syntax-propertize-function): Change
11085 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11086 (octave-font-lock-keywords): Use octave-operator-regexp.
11087 (octave-completion-at-point): Rename from
11088 octave-completion-at-point-function.
11089 (inferior-octave-directory-tracker): Robustify.
11090 (octave-text-functions): Remove and fix its uses. No such things
11093 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11095 * emacs-lisp/trace.el (trace--display-buffer): New function.
11096 (trace-make-advice): Use it.
11098 2013-05-06 Juri Linkov <juri@jurta.org>
11100 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11101 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11103 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11104 in the help string. (Bug#12985)
11106 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11108 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11110 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11112 * progmodes/perl-mode.el: Add support for here documents.
11113 (perl-syntax-propertize-function): Match here-doc markers.
11114 (perl-syntax-propertize-special-constructs): Find their end.
11115 (perl-imenu-generic-expression): Use [:alnum:].
11117 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11118 (advice--add-function): Refresh the advice if already present
11121 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11123 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11125 2013-05-06 Glenn Morris <rgm@gnu.org>
11127 * w32-fns.el (w32-charset-info-alist): Declare.
11129 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11130 of its defcustom properties.
11131 (eshell-cmpl-initialize): No need to load pcomplete.
11133 * generic-x.el: No need to require comint when compiling.
11135 * net/eudc-export.el: Make it loadable without bbdb.
11136 (top-level): Use require rather than load-library.
11137 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11138 (eudc-batch-export-records-to-bbdb)
11139 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11142 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11144 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11145 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11146 some tweaks, instead.
11148 2013-05-05 Leo Liu <sdl.web@gmail.com>
11150 * progmodes/octave.el (octave-font-lock-keywords)
11151 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11152 (inferior-octave-send-list-and-digest): Improve error message.
11153 (octave-mode, inferior-octave-mode): Use setq-local.
11154 (octave-help): Set info-lookup-mode.
11156 2013-05-05 Richard Stallman <rms@gnu.org>
11158 * vc/compare-w.el (compare-windows-whitespace):
11159 Treat no-break space as whitespace.
11161 * mail/rmailsum.el (rmail-summary-rmail-update):
11162 Detect empty summary and don't change selected message.
11163 (rmail-summary-goto-msg): Likewise.
11165 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11166 Doc fixes, rename args.
11168 2013-05-05 Alan Mackenzie <acm@muc.de>
11170 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11172 2013-05-05 Juri Linkov <juri@jurta.org>
11174 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11175 to not add the length of the summary segment to the return value.
11178 2013-05-05 Leo Liu <sdl.web@gmail.com>
11180 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11181 (inferior-octave-output-filter): Remove.
11182 (octave-send-region, inferior-octave-startup): Fix callers.
11183 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11184 (octave-binary-file-extensions): New user variable.
11185 (octave-find-definition): Confirm if opening binary files.
11186 (octave-help-file): Use octave-find-definition to get the binary
11188 (octave-help): Adjust for octave-help-file change.
11190 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11192 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11193 Merge the two entries that handle function definitions.
11194 (pascal--syntax-propertize): New const.
11195 (pascal-mode): Use it. Use setq-local.
11197 2013-05-04 Glenn Morris <rgm@gnu.org>
11199 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11200 (diary-from-outlook): Respect diary-from-outlook-function.
11202 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11204 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11205 Move the declaration from C.
11206 (read-minibuffer, eval-minibuffer): Move from C.
11207 (completion-setup-function): Avoid minibuffer-completion-contents.
11209 2013-05-03 Leo Liu <sdl.web@gmail.com>
11211 * progmodes/octave.el (octave-font-lock-keywords): Do not
11212 dehighlight 'end' in comments or strings.
11213 (octave-completing-read, octave-goto-function-definition):
11215 (octave-help-buffer): New user variable.
11216 (octave-help-file, octave-help-function): New button types.
11217 (octave-help): New command and bind it to C-h ;.
11218 (octave-find-definition): New command and bind it to M-.
11219 (user-error): Alias to error if not defined.
11221 2013-05-02 Leo Liu <sdl.web@gmail.com>
11223 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11225 (octave-font-lock-keywords): Include [ and {.
11227 2013-05-02 Leo Liu <sdl.web@gmail.com>
11229 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11230 (inferior-octave): Remove calling comint-mode and return the buffer.
11231 (inferior-octave-startup): Cosmetic changes.
11233 2013-05-02 Leo Liu <sdl.web@gmail.com>
11235 * progmodes/octave.el (octave-syntax-propertize-function):
11236 Include the case when ' is at line beginning. (Bug#14336)
11238 2013-05-02 Glenn Morris <rgm@gnu.org>
11240 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11241 * desktop.el (vc-dir-mode): Just autoload it here.
11243 2013-05-02 Alan Mackenzie <acm@muc.de>
11245 Eliminate variable c-standard-font-lock-fontify-region-function.
11246 * progmodes/cc-mode.el
11247 (c-standard-font-lock-fontify-region-function): Remove.
11248 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11250 2013-05-01 Leo Liu <sdl.web@gmail.com>
11252 * progmodes/octave.el: Compatible with older emacs-24 releases.
11253 (inferior-octave-has-built-in-variables): Remove. Built-in
11254 variables were removed from Octave in 2007.
11255 (inferior-octave-startup): Fix uses.
11256 (comint-line-beginning-position): Remove compatibility code for
11259 2013-05-01 Juri Linkov <juri@jurta.org>
11261 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11263 2013-05-01 Juri Linkov <juri@jurta.org>
11265 * comint.el (comint-previous-matching-input): Don't print message
11266 "History item: %d" when `isearch-mode' is active.
11267 (comint-history-isearch-message): Print message "History item: %d"
11268 when `comint-input-ring-index' is not empty and this function is
11269 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11271 2013-05-01 Leo Liu <sdl.web@gmail.com>
11273 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11274 definitions. Use completion-at-point to insert keywords.
11275 (octave-abbrev-start): Remove.
11276 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11278 2013-04-30 Leo Liu <sdl.web@gmail.com>
11280 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11283 2013-04-30 Alan Mackenzie <acm@muc.de>
11285 Handle arbitrarily long C++ member initialisation lists.
11286 * progmodes/cc-engine.el (c-back-over-member-initializers):
11288 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11289 (most) member init lists.
11291 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11293 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11296 2013-04-30 Leo Liu <sdl.web@gmail.com>
11298 * progmodes/octave.el (octave-variables): Remove. No builtin
11299 variables any more. All converted to functions.
11300 (octave-font-lock-keywords, octave-completion-at-point-function):
11302 (octave-font-lock-texinfo-comment): New user variable.
11303 (octave-texinfo-font-lock-keywords): New variable for texinfo
11305 (octave-function-comment-block): New face.
11306 (octave-font-lock-texinfo-comment): New function.
11307 (octave-mode): Font lock texinfo comment block.
11309 2013-04-29 Leo Liu <sdl.web@gmail.com>
11311 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11312 indexing expression.
11313 (octave-continuation-string): Do not use \.
11314 (inferior-octave-complete-impossible): Remove.
11315 (inferior-octave-completion-table)
11316 (inferior-octave-completion-at-point): Remove its uses.
11317 (inferior-octave-startup): completion_matches was introduced to
11318 Octave in 1996 so safe to assume it.
11319 (octave-function-file-comment): Improve to follow how Octave does it.
11320 (octave-update-function-file-comment): Tweak.
11322 2013-04-29 Leo Liu <sdl.web@gmail.com>
11324 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11325 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11326 (octave-function-file-comment): Fix typo.
11327 (octave-sync-function-file-names): Use read-char-choice.
11329 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11331 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11332 to t for the less important warnings.
11334 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11336 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11338 2013-04-27 Glenn Morris <rgm@gnu.org>
11340 * vc/log-view.el (log-view-current-entry):
11341 Treat "---" separator lines as part of the following rev. (Bug#14169)
11343 2013-04-27 Juri Linkov <juri@jurta.org>
11345 * subr.el (read-number): Doc fix about using it by interactive
11346 code letter `n'. (Bug#14254)
11348 2013-04-27 Juri Linkov <juri@jurta.org>
11350 * desktop.el (desktop-auto-save-timeout): New option.
11351 (desktop-file-checksum): New variable.
11352 (desktop-save): Add optional arg `auto-save' and don't auto-save
11353 if nothing changed.
11354 (desktop-auto-save-timer): New variable.
11355 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11356 (after-init-hook): Call `desktop-auto-save-set-timer'.
11357 Suggested by Reuben Thomas <rrt@sc3d.org> in
11358 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11360 2013-04-27 Leo Liu <sdl.web@gmail.com>
11362 * progmodes/octave.el (octave-function-file-p)
11363 (octave-skip-comment-forward, octave-function-file-comment)
11364 (octave-update-function-file-comment): New functions.
11365 (octave-mode-map): Bind C-c ; to
11366 octave-update-function-file-comment.
11367 (octave-mode-menu): Add octave-update-function-file-comment.
11368 (octave-mode, inferior-octave-mode): Fix doc-string.
11369 (octave-insert-defun): Conform to Octave's coding convention.
11372 * files.el (basic-save-buffer): Don't let errors in
11373 before-save-hook prevent saving buffer.
11375 2013-04-20 Roland Winkler <winkler@gnu.org>
11377 * faces.el (read-face-name): Use completing-read if arg multiple
11380 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11382 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11383 displayed, move point to after the totals line.
11384 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11387 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11389 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11390 Add current dir to the load-path.
11391 (package-generate-autoloads): Don't rely on
11392 autoload-ensure-default-file.
11394 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11396 * textmodes/remember.el (remember-store-in-files): Document that
11397 the file name format is passed to `format-time-string'.
11399 2013-04-26 Leo Liu <sdl.web@gmail.com>
11401 * progmodes/octave.el (octave-sync-function-file-names): New function.
11402 (octave-mode): Use it in before-save-hook.
11404 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11406 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11409 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11410 \n and comment, even if it's not an implicit ; (bug#14218).
11412 2013-04-26 Glenn Morris <rgm@gnu.org>
11414 * subr.el (read-number): Once more use `read' rather than
11415 `string-to-number', to trap non-numeric input. (Bug#14254)
11417 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11419 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11420 Use `syntax-multiline' text property consistently instead of
11421 `font-lock-multiline'. (Bug#14237)
11423 2013-04-26 Glenn Morris <rgm@gnu.org>
11425 * emacs-lisp/shadow.el (list-load-path-shadows):
11426 No longer necessary to check for duplicate simple.el, since
11427 2012-07-07 change to init_lread to not include installation lisp
11428 directories in load-path when running uninstalled. (Bug#14270)
11430 2013-04-26 Leo Liu <sdl.web@gmail.com>
11432 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11433 (octave-mode, inferior-octave-mode): Use setq-local.
11434 (octave-not-in-string-or-comment-p): Rename to
11435 octave-in-string-or-comment-p.
11436 (octave-in-comment-p, octave-in-string-p)
11437 (octave-in-string-or-comment-p): Replace defsubst with defun.
11439 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11441 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11443 2013-04-25 Bastien Guerry <bzg@gnu.org>
11445 * textmodes/remember.el (remember-data-directory)
11446 (remember-directory-file-name-format): Fix custom types.
11448 2013-04-25 Leo Liu <sdl.web@gmail.com>
11450 * progmodes/octave.el (octave-completion-at-point-function):
11451 Make use of inferior octave process.
11452 (octave-initialize-completions): Remove.
11453 (inferior-octave-completion-table): New function.
11454 (inferior-octave-completion-at-point): Use it.
11455 (octave-completion-alist): Remove.
11457 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11459 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11460 (opascal-mode-syntax-table): New var.
11461 (opascal-literal-kind, opascal-is-literal-end)
11462 (opascal-literal-token-at): Rewrite.
11463 (opascal--literal-start-re, opascal-font-lock-keywords)
11464 (opascal--syntax-propertize): New constants.
11465 (opascal-font-lock-defaults): Adjust.
11466 (opascal-mode): Use them. Set comment-<foo> variables as well.
11467 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11468 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11469 (delphi-other-face, opascal-other-face): Remove face variables.
11470 (opascal-save-state): Remove macro.
11471 (opascal-fontifying-progress-step): Remove constant.
11472 (opascal--ignore-changes): Remove var.
11473 (opascal-set-token-property, opascal-parse-next-literal)
11474 (opascal-is-stable-literal, opascal-complete-literal)
11475 (opascal-is-literal-start, opascal-face-of)
11476 (opascal-parse-region, opascal-parse-region-until-stable)
11477 (opascal-fontify-region, opascal-after-change)
11478 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11479 (opascal-debug-parse-region, opascal-debug-parse-window)
11480 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11481 (opascal-debug-fontify-buffer): Remove.
11482 (opascal-debug-mode-map): Adjust accordingly.
11484 2013-04-25 Leo Liu <sdl.web@gmail.com>
11486 Merge octave-mod.el and octave-inf.el into octave.el with some
11488 * progmodes/octave.el: New file renamed from octave-mod.el.
11489 * progmodes/octave-inf.el: Merged into octave.el.
11490 * progmodes/octave-mod.el: Renamed to octave.el.
11492 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11494 * textmodes/reftex-vars.el
11495 (reftex-label-ignored-macros-and-environments): New defcustom.
11497 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11499 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11501 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11502 (smie-indent-keyword): Improve the check to ensure that the next
11503 comment is really on the same line.
11504 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11506 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11507 semi-colons if the line is not otherwise empty (bug#14218).
11509 2013-04-25 Glenn Morris <rgm@gnu.org>
11511 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11513 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11515 * progmodes/opascal.el (opascal-set-token-property): Rename from
11516 opascal-set-text-properties and only set `token' (bug#14134).
11517 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11518 (opascal-literal-text-properties): Remove.
11519 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11522 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11524 * textmodes/remember.el (remember-handler-functions): Add an
11525 option for a new handler `remember-store-in-files'.
11526 (remember-data-directory, remember-directory-file-name-format):
11528 (remember-store-in-files): New function to store remember notes
11529 as separate files within a directory.
11531 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11533 * progmodes/compile.el (compilation-next-error-function):
11534 Pass "formats" to compilation-find-file (bug#11777).
11536 2013-04-24 Glenn Morris <rgm@gnu.org>
11538 * vc/vc-bzr.el (vc-bzr-print-log):
11539 * vc/vc-hg.el (vc-hg-print-log):
11540 * vc/vc-svn.el (vc-svn-print-log):
11541 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11543 * vc/vc-bzr.el (vc-bzr-print-log):
11544 * vc/vc-cvs.el (vc-cvs-print-log):
11545 * vc/vc-git.el (vc-git-print-log):
11546 * vc/vc-hg.el (vc-hg-print-log):
11547 * vc/vc-mtn.el (vc-mtn-print-log):
11548 * vc/vc-rcs.el (vc-rcs-print-log):
11549 * vc/vc-sccs.el (vc-sccs-print-log):
11550 * vc/vc-svn.el (vc-svn-print-log):
11551 * vc/vc.el (vc-print-log-internal): Doc fixes.
11553 2013-04-23 Glenn Morris <rgm@gnu.org>
11555 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11556 Remove venerable code attempting to avoid substitute-command-keys.
11558 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11560 * textmodes/reftex-vars.el (reftex-label-regexps):
11561 Call `reftex-compile-variables' after changes to this variable.
11563 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11566 Use lexical-binding.
11567 (jit-lock-force-redisplay): Use markers, check buffer's continued
11568 existence and beware narrowed buffers.
11569 (jit-lock-fontify-now): Adjust call accordingly.
11571 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11573 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11574 to avoid misleading the user.
11576 2013-04-22 Leo Liu <sdl.web@gmail.com>
11578 * info-look.el: Prefer latex2e.info. (Bug#14240)
11580 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11582 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11584 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11585 * net/tramp.el (tramp-call-process): ... here.
11586 (tramp-set-completion-function, tramp-parse-putty):
11587 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11588 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11589 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11590 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11591 (tramp-call-local-coding-command): Use `tramp-call-process'
11592 instead of `tramp-compat-call-process'.
11594 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11595 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11596 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11597 (tramp-find-inline-compress): Improve traces.
11598 (tramp-maybe-send-script): Check for Perl binary.
11599 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11601 2013-04-22 Daiki Ueno <ueno@gnu.org>
11603 * epg.el (epg-context-pinentry-mode): New function.
11604 (epg-context-set-pinentry-mode): New function.
11605 (epg--start): Pass --pinentry-mode option to gpg command.
11607 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11609 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11610 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11611 `completion-at-point'. (Bug#13774)
11613 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11614 default key binding for `describe-distribution' has been moved to
11615 `C-h C-o'. (Bug#13970)
11617 2013-04-21 Glenn Morris <rgm@gnu.org>
11619 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11621 (vc-print-log): Clarify interactive prompt.
11623 2013-04-20 Glenn Morris <rgm@gnu.org>
11625 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11626 No longer include timestamp etc information.
11628 2013-04-20 Roland Winkler <winkler@gnu.org>
11630 * faces.el (read-face-name): Bug fix, return just one face if arg
11631 multiple is nil. (Bug#14209)
11633 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11635 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11636 (remove-function): Autoload.
11638 * comint.el (comint-redirect-original-filter-function): Remove.
11639 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11640 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11641 (vc-cvs-annotate-command):
11642 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11643 * progmodes/prolog.el (prolog-consult-compile):
11644 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11645 Use add/remove-function instead.
11646 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11647 (gud-tooltip-process-output, gud-tooltip-tips):
11648 Use add/remove-function instead.
11649 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11650 (scheme-interaction-mode, exit-scheme-interaction-mode):
11651 Use add/remove-function instead.
11653 * vc/vc-dispatcher.el: Use lexical-binding.
11654 (vc--process-sentinel): Rename from vc-process-sentinel.
11655 Change last arg to be the code to run. Don't use vc-previous-sentinel
11656 and vc-sentinel-commands any more.
11657 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11658 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11660 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11662 * progmodes/sh-script.el (sh-imenu-generic-expression):
11663 Handle function names with a single character. (Bug#14111)
11665 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11667 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11668 for subroutines defined in an eval (bug#14182).
11670 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11672 * bookmark.el (bookmark-completing-read): Improve handling of empty
11673 string (bug#14176).
11675 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11677 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11679 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11681 New faster Imenu implementation (bug#14058).
11682 * progmodes/python.el:
11683 (python-imenu-prev-index-position):
11684 (python-imenu-format-item-label-function)
11685 (python-imenu-format-parent-item-label-function)
11686 (python-imenu-format-parent-item-jump-label-function):
11688 (python-imenu-format-item-label)
11689 (python-imenu-format-parent-item-label)
11690 (python-imenu-format-parent-item-jump-label)
11691 (python-imenu--put-parent, python-imenu--build-tree)
11692 (python-imenu-create-index, python-imenu-create-flat-index)
11693 (python-util-popn): New functions.
11694 (python-mode): Set imenu-create-index-function to
11695 python-imenu-create-index.
11697 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11699 * winner.el (winner-active-region): Use region-active-p, activate-mark
11700 and deactivate-mark (bug#14225).
11702 * simple.el (deactivate-mark): Don't inline it.
11704 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11706 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11708 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11710 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11711 file extensions from the archive-mode entry in order to prefer
11712 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11714 2013-04-18 Leo Liu <sdl.web@gmail.com>
11716 * bindings.el (help-event-list): Add ?\?.
11718 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11720 * subr.el (with-wrapper-hook): Declare obsolete.
11721 * simple.el (filter-buffer-substring-function): New hook.
11722 (filter-buffer-substring): Use it.
11723 (filter-buffer-substring-functions): Mark obsolete.
11724 * minibuffer.el (completion-in-region-function): New hook.
11725 (completion-in-region): Use it.
11726 (completion-in-region-functions): Mark obsolete.
11727 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11728 * abbrev.el (abbrev-expand-function): New hook.
11729 (expand-abbrev): Use it.
11730 (abbrev-expand-functions): Mark obsolete.
11731 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11732 and :filter-return.
11734 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11736 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11737 and do not care about match data.
11739 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11741 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11742 completion tables when completing error conditions and
11743 `declare' arguments.
11744 (lisp-complete-symbol, field-complete): Mark as obsolete.
11745 (check-parens): Unmatched parens are user errors.
11746 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11748 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11750 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11751 command changed buffer (ie. `flyspell-pre-buffer' is not current
11752 buffer), which prevents making decisions based on invalid value of
11753 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11754 cause an error when `flyspell-pre-point' was nil after switching
11756 (flyspell-post-command-hook): No longer needs to change buffers when
11757 checking pre-word. While at it remove unnecessary progn.
11759 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11761 * textmodes/ispell.el (ispell-add-per-file-word-list):
11762 Fix `flyspell-correct-word-before-point' error when accepting
11763 words and `coment-padding' is an integer by using
11764 `comment-normalize-vars' (Bug #14214).
11766 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11768 New defun movement commands.
11769 * progmodes/python.el (python-nav--syntactically)
11770 (python-nav--forward-defun, python-nav-backward-defun)
11771 (python-nav-forward-defun): New functions.
11773 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11775 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11776 (python-syntax-context): Use named compiler-macro for backwards
11777 compatibility with Emacs 24.x.
11779 2013-04-17 Leo Liu <sdl.web@gmail.com>
11781 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11782 octave-hide-process-buffer.
11784 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11786 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11789 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11791 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11792 Fix adjustment of offset when receiving incomplete responses from GDB
11795 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11797 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11798 python-mode-abbrev-table.
11799 (python-skeleton-define): Adjust accordingly.
11800 (python-mode-abbrev-table): New table that inherits from it so that
11801 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11803 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11804 (abbrev-symbol): Use it.
11805 (abbrev--before-point): Use it since we already handle inheritance.
11807 2013-04-16 Leo Liu <sdl.web@gmail.com>
11809 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11810 binding to info-lookup-symbol.
11812 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11814 * minibuffer.el (completion--twq-all):
11815 * term/ns-win.el (ns-initialize-window-system):
11816 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11818 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11820 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11823 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11825 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11827 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11828 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11830 (ruby-end-of-defun): Remove the unused arg, change the docstring
11831 to reflect that this function is only used as the value of
11832 `end-of-defun-function'.
11833 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11834 to reflect an earlier change that beginning/end-of-defun functions
11835 jump between methods in a class definition, as well as top-level
11838 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11840 * minibuffer.el (minibuffer-complete): Don't just scroll
11841 a *Completions* that's been iconified.
11842 (minibuffer-force-complete): Make sure repetitions do cycle when going
11843 through completion-in-region -> minibuffer-complete.
11845 2013-04-15 Alan Mackenzie <acm@muc.de>
11847 Correct the placement of c-cpp-delimiters when there're #s not at
11850 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11851 place a submatch around the #.
11852 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11853 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11856 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11858 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11859 (advice--member-p): New arg `name'.
11860 (advice--add-function, advice-member-p): Use it (bug#14202).
11862 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11864 Reformulate java imenu-generic-expression.
11865 The old expression contained ill formed regexps.
11867 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11868 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11869 (cc-imenu-java-method-arg-regexp): New defconsts.
11870 (cc-imenu-java-build-type-args-regex): New defun.
11871 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11872 handling of spaces in the regexp.
11874 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11876 * textmodes/ispell.el (ispell-command-loop): Remove
11877 flyspell highlight of a word when ispell accepts it (bug #14178).
11879 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11881 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11882 uses code from the previous `ange-ftp-run-real-handler'.
11883 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11884 only in case that function exist. This is needed for proper
11885 unloading of Tramp.
11887 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11889 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11891 * textmodes/reftex.el (reftex-compile-variables): Use it.
11893 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11895 * files.el (normal-mode): Only use default major-mode if no other mode
11898 * emacs-lisp/trace.el (trace-values): New function.
11900 * files.el: Allow : in local variables (bug#14089).
11901 (hack-local-variable-regexp): New var.
11902 (hack-local-variables-prop-line, hack-local-variables): Use it.
11904 2013-04-13 Roland Winkler <winkler@gnu.org>
11906 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11907 data before it gets modified by bibtex-beginning-of-entry.
11909 2013-04-13 Roland Winkler <winkler@gnu.org>
11911 * textmodes/bibtex.el (bibtex-url): Doc fix.
11913 2013-04-13 Roland Winkler <winkler@gnu.org>
11915 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11916 does not visit a BibTeX file, exclude it from the list of buffers
11917 returned by bibtex-initialize.
11919 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11921 * window.el (split-window): Remove interactive form, since as a
11922 command this function is a special case of split-window-below.
11923 Correct doc string.
11925 2013-04-12 Roland Winkler <winkler@gnu.org>
11927 * faces.el (read-face-name): Do not override value of arg default.
11928 Allow single faces and strings as default values. Remove those
11929 elements from return value that are not faces.
11930 (describe-face): Simplify.
11931 (face-at-point): New optional args thing and multiple so that this
11932 function can provide the same functionality previously provided by
11934 (make-face-bold, make-face-unbold, make-face-italic)
11935 (make-face-unitalic, make-face-bold-italic, invert-face)
11936 (modify-face, read-face-and-attribute): Use face-at-point.
11938 * cus-edit.el (customize-face, customize-face-other-window)
11939 * cus-theme.el (custom-theme-add-face)
11940 * face-remap.el (buffer-face-set)
11941 * facemenu.el (facemenu-set-face): Use face-at-point.
11943 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11945 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11947 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11949 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11950 off leading { and trailing } from field values.
11952 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11954 * emacs-lisp/timer.el (timer--check): New function.
11955 (timer--time, timer-set-function, timer-event-handler): Use it.
11956 (timer-set-idle-time): Simplify.
11957 (timer--activate): CSE.
11958 (timer-event-handler): Give more info in error message.
11959 (internal-timer-start-idle): New function, moved from C.
11961 * mpc.el (mpc-proc): Add `restart' argument.
11962 (mpc-proc-cmd): Use it.
11963 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11964 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11967 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11969 * progmodes/sh-script.el: Implement `sh-mode' own
11970 `add-log-current-defun-function' (bug#14112).
11971 (sh-current-defun-name): New function.
11972 (sh-mode): Use the function.
11974 2013-04-09 Bastien Guerry <bzg@gnu.org>
11976 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11978 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11982 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11985 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11987 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11990 2013-04-07 Leo Liu <sdl.web@gmail.com>
11992 * pcmpl-x.el: New file.
11994 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11996 Do not set x-display-name until X connection is established.
11997 This is needed to prevent from weird situation described at
11998 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11999 * frame.el (make-frame): Set x-display-name after call to
12000 window system initialization function, not before.
12001 * term/x-win.el (x-initialize-window-system): Add optional
12002 display argument and use it.
12003 * term/w32-win.el (w32-initialize-window-system):
12004 * term/ns-win.el (ns-initialize-window-system):
12005 * term/pc-win.el (msdos-initialize-window-system):
12006 Add compatible optional display argument.
12008 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12010 * files.el (normal-backup-enable-predicate): On MS-Windows and
12011 MS-DOS compare truenames of temporary-file-directory and of the
12012 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12013 don't fail comparison by compare-strings. Also, compare file
12014 names case-insensitively on MS-Windows and MS-DOS.
12016 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12018 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12019 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12021 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12023 * whitespace.el (whitespace-color-on, whitespace-color-off):
12024 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12026 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12028 * ispell.el (ispell-set-spellchecker-params):
12029 Really set `ispell-args' for all equivs.
12031 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12033 * ido.el (ido-completions): Use extra elements of ido-decorations
12035 (ido-decorations): Update docstring.
12037 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12039 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12040 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12041 nil during initialization, in order not to miss changes since the
12042 file was opened. (Bug#14140)
12044 2013-04-05 Leo Liu <sdl.web@gmail.com>
12046 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12048 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12050 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12052 2013-04-04 Glenn Morris <rgm@gnu.org>
12054 * electric.el (electric-pair-inhibit-predicate): Add :version.
12056 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12058 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12059 when a package is required several times (bug#14082).
12061 2013-04-04 Roland Winkler <winkler@gnu.org>
12063 * faces.el (read-face-name): Behave as promised by the docstring.
12064 Assume that arg default is a list of faces.
12065 (describe-face): Call read-face-name with list of default faces.
12067 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12069 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12070 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12071 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12073 (bookmark-exit-hook-internal): Save even if list is empty.
12075 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12077 * emacs-lisp/package.el (package-pinned-packages): New var.
12078 (package--add-to-archive-contents): Obey it (bug#14118).
12080 2013-04-03 Alan Mackenzie <acm@muc.de>
12082 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12083 Also adapt to the new values of element 7 of a parse state.
12085 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12086 parameter `not-in-delimiter'. Handle being inside comment opener.
12087 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12088 character in case we're typing a '*' after a '/'.
12089 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12090 instead by passing the parameter to c-state-pp-to-literal.
12092 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12093 for elt. 7 of a parse state.
12095 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12097 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12098 * international/latin1-disp.el, international/mule-util.el:
12099 * language/cyril-util.el, language/european.el, language/ind-util.el:
12100 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12101 * language/tibetan.el, language/viet-util.el:
12102 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12104 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12106 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12107 (electric-pair-post-self-insert-function): Use it.
12108 (electric-pair-default-inhibit): New function, extracted from
12109 electric-pair-post-self-insert-function.
12111 2013-03-31 Roland Winkler <winkler@gnu.org>
12113 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12115 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12117 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12119 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12121 Un-indent after "pass" and "return" statements (Bug#13888)
12122 * progmodes/python.el (python-indent-block-enders): New var.
12123 (python-indent-calculate-indentation): Use it.
12125 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12127 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12128 defun. Defining it as defalias could introduce too eager
12129 byte-compiler optimization. (Bug#14030)
12131 2013-03-30 Chong Yidong <cyd@gnu.org>
12133 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12135 2013-03-30 Leo Liu <sdl.web@gmail.com>
12137 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12138 (kmacro-execute-from-register): Pass the keyboard macro to
12139 kmacro-call-macro or repeating won't work correctly.
12141 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12143 * progmodes/subword.el: Back to using `forward-symbol'.
12145 * subr.el (forward-whitespace, forward-symbol)
12146 (forward-same-syntax): Move from thingatpt.el.
12148 2013-03-29 Leo Liu <sdl.web@gmail.com>
12150 * kmacro.el (kmacro-to-register): New command.
12151 (kmacro-execute-from-register): New function.
12152 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12154 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12156 * mpc.el: Use defvar-local and setq-local.
12157 (mpc--proc-connect): Connection failures are not bugs.
12158 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12159 (mpc-volume-map): Bind to the up-events.
12161 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12163 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12164 instead of `forward-symbol'.
12166 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12168 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12169 (edebug--recursive-edit): Use it.
12170 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12171 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12173 2013-03-28 Leo Liu <sdl.web@gmail.com>
12175 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12177 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12179 * facemenu.el (list-colors-callback): New defvar.
12180 (list-colors-redisplay): New function.
12181 (list-colors-display): Install list-colors-redisplay as the
12182 revert-buffer-function. (Bug#14063)
12184 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12186 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12187 and suffixes don't overlap (bug#14061).
12189 * case-table.el: Use lexical-binding.
12190 (case-table-get-table): New function.
12191 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12193 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12195 * progmodes/subword.el: Add `superword-mode' to do word motion
12196 over symbol_words (parallels and leverages `subword-mode' which
12197 does word motion inside MixedCaseWords).
12199 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12201 * eshell/em-unix.el: Move su and sudo to...
12202 * eshell/em-tramp.el: ...Eshell tramp module.
12204 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12207 Change return value to be a sexp. Delay `get-buffer' to after
12208 restoring the desktop (bug#13951).
12210 2013-03-26 Leo Liu <sdl.web@gmail.com>
12212 * register.el: Move semantic tag handling back to
12213 cedet/semantic/senator.el. (Bug#14052)
12215 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12217 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12218 into the prompt either (bug#13963).
12220 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12222 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12223 part of "(error-foo)".
12225 2013-03-24 Juri Linkov <juri@jurta.org>
12227 * replace.el (list-matching-lines-prefix-face): New defcustom.
12228 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12229 `occur-engine' if `face-differs-from-default-p' returns t.
12230 (occur-engine): Add `,' inside backquote construct to evaluate
12231 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12232 Pass `prefix-face' to the functions `occur-context-lines' and
12233 `occur-engine-add-prefix'.
12234 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12235 `prefix-face' and propertize the prefix with `prefix-face'.
12238 2013-03-24 Leo Liu <sdl.web@gmail.com>
12240 * nxml/rng-valid.el (rng-validate-while-idle)
12241 (rng-validate-quick-while-idle): Guard against deleted buffer.
12244 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12245 is the last entry in kill-buffer-hook.
12247 * files.el (kill-buffer-hook): Doc fix.
12249 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12251 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12252 Make it safe-local.
12254 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12256 2013-03-23 Leo Liu <sdl.web@gmail.com>
12258 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12261 * nxml/rng-valid.el (rng-validate-mode)
12262 (rng-after-change-function, rng-do-some-validation):
12263 * nxml/rng-maint.el (rng-validate-buffer):
12264 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12265 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12266 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12267 (nxml-extend-after-change-region): Use with-silent-modifications.
12269 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12272 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12273 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12274 timer-idle-list. (Bug#13999)
12276 2013-03-23 Juri Linkov <juri@jurta.org>
12278 * info.el (info-index-match): New face.
12279 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12280 main pattern and add text properties with the new face to matches
12281 in index entries relative to the beginning of the index entry.
12284 2013-03-21 Eric Ludlam <zappo@gnu.org>
12286 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12287 Inhibit read only while inserting objects.
12289 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12291 * progmodes/cfengine.el: Update docs to mention
12292 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12293 symbol motion. Remove "_" from the word syntax.
12295 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12297 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12298 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12300 2013-03-20 Juri Linkov <juri@jurta.org>
12302 * info.el (Info-next-reference-or-link)
12303 (Info-prev-reference-or-link): New functions.
12304 (Info-next-reference, Info-prev-reference): Use them.
12305 (Info-try-follow-nearest-node): Handle footnote navigation.
12306 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12308 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12310 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12311 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12313 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12315 Suppress unnecessary non-ASCII chatter during build process.
12316 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12317 (batch-skkdic-convert): Suppress most of the chatter.
12318 It's not needed so much now that machines are faster,
12319 and its non-ASCII component was confusing; see Dmitry Gutov in
12320 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12322 2013-03-20 Leo Liu <sdl.web@gmail.com>
12324 * ido.el (ido-chop): Fix bug#10994.
12326 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12328 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12330 (whitespace-color-on, whitespace-color-off):
12331 Use `font-lock-fontify-buffer' (Bug#13817).
12333 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12335 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12336 remapping in mode-line.
12337 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12339 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12341 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12342 value for `whitespace-line' face (Bug#13875).
12343 (whitespace-font-lock-keywords): Change description.
12344 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12345 the constructed keywords instead.
12346 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12348 2013-03-19 Leo Liu <sdl.web@gmail.com>
12350 * progmodes/compile.el (compilation-display-error): New command.
12351 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12354 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12356 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12358 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12360 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12362 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12364 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12366 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12367 * net/tramp-gvfs.el (top):
12368 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12369 (tramp-handle-shell-command): Use it.
12370 (tramp-dissect-file-name): Raise an error when hostname is a
12371 method name, and neither method nor user is specified.
12373 * net/trampver.el: Update release number.
12375 2013-03-18 Leo Liu <sdl.web@gmail.com>
12377 Make sure eldoc can be turned off properly.
12378 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12380 (eldoc-display-message-p): Revert last change.
12381 (eldoc-display-message-no-interference-p)
12382 (eldoc-print-current-symbol-info): Tweak.
12384 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12386 * doc-view.el (doc-view-new-window-function): Check the new window
12387 overlay's display property instead the char property of the
12388 buffer's first char. Use `with-selected-window' instead of
12389 `save-window-excursion' with `select-window'.
12390 (doc-view-document->bitmap): Check the current doc-view overlay's
12391 display property instead the char property of the buffer's first char.
12393 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12395 Automate the build of ja-dic.el (Bug#13984).
12396 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12397 from the input, rather than assume that it's been done for us by the
12398 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12399 the current date into a ja-dic.el comment, as that complicates
12400 regression testing.
12402 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12404 * whitespace.el: Fix double evaluation.
12405 (whitespace-space, whitespace-hspace, whitespace-tab)
12406 (whitespace-newline, whitespace-trailing, whitespace-line)
12407 (whitespace-space-before-tab, whitespace-indentation)
12408 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12410 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12411 (whitespace-color-on): Use a single font-lock-add-keywords call.
12412 Fix double-evaluation of face variables.
12414 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12416 * net/tramp-adb.el (tramp-adb-parse-device-names):
12417 Use `start-process' instead of `call-process'. Otherwise, the
12418 function might be blocked under MS Windows. (Bug#13299)
12420 2013-03-17 Leo Liu <sdl.web@gmail.com>
12422 Extend eldoc to display info in the mode-line. (Bug#13978)
12423 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12424 (eldoc-mode-line-string): New variable.
12425 (eldoc-minibuffer-message): New function.
12426 (eldoc-message-function): New variable.
12427 (eldoc-message): Use it.
12428 (eldoc-display-message-p)
12429 (eldoc-display-message-no-interference-p):
12430 Support eldoc-post-insert-mode.
12432 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12433 (eval-expression): Run it.
12435 2013-03-17 Roland Winkler <winkler@gnu.org>
12437 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12438 strings in the list of return values.
12440 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12442 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12443 radix before checking for HMS forms.
12445 2013-03-16 Leo Liu <sdl.web@gmail.com>
12447 * progmodes/scheme.el: Add indentation and font-locking for λ.
12450 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12452 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12453 token before point (bug#13942).
12455 2013-03-16 Leo Liu <sdl.web@gmail.com>
12457 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12459 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12461 * startup.el (command-line-normalize-file-name): Fix handling of
12462 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12463 <xfq.free@gmail.com> in
12464 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12466 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12468 Sync with Tramp 2.2.7.
12470 * net/trampver.el: Update release number.
12472 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12474 * doc-view.el: Fix bug#13887.
12475 (doc-view-insert-image): Don't modify overlay associated to
12476 non-live windows, and implement horizontal centering of image in
12477 case it's smaller than the window.
12478 (doc-view-new-window-function): Force redisplay of new windows on
12481 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12483 * saveplace.el (save-place-alist-to-file): Don't sort
12484 `save-place-alist', just pretty-print it (bug#13882).
12486 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12488 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12489 Check whether `default-file-name-coding-system' is bound.
12490 It isn't in XEmacs.
12492 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12494 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12495 backquotes for `obsolete' (bug#13929).
12497 * international/mule.el (find-auto-coding): Include file name in
12498 obsolescence warning (bug#13922).
12500 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12502 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12503 for CFEngine 3-specific indentation.
12504 (cfengine3-indent-line): Use it. Fix up category regex.
12505 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12507 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12509 * type-break.el (type-break-file-name):
12510 * textmodes/remember.el (remember-data-file):
12511 * strokes.el (strokes-file):
12512 * shadowfile.el (shadow-initialize):
12513 * saveplace.el (save-place-file):
12514 * ps-bdf.el (bdf-cache-file):
12515 * progmodes/idlwave.el (idlwave-config-directory):
12516 * net/quickurl.el (quickurl-url-file):
12517 * international/kkc.el (kkc-init-file-name):
12518 * ido.el (ido-save-directory-list-file):
12519 * emulation/viper.el (viper-custom-file-name):
12520 * emulation/vip.el (vip-startup-file):
12521 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12522 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12524 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12526 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12527 * language/thai-word.el: Switch to UTF-8.
12529 See ChangeLog.16 for earlier changes.
12531 ;; Local Variables:
12535 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12537 This file is part of GNU Emacs.
12539 GNU Emacs is free software: you can redistribute it and/or modify
12540 it under the terms of the GNU General Public License as published by
12541 the Free Software Foundation, either version 3 of the License, or
12542 (at your option) any later version.
12544 GNU Emacs is distributed in the hope that it will be useful,
12545 but WITHOUT ANY WARRANTY; without even the implied warranty of
12546 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12547 GNU General Public License for more details.
12549 You should have received a copy of the GNU General Public License
12550 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.