1 2014-01-26 Glenn Morris <rgm@gnu.org>
3 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4 Doc fix. Make obsolete.
5 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
7 * sort.el (delete-duplicate-lines): Doc fix.
9 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11 * progmodes/ada-mode.el (ada):
12 * woman.el (woman): Link to info manual and Commentary section.
14 * progmodes/flymake.el (flymake):
15 * nxml/nxml-mode.el (nxml):
17 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
18 * htmlfontify.el (htmlfontify):
21 * ido.el (ido): Link to info manual.
23 2014-01-25 Leo Liu <sdl.web@gmail.com>
25 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
27 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
29 * net/shr.el (shr-tag-img): Prefer the title over the alt text
32 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
34 * net/eww.el (eww-download-callback):
35 Fix reference to eww-download-directory.
37 * emacs-lisp/bytecomp.el (byte-compile-file):
38 Remove unused local variable `file-name'.
40 2014-01-24 Glenn Morris <rgm@gnu.org>
42 * woman.el (woman-default-faces, woman-monochrome-faces):
43 Fix obsolescence specification.
45 * subr.el (with-demoted-errors): Doc fix.
47 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
49 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
50 (cl--macroexp-fboundp): New function.
51 (cl--make-type-test): Use it.
53 2014-01-23 Glenn Morris <rgm@gnu.org>
55 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
56 * simple.el (eval-expression): Doc fixes.
58 2014-01-22 Glenn Morris <rgm@gnu.org>
60 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
62 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
64 * emacs-lisp/package.el: Write files silently.
65 (package-autoload-ensure-default-file, package--write-file-no-coding)
66 (package-generate-description-file, package--download-one-archive)
67 (package-install-from-archive): Tell `write-region' to stay quiet.
68 (package-menu-mode, package-menu--print-info): Omit the Archive column
69 if there's only one archive.
70 (package-all-keywords, package--has-keyword-p): Remove dead code.
72 2014-01-22 Glenn Morris <rgm@gnu.org>
74 * version.el (emacs-bzr-version-bzr): Fix typo.
76 * version.el (emacs-repository-get-version):
77 Check either .bzr or .git, but not both.
78 Make the git case actually use the DIR argument, and return nil
79 rather than the empty string.
80 Avoid error if .git exists but the git executable is not found.
82 2014-01-22 Martin Rudalics <rudalics@gmx.at>
84 Fixes in window size functions around Bug#16430 and Bug#16470.
85 * window.el (window-total-size, window-size): New argument ROUND.
86 (window--min-delta-1, window-min-delta, window--max-delta-1):
87 Be more conservative when calculating the numbers of lines or
88 columns a window can shrink (Bug#16430).
89 (fit-window-to-buffer): Simplify code.
90 * term.el (term-window-width): Call window-body-width again.
92 2014-01-22 Glenn Morris <rgm@gnu.org>
94 * image.el (image-format-suffixes): Doc fix.
96 * international/quail.el (quail-define-package): Doc fix.
98 * emacs-lisp/authors.el (authors-valid-file-names):
99 (authors-renamed-files-alist): Additions.
101 * vc/vc-git.el (vc-git-print-log): Remove --follow;
102 reverts 2014-01-09 change. (Bug#16422)
104 * calc/calc-embed.el (thing-at-point-looking-at):
105 * emacs-lisp/map-ynp.el (x-popup-dialog):
106 * obsolete/lmenu.el (x-popup-dialog):
107 * emacs-lisp/package.el (url-recreate-url):
108 * mail/mailclient.el (clipboard-kill-ring-save):
109 * subr.el (x-popup-dialog): Update declaration.
110 * mail/rmail.el (rmail-mime-message-p):
111 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
113 2014-01-21 Daniel Colascione <dancol@dancol.org>
115 * progmodes/sh-script.el (sh--inside-noncommand-expression):
116 Correctly detect when we're inside an arithmetic expansion form
117 containing nested parenthesis.
118 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
119 to detect cases where we shouldn't expand "<<" to a heredoc
122 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
124 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
125 (eldoc--message-command-p): New function.
126 (eldoc-display-message-p): Use it.
127 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
128 message is not automatically erased for us.
129 (eldoc-print-current-symbol-info): Erase previous message, if any.
131 2014-01-21 Tassilo Horn <tsdh@gnu.org>
133 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
134 specify it's an interactive function.
136 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
137 Fix regex used for scanning for citation keys which failed for
138 citations with optional arguments.
140 2014-01-21 Leo Liu <sdl.web@gmail.com>
142 * simple.el (read--expression): Don't enable eldoc-mode.
144 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
146 * simple.el (move-beginning-of-line): Make sure we don't move forward
149 2014-01-20 Juri Linkov <juri@jurta.org>
151 * saveplace.el (toggle-save-place, save-place-to-alist)
152 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
153 'dired-mode) before checking for dired-directory. (Bug#16477)
155 2014-01-20 Juri Linkov <juri@jurta.org>
157 * indent.el (indent-line-to): Use backward-to-indentation
158 instead of back-to-indentation. (Bug#16461)
160 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
162 Revert some of the CANNOT_DUMP fix (Bug#16494).
163 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
164 but fixing this can wait until after the next release.
165 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
167 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
169 * eshell/esh-mode.el (eshell-password-prompt-regexp):
170 Use `password-word-equivalents'.
171 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
172 to t. (Bug#5664, Bug#13124)
174 2014-01-19 Alan Mackenzie <acm@muc.de>
176 Bind open-paren-in-column-0-is-defun-start to nil at some entry
178 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
179 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
180 * progmodes/cc-mode.el (c-before-change, c-after-change)
181 (c-font-lock-fontify-region): Bind it here.
183 2014-01-19 Martin Rudalics <rudalics@gmx.at>
185 * term.el (term-window-width): Call window-text-width instead of
186 window-width (Bug#16470).
188 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
190 * simple.el (password-word-equivalents): Remove duplicates.
191 Sort, to make this easier next time.
192 Downcase. Omit ": " after "jelszó".
194 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
196 * term/common-win.el (saved-region-selection): Defvar it.
197 (x-select-text): Set saved-region-selection (Bug#16382).
199 2014-01-18 Glenn Morris <rgm@gnu.org>
201 * emacs-lisp/authors.el (authors-aliases)
202 (authors-renamed-files-alist): Add some entries.
204 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
206 * net/tramp.el (tramp-password-prompt-regexp):
207 Use `password-word-equivalents' if available.
208 (tramp-action-password, tramp-process-one-action)
209 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
211 2014-01-17 Chong Yidong <cyd@gnu.org>
213 * simple.el (password-word-equivalents): New defcustom.
214 * comint.el (comint-password-prompt-regexp): Use it. Bump version
216 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
219 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
221 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
222 (ruby-align-to-stmt-keywords): Change the default value.
223 Use `ruby-alignable-keywords' to generate the possible customization
225 (ruby-smie-rules): Instead of using a hardcoded list of alignable
226 keywords, check against the value of `ruby-alignable-keywords'
227 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
229 2014-01-17 Glenn Morris <rgm@gnu.org>
231 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
233 Make M-x authors return zero *Authors Errors* from current logs.
234 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
235 (authors-ignored-files): Add some entries, remove others.
236 (authors-ambiguous-files, authors-valid-file-names):
238 (authors-renamed-files-alist): Add, remove, and adjust entries.
239 (authors-renamed-files-regexps): Add some entries.
240 Remove some very broad ones. Make some entries `lax'.
241 (authors-lax-changelogs): New constant.
242 (authors-disambiguate-file-name): Treat top-level specially.
243 (authors-lax-changelog-p): New function.
244 (authors-canonical-file-name): Check file as written against
245 authors-valid-file-names. Do not special-case etc/.
246 Handle `lax' logs and authors-renamed-files-regexps elements.
248 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
250 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
251 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
254 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
256 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
257 Assume we're already in the proper buffer.
258 Inspired by Anders Lindgren <andlind@gmail.com>.
259 (follow-post-command-hook): Call it from the right buffer.
260 (follow-comint-scroll-to-bottom): Adjust call.
261 (follow-all-followers): Use get-buffer-window-list.
263 2014-01-15 Daniel Colascione <dancol@dancol.org>
265 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
266 `buffer-file-name' in interactive-form so that we don't leave
267 pathless file names in `file-name-history'.
269 2014-01-15 Juri Linkov <juri@jurta.org>
271 * indent.el (indent-rigidly): Set deactivate-mark to nil
272 in transient indentation mode. (Bug#16438)
274 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
276 * emacs-lisp/package.el (package-desc-keywords): New function
278 (describe-package-1, package-all-keywords)
279 (package--has-keyword-p): Use it.
281 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
283 * simple.el (define-alternatives): When creating the
284 COMMAND-alternatives variable, assign COMMAND as its definition
285 name so that `describe-variable' can relocate it.
287 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
289 * font-lock.el (font-lock-keywords): Fix typo in docstring
292 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
294 * ispell.el (ispell-region): Reset `in-comment' for new line
295 instead of wrongly reset `add-coment' (bug#13577).
297 2014-01-14 Daiki Ueno <ueno@gnu.org>
299 * epa-file.el (epa-file-write-region): Encode the region according
300 to `buffer-file-format'. Problem reported at:
301 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
303 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
305 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
306 so it applies in the right buffer (bug#16410).
308 2014-01-13 Daniel Colascione <dancol@dancol.org>
310 * textmodes/rst.el (rst-define-key): Provide deprecated
311 keybindings through named functions instead of anonymous ones so
312 that "??" doesn't appear in describe-mode output.
314 2014-01-13 Bastien Guerry <bzg@gnu.org>
316 * simple.el (define-alternatives): Call the selected command
317 interactively. When setting `COMMAND--implementation' for the
318 first time, tell the user how to chose another implementation.
319 Enhance the docstring.
321 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
323 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
324 (log-edit--match-first-line): New function.
325 (log-edit-font-lock-keywords): Use it.
326 (log-edit-mode): Make jit-lock-defer-multiline work.
328 2014-01-13 Bastien Guerry <bzg@gnu.org>
330 * rect.el (rectangle-mark-mode): When the region is not active,
331 display a message saying that the mark as been set and that
332 rectangle mode is in use.
333 (rectangle--highlight-for-redisplay): Only put an overlay with a
334 visible vertical bar when (display-graphic-p) is non-nil.
335 This partially fixes Bug#16403.
337 2014-01-13 Juri Linkov <juri@jurta.org>
339 * info.el (Info-find-file): Go to DIR before displaying the error
340 about a nonexistent file if no previous Info file is visited.
341 Use `user-error' instead of `error' for "Info file %s does not exist".
342 (Info-find-node-2): In case of a nonexistent node in unwind forms
343 go to the Top node if there is no previous node to revert to.
346 2014-01-13 Martin Rudalics <rudalics@gmx.at>
348 fit-frame/window-to-buffer code fixes including one for Bug#14096.
349 * window.el (fit-frame-to-buffer): Fix doc-string.
350 Respect window-min-height/-width. Fit pixelwise when
351 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
352 when avoiding that frame goes partially off-screen.
353 (fit-window-to-buffer): Respect window-min-height/-width
356 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
358 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
361 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
363 * net/shr.el (shr-render-region): Autoload.
365 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
367 * net/eww.el (eww-download-directory): Rename from
368 `eww-download-path' (Bug#16419).
370 2014-01-12 Leo Liu <sdl.web@gmail.com>
372 * dired-x.el (dired-mode-map): Fix last change.
374 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
376 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
379 * emacs-lisp/generic.el (generic--normalize-comments):
380 Rename from generic--normalise-comments. All uses changed.
381 * play/bubbles.el (bubbles--neighborhood-score):
382 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
383 (bubbles--neighborhood-available)
384 (bubbles--update-neighborhood-score):
385 Rename from names with 'neighbourhood'. All uses changed.
387 2014-01-12 Leo Liu <sdl.web@gmail.com>
389 Re-implement the feature of showing eldoc info after editing.
390 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
391 (eldoc-edit-message-commands): New function.
392 (eldoc-print-after-edit): New variable.
393 (eldoc-pre-command-refresh-echo-area): Emit message only by
394 eldoc-message-commands.
395 (eldoc-mode): Restrict eldoc-message-commands to editing commands
396 if eldoc-print-after-edit is set. (Bug#16346)
397 * simple.el (read--expression): Enable eldoc-mode.
398 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
400 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
401 Eric S. Raymond <esr@thyrsus.com>
403 * version.el (emacs-repository-get-version): Enhance so the
404 function works correctly in either a Bazaar or Git repo.
406 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
408 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
409 Goes with removal of the joke manpages from /etc.
411 2014-01-10 K. Handa <handa@gnu.org>
413 * mail/rmail.el (rmail-get-coding-system):
414 Check rmail-get-coding-function before "funcall"ing it.
416 2014-01-10 Glenn Morris <rgm@gnu.org>
418 * emacs-lisp/authors.el (authors-fixed-entries):
419 Update for files that no longer exist.
421 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
423 * version.el (emacs-bzr-get-version): Restore compatibilty with
426 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
428 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
431 2014-01-10 Eli Zaretskii <eliz@gnu.org>
433 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
435 2014-01-10 Chong Yidong <cyd@gnu.org>
437 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
439 2014-01-10 Anders Lindgren <andlind@gmail.com>
441 * follow.el (follow-cache-command-list): Include right-char and
444 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
447 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
448 * woman.el (woman-mark-horizontal-position):
449 Rename from woman-mark-horizonal-position. Use changed.
451 2014-01-10 Glenn Morris <rgm@gnu.org>
453 * info.el (info-initialize): If running uninstalled, ensure our
454 own info files are always found first, even if INFOPATH is set.
456 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
458 2014-01-09 David Engster <deng@randomsample.de>
460 * emacs-lisp/eieio-custom.el:
461 * emacs-lisp/eieio-opt.el: Set generated autoload file to
462 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
463 * emacs-lisp/eieio.el: Regenerate autoloads.
465 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
467 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
468 following renames. (Bug#8756)
470 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
472 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
474 (activate-mark): Add `no-tmm' argument.
475 (set-mark, push-mark-command): Use it instead of running
476 activate-mark-hook by hand.
478 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
480 In preparation for the move to git, sanitize out some
481 Bazaar-specific names.
483 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
485 * version.el (emacs-bzr-version): Name changed to
486 emacs-repository-version. Obsolete-variable alias made.
487 * loadup.el: Follow through on this name change.
488 * mail/emacsbug.el (report-emacs-bug): Factor out any
489 assumption about the version control system in use.
491 2014-01-08 David Engster <deng@randomsample.de>
493 * help-fns.el (help-fns-describe-function-functions):
494 New variable to call functions for augmenting help buffers.
495 (describe-function-1): Remove explicit calls to
496 `help-fns--compiler-macro', `help-fns--parent-mode' and
497 `help-fns--obsolete'. Put them in above new variable instead, and
498 call them through `run-hook-with-args'.
499 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
500 `eieio-describe-class'. Not meant for interactive use anymore,
501 but to augment existing help buffers. Remove optional second
502 argument. Create proper button for file location.
503 Rewrite function to use `insert' instead of `princ' and `prin1' where
505 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
506 (eieio-method-def, eieio-class-def): Move further up.
507 (describe-method, describe-generic, eieio-describe-method):
509 (eieio-help-constructor, eieio-help-generic): Rename from
510 `eieio-describe-constructor' and `eieio-describe-generic', resp.
511 Rewrite to use `insert' in the current buffer and use proper help
513 (eieio-help-find-method-definition)
514 (eieio-help-find-class-definition): Also accept symbols as
516 (eieio-help-mode-augmentation-maybee): Remove.
517 (eieio-describe-class-sb): Use `describe-function'.
518 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
519 Add `eieio-help-generic' and `eieio-help-constructor'.
521 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
524 * language/china-util.el (hz-ascii-designation):
525 Rename from hz-ascii-designnation.
526 (hz-ascii-designation): Rename from hz-ascii-designnation.
529 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
531 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
534 2014-01-08 Bastien Guerry <bzg@gnu.org>
536 * emacs-lisp/package.el (package-delete):
537 Correctly delete the package from package-alist.
539 2014-01-08 Daiki Ueno <ueno@gnu.org>
541 * emacs-lisp/package.el (url-recreate-url): Declare.
542 (url-http-target-url): Declare.
543 (package-handle-response): Include requested URL in the error message.
544 (package--check-signature): Don't re-signal errors from
545 package--with-work-buffer. Suggested by Stefan Monnier.
547 2014-01-07 Bastien Guerry <bzg@gnu.org>
549 * minibuffer.el (completion--try-word-completion): When both a
550 hyphen and a space are possible candidates for the character
551 following a word, display both candidates. (Bug#15980)
553 2014-01-07 Martin Rudalics <rudalics@gmx.at>
555 * window.el (balance-windows-2): While rounding don't give a
556 window more than the remainder. Bug#16351, Bug#16383.
558 2014-01-07 Glenn Morris <rgm@gnu.org>
560 * menu-bar.el (menu-bar-help-extra-packages): Remove.
561 (menu-bar-help-menu): Use view-external-packages instead.
563 2014-01-07 Bastien Guerry <bzg@gnu.org>
565 * emacs-lisp/package.el (package-delete): Also delete the package
566 name from `package-alist', not its description only.
568 2014-01-07 Glenn Morris <rgm@gnu.org>
570 * help.el (view-external-packages):
571 * menu-bar.el (menu-bar-help-extra-packages):
572 Visit efaq.info rather than etc/MORE.STUFF.
574 2014-01-07 Juri Linkov <juri@jurta.org>
576 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
577 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
579 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
580 that shadows RET. (Bug#16342)
582 2014-01-07 Chong Yidong <cyd@gnu.org>
584 * isearch.el (isearch-yank-char, isearch-yank-word)
585 (isearch-yank-line): Doc fix.
587 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
589 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
590 * emacs-lisp/elint.el (elint-find-builtins):
591 * emacs-lisp/eldoc.el (eldoc-symbol-function):
592 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
593 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
594 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
595 * apropos.el (apropos-safe-documentation):
596 * subr.el (symbol-file): Remove redundant fboundp.
597 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
599 2014-01-06 Bastien Guerry <bzg@gnu.org>
601 * hl-line.el (global-hl-line-overlay): Make a local variable.
602 (global-hl-line-overlays): New variable to store all overlays.
603 (global-hl-line-mode): Don't delete overlays from the current
604 buffer when `global-hl-line-sticky-flag' is non-nil.
605 (global-hl-line-highlight): Add new overlays to
606 `global-hl-line-overlays'.
607 (global-hl-line-unhighlight-all): New function to delete all
608 overlays when turning off `global-hl-line-mode'.
609 This fixes Bug#16183.
611 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
613 * subr.el (set-transient-map): Fix nested case and docstring.
615 2014-01-06 Tassilo Horn <tsdh@gnu.org>
617 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
620 2014-01-06 Daniel Colascione <dancol@dancol.org>
622 Fix defun navigation in vc log view.
624 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
625 like `beginning-of-defun'.
626 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
627 log-view-end-of-defun to log-view-end-of-defun-1. Replace
628 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
629 (log-view-extract-comment): Call `log-view-current-entry' directly
630 instead of relying on broken `log-view-beginning-of-defun' behavior.
632 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
635 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
636 * emacs-lisp/debug.el (cancel-debug-on-entry):
637 * epg.el (epg-error-to-string):
638 * files.el (recover-file):
639 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
640 * mail/emacsbug.el (report-emacs-bug-hook):
641 * mail/sendmail.el (mail-recover):
642 * ses.el (ses-yank-resize):
643 * term/ns-win.el (ns-print-buffer):
644 Spelling fixes in diagnostics, mostly for "canceled" with one L.
645 * epg.el (epg-key-capability-alist): Rename from misspelled version.
647 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
649 2014-01-06 Leo Liu <sdl.web@gmail.com>
651 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
652 to avoid shadowing global key. (Bug#16354)
654 2014-01-06 Daniel Colascione <dancol@dancol.org>
656 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
659 2014-01-05 Martin Rudalics <rudalics@gmx.at>
661 * window.el (balance-windows): Add mising t to fix Bug#16351.
663 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
665 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
667 (shr-insert): If we have a word that's longer than `shr-width',
668 break after it anyway. Otherwise we'll do no breaking once we get
671 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
673 * net/eww.el (eww): Support single/double quote for search.
674 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
675 (eww-history-quit): Delete and use quit-window.
676 (eww-history-kill): Delete, because it doesn't work well and
678 (eww-history-mode-map): Delete some keys and add easy-menu.
680 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
682 Fix misspelling of 'chinese' in rx (Bug#16237).
683 * emacs-lisp/rx.el (rx-categories): Correct spelling of
686 Change subword regexps back to vars (Bug#16296).
687 * progmodes/subword.el (subword-forward-regexp)
688 (subword-backward-regexp): Change these back to variables.
690 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
692 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
693 syntax-begin-function (bug#16247).
695 2014-01-03 Chong Yidong <cyd@gnu.org>
697 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
698 (advice--docstring): Delete variable.
699 (advice--make-1): Leave the docstring empty.
700 (advice-add): Use function-documentation for advised docstring.
702 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
703 Ignore function-documentation property when getting documentation.
704 (ad-activate-advised-definition): Use function-documentation
705 generate the docstring.
706 (ad-make-advised-definition): Don't call
707 ad-make-advised-definition-docstring.
708 (ad-make-advised-definition-docstring, ad-advised-definition-p):
711 * progmodes/sql.el (sql-help): Use function-documentation instead
712 of dynamic-docstring-function property. No need to autoload now.
713 (sql--help-docstring): New variable.
714 (sql--make-help-docstring): Use it.
716 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
718 * ielm.el (ielm-tab): Retarget.
719 (ielm-map): Use ielm-tab for tab.
720 (ielm-complete-filename): Use comint-filename-completion.
721 (ielm-complete-symbol): Remove.
722 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
723 remove ielm-tab from completion-at-point-functions (bug#16224).
725 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
726 Beware signals raised by predicates (bug#16201).
728 2014-01-02 Richard Stallman <rms@gnu.org>
730 * dired-aux.el (dired-do-print): Handle printer-name.
732 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
733 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
734 (rmail-epa-decrypt): Turn off mime processing.
736 * mail/rmail.el (rmail-make-in-reply-to-field):
737 Add parens in message-id.
739 * mail/rmail.el (rmail-get-coding-function): Variable.
740 (rmail-get-coding-system): Use it.
742 2013-12-31 Eli Zaretskii <eliz@gnu.org>
744 * international/mule-conf.el: Unify the charset indian-is13194.
745 (indian-is13194): Specify unify-map.
747 2013-12-31 Leo Liu <sdl.web@gmail.com>
749 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
751 2013-12-30 Daniel Colascione <dancol@dancol.org>
753 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
754 of printing a useless when we resume from sleep.
756 * progmodes/sh-script.el
757 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
758 in indentation code. (Bug#16233)
760 2013-12-28 João Távora <joaotavora@gmail.com>
762 * elec-pair.el (electric-pair-post-self-insert-function):
763 Don't open extra newlines at beginning of buffer. (Bug#16272)
765 2013-12-28 Eli Zaretskii <eliz@gnu.org>
767 * frame.el (window-system-for-display): Don't allow to create a
768 GUI frame from a -nw session on MS-Windows. (Bug#14739)
770 2013-12-28 Glenn Morris <rgm@gnu.org>
772 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
775 * apropos.el (apropos-match-face):
776 * calculator.el (calculator-displayer):
777 * dabbrev.el (dabbrev-search-these-buffers-only):
778 * face-remap.el (buffer-face-mode-face):
779 * simple.el (yank-handled-properties):
780 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
781 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
782 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
783 (hashcash-double-spend-database):
784 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
785 (ruby-deep-indent-paren-style):
786 * textmodes/flyspell.el (flyspell-auto-correct-binding):
787 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
788 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
789 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
790 Specify custom types.
792 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
793 * bookmark.el (bookmark-bmenu-use-header-line):
794 * doc-view.el (doc-view-scale-internally):
795 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
796 * register.el (register-preview-delay):
797 * net/shr.el (shr-bullet):
798 * progmodes/cfengine.el (cfengine-cf-promises)
799 (cfengine-parameters-indent):
800 * progmodes/octave.el (inferior-octave-error-regexp-alist):
801 * textmodes/reftex-vars.el (reftex-label-regexps):
802 * vc/log-edit.el (log-edit-setup-add-author): Add version.
804 * net/tls.el (tls-certtool-program): Fix default value.
806 * desktop.el (desktop-restore-in-current-display):
807 * newcomment.el (comment-empty-lines):
808 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
809 (idlwave-pad-keyword):
810 * progmodes/tcl.el (tcl-tab-always-indent):
811 * textmodes/reftex-vars.el (reftex-index-default-tag):
812 * elec-pair.el (electric-pair-skip-whitespace):
813 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
815 * emacs-lisp/authors.el (authors-ignored-files)
816 (authors-valid-file-names, authors-renamed-files-alist): Additions.
818 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
820 * shell.el (shell-dynamic-complete-command): Doc fix.
821 (shell--command-completion-data): Shell completion now matches
822 executable filenames from the current buffer's directory, on
823 systems in which this behavior is the default (windows-nt, ms-dos).
825 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
827 * net/shr.el (shr-insert): Don't infloop if the width is zero.
829 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
831 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
834 * electric.el: Move all electric-pair-* to elec-pair.el.
835 * elec-pair.el: New file, split from electric.el.
837 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
839 * net/shr.el (shr-find-fill-point): Don't try to fill if the
840 indentation level is larger than the width, because that will
842 (shr-insert): Fill repeatedly long texts, so that Japanese is
843 formatted correctly (bug#16263).
844 (shr-find-fill-point): Off by one error in comparison with the
847 2013-12-26 João Távora <joaotavora@gmail.com>
849 * electric.el (electric-pair-mode): More flexible engine for skip-
850 and inhibit predicates, new options for pairing-related functionality.
851 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
852 if that keeps or improves their balance in buffers.
853 (electric-pair-delete-adjacent-pairs): Delete the pair when
854 backspacing over adjacent matched delimiters.
855 (electric-pair-open-extra-newline): Open extra newline when
856 inserting newlines between adjacent matched delimiters.
857 (electric--sort-post-self-insertion-hook):
858 Sort post-self-insert-hook according to priority values when
859 minor-modes are activated.
860 * simple.el (newline-and-indent): Call newline with interactive
862 (blink-paren-post-self-insert-function): Set priority to 100.
863 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
864 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
865 comments. Locally set electric-pair-skip-whitespace to 'chomp and
866 electric-pair-open-newline-between-pairs to nil.
868 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
870 * progmodes/python.el: Use lexical-binding.
871 (python-nav-beginning-of-defun): Stop searching ASAP.
873 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
875 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
876 Fix interactive spec. Doc fix. (Bug#15754)
878 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
880 * emacs-lisp/byte-run.el (eval-when-compile):
881 * progmodes/cc-defs.el (cc-eval-when-compile):
882 Fix edebug spec (bug#16184).
884 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
886 * net/shr.el (shr-visit-file): Remove debugging function.
887 (shr-insert): Don't infloop if we can't find a good place to break
888 the line (bug#16256).
890 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
892 * progmodes/python.el:
893 (python-nav--lisp-forward-sexp): New function.
894 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
895 python-nav-lisp-forward-sexp-safe.
896 (python-nav--forward-sexp): New argument SAFE allows switching
897 forward sexp movement behavior for parens.
898 (python-nav-forward-sexp): Throw errors on unterminated parens
900 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
901 (python-nav-backward-sexp-safe): New functions.
902 (python-shell-buffer-substring):
903 Use `python-nav-forward-sexp-safe'.
905 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
907 * net/shr.el (shr-find-fill-point): Don't break lines before a
909 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
910 (shr-find-fill-point): Remove the special checks for the quotation
911 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
913 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
915 * net/eww.el (eww-form-textarea): Use a different face for
916 textareas than text input since they have different keymaps
919 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
921 * progmodes/python.el (python-nav-beginning-of-statement):
922 Speed up (Bug#15295).
924 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
926 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
927 the window configuration.
929 2013-12-24 Eli Zaretskii <eliz@gnu.org>
931 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
932 we run on MS-Windows or MS-DOS.
934 2013-12-24 Martin Rudalics <rudalics@gmx.at>
936 * window.el (balance-windows-area): Call window-size instead of
937 window-height and window-width. Bug#16241.
939 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
941 * net/eww.el (eww-bookmark-quit): Remove.
942 (eww-bookmark-browse): Restore the window configuration when you
943 choose a bookmark (bug#16144).
945 2013-12-24 Daniel Colascione <dancol@dancol.org>
947 * icomplete.el: Remove redundant :group arguments to `defcustom'
949 (icomplete-show-matches-on-no-input): New customizable variable.
950 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
951 we have something to show.
952 (icomplete-exhibit): Compute completions even if we have no user input.
954 2013-12-23 Daniel Colascione <dancol@dancol.org>
956 * icomplete.el: Move `provide' to end of file.
958 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
960 * net/gnutls.el (gnutls-verify-error): Add version tag.
962 2013-12-23 Chong Yidong <cyd@gnu.org>
964 * subr.el (set-transient-map): Rename from
965 set-temporary-overlay-map. Doc fix.
967 * face-remap.el (text-scale-adjust):
968 * indent.el (indent-rigidly):
969 * kmacro.el (kmacro-call-macro):
970 * minibuffer.el (minibuffer-force-complete):
971 * repeat.el (repeat):
972 * simple.el (universal-argument--mode):
973 * calendar/todo-mode.el (todo-insert-item--next-param):
974 * progmodes/f90.el (f90-abbrev-start): Callers changed.
976 * indent.el (indent-rigidly): Use substitute-command-keys.
978 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
980 * net/eww.el (eww-tag-select): Add text-property to jump to next
982 (eww): Add non-supported ftp error.
984 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
986 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
987 comments. Handle electric indent after typing `?' and `!'.
989 2013-12-22 Chong Yidong <cyd@gnu.org>
991 * faces.el (face-spec-recalc): If the theme specs are not
992 applicable to a frame, fall back on the defface spec.
993 This prevents themes from obliterating faces on low-color terminals.
995 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
997 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
998 after `{'. We need it after block openers, and it doesn't seem
999 to hurt after hash openers.
1001 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1003 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1004 extracted from `ruby-smie-rules'.
1005 (ruby--electric-indent-chars): New variable.
1006 (ruby--electric-indent-p): New function.
1007 (ruby-mode): Use `electric-indent-functions' instead of
1008 `electric-indent-chars'.
1010 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1012 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1014 (ruby-smie-rules): Indent plus one level after `=>'.
1016 2013-12-21 Richard Stallman <rms@gnu.org>
1018 * simple.el (newline): Doc fix.
1020 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1022 * net/eww.el (eww-list-histories, eww-list-histories)
1023 (eww-history-browse, eww-history-quit, eww-history-kill)
1024 (eww-history-mode-map, eww-history-mode): New command and
1025 functions to list browser histories.
1026 (eww-form-text): Support text form with disabled
1027 and readonly attributes.
1028 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1030 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1032 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1033 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1034 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1035 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1037 (eww-bookmark-mode-map): Add menu.
1038 (eww-render, eww-mode): Use `setq-local'.
1039 (eww-tool-bar-map): New variable.
1040 (eww-mode): Set `tool-bar-map'.
1041 (eww-view-source): Check for `html-mode' with `fboundp'.
1043 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1045 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1046 elements with text inside. Also remove debugging.
1048 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1050 * cus-start.el (all): Add ns-use-srgb-colorspace.
1052 2013-12-21 Chong Yidong <cyd@gnu.org>
1054 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1055 undefined. Thus, theme settings for undefined faces do not take
1056 effect until the faces are defined with defface, the same as with
1059 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1060 (face-spec-reset-face): Don't assign extra properties in temacs.
1061 (face-spec-recalc): Apply X resources too.
1063 2013-12-21 Chong Yidong <cyd@gnu.org>
1065 * faces.el (face-spec-set):
1066 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1067 * custom.el (defface): Doc fixes (Bug#16203).
1069 * indent.el (indent-rigidly-map): Add docstring, and move commands
1070 into named functions.
1071 (indent-rigidly-left, indent-rigidly-right)
1072 (indent-rigidly-left-to-tab-stop)
1073 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1074 indentation direction based on bidi direction, and accumulate
1075 sequential commands in a single undo boundary.
1076 (indent-rigidly--pop-undo): New utility function.
1078 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1080 * faces.el (read-face-name): Require crm.el when using crm-separator.
1082 2013-12-20 Daniel Colascione <dancol@dancol.org>
1084 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1085 so that we don't reflow comments into the shebang line.
1087 2013-12-20 Juri Linkov <juri@jurta.org>
1089 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1090 a position when `dired-directory' is non-nil. Check integer
1091 positions with `integerp'.
1092 (toggle-save-place, save-places-to-alist): Add check for
1094 (save-place-find-file-hook): Check integer positions with
1096 (save-place-dired-hook): Use `dired-goto-file' when
1097 `dired-filename' is found in the assoc list. Check integer
1098 positions with `integerp'.
1099 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1101 * dired.el (dired-initial-position-hook): Rename back from
1102 `dired-initial-point-hook'.
1103 (dired-initial-position): Rename `dired-initial-point-hook' to
1104 `dired-initial-position-hook'.
1105 (dired-file-name-at-point): Doc fix. (Bug#15329)
1107 2013-12-20 Juri Linkov <juri@jurta.org>
1109 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1110 (read-regexp-suggestions): New function.
1111 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1112 Use `read-regexp-suggestions'. Add non-empty default to history
1114 (occur-read-regexp-defaults-function): Remove function.
1115 (occur-read-primary-args): Use `regexp-history-last' instead of
1116 `occur-read-regexp-defaults-function'.
1118 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1119 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1120 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1121 `hi-lock-read-regexp-defaults-function'. Doc fix.
1122 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1123 with `find-tag-default-as-symbol-regexp'. Doc fix.
1124 (hi-lock-read-regexp-defaults): Remove function.
1125 (hi-lock-regexp-okay): Add check for null.
1127 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1128 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1130 * subr.el (find-tag-default-as-symbol-regexp): New function.
1131 (find-tag-default-as-regexp): Move symbol regexp formatting to
1132 `find-tag-default-as-symbol-regexp'.
1134 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1136 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1139 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1141 * calendar/todo-mode.el: New implementation of item insertion
1142 commands and key bindings.
1143 (todo-key-prompt): New face.
1144 (todo-insert-item): New command.
1145 (todo-insert-item--parameters): New defconst, replacing defvar
1146 todo-insertion-commands-args-genlist.
1147 (todo-insert-item--param-key-alist): New defconst, replacing
1148 defvar todo-insertion-commands-arg-key-list.
1149 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1150 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1151 (todo-insert-item--next-param): New functions.
1152 (todo-insert-item--args, todo-insert-item--argleft)
1153 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1155 (todo-key-bindings-t): Change binding of "i" from
1156 todo-insertion-map to todo-insert-item.
1157 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1158 (todo-insertion-command-name, todo-insertion-commands-names)
1159 (todo-define-insertion-command, todo-insertion-commands)
1160 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1162 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1164 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1165 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1167 (todo-move-category): Allow choosing a non-existing todo file to
1168 move the category to, and create that file.
1169 (todo-default-priority): New user option.
1170 (todo-set-item-priority): Use it.
1171 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1172 (desktop-restore-file-buffer): Declare.
1173 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1174 (todo-modes-set-2): Locally set desktop-save-buffer to
1175 todo-desktop-save-buffer.
1176 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1177 (auto-mode-alist): Add autoload cookie.
1179 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1181 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1182 helpers.el was a poor choice of name.
1183 (string-remove-prefix): New function.
1184 (string-remove-suffix): New function.
1186 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1188 Fix assignment for new window total sizes.
1189 * window.el (window--pixel-to-size): Remove function.
1190 (window--pixel-to-total-1, window--pixel-to-total):
1191 Fix calculation of new total sizes.
1193 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1195 * comint.el (comint-output-filter): Fix rear-nonsticky property
1196 placement (Bug#16010).
1198 2013-12-20 Chong Yidong <cyd@gnu.org>
1200 * faces.el (read-color): Minor fix for completion function.
1202 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1204 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1205 New option. (Bug#16182)
1206 (ruby-smie--indent-to-stmt-p): Use it.
1207 (ruby-smie-rules): Revert the logic in the handling of `when'.
1208 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1209 (ruby-deep-arglist, ruby-deep-indent-paren)
1210 (ruby-deep-indent-paren-style): Update docstrings to note that the
1211 vars don't have any effect with SMIE.
1213 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1215 * calc/calc.el (calc-enter, calc-pop): Use the variable
1216 `calc-context-sensitive-enter'.
1218 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1220 * net/shr.el (shr-insert): Protect against infloops in degenerate
1223 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1225 * progmodes/octave.el (octave): Add link to manual and octave
1227 (octave-mode-menu): Link to octave-mode manual.
1229 2013-12-20 Leo Liu <sdl.web@gmail.com>
1231 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1232 insertion using skeleton-end-newline. (Bug#16138)
1234 2013-12-20 Juri Linkov <juri@jurta.org>
1236 * replace.el (occur-engine): Use `add-face-text-property'
1237 to add the face property to matches and titles. (Bug#14645)
1239 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1240 the palette of other hi-lock colors.
1241 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1243 2013-12-19 Juri Linkov <juri@jurta.org>
1245 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1246 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1247 (minibuffer-history-symbol): Move variable declaration closer to
1250 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1253 2013-12-19 Juri Linkov <juri@jurta.org>
1255 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1257 (log-edit-hook): Add it to :options. (Bug#16170)
1259 2013-12-19 Juri Linkov <juri@jurta.org>
1261 * simple.el (eval-expression-print-format): Don't check for
1262 command names and the last command. Always display additional
1263 formats of the integer result in the echo area, and insert them
1264 to the current buffer only with a zero prefix arg.
1265 Display character when char-displayable-p is non-nil.
1266 (eval-expression): With a zero prefix arg, set `print-length' and
1267 `print-level' to nil, and insert the integer values from
1268 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1270 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1271 `eval-last-sexp-arg-internal'. Doc fix.
1272 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1273 `eval-last-sexp-print-value'. Doc fix.
1274 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1275 Set `print-length' and `print-level' to nil when arg is zero.
1276 (eval-last-sexp): Doc fix.
1277 (eval-defun-2): Print the integer values from
1278 `eval-expression-print-format' at the end.
1280 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1281 values from `eval-expression-print-format' at the end.
1283 * ielm.el (ielm-eval-input): Print the integer
1284 values from `eval-expression-print-format' at the end.
1286 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1288 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1289 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1291 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1293 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1294 (hl-line-highlight, global-hl-line-highlight): Use it.
1295 (hl-line-overlay): Use defvar-local.
1297 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1299 * term/ns-win.el: Require dnd.
1300 (global-map): Remove drag items.
1301 (ns-insert-text, ns-set-foreground-at-mouse)
1302 (ns-set-background-at-mouse):
1303 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1304 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1307 2013-12-19 Glenn Morris <rgm@gnu.org>
1309 * emacs-lisp/ert.el (ert-select-tests):
1310 Fix string/symbol mixup. (Bug#16121)
1312 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1314 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1315 keywords to their parent.
1317 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1319 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1320 first arg to be a string (fixed dead code), or an operator symbol.
1321 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1323 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1324 did nothing. Don't respond to `(:after ".")', it will be called
1325 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1326 change anything. Only return indentation for binary operators
1327 when they are hanging. De-dent opening paren when its parent is
1328 `.', otherwise it looks bad when the dot is not at bol or eol
1331 2013-12-19 Juri Linkov <juri@jurta.org>
1333 * replace.el (query-replace-read-args): Split a non-negative arg
1334 and a negative arg into separate elements.
1335 (query-replace, query-replace-regexp, replace-string)
1336 (replace-regexp): Add arg `backward'. Doc fix.
1337 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1338 move point to the beginning of the match.
1339 (replace-search, replace-highlight): Use new arg `backward'
1340 to set the value of `isearch-forward'.
1341 (perform-replace): Add arg `backward' and use it to perform
1342 replacement backward. (Bug#14979)
1344 * isearch.el (isearch-query-replace): Use a negative prefix arg
1345 to call `perform-replace' with a non-nil arg `backward'.
1347 2013-12-18 Juri Linkov <juri@jurta.org>
1349 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1350 to the default list. Move `log-edit-show-files' to the end.
1351 Add more available functions to options.
1352 (log-edit): Move default specific settings to
1353 `log-edit-insert-message-template'. Don't move point.
1354 (log-edit-insert-message-template): New function.
1355 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1358 2013-12-18 Juri Linkov <juri@jurta.org>
1360 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1361 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1363 2013-12-18 Leo Liu <sdl.web@gmail.com>
1365 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1368 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1370 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1371 formats for displaying file sizes when the -s switch is given.
1372 Instead, compute a separate format for displaying the size in
1373 blocks, which is displayed in addition to the "regular" size.
1374 When -h is given in addition to -s, produce size in blocks in
1375 human-readable form as well. (Bug#16179)
1377 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1379 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1380 Reference tables with ~\ref{...} instead of only \ref{...}.
1382 2013-12-18 Chong Yidong <cyd@gnu.org>
1384 * cus-edit.el (custom-magic-alist): Fix "themed" description
1387 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1388 is non-nil, do not create a new entry in the symbol's theme-value
1389 or theme-face property; update theme-settings only (Bug#14664).
1390 (custom-available-themes): Doc fix.
1392 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1395 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1397 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1399 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1402 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1404 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1406 2013-12-18 Glenn Morris <rgm@gnu.org>
1408 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1409 * cus-start.el (load-prefer-newer): New option.
1411 2013-12-18 Le Wang <l26wang@gmail.com>
1413 * comint.el (comint-previous-matching-input-from-input):
1414 Retain point (Bug#13404).
1416 2013-12-18 Chong Yidong <cyd@gnu.org>
1418 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1420 2013-12-18 Glenn Morris <rgm@gnu.org>
1422 * mail/emacsbug.el (report-emacs-bug):
1423 Only mention enable-multibyte-characters if non-standard.
1425 2013-12-17 Juri Linkov <juri@jurta.org>
1427 * arc-mode.el (archive-extract-by-file): Check if directory exists
1428 before deletion to not show irrelevant errors if it doesn't exist.
1430 2013-12-17 Juri Linkov <juri@jurta.org>
1432 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1435 * net/eww.el (browse-web): Add alias to `eww'.
1436 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1437 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1439 * net/browse-url.el (browse-url-browser-function): Move `eww'
1440 closer to similar functions.
1442 * startup.el (fancy-startup-screen, fancy-about-screen):
1443 Set browse-url-browser-function to eww-browse-url locally.
1446 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * window.el (window--pixel-to-total): Remove unused `mini' var.
1449 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1450 (split-window): Remove unused `new' var.
1451 (window--display-buffer): Remove unused `frame' and `delta' vars.
1452 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1455 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1457 * dired.el (dired-mark-pop-up):
1458 * register.el (register-preview): Don't bind
1459 split-height-threshold here since it's now done in
1460 display-buffer-below-selected.
1462 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1464 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1465 xterm-rgb-convert-to-16bit.
1466 (rxvt-register-default-colors): Standardize with
1467 xterm-register-default-colors (Bug#14078).
1469 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1471 * simple.el (kill-region): Pass mark first, then point, so that
1472 kill-append works right (Bug#12819).
1473 (copy-region-as-kill, kill-ring-save): Likewise.
1475 2013-12-17 Leo Liu <sdl.web@gmail.com>
1477 * net/rcirc.el (rcirc-add-face):
1478 * eshell/em-prompt.el (eshell-emit-prompt):
1479 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1482 2013-12-17 Chong Yidong <cyd@gnu.org>
1484 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1485 Suggested by Xue Fuqiao.
1487 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1489 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1491 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * net/shr.el (shr-insert-document): Remove unused var
1494 `shr-preliminary-table-render'.
1495 (shr-rescale-image): Remove unused arg `force'.
1496 (shr-put-image): Update calls accordingly.
1497 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1499 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1501 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1502 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1503 :close-all, to see which indentation method to use (Bug#16116).
1504 (smie-rules-function): Document the method :close-all.
1506 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1508 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1510 * net/eww.el (eww-display-html): If we can't find the anchor we're
1511 looking for, then go to point-min.
1513 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1515 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1516 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1517 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1518 Expand dir too, in case it's relative.
1520 2013-12-16 Juri Linkov <juri@jurta.org>
1522 * desktop.el (desktop-auto-save-timeout): Change default to
1523 `auto-save-timeout'. Doc fix.
1524 (desktop-save): Skip the timestamp in desktop-saved-frameset
1525 when checking for auto-save changes.
1526 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1527 `desktop-auto-save' is called repeatedly by the idle timer.
1528 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1529 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1532 2013-12-16 Juri Linkov <juri@jurta.org>
1534 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1536 (isearch-pre-command-hook): Check `this-command' for symbolp.
1538 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1542 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1544 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1545 (cfengine3--current-function): Bring in the current-function
1546 functionality from `cfengine3--current-word'.
1547 (cfengine3-completion-function): Bring in the
1548 bounds-of-current-word functionality from
1549 `cfengine3--current-word'.
1551 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1553 * window.el (display-buffer-below-selected):
1554 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1556 2013-12-16 Leo Liu <sdl.web@gmail.com>
1558 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1559 Remove NOMSG arg and all uses changed.
1561 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1564 (cua--deactivate-rectangle): Don't deactivate the mark.
1565 (cua-set-rectangle-mark): Don't set mark-active since
1566 cua--activate-rectangle already does it for us.
1567 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1568 non-rectangular region.
1570 * emulation/cua-base.el (cua-repeat-replace-region):
1571 Use with-current-buffer.
1573 * net/gnutls.el: Use cl-lib.
1574 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1576 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1578 * emacs-lisp/package.el (package-built-in-p): Support both
1579 built-in and the package.el converted package descriptions.
1580 (package-show-package-list): Allow keywords.
1581 (package-keyword-button-action): Use it instead of
1582 `finder-list-matches'.
1583 (package-menu-filter-interactive): Interactive filtering (by
1585 (package-menu--generate): Support keywords and change keymappings
1586 and headers when they are given.
1587 (package--has-keyword-p): Helper function.
1588 (package-menu--refresh): Use it.
1589 (package--mapc): Helper function.
1590 (package-all-keywords): Use it.
1591 (package-menu-mode-map): Set up menu items and keybindings to
1592 provide a filtering UI.
1594 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1596 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1597 the behavior when a certificate fails validation. Defaults to
1598 old behavior: never abort, just warn.
1599 (gnutls-negotiate): Use it.
1601 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1603 * window.el (display-buffer-below-selected): Never split window
1604 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1606 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1608 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1609 (package-buffer-info): Use it (bug#15108).
1611 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1613 * icomplete.el (icomplete-completions): Make sure the prefix is already
1614 displayed elsewhere before hiding it (bug#16219).
1616 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1618 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1619 open-paren tokens when preceded by a open-paren, too.
1620 (ruby-smie-rules): Handle virtual indentation after open-paren
1621 tokens specially. If there is code between it and eol, return the
1622 column where is starts (Bug#16118).
1624 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1626 * progmodes/cfengine.el: Fix `add-hook' doc.
1627 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1628 (cfengine3--current-word): Fix parameters.
1629 (cfengine3-make-syntax-cache): Simplify further.
1630 (cfengine3-completion-function, cfengine3--current-function):
1631 Use `assq' for symbols.
1632 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1634 2013-12-13 Glenn Morris <rgm@gnu.org>
1636 * loadup.el (load-path): Warn if site-load or site-init changes it.
1637 No more need to reset it when bootstrapping.
1639 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1641 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1642 locations for cf-promises.
1643 (cfengine-mode-syntax-functions-regex): New caching variable.
1644 (cfengine3-fallback-syntax): Fallback syntax for cases where
1645 cf-promises doesn't run.
1646 (cfengine3--current-word): Reimplement using
1647 `cfengine-mode-syntax-functions-regex'.
1648 (cfengine3-completion-function, cfengine3--current-function):
1649 Use `cfengine3-make-syntax-cache' directly.
1650 (cfengine3-clear-syntax-cache): New function.
1651 (cfengine3-make-syntax-cache): Simplify and create
1652 `cfengine-mode-syntax-functions-regex' on demand.
1653 (cfengine3-format-function-docstring): Don't call
1654 `cfengine3-make-syntax-cache' explicitly.
1656 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1658 Fix windmove-find-other-window broken after pixelwise resizing
1660 * windmove.el (windmove-other-window-loc): Revert change from
1662 (windmove-find-other-window): Call window-in-direction.
1663 * window.el (window-in-direction): New arguments SIGN, WRAP and
1664 MINI to emulate original windmove-find-other-window behavior.
1666 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1668 * simple.el (blink-matching--overlay): New variable.
1669 (blink-matching-open): Instead of moving point, highlight the
1670 matching paren with an overlay
1671 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1673 * faces.el (paren-showing-faces, show-paren-match)
1674 (show-paren-mismatch): Move from paren.el.
1676 2013-12-13 Leo Liu <sdl.web@gmail.com>
1678 * indent.el (indent-region): Disable progress reporter in
1679 minibuffer. (Bug#16108)
1681 * bindings.el (visual-order-cursor-movement): Fix version.
1683 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1685 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1686 Also match after beginning of line.
1687 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1688 files. Thanks to Russell Sim. (Bug#15378)
1690 2013-12-13 Juri Linkov <juri@jurta.org>
1692 * simple.el <Keypad support>: Remove key bindings duplicated
1693 with bindings.el. (Bug#14397)
1695 2013-12-13 Juri Linkov <juri@jurta.org>
1697 * comint.el (comint-mode-map): Replace `delete-char' with
1698 `delete-forward-char'. (Bug#16109)
1700 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1702 * progmodes/python.el (python-indent-calculate-indentation):
1703 Fix de-denters cornercase. (Bug#15731)
1705 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1707 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1708 (advice--make): Pay attention to `depth'.
1709 (advice--make-1): Don't autoload commands eagerly.
1710 * emacs-lisp/elp.el (elp-instrument-function):
1711 * emacs-lisp/trace.el (trace-function-internal):
1712 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1714 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1716 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1718 * term/w32-win.el (w32-handle-dropped-file):
1719 * startup.el (normal-top-level):
1720 * net/browse-url.el (browse-url-file-url):
1721 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1722 decode file names using 'utf-8' rather than
1723 file-name-coding-system.
1725 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1727 * progmodes/python.el (python-indent-context)
1728 (python-indent-calculate-indentation): Fix auto-identation
1729 behavior for comment blocks. (Bug#15916)
1731 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1733 * progmodes/python.el (python-indent-calculate-indentation):
1734 When determining indentation, don't treat "return", "pass", etc., as
1735 operators when they are just string constituents. (Bug#15812)
1737 2013-12-12 Juri Linkov <juri@jurta.org>
1739 * uniquify.el (uniquify-buffer-name-style): Change default to
1740 `post-forward-angle-brackets'.
1742 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1743 `uniquify'. Change default to `post-forward-angle-brackets'.
1745 2013-12-11 Glenn Morris <rgm@gnu.org>
1747 * emacs-lisp/package.el (finder-list-matches):
1748 Autoload rather than falsely declaring.
1750 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1752 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1753 (eww-mode-map): Use them.
1755 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1757 * window.el (display-buffer-in-side-window): Fix doc-string
1760 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1762 * vc/vc-git.el: Silence byte-compiler warnings.
1763 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1764 (log-edit-set-header): Declare.
1766 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1768 * Makefile.in (custom-deps, finder-data): Run output file names
1769 through unmsys--file-name. (Bug#16099)
1771 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1773 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1774 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1776 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1777 instead of deleting the selection "by hand" (bug#16098).
1778 Rely on insert-for-yank to yank rectangles.
1779 (cua-highlight-region-shift-only): Mark obsolete.
1780 (cua-mode): Don't enable/disable transient-mark-mode,
1781 shift-select-mode (cua-mode works both with and without them), and
1782 pc-selection-mode (obsolete).
1783 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1784 (cua--deactivate-rectangle): Deactivate it.
1786 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1787 (delete-selection-helper): Make sure yank starts at the top of the
1789 (minibuffer-keyboard-quit): Use region-active-p.
1791 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1793 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1794 to `delete' (bug#16109).
1796 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1798 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1799 info manual and show keybindings and set `:group' keyword.
1801 2013-12-11 Juri Linkov <juri@jurta.org>
1803 * delsel.el (delete-active-region): Let-bind `this-command'
1804 to prevent `kill-region' from changing its original value.
1805 (delete-selection-helper): Handle `overwrite-mode' for the type
1806 `kill' exactly the same way as for the type `t'.
1807 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1808 Support more commands. (Bug#13312)
1810 2013-12-11 Juri Linkov <juri@jurta.org>
1812 * bindings.el: Map kp keys to non-kp keys systematically
1813 with basic modifiers control, meta and shift. (Bug#14397)
1815 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1817 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1818 "Close browser" menu items. Fix wrong function of "List
1821 2013-12-11 Juri Linkov <juri@jurta.org>
1823 * misearch.el (multi-isearch-buffers): Set the value of
1824 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1825 arg of isearch-forward to t.
1826 (multi-isearch-buffers-regexp): Set the value of
1827 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1828 arg of isearch-forward-regexp to t.
1829 (multi-isearch-files): Set the value of
1830 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1831 arg of isearch-forward to t.
1832 (multi-isearch-files-regexp): Set the value of
1833 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1834 arg of isearch-forward-regexp to t. (Bug#16035)
1836 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1837 arg of isearch-forward to t.
1838 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1839 arg of isearch-forward-regexp to t.
1840 (dired-isearch-filter-filenames): Remove unnecessary check for
1841 `dired-isearch-filenames'.
1843 * comint.el (comint-history-isearch-backward):
1844 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1845 (comint-history-isearch-backward-regexp):
1846 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1848 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1850 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1851 unmsys--file-name. (Bug#16099)
1853 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1855 * emacs-lisp/package.el (package-keyword-button-action):
1856 Remove finder.el require dependency.
1858 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1860 * emacs-lisp/package.el: Require finder.el.
1861 (describe-package-1): Add keyword buttons.
1862 (package-make-button): New convenience function.
1863 (package-keyword-button-action): Keyword button action using
1864 `finder-list-matches'.
1866 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1868 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1871 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1873 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1876 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1878 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1879 after the end of a percent literal.
1881 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1883 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1884 Handle caret-delimited strings (Bug#16079).
1886 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1888 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1889 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1890 `ruby-parse-partial' (Bug#16078).
1892 2013-12-09 Leo Liu <sdl.web@gmail.com>
1894 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1896 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1898 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1899 (js-switch-indent-offset): New option.
1900 (js--proper-indentation): Use it. And handle the case when
1901 "default" is actually a key in an object literal.
1902 (js--same-line): New function.
1903 (js--multi-line-declaration-indentation): Use it.
1904 (js--indent-in-array-comp, js--array-comp-indentation):
1906 (js--proper-indentation): Use them, to handle array comprehension
1909 2013-12-08 Leo Liu <sdl.web@gmail.com>
1911 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1912 (flymake-make-overlay): Remove arg MOUSE-FACE.
1913 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1915 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1919 (redisplay-highlight-region-function): Use it.
1921 * emulation/cua-base.el (cua--explicit-region-start)
1922 (cua--last-region-shifted): Remove.
1923 (cua--deactivate): Use deactivate-mark.
1924 (cua--pre-command-handler-1): Don't handle shift-selection.
1925 (cua--post-command-handler-1): Don't change transient-mark-mode.
1926 (cua--select-keymaps): Use region-active-p rather than
1927 cua--explicit-region-start or cua--last-region-shifted.
1928 (cua-mode): Enable shift-select-mode.
1930 2013-12-08 Leo Liu <sdl.web@gmail.com>
1932 * progmodes/flymake.el (flymake-popup-current-error-menu):
1933 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1934 (flymake-posn-at-point-as-event, flymake-popup-menu)
1935 (flymake-make-emacs-menu): Remove. (Bug#16077)
1937 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * rect.el (rectangle-mark-mode): Activate mark even if
1940 transient-mark-mode is off (bug#16066).
1941 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1942 is > mark and at bolp.
1944 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1945 (region-extract-function): Use it.
1946 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1947 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1949 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1950 kill-ring-save, kill-region, delete-char, delete-forward-char.
1951 Ignore self-insert-iso.
1953 * emulation/cua-gmrk.el (cua--init-global-mark):
1954 Ignore `self-insert-iso'.
1956 * emulation/cua-base.el (cua--prefix-copy-handler)
1957 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1958 checking cua--rectangle.
1959 (cua-delete-region): Use region-extract-function.
1960 (cua-replace-region): Delete function.
1961 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1962 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1963 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1964 (cua--init-keymaps): Don't remap delete-selection commands.
1965 (cua-mode): Use delete-selection-mode instead of rolling our own
1968 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1969 Obey region-extract-function.
1971 Make registers and delete-selection-mode work on rectangles.
1972 * register.el (describe-register-1): Don't modify the register's value.
1973 (copy-to-register): Obey region-extract-function.
1974 * delsel.el (delete-active-region): Obey region-extract-function.
1976 2013-12-08 Leo Liu <sdl.web@gmail.com>
1978 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1979 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1980 (flymake-compilation-prevents-syntax-check)
1981 (flymake-start-syntax-check-on-newline)
1982 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1983 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1984 (flymake-xml-program, flymake-master-file-dirs)
1985 (flymake-master-file-count-limit)
1986 (flymake-allowed-file-name-masks): Relocate.
1987 (flymake-makehash, flymake-float-time)
1988 (flymake-replace-regexp-in-string, flymake-split-string)
1989 (flymake-get-temp-dir): Remove.
1990 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1991 (flymake-current-row, flymake-selected-frame)
1992 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1993 related functions. (Bug#16077)
1995 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1997 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1999 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2001 * help-fns.el (describe-function-1): Use new advice-* functions
2002 rather than old ad-* functions. Fix function type description and
2003 source links for advised functions and subrs.
2005 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2007 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2009 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2011 * progmodes/compile.el (compilation-start):
2012 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2014 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2015 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2017 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2019 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2020 Touch up the last change.
2022 2013-12-06 Leo Liu <sdl.web@gmail.com>
2024 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2025 (inferior-octave-startup): Always use "octave> " for prompt.
2026 (octave-goto-function-definition)
2027 (octave-sync-function-file-names)
2028 (octave-find-definition-default-filename): Remove redundant backquotes.
2030 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2032 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2034 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2035 where appropriate already.
2036 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2037 end of method names (Bug#15874).
2039 2013-12-06 Juri Linkov <juri@jurta.org>
2041 * isearch.el (isearch--saved-overriding-local-map):
2042 New internal variable.
2043 (isearch-mode): Set it to the initial value of
2044 `overriding-terminal-local-map'.
2045 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2046 with `isearch--saved-overriding-local-map'. (Bug#16035)
2048 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2050 * progmodes/octave.el (inferior-octave-completion-table):
2051 Turn back into function, use `completion-table-with-cache'
2052 (Bug#11906). Update all references.
2054 * minibuffer.el (completion-table-with-cache): New function.
2056 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2058 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2060 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2062 * net/eww.el (eww-current-source): New variable to store page
2064 (eww-display-html, eww-mode, eww-save-history)
2065 (eww-restore-history): Use it.
2066 (eww-view-source): New command to view page source.
2067 Opportunistically uses `html-mode' to highlight the buffer.
2068 (eww-mode-map): Install it.
2070 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2072 * net/dbus.el (dbus-unregister-service)
2073 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2075 (dbus-unregister-service): Skip :serial entries in
2076 `dbus-registered-objects-table'.
2077 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2079 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2081 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2082 around keywords with extra `split-string' argument.
2084 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2086 * windmove.el (windmove-other-window-loc): Handle navigation
2087 between windows (excluding the minibuffer window - Bug#16017).
2089 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2091 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2092 in D-Bus type syntax.
2093 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2094 preserve unibyte strings. (Bug#16048)
2096 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2098 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2099 Call force-mode-line-update is the proper buffer (bug#16042).
2101 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2103 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2104 `log-edit-remember-comment', make argument optional. Adjust all
2106 (log-edit-mode): Add `log-edit-remember-comment' to
2107 `kill-buffer-hook' locally.
2108 (log-edit-kill-buffer): Don't remember comment explicitly since
2109 the buffer is killed anyway.
2111 2013-12-04 Juri Linkov <juri@jurta.org>
2113 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2114 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2116 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2118 * notifications.el (notifications-close-notification): Call the
2119 D-Bus method with ID being a `:uint32'. (Bug#16030)
2121 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2123 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2125 2013-12-03 Juri Linkov <juri@jurta.org>
2127 * progmodes/compile.el (compilation-start): Rename window alist
2128 entry `no-display-ok' to `allow-no-window'.
2130 * simple.el (shell-command): Add window alist entry
2131 `allow-no-window' to `display-buffer'.
2132 (async-shell-command): Doc fix.
2134 * window.el (display-buffer-no-window): New action function.
2135 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2137 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2139 * vc/log-edit.el (log-edit-set-header): Extract from
2140 `log-edit-toggle-header'.
2141 (log-edit-extract-headers): Separate the summary, when extracted
2142 from header, from the rest of the message with an empty line.
2144 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2145 line, if present, to the Summary header.
2147 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2149 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2150 in current-buffer (bug#16029).
2152 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2154 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2155 (debugger-mode-map): Bind it.
2156 (debugger--backtrace-base): New function.
2157 (debugger-eval-expression): Use it.
2158 (debugger-frame-number): Skip local vars when present.
2159 (debugger--locals-visible-p, debugger--insert-locals)
2160 (debugger--show-locals, debugger--hide-locals): New functions.
2162 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2164 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2166 (tramp-get-remote-locale): New defun.
2167 (tramp-open-connection-setup-interactive-shell): Use it.
2169 2013-12-02 Leo Liu <sdl.web@gmail.com>
2171 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2173 * progmodes/sh-script.el (sh-shell-process):
2174 * progmodes/octave.el (inferior-octave-process-live-p):
2175 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2176 (gdb-inferior-io-sentinel):
2177 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2179 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2181 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2182 `save-selected-window' to `log-edit-hide-buf'. This makes
2183 `log-edit-show-files' idempotent.
2184 (log-edit-show-files): Mark the new window as dedicated.
2186 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2188 * vc/log-edit.el (log-edit-mode-map): Add binding for
2189 `log-edit-kill-biffer'.
2190 (log-edit-hide-buf): Add a FIXME comment.
2191 (log-edit-add-new-comment): New function, extracted from
2193 (log-edit-done, log-edit-add-to-changelog): Use it.
2194 (log-edit-kill-buffer): New command.
2196 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2198 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2199 instead of killing the buffer.
2201 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2203 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2205 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2207 * net/eww.el (eww-form-checkbox-selected-symbol)
2208 (eww-form-checkbox-symbol): New customizable variable.
2209 (eww-form-checkbox, eww-toggle-checkbox):
2210 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2212 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2213 (shr--get-media-pref, shr--extract-best-source): New function.
2214 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2215 no :src tag was specified.
2217 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2218 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2219 Use \\` to match beginning of string instead of ^.
2220 (eww-browse-with-external-browser): Provide optional URL parameter.
2221 (eww-render): Set `eww-current-title' back to "".
2223 * net/shr.el (shr-tag-video): Display content for video if no
2224 poster is available.
2225 (shr-tag-audio): Add support for <audio> tag.
2227 * net/eww.el (eww-text-input-types): New const.
2228 (eww-process-text-input): Treat input types in
2229 `eww-text-input-types' as text.
2231 * net/shr.el (shr-tag-table): Fix comment typo.
2233 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2235 * net/eww.el (eww-follow-link): New command to avoid reloading
2236 pages when we follow #target links (bug#15243).
2237 (eww-quit): Special mode buffers shouldn't query before exiting.
2239 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2241 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2244 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2246 * net/eww.el (eww-restore-history): Update the window title after
2247 moving in the history.
2248 (eww-current-dom): New variable used to save the current DOM.
2250 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2252 * vc/log-edit.el (log-edit-mode-map): Add binding for
2253 `log-edit-beginning-of-line'.
2254 (log-edit-setup-add-author): New user option.
2255 (log-edit-beginning-of-line): New command.
2256 (log-edit): Move major mode call above the contents setup so that
2257 the local variable values are already applied.
2258 (log-edit): Only insert "Author: " when
2259 `log-edit-setup-add-author' is non-nil.
2260 (log-edit): When SETUP is non-nil, position point after ": "
2261 instead of point-min.
2263 2013-12-01 Glenn Morris <rgm@gnu.org>
2265 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2267 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2269 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2270 redisplay to make sure the initial frame gets a chance to become
2271 visible. (Bug#16014)
2273 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2275 Support resizing frames and windows pixelwise.
2276 * cus-start.el (frame-resize-pixelwise)
2277 (window-resize-pixelwise): New entries.
2278 * emacs-lisp/debug.el (debug): Use window-total-height instead
2279 of window-total-size.
2280 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2281 * help.el (describe-bindings-internal): Call help-buffer
2282 (temp-buffer-max-width): New option.
2283 (resize-temp-buffer-window, help-window-setup)
2284 (with-help-window): Rewrite.
2285 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2287 * window.el (frame-char-size, window-min-pixel-height)
2288 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2289 (window-min-pixel-width, window-safe-min-pixel-size)
2290 (window-combination-p, window-safe-min-size)
2291 (window-resizable-p, window--size-to-pixel)
2292 (window--pixel-to-size, window--resize-apply-p): New functions.
2293 (window-safe-min-height): Fix doc-string.
2294 (window-size, window-min-size, window--min-size-1)
2295 (window-sizable, window-sizable-p, window--min-delta-1)
2296 (window-min-delta, window--max-delta-1, window-max-delta)
2297 (window--resizable, window--resizable-p, window-resizable)
2298 (window-full-height-p, window-full-width-p, window-at-side-p)
2299 (window--in-direction-2, window-in-direction)
2300 (window--resize-reset-1, window--resize-mini-window)
2301 (window-resize, window-resize-no-error)
2302 (window--resize-child-windows-normal)
2303 (window--resize-child-windows, window--resize-siblings)
2304 (window--resize-this-window, window--resize-root-window)
2305 (window--resize-root-window-vertically)
2306 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2307 (maximize-window, minimize-window, delete-window)
2308 (quit-restore-window, window-split-min-size, split-window)
2309 (balance-windows-2, balance-windows)
2310 (balance-windows-area-adjust, balance-windows-area)
2311 (window--state-get-1, window-state-get, window--state-put-1)
2312 (window--state-put-2, window-state-put)
2313 (display-buffer-record-window, window--display-buffer):
2314 Make functions handle pixelwise sizing of windows.
2315 (display-buffer--action-function-custom-type)
2316 (display-buffer-fallback-action):
2317 Add display-buffer-in-previous-window.
2318 (display-buffer-use-some-window): Resize window to height it had
2320 (fit-window-to-buffer-horizontally): New option.
2321 (fit-frame-to-buffer): Describe new values.
2322 (fit-frame-to-buffer-bottom-margin): Replace with
2323 fit-frame-to-buffer-margins.
2324 (window--sanitize-margin): New function.
2325 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2326 using window-text-pixel-size.
2328 2013-11-30 Glenn Morris <rgm@gnu.org>
2330 * emacs-lisp/bytecomp.el (byte-compile-form):
2331 Make the `interactive-only' warning like the `obsolete' one.
2332 * comint.el (comint-run):
2333 * files.el (insert-file-literally, insert-file):
2334 * replace.el (replace-string, replace-regexp):
2335 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2336 (goto-line, insert-buffer, next-line, previous-line):
2337 Tweak `interactive-only' spec.
2339 Stop keeping (most) generated cedet grammar files in the repository.
2340 * Makefile.in (semantic): New.
2341 (compile-main): Depend on semantic.
2343 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2345 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2346 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2348 * uniquify.el (uniquify-buffer-name-style): Change default.
2350 * loadup.el: Preload "uniquify".
2352 * time.el (display-time-update): Update all mode lines (bug#15999).
2354 * electric.el (electric-indent-mode): Enable by default.
2355 * loadup.el: Preload "electric".
2357 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2359 * emacs-lisp/helpers.el (string-empty-p): New function.
2360 (string-blank-p): New function.
2362 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2364 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2367 2013-11-29 Andreas Politz <politza@fh-trier.de>
2368 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2369 allow non-lambda lists as functions.
2370 (imenu--in-alist): Don't recurse into non-subalists.
2371 (imenu): Don't pass function itself as an argument (Bug#14029).
2373 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2375 * progmodes/python.el (python-mode-map): Remove binding for ":".
2376 (python-indent-electric-colon): Remove command.
2377 (python-indent-post-self-insert-function): Integrate the previous code
2378 of python-indent-electric-colon. Make it conditional on
2379 electric-indent-mode.
2380 (python-mode): Add ?: to electric-indent-chars.
2381 Move python-indent-post-self-insert-function to the end of
2382 post-self-insert-hook.
2384 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * doc-view.el (doc-view-goto-page): Update mode-line.
2388 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2390 2013-11-27 Glenn Morris <rgm@gnu.org>
2392 * international/charprop.el, international/uni-bidi.el:
2393 * international/uni-category.el, international/uni-combining.el:
2394 * international/uni-comment.el, international/uni-decimal.el:
2395 * international/uni-decomposition.el, international/uni-digit.el:
2396 * international/uni-lowercase.el, international/uni-mirrored.el:
2397 * international/uni-name.el, international/uni-numeric.el:
2398 * international/uni-old-name.el, international/uni-titlecase.el:
2399 * international/uni-uppercase.el:
2400 Remove generated files from VCS repository.
2402 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2404 * filenotify.el (file-notify-add-watch): Don't special-case
2405 w32notify when computing the directory to watch.
2407 2013-11-27 Glenn Morris <rgm@gnu.org>
2409 Make bootstrap without generated uni-*.el files possible again.
2410 * loadup.el: Update command-line-args checking for unidata-gen.
2411 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2412 * composite.el, international/characters.el:
2413 Handle unicode tables being undefined.
2415 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2416 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2417 (compile-main): Depend on leim rule.
2419 * loadup.el: Move leim-list.el to leim/ subdirectory.
2420 * startup.el (normal-top-level): No more leim directory.
2421 * international/ja-dic-cnv.el (skkdic-convert):
2422 Disable version-control and autoloads in output files.
2423 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2424 Disable version-control and autoloads in output files.
2425 * leim/quail: Move here from ../leim.
2426 * leim/quail/hangul.el (hangul-input-method-activate):
2427 Add autoload cookie.
2428 (generated-autoload-load-name): Set file-local value.
2429 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2430 (generated-autoload-load-name): Set file-local value.
2432 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2434 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2435 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2436 (eww-quit): Ask confirmation before quitting eww.
2438 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2440 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2441 reading output from Diff on MS-Windows and MS-DOS.
2443 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2445 * emacs-lisp/helpers.el (string-reverse): New function.
2447 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2449 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2450 names on MS Windows, like "/[::1]:".
2452 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2455 2013-11-26 Glenn Morris <rgm@gnu.org>
2457 * progmodes/python.el (python-indent-guess-indent-offset):
2458 Avoid corner-case error. (Bug#15975)
2460 Preload leim-list.el. (Bug#4789)
2461 * loadup.el: Load leim-list.el when found.
2462 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2464 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2466 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2468 * emacs-lisp/helpers.el (string-join): New function.
2470 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2472 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2473 Mark as obsolete and replace it with a symbol property.
2474 (byte-compile-form): Use new 'interactive-only property.
2475 * comint.el, files.el, replace.el, simple.el:
2476 Apply new 'interactive-only properly.
2478 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2480 * window.el (display-buffer-at-bottom): Make sure that
2481 split-window-sensibly creates the new window on bottom
2484 2013-11-23 David Kastrup <dak@gnu.org>
2486 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2487 on the conflict markers when available.
2488 (smerge--get-marker): New function.
2489 (smerge-end-re, smerge-base-re): Add subgroup.
2491 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * frame.el (handle-focus-in, handle-focus-out): Add missing
2496 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2498 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2499 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2501 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2503 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2504 (gomoku--last-pos): New var.
2505 (gomoku--intangible-chars): New const.
2506 (gomoku--intangible): New function.
2507 (gomoku-mode): Use it. Derive from special-mode.
2508 (gomoku-move-up): Adjust line count.
2509 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2510 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2511 Simplify accordingly.
2513 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2514 Remove blink-cursor code.
2515 (blink-cursor-timer-function, blink-cursor-suspend):
2516 Don't special-case GUIs.
2517 (blink-cursor-mode): Use focus-in/out-hook.
2519 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2521 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2522 work when annotation is invisible (Bug#13886).
2524 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2526 * json.el (json-alist-p): Only return non-nil if the alist has
2527 simple keys (Bug#13518).
2529 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2531 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2532 when control-statement is the first statement in a buffer (Bug#15956).
2534 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2536 * imenu.el (imenu-generic-skip-comments-and-strings):
2537 New option (Bug#15560).
2538 (imenu--generic-function): Use it.
2540 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2542 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2545 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2547 * emacs-lisp/helpers.el: Add some string helpers.
2548 (string-trim-left): Removes leading whitespace.
2549 (string-trim-right): Removes trailing whitespace.
2550 (string-trim): Removes leading and trailing whitespace.
2552 * subr.el (string-suffix-p): New function.
2554 2013-11-23 Glenn Morris <rgm@gnu.org>
2556 * progmodes/python.el (python-shell-send-file):
2557 Add option to delete file when done. (Bug#15647)
2558 (python-shell-send-string, python-shell-send-region): Use it.
2560 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2562 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2563 to set buffer-read-only to t, never to nil. (Bug#15938)
2565 * textmodes/tex-mode.el (latex-noindent-environments):
2566 Add safe-local-variable property. (Bug#15936)
2568 2013-11-23 Glenn Morris <rgm@gnu.org>
2570 * textmodes/enriched.el (enriched-mode): Doc fix.
2571 * emacs-lisp/authors.el (authors-renamed-files-alist):
2572 Add enriched.doc -> enriched.txt.
2574 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2576 2013-11-22 Leo Liu <sdl.web@gmail.com>
2578 * progmodes/octave.el (inferior-octave-startup): Spit out error
2581 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2583 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2586 (ruby-encoding-magic-comment-style): Add :version.
2588 2013-11-22 Leo Liu <sdl.web@gmail.com>
2590 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2592 (octave-help-mode): Adapt to change to help-mode-finish to use
2593 derived-mode-p on 2013-09-17.
2594 (inferior-octave-prompt): Also match octave-gui.
2595 (octave-kill-process): Don't ask twice. (Bug#10564)
2597 2013-11-22 Leo Liu <sdl.web@gmail.com>
2599 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2600 (inferior-octave-startup, inferior-octave-check-process)
2601 (inferior-octave-track-window-width-change)
2602 (octave-completion-at-point, octave-eldoc-function): Use it.
2603 (octave-kill-process): Provide confirmation. (Bug#10564)
2605 2013-11-21 Leo Liu <sdl.web@gmail.com>
2607 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2608 Fix obsolete variable comment-use-global-state.
2610 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2612 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2613 Add `octave-source-file'.
2614 (octave-source-file): New function. (Bug#15935)
2616 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2618 * net/eww.el (eww-local-regex): New variable.
2619 (eww): Use it to detect localhost and similar.
2621 2013-11-21 Leo Liu <sdl.web@gmail.com>
2623 Add completion for command `ag'.
2624 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2625 (pcomplete/ag): New function.
2626 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2628 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2632 (make-obsolete): Remove interactive spec.
2634 2013-11-21 Glenn Morris <rgm@gnu.org>
2636 * startup.el (command-line-1): Use path-separator with -L.
2638 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2640 * emacs-lisp/package.el (describe-package-1): Add package archive
2643 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2645 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2646 Change default to "# encoding: %s" to differentiate it from the
2647 default Ruby encoding comment template.
2649 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2651 * ses.el (ses-mode): Doc fix. (Bug#14748)
2653 2013-11-20 Leo Liu <sdl.web@gmail.com>
2655 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2657 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2659 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2660 when rebase or bisect are in progress.
2662 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2664 * filenotify.el (file-notify-add-watch): Doc fix.
2666 2013-11-19 Leo Liu <sdl.web@gmail.com>
2668 * obsolete/rcompile.el: Mark obsolete.
2670 * progmodes/compile.el (compilation-start)
2671 (compilation-goto-locus, compilation-find-file):
2672 Pass no-display-ok and handle nil value from display-buffer.
2675 * window.el (display-buffer-alist, display-buffer): Document the
2676 new parameter no-display-ok. Return either a window or nil
2677 but never a non-window value.
2679 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2681 * electric.el (electric-indent-mode-map): Remove.
2682 (electric-indent-mode): Change the global-map instead (bug#15915).
2684 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2687 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2689 * emacs-lisp/nadvice.el (remove-function): Align with
2690 add-function's behavior.
2692 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2693 (gdb--string-regexp): New constant.
2694 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2695 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2696 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2698 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2699 Adjust use accordingly.
2700 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2702 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2704 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2705 interpolation curlies (Bug#15914).
2707 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2709 * calc/calc.el (calc-context-sensitive-enter): New variable.
2710 (calc-enter): Use `calc-context-sensitive-enter'.
2712 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2714 * progmodes/cfengine.el: Version bump.
2715 (cfengine-cf-promises): New defcustom to locate cf-promises.
2716 (cfengine3-vartypes): Add new "data" type.
2717 (cfengine3--current-word): New function to get current name-like
2719 (cfengine3--current-function): New function to look up a CFEngine
2720 function's definition.
2721 (cfengine3-format-function-docstring): New function.
2722 (cfengine3-make-syntax-cache): New function.
2723 (cfengine3-documentation-function): New function: ElDoc glue.
2724 (cfengine3-completion-function): New function: completion glue.
2725 (cfengine3-mode): Set `compile-command',
2726 `eldoc-documentation-function', and add to
2727 `completion-at-point-functions'.
2729 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2731 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2732 `tramp-current-connection'.
2734 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2736 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2737 nil/self/true/false with "end of symbol".
2739 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2741 * subr.el (version-regexp-alist): Fix a typo.
2743 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2745 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2746 "en_US.utf8" and "LC_CTYPE" to "".
2747 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2748 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2750 2013-11-15 Leo Liu <sdl.web@gmail.com>
2752 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2754 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * progmodes/gud.el (ctl-x-map):
2757 Remove C-x SPC binding. (Bug#12342)
2758 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2760 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2762 * subr.el (version-regexp-alist):
2763 Recognize hg, svn and darcs versions as snapshot versions.
2765 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2766 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2767 (ruby--encoding-comment-required-p): Extract from
2768 `ruby-mode-set-encoding'.
2769 (ruby-mode-set-encoding): Add the ability to always insert an
2770 utf-8 encoding comment. Fix and simplify coding comment update
2773 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2775 * net/tramp-gvfs.el (top): Run init code only when
2776 `tramp-gvfs-enabled' is not nil.
2777 (tramp-gvfs-enabled): Check also :system bus.
2779 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2781 Sync with upstream verilog-mode revision 78e66ba.
2782 * progmodes/verilog-mode.el (verilog-end-of-defun)
2783 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2784 (verilog-get-end-of-defun): Remove unused argument.
2785 (verilog-comment-depth): Remove unused local `e'.
2786 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2787 Don't pass arg to verilog-get-end-of-defun.
2789 2013-11-14 Glenn Morris <rgm@gnu.org>
2791 * obsolete/assoc.el (aget): Prefix dynamic variable.
2793 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2795 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2797 * widget.el, hfy-cmap.el: Remove bogus package version number.
2799 2013-11-13 Glenn Morris <rgm@gnu.org>
2801 * replace.el (replace-eval-replacement):
2802 Try to give more helpful error message. (Bug#15836)
2804 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2805 (archive-7z-update): Avoid custom type mismatches.
2807 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2809 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2811 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2812 address can be empty.
2814 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2815 Accept nil SWITCHES.
2816 (tramp-gvfs-handle-write-region): Implement APPEND.
2818 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2820 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2821 binary "|" operator and closing block args delimiter.
2822 Remove FIXME comment referring to Ruby 1.8-only syntax.
2823 (ruby-smie--implicit-semi-p): Not after "|" operator.
2824 (ruby-smie--closing-pipe-p): New function.
2825 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2826 (ruby-smie-rules): Indent after "|".
2828 2013-11-12 Glenn Morris <rgm@gnu.org>
2830 * ps-print.el (ps-face-attribute-list):
2831 Handle anonymous faces. (Bug#15827)
2833 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2835 * window.el (display-buffer-other-frame): Fix doc-string.
2838 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2840 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2842 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2845 (tramp-sh-handle-file-local-copy): Don't write a message when
2846 saving temporary files.
2848 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2849 both directories are remote.
2850 (tramp-smb-handle-directory-files): Do not return double entries.
2851 Do not expand full file names.
2852 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2853 (tramp-smb-handle-write-region): Implement APPEND.
2854 (tramp-smb-get-stat-capability): Fix a stupid bug.
2856 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2858 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2860 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2862 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2863 throwing error over malformed let/let* (bug#15814).
2865 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * iswitchb.el (iswitchb-mode): Mark obsolete.
2869 2013-11-11 Glenn Morris <rgm@gnu.org>
2871 * international/uni-bidi.el, international/uni-category.el:
2872 * international/uni-name.el, international/uni-numeric.el:
2873 Regenerate for Unicode 6.3.0.
2875 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2877 * net/tramp.el (tramp-methods):
2878 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2879 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2881 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2883 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2884 Force highlighting text after Summary keyword in doc face for rpm.
2886 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2888 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2889 available and the word has no wildcards, append one to the grep pattern.
2890 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2891 (ispell-complete-word): Call `ispell-lookup-words' with the value
2892 independent of `ispell-look-p'.
2894 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2896 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2898 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2901 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2903 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2904 (ruby-font-lock-keywords): Use backquote.
2906 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2908 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2909 (ruby-smie--backward-token): Only consider full-string matches.
2911 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2913 * faces.el (describe-face): Add distant-foreground.
2915 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2917 * progmodes/ruby-mode.el: Improve encoding comment handling.
2918 (ruby-encoding-magic-comment-style): New option.
2919 (ruby-custom-encoding-magic-comment-template): New option.
2920 (ruby--insert-coding-comment, ruby--detect-encoding):
2921 New functions extracted from `ruby-mode-set-encoding'.
2922 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2923 to control the style of the auto-inserted encoding comment.
2925 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2927 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2928 Use `smie-backward-sexp' with token argument.
2930 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2932 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2933 Remove instrumentation code.
2935 2013-11-08 Glenn Morris <rgm@gnu.org>
2937 * progmodes/autoconf.el (autoconf-mode):
2938 Tweak comment-start-skip. (Bug#15822)
2940 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2942 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2943 at bobp (bug#15826).
2944 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2946 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2948 * man.el (Man-start-calling): New macro, extracted from
2949 Man-getpage-in-background.
2950 (Man-getpage-in-background): Use it.
2951 (Man-update-manpage): New command.
2952 (Man-mode-map): Bind it.
2954 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2956 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2957 of "and", "or", "&&" and "||".
2958 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2959 argument. Prohibit opening curly brace because it could only be a
2960 block opener in that position.
2961 (ruby-smie--forward-token, ruby-smie--backward-token):
2962 Separate "|" from "&" or "*" going after it. That can happen in block
2964 (ruby-smie--indent-to-stmt): New function, seeks the end of
2965 previous statement or beginning of buffer.
2966 (ruby-smie-rules): Use it.
2967 (ruby-smie-rules): Check if there's a ":" before a curly block
2968 opener candidate; if there is, it's a hash.
2970 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2972 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2973 (cl--block-wrapper): Fix last accidental change.
2975 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2977 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2978 Instrument, in order to hunt failure on hydra.
2980 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2982 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2983 malformed bindings form (bug#15814).
2985 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2987 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2988 "." compared to " @ ". This incidentally fixes some indentation
2990 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2991 (ruby-smie-grammar): New tokens: "and" and "or".
2992 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2993 Exclude "and" and "or". Remove "do" in order to work around token
2995 (ruby-smie-rules): Add all infix tokens. Handle the case of
2996 beginning-of-buffer.
2998 2013-11-06 Glenn Morris <rgm@gnu.org>
3000 * Makefile.in (setwins_almost, setwins_for_subdirs):
3001 Avoid accidental matches.
3003 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3005 * menu-bar.el (popup-menu): Use key-binding.
3007 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3009 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3010 menus, support also the menus produced by minor modes.
3013 2013-11-06 Leo Liu <sdl.web@gmail.com>
3015 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3016 DISTANCE to bound the search. All uses changed. (Bug#15808)
3018 2013-11-06 Glenn Morris <rgm@gnu.org>
3020 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3021 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3022 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3024 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3026 * electric.el (electric-indent-just-newline): New command.
3027 (electric-indent-mode-map): New keymap.
3028 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3029 Re-add :group which weren't redundant.
3031 * electric.el (electric-indent-local-mode): New minor mode.
3032 (electric-indent-functions-without-reindent): New var.
3033 (electric-indent-post-self-insert-function): Use it.
3034 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3036 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3038 * international/quail.el (quail-help): Be more explicit about the
3039 meaning of the labels shown on the keys. (Bug#15800)
3041 * startup.el (normal-top-level): Load the subdirs.el files before
3042 setting the locale environment. (Bug#15805)
3044 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3046 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3047 via arguments so as to get the right ones (bug#15418).
3049 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3051 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3053 Fix problems found while writing a test suite.
3055 * net/tramp-compat.el (tramp-compat-load): New defun.
3056 * net/tramp.el (tramp-handle-load): Use it.
3058 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3059 "(numberp ok-if-already-exists)" correctly.
3061 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3063 * international/characters.el (glyphless-char-display-control):
3066 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3068 * progmodes/python.el (python-mode):
3069 * progmodes/scheme.el (scheme-mode):
3070 * progmodes/prolog.el (prolog-mode):
3071 * progmodes/ruby-mode.el (ruby-mode):
3072 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3073 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3075 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3077 * rect.el (rectangle--highlight-for-redisplay):
3078 * emacs-lisp/smie.el (smie--next-indent-change):
3079 Use buffer-chars-modified-tick.
3081 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3083 * electric.el (electric-indent-post-self-insert-function):
3084 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3086 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3088 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3090 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3092 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3095 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3099 * progmodes/python.el: Fix up last change.
3100 (python-shell--save-temp-file): New function.
3101 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3102 `string' comes from the current buffer.
3103 (python-shell-send-string-no-output): Remove `msg' arg.
3104 (python--use-fake-loc): New var.
3105 (python-shell-buffer-substring): Obey it. Try to compensate for the
3106 extra coding line added by python-shell--save-temp-file.
3107 (python-shell-send-region): Use python-shell--save-temp-file and
3108 python-shell-send-file directly. Add `nomain' argument.
3109 (python-shell-send-buffer): Use python-shell-send-region.
3110 (python-electric-pair-string-delimiter): New function.
3111 (python-mode): Use it.
3113 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3115 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3116 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3117 environment and decoding all of the default-directory's to here
3119 (command-line): Decode also argv[0].
3121 * loadup.el: Error out if default-directory is a multibyte string
3122 when we are dumping.
3124 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3126 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3128 * emacs-lisp/package.el (package-menu-mode)
3129 (package-menu--print-info, package-menu--archive-predicate):
3130 Add Archive column to package list.
3132 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3134 Fix problems found while writing a test suite.
3136 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3137 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3138 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3139 to nil when running original file name handler. Otherwise,
3140 there are problems with constructs like "$$FOO".
3142 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3145 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3147 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3149 * subr.el (version<, version<=, version=):
3150 Update docstrings with information for snapshot versions.
3152 * helpers.el: New library for misc helper functions.
3153 (hash-table-keys): New function returning a list of hash keys.
3154 (hash-table-values): New function returning a list of hash values.
3156 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3158 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3159 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3161 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3163 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3164 checking whether point is after a 1-letter word.
3166 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3168 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3169 Don't infloop when expanding region over `multiline' syntax-type that
3170 begins a line (bug#15778).
3172 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3174 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3175 Make it into a proper minor mode.
3176 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3177 (rectangle-mark-mode-map): New keymap.
3178 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3180 2013-11-04 Glenn Morris <rgm@gnu.org>
3182 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3184 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3187 (ruby-smie-rules): Use smie-rule-parent instead.
3189 * emacs-lisp/smie.el (smie-rule-parent): Always call
3190 smie-indent-virtual rather than only for hanging tokens.
3191 (smie--next-indent-change): New helper command.
3193 2013-11-03 Glenn Morris <rgm@gnu.org>
3195 * Makefile.in (abs_srcdir): Remove.
3196 (emacs): Unset EMACSLOADPATH.
3198 2013-11-02 Glenn Morris <rgm@gnu.org>
3200 * Makefile.in (EMACS): Use a relative filename.
3201 (abs_top_builddir): Remove.
3202 (custom-deps, finder-data, autoloads): Use --chdir.
3204 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3206 Use relative filenames in TAGS files.
3207 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3208 (lisptagsfiles4, TAGS): Use relative file names.
3209 (TAGS-LISP): Remove.
3210 (maintainer-clean): No more TAGS-LISP file.
3212 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3213 (lisptagsfiles4): Use absolute filenames again.
3214 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3215 Remove all *loaddefs files, not just the first. Remove esh-groups.
3216 (maintainer-clean): Delete TAGS, TAGS-LISP.
3218 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3220 * emacs-lisp/package.el (package-version-join):
3221 Recognize snapshot versions.
3223 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3225 * subr.el (version-regexp-alist): Add support for snapshot versions.
3227 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3229 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3230 New function, replacement for `smie-rule-parent' for when we want to
3231 skip over our direct parent if it's an assignment token..
3232 (ruby-smie-rules): Use it.
3234 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3236 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3237 unconditionally. Remove now unnecessary forward declarations.
3238 Remove XEmacs-specific setup.
3239 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3240 (ruby-font-lock-syntactic-keywords)
3241 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3242 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3243 (ruby-here-doc-end-syntax): Remove.
3244 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3245 defined as function.
3247 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3249 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3251 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3253 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3254 table and abbrev table, `define-derived-mode' does that for us
3257 2013-11-01 Glenn Morris <rgm@gnu.org>
3259 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3260 files is atomic for some time, so no parallel compilation issues).
3262 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3264 * faces.el (face-x-resources): Add :distant-foreground.
3265 (region): Use :distant-foreground for gtk and ns.
3267 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3269 Allow multiple bibliographies when BibLaTeX is used rather than
3271 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3272 (reftex-locate-bibliography-files): Us it.
3274 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3276 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3277 allow comments in pbm files.
3279 * term/w32-win.el (dynamic-library-alist): Support newer versions
3280 of libjpeg starting with v7: look only for the DLL from the
3281 version against which Emacs was built.
3282 Support versions of libpng beyond 1.4.x.
3283 Support libtiff v4.x.
3285 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3287 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3288 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3290 (ruby-deep-arglist): Add property :type.
3292 2013-10-31 Glenn Morris <rgm@gnu.org>
3294 * Makefile.in (custom-deps, finder-data): No need to setq the target
3295 variables, we are in the right directory and the defaults work fine.
3297 2013-10-30 Glenn Morris <rgm@gnu.org>
3299 * Makefile.in (autoloads): Do not use abs_lisp.
3301 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3302 `newline' does not respect `standard-output', so use `princ'.
3304 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3306 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3307 * buff-menu.el (Buffer-menu--unmark): New function.
3308 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3310 2013-10-30 Glenn Morris <rgm@gnu.org>
3312 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3314 * emacs-lisp/package.el (lm-homepage): Declare.
3316 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3319 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3321 * Makefile.in (finder-data, autoloads, update-subdirs)
3322 (compile-main, compile-clean, compile-always, bootstrap-clean):
3323 Check return value of cd.
3324 (compile-calc): Remove.
3326 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3328 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3330 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3331 (byte-compile-and-folded): New function.
3332 (=, <, >, <=, >=): Use it.
3334 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3335 (path-separator, null-device, buffer-file-coding-system)
3336 (lpr-headers-switches): Check system-type before modifying them.
3337 (find-buffer-file-type-coding-system): Mark obsolete.
3338 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3339 find-file-not-found-set-buffer-file-coding-system.
3340 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3341 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3342 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3343 (w32-direct-print-region-helper, w32-direct-print-region-function)
3344 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3345 * startup.el (normal-top-level-add-subdirs-to-load-path):
3346 * ps-print.el (ps-print-region-function):
3347 * lpr.el (print-region-function): Use new name.
3349 * subr.el (custom-declare-variable-early): Remove function.
3350 (custom-declare-variable-list): Remove var.
3351 (error, user-error): Remove `while' loop.
3352 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3353 (user-emacs-directory-warning, locate-user-emacs-file):
3355 * simple.el (read-quoted-char-radix, read-quoted-char):
3356 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3358 * custom.el (custom-declare-variable-list): Don't process
3359 custom-declare-variable-list.
3361 * progmodes/python.el (python-shell-get-buffer): New function.
3362 (python-shell-get-process): Use it.
3363 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3364 Python which encoding was used. Don't split-string since we only care
3365 about the first line. Return the temp-file, if applicable.
3366 (python-shell-send-region): Tell compile.el how to turn locations in
3367 the temp-file into locations in the source buffer.
3369 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * subr.el (undefined): Add missing behavior from the C code for
3374 * rect.el: Use lexical-binding. Add new rectangular region support.
3375 (rectangle-mark): New command.
3376 (rectangle--region): New var.
3377 (deactivate-mark-hook): Reset rectangle--region.
3378 (rectangle--extract-region, rectangle--insert-for-yank)
3379 (rectangle--highlight-for-redisplay)
3380 (rectangle--unhighlight-for-redisplay): New functions.
3381 (region-extract-function, redisplay-unhighlight-region-function)
3382 (redisplay-highlight-region-function): Use them to handle
3384 * simple.el (region-extract-function): New var.
3385 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3386 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3387 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3388 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3389 (redisplay-unhighlight-region-function)
3390 (redisplay-highlight-region-function): New vars.
3391 (redisplay--update-region-highlight): New function.
3392 (pre-redisplay-function): Use it.
3393 (exchange-point-and-mark): Don't deactivate the mark before
3394 reactivate-it anyway.
3395 * comint.el (comint-kill-region): Remove yank-handler argument.
3396 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3397 (delete-char): Remove property, since it's now part of their
3399 (self-insert-iso): Remove property since this command doesn't exist.
3401 * emacs-lisp/package.el (package--download-one-archive)
3402 (describe-package-1): Don't query the user about final newline.
3404 2013-10-29 Daniel Colascione <dancol@dancol.org>
3406 * net/tramp.el (tramp-methods): Document new functionality.
3407 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3408 tramp-hostname-checker if method provides one instead of scanning
3409 argument list for "%h" to decide hostname acceptability.
3411 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3413 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3414 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3415 Handle COPY-CONTENTS. (Bug#15737)
3417 2013-10-28 Daiki Ueno <ueno@gnu.org>
3420 (epa-file-cache-passphrase-for-symmetric-encryption):
3421 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3423 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3425 * image.el (defimage):
3426 (image-load-path): Doc fixes.
3428 2013-10-27 Alan Mackenzie <acm@muc.de>
3430 Indent statements in macros following "##" correctly.
3431 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3432 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3434 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3436 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3438 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3440 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3441 after `=' is probably a new expression.
3443 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3445 * man.el (man-imenu-title): New option.
3446 (Man-mode-map): Add menu. (Bug#15722)
3447 (Man-mode): Add imenu to menu.
3449 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3451 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3452 specific in what the first arg can be: a non-keyword word,
3453 string/regexp/percent literal opener, opening paren, or unary
3454 operator followed directly by word.
3456 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3458 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3459 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3460 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3461 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3462 Remove vars, they do not apply any more.
3463 (prolog-mode-abbrev-table): Remove redundant declaration.
3464 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3465 (prolog-use-smie): Remove.
3466 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3467 supported by prolog-electric-if-then-else-flag.
3468 (prolog-mode-variables, prolog-menu): Use setq-local.
3469 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3470 Remove binding to `Backspace' since this key doesn't exist anyway.
3471 Remove bindings for electric self-inserting keys.
3472 (prog-mode): Assume it's defined.
3473 (prolog-post-self-insert): New function.
3474 (prolog-mode): Use it.
3475 (prolog-indent-line, prolog-indent-level)
3476 (prolog-find-indent-of-matching-paren)
3477 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3478 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3479 (prolog-goto-next-paren, prolog-in-string-or-comment)
3480 (prolog-tokenize, prolog-inside-mline-comment)
3481 (prolog-find-start-of-mline-comment): Remove functions.
3482 (prolog-find-unmatched-paren, prolog-clause-end)
3483 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3484 (prolog-electric--if-then-else): Rename from
3485 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3486 (prolog-tokenize-searchkey): Remove const.
3487 (prolog-clause-info): Use forward-sexp.
3488 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3489 (prolog-electric-if-then-else): Remove commands.
3490 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3491 for use in post-self-insert-hook.
3492 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3493 for use in post-self-insert-hook.
3494 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3495 for use in post-self-insert-hook.
3496 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3497 adapt it for use in post-self-insert-hook.
3499 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3501 * emacs-lisp/ert.el (ert-run-tests-interactively):
3502 Use `completing-read'. (Bug#9756)
3504 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3506 * simple.el (line-move): Call line-move-1 instead of
3507 line-move-visual when the current window hscroll is zero, but
3508 temporary-goal-column indicates we will need to hscroll as result
3509 of the movement. (Bug#15712)
3511 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3513 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3514 capitalization. Use :visible instead of :active.
3515 Fix `ruby-indent-exp' reference. Add menu items for the generic
3516 commands that are used with SMIE.
3517 (ruby-do-end-to-brace): Insert space after `{'.
3519 2013-10-25 John Anthony <john@jo.hnanthony.com>
3521 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3523 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3525 2013-10-25 Glenn Morris <rgm@gnu.org>
3527 * vc/vc.el (vc-print-log): Don't use a working revision unless
3528 one was explicitly specified. (Bug#15322)
3530 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3532 * subr.el (add-to-list): Preserve return value in compiler-macro
3535 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3537 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3538 result. Ask user to retry using '-all' flag. (Bug#15701)
3540 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3542 * emacs-lisp/smie.el: New smie-config system.
3543 (smie-config): New defcustom.
3544 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3545 (smie-config-guess, smie-config-save): New commands.
3546 (smie-config--mode-local, smie-config--buffer-local)
3547 (smie-config--trace, smie-config--modefuns): New vars.
3548 (smie-config--advice, smie-config--mode-hook)
3549 (smie-config--setter, smie-config-local, smie-config--get-trace)
3550 (smie-config--guess-value, smie-config--guess): New functions.
3551 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3552 text properties. Treat "string fence" syntax like string syntax.
3554 * progmodes/sh-script.el (sh-use-smie): Change default.
3555 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3556 (sh-var-value): Simplify by CSE.
3557 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3558 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3560 (sh-guess-basic-offset): Use cl-incf.
3561 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3563 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3565 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3568 2013-10-24 Glenn Morris <rgm@gnu.org>
3570 * Makefile.in (abs_top_srcdir): Remove.
3571 (update-subdirs): Use relative path to update-subdirs.
3573 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3575 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3576 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3577 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3578 Call unmsys--file-name before expand-file-name, not after it.
3580 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3582 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3583 (ert-test-skipped): New error.
3584 (ert-skip, ert-stats-skipped): New defuns.
3585 (ert--skip-unless): New macro.
3586 (ert-test-skipped): New struct.
3587 (ert--run-test-debugger, ert-test-result-type-p)
3588 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3589 (ert--stats-set-test-and-result, ert-char-for-test-result)
3590 (ert-string-for-test-result, ert-run-tests-batch)
3591 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3592 Handle skipped tests. (Bug#9803)
3594 2013-10-24 Glenn Morris <rgm@gnu.org>
3596 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3598 * Makefile.in (abs_top_srcdir): New, set by configure.
3599 (update-subdirs): Correct build-aux location.
3601 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3603 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3604 value, whether we could auto-deduce `backend', or not.
3606 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3607 with parameters" example. Simplify the "is it block or is it
3608 hash" check, but also make it more thorough.
3610 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3612 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3614 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3616 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3619 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3622 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3624 * progmodes/compile.el (compilation-directory-matcher)
3625 (compilation-page-delimiter):
3626 Support GNU Make-4.0 directory quoting. (Bug#15678)
3628 2013-10-23 Leo Liu <sdl.web@gmail.com>
3630 * ido.el (ido-tidy): Handle read-only text.
3632 2013-10-23 Glenn Morris <rgm@gnu.org>
3634 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3635 (emacs, compile, compile-always):
3636 Quote entities that might contain whitespace.
3637 (custom-deps, finder-data, autoloads): Use abs_lisp.
3638 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3639 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3640 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3642 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3644 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3645 Use `following-char'.
3647 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3649 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3650 * progmodes/ruby-mode.el (ruby-smie-rules):
3651 Remove corresponding workaround. Fix indentation rule of ";" so it
3652 also applies when ";" is the parent.
3654 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3656 * frame.el (display-screens, display-pixel-height)
3657 (display-pixel-width, display-mm-width, display-backing-store)
3658 (display-save-under, display-planes, display-color-cells)
3659 (display-visual-class, display-monitor-attributes-list):
3660 Mention the optional ‘display’ argument in doc strings.
3662 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3664 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3665 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3667 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3669 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3670 TODO. Add "." after " @ ".
3671 (ruby-smie--at-dot-call): New function. Checks if point at method
3672 call with explicit target.
3673 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3674 to the method name tokens when it precedes them.
3675 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3676 (ruby-smie-rules): Add rule for indentation before and after "."
3679 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3681 * textmodes/remember.el (remember-diary-extract-entries):
3684 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3687 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3689 * progmodes/ruby-mode.el (ruby-smie-grammar):
3690 Add (almost) all infix operators.
3691 (ruby-smie--implicit-semi-p): Add new operator chars.
3693 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3695 (ruby-smie--args-separator-p): Check that there's no newline
3696 between method call and its arguments.
3698 2013-10-20 Alan Mackenzie <acm@muc.de>
3700 Allow comma separated lists after Java "implements".
3702 * progmodes/cc-engine.el (c-backward-over-enum-header):
3704 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3705 from a "disallowed" list in enum fontification.
3707 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3709 * startup.el (default-frame-background-mode): Remove unused defvar.
3711 * progmodes/verilog-mode.el (verilog-mode): Don't set
3712 comment-indent-function globally.
3714 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3716 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3717 Move Info menu item creation to ns-win.el.
3719 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3722 * menu-bar.el: Move GNUstep specific menus...
3724 * term/ns-win.el (ns-initialize-window-system): ... to here.
3726 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3728 * simple.el (newline): Only run post-self-insert-hook when
3729 called interactively.
3731 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3733 * icomplete.el (icomplete-with-completion-tables): Add :version.
3735 2013-10-19 Alan Mackenzie <acm@muc.de>
3737 Fix fontification bugs with constructors and const.
3739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3740 CASE 2) Remove the check for the absence of a suffix construct
3741 after a function declaration with only types (no identifiers) in
3742 the parentheses. Also, accept a function declaration with just a
3743 type inside the parentheses, if this type can be positively
3744 recognised as such, or if a prefix keyword like "explicit" nails
3745 down the construct as a declaration.
3747 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3749 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3750 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3751 the problem whereby selecting a menu item that leads to a
3752 minibuffer prompt moves the cursor out of the minibuffer window,
3753 making it hard to type at the prompt. Suggested by Stefan Monnier
3754 <monnier@iro.umontreal.ca>.
3756 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3758 * menu-bar.el: Don't make Services menu.
3760 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3762 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3763 (ffap-alist): Use ffap-c++-mode for c++-mode.
3764 (ffap-c++-path): New variable.
3765 (ffap-c++-mode): New function.
3767 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3769 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3771 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3773 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3774 introduced on 2013-09-08, which results in an infinite loop
3775 requesting a password.
3777 2013-10-18 Glenn Morris <rgm@gnu.org>
3779 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3781 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3783 Sync with upstream verilog-mode revision 1a6ecec7.
3784 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3785 (verilog-mode-release-date): Remove.
3786 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3787 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3788 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3789 (verilog-auto-tieoff-ignore-regexp)
3790 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3791 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3792 (verilog-signals-with, verilog-dir-cache-preserving)
3793 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3795 (verilog-case-fold): New option, to control case folding in
3796 regexp searches, bug597.
3797 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3798 (verilog-string-match-fold, verilog-in-paren-count)
3799 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3800 (verilog-at-close-struct-p): New functions.
3801 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3802 (verilog-forward-sexp, verilog-set-auto-endcomments):
3803 (verilog-leap-to-case-head): Handle "unique0" case.
3804 (verilog-in-constraint-re): New constant.
3805 (verilog-keywords, verilog-type-font-keywords):
3806 Add some SystemVerilog 1800-2012 keywords.
3807 (verilog-label-be): Remove unimplemented argument, bug669.
3808 (verilog-batch-execute-func): When batch expanding clear
3809 create-lockfiles to prevent spurious user locks when a file ends
3811 (verilog-calculate-indent, verilog-calc-1)
3812 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3813 (verilog-do-indent): Fix indentation of nested constraints
3815 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3816 (verilog-auto-inst-param): Use verilog-string-match-fold.
3817 (verilog-read-inst-module-matcher):
3818 Fix AUTOINST on gate primitives with #1.
3819 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3820 Reads all user-defined typed variables.
3821 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3822 (verilog-signals-matching-regexp)
3823 (verilog-signals-not-matching-regexp, verilog-auto):
3824 Respect verilog-case-fold.
3825 (verilog-diff-report): Fix line count.
3826 (verilog-auto-assign-modport): Remove unused local `modi'.
3827 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3828 better handle multidimensional arrays.
3829 Fix packed array ports misadding bit index in AUTOINST, bug637.
3830 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3831 to not double-declare existing outputs and inputs, respectively.
3832 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3833 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3834 (verilog-sk-uvm-component): New skeleton.
3835 (verilog-submit-bug-report): Add verilog-case-fold,
3836 remove verilog-mode-release-date.
3838 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3840 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3843 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3845 * textmodes/remember.el (remember): Set buffer-offer-save in
3846 remember buffers (bug#13566).
3848 2013-10-18 Daniel Colascione <dancol@dancol.org>
3850 When evaluating forms in ielm, direct standard output to ielm
3851 buffer. Add new ielm-return-for-effect command. Remove trailing
3852 whitespace throughout.
3854 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3855 (ielm-return-for-effect): New command.
3856 (ielm-send-input): Accept optional `for-effect' parameter.
3857 (ielm-eval-input): Accept optional `for-effect' parameter.
3858 Bind `standard-output' to stream we create using
3859 `ielm-standard-output-impl'. Suppress printing result when
3861 (ielm-standard-output-impl): New function.
3862 (inferior-emacs-lisp-mode): Explain new features in documentation.
3864 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3868 * net/tramp.el (tramp-debug-message): Do not check for connection
3870 (tramp-message): Use "vector" connection property.
3872 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3873 (tramp-equal-remote, tramp-eshell-directory-change)
3874 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3875 (tramp-adb-handle-rename-file)
3876 * net/tramp-cmds.el (tramp-list-remote-buffers)
3877 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3878 * net/tramp-compat.el (tramp-compat-process-running-p)
3879 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3880 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3881 (tramp-gvfs-handle-rename-file)
3882 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3883 (tramp-set-file-uid-gid)
3884 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3885 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3888 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3889 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3890 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3891 (tramp-gw-open-network-stream): Suppress unrelated traces.
3893 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3894 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3895 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3896 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3897 connection property.
3899 * net/tramp-cache.el (top): Suppress traces when reading
3902 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3903 Refactor common code. Improve debug message.
3904 (tramp-maybe-open-connection)
3905 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3906 connection buffer too early.
3908 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3909 from `tramp-smb-actions-with-acl'.
3910 (tramp-smb-actions-set-acl): New defconst.
3911 (tramp-smb-handle-copy-directory)
3912 (tramp-smb-action-get-acl): New defun, renamed from
3913 `tramp-smb-action-with-acl'.
3914 (tramp-smb-action-set-acl): New defun.
3915 (tramp-smb-handle-set-file-acl): Rewrite.
3917 2013-10-17 Glenn Morris <rgm@gnu.org>
3919 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3921 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3923 * skeleton.el (skeleton-newline): Remove.
3924 (skeleton-internal-1): Use (insert "\n") instead.
3926 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3929 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3930 forward-sexp-function while we redo its job (bug#15613).
3932 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3934 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3935 represented by lists.
3937 2013-10-16 Glenn Morris <rgm@gnu.org>
3939 * tmm.el (tmm--history): New dynamic variable.
3940 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3942 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3944 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3945 (tramp-smb-errors): Add error messages.
3946 (tramp-smb-actions-with-acl): New defconst.
3947 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3948 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3949 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3950 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3951 (tramp-smb-get-stat-capability): Fix tests.
3953 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3955 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3958 2013-10-16 Glenn Morris <rgm@gnu.org>
3960 * ansi-color.el (ansi-color-drop-regexp):
3961 Add 1J, 1K, 2K. (Bug#15617)
3963 * files.el (hack-local-variables--warned-lexical): New.
3964 (hack-local-variables):
3965 Warn about misplaced lexical-binding. (Bug#15616)
3967 * net/eww.el (eww-render): Always set eww-current-url,
3968 and update header line. (Bug#15622)
3969 (eww-display-html): ... Rather than just doing it here.
3971 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3973 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3974 menu navigations commands.
3976 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3978 * progmodes/subword.el (subword-capitalize): Be careful when
3979 the search for [[:alpha:]] fails (bug#15580).
3981 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3983 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3984 to commands that scroll the menu.
3986 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3988 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3989 Handle methods ending with `?' and `!'.
3991 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3993 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3994 `japanese-cp932' to `cp932' to fix the problem where saving a
3995 source file written in Shift_JIS twice would end up having
3996 `coding: japanese-cp932' which Ruby could not recognize.
3997 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3998 in `ruby-encoding-map'.
3999 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4000 doesn't need to be explicitly declared in magic comment.
4001 (ruby-encoding-map): Add type declaration for better customize UI.
4003 2013-10-13 Glenn Morris <rgm@gnu.org>
4005 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4006 Occur buffers are read-only. http://bugs.debian.org/720775
4008 * emacs-lisp/authors.el (authors-fixed-entries):
4009 Comment out old alpha stuff.
4011 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4013 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4014 to `after-save-hook' instead of `before-save-hook'.
4015 (ruby-mode-set-encoding): Use the value of coding system used to
4016 write the file. Call `basic-save-buffer-1' after modifying the
4019 2013-10-13 Alan Mackenzie <acm@muc.de>
4021 Fix indentation/fontification of Java enum with
4022 "implements"/generic.
4024 * progmodes/cc-engine.el (c-backward-over-enum-header):
4025 Extracted from the three other places and enhanced to handle generics.
4026 (c-inside-bracelist-p): Uses new function above.
4027 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4029 (c-font-lock-enum-tail): Uses new function above.
4031 2013-10-13 Kenichi Handa <handa@gnu.org>
4033 * international/mule-cmds.el (select-safe-coding-system): Remove a
4034 superfluous condition in chekcing whether a coding system is safe
4037 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4039 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4041 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4043 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4045 2013-10-13 Glenn Morris <rgm@gnu.org>
4047 * menu-bar.el (menu-bar-update-buffers):
4048 Unify Buffers menu prompt string. (Bug#15576)
4050 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4052 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4054 (authors-fixed-entries): Use accented form of name.
4056 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4058 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4059 method calls (bug#15594).
4060 (ruby-smie--args-separator-p): New function.
4061 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4062 recognize paren-free method calls.
4064 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4065 internals of universal-argument.
4067 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4069 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4070 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4071 dropped menu on second mouse click on the menu bar.
4073 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4076 (explicit-shell-file-name): Declare.
4077 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4078 (sh-completion-at-point-function): New function.
4080 (sh-smie--keyword-p): Remove unused argument.
4081 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4083 (sh-set-shell): Always setup SMIE, even if we use the
4084 old indentation code.
4086 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4088 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4090 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4091 predicate would return nil are almost non-existent.
4092 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4094 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4095 cache also after commands that modify the buffer but don't move
4098 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * env.el (substitute-env-in-file-name): New function.
4101 (substitute-env-vars): Extend the meaning of the optional arg.
4103 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4105 * term/w32-win.el (dynamic-library-alist): Define separate lists
4106 of GIF DLLs for versions before and after 5.0.0 of giflib.
4109 2013-10-10 João Távora <joaotavora@gmail.com>
4111 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4112 not locked, use last revision and current source as
4113 defaults. (Bug#15569)
4115 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4117 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4120 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4122 * window.el (pop-to-buffer-same-window): Fix doc-string.
4125 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4127 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4129 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4131 * calendar/icalendar.el (icalendar-import-file):
4132 Fix interactive spec. (Bug#15482)
4134 2013-10-10 Glenn Morris <rgm@gnu.org>
4136 * desktop.el (desktop-save): Default to saving in .emacs.d,
4137 since PWD is no longer in desktop-path by default. (Bug#15319)
4139 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4140 now that text mode has a menu with the same entry.
4141 (menu-bar-text-mode-auto-fill): Remove now unused func.
4142 * textmodes/text-mode.el (text-mode-map):
4143 Use auto-fill help text from menu-bar.el.
4145 2013-10-10 John Anthony <john@jo.hnanthony.com>
4147 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4149 2013-10-09 Juri Linkov <juri@jurta.org>
4151 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4152 instead of this-command-keys. Add universal-argument-more and
4153 universal-argument-minus to the list of prefix commands. (Bug#15568)
4155 2013-10-09 Glenn Morris <rgm@gnu.org>
4157 * vc/vc-svn.el (vc-svn-create-repo):
4158 Expand paths in file://... url. (Bug#15446)
4160 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4162 (authors): Remove unused local variables.
4164 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4166 * profiler.el: Create a more coherent calltree from partial backtraces.
4167 (profiler-format): Hide the tail with `invisible' so that C-s can still
4168 find the hidden elements.
4169 (profiler-calltree-depth): Don't recurse so enthusiastically.
4170 (profiler-function-equal): New hash-table-test.
4171 (profiler-calltree-build-unified): New function.
4172 (profiler-calltree-build): Use it.
4173 (profiler-report-make-name-part): Indent the calltree less.
4174 (profiler-report-mode): Add visibility specs for profiler-format.
4175 (profiler-report-expand-entry, profiler-report-toggle-entry):
4176 Expand the whole subtree when provided with a prefix arg.
4178 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4180 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4182 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4183 hanging iuwu-mod token.
4184 (ruby-smie--forward-token): Do not include a dot after a token in
4186 (ruby-smie--backward-token): Likewise.
4188 2013-10-08 Juri Linkov <juri@jurta.org>
4190 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4191 to isearch-other-control-char.
4192 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4193 and isearch-post-command-hook to post-command-hook.
4194 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4195 and isearch-post-command-hook from post-command-hook.
4196 (isearch-unread-key-sequence)
4197 (isearch-reread-key-sequence-naturally)
4198 (isearch-lookup-scroll-key, isearch-other-control-char)
4199 (isearch-other-meta-char): Remove functions.
4200 (isearch-pre-command-hook, isearch-post-command-hook):
4201 New functions based on isearch-other-meta-char rewritten
4202 relying on the new behavior of overriding-terminal-local-map
4203 that does not replace the local keymaps any more. (Bug#15200)
4205 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4207 Support menus on text-mode terminals.
4208 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4211 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4213 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4214 Move here from mouse.el.
4215 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4217 (tty-menu-navigation-map): New map for TTY menu navigation.
4219 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4221 * frame.el (display-mouse-p): Report text-mode mouse as available
4223 (display-popup-menus-p): Report availability if mouse is
4224 available; don't condition on window-system.
4226 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4227 (tty-menu-selected-face): New faces.
4229 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4231 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4232 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4233 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4234 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4236 (lisp-mode-variables): New `elisp' argument.
4237 (emacs-lisp-mode): Use it.
4238 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4239 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4241 * indent.el: Use lexical-binding.
4242 (indent-region): Add progress reporter.
4243 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4245 (indent--next-tab-stop): New function to implement this behavior.
4246 (tab-to-tab-stop, move-to-tab-stop): Use it.
4248 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4250 * indent.el (indent-rigidly--current-indentation): New function.
4251 (indent-rigidly-map): New var.
4252 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4254 2013-10-08 Bastien Guerry <bzg@gnu.org>
4256 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4258 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * progmodes/perl-mode.el: Use lexical-binding.
4261 Remove redundant :group args.
4262 (perl-nochange): Change default to be closer to other major modes's
4264 (perl-indent-line): Don't consider text on current line as a
4265 valid beginning of function from which to indent.
4267 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4268 with more than one argument (bug#15538).
4270 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4272 * vc/pcvs.el: Use lexical-binding.
4273 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4274 environment of `eval'.
4275 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4276 than a list of expressions. Adjust callers.
4277 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4279 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4281 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4282 case of the dot in a chained method call being on the following line.
4284 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4286 * electric.el (electric-indent-inhibit): New var.
4287 (electric-indent-post-self-insert-function): Use it.
4288 * progmodes/python.el (python-mode): Set it.
4290 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4293 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4295 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4296 (css-mode): Use electric-indent-chars.
4298 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4299 (font-lock-beg, font-lock-end): Move before first use.
4300 (nxml-mode): Use syntax-propertize-function.
4301 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4302 (nxml-extend-after-change-region): Remove.
4303 * nxml/xmltok.el: Use lexical-binding.
4304 (xmltok-save): Use `declare'.
4305 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4306 * nxml/nxml-util.el: Use lexical-binding.
4307 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4309 * nxml/nxml-ns.el: Use lexical-binding.
4310 (nxml-ns-save): Use `declare'.
4311 (nxml-ns-prefixes-for): Avoid add-to-list.
4312 * nxml/rng-match.el: Use lexical-binding.
4313 (rng--ipattern): Use cl-defstruct.
4314 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4315 (rng-cons-group-after, rng-subst-group-after)
4316 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4317 Use closures instead of `(lambda...).
4319 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4321 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4324 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4325 Use `tramp-handle-insert-file-contents'.
4326 (tramp-gvfs-handle-insert-file-contents): Remove function.
4328 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4329 Use `save-restriction' in order to keep markers.
4331 * net/trampver.el: Update release number.
4333 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * progmodes/compile.el (compilation-parse-errors):
4336 Use compilation--put-prop.
4337 (compilation--ensure-parse): Check compilation-multiline.
4339 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4341 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4344 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4346 * progmodes/ruby-mode.el: Fix recently added tests.
4347 (ruby-smie-grammar): Add - and +.
4348 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4349 (ruby-smie--backward-id): New functions.
4350 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4351 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4354 2013-10-07 Leo Liu <sdl.web@gmail.com>
4356 * register.el (register-preview-delay)
4357 (register-preview-functions): New variables.
4358 (register-read-with-preview, register-preview)
4359 (register-describe-oneline): New functions.
4360 (point-to-register, window-configuration-to-register)
4361 (frame-configuration-to-register, jump-to-register)
4362 (number-to-register, view-register, insert-register)
4363 (copy-to-register, append-to-register, prepend-to-register)
4364 (copy-rectangle-to-register): Use register-read-with-preview to
4365 read register. (Bug#15525)
4367 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4369 * net/network-stream.el (network-stream-open-starttls): Don't add
4370 --insecure if it's already present, because that gnutls-cli
4371 rejects getting that parameter twice.
4373 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4375 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4378 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4380 * newcomment.el (comment-use-global-state): Change default value
4381 to t, mark obsolete (Bug#15251).
4382 (comment-beginning): In addition to `comment-to-syntax', check the
4383 value of `comment-use-global-state'.
4385 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4388 (ruby-comment-column): Follow the global default, by default.
4389 (ruby-smie-grammar): Add assignment syntax.
4390 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4391 open-paren, a comma, or a \.
4392 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4393 and line continuations.
4394 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4395 followed by implicit semi-colons. Add rule for string concatenation
4396 and for indentation at BOB.
4397 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4399 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4400 calling next-sexp, since next-token may have skipped chars which
4401 next-sexp doesn't know should be skipped!
4403 2013-10-05 Leo Liu <sdl.web@gmail.com>
4405 * progmodes/octave.el (octave-send-region):
4406 Call compilation-forget-errors.
4408 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4410 * vc/vc-svn.el (vc-svn-find-admin-dir):
4411 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4412 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4413 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4414 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4416 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4420 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * subr.el (read-passwd): Hide chars even when called within a context
4423 where after-change-functions is disabled (bug#15501).
4424 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4425 until we removed ourself from overriding-terminal-local-map.
4427 2013-10-04 Leo Liu <sdl.web@gmail.com>
4429 * progmodes/octave.el (inferior-octave-mode):
4430 Call compilation-forget-errors.
4432 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4434 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4436 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4438 * net/secrets.el (secrets-create-collection): Add optional
4439 argument ALIAS. Use proper Label keyword. Append ALIAS as
4440 dbus-call-method argument. (Bug#15516)
4442 2013-10-04 Leo Liu <sdl.web@gmail.com>
4444 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4445 (inferior-octave-compilation-font-lock-keywords): New variables.
4446 (compilation-error-regexp-alist)
4447 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4448 (inferior-octave-mode): Use compilation-shell-minor-mode.
4450 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4452 * minibuffer.el (completion--replace): Be careful that `end' might be
4455 2013-10-03 Daiki Ueno <ueno@gnu.org>
4457 Add support for package signature checking.
4458 * emacs-lisp/package.el (url-http-file-exists-p)
4459 (epg-make-context, epg-context-set-home-directory)
4460 (epg-verify-string, epg-context-result-for)
4461 (epg-signature-status, epg-signature-to-string)
4462 (epg-check-configuration, epg-configuration)
4463 (epg-import-keys-from-file): Declare.
4464 (package-check-signature): New user option.
4465 (package-unsigned-archives): New user option.
4466 (package-desc): Add `signed' field.
4467 (package-load-descriptor): Set `signed' field if .signed file exists.
4468 (package--archive-file-exists-p): New function.
4469 (package--check-signature): New function.
4470 (package-install-from-archive): Check package signature.
4471 (package--download-one-archive): Check archive signature.
4472 (package-delete): Remove .signed file.
4473 (package-import-keyring): New command.
4474 (package-refresh-contents): Import default keyring.
4475 (package-desc-status): Add "unsigned" status.
4476 (describe-package-1, package-menu--print-info)
4477 (package-menu-mark-delete, package-menu--find-upgrades)
4478 (package-menu--status-predicate): Support "unsigned" status.
4480 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4482 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4483 the new compilation scheme using the new byte-codes.
4485 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4486 (byte-pophandler): New byte codes.
4487 (byte-goto-ops): Adjust accordingly.
4488 (byte-compile--use-old-handlers): New var.
4489 (byte-compile-catch): Use new byte codes depending on
4490 byte-compile--use-old-handlers.
4491 (byte-compile-condition-case--old): Rename from
4492 byte-compile-condition-case.
4493 (byte-compile-condition-case--new): New function.
4494 (byte-compile-condition-case): New function that dispatches depending
4495 on byte-compile--use-old-handlers.
4496 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4499 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4500 Optimize under `condition-case' and `catch' if
4501 byte-compile--use-old-handlers is nil.
4502 (disassemble-offset): Handle new bytecodes.
4504 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * subr.el (error): Use `declare'.
4507 (decode-char, encode-char): Use advertised-calling-convention instead
4508 of the docstring to discourage use of the `restriction' arg.
4510 2013-10-03 Daiki Ueno <ueno@gnu.org>
4512 * epg.el (epg-verify-file): Add a comment saying that it does not
4513 notify verification error as a return value nor a signal.
4514 (epg-verify-string): Ditto.
4516 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4518 * progmodes/compile.el (compilation-start): Try globbing the arg to
4521 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4523 Sync with Tramp 2.2.8.
4525 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4526 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4527 * net/trampver.el: Update release number.
4529 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4531 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4532 and default-process-coding-system for darwin only.
4534 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4536 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4538 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4540 * vc/vc-git.el (vc-git-grep): Disable pager.
4542 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4544 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4545 Use :url instead of :homepage, as per
4546 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4548 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4549 non-nil, use `syntax-ppss' (Bug#15251).
4551 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4553 * progmodes/octave.el (inferior-octave-startup-file):
4554 Prefer ~/.emacs.d/init_octave.m.
4556 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4558 * emacs-lisp/package.el (package-desc-from-define):
4559 Accept additional arguments as plist, convert them to an alist and store
4560 them in the `extras' slot.
4561 (package-generate-description-file): Convert extras alist back to
4562 plist and append to the `define-package' form arguments.
4563 (package--alist-to-plist): New function.
4564 (package--ac-desc): Add `extras' slot.
4565 (package--add-to-archive-contents): Check if the archive-contents
4566 vector is long enough, and if it is, pass its `extras' slot value
4567 to `package-desc-create'.
4568 (package-buffer-info): Call `lm-homepage', pass the returned value
4569 to `package-desc-from-define'.
4570 (describe-package-1): Render the homepage button (Bug#13291).
4572 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4573 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4575 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4577 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4578 and default-process-coding-system to utf-8-unix (Bug#15402).
4580 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4582 * subr.el (looking-back): Do not recommend using looking-back.
4584 2013-09-28 Alan Mackenzie <acm@muc.de>
4586 Fix indentation/fontification of Java enum with "implements".
4588 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4589 regexp which matches "implements", etc., in Java.
4590 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4591 specifier clauses coming after "enum".
4592 * progmodes/cc-fonts.el (c-font-lock-declarations)
4593 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4596 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4598 * faces.el (region): Change ns_selection_color to
4599 ns_selection_fg_color, add ns_selection_bg_color.
4601 2013-09-28 Leo Liu <sdl.web@gmail.com>
4603 * progmodes/octave.el (inferior-octave-completion-table)
4604 (inferior-octave-completion-at-point): Minor tweaks.
4606 * textmodes/ispell.el (ispell-lookup-words): Rename from
4607 lookup-words. (Bug#15460)
4608 (lookup-words): Obsolete.
4609 (ispell-complete-word, ispell-command-loop): All uses changed.
4611 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4613 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4614 (octave-mode-menu): Add octave-send-buffer.
4615 (octave-send-buffer): New function.
4617 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4619 * progmodes/octave.el (octave-mode-map): Add key binding for
4621 (octave-mode-menu): Add octave-lookfor.
4622 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4624 (octave-lookfor): New function.
4626 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * emacs-lisp/cl-macs.el:
4629 (cl--loop-destr-temps): Remove.
4630 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4632 (cl--loop-set-iterator-function): New function.
4633 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4634 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4635 Bind `it' with `let' instead of substituting it with `cl-subst'.
4636 (cl--unused-var-p): New function.
4637 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4638 Eliminate some unused variable warnings (bug#15326).
4640 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4642 * doc-view.el (doc-view-scale-reset): Rename from
4643 `doc-view-reset-zoom-level'.
4644 (doc-view-scale-adjust): New command.
4645 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4646 `doc-view-scale-adjust'.
4648 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4650 * doc-view.el (doc-view-reset-zoom-level): New command.
4651 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4652 zoom commands (bug#15466).
4654 2013-09-26 Kenichi Handa <handa@gnu.org>
4656 * international/quail.el (quail-help): Make it not a command.
4658 2013-09-26 Leo Liu <sdl.web@gmail.com>
4660 * minibuffer.el (completion-all-sorted-completions): Make args
4661 optional as they are.
4663 2013-09-25 Daniel Colascione <dancol@dancol.org>
4665 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4666 specs are and that they're not evaluated.
4668 2013-09-24 Sam Steingold <sds@gnu.org>
4670 * midnight.el (clean-buffer-list-kill-regexps)
4671 (clean-buffer-list-kill-buffer-names): Update for the new Man
4672 buffer naming which includes the object name.
4674 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4676 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4677 (eshell-parse-command, eshell-parse-pipeline): Use it since
4678 eshell-separate-commands requires a dynamic scoped var.
4679 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4681 2013-09-23 Leo Liu <sdl.web@gmail.com>
4683 * autoinsert.el (auto-insert-alist): Make the value of
4684 lexical-binding match its file setting.
4686 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4688 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4690 * autoarg.el (autoarg-kp-digit-argument):
4691 * electric.el (Electric-command-loop):
4692 * kmacro.el (kmacro-step-edit-insert):
4693 Do not set universal-argument-num-events.
4695 2013-09-22 Leo Liu <sdl.web@gmail.com>
4697 * files.el (interpreter-mode-alist): Add octave.
4699 2013-09-21 Alan Mackenzie <acm@muc.de>
4701 C++: fontify identifier in declaration following "public:" correctly.
4702 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4703 to match "public", etc.
4704 (c-decl-prefix-re): Add ":" into the C++ value.
4705 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4706 bit. Add a check for a ":" preceded by "public", etc.
4708 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4710 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4711 recognized by GDB 7.5 and later.
4713 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4715 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4717 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * subr.el (internal--call-interactively): New const.
4720 (called-interactively-p): Use it (bug#3984).
4722 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4724 * vc/pcvs.el (cvs-mode-ignore):
4725 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4726 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4728 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4730 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4731 (eshell-ls-orig-insert-directory): Remove.
4732 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4733 (eshell-ls-use-in-dired): Use advice-add/remove.
4734 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4735 Add `orig-fun' arg for use in :around advice.
4736 Make it check (redundantly) eshell-ls-use-in-dired.
4738 2013-09-19 Glenn Morris <rgm@gnu.org>
4740 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4742 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4744 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4746 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4748 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4749 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4750 (tramp-get-remote-python): New defuns.
4751 (tramp-get-remote-uid-with-perl)
4752 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4753 contributed by yary <not.com@gmail.com> (tiny change).
4754 (tramp-get-remote-uid-with-python)
4755 (tramp-get-remote-gid-with-python): New defuns. Python code
4756 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4757 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4759 2013-09-19 Glenn Morris <rgm@gnu.org>
4761 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4763 * eshell/em-unix.el (eshell-remove-entries):
4764 Rename argument to avoid name-clash with global `top-level'.
4766 * eshell/esh-proc.el (eshell-kill-process-function):
4767 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4768 (eshell-reset-after-proc): Remove unused arg `proc'.
4770 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4771 (directory-files-and-attributes): Mark unused arg.
4773 * eshell/em-unix.el (eshell-remove-entries):
4774 Remove unused arg `path'. Update callers.
4776 * eshell/em-hist.el (eshell-hist-parse-arguments):
4777 Remove unused arg `silent'. Update callers.
4779 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4780 Fix (f)boundp mix-up.
4782 * eshell/em-smart.el (eshell-smart-scroll-window)
4783 (eshell-disable-after-change):
4784 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4786 2013-09-18 Alan Mackenzie <acm@muc.de>
4788 Fix fontification of type when followed by "const".
4789 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4790 "known" types from fontification.
4792 2013-09-18 Glenn Morris <rgm@gnu.org>
4794 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4795 (chart-face-list): Drop Emacsen without display-color-p.
4797 * net/eww.el (libxml-parse-html-region): Declare.
4798 (eww-display-html): Explicit error if no libxml2 support.
4800 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4802 * image.el (image-type-from-buffer, image-multi-frame-p):
4803 Remove --without-x warning/error.
4805 * mouse.el (mouse-yank-primary):
4806 * term.el (term-mouse-paste):
4807 Reorder to silence --without-x compilation.
4809 * mpc.el (doc-view-mode): Silence --without-x compilation.
4811 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4812 Silence --without-x compilation.
4814 * progmodes/gud.el (gud-find-file, gud-mode):
4815 Silence --without-x compilation.
4816 (tooltip-mode): Declare.
4818 * wdired.el (dired-backup-overwrite): Remove declaration.
4819 (wdired-mode-map): Add doc string.
4821 * custom.el (x-get-resource): Declare.
4823 * eshell/em-glob.el (ange-cache):
4824 * eshell/em-unix.el (ange-cache): Declare.
4826 * faces.el (x-display-list, x-open-connection, x-get-resource):
4829 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4830 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4833 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4835 * net/gnutls.el (gnutls-log-level): Declare.
4837 * net/shr.el (image-size, image-animate): Declare.
4839 * simple.el (font-info): Declare.
4841 * subr.el (x-popup-dialog): Declare.
4843 * term/common-win.el (x-select-enable-primary)
4844 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4847 * term/ns-win.el (x-handle-args): Declare.
4849 * term/x-win.el (x-select-enable-clipboard): Declare.
4851 * term/w32-win.el (create-default-fontset): Declare.
4853 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4856 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4857 (fit-frame-to-buffer): Explicit error if --without-x.
4858 (mouse-autoselect-window-select): Silence compiler.
4860 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4862 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4863 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4864 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4865 * eshell/esh-util.el (eshell-sublist):
4866 Remove unused local variables.
4868 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4870 * textmodes/two-column.el: Make 2C-split work for --without-x.
4871 (scroll-bar-columns): Autoload.
4872 (top-level): Require fringe when compiling.
4874 2013-09-18 Leo Liu <sdl.web@gmail.com>
4876 * subr.el (add-hook): Robustify to handle closure as well.
4878 2013-09-17 Glenn Morris <rgm@gnu.org>
4880 * simple.el (messages-buffer-mode-map): Unbind "g".
4882 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * help-mode.el (help-mode-finish): Use derived-mode-p.
4885 Remove obsolete highlighting.
4887 * play/life.el (life-mode): Use define-derived-mode. Derive from
4889 (life): Let-bind inhibit-read-only.
4890 (life-setup): Avoid `setq'. Use `life-mode'.
4892 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4893 which should not be needed any more.
4894 (package-menu-refresh, package-menu-describe-package): Use user-error.
4896 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4897 (eshell-post-rewrite-command-hook): Make obsolete.
4898 (eshell-parse-command): Simplify.
4899 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4900 (eshell--cmd): Declare.
4901 (eshell-parse-pipeline): Remove unused var `final-p'.
4902 Pass a dynvar to eshell-post-rewrite-command-hook.
4903 Implement the new eshell-post-rewrite-command-function.
4904 (eshell-invoke-directly): Remove unused arg `input'.
4905 * eshell/esh-io.el (eshell-io-initialize):
4906 Use eshell-post-rewrite-command-function (bug#15399).
4907 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4908 adjust to new calling convention.
4909 (eshell-create-handles): Rename args to avoid clashing with dynvar
4912 2013-09-17 Glenn Morris <rgm@gnu.org>
4914 * simple.el (messages-buffer-mode): New major mode.
4915 (messages-buffer): New function.
4916 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4917 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4918 (ert-run-test): Use `messages-buffer' function.
4919 (ert--force-message-log-buffer-truncation): Ignore read-only.
4920 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4921 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4923 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4925 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4927 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4929 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4931 * icomplete.el (icomplete-in-buffer): New var.
4932 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4933 vars and replace them with functions.
4934 (icomplete-minibuffer-setup): Adjust accordingly.
4935 (icomplete--completion-table, icomplete--completion-predicate)
4936 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4938 (icomplete-forward-completions, icomplete-backward-completions)
4939 (icomplete-simple-completing-p, icomplete-exhibit)
4940 (icomplete-completions): Use them.
4941 (icomplete--in-region-buffer): New var.
4942 (icomplete--in-region-setup): New function.
4943 (icomplete-mode): Use it.
4945 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4947 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4948 return args and options.
4949 (eshell-eval-using-options): Use the new return value of
4950 eshell--do-opts to set the options's vars in their scope.
4951 (eshell--set-option): Rename from eshell-set-option.
4953 (eshell--process-option): Rename from eshell-process-option.
4955 (eshell--process-args): Use an `opt-vals' alist to store the options's
4956 values during their processing and return them additionally to the
4959 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4961 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4962 continuation character an operator, as far as indentation is
4963 concerned (Bug#15369).
4965 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4967 * window.el (window--state-put-2): Don't process buffer state
4968 when buffer doesn't exist any more (Bug#15382).
4970 2013-09-15 Glenn Morris <rgm@gnu.org>
4972 * eshell/em-unix.el (eshell/rm):
4973 Make -f ignore missing files. (Bug#15373)
4975 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4976 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4977 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4979 2013-09-14 Glenn Morris <rgm@gnu.org>
4981 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4983 2013-09-13 Glenn Morris <rgm@gnu.org>
4985 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4986 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4988 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4990 * frame.el (x-focus-frame): Mark as declared in frame.c.
4992 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4994 * ls-lisp.el: Use advice-add.
4995 (original-insert-directory): Remove.
4996 (ls-lisp--insert-directory): Rename from insert-directory; add
4997 `orig-fun' argument.
4998 (insert-directory): Advise.
5000 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5002 * term.el (term-emulate-terminal): Decode the command string
5003 before passing it to term-command-hook. (Bug#15337)
5005 2013-09-13 Glenn Morris <rgm@gnu.org>
5007 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5009 * eshell/esh-ext.el (eshell-search-path): Declare.
5011 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5012 Otherwise an error occurs if eshell-dirs module not loaded.
5014 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5016 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5018 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5019 `tramp-check-proper-host'. Check for a valid method name.
5021 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5022 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5023 * net/tramp-sh.el (tramp-maybe-open-connection):
5024 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5026 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5027 also for hash values.
5029 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5031 * term/ns-win.el (parameters): Don't declare as dynamic.
5032 (before-make-frame-hook): Don't add ineffective function.
5034 * eshell/*.el: Use lexical-binding (bug#15231).
5036 2013-09-12 Kenichi Handa <handa@gnu.org>
5038 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5040 2013-09-12 Glenn Morris <rgm@gnu.org>
5042 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5043 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5045 * subr.el (do-after-load-evaluation): Also give compiler warnings
5046 when obsolete files are used (except by obsolete files).
5048 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5049 in the status output, assume `filename' is the first. (Bug#15322)
5051 * vc/vc.el (vc-deduce-fileset): Doc fix.
5053 * calc/calc-help.el (Info-goto-node):
5054 * progmodes/cperl-mode.el (Info-find-node):
5055 * vc/ediff.el (Info-goto-node): Update declarations.
5057 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5059 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5060 (vc-bzr-pull): Require vc-dispatcher.
5061 * vc/vc-git.el (vc-compilation-mode): Declare.
5062 (vc-git-pull): Require vc-dispatcher.
5064 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5066 * progmodes/octave.el (help-button-action): Declare.
5068 * shell.el (shell-directory-tracker): Output error as a message
5069 rather than just returning it as a string.
5070 (shell-process-pushd): Remove useless use of message.
5072 * dframe.el (dframe-timer-fn):
5073 * files.el (dir-locals-read-from-file):
5074 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5076 * reveal.el (reveal-post-command):
5077 * saveplace.el (load-save-place-alist-from-file):
5078 * shell.el (shell-resync-dirs):
5079 * w32-common-fns.el (x-get-selection-value):
5080 * emacs-lisp/copyright.el (copyright-find-copyright):
5081 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5082 * emulation/tpu-edt.el (tpu-copy-keyfile):
5083 * play/bubbles.el (bubbles--mark-neighbourhood):
5084 * progmodes/executable.el
5085 (executable-make-buffer-file-executable-if-script-p):
5086 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5088 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5090 Cleanup Eshell to rely less on dynamic scoping.
5091 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5092 last-value, and ext-command here. Bind `args' closer to `body'.
5093 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5094 (eshell--args): Declare new dynamic var.
5095 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5096 last-value, and ext-command. Pass `args' to `body'.
5097 (eshell-process-args): Bind eshell--args.
5098 (eshell-set-option): Use eshell--args.
5099 * eshell/eshell.el (eshell): Use derived-mode-p.
5100 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5101 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5102 (eshell-glob-function): Declare.
5103 * eshell/esh-util.el: Require cl-lib.
5104 (eshell-read-hosts-file): Avoid add-to-list.
5105 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5107 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5109 (eshell/diff): Remove unused var `err'.
5110 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5112 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5113 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5115 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5116 Move declaration before first use.
5117 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5118 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5121 2013-09-12 Glenn Morris <rgm@gnu.org>
5123 * term/ns-win.el (global-map): Remove binding for ispell-next,
5124 deleted 1999-05-29. (Bug#15357)
5126 2013-09-11 Glenn Morris <rgm@gnu.org>
5128 * echistory.el (electric-command-history): Remove call to deleted func.
5130 * play/landmark.el (landmark-mode): Fix typos.
5132 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5133 Check cvs-sort-ignore-file is bound.
5135 * savehist.el: No need for cl when compiling on Emacs.
5137 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5141 (eshell-self-insert-command, eshell-send-invisible):
5142 Remove unused argument.
5143 (eshell-handle-control-codes): Remove unused var `orig'.
5144 Avoid delete-backward-char.
5146 * files.el (set-auto-mode): Simplify a bit further.
5148 2013-09-11 Glenn Morris <rgm@gnu.org>
5150 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5151 (set-auto-mode): Don't regexp-quote elements.
5152 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5153 * progmodes/cc-mode.el (interpreter-mode-alist):
5154 * progmodes/ruby-mode.el (interpreter-mode-alist):
5155 Revert previous change.
5157 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * play/snake.el (snake-mode):
5160 * play/mpuz.el (mpuz-mode):
5161 * play/landmark.el (lm-mode):
5162 * play/blackbox.el (blackbox-mode):
5163 * play/5x5.el (5x5-mode):
5164 * obsolete/options.el (Edit-options-mode):
5165 * net/quickurl.el (quickurl-list-mode):
5166 * net/newst-treeview.el (newsticker-treeview-mode):
5167 * mail/rmailsum.el (rmail-summary-mode):
5168 * mail/mspools.el (mspools-mode):
5169 * locate.el (locate-mode):
5170 * ibuffer.el (ibuffer-mode):
5171 * emulation/ws-mode.el (wordstar-mode):
5172 * emacs-lisp/debug.el (debugger-mode):
5173 * array.el (array-mode):
5174 * net/eudc.el (eudc-mode): Use define-derived-mode.
5175 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5176 Move initialization into declaration.
5177 (mairix-searches-mode): Use define-derived-mode.
5178 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5179 (eudc-edit-hotlist): Use dolist.
5180 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5181 (Man-mode): Use define-derived-mode.
5182 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5183 (Info-edit-mode): Use define-derived-mode.
5184 (Info-cease-edit): Use Info-mode.
5185 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5187 (eshell-mode): Use define-derived-mode.
5188 * chistory.el (command-history-mode-map): Rename from
5189 command-history-map.
5190 (command-history-mode): Use define-derived-mode.
5191 (Command-history-setup): Remove function.
5192 * calc/calc.el (calc-trail-mode-map): New var.
5193 (calc-trail-mode): Use define-derived-mode.
5194 (calc-trail-buffer): Set calc-main-buffer manually.
5195 * bookmark.el (bookmark-insert-annotation): New function.
5196 (bookmark-edit-annotation): Use it.
5197 (bookmark-edit-annotation-mode): Make it a proper major mode.
5198 (bookmark-send-edited-annotation): Use derived-mode-p.
5199 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5200 closer to its ideal place. Use \' to match EOS.
5202 * profiler.el (profiler-calltree-find): Use function-equal.
5204 2013-09-10 Glenn Morris <rgm@gnu.org>
5206 * files.el (interpreter-mode-alist): Convert to regexps.
5207 (set-auto-mode): Adapt for this. (Bug#15306)
5208 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5209 Comment out unused variable.
5210 * progmodes/cc-mode.el (interpreter-mode-alist):
5211 * progmodes/python.el (interpreter-mode-alist):
5212 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5213 * progmodes/sh-script.el (sh-set-shell):
5214 No longer use interpreter-mode-alist to get list of shells.
5216 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5218 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * simple.el: Use set-temporary-overlay-map for universal-argument.
5221 (universal-argument-map): Don't use default-bindings (bug#15317).
5222 Bind switch-frame explicitly. Replace universal-argument-minus with
5223 a conditional binding.
5224 (universal-argument-num-events, saved-overriding-map): Remove.
5225 (restore-overriding-map): Remove.
5226 (universal-argument--mode): Rename from save&set-overriding-map,
5228 (universal-argument, universal-argument-more, negative-argument)
5229 (digit-argument): Adjust accordingly.
5230 (universal-argument-minus): Remove.
5231 (universal-argument-other-key): Remove.
5233 * subr.el (with-demoted-errors): Add `format' argument.
5235 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5237 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5238 `tramp-cleanup-connection'.
5240 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5241 parameters KEEP-DEBUG and KEEP-PASSWORD.
5243 * net/tramp.el (tramp-file-name-handler):
5244 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5245 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5246 (tramp-maybe-open-connection):
5247 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5248 Use `tramp-cleanup-connection'.
5250 * net/tramp-sh.el (tramp-maybe-open-connection):
5251 Catch 'uname-changed inside the progress reporter.
5253 2013-09-10 Glenn Morris <rgm@gnu.org>
5255 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5257 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5258 returns "alternate access method" in mode (eg "-rw-r--r--.").
5260 2013-09-08 Glenn Morris <rgm@gnu.org>
5262 * saveplace.el (load-save-place-alist-from-file):
5263 Demote errors. (Bug#15305)
5265 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5267 Improve compatibility with older Emacsen, and XEmacs.
5269 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5270 only if it is bound. It isn't for XEmacs.
5271 (with-tramp-progress-reporter): Do not let-bind `result'.
5272 This yields to scoping errors in XEmacs.
5273 (tramp-handle-make-auto-save-file-name): New function, moved from
5276 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5277 for `make-auto-save-file-name'.
5278 (tramp-adb--gnu-switches-to-ash):
5279 Use `tramp-compat-replace-regexp-in-string'.
5281 * net/tramp-cache.el (tramp-cache-print): Call
5282 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5284 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5285 bound. It isn't for XEmacs.
5287 * net/tramp-compat.el (tramp-compat-copy-file):
5288 Catch `wrong-number-of-arguments' error.
5289 (tramp-compat-replace-regexp-in-string): New defun.
5291 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5292 for `make-auto-save-file-name'.
5293 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5295 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5296 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5297 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5299 * net/tramp-gw.el (tramp-gw-open-network-stream):
5300 Use `tramp-compat-replace-regexp-in-string'.
5302 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5303 Call `tramp-handle-make-auto-save-file-name'.
5304 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5305 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5306 (tramp-sh-file-inotifywait-process-filter):
5307 Use `tramp-compat-replace-regexp-in-string'.
5308 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5311 for `make-auto-save-file-name'.
5312 (tramp-smb-handle-copy-directory):
5313 Call `tramp-compat-replace-regexp-in-string'.
5314 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5315 (tramp-smb-handle-copy-file): Improve error message.
5316 (tramp-smb-handle-rename-file): Rename directly only in case
5317 `newname' does not exist yet. This is a restriction of smbclient.
5318 (tramp-smb-maybe-open-connection): Rerun the function only when
5319 `auth-sources' is non-nil.
5321 2013-09-08 Kenichi Handa <handa@gnu.org>
5323 * international/characters.el: Set category "^" (Combining) for
5326 2013-09-07 Alan Mackenzie <acm@muc.de>
5328 Correctly fontify Java class constructors.
5329 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5331 (c-recognize-typeless-decls): Set the Java value to t.
5332 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5333 While handling a "(", add a check for, effectively, Java, and handle a
5334 "typeless" declaration there.
5336 2013-09-07 Roland Winkler <winkler@gnu.org>
5338 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5339 field subtitle for entry type book.
5341 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * minibuffer.el: Make minibuffer-complete call completion-in-region
5344 rather than other way around.
5345 (completion--some, completion-pcm--find-all-completions):
5346 Don't delay signals when debugging.
5347 (minibuffer-completion-contents): Beware fields within the
5348 minibuffer contents.
5349 (completion-all-sorted-completions): Use defvar-local.
5350 (completion--do-completion, completion--cache-all-sorted-completions)
5351 (completion-all-sorted-completions, minibuffer-force-complete):
5352 Add args `beg' and `end'.
5353 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5354 (minibuffer-complete): Use completion-in-region.
5355 (completion-complete-and-exit): New fun, extracted from
5356 minibuffer-complete-and-exit.
5357 (minibuffer-complete-and-exit): Use it.
5358 (completion--complete-and-exit): Rename from
5359 minibuffer--complete-and-exit.
5360 (completion-in-region--single-word): New function, extracted from
5361 minibuffer-complete-word.
5362 (minibuffer-complete-word): Use it.
5363 (display-completion-list): Make `common-substring' argument obsolete.
5364 (completion--in-region): Call completion--in-region-1 instead of
5365 minibuffer-complete.
5366 (completion-help-at-point): Pass boundaries to
5367 minibuffer-completion-help as args rather than via an overlay.
5368 (completion-pcm--string->pattern): Use `any-delim'.
5369 (completion-pcm--optimize-pattern): New function.
5370 (completion-pcm--pattern->regex): Handle `any-delim'.
5371 * icomplete.el (icomplete-forward-completions)
5372 (icomplete-backward-completions, icomplete-completions):
5373 Adjust calls to completion-all-sorted-completions and
5374 completion--cache-all-sorted-completions.
5375 (icomplete-with-completion-tables): Default to t.
5376 * emacs-lisp/crm.el (crm--current-element): Rename from
5377 crm--select-current-element. Don't put an overlay but return the
5379 (crm--completion-command): Take two new args to bind to the boundaries.
5380 (crm-completion-help): Adjust accordingly.
5381 (crm-complete): Use completion-in-region.
5382 (crm-complete-word): Use completion-in-region--single-word.
5383 (crm-complete-and-exit): Use completion-complete-and-exit.
5385 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5387 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5390 2013-09-06 Juri Linkov <juri@jurta.org>
5392 * info.el (Info-display-images-node): When image file doesn't exist
5393 display text version of the image if it's provided in the Info file.
5394 Otherwise, display the location of missing image from SRC attribute.
5395 Add help-echo text property from ALT attribute. (Bug#15279)
5397 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5399 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5400 (edit-abbrevs-mode): Use define-derived-mode.
5402 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5403 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5405 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5406 Use define-derived-mode.
5408 * epg.el (epg-start-encrypt): Minor CSE simplification.
5410 2013-09-06 William Xu <william.xwl@gmail.com>
5412 * arc-mode.el: Add support for 7za (bug#15264).
5413 (archive-7z-program): New var.
5414 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5415 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5416 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5418 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5422 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5423 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5424 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5425 (tramp-postfix-host-format, tramp-file-name-regexp)
5426 (tramp-completion-file-name-regexp)
5427 (tramp-completion-dissect-file-name)
5428 (tramp-handle-substitute-in-file-name): Remove 'url case.
5429 (tramp-file-name-regexp-url)
5430 (tramp-completion-file-name-regexp-url): Remove constants.
5432 2013-09-06 Glenn Morris <rgm@gnu.org>
5434 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5436 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5438 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5439 keywords" below "here-doc beginnings" (Bug#15270).
5441 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * subr.el (pop): Use `car-safe'.
5444 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5445 to detect unused `pop' return value.
5447 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5449 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5450 (python-fill-string): Remove unused var `marker'.
5451 (python-skeleton-add-menu-items): Remove unused var `items'.
5453 * international/mule-cmds.el: Require CL.
5454 (find-coding-systems-for-charsets): Avoid add-to-list.
5455 (sanitize-coding-system-list): New function, extracted from
5456 select-safe-coding-system-interactively.
5457 (select-safe-coding-system-interactively): Use it.
5458 (read-input-method-name): Accept symbols for `default'.
5460 * emacs-lisp/advice.el (defadvice): Add indent rule.
5462 2013-09-05 Daniel Hackney <dan@haxney.org>
5466 * net/browse-url.el:
5469 * net/eudcb-ldap.el:
5482 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5483 byte compiler. Remove some unused let-bound variables.
5485 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5488 a "ref-cell", since it gets better optimized (bug#14883).
5490 2013-09-05 Glenn Morris <rgm@gnu.org>
5492 * progmodes/cc-awk.el (c-forward-sws): Declare.
5494 2013-09-04 Glenn Morris <rgm@gnu.org>
5496 * generic-x.el [rul-generic-mode]: Require cc-mode.
5497 (c++-mode-syntax-table): Declare.
5498 (rul-generic-mode-syntax-table): Init in the defvar.
5500 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5502 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5503 (vc-do-command, vc-set-async-update):
5504 * vc/vc-mtn.el (vc-mtn-dir-status):
5505 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5506 (vc-hg-pull, vc-hg-merge-branch):
5507 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5508 (vc-git-merge-branch):
5509 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5510 (vc-cvs-dir-status-files):
5511 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5512 (vc-bzr-dir-status-files):
5513 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5514 * vc/vc-annotate.el: Use lexical-binding.
5515 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5516 (vc-sentinel-movepoint): Declare.
5517 (vc-annotate): Don't use `goto-line'.
5518 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5519 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5520 (vc-sentinel-movepoint): Declare.
5521 * vc/vc-svn.el: Use lexical-binding.
5522 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5524 * vc/vc-rcs.el: Use lexical-binding.
5526 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5527 `deleted'. Don't drop errors silently.
5529 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5531 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5533 * vc/vc.el (vc-ignore): Rewrite.
5534 (vc-default-ignore): New function.
5535 (vc-default-ignore-completion-table): Use find-ignore-file.
5537 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5538 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5539 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5540 Remove. Most code moved to vc.el.
5542 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5544 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5545 * net/tramp-smb.el (tramp-smb-get-file-entries):
5546 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5547 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5549 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5551 (eww-change-select): Remove unused var `properties'.
5552 (eww-make-unique-file-name): Remove unused var `base'.
5554 * finder.el (finder-compile-keywords): Don't mess with windows.
5556 * calculator.el (calculator-funcall): Fix typo in last change.
5558 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5560 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5561 <pkg>-autoloads.el file stop us.
5563 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5564 warnings, and factor out common code.
5566 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5568 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5569 two-character operators and whether the character preceding them
5570 changes their meaning (Bug#15208).
5572 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5574 Format code sent to Python shell for robustness.
5575 * progmodes/python.el (python-shell-buffer-substring):
5577 (python-shell-send-region, python-shell-send-buffer): Use it.
5579 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5581 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5582 * net/tramp.el (tramp-user-error): ... here.
5583 (tramp-find-method, tramp-check-proper-host)
5584 (tramp-dissect-file-name, tramp-debug-message)
5585 (tramp-handle-shell-command):
5586 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5587 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5589 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5591 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5593 * avoid.el (mouse-avoidance-point-position)
5594 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5597 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5599 * progmodes/python.el (python-shell-completion-get-completions):
5600 Drop use of deleted `comint-last-prompt-overlay'.
5601 (python-nav-if-name-main): New command.
5603 2013-09-01 Glenn Morris <rgm@gnu.org>
5605 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5606 Avoid leading space in $wins. Otherwise the sed command used by
5607 eg compile-main ends up containing "/*.el". (Bug#15170)
5609 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5611 2013-08-30 Glenn Morris <rgm@gnu.org>
5613 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5614 Fix is-this-a-directory logic. (Bug#15220)
5616 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5618 * textmodes/css-mode.el: Use SMIE.
5619 (css-smie-grammar): New var.
5620 (css-smie--forward-token, css-smie--backward-token)
5621 (css-smie-rules): New functions.
5622 (css-mode): Use them.
5623 (css-navigation-syntax-table): Remove var.
5624 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5625 (css-indent-calculate, css-indent-line): Remove functions.
5627 Misc changes to reduce use of `(lambda...); and other cleanups.
5628 * cus-edit.el: Use lexical-binding.
5629 (customize-push-and-save, customize-apropos)
5630 (custom-buffer-create-internal): Use closures.
5631 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5632 * progmodes/ada-xref.el: Use setq.
5633 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5634 * dframe.el: Use lexical-binding.
5635 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5636 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5637 * descr-text.el: Use lexical-binding.
5638 (describe-text-widget, describe-text-sexp, describe-property-list):
5640 * comint.el (comint-history-isearch-push-state): Use a closure.
5641 * calculator.el: Use lexical-binding.
5642 (calculator-number-to-string): Make it work with lexical-binding.
5643 (calculator-funcall): Same and use cl-letf.
5645 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5646 (lisp--company-doc-string, lisp--company-location): New functions.
5647 (lisp-completion-at-point): Use them to improve Company support.
5649 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5650 params of lambda expressions.
5651 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5652 (ruby-smie--opening-pipe-p): New function.
5653 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5654 symbols and matched |...| for formal params.
5655 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5656 from being treated as hanging. Handle "rescue".
5658 2013-08-29 Glenn Morris <rgm@gnu.org>
5660 * progmodes/cc-engine.el (c-pull-open-brace):
5661 Move definition before use.
5663 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5665 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5666 are immutable. Don't use `unsafe' any more.
5667 (cl--defsubst-expand): Don't substitute at the same time as keeping
5668 a residual unused let-binding. Don't use `unsafe' any more.
5670 2013-08-29 Glenn Morris <rgm@gnu.org>
5672 * calendar/cal-china.el (calendar-chinese-year-cache):
5675 * nxml/nxml-util.el (nxml-debug-clear-inside):
5676 Use cl-loop rather than loop.
5678 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5680 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5682 2013-08-28 Glenn Morris <rgm@gnu.org>
5684 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5686 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5688 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5690 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5692 * simple.el (repeat-complex-command--called-interactively-skip):
5694 (repeat-complex-command): Use it (bug#14136).
5696 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5697 (c-define-abbrev-table): Add `doc' argument.
5698 (c-mode-abbrev-table, c++-mode-abbrev-table)
5699 (objc-mode-abbrev-table, java-mode-abbrev-table)
5700 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5701 (awk-mode-abbrev-table): Use it.
5702 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5703 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5704 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5705 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5706 Move initialization into the declaration; and remove any
5709 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5710 and dynamic let binding.
5712 * vc/smerge-mode.el: Remove redundant :group args.
5714 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5717 2013-08-28 Juri Linkov <juri@jurta.org>
5719 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5720 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5721 (isearch-other-meta-char): Handle an undefined shifted printing
5722 character by downshifting it. (Bug#15200)
5724 2013-08-28 Juri Linkov <juri@jurta.org>
5726 * isearch.el (isearch-search): Change regexp error message for
5727 non-regexp searches. (Bug#15166)
5729 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5731 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5732 for portability to hosts where /bin/sh has problems.
5734 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5736 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5738 2013-08-27 Juri Linkov <juri@jurta.org>
5740 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5741 in the keyboard macro. (Bug#15126)
5743 2013-08-27 Juri Linkov <juri@jurta.org>
5745 * isearch.el (isearch-quote-char): Comment out converting unibyte
5746 to multibyte, thus syncing with its `quoted-insert' counterpart.
5749 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5751 * window.el (display-buffer-use-some-window): Add missing
5752 argument in call of get-largest-window (Bug#15185).
5753 Reported by Stephen Leake.
5755 2013-08-27 Glenn Morris <rgm@gnu.org>
5757 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5759 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5761 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5762 from a matcher-function unless there's no more matches (bug#15161).
5764 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5766 * minibuffer.el: Revert change from 2013-08-20.
5768 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5769 with text property `tramp-default', if appropriate.
5770 (tramp-check-proper-host): New defun.
5771 (tramp-dissect-file-name): Do not check hostname. Revert change
5773 (tramp-backtrace): Make VEC-OR-PROC optional.
5775 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5776 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5777 * net/tramp-sh.el (tramp-maybe-open-connection):
5778 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5779 Apply `tramp-check-proper-host'.
5781 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5783 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5784 lambda expression in order to have `describe-variable' display it.
5786 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5788 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5789 BUF can be optional. (Bug#15186)
5791 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5793 * progmodes/flymake.el (flymake-get-real-file-name-function):
5794 Fix broken customization. (Bug#15184)
5796 2013-08-25 Alan Mackenzie <acm@muc.de>
5798 Improve indentation of bracelists defined by macros (without "=").
5800 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5801 expansion begins with "{", regard it as bracelist when it doesn't
5804 Parse C++ inher-intro when there's a template split over 2 lines.
5806 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5807 rigorously the search for "class" etc. followed by ":".
5809 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5810 random languages a regexp which never matches rather than nil.
5812 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5814 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5815 (c-awk-regexp-one-line-possibly-open-char-list-re)
5816 (c-awk-one-line-possibly-open-regexp-re)
5817 (c-awk-one-line-non-syn-ws*-re): Remove.
5818 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5819 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5820 (c-awk-space*-unclosed-regexp-/-re): New constants.
5821 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5822 aren't regexp delimiters.
5824 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5825 handling for a rare situation in AWK Mode involving unterminated
5828 2013-08-23 Glenn Morris <rgm@gnu.org>
5830 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5832 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5834 * files.el (create-file-buffer): If the result would begin with
5835 spaces, prepend a "|" instead of removing them. (Bug#15162)
5837 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5840 text-properties (bug#15155).
5842 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5844 (calc-keypad-redraw): Remove unused var `pad'.
5845 (calc-keypad-press): Remove unused var `menu'.
5847 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5849 * window.el (display-buffer-pop-up-frame):
5850 Call pop-up-frame-function with BUFFER current so `make-frame' will
5851 use it as the new frame's buffer (Bug#15133).
5853 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * calendar/timeclock.el: Minor cleanups.
5856 (timeclock-ask-before-exiting, timeclock-use-display-time):
5858 (timeclock-modeline-display): Define as alias before the
5860 (timeclock-mode-line-display): Use define-minor-mode.
5861 (timeclock-day-list-template): Make it a function, add an argument.
5862 (timeclock-day-list-required, timeclock-day-list-length)
5863 (timeclock-day-list-debt, timeclock-day-list-span)
5864 (timeclock-day-list-break): Adjust calls accordingly.
5866 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5869 Use read--expression so that completion works again.
5871 2013-08-21 Sam Steingold <sds@gnu.org>
5873 Add rudimentary inferior shell interaction
5874 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5875 (sh-set-shell): Reset it.
5876 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5877 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5879 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5881 * align.el: Use lexical-binding.
5882 (align-region): Simplify accordingly.
5884 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5886 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5888 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5891 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5895 * net/tramp-cmds.el:
5897 * net/tramp-gvfs.el:
5899 * net/tramp-sh.el: Don't wrap external variable declarations by
5900 `eval-when-compile'.
5902 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5905 now that Emacs supports ImageMagick animations.
5907 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5909 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5910 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5912 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5914 * window.el (mouse-autoselect-window-select): Do autoselect when
5915 mouse pointer is on margin.
5917 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5919 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5921 2013-08-16 Glenn Morris <rgm@gnu.org>
5923 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5924 Handle "Remote Directory" response of some clients. (Bug#15058)
5926 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5927 Tweak warning. (Bug#14926)
5929 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5930 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5932 * image-mode.el (image-mode-map): Add menu items to reverse,
5933 increase, decrease, reset animation speed.
5934 (image--set-speed, image-increase-speed, image-decrease-speed)
5935 (image-reverse-speed, image-reset-speed): New functions.
5936 (image-mode-map): Add bindings for speed commands.
5938 * image.el (image-animate-get-speed, image-animate-set-speed):
5940 (image-animate-timeout): Respect image :speed property.
5942 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5944 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5945 previous line (bug#15101).
5946 (debugger-eval-expression, debugger-record-expression):
5947 Use read--expression (bug#15102).
5949 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5951 Remove byte compiler warnings, visible when compiling with
5952 `byte-compile-force-lexical-warnings' set to t.
5954 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5955 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5956 (tramp-handle-unhandled-file-name-directory)
5957 (tramp-handle-file-notify-add-watch, tramp-action-login)
5958 (tramp-action-succeed, tramp-action-permission-denied)
5959 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5962 * net/tramp-adb.el (tramp-adb-parse-device-names)
5963 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5964 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5965 (tramp-adb-handle-file-truename): Remove unused arguments.
5967 * net/tramp-cache.el (tramp-flush-directory-property)
5968 (tramp-flush-connection-property, tramp-list-connections)
5969 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5971 * net/tramp-compat.el (tramp-compat-make-temp-file):
5972 Rename FILENAME to F.
5974 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5975 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5976 (tramp-zeroconf-parse-workstation-device-names)
5977 (tramp-zeroconf-parse-webdav-device-names)
5978 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5980 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5981 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5983 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5985 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5986 (tramp-sh-handle-insert-file-contents-literally)
5987 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5989 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5990 Remove unused variables.
5992 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5993 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5994 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5996 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5997 Make them a defconst.
5998 (tramp-uuencode-region): Remove unused variable.
6000 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6002 * frameset.el (frameset--prop-setter): New function.
6003 (frameset-prop): Add gv-setter declaration.
6004 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6005 parameter was already set in FILTERED. Doc fix.
6006 (frameset--record-minibuffer-relationships): Allow saving a
6007 minibufferless frame without its corresponding minibuffer frame.
6008 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6009 frame, if the frame id matches.
6010 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6011 frames before orphaned ones.
6012 (frameset-restore): Warn about orphaned windows, instead of error out.
6014 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6016 * window.el (window-make-atom): Don't overwrite parameter
6018 (display-buffer-in-atom-window): Handle special case where we
6019 split an already atomic window.
6020 (window--major-non-side-window, display-buffer-in-side-window)
6021 (window--side-check): Ignore minibuffer window when walking
6023 (window-deletable-p): Return 'frame only if no other frame uses
6024 our minibuffer window.
6025 (record-window-buffer): Run buffer-list-update-hook.
6026 (split-window): Make sure window--check-frame won't destroy an
6027 existing atomic window in case the new window gets nested
6029 (display-buffer-at-bottom): Ignore minibuffer window when
6030 walking window tree. Don't split a side window.
6031 (pop-to-buffer): Don't set-buffer here, the select-window call
6033 (mouse-autoselect-window-select): Autoselect only if we are in the
6034 text portion of the window.
6036 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6038 * net/shr.el (shr-parse-image-data): New function to grab both the
6039 data itself and the Content-Type.
6040 (shr-put-image): Use it.
6042 * net/eww.el (eww-display-image): Ditto.
6044 * image.el (image-content-type-suffixes): New variable.
6046 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6048 * progmodes/python.el (python-imenu--build-tree)
6049 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6051 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6053 * simple.el (backward-word): Mention the optional argument.
6055 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6057 * frameset.el (frameset--make): Rename constructor from make-frameset.
6058 (frameset-p, frameset-valid-p): Don't autoload.
6059 (frameset-valid-p): Use normal accessors.
6061 2013-08-13 Glenn Morris <rgm@gnu.org>
6063 * progmodes/compile.el (compile-command): Tweak example in doc.
6064 * obsolete/scribe.el (scribe-mode):
6065 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6067 * mail/feedmail.el (feedmail-confirm-outgoing)
6068 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6070 * cus-start.el (truncate-partial-width-windows): Fix type.
6072 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6074 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6076 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6078 * emacs-lisp/timer.el (timer--time-setter): New function.
6079 (timer--time): Use it as gv-setter.
6081 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6082 setter is not a symbol.
6084 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6086 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6087 if sending fails. This makes debugging easier.
6089 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6091 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6092 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6093 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6095 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6097 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6099 2013-08-12 Glenn Morris <rgm@gnu.org>
6101 * format.el (format-annotate-function):
6102 Handle read-only text properties in the source. (Bug#14887)
6104 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6106 * net/eww.el (eww-display-html): Ignore coding system errors.
6107 One web site uses "utf-8lias" as the coding system.
6109 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6111 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6113 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6115 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6116 (tutorial--detailed-help): Remove unused local variables.
6117 (tutorial--save-tutorial-to): Use ignore-errors.
6118 (help-with-tutorial): Use looking-at-p.
6120 * view.el (view-buffer-other-window, view-buffer-other-frame):
6121 Mark unused arguments.
6123 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6124 (woman-select-symbol-fonts, woman, woman-find-file)
6125 (woman-insert-file-contents, woman-non-underline-faces):
6127 (woman1-unquote): Move declaration.
6129 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6130 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6131 argument. Remove unused local variable.
6132 (xml-parse-elem-type): Use string-match-p.
6133 (xml-substitute-numeric-entities): Use ignore-errors.
6135 * calculator.el (calculator): Mark unused argument.
6136 (calculator-paste, calculator-quit, calculator-integer-p):
6138 (calculator-string-to-number, calculator-decimal, calculator-exp)
6139 (calculator-op-or-exp): Use string-match-p.
6141 * dired.el (dired-buffer-more-recently-used-p): Declare.
6142 (dired-insert-set-properties, dired-insert-old-subdirs):
6145 * dired-aux.el (dired-compress): Use ignore-errors.
6146 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6147 (dired-do-async-shell-command, dired-do-shell-command)
6148 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6149 (dired-insert-subdir-validate): Use string-match-p.
6150 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6151 (dired-add-entry): Use string-match-p, looking-at-p.
6152 (dired-insert-subdir-newpos): Remove unused local variable.
6154 * filenotify.el (file-notify-callback): Remove unused local variable.
6156 * filesets.el (filesets-error): Mark unused argument.
6157 (filesets-which-command-p, filesets-filter-dir-names)
6158 (filesets-directory-files, filesets-get-external-viewer)
6159 (filesets-ingroup-get-data): Use string-match-p.
6161 * find-file.el (ff-other-file-name, ff-other-file-name)
6162 (ff-find-the-other-file, ff-cc-hh-converter):
6163 Remove unused local variables.
6164 (ff-get-file-name): Use string-match-p.
6165 (ff-all-dirs-under): Use ignore-errors.
6167 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6168 (follow-select-if-visible): Remove unused local variable.
6170 * forms.el (read-file-filter): Move declaration.
6171 (forms--make-format, forms--make-parser, forms-insert-record):
6172 Quote function with #'.
6173 (forms--update): Use string-match-p. Quote function with #'.
6175 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6176 (help-make-xrefs): Use looking-at-p.
6177 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6179 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6180 (ibuffer-confirm-operation-on): Use string-match-p.
6182 * msb.el (msb-item-handler, msb-dired-item-handler):
6183 Mark unused arguments.
6185 * ses.el (ses-decode-cell-symbol)
6186 (ses-kill-override): Remove unused local variable.
6187 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6188 (ses-load): Use ignore-errors, looking-at-p.
6189 (ses-jump-safe): Use ignore-errors.
6190 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6192 * tabify.el (untabify, tabify): Mark unused arguments.
6194 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6195 Mark unused argument.
6196 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6197 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6199 * emacs-lisp/timer.el (timer--time): Define setter with
6200 gv-define-setter to avoid deprecation warning.
6202 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6203 (*record-cmpl-statistics-p*): Remove (was commented out).
6204 (cmpl-statistics-block): Remove (body was commented out).
6205 All callers changed.
6206 (add-completions-from-buffer, load-completions-from-file):
6207 Remove unused variables.
6209 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6211 * filecache.el (file-cache-delete-file-list):
6212 Print message only when told so.
6213 (file-cache-files-matching): Use #' in mapconcat argument.
6215 * ffap.el (ffap-url-at-point): Fix reference to variable
6216 thing-at-point-default-mail-uri-scheme.
6218 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6220 * subr.el (define-error): New function.
6221 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6222 error-file-not-found and define with define-error.
6223 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6224 and define with define-error.
6225 * userlock.el (file-locked, file-supersession):
6226 * simple.el (mark-inactive):
6227 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6228 * progmodes/ada-mode.el (ada-mode-errors):
6229 * play/life.el (life-extinct):
6230 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6231 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6232 * nxml/rng-util.el (rng-error):
6233 * nxml/rng-uri.el (rng-uri-error):
6234 * nxml/rng-match.el (rng-compile-error):
6235 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6236 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6237 * nxml/nxml-rap.el (nxml-scan-error):
6238 * nxml/nxml-outln.el (nxml-outline-error):
6239 * net/soap-client.el (soap-error):
6240 * net/gnutls.el (gnutls-error):
6241 * net/ange-ftp.el (ftp-error):
6242 * mpc.el (mpc-proc-error):
6243 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6244 (json-number-format, json-string-escape, json-string-format)
6245 (json-key-format, json-object-format):
6246 * jka-compr.el (compression-error):
6247 * international/quail.el (quail-error):
6248 * international/kkc.el (kkc-error):
6249 * emacs-lisp/ert.el (ert-test-failed):
6250 * calc/calc.el (calc-error, inexact-result, math-overflow)
6252 * bookmark.el (bookmark-error-no-filename):
6253 * epg.el (epg-error): Define with define-error.
6255 * time.el (display-time-event-handler)
6256 (display-time-next-load-average): Don't call sit-for since it seems
6257 unnecessary (bug#15045).
6259 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6260 Use #' instead of ' to quote functions.
6261 (checkdoc-output-mode): Use setq-local.
6262 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6263 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6264 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6265 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6266 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6267 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6268 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6269 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6271 * ido.el (ido-completion-help): Fix up compiler warning.
6273 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6275 * frameset.el (frameset-p): Add autoload cookie.
6276 (frameset--jump-to-register): New function, based on code moved from
6278 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6280 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6281 (frameset-restore, frameset-save, frameset-session-filter-alist):
6282 Remove declarations.
6283 (register-alist): Doc fix.
6284 (frameset-to-register): Move to frameset.el.
6285 (jump-to-register, describe-register-1): Remove frameset-specific code.
6287 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6289 * allout-widgets.el (allout-widgets-pre-command-business)
6290 (allout-widgets-post-command-business)
6291 (allout-widgets-after-change-handler)
6292 (allout-decorate-item-and-context, allout-set-boundary-marker)
6293 (allout-body-modification-handler)
6294 (allout-graphics-modification-handler): Mark ignored arguments.
6295 (allout-widgets-post-command-business)
6296 (allout-widgets-exposure-change-processor)
6297 (allout-widgets-exposure-undo-processor)
6298 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6299 (allout-parse-item-at-point, allout-decorate-item-guides)
6300 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6301 * allout.el (epa-passphrase-callback-function): Declare.
6302 (allout-overlay-insert-in-front-handler)
6303 (allout-overlay-interior-modification-handler)
6304 (allout-isearch-end-handler, allout-chart-siblings)
6305 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6306 (allout-yank-processing, allout-process-exposed)
6307 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6308 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6309 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6310 (lisp-indent-defform): Mark ignored arguments.
6311 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6312 (calculate-lisp-indent): Remove unused variables.
6313 * international/characters.el (indian-2-column, arabic-2-column)
6314 (tibetan): Mark ignored arguments.
6315 (use-cjk-char-width-table): Mark ignored arguments.
6316 Remove unused variables.
6317 * international/fontset.el (build-default-fontset-data)
6318 (x-compose-font-name, create-fontset-from-fontset-spec):
6319 Mark ignored arguments.
6320 (fontset-plain-name): Remove unused variables.
6321 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6322 (keyboard-coding-system): Mark ignored arguments.
6323 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6324 * help.el (resize-temp-buffer-window):
6325 * window.el (display-buffer-in-major-side-window)
6326 (display-buffer-in-side-window, display-buffer-in-previous-window):
6327 Remove unused variables.
6328 * isearch.el (isearch-forward-symbol):
6329 * version.el (emacs-bzr-version-bzr):
6330 * international/mule-cmds.el (current-language-environment):
6331 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6333 * term/pc-win.el (x-list-fonts, x-display-planes)
6334 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6335 (x-server-version, x-display-screens, x-display-mm-height)
6336 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6337 (x-selection-owner-p, x-own-selection-internal)
6338 (x-disown-selection-internal, x-get-selection-internal)
6339 (msdos-initialize-window-system):
6340 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6341 * term/x-win.el (x-handle-no-bitmap-icon):
6342 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6343 (vc-default-find-file-hook, vc-default-extra-menu):
6344 Mark ignored arguments.
6346 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6349 break-condition in the context of the debugged code (bug#12685).
6351 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6354 Do not use an overlay to highlight the last prompt. (Bug#14744)
6355 (comint-mode): Make comint-last-prompt buffer local.
6356 (comint-last-prompt): New variable.
6357 (comint-last-prompt-overlay): Remove. Superseded by
6359 (comint-snapshot-last-prompt, comint-output-filter):
6360 Use comint-last-prompt.
6362 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6364 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6365 (frameset-save): Check validity of the resulting frameset.
6367 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6369 * ido.el (ido-record-command): Add doc string.
6371 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6373 * frameset.el (frameset): Do not disable creation of the default
6374 frameset-p predicate. Doc fix.
6375 (frameset-valid-p): New function, copied from the old predicate-p.
6376 Add additional checks.
6377 (frameset-restore): Check with frameset-valid-p.
6378 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6379 (frameset-name, frameset-description, frameset-properties)
6380 (frameset-states): Add docstring.
6381 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6382 (frameset-filter-alist): Doc fixes.
6384 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6386 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6388 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6391 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6392 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6393 (byte-compile-normal-call): Remove obsolescence check.
6395 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6397 * frameset.el (frameset-restore): Doc fix.
6399 * register.el (frameset-frame-id, frameset-frame-with-id)
6400 (frameset-p, frameset-restore, frameset-save): Declare.
6401 (register-alist): Document framesets.
6402 (frameset-session-filter-alist): Declare.
6403 (frameset-to-register): New function.
6404 (jump-to-register): Implement jumping to framesets. Doc fix.
6405 (describe-register-1): Describe framesets.
6407 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6409 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6411 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6412 Use lexical-binding.
6414 * frameset.el (frameset): Use type vector, not list (incompatible
6415 change). Do not declare a new constructor, use the default one.
6416 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6417 `name' and `description', respectively, and add read-only slot
6418 `timestamp'. Doc fixes.
6419 (frameset-copy, frameset-persistent-filter-alist)
6420 (frameset-filter-alist, frameset-switch-to-gui-p)
6421 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6422 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6423 (frameset-filter-iconified, frameset-keep-original-display-p):
6425 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6426 Rename from frameset-filter-(save|restore)-param. All callers changed.
6428 (frameset-p): Adapt to change to vector and be more thorough.
6429 Change arg name to OBJECT. Doc fix.
6430 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6431 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6432 All callers changed.
6433 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6434 All callers changed.
6435 (frameset--record-minibuffer-relationships): Rename from
6436 frameset--process-minibuffer-frames. All callers changed.
6437 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6438 Use new default constructor (again). Doc fix.
6439 (frameset--find-frame-if): Rename from `frameset--find-frame.
6440 All callers changed.
6441 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6442 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6444 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6445 PARAMETERS and WINDOW-STATE, respectively.
6446 (frameset-restore): Add new keyword argument PREDICATE.
6447 Reset frameset--target-display to nil. Doc fix.
6449 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6451 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6453 (bat-mode-syntax-table): Mark \n as end-of-comment.
6454 (bat-font-lock-keywords): Remove comment rule.
6456 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6457 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6459 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6460 (byte-compile-callargs-warn): Use `push'.
6461 (byte-compile-arglist-warn): Ignore higher-order "calls".
6462 (byte-compile-file-form-autoload): Use `pcase'.
6463 (byte-compile-function-form): If quoting a symbol, check that it exists.
6465 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6467 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6468 and add a few popular commands found in batch files.
6469 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6470 (dos-mode): Doc fixes.
6472 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6474 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6475 (dos-mode): Use setq-local. Add space after "rem".
6476 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6477 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6479 2013-08-07 Arni Magnusson <arnima@hafro.is>
6481 * progmodes/dos.el: New file.
6482 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6485 2013-08-06 Glenn Morris <rgm@gnu.org>
6487 * calendar/calendar.el: Add new faces, and day-header-array.
6488 (calendar-weekday-header, calendar-weekend-header)
6489 (calendar-month-header): New faces.
6490 (calendar-day-header-construct): New function.
6491 (calendar-day-header-width): Also :set calendar-day-header-array.
6492 (calendar-american-month-header, calendar-european-month-header)
6493 (calendar-iso-month-header): Use calendar- faces.
6494 (calendar-generate-month):
6495 Use calendar-day-header-array for day headers; apply faces to them.
6496 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6497 (calendar-abbrev-construct): Add optional maxlen argument.
6498 (calendar-day-name-array): Doc fix.
6499 (calendar-day-name-array, calendar-abbrev-length)
6500 (calendar-day-abbrev-array):
6501 Also :set calendar-day-header-array, and maybe redraw.
6502 (calendar-day-header-array): New option. (Bug#15007)
6503 (calendar-font-lock-keywords): Set to nil and make obsolete.
6504 (calendar-day-name): Add option to use header array.
6506 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6508 * net/shr.el (shr-render-td): Remove debugging.
6509 (shr-render-td): Make width computation consistent by defaulting
6510 all zero-width columns to 10 characters. This may not be optimal,
6511 but it's at least consistent.
6512 (shr-make-table-1): Redo last change to fix the real problem in
6515 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6517 * files.el (cache-long-line-scans):
6518 Make obsolete alias to `cache-long-scans'.
6520 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6522 * frameset.el (frameset, frameset-filter-alist)
6523 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6524 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6525 (frameset-compute-pos): Rename from frameset--compute-pos,
6527 (frameset-move-onscreen): Use frameset-compute-pos.
6528 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6530 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6531 Fix typos in docstrings.
6533 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6535 * frame.el (get-other-frame): Tiny cleanup.
6537 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6539 * vc/vc.el (vc-default-ignore-completion-table):
6540 Silence byte-compiler warning.
6542 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6543 slot, which can indeed be nil.
6544 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6545 Move entry for `left' from persistent to live filter alist.
6546 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6548 (frameset-filter-params): When restoring a frame, copy items added to
6549 `filtered', to avoid unwittingly modifying the original parameters.
6550 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6551 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6553 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6554 to use looking-at-p instead of looking-at. (Bug#15028)
6556 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6558 Revert introduction of isearch-filter-predicates (bug#14714).
6559 Rely on add-function instead.
6560 * isearch.el (isearch-filter-predicates): Rename it back to
6561 isearch-filter-predicate.
6562 (isearch-message-prefix): Use advice-function-mapc and advice
6563 properties to get the isearch-message-prefix.
6564 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6565 instead of run-hook-with-args-until-failure.
6566 (isearch-filter-visible): Not obsolete any more.
6567 * loadup.el: Preload nadvice.
6568 * replace.el (perform-replace): Revert to funcall
6569 instead of run-hook-with-args-until-failure.
6570 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6571 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6572 dired-isearch-filenames-toggle; make it into a proper minor mode.
6573 Use add/remove-function.
6574 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6575 Call the minor-mode rather than add/remove-hook.
6576 (dired-isearch-filter-filenames):
6577 Remove isearch-message-prefix property.
6578 * info.el (Info--search-loop): New function, extracted from Info-search.
6579 Funcall isearch-filter-predicate instead of
6580 run-hook-with-args-until-failure isearch-filter-predicates.
6581 (Info-search): Use it.
6582 (Info-mode): Use isearch-filter-predicate instead of
6583 isearch-filter-predicates.
6585 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6587 Do not call to `selected-window' where it is assumed by default.
6588 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6589 `window-hscroll', `window-width', `window-height', `window-buffer',
6590 `window-frame', `window-start', `window-point', `next-window'
6591 and `window-display-table'.
6592 * abbrev.el (abbrev--default-expand):
6593 * bs.el (bs--show-with-configuration):
6594 * buff-menu.el (Buffer-menu-mouse-select):
6595 * calc/calc.el (calc):
6596 * calendar/calendar.el (calendar-generate-window):
6597 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6599 * comint.el (send-invisible, comint-dynamic-complete-filename)
6600 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6601 * completion.el (complete):
6602 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6603 * disp-table.el (describe-current-display-table):
6604 * doc-view.el (doc-view-insert-image):
6605 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6606 * ehelp.el (with-electric-help):
6607 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6608 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6609 * emacs-lisp/helper.el (Helper-help-scroller):
6610 * emulation/cua-base.el (cua--post-command-handler-1):
6611 * eshell/esh-mode.el (eshell-output-filter):
6612 * ffap.el (ffap-gnus-wrapper):
6613 * help-macro.el (make-help-screen):
6614 * hilit-chg.el (highlight-compare-buffers):
6615 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6616 * hl-line.el (global-hl-line-highlight):
6617 * icomplete.el (icomplete-simple-completing-p):
6618 * isearch.el (isearch-done):
6619 * jit-lock.el (jit-lock-stealth-fontify):
6620 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6621 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6622 * mpc.el (mpc-tagbrowser, mpc):
6623 * net/rcirc.el (rcirc-any-buffer):
6624 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6625 * play/landmark.el (landmark-max-width, landmark-max-height):
6626 * play/zone.el (zone):
6627 * progmodes/compile.el (compilation-goto-locus):
6628 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6629 * progmodes/etags.el (find-tag-other-window):
6630 * progmodes/fortran.el (fortran-column-ruler):
6631 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6632 * progmodes/verilog-mode.el (verilog-point-text):
6633 * reposition.el (reposition-window):
6634 * rot13.el (toggle-rot13-mode):
6635 * server.el (server-switch-buffer):
6636 * shell.el (shell-dynamic-complete-command)
6637 (shell-dynamic-complete-environment-variable):
6638 * simple.el (insert-buffer, set-selective-display)
6639 (delete-completion-window):
6640 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6641 (speedbar-recenter):
6642 * startup.el (fancy-splash-head):
6643 * textmodes/ispell.el (ispell-command-loop):
6644 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6645 * tutorial.el (help-with-tutorial):
6646 * vc/add-log.el (add-change-log-entry):
6647 * vc/compare-w.el (compare-windows):
6648 * vc/ediff-help.el (ediff-indent-help-message):
6649 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6650 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6651 (ediff-setup-control-frame):
6652 * vc/emerge.el (emerge-position-region):
6653 * vc/pcvs-util.el (cvs-bury-buffer):
6654 * window.el (walk-windows, mouse-autoselect-window-select):
6655 * winner.el (winner-set-conf, winner-undo): Related users changed.
6657 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6659 * frameset.el (frameset--set-id): Doc fix.
6660 (frameset-frame-id, frameset-frame-id-equal-p)
6661 (frameset-locate-frame-id): New functions.
6662 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6663 (frameset-restore): Use them.
6665 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6667 Do not call to `selected-frame' where it is assumed by default.
6668 Affected functions are `raise-frame', `redraw-frame',
6669 `frame-first-window', `frame-terminal' and `delete-frame'.
6670 * calendar/appt.el (appt-disp-window):
6671 * epg.el (epg-wait-for-completion):
6672 * follow.el (follow-delete-other-windows-and-split)
6673 (follow-avoid-tail-recenter):
6674 * international/mule.el (set-terminal-coding-system):
6675 * mail/rmail.el (rmail-mail-return):
6676 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6677 * progmodes/f90.el (f90-add-imenu-menu):
6678 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6679 * server.el (server-switch-buffer):
6680 * simple.el (delete-completion-window):
6682 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6683 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6684 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6685 * vc/ediff.el (ediff-documentation): Related users changed.
6686 * frame.el (selected-terminal): Remove the leftover.
6688 2013-08-05 Glenn Morris <rgm@gnu.org>
6690 * calendar/calendar.el (calendar-generate-month):
6691 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6692 (calendar-generate-month, calendar-font-lock-keywords):
6693 Fix for calendar-day-header-width > length of any day name.
6695 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6697 * desktop.el (desktop-clear): Use new name of sort predicate.
6699 * frameset.el (frameset): Add docstring. Move :version property to its
6701 (frameset-copy): Rename from copy-frameset.
6702 (frameset-p): Check more thoroughly.
6703 (frameset-prop): Do not check for :version, which is no longer a prop.
6704 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6705 Use new :never value instead of t.
6706 (frameset-filter-alist): Expand and clarify docstring.
6707 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6708 (frameset-filter-minibuffer, frameset-filter-save-param)
6709 (frameset-filter-restore-param, frameset-filter-iconified):
6710 Add pointer to docstring of frameset-filter-alist.
6711 (frameset-filter-params): Rename filter values to be more meaningful:
6712 :never instead of t, and reverse the meanings of :save and :restore.
6713 (frameset--process-minibuffer-frames): Clarify error message.
6714 (frameset-save): Avoid unnecessary and confusing call to framep.
6715 Use new BOA constructor for framesets.
6716 (frameset--reuse-list): Doc fix.
6717 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6718 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6719 (frameset-minibufferless-first-p): Doc fix.
6720 Rename from frameset-sort-frames-for-deletion.
6721 (frameset-restore): Doc fixes. Use new function names.
6722 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6724 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6726 * desktop.el (desktop-restore-forces-onscreen)
6727 (desktop-restore-reuses-frames): Document :keyword constant values.
6728 (desktop-filter-parameters-alist): Remove, now identical to
6729 frameset-filter-alist.
6730 (desktop--filter-tty*): Remove, moved to frameset.el.
6731 (desktop-save-frameset, desktop-restore-frameset):
6732 Do not pass :filters argument.
6734 * frameset.el (frameset-live-filter-alist)
6735 (frameset-persistent-filter-alist): New variables.
6736 (frameset-filter-alist): Use them. Add autoload cookie.
6737 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6738 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6739 `frameset--id' (it's supposed to be internal to frameset.el).
6740 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6741 (frameset--initial-params): New function.
6742 (frameset--get-frame): Use it. Doc fix.
6743 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6744 Accept :all, not 'all.
6745 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6746 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6747 with fbound symbols. Fix frame id matching, and remove matching ids if
6748 the frame being restored is deleted. Obey :delete.
6750 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6752 * subr.el (macrop): New function.
6753 (text-clone--maintaining): New var.
6754 (text-clone--maintain): Rename from text-clone-maintain. Use it
6755 instead of inhibit-modification-hooks.
6757 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6758 a proxy, so as handle autoloads and redefinitions of the target.
6759 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6761 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6762 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6763 (pcase--mutually-exclusive-p): New function.
6764 (pcase--split-consp): Use it.
6765 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6766 mutually exclusive with the current predicate.
6768 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6769 (edebug-macrop): Remove. Use `macrop' instead.
6770 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6772 * eshell/esh-cmd.el (eshell-macrop):
6773 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6775 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6777 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6778 (advice-mapc): New function, using it.
6779 (advice-function-member-p): New function.
6780 (advice--normalize): Store the cdr in advice--saved-rewrite since
6781 that's the part that will be changed.
6782 (advice--symbol-function): New function.
6783 (advice-remove): Handle removal before the function is defined.
6784 Adjust to new advice--saved-rewrite.
6785 (advice-member-p): Use advice-function-member-p and
6786 advice--symbol-function.
6788 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6790 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6791 (frameset-filter-minibuffer): Doc fix.
6792 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6793 (frameset--set-id, frameset--process-minibuffer-frames)
6794 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6795 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6797 * desktop.el (desktop-clear): Only delete frames when called
6798 interactively and desktop-restore-frames is non-nil. Doc fix.
6799 (desktop-read): Set desktop-saved-frameset to nil.
6801 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6803 * vc/vc.el (vc-ignore): Rewrite.
6804 (vc-default-ignore-completion-table):
6806 (vc--add-line, vc--remove-regexp): New functions.
6808 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6809 (vc-svn-ignore-completion-table): New function.
6811 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6812 (vc-hg-ignore-completion-table):
6813 (vc-hg-find-ignore-file): New functions.
6815 * vc/vc-git.el (vc-git-ignore): Rewrite.
6816 (vc-git-ignore-completion-table):
6817 (vc-git-find-ignore-file): New functions.
6819 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6821 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6822 (vc-bzr-ignore-completion-table):
6823 (vc-bzr-find-ignore-file): New functions.
6825 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6827 * frameset.el (frameset-prop): New function and setter.
6828 (frameset-save): Do not modify frame list passed by the caller.
6830 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6832 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6834 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6836 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6837 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6839 * custom.el (custom-initialize-default, custom-initialize-set)
6840 (custom-initialize-reset, custom-initialize-changed): Affect the
6841 toplevel-default-value (bug#6275, bug#14586).
6842 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6845 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6847 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6848 Add cl-def* expressions.
6850 * frameset.el (frameset-filter-params): Fix order of arguments.
6852 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6854 Move code related to saving frames to frameset.el.
6855 * desktop.el: Require frameset.
6856 (desktop-restore-frames): Doc fix.
6857 (desktop-restore-reuses-frames): Rename from
6858 desktop-restoring-reuses-frames.
6859 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6860 (desktop-clear): Clear frames too.
6861 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6862 (desktop--filter-tty*, desktop-save, desktop-read):
6863 Use frameset functions.
6864 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6865 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6866 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6867 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6868 (desktop--process-minibuffer-frames, desktop-save-frames)
6869 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6870 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6871 (desktop--sort-states, desktop-restoring-frames-p)
6872 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6873 (desktop-restoring-frameset-p, desktop-restore-frameset)
6874 (desktop--check-dont-save, desktop-save-frameset): New functions.
6875 (desktop--app-id): New constant.
6876 (desktop-first-buffer, desktop-buffer-ok-count)
6877 (desktop-buffer-fail-count): Move before first use.
6878 * frameset.el: New file.
6880 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6882 * files.el: Use lexical-binding.
6883 (dir-locals-read-from-file): Remove unused `err' variable.
6884 (hack-dir-local-variables--warned-coding): New var.
6885 (hack-dir-local-variables): Use it to avoid repeated warnings.
6886 (make-backup-file-name--default-function): New function.
6887 (make-backup-file-name-function): Use it as default.
6888 (buffer-stale--default-function): New function.
6889 (buffer-stale-function): Use it as default.
6890 (revert-buffer-insert-file-contents--default-function): New function.
6891 (revert-buffer-insert-file-contents-function): Use it as default.
6892 (insert-directory): Avoid add-to-list.
6894 * autorevert.el (auto-revert-handler): Simplify.
6895 Use buffer-stale--default-function.
6897 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6899 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6901 * whitespace.el (whitespace-ensure-local-variables): New function.
6902 (whitespace-cleanup-region): Call it.
6903 (whitespace-turn-on): Call it.
6905 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6907 Complete file name handlers.
6909 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6910 (tramp-handle-verify-visited-file-modtime)
6911 (tramp-handle-file-notify-rm-watch): New functions.
6912 (tramp-call-process): Do not bind `default-directory'.
6914 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6915 Order alphabetically.
6916 [access-file, add-name-to-file, dired-call-process]:
6917 [dired-compress-file, file-acl, file-notify-rm-watch]:
6918 [file-ownership-preserved-p, file-selinux-context]:
6919 [make-directory-internal, make-symbolic-link, set-file-acl]:
6920 [set-file-selinux-context, set-visited-file-modtime]:
6921 [verify-visited-file-modtime]: Add handler.
6922 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6924 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6925 [file-notify-add-watch, file-notify-rm-watch]:
6926 [set-file-times, set-visited-file-modtime]:
6927 [verify-visited-file-modtime]: Add handler.
6928 (with-tramp-gvfs-error-message)
6929 (tramp-gvfs-handle-set-visited-file-modtime)
6930 (tramp-gvfs-fuse-file-name): Remove.
6931 (tramp-gvfs-handle-file-notify-add-watch)
6932 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6933 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6935 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6936 Order alphabetically.
6937 [file-notify-rm-watch ]: Use default Tramp handler.
6938 [executable-find]: Remove private handler.
6939 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6940 `default-directory'.
6941 (tramp-sh-handle-executable-find)
6942 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6943 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6944 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6945 Do not use `format' in `tramp-message'.
6947 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6948 [file-notify-rm-watch, set-visited-file-modtime]:
6949 [verify-visited-file-modtime]: Add handler.
6950 (tramp-smb-call-winexe): Do not bind `default-directory'.
6952 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6954 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6956 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6958 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6960 (log-view-diff-changeset): Same.
6961 (log-view-diff-common): Call backend command `previous-revision'
6962 to find out the previous revision, in both cases. Swap the
6963 variables `to' and `fr', so that `fr' usually refers to the
6964 earlier revision (Bug#14989).
6966 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6968 * ibuf-ext.el (ibuffer-filter-by-filename):
6969 Make it work with dired buffers too.
6971 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6973 * emacs-lisp/re-builder.el (reb-color-display-p):
6974 * files.el (save-buffers-kill-terminal):
6975 * net/browse-url.el (browse-url):
6976 * server.el (server-save-buffers-kill-terminal):
6977 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6978 Prefer nil to selected-frame for the first arg of frame-parameter.
6980 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6982 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6984 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6986 * minibuffer.el (completion--twq-all): Try and preserve each
6987 completion's case choice (bug#14907).
6989 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6991 * net/network-stream.el (open-network-stream): Mention the new
6992 :nogreeting parameter.
6993 (network-stream-open-starttls): Use the :nogreeting parameter
6996 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6998 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6999 more natural than popping.
7001 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7002 (shr-urlify): Highlight under mouse.
7004 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7006 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7008 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7010 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7013 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7014 point-min==1. Fix search string. Fix parentheses missing.
7016 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7017 assume point-min==1. Fix search string. Fix parentheses missing.
7019 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7021 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7024 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7026 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7027 initial frame is minibuffer-less. (Bug#14841)
7029 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7031 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7034 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7035 (tramp-maybe-open-connection): Use it.
7037 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7039 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7040 minimal set of parameters passed when creating a frame, because
7041 the minibuffer status of a frame cannot be changed later.
7043 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7045 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7046 replace-regexp-in-string and inadvertent omissions in previous change.
7047 (todo-filter-items): Ensure only file names are comma-separated in
7048 name of filtered items buffer.
7050 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7052 * desktop.el: Optionally force offscreen frames back onscreen.
7053 (desktop-restoring-reuses-frames): New option.
7054 (desktop--compute-pos, desktop--move-onscreen): New functions.
7055 (desktop--make-frame): Use desktop--move-onscreen.
7057 2013-07-27 Alan Mackenzie <acm@muc.de>
7059 Fontify a Java generic method as a function.
7060 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7063 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7065 * calendar/todo-mode.el: Add command to rename todo files.
7066 (todo-rename-file): New command.
7067 (todo-key-bindings-t): Add key binding for it. Change the
7068 bindings of todo-filter-regexp-items(-multifile) to use `x'
7069 instead of `r', since the latter is better suited to the new
7072 2013-07-27 Alan Mackenzie <acm@muc.de>
7074 Make Java try-with-resources statement parse properly.
7075 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7076 (c-block-stmt-1-2-key): New language constants/variables.
7077 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7078 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7079 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7080 with c-block-stmt-1-2-key.
7082 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7084 * desktop.el (desktop--make-frame): Apply most frame parameters after
7085 creating the frame to force (partially or totally) offscreen frames to
7086 be restored as such.
7088 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7090 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7093 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7095 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7096 `base' arg of backtrace-frame.
7098 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7100 * simple.el (list-processes): Doc fix.
7102 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7104 * desktop.el (desktop--select-frame):
7105 Try harder to reuse existing frames.
7107 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7109 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7110 (edebug-eval): Use backtrace-eval.
7111 (edebug--display, edebug--recursive-edit): Don't let-bind the
7112 edebug-outer-* vars that keep track of variables we locally let-bind.
7113 (edebug-outside-excursion): Don't restore outside values of locally
7115 (edebug--display): Use user-error.
7116 (cl-lexical-debug, cl-debug-env): Remove.
7118 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7120 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7121 are restored to be sure that they are visible before deleting any
7124 2013-07-26 Matthias Meulien <orontee@gmail.com>
7126 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7127 vc-print-root-log. (Bug#14948)
7129 2013-07-26 Richard Stallman <rms@gnu.org>
7131 Add aliases for encrypting mail.
7132 * epa.el (epa-mail-aliases): New option.
7133 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7134 Bind inhibit-read-only so read-only text doesn't ruin everything.
7135 (epa-mail-default-recipients): New subroutine broken out.
7136 Handle epa-mail-aliases.
7138 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7140 Add support for lexical variables to the debugger's `e' command.
7141 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7142 vars, except for debugger-outer-match-data.
7143 (debugger-frame-number): Move check for "on a function call" from
7144 callers into it. Add `skip-base' argument.
7145 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7146 (debugger-env-macro): Only reset the state stored in non-variables,
7147 i.e. current-buffer and match-data.
7148 (debugger-eval-expression): Rewrite using backtrace-eval.
7149 * subr.el (internal--called-interactively-p--get-frame): Remove.
7150 (called-interactively-p):
7151 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7152 `base' arg of backtrace-frame instead.
7154 2013-07-26 Glenn Morris <rgm@gnu.org>
7156 * align.el (align-regexp): Doc fix. (Bug#14857)
7157 (align-region): Explicit error if subexpression missing/does not match.
7159 * simple.el (global-visual-line-mode):
7160 Do not duplicate the mode lighter. (Bug#14858)
7162 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7164 * window.el (display-buffer): In display-buffer bind
7165 split-window-keep-point to t, bug#14829.
7167 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7169 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7170 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7171 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7172 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7174 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7175 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7177 2013-07-25 Glenn Morris <rgm@gnu.org>
7179 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7181 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7183 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7184 parameter to modify-frame-parameters if the value has not changed;
7185 this is a workaround for bug#14949.
7186 (desktop--make-frame): On cl-delete-if call, check parameter name,
7189 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7191 * vc/vc.el (vc-ignore): New function.
7193 * vc/vc-svn.el (vc-svn-ignore): New function.
7195 * vc/vc-hg.el (vc-hg-ignore): New function.
7197 * vc/vc-git.el (vc-git-ignore): New function.
7199 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7200 (vc-dir-ignore): New function.
7202 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7203 (cvs-append-to-ignore): Move here from pcvs.el.
7205 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7207 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7209 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7211 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7212 (desktop-restore-frames): Warn when deleting an existing frame failed.
7214 2013-07-24 Glenn Morris <rgm@gnu.org>
7216 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7218 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7220 * filenotify.el (file-notify-supported-p):
7221 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7224 * autorevert.el (auto-revert-use-notify):
7225 (auto-revert-notify-add-watch):
7226 * net/tramp.el (tramp-file-name-for-operation):
7227 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7228 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7229 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7230 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7231 Remove `file-notify-supported-p' entry.
7233 2013-07-24 Glenn Morris <rgm@gnu.org>
7235 * printing.el: Replace all uses of deleted ps-windows-system,
7236 ps-lp-system, ps-flatten-list with lpr- versions.
7238 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7241 checked with memq (bug#14935).
7243 * files.el (revert-buffer-function): Use a non-nil default.
7244 (revert-buffer-preserve-modes): Declare var to
7245 provide access to the `preserve-modes' argument.
7246 (revert-buffer): Let-bind it.
7247 (revert-buffer--default): New function, extracted from revert-buffer.
7249 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7251 * lpr.el: Signal print errors more prominently.
7252 (print-region-function): Don't default to nil.
7253 (lpr-print-region): New function, extracted from print-region-1.
7254 Check lpr's return value and signal an error in case of problem.
7255 (print-region-1): Use it.
7256 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7258 (ps-printer-name): Default to nil.
7259 (ps-printer-name-option): Default to lpr-printer-switch.
7260 (ps-print-region-function): Don't default to nil.
7261 (ps-postscript-code-directory): Simplify default.
7262 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7263 (ps-string-list, ps-eval-switch, ps-flatten-list)
7264 (ps-flatten-list-1): Remove.
7265 (ps-multibyte-buffer): Avoid setq.
7266 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7267 (print-region-function, ps-print-region-function): Don't set them here.
7269 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7271 * ido.el (ido-fractionp):
7272 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7273 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7274 (ido-max-directory-size, ido-max-dir-file-cache)
7275 (ido-decorations): Doc fix.
7277 * ansi-color.el: Fix old URL.
7279 2013-07-23 Michael R. Mauger <michael@mauger.com>
7281 * progmodes/sql.el: Version 3.3
7282 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7283 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7284 (sql-interactive-remove-continuation-prompt): Rewrite, use
7285 functions above. Fix continuation prompt and complete output line
7287 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7288 redirected output buffer.
7289 (sql-mode): Restore deleted code (Bug#13591).
7291 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7293 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7295 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7297 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7299 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7300 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7301 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7303 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7305 * desktop.el (desktop-clear): Simplify; remove useless checks
7306 against invalid buffer names.
7307 (desktop-list*): Use cl-list*.
7308 (desktop-buffer-info, desktop-create-buffer): Simplify.
7310 2013-07-23 Leo Liu <sdl.web@gmail.com>
7312 * bookmark.el (bookmark-make-record): Restore NAME as a default
7315 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7318 extracted from autoload--insert-text.
7319 (autoload--insert-text): Remove.
7320 (autoload--print-cookie-text): New function, extracted from
7321 autoload--insert-cookie-text.
7322 (autoload--insert-cookie-text): Remove.
7323 (autoload-generate-file-autoloads): Adjust calls accordingly.
7325 * winner.el (winner-hook-installed-p): Remove.
7326 (winner-mode): Simplify accordingly.
7328 * subr.el (add-to-list): Fix compiler-macro when `append' is
7329 not constant. Don't use `cl-member' for the base case.
7331 * progmodes/subword.el: Fix boundary case (bug#13758).
7332 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7334 (subword-backward-regexp): Make it a constant.
7335 (subword-forward-internal): Don't treat a trailing capital as the
7336 beginning of a word.
7338 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7340 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7341 global value of tabulated-list-revert-hook (bug#14930).
7343 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7345 * desktop.el: Require 'cl-lib.
7346 (desktop-before-saving-frames-functions): New hook.
7347 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7348 for frames being saved. Rename from desktop--save-minibuffer-frames.
7349 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7350 Do not save frames with non-nil `desktop-dont-save' parameter.
7351 Filter out deleted frames.
7352 (desktop--find-frame): Use cl-find-if.
7353 (desktop--select-frame): Use cl-(first|second|third) to access values
7355 (desktop--make-frame): Use cl-delete-if.
7356 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7357 (desktop-restore-frames): Use cl-(first|second|third) to access values
7358 of desktop-mini. Look for visible frame at the end, not while
7361 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7362 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7363 Use string-match-p, looking-at-p (bug#14927).
7365 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7367 * desktop.el (desktop-saved-frame-states):
7368 Rename from desktop--saved-states; all users changed.
7369 (desktop-save-frames): Rename from desktop--save-frames.
7370 Do not save state to desktop file.
7371 (desktop-save): Save desktop-saved-frame-states to desktop file
7373 (desktop-restoring-frames-p): New function.
7374 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7375 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7376 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7378 * desktop.el: Correctly restore iconified frames.
7379 (desktop--filter-iconified-position): New function.
7380 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7382 2013-07-20 Glenn Morris <rgm@gnu.org>
7384 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7385 Let `message' do the formatting.
7386 (def-gdb-preempt-display-buffer): Add explicit format.
7388 * image-dired.el (image-dired-track-original-file):
7389 Use with-current-buffer.
7390 (image-dired-track-thumbnail): Use with-current-buffer.
7391 Avoid changing point of wrong window.
7393 * image-dired.el (image-dired-track-original-file):
7394 Avoid changing point of wrong window. (Bug#14909)
7396 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7398 * progmodes/gdb-mi.el (gdb-done-or-error):
7399 Guard against "%" in gdb output. (Bug#14127)
7401 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7403 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7406 * international/mule.el (coding-system-iso-2022-flags): Fix last
7409 2013-07-20 Kenichi Handa <handa@gnu.org>
7411 * international/mule.el (coding-system-iso-2022-flags):
7412 Add `8-bit-level-4'. (Bug#8522)
7414 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7416 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7419 * net/eww.el (eww-process-text-input): Allow inputting when the
7420 point is at the start of the line, as the properties aren't
7423 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7426 2013-07-19 Richard Stallman <rms@gnu.org>
7428 * epa.el (epa-popup-info-window): Doc fix.
7430 * subr.el (split-string): New arg TRIM.
7432 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7434 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7435 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7437 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7439 * filenotify.el (file-notify--library): Rename from
7440 `file-notify-support'. Do not autoload. Adapt all uses.
7441 (file-notify-supported-p): New defun.
7443 * autorevert.el (auto-revert-use-notify):
7444 Use `file-notify-supported-p' instead of `file-notify-support'.
7446 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7448 * net/tramp.el (tramp-file-name-for-operation):
7449 Add `file-notify-supported-p'.
7451 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7453 (tramp-sh-file-name-handler-alist): Add it as handler for
7454 `file-notify-supported-p '.
7456 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7457 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7458 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7459 Add `ignore' as handler for `file-notify-*' functions.
7461 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7463 * simple.el (line-move-partial, line-move): Don't start vscroll or
7464 scroll-up if the current line is not taller than the window.
7467 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7469 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7470 highlight question marks in the method names as strings.
7471 (ruby-block-beg-keywords): Inline.
7472 (ruby-font-lock-keyword-beg-re): Extract from
7473 `ruby-font-lock-keywords'.
7475 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7477 * frame.el (blink-cursor-blinks): New defcustom.
7478 (blink-cursor-blinks-done): New defvar.
7479 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7480 (blink-cursor-timer-function): Check if number of blinks has been
7482 (blink-cursor-suspend, blink-cursor-check): New defuns.
7484 2013-07-15 Glenn Morris <rgm@gnu.org>
7486 * edmacro.el (edmacro-format-keys): Fix previous change.
7488 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7490 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7491 The hack didn't work outside English locales anyway.
7493 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7495 * simple.el (define-alternatives): Rename from alternatives-define,
7496 per RMS' suggestion.
7498 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7500 * desktop.el (desktop-restore-frames): Change default to t.
7501 (desktop-restore-in-current-display): Now offer more options.
7502 (desktop-restoring-reuses-frames): New customization option.
7503 (desktop--saved-states): Doc fix.
7504 (desktop-filter-parameters-alist): New variable, renamed and expanded
7505 from desktop--excluded-frame-parameters.
7506 (desktop--target-display): New variable.
7507 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7508 (desktop--filter-tty*, desktop--filter-*-color)
7509 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7510 (desktop--filter-save-desktop-parm)
7511 (desktop-restore-in-original-display-p): New functions.
7512 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7513 (desktop--save-minibuffer-frames): New function, inspired by a similar
7514 function from Martin Rudalics.
7515 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7516 (desktop--restore-in-this-display-p): Remove.
7517 (desktop--find-frame): Rename from desktop--find-frame-in-display
7518 and add predicate argument.
7519 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7520 (desktop--reuse-list): New variable.
7521 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7523 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7525 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7527 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7529 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7531 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7532 Highlight conversion methods on Kernel.
7534 2013-07-13 Alan Mackenzie <acm@muc.de>
7536 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7537 and comment it out. This out-commenting enables certain C++
7538 declarations to be parsed correctly.
7540 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7542 * international/mule.el (define-coding-system): Doc fix.
7544 * simple.el (default-font-height): Don't call font-info if the
7545 frame's default font didn't change since the frame was created.
7548 2013-07-13 Leo Liu <sdl.web@gmail.com>
7550 * ido.el (ido-read-file-name): Guard against non-symbol value.
7552 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7554 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7557 2013-07-13 Leo Liu <sdl.web@gmail.com>
7559 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7560 ido-set-matches call. (Bug#6852)
7562 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7564 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7565 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7567 (ruby-font-lock-keywords): Distinguish calls to functions with
7568 module-like names from module references. Highlight character
7571 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7573 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7574 (gdb-send): Handle continued commands. (Bug#14847)
7576 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7578 * desktop.el (desktop--v2s): Remove unused local variable.
7579 (desktop-save-buffer): Make defvar-local; adjust docstring.
7580 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7581 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7583 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7585 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7587 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7589 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7592 2013-07-12 Glenn Morris <rgm@gnu.org>
7594 * doc-view.el: Require cl-lib at runtime too.
7595 (doc-view-remove-if): Remove.
7596 (doc-view-search-next-match, doc-view-search-previous-match):
7599 * edmacro.el: Require cl-lib at runtime too.
7600 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7601 (edmacro-mismatch, edmacro-subseq): Remove.
7603 * shadowfile.el: Require cl-lib.
7604 (shadow-remove-if): Remove.
7605 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7608 * wid-edit.el: Require cl-lib.
7609 (widget-choose): Use cl-remove-if.
7610 (widget-remove-if): Remove.
7612 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7613 (ebrowse-delete-if-not): Remove.
7614 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7615 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7616 Use cl-delete-if-not.
7618 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7620 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7621 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7623 2013-07-12 Leo Liu <sdl.web@gmail.com>
7625 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7627 2013-07-11 Glenn Morris <rgm@gnu.org>
7629 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7630 (edebug-gensym-index, edebug-gensym):
7631 Remove reimplementation of cl-gensym.
7632 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7634 * thumbs.el: Require cl-lib at run-time too.
7635 (thumbs-gensym-counter, thumbs-gensym):
7636 Remove reimplementation of cl-gensym.
7637 (thumbs-temp-file): Use cl-gensym.
7639 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7640 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7641 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7642 (ert--union, ert--gensym-counter, ert--gensym-counter)
7643 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7644 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7645 (ert-make-test-unbound, ert--expand-should-1)
7646 (ert--expand-should, ert--should-error-handle-error)
7647 (should-error, ert--explain-equal-rec)
7648 (ert--plist-difference-explanation, ert-select-tests)
7649 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7650 Use cl-lib functions rather than reimplementations.
7652 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7654 * net/tramp.el (tramp-methods): Extend docstring.
7655 (tramp-connection-timeout): New defcustom.
7656 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7657 (with-tramp-progress-reporter): Simplify.
7658 (tramp-process-actions): Improve messages.
7660 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7661 * net/tramp-sh.el (tramp-maybe-open-connection):
7662 Use `tramp-connection-timeout'.
7663 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7666 2013-07-11 Leo Liu <sdl.web@gmail.com>
7668 * ido.el (ido-read-file-name): Conform to the requirements of
7669 read-file-name. (Bug#11861)
7670 (ido-read-directory-name): Conform to the requirements of
7671 read-directory-name.
7673 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7675 * subr.el (delay-warning): New function.
7677 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7679 * simple.el (default-line-height): New function.
7680 (line-move-partial, line-move): Use it instead of computing the
7682 (line-move-partial): Always compute ROWH. If the last line is
7683 partially-visible, but its text is completely visible, allow
7684 cursor to enter such a partially-visible line.
7686 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7688 Improve error messages. (Bug#14808)
7690 * net/tramp.el (tramp-current-connection): New defvar, moved from
7692 (tramp-message-show-progress-reporter-message): Remove, not
7694 (tramp-error-with-buffer): Show message in minibuffer.
7695 Discard input before waiting. Reset connection timestamp.
7696 (with-tramp-progress-reporter): Improve messages.
7697 (tramp-process-actions): Use progress reporter. Delete process in
7698 case of error. Improve messages.
7700 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7701 Call `tramp-error-with-buffer' with vector and buffer.
7702 (tramp-current-connection): Remove.
7703 (tramp-maybe-open-connection): The car of
7704 `tramp-current-connection' are the first 3 slots of the vector.
7706 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7708 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7709 inside continued strings.
7711 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7713 Timestamp fixes for undo (Bug#14824).
7714 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7716 2013-07-10 Leo Liu <sdl.web@gmail.com>
7718 * files.el (require-final-newline): Allow safe local value.
7721 2013-07-09 Leo Liu <sdl.web@gmail.com>
7723 * ido.el (ido-read-directory-name): Handle fallback.
7724 (ido-read-file-name): Update DIR to ido-current-directory.
7726 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7728 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7730 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7731 "autoload". Remove "warn lower camel case" section, previously
7732 commented out. Highlight negation char. Do not highlight the
7733 target in singleton method definitions.
7735 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7737 * faces.el (tty-setup-hook): Declare the hook.
7739 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7740 and detect when a guard/pred depends on local vars (bug#14773).
7741 (pcase--u1): Adjust caller.
7743 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7745 * simple.el (line-move-partial, line-move): Account for
7747 (line-move-partial): Avoid setting vscroll when the last
7748 partially-visible line in window is of default height.
7750 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7755 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7757 * subr.el (read-quoted-char): Remove unused local variable `char'.
7759 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7761 * ediff.el (ediff-version): Version update.
7762 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7763 (ediff-merge-with-ancestor-command, ediff-directories-command)
7764 (ediff-directories3-command, ediff-merge-directories-command)
7765 (ediff-merge-directories-with-ancestor-command): New functions.
7766 All are command-line interfaces to ediff: to facilitate calling
7767 Emacs with the appropriate ediff functions invoked.
7769 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7770 (viper-save-kill-buffer): Check if buffer is modified.
7772 * viper.el (viper-version): Version update.
7773 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7775 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7777 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7778 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7779 (viper-intercept-ESC-key): Simplify.
7780 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7781 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7782 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7783 (viper-setup-ESC-to-escape): New functions.
7784 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7785 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7787 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7789 * simple.el (default-font-height, window-screen-lines):
7791 (line-move, line-move-partial): Use them instead of
7792 frame-char-height and window-text-height. This makes scrolling
7793 text smoother when the buffer's default face uses a font that is
7794 different from the frame's default font.
7796 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7798 * files.el (write-file): Do not display confirm dialog for NS,
7799 it does its own dialog, which can't be canceled (Bug#14578).
7801 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7803 * simple.el (line-move-partial): Adjust the row returned by
7804 posn-at-point for the current window-vscroll. (Bug#14567)
7806 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7808 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7809 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7812 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7814 * window.el (window-state-put-stale-windows): New variable.
7815 (window--state-put-2): Save list of windows without matching buffer.
7816 (window-state-put): Remove "bufferless" windows if possible.
7818 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7820 * simple.el (alternatives-define): Remove leftover :group keyword.
7823 2013-07-06 Leo Liu <sdl.web@gmail.com>
7825 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7826 (ido-enable-virtual-buffers): New variable.
7827 (ido-buffer-internal, ido-toggle-virtual-buffers)
7828 (ido-make-buffer-list): Use it.
7829 (ido-exhibit): Support turning on and off virtual buffers
7832 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7834 * simple.el (alternatives-define): New macro.
7836 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7838 * subr.el (read-quoted-char): Use read-key.
7839 (sit-for): Let read-event decode tty input (bug#14782).
7841 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7843 * calendar/todo-mode.el: Add handling of file deletion, both by
7844 mode command and externally. Fix various related bugs.
7845 Clarify Commentary and improve some documentation strings and code.
7846 (todo-delete-file): New command.
7847 (todo-check-file): New function.
7848 (todo-show): Handle external deletion of the file we're trying to
7849 show (bug#14688). Replace called-interactively-p by an optional
7850 prefix argument to avoid problematic interaction with catch form
7851 when byte compiled (bug#14702).
7852 (todo-quit): Handle external deletion of the archive's todo file.
7853 Make sure the buffer that was visiting the archive file is still
7854 live before trying to bury it.
7855 (todo-category-completions): Handle external deletion of any
7856 category completion files.
7857 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7858 of todo files, in case of external deletion.
7859 (todo-add-file): Replace unnecessary setq by let-binding.
7860 (todo-find-archive): Check whether there are any archives.
7861 Replace unnecessary setq by let-binding.
7862 (todo-archive-done-item): Use find-file-noselect to get the
7863 archive buffer whether or not the archive already exists.
7864 Remove superfluous code. Use file size instead of buffer-file-name to
7865 check if the archive is new; if it is, update list of archives.
7866 (todo-default-todo-file): Allow nil to be a valid value for when
7867 there are no todo files.
7868 (todo-reevaluate-default-file-defcustom): Use corrected definition
7869 of todo-default-todo-file.
7870 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7871 (todo-delete-category, todo-show-categories-table)
7872 (todo-category-number): Clarify comment.
7873 (todo-filter-items): Clarify documentation string.
7874 (todo-show-current-file, todo-display-as-todo-file)
7875 (todo-reset-and-enable-done-separator): Tweak documentation string.
7876 (todo-done-separator): Make separator length window-width, since
7877 bug#2749 is now fixed.
7879 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7881 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7882 Support both "gvfs-monitor-dir" and "inotifywait".
7883 (tramp-sh-file-inotifywait-process-filter): Rename from
7884 `tramp-sh-file-notify-process-filter'.
7885 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7886 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7888 2013-07-05 Leo Liu <sdl.web@gmail.com>
7890 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7892 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7894 * frame.el (display-pixel-height, display-pixel-width)
7895 (display-mm-height, display-mm-width): Mention behavior on
7896 multi-monitor setups in docstrings.
7897 (w32-display-monitor-attributes-list): Declare function.
7898 (display-monitor-attributes-list): Use it.
7900 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7902 * filenotify.el: New package.
7904 * autorevert.el (top): Require filenotify.el.
7905 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7907 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7908 (auto-revert-notify-handler): Use `file-notify-*' functions.
7910 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7912 * net/tramp.el (tramp-file-name-for-operation):
7913 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7915 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7916 for `file-notify-add-watch' and `file-notify-rm-watch'.
7917 (tramp-process-sentinel): Improve trace.
7918 (tramp-sh-handle-file-notify-add-watch)
7919 (tramp-sh-file-notify-process-filter)
7920 (tramp-sh-handle-file-notify-rm-watch)
7921 (tramp-get-remote-inotifywait): New defuns.
7923 2013-07-03 Juri Linkov <juri@jurta.org>
7925 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7926 call of `occur-read-primary-args' to interactive spec.
7928 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7929 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7931 2013-07-03 Matthias Meulien <orontee@gmail.com>
7933 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7934 `Buffer-menu-multi-occur'. Add it to the menu.
7935 (Buffer-menu-mode): Document it in docstring.
7936 (Buffer-menu-multi-occur): New command. (Bug#14673)
7938 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7940 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7941 keywords and built-ins.
7943 2013-07-03 Glenn Morris <rgm@gnu.org>
7945 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7947 Make info-xref checks case-sensitive by default
7948 * info.el (Info-find-node, Info-find-in-tag-table)
7949 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7950 Add option for exact case matching of nodes.
7951 * info-xref.el (info-xref): New custom group.
7952 (info-xref-case-fold): New option.
7953 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7955 2013-07-03 Leo Liu <sdl.web@gmail.com>
7957 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7959 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7961 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7962 middle of block statement initially, lower the depth. Remove
7963 FIXME comment, not longer valid. Remove middle of block statement
7964 detection, no need to do that anymore since we've been using
7965 `ruby-parse-region' here.
7967 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7969 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7971 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7973 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7975 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7977 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7978 (desktop-restore-in-current-display): New customization option.
7979 (desktop--excluded-frame-parameters): Add `font'.
7980 (desktop--save-frames): Rename from desktop--save-windows.
7981 (desktop--restore-in-this-display-p): New function.
7982 (desktop--make-full-frame): Remove unwanted width/height from
7983 full(width|height) frames.
7984 (desktop--restore-frames): Rename from desktop--restore-windows.
7985 Obey desktop-restore-current-display. Do not delete old frames or
7986 select a new frame unless we were able to restore at least one frame.
7988 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7990 * files.el (find-file-noselect): Simplify conditional expression.
7992 * textmodes/remember.el (remember-append-to-file):
7993 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7995 Add `remember-notes' function to store random notes across Emacs
7997 * textmodes/remember.el (remember-data-file): Add :set callback to
7998 affect notes buffer (if any).
7999 (remember-notes): New command.
8000 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8001 New defcustoms for the `remember-notes' function.
8002 (remember-notes-save-and-bury-buffer): New command.
8003 (remember-notes-mode-map): New variable.
8004 (remember-mode): New minor mode.
8005 (remember-notes--kill-buffer-query): New function.
8006 * startup.el (initial-buffer-choice): Add notes to custom type.
8008 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8010 * bindings.el (right-char, left-char): Don't call sit-for, this is
8011 no longer needed. Use arithmetic comparison only for numerical
8014 * international/mule-cmds.el (select-safe-coding-system):
8015 Handle the case of FROM being a string correctly. (Bug#14755)
8017 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8019 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8020 progression on degenerate tables.
8021 (shr-rescale-image): ImageMagick animated images currently don't work.
8023 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8025 Some fixes and improvements for desktop frame restoration.
8026 It is still experimental and disabled by default.
8027 * desktop.el (desktop--save-windows): Put the selected frame at
8028 the head of the list.
8029 (desktop--make-full-frame): New function.
8030 (desktop--restore-windows): Try to re-select the frame that was
8031 selected upon saving. Do not abort if some frames fail to restore,
8032 just show an error message and continue. Set up maximized frames
8033 so they have default non-maximized dimensions.
8035 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8037 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8038 Don't start heredoc inside a string or comment.
8040 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8042 * bindings.el (visual-order-cursor-movement): New defcustom.
8043 (right-char, left-char): Provide visual-order cursor motion by
8044 calling move-point-visually. Update the doc strings.
8046 2013-06-28 Kenichi Handa <handa@gnu.org>
8048 * international/mule.el (define-coding-system): New coding system
8049 properties :inhibit-null-byte-detection,
8050 :inhibit-iso-escape-detection, and :prefer-utf-8.
8051 (set-buffer-file-coding-system): If :charset-list property of
8052 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8053 appropriate for setting.
8055 * international/mule-cmds.el (select-safe-coding-system):
8056 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8057 multibyte characters, return utf-8 (or one of its siblings).
8059 * international/mule-conf.el (prefer-utf-8): New coding system.
8060 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8063 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8065 * net/shr.el (shr-render-region): New function.
8067 * net/eww.el: Autoload `eww-browse-url'.
8069 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8071 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8072 Adapt to `package-desc-version' being a list.
8073 Use `package--ac-desc-version' to retrieve version from a package
8076 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8078 New experimental feature to save&restore window and frame setup.
8079 * desktop.el (desktop-save-windows): New defcustom.
8080 (desktop--saved-states): New var.
8081 (desktop--excluded-frame-parameters): New defconst.
8082 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8083 (desktop--restore-windows, desktop--save-windows): New functions.
8084 (desktop-save): Call `desktop--save-windows'.
8085 (desktop-read): Call `desktop--restore-windows'.
8087 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8089 * net/shr.el (add-face-text-property): Remove compat definition.
8091 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8093 * info.el (Info-try-follow-nearest-node): Move search for footnote
8094 above search for node name to prevent missing a footnote (bug#14717).
8096 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8098 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8100 2013-06-27 Leo Liu <sdl.web@gmail.com>
8102 * net/eww.el (eww-read-bookmarks): Check file size.
8104 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8106 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8107 advice--pending if newdef is nil or an autoload (bug#13820).
8108 (advice-mapc): New function.
8110 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8112 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8114 (eww-mode-map): Add a menu bar.
8115 (eww-add-bookmark): New command.
8116 (eww-bookmark-mode): New mode and commands.
8117 (eww-add-bookmark): Remove newlines from the title.
8118 (eww-bookmark-browse): Don't bug out if it's the only window.
8120 2013-06-26 Glenn Morris <rgm@gnu.org>
8122 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8123 (hfy-size): Handle ttys. (Bug#14668)
8125 * info-xref.el: Update for Texinfo 5 change in *note format.
8126 (info-xref-node-re, info-xref-note-re): New constants.
8127 (info-xref-check-buffer): Use info-xref-note-re.
8129 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8133 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8134 nil terminate the loop (bug#14718).
8136 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8138 * net/eww.el: Rework history traversal. When going forward/back,
8139 put these actions into the history, too, so that they can be
8141 (eww-render): Move the history reset to the correct buffer.
8143 2013-06-25 Juri Linkov <juri@jurta.org>
8145 * files-x.el (modify-dir-local-variable): Change the header comment
8146 in the file with directory local variables. (Bug#14692)
8148 * files-x.el (read-file-local-variable-value): Add `default'.
8151 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8153 * net/eww.el (eww-make-unique-file-name): Create a unique file
8154 name before saving to entering `y' accidentally asynchronously.
8156 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8158 * net/eww.el (eww-download): New command and keystroke.
8160 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8162 * net/eww.el (eww-copy-page-url): Change name of command.
8164 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8165 be more consistent with Info and dired.
8167 * net/eww.el (eww-mode-map): Ditto.
8169 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8171 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8172 packages from archives.
8173 (package-archive-contents): Change format; include obsolete packages.
8174 (package-desc): Use `dir' to mark builtin packages.
8175 (package--from-builtin): Set the `dir' field to `builtin'.
8176 (generated-autoload-file, version-control): Declare.
8177 (package-compute-transaction): Change first arg and return value to be
8178 lists of package-descs. Adjust to new package-archive-contents format.
8179 (package--add-to-archive-contents): Adjust to new
8180 package-archive-contents format.
8181 (package-download-transaction): Arg is now a list of package-descs.
8182 (package-install): If `pkg' is a package name, pass it as
8183 a requirement, so it is subject to the usual (e.g. disabled) checks.
8184 (describe-package): Accept package-desc as well.
8185 (describe-package-1): Describe a specific package-desc. Add links to
8186 other package-descs for the same package name.
8187 (package-menu-describe-package): Pass the actual package-desc.
8188 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8190 (package-desc-status): New function.
8191 (package-menu--refresh): New function, extracted
8192 from package-menu--generate.
8193 (package-menu--generate): Use it.
8194 (package-delete): Update package-alist.
8195 (package-menu-execute): Don't call package-initialize.
8197 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8198 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8199 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8200 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8201 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8202 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8204 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8206 * window.el (window--state-get-1): Workaround for bug#14527.
8207 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8209 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8211 * net/eww.el (eww-back-url): Implement the history by stashing all
8212 the data into a list.
8213 (eww-forward-url): Allow going forward in the history, too.
8215 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8217 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8218 for values and use read--expression for expressions (bug#14710).
8219 (read-file-local-variable): Avoid setq.
8220 (read-file-local-variable-mode): Use minor-mode-list.
8222 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8224 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8227 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8229 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8230 Update imenu-support when dialect changes.
8232 2013-06-25 Leo Liu <sdl.web@gmail.com>
8234 * ido.el (ido-read-internal): Allow forward slash on windows.
8236 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8238 * net/eww.el (eww): Start of strings is \\`, not ^.
8240 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8242 * net/shr.el (shr-browse-url): Fix interactive spec.
8244 * net/eww.el (eww): Add a trailing slash to domain names.
8246 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8248 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8250 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8252 * net/shr.el (shr-browse-url): Use an external browser if given a
8255 * net/eww.el (eww-external-browser): Move to shr.
8257 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8259 * net/eww.el (eww): Work more correctly for file: URLs.
8260 (eww-detect-charset): Allow quoted charsets.
8261 (eww-yank-page-url): New command and keystroke.
8263 2013-06-24 Daiki Ueno <ueno@gnu.org>
8265 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8266 file name of gpg executable.
8267 (epg-context-program): New function.
8268 (epg-context-home-directory): New function.
8269 (epg-context-set-program): New function.
8270 (epg-context-set-home-directory): New function.
8271 (epg--start): Use `epg-context-program' instead of
8273 (epg--list-keys-1): Likewise.
8275 2013-06-24 Leo Liu <sdl.web@gmail.com>
8277 * ido.el (ido-read-internal): Fix bug#14620.
8279 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8281 * faces.el (face-documentation): Simplify.
8282 (read-face-attribute, tty-find-type, x-resolve-font-name):
8283 Use `string-match-p'.
8284 (list-faces-display): Use `string-match-p'. Simplify.
8285 (face-spec-recalc): Check face to avoid face alias loops.
8286 (read-color): Use `string-match-p' and non-capturing parenthesis.
8288 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8290 * net/shr.el (shr-rescale-image): Use the new
8291 :max-width/:max-height functionality.
8293 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8295 * net/eww.el (eww-search-prefix): New variable.
8297 (eww-external-browser): New variable.
8298 (eww-mode-map): New keystroke.
8299 (eww-browse-with-external-browser): New command.
8301 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8303 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8305 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8306 Don't skip aligning the next header field when padding is 0;
8307 otherwise, field width is not respected unless the title is as
8310 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8312 * emacs-lisp/package.el (package-el-version): Remove.
8313 (package-process-define-package): Fix inf-loop.
8314 (package-install): Allow symbols as arguments again.
8316 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8318 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8319 add some more keyword-like methods.
8320 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8322 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8324 * bs.el (bs-buffer-show-mark): Make defvar-local.
8325 (bs-mode): Use setq-local.
8327 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8328 (emacs-lock--try-unlocking): Make defvar-local.
8330 2013-06-22 Glenn Morris <rgm@gnu.org>
8332 * play/cookie1.el (cookie-apropos): Minor simplification.
8334 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8336 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8338 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8339 `regexp-opt', it breaks the build during dumping.
8341 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8343 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8344 Highlight keyword-like methods on Kernel and Module with
8345 font-lock-builtin-face.
8346 (auto-mode-alist): Consolidate different entries into one regexp
8347 and add more *file-s.
8349 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8351 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8353 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8354 (diary-entry): Use it in the action of this button type instead of
8357 * calendar/todo-mode.el: New version.
8358 (todo-add-category): Append new category to end of file and give
8359 it the highest number, instead of putting it at the beginning and
8360 giving it 0. Incorporate noninteractive functionality.
8361 (todo-forward-category): Adapt to 1-based category numbering.
8362 Allow skipping over archived categories.
8363 (todo-backward-category): Derive from todo-forward-category.
8364 (todo-backward-item, todo-forward-item): Make noninteractive and
8365 delegate interactive part to new commands. Make sensitive to done items.
8366 (todo-categories): Make value an alist of category names and
8367 vectors of item counts.
8368 (todo-category-beg): Make a defconst.
8369 (todo-category-number): Use 1 instead of 0 as initial value.
8370 (todo-category-select): Make sensitive to overlays, optional item
8371 highlighting and done items.
8372 (todo-delete-item): Make sensitive to overlays and marked and done items.
8373 (todo-edit-item): Make sensitive to overlays and editing of
8374 date/time header optional. Add format checks.
8375 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8376 no-op if point is not on an item. Advertise using todo-edit-quit.
8377 (todo-edit-mode): Make sensitive to new format, font-locking, and
8378 multiple todo files.
8379 (todo-insert-item, todo-insert-item-here): Derive from
8380 todo-basic-insert-item and extend functionality.
8381 (todo-item-end, todo-item-start): Make sensitive to done items.
8382 (todo-item-string): Don't return text properties. Restore point.
8383 (todo-jump-to-category): Make sensitive to multiple todo files and
8384 todo archives. Use extended category completion.
8385 (todo-lower-item, todo-raise-item): Rename to *-priority and
8386 derive from todo-set-item-priority.
8387 (todo-mode): Derive from special-mode. Make sensitive to new
8388 format, font-locking and multiple todo files. Make read-only.
8389 (todo-mode-map): Don't suppress digit keys, so they can supply
8390 prefix arguments. Add many new key bindings.
8391 (todo-prefix): Insert as an overlay instead of file text.
8392 Change semantics from diary date expression to purely visual mark.
8393 (todo-print): Rename to todo-print-buffer. Make buffer display
8394 features printable. Remove option to restrict number of items
8395 printed. Add option to print to file.
8396 (todo-print-function): Rename to todo-print-buffer-function.
8397 (todo-quit): Extend to handle exiting new todo modes.
8398 (todo-remove-item): Make sensitive to overlays.
8399 (todo-save): Extend to buffers of filtered items.
8400 (todo-show): Make sensitive to done items, multiple todo files and
8401 new todo modes. Offer to convert legacy todo file before creating
8402 first new todo file.
8403 (todo-show-priorities): Rename to todo-top-priorities.
8404 Change semantics of value 0.
8405 (todo-top-priorities): Rename to todo-filter-top-priorities,
8406 derive from todo-filter-items and extend functionality.
8407 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8408 and extend functionality to other types of filtered items.
8409 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8410 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8411 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8412 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8413 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8414 (todo-edit-mode-hook, todo-entry-prefix-function)
8415 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8416 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8417 (todo-initials, todo-insert-threshold, todo-item-string-start)
8418 (todo-line-string, todo-menu, todo-mode-hook)
8419 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8420 (todo-print-priorities, todo-remove-separator)
8421 (todo-save-top-priorities-too, todo-string-count-lines)
8422 (todo-string-multiline-p, todo-time-string-format)
8423 (todo-tmp-buffer-name): Remove.
8424 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8425 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8426 (todo-edit-category-diary-inclusion)
8427 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8428 (todo-edit-file, todo-edit-item-date-day)
8429 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8430 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8431 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8432 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8433 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8434 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8435 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8436 (todo-filter-top-priorities-multifile, todo-find-archive)
8437 (todo-find-filtered-items-file, todo-go-to-source-item)
8438 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8439 (todo-jump-to-archive-category, todo-lower-category)
8440 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8441 (todo-move-category, todo-move-item, todo-next-button)
8442 (todo-next-item, todo-padded-string, todo-powerset)
8443 (todo-previous-button, todo-previous-item)
8444 (todo-print-buffer-to-file, todo-raise-category)
8445 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8446 (todo-set-category-number, todo-set-item-priority)
8447 (todo-set-top-priorities-in-category)
8448 (todo-set-top-priorities-in-file, todo-show-categories-table)
8449 (todo-sort-categories-alphabetically-or-numerically)
8450 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8451 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8452 (todo-toggle-item-header, todo-toggle-item-highlighting)
8453 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8454 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8455 (todo-unarchive-items, todo-unmark-category): New commands.
8456 (todo-absolute-file-name, todo-add-to-buffer-list)
8457 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8458 (todo-basic-insert-item, todo-category-completions)
8459 (todo-category-number, todo-category-string-matcher-1)
8460 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8461 (todo-check-format, todo-clear-matches)
8462 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8463 (todo-current-category, todo-date-string-matcher)
8464 (todo-define-insertion-command, todo-diary-expired-matcher)
8465 (todo-diary-goto-entry, todo-diary-item-p)
8466 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8467 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8468 (todo-done-item-section-p, todo-done-separator)
8469 (todo-done-string-matcher, todo-files, todo-filter-items)
8470 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8471 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8472 (todo-insert-category-line, todo-insert-item-from-calendar)
8473 (todo-insert-sort-button, todo-insert-with-overlays)
8474 (todo-insertion-command-name, todo-insertion-key-bindings)
8475 (todo-label-to-key, todo-longest-category-name-length)
8476 (todo-make-categories-list, todo-mode-external-set)
8477 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8478 (todo-modes-set-3, todo-multiple-filter-files)
8479 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8480 (todo-read-category, todo-read-date, todo-read-dayname)
8481 (todo-read-file-name, todo-read-time)
8482 (todo-reevaluate-category-completions-files-defcustom)
8483 (todo-reevaluate-default-file-defcustom)
8484 (todo-reevaluate-filelist-defcustoms)
8485 (todo-reevaluate-filter-files-defcustom)
8486 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8487 (todo-reset-done-separator, todo-reset-done-separator-string)
8488 (todo-reset-done-string, todo-reset-global-current-todo-file)
8489 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8490 (todo-reset-prefix, todo-set-categories)
8491 (todo-set-date-from-calendar, todo-set-show-current-file)
8492 (todo-set-top-priorities, todo-short-file-name)
8493 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8494 (todo-total-item-counts, todo-update-buffer-list)
8495 (todo-update-categories-display, todo-update-categories-sexp)
8496 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8498 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8500 (todo-categories, todo-display, todo-edit, todo-faces)
8501 (todo-filtered): New defgroups.
8502 (todo-archived-only, todo-button, todo-category-string, todo-date)
8503 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8504 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8505 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8506 (todo-add-item-if-new-category, todo-always-add-time-string)
8507 (todo-categories-align, todo-categories-archived-label)
8508 (todo-categories-category-label, todo-categories-diary-label)
8509 (todo-categories-done-label, todo-categories-number-separator)
8510 (todo-categories-todo-label, todo-categories-totals-label)
8511 (todo-category-completions-files, todo-completion-ignore-case)
8512 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8513 (todo-done-separator-string, todo-done-string)
8514 (todo-files-function, todo-filter-done-items, todo-filter-files)
8515 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8516 (todo-initial-category, todo-initial-file, todo-item-mark)
8517 (todo-legacy-date-time-regexp, todo-mode-line-function)
8518 (todo-nondiary-marker, todo-number-prefix)
8519 (todo-print-buffer-function, todo-show-current-file)
8520 (todo-show-done-only, todo-show-first, todo-show-with-done)
8521 (todo-skip-archived-categories, todo-top-priorities-overrides)
8522 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8523 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8525 (todo-category-done, todo-date-pattern, todo-date-string-start)
8526 (todo-diary-items-buffer, todo-done-string-start)
8527 (todo-filtered-items-buffer, todo-item-start)
8528 (todo-month-abbrev-array, todo-month-name-array)
8529 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8530 (todo-top-priorities-buffer): New defconsts.
8531 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8532 (todo-categories-with-marks, todo-category-string-face)
8533 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8534 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8535 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8536 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8537 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8538 (todo-font-lock-keywords, todo-global-current-todo-file)
8539 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8540 (todo-insertion-commands-args)
8541 (todo-insertion-commands-args-genlist)
8542 (todo-insertion-commands-names, todo-insertion-map)
8543 (todo-key-bindings-t, todo-key-bindings-t+a)
8544 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8545 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8546 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8547 (todo-visited): New variables.
8549 2013-06-21 Glenn Morris <rgm@gnu.org>
8551 * play/cookie1.el (cookie-apropos): Add optional display argument.
8552 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8553 (psychoanalyze-pinhead): Use cookie-doctor.
8555 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8557 * emacs-lisp/package.el (tar-get-file-descriptor)
8558 (tar--extract): Declare.
8560 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8562 Extend flymake's warning predicate to be a function (bug#14217).
8563 * progmodes/flymake.el (flymake-warning-predicate): New.
8564 (flymake-parse-line): Use it.
8565 (flymake-warning-re): Make obsolete alias to
8566 `flymake-warning-predicate'.
8568 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8570 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8571 (package-obsolete-list): Remove.
8572 (package-activate): Remove min-version argument. Add `force' argument.
8573 Adjust to new package-alist format.
8574 (package-mark-obsolete): Remove.
8575 (package-unpack): Force reload of the package's autoloads.
8576 (package-installed-p): Check builtins if the installed package is not
8578 (package-initialize): Don't reset package-obsolete-list.
8579 Don't specify which package version to activate.
8580 (package-process-define-package, describe-package-1)
8581 (package-menu--generate): Adjust to new package-alist format.
8583 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8585 * allout-widgets.el (allout-widgets-mode-off)
8586 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8587 (allout-widgets-post-command-business)
8588 (allout-widgets-after-copy-or-kill-function)
8589 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8590 (allout-decorate-item-and-context)
8591 (allout-graphics-modification-handler): Fix typos in docstrings.
8592 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8594 * cmuscheme.el (scheme-start-file): Doc fix.
8595 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8596 (scheme-input-filter): Use `string-match-p'.
8598 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8600 * dired-x.el: Use Dired consistently in docstrings.
8602 * dired.el: Use Dired consistently in docstrings.
8603 (dired-readin, dired-mode): Use `setq-local'.
8604 (dired-switches-alist): Make defvar-local.
8605 (dired-buffers-for-dir): Use `zerop'.
8606 (dired-safe-switches-p, dired-switches-escape-p)
8607 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8608 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8609 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8610 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8611 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8612 (dired-toggle-marks, dired-mark-files-containing-regexp)
8613 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8614 (dired-flag-auto-save-files, dired-flag-backup-files):
8616 (dired-mark-files-regexp, dired-build-subdir-alist):
8617 Use `string-match-p', `looking-at-p'.
8619 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8620 (direct-print-region-helper): Use `string-match-p'.
8622 2013-06-21 Leo Liu <sdl.web@gmail.com>
8624 * comint.el (comint-redirect-results-list-from-process):
8627 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8629 * net/eww.el (eww-update-header-line-format): Quote % characters.
8631 2013-06-21 Glenn Morris <rgm@gnu.org>
8633 * play/cookie1.el (cookie): New custom group.
8634 (cookie-file): New option.
8635 (cookie-check-file): New function.
8636 (cookie): Make it interactive. Make start and end messages optional.
8637 Interactively, display the result. Default to cookie-file.
8638 (cookie-insert): Default to cookie-file.
8639 (cookie-snarf): Make start and end messages optional.
8640 Default to cookie-file. Use with-temp-buffer.
8641 (cookie-read): Rename from read-cookie.
8642 Make start and end messages optional. Default to cookie-file.
8643 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8645 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8646 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8648 2013-06-21 Leo Liu <sdl.web@gmail.com>
8650 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8652 2013-06-21 Glenn Morris <rgm@gnu.org>
8654 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8656 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8657 Daniel Hackney <dan@haxney.org>
8659 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8660 Consolidate the single-file vs tarball code.
8661 (package-desc-suffix): New function.
8662 (package-desc-full-name): Don't bother inlining it.
8663 (package-load-descriptor): Return the new package-desc.
8664 (package-mark-obsolete): Remove unused arg `package'.
8665 (package-unpack): Make it work for single files as well.
8666 Make it update package-alist.
8667 (package--make-autoloads-and-stuff): Rename from
8668 package--make-autoloads-and-compile. Don't compile any more.
8669 (package--compile): New function.
8670 (package-generate-description-file): New function, extracted from
8671 package-unpack-single.
8672 (package-unpack-single): Remove.
8673 (package--with-work-buffer): Add indentation and debugging info.
8674 (package-download-single): Remove.
8675 (package-install-from-archive): Rename from package-download-tar, make
8676 it take a pkg-desc, and make it work for single files as well.
8677 (package-download-transaction): Simplify.
8678 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8679 external tar program.
8680 (package-install-from-buffer): Remove `pkg-desc' argument.
8681 Use package-tar-file-info for tar-mode buffers.
8682 (package-install-file): Simplify accordingly.
8683 (package-archive-base): Change to take a pkg-desc.
8684 * tar-mode.el (tar--check-descriptor): New function, extracted from
8686 (tar-get-descriptor): Use it.
8687 (tar-get-file-descriptor): New function.
8688 (tar--extract): New function, extracted from tar-extract.
8689 (tar--extract): Use it.
8690 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8691 case the summary uses non-ascii. Adjust to new calling convention of
8692 package-tar-file-info.
8694 2013-06-21 Leo Liu <sdl.web@gmail.com>
8696 * comint.el (comint-redirect-results-list-from-process):
8697 Fix random delay. (Bug#14681)
8699 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8701 * profiler.el (profiler-format-number): Use log, not log10.
8703 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8705 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8707 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8709 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8710 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8712 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8713 (AUTOGENEL): ... here.
8714 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8715 (cl--defsubst-expand): Use it.
8717 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8719 * subr.el (log10): Move here from C code, and declare as obsolete.
8720 All uses of (log10 X) replaced with (log X 10).
8722 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8724 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8725 Declare with `defvar-local'.
8726 (tabulated-list-use-header-line, tabulated-list-entries)
8727 (tabulated-list-padding, tabulated-list-printer)
8728 (tabulated-list-sort-key): Declare with `defvar-local'.
8729 (tabulated-list-init-header, tabulated-list-print-fake-header):
8732 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8734 * arc-mode.el (archive-mode): Add `archive-write-file' to
8735 `write-contents-functions' also for remote files. (Bug#14652)
8737 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8739 * cus-edit.el (custom-commands): Fix typos.
8740 (custom-display): Fix tooltip text.
8741 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8742 Fix typos in docstrings.
8743 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8744 (custom-unlispify-menu-entry, custom-magic-value-create)
8745 (custom-add-see-also, custom-group-value-create): Use ?\s.
8746 (custom-guess-type, customize-apropos, editable-field)
8747 (custom-face-value-create): Use `string-match-p'.
8748 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8750 * custom.el (custom-load-symbol): Use `string-match-p'.
8752 * ansi-color.el: Convert to lexical binding.
8753 (ansi-colors): Fix URL.
8754 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8755 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8756 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8758 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8760 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8762 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8764 2013-06-19 Tom Tromey <tromey@redhat.com>
8766 * net/eww.el (eww-top-url): Remove.
8767 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8768 (eww-render): Set new variables. Don't set eww-top-url.
8769 (eww-handle-link): Handle "prev", "home", and "contents".
8770 Downcase the rel text.
8771 (eww-top-url): Choose best top URL.
8773 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8775 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8776 relying in widget.el. Using widget.el leads to too many
8777 user interface inconsistencies.
8778 (eww-self-insert): Implement entering commands in text fields.
8779 (eww-process-text-input): New function to make text input field editing
8781 (eww-submit): Rewrite to use the new-style form methods.
8782 (eww-select-display): Display the correct selected item.
8783 (eww-change-select): Implement changing the select value.
8784 (eww-toggle-checkbox): Implement radio/checkboxes.
8785 (eww-update-field): Fix compilation error.
8786 (eww-tag-textarea): Implement <textarea>.
8788 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8789 we don't shadow mode-specific bindings.
8791 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8794 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8796 2013-06-19 Glenn Morris <rgm@gnu.org>
8798 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8800 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8802 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8805 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8807 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8809 * net/browse-url.el (browse-url-browser-function):
8810 `eww-browse-url' has the right calling signature, `eww' does not.
8812 2013-06-19 Glenn Morris <rgm@gnu.org>
8814 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8815 Only eval autoloaded macros.
8816 (byte-compile-autoload): Only give the macro warning for macros.
8818 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8819 (ps-underlined-faces): Declare.
8821 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8822 (speedbar-add-supported-extension): Declare.
8824 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8825 Don't include a date stamp in the header of the generated file;
8826 it leads to needless differences between output files.
8828 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8830 * net/secrets.el (secrets-struct-secret-content-type):
8831 Replace check of introspection data by a test call of "CreateItem".
8832 Some servers do not offer introspection.
8834 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8836 * electric.el (electric-pair-mode): Improve interaction with
8837 electric-layout-mode.
8838 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8839 (electric-pair-syntax): Use text-mode-syntax-table in comments
8841 (electric-pair--insert): New function.
8842 (electric-pair-post-self-insert-function): Use it and
8843 electric--after-char-pos.
8845 2013-06-19 Leo Liu <sdl.web@gmail.com>
8847 * progmodes/octave.el (octave-help): Fix regexp.
8849 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8851 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8852 (shr-table-horizontal-line): Allow nil as a value, and change the
8854 (shr-insert-table-ruler): Respect the nil value.
8856 2013-06-18 Tom Tromey <tromey@barimba>
8858 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8860 (eww-open-file): New defun.
8861 (eww-render): Initialize new variables.
8862 (eww-display-html): Handle "link" and "a".
8863 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8864 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8865 (eww-back-url): Rename from eww-previous-url.
8866 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8869 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8871 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8872 Distinguish ternary operator tokens from slash symbol and slash
8875 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8877 Convert symbol prettification into minor mode and global minor mode.
8879 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8880 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8881 (prettify-symbols--keywords): Rename from
8882 `prog-prettify-symbols-alist' and make a local defvar.
8883 (prettify-symbols--compose-symbol): Rename from
8884 `prog--prettify-font-lock-compose-symbol'.
8885 (prettify-symbols--make-keywords): Rename from
8886 `prog-prettify-font-lock-symbols-keywords' and simplify.
8887 (prog-prettify-install): Remove.
8888 (prettify-symbols-mode): New minor mode, based on
8889 `prog-prettify-install'.
8890 (turn-on-prettify-symbols-mode): New function.
8891 (global-prettify-symbols-mode): New globalized minor mode.
8893 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8894 * progmodes/cfengine.el (cfengine3-mode):
8895 * progmodes/perl-mode.el (perl-mode): Don't call
8896 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8898 2013-06-18 Juri Linkov <juri@jurta.org>
8900 * files-x.el (modify-file-local-variable-message): New function.
8901 (modify-file-local-variable)
8902 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8903 and call `modify-file-local-variable-message' when it's non-nil.
8904 (add-file-local-variable, delete-file-local-variable)
8905 (add-file-local-variable-prop-line)
8906 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8907 and use it. (Bug#9820)
8909 2013-06-18 Juri Linkov <juri@jurta.org>
8911 * emulation/vi.el (vi-shell-op):
8912 * emulation/vip.el (vip-execute-com, ex-command):
8913 * emulation/viper-cmd.el (viper-exec-bang):
8914 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8915 the call of `shell-command-on-region'. (Bug#14637)
8917 * simple.el (shell-command-on-region): Doc fix.
8919 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8921 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8924 2013-06-18 Glenn Morris <rgm@gnu.org>
8926 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8928 * newcomment.el (comment-search-forward, comment-search-backward):
8929 Doc fix. (Bug#14376)
8931 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8933 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8934 (buffer-face-mode-invoke): Doc fix.
8936 2013-06-18 Matthias Meulien <orontee@gmail.com>
8938 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8939 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8941 2013-06-18 Glenn Morris <rgm@gnu.org>
8943 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8944 Replace obsolete function generic-make-keywords with its expansion.
8946 * progmodes/python.el (ffap-alist): Declare.
8948 * textmodes/reftex.el (bibtex-mode-map): Declare.
8950 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8952 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8953 (package-unpack, package-unpack-single): Return the pkg-dir.
8954 (package-download-transaction): Use it to update package-alist.
8956 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8958 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8961 2013-06-17 Juri Linkov <juri@jurta.org>
8963 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8965 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8967 * emacs-lisp/package.el (package-load-descriptor):
8968 Remove `with-syntax-table' call, `read' doesn't need it.
8969 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8971 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8973 * startup.el (command-line): Expand package name returned by
8974 `package--description-file' (bug#14639).
8976 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8978 * emacs-lisp/package.el (package-load-descriptor): Do not call
8979 `emacs-lisp-mode', just use its syntax table.
8981 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8983 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8984 `font-lock-extra-managed-props' if any prettifying keyword is added.
8985 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8986 (prog-mode): Use `setq-local'.
8988 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * international/characters.el (standard-case-table): Set syntax of ?»
8991 and ?« to punctuation.
8993 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8995 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8996 Save relevant match data before calling `syntax-ppss' (bug#14595).
8998 2013-06-15 Juri Linkov <juri@jurta.org>
9000 * files-x.el (modify-file-local-variable-prop-line): Add local
9001 variables to the end of the existing comment on the first line.
9002 Use `file-auto-mode-skip' to skip interpreter magic line,
9003 and also skip XML declaration.
9005 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9007 * startup.el (package--builtin-versions): New var.
9008 (package-subdirectory-regexp): Remove.
9009 (package--description-file): Hard code its value instead.
9011 * emacs-lisp/package.el: Don't activate packages older than builtin.
9012 (package-obsolete-list): Rename from package-obsolete-alist, and make
9013 it into a simple list of package-desc.
9014 (package-strip-version): Remove.
9015 (package-built-in-p): Use package--builtin-versions.
9016 (package-mark-obsolete): Simplify.
9017 (package-process-define-package): Mark it obsolete if older than the
9019 (package-handle-response): Use line-end-position.
9020 (package-read-archive-contents, package--download-one-archive):
9022 (package--add-to-archive-contents): Skip if older than the builtin or
9024 (package-menu-describe-package): Fix last change.
9025 (package-list-unversioned): New var.
9026 (package-menu--generate): Use it.
9028 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9029 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9030 (autoload-builtin-package-versions): New variable.
9031 (autoload-generate-file-autoloads): Use them.
9032 Remove the list of autoloaded functions/macros from the
9033 (autoload...) comments.
9035 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9037 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9039 * simple.el (line-move-partial): Don't jump to the next screen
9040 line as soon as it becomes visible. Instead, continue enlarging
9041 the vscroll until the portion of a tall screen line that's left on
9042 display is about the height of the frame's default font.
9045 2013-06-15 Glenn Morris <rgm@gnu.org>
9047 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9048 compilation-error-regexp-alist void, or local while let-bound.
9050 * progmodes/make-mode.el (makefile-mode-syntax-table):
9051 Treat "=" as punctuation. (Bug#14614)
9053 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9055 * help-fns.el (describe-variable):
9056 Add extra line for permanent-local variables.
9058 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9060 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9061 Add export, import, library. (Bug#9164)
9062 (library): Set indent function.
9064 2013-06-14 Glenn Morris <rgm@gnu.org>
9066 * term/xterm.el (xterm--query):
9067 Stop after first matching handler. (Bug#14615)
9069 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9071 Add support for dired in saveplace.
9072 * dired.el (dired-initial-position-hook): New variable.
9073 (dired-initial-position): Call hook to place cursor position.
9074 * saveplace.el (save-place-to-alist): Add dired position.
9075 (save-place-dired-hook): New function.
9077 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9079 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9080 through a symbol rather than letrec.
9082 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9083 (package-desc): Add `dir' field.
9084 (package-desc-full-name): New function.
9085 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9086 (package-maybe-load-descriptor): Remove.
9087 (package-load-all-descriptors): Just call package-load-descriptor.
9088 (package--disabled-p): New function.
9089 (package-desc-vers, package-desc-doc): Remove aliases.
9090 (package--dir): Remove function.
9091 (package-activate): Check if a package is disabled.
9092 (package-process-define-package): New function, extracted from
9094 (define-package): Turn into a place holder.
9095 (package-unpack-single, package-tar-file-info):
9096 Use package--description-file.
9097 (package-compute-transaction): Use package--disabled-p.
9098 (package-download-transaction): Don't call
9099 package-maybe-load-descriptor since they're all loaded anyway.
9100 (package-install): Change argument to be a pkg-desc.
9101 (package-delete): Use a single pkg-desc argument.
9102 (describe-package-1): Use package-desc-dir instead of package--dir.
9103 Use package-desc property instead of package-symbol.
9104 (package-install-button-action): Adjust accordingly.
9105 (package--push): Rewrite.
9106 (package-menu--print-info): Adjust accordingly. Change the ID format
9108 (package-menu-describe-package, package-menu-get-status)
9109 (package-menu--find-upgrades, package-menu-mark-upgrades)
9110 (package-menu-execute, package-menu--name-predicate):
9112 * startup.el (package--description-file): New function.
9113 (command-line): Use it.
9114 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9115 Use package-desc-version.
9117 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9118 (byte-compile-preprocess): Use it.
9119 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9120 can't quite recognize.
9121 (byte-compile-add-to-list): Remove.
9122 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9123 (cconv-closure-convert): Add assertion.
9125 * emacs-lisp/map-ynp.el: Use lexical-binding.
9126 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9127 Factor out some repeated code.
9129 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9131 * subr.el (with-eval-after-load): New macro.
9132 (eval-after-load): Allow form to be a function.
9133 take advantage of lexical-binding.
9134 (do-after-load-evaluation): Use dolist and adjust to new format.
9135 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9137 2013-06-13 Juri Linkov <juri@jurta.org>
9139 * replace.el (perform-replace): Display "symbol " and other search
9140 modes from `isearch-message-prefix' in the *Help* buffer.
9142 * isearch.el (isearch-query-replace): Add " symbol" and other
9143 possible search modes from `isearch-message-prefix' to the prompt.
9144 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9145 when reading a regexp to collect.
9147 2013-06-13 Juri Linkov <juri@jurta.org>
9149 * isearch.el (word-search-regexp): Match whitespace if the search
9150 string begins or ends in whitespace. The LAX arg is applied to
9151 both ends of the search string. Use `regexp-quote' and explicit
9152 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9153 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9154 boundaries are replaced with symbol boundaries, and characters
9155 between symbols match non-word non-symbol syntax. (Bug#14602)
9157 2013-06-13 Juri Linkov <juri@jurta.org>
9159 * isearch.el (isearch-del-char): Don't exceed the length of
9160 `isearch-string' by the prefix arg. (Bug#14563)
9162 2013-06-13 Juri Linkov <juri@jurta.org>
9164 * isearch.el (isearch-yank-word, isearch-yank-line)
9165 (isearch-char-by-name, isearch-quote-char)
9166 (isearch-printing-char, isearch-process-search-char):
9167 Add optional count prefix arg. (Bug#14563)
9169 * international/isearch-x.el
9170 (isearch-process-search-multibyte-characters):
9171 Add optional count prefix arg.
9173 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9175 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9176 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9179 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9181 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9183 2013-06-13 Glenn Morris <rgm@gnu.org>
9185 * startup.el (tty-handle-args):
9186 Don't just discard "--" and anything after. (Bug#14608)
9188 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9190 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9192 Implement changes in Secret Service API. Make it backward compatible.
9193 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9194 (secrets-create-item): Use it. Prefix properties with interface.
9196 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9198 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9199 (term-emulate-terminal): Respect term-suppress-hard-newline.
9201 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9203 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9204 Only remove a `thumb-file' overlay. (Bug#14548)
9206 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9208 * mail/reporter.el (reporter-submit-bug-report):
9209 Handle missing package-name. (Bug#14600)
9211 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9213 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9214 (reftex-citation-prompt, reftex-default-bibliography)
9215 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9216 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9217 (reftex-bib-sort-author, reftex-bib-sort-year)
9218 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9219 (reftex-extract-bib-entries-from-thebibliography)
9220 (reftex-get-bibkey-default, reftex-get-bib-names)
9221 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9222 (reftex-format-bib-entry, reftex-parse-bibitem)
9223 (reftex-format-bibitem, reftex-do-citation)
9224 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9225 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9226 (reftex-insert-bib-matches, reftex-format-citation)
9227 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9228 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9229 existing comments into docstrings.
9231 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9233 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9235 2013-06-12 Andreas Schwab <schwab@suse.de>
9237 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9238 for auto-save files.
9240 2013-06-12 Glenn Morris <rgm@gnu.org>
9242 * ido.el (ido-delete-ignored-files): Remove.
9243 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9244 Go back to calling ido-ignore-item-p directly.
9246 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9248 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9250 * ido.el (ido-delete-ignored-files): New function,
9251 split from ido-make-file-list-1.
9252 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9253 (ido-make-file-list-1): Use ido-delete-ignored-files.
9255 2013-06-12 Leo Liu <sdl.web@gmail.com>
9257 * progmodes/octave.el (inferior-octave-startup)
9258 (inferior-octave-completion-table)
9259 (inferior-octave-track-window-width-change)
9260 (octave-eldoc-function-signatures, octave-help)
9261 (octave-find-definition): Use single quoted strings.
9262 (inferior-octave-startup-args): Change default value.
9263 (inferior-octave-startup): Do not hard code "-i" and
9264 "--no-line-editing".
9265 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9266 (inferior-octave-directory-tracker): Use it.
9267 (octave-goto-function-definition): Robustify.
9268 (octave-help): Support highlighting operators in 'See also'.
9269 (octave-find-definition): Find subfunctions only in Octave mode.
9271 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9273 * help-fns.el (help-fns--compiler-macro): If the handler function is
9274 named, then put a link to it.
9275 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9276 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9278 (cl-eval-when): Simplify debug spec.
9279 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9280 compiler-macro function instead of setting `compiler-macro-file'.
9282 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9284 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9285 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9287 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9288 Daniel Hackney <dan@haxney.org>
9290 First part of Daniel Hackney's patch to package.el.
9291 * emacs-lisp/package.el: Use defstruct.
9292 (package-desc): New, main struct.
9293 (package--bi-desc, package--ac-desc): New structs, used to describe the
9294 format in external files.
9295 (package-desc-vers): Replace with package-desc-version accessor.
9296 (package-desc-doc): Replace with package-desc-summary accessor.
9297 (package-activate-1): Remove `package' arg since the pkg-vec now
9299 (define-package): Use package-desc-from-define.
9300 (package-unpack-single): Change file-name arg to be a symbol.
9301 (package--add-to-archive-contents): Use package-desc-create and new
9302 accessor functions to package--ac-desc.
9303 (package-buffer-info, package-tar-file-info): Return a package-desc.
9304 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9305 arg to be a package-desc.
9306 (package-install-file): Adjust accordingly. Use \' to match EOS.
9307 (package--from-builtin): New function.
9308 (describe-package-1, package-menu--generate): Use it.
9309 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9310 (package-generate-autoloads): Idem and return the name of the file.
9311 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9312 Change pkg-info arg to be a package-desc.
9313 Use package-make-ac-desc.
9314 (package-upload-file): Use \' to match EOS.
9315 * finder.el (finder-compile-keywords): Use package-make-builtin.
9317 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * vc/vc.el (vc-deduce-fileset): Change error message.
9320 (vc-read-backend): New function.
9321 (vc-next-action): Use it.
9323 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9325 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9326 (prolog-font-lock-keywords): Use regexp-opt instead.
9327 Don't manually highlight strings.
9328 (prolog-mode-variables): Simplify comment-start-skip.
9329 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9331 * emacs-lisp/generic.el (generic--normalise-comments)
9332 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9333 (generic-mode-set-comments): Use them.
9334 (generic-bracket-support): Use setq-local.
9335 (generic-make-keywords-list): Declare obsolete.
9337 2013-06-11 Glenn Morris <rgm@gnu.org>
9339 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9340 Prettify after setting font-lock-defaults. (Bug#14574)
9342 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9344 * replace.el (query-replace, occur-read-regexp-defaults-function)
9346 * subr.el (declare-function, number-sequence, local-set-key)
9347 (substitute-key-definition, locate-user-emacs-file)
9348 (with-silent-modifications, split-string, eval-after-load):
9349 Fix typos, remove unneeded backslashes and reflow some docstrings.
9351 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9353 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9354 default for Elisp files.
9356 2013-06-11 Glenn Morris <rgm@gnu.org>
9358 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9359 although define-derived-mode was doing this anyway. (Bug#14583)
9361 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9363 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9364 Fix make-variable-buffer-local call to refer to the correct variable.
9366 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9368 * eshell/em-term.el (eshell-visual-commands)
9369 (eshell-visual-subcommands, eshell-visual-options):
9370 Add summary line to docstrings. Add cross-references.
9372 2013-06-10 Glenn Morris <rgm@gnu.org>
9374 * epa.el (epa-read-file-name): New function. (Bug#14510)
9375 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9377 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9379 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9380 output redirection to be ignored with visual commands.
9382 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9384 * eshell/em-term.el (eshell-visual-command-p): New function.
9385 (eshell-term-initialize): Move long lambda to separate function
9386 eshell-visual-command-p.
9387 * eshell/em-dirs.el (eshell-dirs-initialise):
9388 * eshell/em-script.el (eshell-script-initialize):
9389 Add missing #' to lambda.
9391 2013-06-08 Leo Liu <sdl.web@gmail.com>
9393 * progmodes/octave.el (octave-add-log-current-defun): New function.
9394 (octave-mode): Set add-log-current-defun-function.
9395 (octave-goto-function-definition): Do not move point if not found.
9396 (octave-find-definition): Enhance to try subfunctions first.
9398 2013-06-08 Glenn Morris <rgm@gnu.org>
9400 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9401 (byte-compile-backward-char, byte-compile-backward-word):
9402 Improve previous change, to handle non-explicit nil.
9404 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9406 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9407 (smie--opener/closer-at-point): New function.
9408 (smie--matching-block-data): Use it. Don't match from right after an
9409 opener or right before a closer. Obey smie-blink-matching-inners.
9410 Don't signal a mismatch for repeated inners like "switch..case..case".
9412 2013-06-07 Leo Liu <sdl.web@gmail.com>
9414 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9416 (octave-function-header-regexp): Fix. (Bug#14570)
9417 (octave-help-mode-finish-hook, octave-help-mode-finish):
9418 Remove. Just use temp-buffer-show-hook.
9420 * newcomment.el (comment-search-backward): Revert last change.
9423 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9425 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9427 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9428 through xargs, to avoid failure due to MS-Windows limitations on
9429 command-line length.
9431 2013-06-06 Glenn Morris <rgm@gnu.org>
9433 * font-lock.el (lisp-font-lock-keywords-2):
9434 Treat user-error like error.
9436 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9437 (byte-compile-backward-char, byte-compile-backward-word):
9438 Handle explicit nil arguments. (Bug#14565)
9440 2013-06-05 Alan Mackenzie <acm@muc.de>
9442 * isearch.el (isearch-allow-prefix): New user option.
9443 (isearch-other-meta-char): Don't exit isearch when a prefix
9444 argument is typed whilst `isearch-allow-prefix' is non-nil.
9447 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9449 * autorevert.el (auto-revert-notify-handler): Use memq.
9450 Hide assertion failure.
9452 * skeleton.el: Use cl-lib.
9453 (skeleton-further-elements): Use defvar-local.
9454 (skeleton-insert): Use cl-progv.
9456 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9458 * progmodes/prog-mode.el (prog-prettify-symbols)
9459 (prog-prettify-install): Update docstrings.
9461 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9463 * simple.el: Move all the prog-mode code to prog-mode.el.
9464 * progmodes/prog-mode.el: New file.
9465 * loadup.el: Add prog-mode.el.
9467 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9469 * simple.el (prog-prettify-symbols): Add version.
9470 (prog-prettify-install): Add convenience function to prettify symbols.
9472 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9473 (perl--augmented-font-lock-keywords-1)
9474 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9475 variables and use it.
9477 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9478 (cfengine3-mode): Remove unneeded variable and use it.
9480 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9481 (lisp--augmented-font-lock-keywords-1)
9482 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9483 Remove unneeded variables and use it.
9485 2013-06-05 João Távora <joaotavora@gmail.com>
9487 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9488 to point when opening the connection. (Bug#14380)
9490 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9492 * subr.el (load-history-regexp, load-history-filename-element)
9493 (eval-after-load, after-load-functions, do-after-load-evaluation)
9494 (eval-next-after-load, display-delayed-warnings)
9495 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9496 definition of save-match-data.
9497 (overriding-local-map): Remove accidental obsolescence declaration.
9499 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9501 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9503 Generalize symbol prettify support to prog-mode and implement it
9504 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9505 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9506 (prog--prettify-font-lock-compose-symbol)
9507 (prog-prettify-font-lock-symbols-keywords): New variables and
9508 functions to support symbol prettification.
9509 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9510 (lisp--augmented-font-lock-keywords-1)
9511 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9512 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9513 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9514 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9515 Implement prettify of -> => :: strings.
9516 * progmodes/perl-mode.el (perl-prettify-symbols)
9517 (perl--font-lock-compose-symbol)
9518 (perl--font-lock-symbols-keywords): Move to prog-mode.
9519 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9520 (perl-font-lock-keywords-1)
9521 (perl-font-lock-keywords-2): Remove explicit prettify support.
9522 (perl--augmented-font-lock-keywords)
9523 (perl--augmented-font-lock-keywords-1)
9524 (perl--augmented-font-lock-keywords-2, perl-mode):
9525 Implement prettify support.
9527 2013-06-05 Leo Liu <sdl.web@gmail.com>
9529 Re-implement smie matching block highlight using
9530 show-paren-data-function. (Bug#14395)
9531 * emacs-lisp/smie.el (smie-matching-block-highlight)
9532 (smie--highlight-matching-block-overlay)
9533 (smie--highlight-matching-block-lastpos)
9534 (smie-highlight-matching-block)
9535 (smie-highlight-matching-block-mode): Remove.
9536 (smie--matching-block-data-cache): New variable.
9537 (smie--matching-block-data): New function.
9538 (smie-setup): Use smie--matching-block-data for
9539 show-paren-data-function.
9541 * progmodes/octave.el (octave-mode-menu): Fix.
9542 (octave-find-definition): Skip garbage lines.
9544 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9546 Fix compilation error with simultaneous dynamic+lexical scoping.
9547 Add warning when a defvar appears after the first let-binding.
9548 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9549 (byte-compile-close-variables): Initialize it.
9550 (byte-compile--declare-var): New function.
9551 (byte-compile-file-form-defvar)
9552 (byte-compile-file-form-define-abbrev-table)
9553 (byte-compile-file-form-custom-declare-variable): Use it.
9554 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9555 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9556 (byte-compile-bind): Handle dynamic bindings that shadow
9558 (byte-compile-unbind): Make arg non-optional.
9559 (byte-compile-let): Simplify.
9560 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9561 (cconv--analyse-function, cconv-analyse-form): Populate it.
9562 Protect byte-compile-bound-variables to limit the scope of defvars.
9563 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9564 Remove unneeded rule for `declare'.
9566 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9567 so as to avoid depending on cl-adjoin at run-time.
9568 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9570 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9571 (macroexp--warn-and-return): Use it.
9573 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9575 * subr.el: Convert to lexical binding.
9576 (overriding-local-map): Make obsolete.
9577 (add-to-list): Doc fix. Add compiler macro.
9578 (read-key): Swap values of local maps.
9580 2013-06-05 Leo Liu <sdl.web@gmail.com>
9582 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9584 2013-06-04 Leo Liu <sdl.web@gmail.com>
9586 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9587 (compilation-auto-jump): Suppress the "Mark set" message to give
9588 way to exit message.
9590 2013-06-04 Alan Mackenzie <acm@muc.de>
9592 Remove faulty optimisation from indentation calculation.
9593 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9594 search limit based on 2000 characters back from indent-point.
9596 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9598 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9600 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9602 * emacs-lisp/lisp.el: Use lexical-binding.
9603 (lisp--local-variables-1, lisp--local-variables): New functions.
9604 (lisp--local-variables-completion-table): New var.
9605 (lisp-completion-at-point): Use it complete let-bound vars.
9607 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9608 eagerly (bug#14422).
9610 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9612 * autorevert.el (auto-revert-notify-enabled)
9613 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9614 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9615 (auto-revert-notify-handler): Handle also gfilenotify.
9617 * subr.el (file-notify-handle-event): New defun. Replacing ...
9618 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9621 2013-06-03 Juri Linkov <juri@jurta.org>
9623 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9624 `M-s h .'. (Bug#14427)
9626 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9627 command `hi-lock-face-symbol-at-point'.
9628 (hi-lock-face-symbol-at-point): New command.
9629 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9630 (hi-lock-menu): Add `highlight-symbol-at-point'.
9631 (hi-lock-mode): Doc fix.
9633 * isearch.el (isearch-forward-symbol-at-point): New command.
9634 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9635 (isearch-highlight-regexp): Add a regexp which matches
9636 words/symbols for word/symbol mode.
9638 * subr.el (find-tag-default-bounds): New function with the body
9639 mostly moved from `find-tag-default'.
9640 (find-tag-default): Move most code to `find-tag-default-bounds',
9641 call it and apply `buffer-substring-no-properties' afterwards.
9643 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9645 * eshell/em-term.el (eshell-term-initialize):
9646 Use `cl-intersection' rather than `intersection'.
9648 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9650 * vc/log-view.el: Doc fix.
9651 (log-view-mode-map): Copy keymap from `special-mode-map'.
9653 2013-06-02 Eric Ludlam <zappo@gnu.org>
9655 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9656 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9657 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9658 (eieio-unbound, eieio-default-superclass)
9659 (eieio--define-field-accessors, method-static, method-before)
9660 (method-primary, method-after, method-num-lists)
9661 (method-generic-before, method-generic-primary)
9662 (method-generic-after, method-num-slots)
9663 (eieio-specialized-key-to-generic-key)
9664 (eieio--check-type, class-v, class-p)
9665 (eieio-class-name, define-obsolete-function-alias)
9666 (eieio-class-parents-fast, eieio-class-children-fast)
9667 (same-class-fast-p, class-constructor, generic-p)
9668 (generic-primary-only-p, generic-primary-only-one-p)
9669 (class-option-assoc, class-option, eieio-object-p)
9670 (class-abstract-p, class-method-invocation-order)
9671 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9672 (eieio-class-un-autoload, eieio-defclass)
9673 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9674 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9675 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9676 (eieio-defgeneric-reset-generic-form)
9677 (eieio-defgeneric-form-primary-only)
9678 (eieio-defgeneric-reset-generic-form-primary-only)
9679 (eieio-defgeneric-form-primary-only-one)
9680 (eieio-defgeneric-reset-generic-form-primary-only-one)
9681 (eieio-unbind-method-implementations)
9682 (eieio--defmethod, eieio--typep)
9683 (eieio-perform-slot-validation, eieio-validate-slot-value)
9684 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9685 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9686 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9687 (eieio-slot-name-index, eieio-class-slot-name-index)
9688 (eieio-set-defaults, eieio-initarg-to-attribute)
9689 (eieio-attribute-to-initarg, eieio-c3-candidate)
9690 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9691 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9692 (eieio-class-precedence-list, eieio-generic-call-methodname)
9693 (eieio-generic-call-arglst, eieio-generic-call-key)
9694 (eieio-generic-call-next-method-list)
9695 (eieio-pre-method-execution-functions, eieio-generic-call)
9696 (eieio-generic-call-primary-only, eieiomt-method-list)
9697 (eieiomt-optimizing-obarray, eieiomt-install)
9698 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9699 (eieio-generic-form, eieio-defmethod, make-obsolete)
9700 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9701 (defclass): Remove `eval-and-compile' from macro.
9702 (call-next-method, shared-initialize): Instead of using
9703 `scoped-class' variable, use new eieio--scoped-class, and
9704 eieio--with-scoped-class.
9705 (initialize-instance): Rename local variable 'scoped-class' to
9706 'this-class' to remove ambiguitity from old global.
9708 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9710 (eieio--scoped-class-stack): New variable.
9711 (eieio--scoped-class): New fcn.
9712 (eieio--with-scoped-class): New scoping macro.
9713 (eieio-defclass): Use pushnew instead of add-to-list.
9714 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9715 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9716 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9717 `scoped-class' variable, use new eieio--scoped-class, and
9718 eieio--with-scoped-class.
9720 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9722 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9724 * eshell/esh-ext.el (eshell-external-command): Pass args to
9725 `eshell-find-interpreter'.
9726 (eshell-find-interpreter): Add new second parameter ARGS.
9728 * eshell/em-script.el (eshell-script-initialize): Add second arg
9729 to the function added as MATCH to `eshell-interpreter-alist'.
9731 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9732 the function added as MATCH to `eshell-interpreter-alist'.
9734 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9735 (eshell-visual-options): New defcustom.
9736 (eshell-escape-control-x): Adapt docstring.
9737 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9738 `eshell-visual-options' in addition to `eshell-visual-commands'.
9739 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9741 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9743 * progmodes/python.el (python-indent-block-enders): Add break,
9744 continue and raise keywords.
9746 2013-06-01 Glenn Morris <rgm@gnu.org>
9748 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9750 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9751 * progmodes/cc-cmds.el (delete-forward-p):
9752 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9753 * progmodes/cc-engine.el (buffer-syntactic-context):
9754 * progmodes/cc-fonts.el (face-property-instance):
9755 * progmodes/cc-mode.el (set-keymap-parents):
9756 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9757 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9758 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9759 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9760 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9762 * progmodes/cc-vars.el (other): Emacs has this widget since
9763 at least 21.1, so don't (re)define it.
9765 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9766 Replace the obsolete alias pcomplete-arg-quote-list.
9768 2013-06-01 Leo Liu <sdl.web@gmail.com>
9770 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9772 (inferior-octave-minimal-columns)
9773 (inferior-octave-last-column-width): New variables.
9774 (inferior-octave-track-window-width-change): New function.
9775 (inferior-octave-mode): Adjust column width so that Octave output,
9776 for example from 'ls', can fit into the window nicely.
9778 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9780 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9781 Highlight expansions inside regexp literals.
9783 2013-05-31 Glenn Morris <rgm@gnu.org>
9785 * obsolete/sym-comp.el (symbol-complete):
9786 Replace obsolete completion-annotate-function.
9788 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9790 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9792 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9793 New function, checks if point is inside a literal that allows
9794 expression expansion.
9795 (ruby-syntax-propertize-expansion): Use it.
9796 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9799 2013-05-30 Juri Linkov <juri@jurta.org>
9801 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9803 (isearch-invisible): New variable.
9804 (isearch-forward): Doc fix.
9805 (isearch-mode): Set `isearch-invisible'
9806 to the value of `search-invisible'.
9807 (isearch-toggle-case-fold): Doc fix.
9808 (isearch-toggle-invisible): New command.
9809 (isearch-query-replace): Let-bind `search-invisible'
9810 to the value of `isearch-invisible'.
9811 (isearch-search): Use `isearch-invisible' instead of
9812 `search-invisible'. Let-bind `search-invisible'
9813 to the value of `isearch-invisible'. (Bug#11378)
9815 2013-05-30 Juri Linkov <juri@jurta.org>
9817 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9818 call when `query-flag' is nil and `search-invisible' is non-nil.
9821 2013-05-30 Glenn Morris <rgm@gnu.org>
9823 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9825 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9826 (cc-require): Suppress spurious "noruntime" warnings.
9827 (cc-require-when-compile): Use fboundp, for sake of compiler.
9829 * progmodes/cc-mode.el: Move load of cc-vars before that of
9830 cc-langs (which in turn loads cc-vars), to quieten compiler.
9832 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9834 * paren.el: Simplify the code.
9835 (show-paren-mode): Always start the timer.
9836 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9837 (show-paren--overlay, show-paren--overlay-1): Rename from
9838 show-paren-overlay and show-paren-overlay-1, and initialize to an
9839 overlay rather than to nil.
9840 (show-paren-function): Misc cleanup and simplifications.
9842 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9844 * paren.el (show-paren-data-function): New hook.
9845 (show-paren--default): New function, extracted from show-paren-function.
9846 (show-paren-function): Use show-paren-data-function.
9848 2013-05-30 Glenn Morris <rgm@gnu.org>
9850 * ielm.el (ielm-map, ielm-complete-symbol):
9851 Use completion-at-point rather than obsolete functions.
9852 (inferior-emacs-lisp-mode): Doc fix.
9853 Set completion-at-point-functions, rather than
9854 comint-dynamic-complete-functions.
9856 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9857 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9858 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9860 * image.el (image-animated-p): Tweak definition.
9862 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9863 (rlogin-process-connection-type): Tweak default. Add set-after.
9864 (rlogin-host): Doc fix.
9865 (rlogin): Tweak prompt.
9866 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9868 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9869 * progmodes/tcl.el (inferior-tcl-mode-map):
9870 Use completion-at-point rather than obsolete alias.
9872 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9874 * minibuffer.el (read-file-name-completion-ignore-case):
9875 Move before completion--in-region, for eager macro expansion.
9877 2013-05-29 Juri Linkov <juri@jurta.org>
9879 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9880 for total count of matching lines. Add `global-matches' for total
9881 count of matches. Rename `matches' to `lines' for count of
9882 matching lines. Add `matches' for count of matches.
9883 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9884 to `prev-line' for line number of prev match endpt.
9885 Increment `matches' for every match. Print the number of
9886 matching lines in the header.
9887 (occur-context-lines): Rename `lines' to `curr-line'.
9888 Rename `prev-lines' to `prev-line'. (Bug#14017)
9890 2013-05-29 Juri Linkov <juri@jurta.org>
9892 * replace.el (perform-replace): Add `skip-read-only-count',
9893 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9894 Increment them for corresponding conditions and report the number
9895 of skipped occurrences in the final message. (Bug#11746)
9896 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9897 (replace-string, replace-regexp): Doc fix.
9899 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9901 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9903 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9904 prog-mode-map (bug#14504).
9906 2013-05-29 Leo Liu <sdl.web@gmail.com>
9908 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9909 (octave-help): Small simplification.
9911 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9912 off the highlight first.
9914 2013-05-29 Glenn Morris <rgm@gnu.org>
9916 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9917 Handle idlwave-last-system-routine-info-cons-cell being nil.
9919 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9920 (idlwave-write-paths): Simplify via with-temp-buffer.
9922 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9923 * emulation/cua-rect.el: Also load cua-base at run time.
9925 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9926 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9927 (cperl-imenu-on-info): Require imenu.
9929 2013-05-28 Alan Mackenzie <acm@muc.de>
9931 Handle "capitalised keywords" correctly.
9932 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9934 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9936 * eshell/em-unix.el: Add -r option to cp.
9938 2013-05-28 Glenn Morris <rgm@gnu.org>
9940 * vc/vc-arch.el (vc-exec-after): Declare.
9941 (vc-switches): Autoload.
9942 * vc/vc-bzr.el: No need to require vc when compiling.
9943 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9944 (vc-resynch-buffer, vc-dir-refresh): Declare.
9945 (vc-setup-buffer, vc-switches): Autoload.
9946 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9947 (vc-resynch-buffer): Declare.
9948 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9949 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9950 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9951 (grep-read-regexp, grep-read-files, grep-expand-template)
9952 (vc-dir-refresh): Declare.
9953 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9954 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9955 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9956 * vc/vc-mtn.el (vc-exec-after): Declare.
9957 (vc-switches): Autoload.
9958 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9959 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9960 (vc-file-tree-walk): Declare.
9961 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9962 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9963 (vc-tag-precondition, vc-rename-master): Autoload.
9964 * vc/vc-svn.el (vc-exec-after): Declare.
9965 (vc-switches, vc-setup-buffer): Autoload.
9966 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9968 (vc-resynch-buffer): Declare.
9970 * obsolete/fast-lock.el (byte-compile-warnings):
9971 Don't warn about obsolete features in this obsolete file.
9973 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9974 Move definition before use.
9976 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9977 (dun-unix-verbs): Remove dun-zippy.
9978 (dun-zippy): Remove function.
9980 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9982 2013-05-27 Juri Linkov <juri@jurta.org>
9984 * replace.el (replace-search): New function with code moved out
9985 from `perform-replace'.
9986 (replace-highlight, replace-dehighlight): Move function definitions
9987 up closer to `replace-search'. (Bug#11746)
9989 2013-05-27 Juri Linkov <juri@jurta.org>
9991 * replace.el (perform-replace): Ignore invisible matches.
9992 In addition to checking `query-replace-skip-read-only', also
9993 filter out matches by calling `run-hook-with-args-until-failure'
9994 on `isearch-filter-predicates', and also check `search-invisible'
9995 for t or call `isearch-range-invisible'.
9996 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9998 2013-05-27 Juri Linkov <juri@jurta.org>
10000 * isearch.el (isearch-filter-predicates): Rename from
10001 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10002 (isearch-message-prefix): Display text from the property
10003 `isearch-message-prefix' of the currently active filters.
10004 (isearch-search): Don't compare `isearch-filter-predicate' with
10005 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10006 on `isearch-filter-predicates'. Also check `search-invisible' for t
10007 or call `isearch-range-invisible'.
10008 (isearch-filter-visible): Make obsolete.
10009 (isearch-lazy-highlight-search):
10010 Call `run-hook-with-args-until-failure' on
10011 `isearch-filter-predicates' and use `isearch-range-invisible'.
10013 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10014 `isearch-filter-predicates' instead of `funcall'ing
10015 `isearch-filter-predicate'.
10016 (Info-mode): Set `Info-isearch-filter' to
10017 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10019 * dired-aux.el (dired-isearch-filter-predicate-orig):
10021 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10022 (dired-isearch-filenames-end): Add and remove
10023 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10024 instead of changing the value of `isearch-filter-predicate'.
10025 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10026 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10027 Put property `isearch-message-prefix' to "filename " on
10028 `dired-isearch-filter-filenames'.
10030 * wdired.el (wdired-change-to-wdired-mode):
10031 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10032 locally instead of changing `isearch-filter-predicate'.
10033 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10035 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10037 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10038 return the commit hash (Bug#14459). Also set the
10039 `vc-git-detached' property.
10040 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10041 (vc-git-mode-line-string): Use the same help-echo format whether
10042 in detached mode or not, because we know the actual revision now.
10043 When in detached mode, shorten the revision to 7 chars.
10045 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10047 * emacs-lisp/easy-mmode.el (define-minor-mode):
10048 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10049 mode hook and provide a docstring.
10051 2013-05-27 Alan Mackenzie <acm@muc.de>
10053 Remove spurious syntax-table text properties inserted by C-y.
10054 * progmodes/cc-mode.el (c-after-change): Also clear hard
10055 syntax-table property with value nil.
10057 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10059 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10060 when reading the events; the buffer layout shall not be changed.
10062 2013-05-27 Leo Liu <sdl.web@gmail.com>
10064 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10066 (inferior-octave-directory-tracker): Automatically re-sync
10068 (octave-help): Improve handling of 'See also'.
10070 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10072 * doc-view.el: Minor naming convention tweaks.
10073 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10075 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10076 even if there's no `display' property yet (bug#14435).
10078 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10080 * subr.el (unmsys--file-name): Rename from reveal-filename.
10082 * Makefile.in (custom-deps, finder-data, autoloads)
10083 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10084 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10085 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10087 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10089 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10090 error-completion on the first 2 args of condition-case (bug#14446).
10093 2013-05-25 Leo Liu <sdl.web@gmail.com>
10095 * comint.el (comint-previous-matching-input): Do not flood the
10096 *Messages* buffer with trivial messages.
10098 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * progmodes/flymake.el (flymake-nop): Don't return a string.
10101 (flymake-set-at): Fix typo.
10103 * simple.el (read--expression): New function, extracted from
10104 eval-expression. Set completion-at-point-functions (bug#14465).
10105 (eval-expression, eval-minibuffer): Use it.
10107 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10109 * progmodes/flymake.el (flymake-save-buffer-in-file)
10110 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10111 (flymake-selected-frame, flymake-log, flymake-ins-after)
10112 (flymake-set-at, flymake-get-buildfile-from-cache)
10113 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10114 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10115 Refine the doc string.
10116 (flymake-get-file-name-mode-and-masks): Reformat.
10117 (flymake-get-real-file-name-function): Fix a minor bug.
10119 2013-05-24 Juri Linkov <juri@jurta.org>
10121 * progmodes/grep.el (grep-mode-font-lock-keywords):
10122 Support =linenumber= format used by git-grep for lines with
10123 function names. (Bug#13549)
10125 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10127 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10128 0 after a semi-colon; it works better for smie-auto-fill.
10129 (octave--indent-new-comment-line): New function.
10130 (octave-indent-new-comment-line): Use it (indirectly).
10131 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10132 modify comment-line-break-function.
10134 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10135 (smie-setup): Use add-function to set it.
10137 2013-05-24 Sam Steingold <sds@gnu.org>
10139 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10140 argument (before the `interactive' argument).
10142 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * image-mode.el (image-mode-winprops): Add winprops to
10145 image-mode-winprops-alist before running
10146 image-mode-new-window-functions.
10147 * doc-view.el (doc-view-new-window-function): Don't delay
10148 doc-view-goto-page via timers (bug#14435).
10150 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10152 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10153 (doc-view-desktop-save-buffer): New function.
10154 (doc-view-restore-desktop-buffer): New function.
10155 (desktop-buffer-mode-handlers):
10156 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10158 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10159 `desktop-save-buffer' function.
10161 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10163 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10164 (tramp-gvfs-file-name-handler): Raise a user error when
10165 `tramp-gvfs-enabled' is nil.
10166 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10167 Do not raise a user error when loading package. (Bug#14447)
10169 * net/xesam.el: Move to obsolete/.
10171 2013-05-24 Glenn Morris <rgm@gnu.org>
10173 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10175 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10177 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10178 (Info-find-node, Man-getpage-in-background): Declare.
10180 * mail/unrmail.el (unrmail):
10181 Replace obsolete detect-coding-with-priority.
10183 * net/socks.el (socks-split-string): Use this rather than split-string.
10184 (socks-nslookup-host): Update for above change.
10185 (dynamic-choice, s5-dynamic-choice-match)
10186 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10187 Comment out unused code.
10189 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10190 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10191 (gud-tooltip-echo-area): Make obsolete.
10192 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10194 * progmodes/js.el (js--optimize-arglist): Declare.
10196 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10198 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10199 (ediff-window-C): Declare.
10201 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10202 Tweak requires to silence compiler.
10204 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10205 (he-search-string, he-tried-table, he-expand-list)
10206 (he-init-string, he-string-member, he-substitute-string)
10207 (he-reset-string): Declare.
10209 * obsolete/options.el (list-options): Use custom-variable-p,
10210 rather than obsolete alias.
10212 2013-05-23 Sam Steingold <sds@gnu.org>
10214 * simple.el (shell-command-on-region): Pass the `replace' argument
10215 down to `call-process-region' to comply with the doc as reported on
10216 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10218 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10220 * emacs-lisp/smie.el (smie-indent-forward-token)
10221 (smie-indent-backward-token): Handle string tokens (bug#14381).
10223 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10225 * ielm.el (ielm-menu): New menu.
10226 (inferior-emacs-lisp-mode): Set comment-start.
10228 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10230 * textmodes/reftex.el (reftex-ref-style-toggle):
10231 Fix deactivate action.
10233 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10234 Add cleveref macros.
10236 * textmodes/reftex-parse.el
10237 (reftex-locate-bibliography-files): Accept options for
10238 bibliography commands.
10239 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10240 Add addbibresource. Basic Biblatex support.
10242 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10244 * net/tramp-gvfs.el (top):
10245 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10246 when loading package. (Bug#14447)
10248 2013-05-23 Glenn Morris <rgm@gnu.org>
10250 * progmodes/js.el: No need to load comint when compiling.
10251 (ring-insert, comint-send-string, comint-send-input)
10252 (comint-last-input-end, ido-chop): Declare.
10254 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10255 * vc/ediff-mult.el: Adjust requires.
10256 (ediff-directories-internal, ediff-directory-revisions-internal)
10257 (ediff-patch-file-internal): Declare.
10258 * vc/ediff-ptch.el: Adjust requires.
10259 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10260 (ediff-find-file): Autoload.
10261 * vc/ediff-util.el: No need to load ediff when compiling.
10262 (ediff-regions-internal): Declare.
10263 * vc/ediff-wind.el: Adjust requires.
10264 (ediff-compute-toolbar-width): Define when compiling.
10265 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10266 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10267 (dired-get-filename, dired-get-marked-files)
10268 (ediff-last-dir-patch, ediff-patch-default-directory)
10269 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10270 (ediff-patch-buffer-internal): Declare.
10272 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10273 (ispell-process, ispell-buffer-local-words, lm-summary)
10274 (lm-section-start, lm-section-end): Declare.
10275 (checkdoc-ispell-init): Simplify.
10277 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10278 (he-string-member, he-reset-string, he-substitute-string): Declare.
10280 * eshell/em-ls.el: Adjust requires.
10281 (eshell-glob-regexp): Declare.
10282 * eshell/em-tramp.el: Adjust requires.
10283 (eshell-parse-command): Autoload.
10284 * eshell/em-xtra.el: Adjust requires.
10285 (eshell-parse-command): Autoload.
10286 * eshell/esh-ext.el: Adjust requires.
10287 (eshell-parse-command, eshell-close-handles): Autoload.
10288 * eshell/esh-io.el: Adjust requires.
10289 (eshell-output-filter): Autoload.
10290 * eshell/esh-util.el: No need to load tramp when compiling.
10291 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10293 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10294 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10295 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10296 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10297 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10298 * eshell/esh-opt.el, eshell/esh-proc.el:
10299 * eshell/esh-var.el: Adjust requires.
10300 * eshell/eshell.el: Do not require esh-util twice.
10301 (eshell-add-input-to-history): Declare.
10302 (eshell-command): Check history module is active before using it.
10304 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10306 2013-05-22 Leo Liu <sdl.web@gmail.com>
10308 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10310 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10312 * autorevert.el (auto-revert-notify-add-watch)
10313 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10314 it indicates changes in file modification time.
10316 2013-05-22 Glenn Morris <rgm@gnu.org>
10318 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10319 Always delete the autoloaded function from the noruntime and
10320 unresolved functions lists.
10322 * allout.el: No need to load epa, epg, overlay when compiling.
10323 (epg-context-set-passphrase-callback, epg-list-keys)
10324 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10325 (epg-key-user-id-list): Declare.
10327 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10328 (viper-set-parsing-style-toggling-macro)
10329 (viper-set-emacs-state-searchstyle-macros):
10330 Use called-interactively-p on Emacs.
10331 (viper-looking-back): Make it an obsolete alias. Update callers.
10332 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10333 Use looking-back rather than viper-looking-back.
10334 (viper-tmp-insert-at-eob, viper-enlarge-region)
10335 (viper-read-string-with-history, viper-register-to-point)
10336 (viper-append-to-register, viper-change-state-to-vi)
10337 (viper-backward-char-carefully, viper-forward-char-carefully)
10338 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10339 (viper-change-state-to-emacs): Declare.
10340 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10341 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10342 * emulation/viper-mous.el: Do not load viper-cmd.
10343 (viper-backward-char-carefully, viper-forward-char-carefully)
10344 (viper-forward-word, viper-adjust-window): Declare.
10346 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10348 * progmodes/idlw-help.el (idlwave-help-fontify):
10349 Use called-interactively-p.
10351 * term/w32console.el (w32-get-console-codepage)
10352 (w32-get-console-output-codepage): Declare.
10354 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10355 Remove unnecessary declarations.
10356 (dframe-message): Doc fix.
10358 * info.el (dframe-select-attached-frame, dframe-current-frame):
10361 * speedbar.el (speedbar-message): Make it an obsolete alias.
10362 Update all callers.
10363 (speedbar-with-attached-buffer)
10364 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10365 (speedbar-with-writable): Use backquote.
10366 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10367 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10368 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10369 rather than speedbar- aliases.
10370 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10371 (speedbar-make-specialized-keymap, speedbar-insert-button)
10372 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10373 (speedbar-do-function-pointer): Declare.
10374 (rmail-speedbar-button, rmail-speedbar-find-file)
10375 (rmail-speedbar-move-message):
10376 Use dframe-with-attached-buffer rather than speedbar- alias.
10377 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10378 (dframe-message, speedbar-make-specialized-keymap)
10379 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10380 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10381 (speedbar-insert-button, dframe-select-attached-frame)
10382 (dframe-maybee-jump-to-attached-frame)
10383 (speedbar-change-initial-expansion-list)
10384 (speedbar-previously-used-expansion-list-name): Declare.
10385 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10386 Use dframe-message, dframe-with-attached-buffer rather than
10388 (gud-sentinel): Silence compiler.
10389 * progmodes/vhdl-mode.el (speedbar-refresh)
10390 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10391 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10392 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10393 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10394 (speedbar-file-lists, speedbar-make-tag-line)
10395 (speedbar-line-directory, speedbar-goto-this-file)
10396 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10397 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10398 (speedbar-make-button, speedbar-reset-scanners)
10399 (speedbar-files-item-info, speedbar-line-text)
10400 (speedbar-find-file-in-frame, speedbar-set-timer)
10401 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10402 (speedbar-with-writable): Do not (re)define it.
10403 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10404 rather than speedbar- alias.
10406 2013-05-21 Leo Liu <sdl.web@gmail.com>
10408 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10410 (octave-mode): Tweak fill-nobreak-predicate.
10411 (inferior-octave-startup): Check process to avoid infinite loop.
10412 (inferior-octave): Pop to buffer first to show abornmal process
10415 2013-05-21 Glenn Morris <rgm@gnu.org>
10417 * printing.el (pr-menu-bar): Define when compiling.
10419 2013-05-21 Leo Liu <sdl.web@gmail.com>
10421 * progmodes/octave.el (octave-auto-fill): Remove.
10422 (octave-indent-new-comment-line): Improve.
10423 (octave-mode): Use auto fill mode through
10424 comment-line-break-function and fill-nobreak-predicate.
10425 (octave-goto-function-definition): Support DEFUN_DLD.
10426 (octave-beginning-of-defun): Small tweak.
10427 (octave-help): Show parent directory.
10429 2013-05-21 Glenn Morris <rgm@gnu.org>
10431 * files.el (dired-unmark):
10432 * progmodes/gud.el (gdb-input): Update declarations.
10434 * calculator.el (electric, ehelp): No need to load when compiling.
10435 (Electric-command-loop, electric-describe-mode): Declare.
10437 * doc-view.el (doc-view-current-converter-processes): Move before use.
10439 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10440 Move MODE-set-explicitly definition before use.
10442 * international/mule-diag.el (mule-diag):
10443 Don't use obsolete window-system-version.
10445 * mail/feedmail.el (smtpmail): No need to load when compiling.
10446 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10448 * mail/mail-utils.el (rfc822): No need to load when compiling.
10449 (rfc822-addresses): Autoload it.
10450 (mail-strip-quoted-names): Trivial simplification.
10452 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10453 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10455 * net/snmp-mode.el (tempo): Don't duplicate requires.
10457 * progmodes/prolog.el (info): No need to load when compiling.
10458 (comint): Require before shell requires it.
10459 (Info-goto-node): Autoload it.
10460 (Info-follow-nearest-node): Declare.
10461 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10463 * textmodes/artist.el (picture-mode-exit): Declare.
10465 * textmodes/reftex-parse.el (reftex-parse-from-file):
10466 Trivial rewrite so the compiler can parse it better.
10468 2013-05-20 Leo Liu <sdl.web@gmail.com>
10470 * progmodes/octave.el (octave-help-mode-map)
10471 (octave-help-mode-finish-hook): New variables.
10472 (octave-help-mode, octave-help-mode-finish): New functions.
10473 (octave-help): Use octave-help-mode.
10475 2013-05-20 Glenn Morris <rgm@gnu.org>
10477 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10479 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10481 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10482 start at point, so that expansion starting right after opening
10483 slash in a regexp is recognized.
10484 (ruby-syntax-before-regexp-re): New defvar, extracted from
10485 ruby-syntax-propertize-function. Since the value of this regexp
10486 is looked up at runtime now, we should be able to turn
10487 `ruby-syntax-methods-before-regexp' into a defcustom later.
10488 (ruby-syntax-propertize-function): Split regexp matching into two
10489 parts, for opening and closing slashes. That allows us to skip
10490 over string interpolations and support multiline regexps.
10491 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10492 for them, which calls `ruby-syntax-propertize-expansion'.
10493 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10494 call to `ruby-syntax-propertize-function'.
10495 (ruby-syntax-propertize-expansion): Extracted from
10496 `ruby-syntax-propertize-expansions'. Handles one expansion.
10497 (ruby-syntax-propertize-percent-literal): Leave point right after
10498 the percent symbol, so that the expression expansion rule can
10499 propertize the contents.
10500 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10502 (ruby-syntax-propertize-expansions): Remove.
10504 2013-05-18 Juri Linkov <juri@jurta.org>
10506 * man.el (Man-default-man-entry): Remove `-' from the end
10507 of the default value. (Bug#14400)
10509 2013-05-18 Glenn Morris <rgm@gnu.org>
10511 * comint.el (comint-password-prompt-regexp):
10512 Allow "password for XXX" where XXX contains colons (eg https://...).
10514 2013-05-18 Leo Liu <sdl.web@gmail.com>
10516 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10517 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10518 (octave-source-directories): Don't check process.
10519 (octave-source-directories, octave-find-definition): Doc fix.
10521 2013-05-18 Glenn Morris <rgm@gnu.org>
10523 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10524 Remove backspace/delete bindings. (Bug#14392)
10526 * cus-dep.el (custom-make-dependencies): Sort the output.
10527 (custom-versions-load-alist): Convert comment to doc.
10529 2013-05-17 Leo Liu <sdl.web@gmail.com>
10531 * newcomment.el (comment-search-backward): Stricter in finding
10532 comment start. (Bug#14303)
10534 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10535 (octave-comment-start-skip): Properly anchored.
10537 2013-05-17 Leo Liu <sdl.web@gmail.com>
10539 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10540 Clean up when turned off. (Bug#14395)
10541 (smie--highlight-matching-block-overlay): No longer buffer-local.
10542 (smie-highlight-matching-block): Adjust.
10544 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10546 Doc string fix for "nanoseconds" (Bug#14406).
10547 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10548 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10550 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10552 * calc/calc-units.el (math-extract-units): Preserve powers
10555 2013-05-17 Leo Liu <sdl.web@gmail.com>
10557 * subr.el (delete-consecutive-dups): New function.
10558 * ido.el (ido-set-matches-1): Use it.
10559 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10560 * ido.el (ido-remove-consecutive-dups): Remove.
10562 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10564 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10565 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10566 regexp-opt's `words'.
10568 2013-05-16 Leo Liu <sdl.web@gmail.com>
10570 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10571 (smie--highlight-matching-block-overlay)
10572 (smie--highlight-matching-block-lastpos)
10573 (smie--highlight-matching-block-timer): New variables.
10574 (smie-highlight-matching-block): New function.
10575 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10576 (smie-setup): Conditionally enable smie-blink-matching-open.
10578 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10580 Sync with upstream verilog-mode r840.
10581 * progmodes/verilog-mode.el (verilog-mode-version)
10582 (verilog-mode-release-date): Update.
10583 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10584 (verilog-sig-tieoff): Fix string error on
10585 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10586 (verilog-read-decls): Fix parameters confusing
10587 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10589 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10591 * subr.el (reveal-filename): New function.
10593 * loadup.el: Compute Emacs executable versions on MS-Windows,
10594 where executables have the .exe extension. Add a hard link
10595 emacs-XX.YY.ZZ.exe on MS-Windows.
10597 * Makefile.in (XARGS_LIMIT): New variable.
10598 (custom-deps, finder-data, autoloads)
10599 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10600 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10601 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10602 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10604 2013-05-16 Leo Liu <sdl.web@gmail.com>
10606 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10607 (octave-mode-menu, octave-mode-map): Remove its uses.
10609 2013-05-16 Reto Zimmermann <reto@gnu.org>
10611 Sync with upstream vhdl mode v3.34.2.
10612 * progmodes/vhdl-mode.el: Use `push' throughout.
10613 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10614 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10615 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10616 (vhdl-actual-generic-name): New option to derive actual generic name.
10617 (vhdl-port-paste-signals): Replace formal by actual generics.
10618 (vhdl-beautify): New name for old group vhdl-align. Update users.
10619 (vhdl-beautify-options): New option.
10620 (vhdl-last-input-event): New compat alias. Use throughout.
10621 (vhdl-goto-line): Replace user level function `goto-line'.
10622 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10623 vhdl-fix-statement-buffer.
10624 (vhdl-create-mode-menu): Add some entries.
10625 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10626 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10627 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10628 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10629 to force statements on one line.
10630 (vhdl-remove-trailing-spaces-region):
10631 New, split from vhdl-remove-trailing-spaces.
10632 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10633 Respect vhdl-beautify-options.
10634 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10635 (vhdl-update-sensitivity-list): Not add with index if exists without.
10636 Not include array index with signal. Ignore keywords in comments.
10637 (vhdl-get-visible-signals): Regexp tweaks.
10638 (vhdl-template-component-inst): Handle empty library.
10639 (vhdl-template-type): Add template for 'enum' type.
10640 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10641 Use vhdl-replace-string.
10642 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10643 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10644 (vhdl-speedbar-initialize): Update for above name change.
10645 (vhdl-compose-wire-components): Fix in handling of constants.
10646 (vhdl-error-regexp-emacs-alist): New variable.
10647 (vhdl-error-regexp-add-emacs): New function;
10648 adds support for new compile.el (Emacs 22+)
10649 (vhdl-generate-makefile-1): Change target order for single lib. units.
10650 Allow use of absolute file names.
10652 2013-05-16 Leo Liu <sdl.web@gmail.com>
10654 * simple.el (prog-indent-sexp): Indent enclosing defun.
10656 2013-05-15 Glenn Morris <rgm@gnu.org>
10658 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10659 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10660 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10661 (whitespace-highlight): Move to whitespace group.
10663 * comint.el (comint-source):
10664 * pcmpl-linux.el (pcmpl-linux):
10665 * shell.el (shell-faces):
10666 * eshell/esh-opt.el (eshell-opt):
10667 * international/ccl.el (ccl): Remove empty custom groups.
10669 * completion.el (dynamic-completion-mode):
10670 * jit-lock.el (jit-lock-debug-mode):
10671 * minibuffer.el (completion-in-region-mode):
10672 * type-break.el (type-break-mode-line-message-mode)
10673 (type-break-query-mode):
10674 * emulation/tpu-edt.el (tpu-edt-mode):
10675 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10676 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10677 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10679 * term/xterm.el (xterm): Change parent group to terminals.
10681 * master.el (master): Remove empty custom group.
10682 (master-mode): Remove unused :group argument.
10683 * textmodes/refill.el (refill): Remove empty custom group.
10684 (refill-mode): Remove unused :group argument.
10686 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10688 * cus-dep.el: Provide a feature.
10689 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10690 Don't mistakenly ignore files whose basenames match a basename
10691 from preloaded-file-list (eg cedet/ede/simple.el).
10692 Add a fallback method for getting :group.
10694 2013-05-15 Juri Linkov <juri@jurta.org>
10696 * isearch.el (isearch-char-by-name): Rename from
10697 `isearch-insert-char-by-name'. Doc fix.
10698 (isearch-forward): Mention `isearch-char-by-name' in
10699 the docstring. (Bug#13348)
10701 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10702 `exit-minibuffer' instead of
10703 `isearch-nonincremental-exit-minibuffer'.
10704 (isearch-edit-string): Remove mention of
10705 `isearch-nonincremental-exit-minibuffer' from docstring.
10706 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10707 (isearch-forward-exit-minibuffer)
10708 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10710 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10712 * loadup.el: Just use unversioned DOC.
10714 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10715 literals as extending to EOB.
10716 (nxml-last-fontify-end): Remove unused variable.
10717 (nxml-after-change1): Use with-silent-modifications.
10718 (nxml-extend-after-change-region): Simplify.
10719 (nxml-extend-after-change-region1): Remove function.
10720 (nxml-after-change1): Don't adjust for dependent regions.
10721 (nxml-fontify-matcher): Simplify.
10722 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10723 (xmltok-add-dependent): Remove function.
10724 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10725 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10726 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10727 unclosed <[[, <?, comment, and other literals as extending to EOB.
10728 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10729 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10731 (rng-do-some-validation-1): Don't mark dependent regions.
10732 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10733 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10734 (nxml-clear-dependent-regions): Remove functions.
10735 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10736 (nxml-ensure-scan-up-to-date):
10737 Don't clear&mark dependent regions.
10739 2013-05-15 Leo Liu <sdl.web@gmail.com>
10741 * progmodes/octave.el (octave-goto-function-definition):
10742 Improve and fix callers.
10744 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10746 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10747 the setter (bug#14387).
10749 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10750 surrounding group (bug#14402).
10752 2013-05-14 Juri Linkov <juri@jurta.org>
10754 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10757 2013-05-14 Glenn Morris <rgm@gnu.org>
10759 * progmodes/f90.el (f90-imenu-generic-expression):
10760 Fix typo in 2013-05-08 change. (Bug#14402)
10762 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10764 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10765 Remove signals for which replies are never received.
10767 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10769 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10770 (gdb-handler-alist, gdb-handler-number): Remove variables.
10771 (gdb-handler-list): New variable.
10772 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10773 (gdb-pending-handler-p, gdb-handle-reply)
10774 (gdb-remove-all-pending-triggers): New functions.
10775 (gdb-discard-unordered-replies): New defcustom.
10776 (gdb-handler): New defstruct.
10777 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10778 instead of gdb-pending-triggers. Update docstring.
10779 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10780 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10781 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10782 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10783 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10784 (gdb-frame-handler): Pending triggers are now automatically managed.
10785 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10787 (gdb-input): Automatically handles pending triggers. Update docstring.
10788 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10789 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10791 (gdb-done-or-error): Now use gdb-handle-reply.
10793 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10795 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10798 2013-05-14 Glenn Morris <rgm@gnu.org>
10800 * subr.el (user-emacs-directory-warning): New option.
10801 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10803 2013-05-14 Leo Liu <sdl.web@gmail.com>
10805 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10807 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10808 (octave-font-lock-texinfo-comment): Fix invalid search bound
10809 error: wrong side of point.
10811 2013-05-14 Glenn Morris <rgm@gnu.org>
10813 * progmodes/flymake.el (flymake-xml-program): New option.
10814 (flymake-xml-init): Use it.
10816 * term/xterm.el: Provide a feature.
10818 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10820 2013-05-13 Glenn Morris <rgm@gnu.org>
10822 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10823 Add compat aliases as a hack workaround. (Bug#14384)
10825 2013-05-13 Leo Liu <sdl.web@gmail.com>
10827 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10829 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10831 (octave-comment-start-skip): Include %!.
10832 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10834 2013-05-12 Leo Liu <sdl.web@gmail.com>
10836 * progmodes/octave.el (inferior-octave-startup): Store the value
10837 of __octave_srcdir__ for octave-source-directories.
10838 (inferior-octave-check-process): New function refactored out of
10839 inferior-octave-send-list-and-digest.
10840 (octave-source-directories)
10841 (octave-find-definition-filename-function): New variables.
10842 (octave-source-directories)
10843 (octave-find-definition-default-filename): New functions.
10844 (octave-find-definition): Improve to find functions implemented in C++.
10846 2013-05-12 Glenn Morris <rgm@gnu.org>
10848 * calendar/diary-lib.el (diary-outlook-format-1):
10849 Don't include dayname in the output. (Bug#14349)
10851 2013-05-11 Glenn Morris <rgm@gnu.org>
10853 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10855 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10856 Treat cc-provide like provide.
10858 2013-05-11 Kevin Ryde <user42@zip.com.au>
10860 * cus-dep.el (custom-make-dependencies):
10861 Use generated-autoload-load-name for the sake of files such
10862 such cedet/semantic/bovine/c.el, where the base file name
10863 is not in load-path. (Bug#5277)
10865 2013-05-11 Glenn Morris <rgm@gnu.org>
10867 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10870 2013-05-11 Leo Liu <sdl.web@gmail.com>
10872 * progmodes/octave.el (octave-indent-comment): Improve.
10873 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10874 (octave-eldoc-function-signatures, octave-eldoc-function):
10876 (octave-mode, inferior-octave-mode): Add eldoc support.
10878 2013-05-11 Richard Stallman <rms@gnu.org>
10880 * epa.el (epa-decrypt-file): Take output file name as argument
10881 and read it using `interactive'.
10883 2013-05-11 Leo Liu <sdl.web@gmail.com>
10885 * progmodes/octave.el (octave-beginning-of-line)
10886 (octave-end-of-line): Check before using up-list because it jumps
10887 out of more syntactic contructs since moving to smie.
10888 (octave-indent-comment): New function.
10889 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10890 (octave-begin-keywords, octave-end-keywords)
10891 (octave-reserved-words, octave-smie-bnf-table)
10892 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10894 2013-05-11 Glenn Morris <rgm@gnu.org>
10896 * faces.el (internal-face-x-get-resource):
10897 * frame.el (ns-display-monitor-attributes-list):
10898 * calc/calc-aent.el (math-to-radians-2):
10899 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10902 * calc/calc-menu.el: Make it loadable in isolation.
10904 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10905 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10906 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10907 (eudc-bbdb-query-internal): Require 'bbdb.
10909 * lpr.el (lpr-headers-switches):
10910 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10912 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10914 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10916 * term.el (term-set-escape-char): Make it idempotent.
10918 2013-05-10 Leo Liu <sdl.web@gmail.com>
10920 * progmodes/octave.el (inferior-octave-completion-table):
10921 No longer a function and all uses changed. Use cache to speed up
10922 completion due to bug#11906.
10923 (octave-beginning-of-defun): Re-write to be more general.
10925 2013-05-10 Glenn Morris <rgm@gnu.org>
10927 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10929 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10931 * comint.el (comint-redirect-send-command-to-process): Use :around
10932 rather than :override for comint-redirect-filter.
10933 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10934 Call it instead of comint-redirect-original-filter-function (which
10935 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10937 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10939 * frame.el (display-monitor-attributes-list): Add NS case.
10940 (ns-display-monitor-attributes-list): Declare.
10942 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10944 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10946 2013-05-09 Glenn Morris <rgm@gnu.org>
10948 * international/fontset.el (vertical-centering-font-regexp):
10949 Set standard-value.
10951 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10953 * bookmark.el (bookmark-search-delay):
10954 * cus-start.el (vertical-centering-font-regexp):
10955 * ps-mule.el (ps-mule-font-info-database-default):
10956 * ps-print.el (ps-default-fg, ps-default-bg):
10957 * type-break.el (type-break-good-break-interval):
10958 * whitespace.el (whitespace-indentation-regexp)
10959 (whitespace-space-after-tab-regexp):
10960 * emacs-lisp/testcover.el (testcover-1value-functions)
10961 (testcover-noreturn-functions, testcover-progn-functions)
10962 (testcover-prog1-functions):
10963 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10964 * eshell/em-glob.el (eshell-glob-translate-alist):
10965 * play/tetris.el (tetris-tty-colors):
10966 * progmodes/cpp.el (cpp-face-default-list):
10967 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10968 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10969 (idlwave-help-browser-generic-args):
10970 * progmodes/make-mode.el (makefile-special-targets-list):
10971 * progmodes/python.el (python-shell-virtualenv-path):
10972 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10973 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10974 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10975 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10976 * textmodes/reftex-vars.el (reftex-format-label-function):
10977 * textmodes/remember.el (remember-diary-file): Fix custom types.
10979 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10982 2013-05-09 Leo Liu <sdl.web@gmail.com>
10984 * progmodes/octave.el (inferior-octave-completion-at-point):
10985 Restore file completion. (Bug#14300)
10986 (inferior-octave-startup): Fix incorrect highlighting for the
10989 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10991 * progmodes/ruby-mode.el: First cut at SMIE support.
10992 (ruby-use-smie): New var.
10993 (ruby-smie-grammar): New constant.
10994 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10995 (ruby-smie--forward-token, ruby-smie--backward-token)
10996 (ruby-smie-rules): New functions.
10997 (ruby-mode-variables): Setup SMIE if applicable.
10999 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11001 * simple.el (line-move-visual): Signal beginning/end of buffer
11002 only if vertical-motion moved less than it was requested. Avoids
11003 silly incorrect error messages when there are display strings with
11004 multiple newlines at EOL.
11006 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11008 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11009 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11010 (prolog-char-quote-workaround):
11011 * progmodes/cperl-mode.el (cperl-under-as-char):
11012 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11014 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11016 (vhdl-mode-syntax-table-init): Remove.
11018 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11021 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11023 (ld-script-font-lock-keywords):
11024 Change regexps to use things like \_< and \_>.
11026 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11027 Change all regexps to use things like \_< and \_>.
11029 * progmodes/autoconf.el (autoconf-definition-regexp)
11030 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11031 Handle a _ with symbol syntax.
11032 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11034 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11035 Consolidate declaration.
11036 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11038 (ada-create-syntax-table): Remove.
11039 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11040 already has the right syntax nowadays.
11041 (ada-goto-next-word): Don't change the syntax of "_".
11043 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11046 2013-05-08 Sam Steingold <sds@gnu.org>
11048 * thingatpt.el (thing-at-point): Accept optional second argument
11049 NO-PROPERTIES to strip the text properties from the return value.
11050 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11051 to `thing-at-point' instead of stripping the properties ourselves.
11052 Also, when `thing-at-point' fails to find a url, prepend "http://"
11053 to the filename at point on the assumption that the user is
11054 pointing at something like gnu.org/gnu.
11056 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11058 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11059 * faces.el (crm-separator):
11060 Silence byte-compiler.
11062 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11063 (tool-bar-map): Remove unneeded defvars.
11065 2013-05-08 Leo Liu <sdl.web@gmail.com>
11067 Re-work a fix for bug#10994 based on Le Wang's patch.
11068 * ido.el (ido-remove-consecutive-dups): New helper.
11069 (ido-completing-read): Use it.
11070 (ido-chop): Revert fix for bug#10994.
11072 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11074 * cus-edit.el (custom-save-variables):
11075 Pretty-print long values. (Bug#14187)
11077 2013-05-08 Glenn Morris <rgm@gnu.org>
11079 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11080 (m4-mode-syntax-table): Init in the defvar.
11081 (m4-mode-abbrev-table): Let define-derived-mode define it.
11083 2013-05-08 Tom Tromey <tromey@redhat.com>
11085 * progmodes/m4-mode.el (m4-mode-syntax-table):
11086 Do not treat "_" as word constituent. (Bug#14167)
11088 2013-05-07 Glenn Morris <rgm@gnu.org>
11090 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11091 Remove explicit eshell-isearch-cancel-map.
11093 * progmodes/f90.el (f90-smart-end-names): New option.
11094 (f90-smart-end): Doc fix.
11095 (f90-end-block-optional-name): New constant.
11096 (f90-block-match): Respect f90-smart-end-names.
11098 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11100 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11101 about implicit semi-colons (bug#14218).
11103 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11105 * frame.el (display-monitor-attributes-list)
11106 (frame-monitor-attributes): New functions.
11108 2013-05-06 Leo Liu <sdl.web@gmail.com>
11110 * progmodes/octave.el (octave-syntax-propertize-function): Change
11111 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11112 (octave-font-lock-keywords): Use octave-operator-regexp.
11113 (octave-completion-at-point): Rename from
11114 octave-completion-at-point-function.
11115 (inferior-octave-directory-tracker): Robustify.
11116 (octave-text-functions): Remove and fix its uses. No such things
11119 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11121 * emacs-lisp/trace.el (trace--display-buffer): New function.
11122 (trace-make-advice): Use it.
11124 2013-05-06 Juri Linkov <juri@jurta.org>
11126 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11127 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11129 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11130 in the help string. (Bug#12985)
11132 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11134 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11136 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11138 * progmodes/perl-mode.el: Add support for here documents.
11139 (perl-syntax-propertize-function): Match here-doc markers.
11140 (perl-syntax-propertize-special-constructs): Find their end.
11141 (perl-imenu-generic-expression): Use [:alnum:].
11143 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11144 (advice--add-function): Refresh the advice if already present
11147 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11149 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11151 2013-05-06 Glenn Morris <rgm@gnu.org>
11153 * w32-fns.el (w32-charset-info-alist): Declare.
11155 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11156 of its defcustom properties.
11157 (eshell-cmpl-initialize): No need to load pcomplete.
11159 * generic-x.el: No need to require comint when compiling.
11161 * net/eudc-export.el: Make it loadable without bbdb.
11162 (top-level): Use require rather than load-library.
11163 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11164 (eudc-batch-export-records-to-bbdb)
11165 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11168 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11170 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11171 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11172 some tweaks, instead.
11174 2013-05-05 Leo Liu <sdl.web@gmail.com>
11176 * progmodes/octave.el (octave-font-lock-keywords)
11177 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11178 (inferior-octave-send-list-and-digest): Improve error message.
11179 (octave-mode, inferior-octave-mode): Use setq-local.
11180 (octave-help): Set info-lookup-mode.
11182 2013-05-05 Richard Stallman <rms@gnu.org>
11184 * vc/compare-w.el (compare-windows-whitespace):
11185 Treat no-break space as whitespace.
11187 * mail/rmailsum.el (rmail-summary-rmail-update):
11188 Detect empty summary and don't change selected message.
11189 (rmail-summary-goto-msg): Likewise.
11191 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11192 Doc fixes, rename args.
11194 2013-05-05 Alan Mackenzie <acm@muc.de>
11196 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11198 2013-05-05 Juri Linkov <juri@jurta.org>
11200 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11201 to not add the length of the summary segment to the return value.
11204 2013-05-05 Leo Liu <sdl.web@gmail.com>
11206 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11207 (inferior-octave-output-filter): Remove.
11208 (octave-send-region, inferior-octave-startup): Fix callers.
11209 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11210 (octave-binary-file-extensions): New user variable.
11211 (octave-find-definition): Confirm if opening binary files.
11212 (octave-help-file): Use octave-find-definition to get the binary
11214 (octave-help): Adjust for octave-help-file change.
11216 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11218 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11219 Merge the two entries that handle function definitions.
11220 (pascal--syntax-propertize): New const.
11221 (pascal-mode): Use it. Use setq-local.
11223 2013-05-04 Glenn Morris <rgm@gnu.org>
11225 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11226 (diary-from-outlook): Respect diary-from-outlook-function.
11228 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11231 Move the declaration from C.
11232 (read-minibuffer, eval-minibuffer): Move from C.
11233 (completion-setup-function): Avoid minibuffer-completion-contents.
11235 2013-05-03 Leo Liu <sdl.web@gmail.com>
11237 * progmodes/octave.el (octave-font-lock-keywords): Do not
11238 dehighlight 'end' in comments or strings.
11239 (octave-completing-read, octave-goto-function-definition):
11241 (octave-help-buffer): New user variable.
11242 (octave-help-file, octave-help-function): New button types.
11243 (octave-help): New command and bind it to C-h ;.
11244 (octave-find-definition): New command and bind it to M-.
11245 (user-error): Alias to error if not defined.
11247 2013-05-02 Leo Liu <sdl.web@gmail.com>
11249 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11251 (octave-font-lock-keywords): Include [ and {.
11253 2013-05-02 Leo Liu <sdl.web@gmail.com>
11255 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11256 (inferior-octave): Remove calling comint-mode and return the buffer.
11257 (inferior-octave-startup): Cosmetic changes.
11259 2013-05-02 Leo Liu <sdl.web@gmail.com>
11261 * progmodes/octave.el (octave-syntax-propertize-function):
11262 Include the case when ' is at line beginning. (Bug#14336)
11264 2013-05-02 Glenn Morris <rgm@gnu.org>
11266 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11267 * desktop.el (vc-dir-mode): Just autoload it here.
11269 2013-05-02 Alan Mackenzie <acm@muc.de>
11271 Eliminate variable c-standard-font-lock-fontify-region-function.
11272 * progmodes/cc-mode.el
11273 (c-standard-font-lock-fontify-region-function): Remove.
11274 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11276 2013-05-01 Leo Liu <sdl.web@gmail.com>
11278 * progmodes/octave.el: Compatible with older emacs-24 releases.
11279 (inferior-octave-has-built-in-variables): Remove. Built-in
11280 variables were removed from Octave in 2007.
11281 (inferior-octave-startup): Fix uses.
11282 (comint-line-beginning-position): Remove compatibility code for
11285 2013-05-01 Juri Linkov <juri@jurta.org>
11287 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11289 2013-05-01 Juri Linkov <juri@jurta.org>
11291 * comint.el (comint-previous-matching-input): Don't print message
11292 "History item: %d" when `isearch-mode' is active.
11293 (comint-history-isearch-message): Print message "History item: %d"
11294 when `comint-input-ring-index' is not empty and this function is
11295 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11297 2013-05-01 Leo Liu <sdl.web@gmail.com>
11299 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11300 definitions. Use completion-at-point to insert keywords.
11301 (octave-abbrev-start): Remove.
11302 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11304 2013-04-30 Leo Liu <sdl.web@gmail.com>
11306 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11309 2013-04-30 Alan Mackenzie <acm@muc.de>
11311 Handle arbitrarily long C++ member initialisation lists.
11312 * progmodes/cc-engine.el (c-back-over-member-initializers):
11314 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11315 (most) member init lists.
11317 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11319 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11322 2013-04-30 Leo Liu <sdl.web@gmail.com>
11324 * progmodes/octave.el (octave-variables): Remove. No builtin
11325 variables any more. All converted to functions.
11326 (octave-font-lock-keywords, octave-completion-at-point-function):
11328 (octave-font-lock-texinfo-comment): New user variable.
11329 (octave-texinfo-font-lock-keywords): New variable for texinfo
11331 (octave-function-comment-block): New face.
11332 (octave-font-lock-texinfo-comment): New function.
11333 (octave-mode): Font lock texinfo comment block.
11335 2013-04-29 Leo Liu <sdl.web@gmail.com>
11337 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11338 indexing expression.
11339 (octave-continuation-string): Do not use \.
11340 (inferior-octave-complete-impossible): Remove.
11341 (inferior-octave-completion-table)
11342 (inferior-octave-completion-at-point): Remove its uses.
11343 (inferior-octave-startup): completion_matches was introduced to
11344 Octave in 1996 so safe to assume it.
11345 (octave-function-file-comment): Improve to follow how Octave does it.
11346 (octave-update-function-file-comment): Tweak.
11348 2013-04-29 Leo Liu <sdl.web@gmail.com>
11350 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11351 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11352 (octave-function-file-comment): Fix typo.
11353 (octave-sync-function-file-names): Use read-char-choice.
11355 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11357 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11358 to t for the less important warnings.
11360 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11362 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11364 2013-04-27 Glenn Morris <rgm@gnu.org>
11366 * vc/log-view.el (log-view-current-entry):
11367 Treat "---" separator lines as part of the following rev. (Bug#14169)
11369 2013-04-27 Juri Linkov <juri@jurta.org>
11371 * subr.el (read-number): Doc fix about using it by interactive
11372 code letter `n'. (Bug#14254)
11374 2013-04-27 Juri Linkov <juri@jurta.org>
11376 * desktop.el (desktop-auto-save-timeout): New option.
11377 (desktop-file-checksum): New variable.
11378 (desktop-save): Add optional arg `auto-save' and don't auto-save
11379 if nothing changed.
11380 (desktop-auto-save-timer): New variable.
11381 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11382 (after-init-hook): Call `desktop-auto-save-set-timer'.
11383 Suggested by Reuben Thomas <rrt@sc3d.org> in
11384 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11386 2013-04-27 Leo Liu <sdl.web@gmail.com>
11388 * progmodes/octave.el (octave-function-file-p)
11389 (octave-skip-comment-forward, octave-function-file-comment)
11390 (octave-update-function-file-comment): New functions.
11391 (octave-mode-map): Bind C-c ; to
11392 octave-update-function-file-comment.
11393 (octave-mode-menu): Add octave-update-function-file-comment.
11394 (octave-mode, inferior-octave-mode): Fix doc-string.
11395 (octave-insert-defun): Conform to Octave's coding convention.
11398 * files.el (basic-save-buffer): Don't let errors in
11399 before-save-hook prevent saving buffer.
11401 2013-04-20 Roland Winkler <winkler@gnu.org>
11403 * faces.el (read-face-name): Use completing-read if arg multiple
11406 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11408 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11409 displayed, move point to after the totals line.
11410 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11413 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11415 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11416 Add current dir to the load-path.
11417 (package-generate-autoloads): Don't rely on
11418 autoload-ensure-default-file.
11420 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11422 * textmodes/remember.el (remember-store-in-files): Document that
11423 the file name format is passed to `format-time-string'.
11425 2013-04-26 Leo Liu <sdl.web@gmail.com>
11427 * progmodes/octave.el (octave-sync-function-file-names): New function.
11428 (octave-mode): Use it in before-save-hook.
11430 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11432 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11435 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11436 \n and comment, even if it's not an implicit ; (bug#14218).
11438 2013-04-26 Glenn Morris <rgm@gnu.org>
11440 * subr.el (read-number): Once more use `read' rather than
11441 `string-to-number', to trap non-numeric input. (Bug#14254)
11443 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11445 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11446 Use `syntax-multiline' text property consistently instead of
11447 `font-lock-multiline'. (Bug#14237)
11449 2013-04-26 Glenn Morris <rgm@gnu.org>
11451 * emacs-lisp/shadow.el (list-load-path-shadows):
11452 No longer necessary to check for duplicate simple.el, since
11453 2012-07-07 change to init_lread to not include installation lisp
11454 directories in load-path when running uninstalled. (Bug#14270)
11456 2013-04-26 Leo Liu <sdl.web@gmail.com>
11458 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11459 (octave-mode, inferior-octave-mode): Use setq-local.
11460 (octave-not-in-string-or-comment-p): Rename to
11461 octave-in-string-or-comment-p.
11462 (octave-in-comment-p, octave-in-string-p)
11463 (octave-in-string-or-comment-p): Replace defsubst with defun.
11465 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11467 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11469 2013-04-25 Bastien Guerry <bzg@gnu.org>
11471 * textmodes/remember.el (remember-data-directory)
11472 (remember-directory-file-name-format): Fix custom types.
11474 2013-04-25 Leo Liu <sdl.web@gmail.com>
11476 * progmodes/octave.el (octave-completion-at-point-function):
11477 Make use of inferior octave process.
11478 (octave-initialize-completions): Remove.
11479 (inferior-octave-completion-table): New function.
11480 (inferior-octave-completion-at-point): Use it.
11481 (octave-completion-alist): Remove.
11483 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11485 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11486 (opascal-mode-syntax-table): New var.
11487 (opascal-literal-kind, opascal-is-literal-end)
11488 (opascal-literal-token-at): Rewrite.
11489 (opascal--literal-start-re, opascal-font-lock-keywords)
11490 (opascal--syntax-propertize): New constants.
11491 (opascal-font-lock-defaults): Adjust.
11492 (opascal-mode): Use them. Set comment-<foo> variables as well.
11493 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11494 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11495 (delphi-other-face, opascal-other-face): Remove face variables.
11496 (opascal-save-state): Remove macro.
11497 (opascal-fontifying-progress-step): Remove constant.
11498 (opascal--ignore-changes): Remove var.
11499 (opascal-set-token-property, opascal-parse-next-literal)
11500 (opascal-is-stable-literal, opascal-complete-literal)
11501 (opascal-is-literal-start, opascal-face-of)
11502 (opascal-parse-region, opascal-parse-region-until-stable)
11503 (opascal-fontify-region, opascal-after-change)
11504 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11505 (opascal-debug-parse-region, opascal-debug-parse-window)
11506 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11507 (opascal-debug-fontify-buffer): Remove.
11508 (opascal-debug-mode-map): Adjust accordingly.
11510 2013-04-25 Leo Liu <sdl.web@gmail.com>
11512 Merge octave-mod.el and octave-inf.el into octave.el with some
11514 * progmodes/octave.el: New file renamed from octave-mod.el.
11515 * progmodes/octave-inf.el: Merged into octave.el.
11516 * progmodes/octave-mod.el: Renamed to octave.el.
11518 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11520 * textmodes/reftex-vars.el
11521 (reftex-label-ignored-macros-and-environments): New defcustom.
11523 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11525 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11527 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11528 (smie-indent-keyword): Improve the check to ensure that the next
11529 comment is really on the same line.
11530 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11532 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11533 semi-colons if the line is not otherwise empty (bug#14218).
11535 2013-04-25 Glenn Morris <rgm@gnu.org>
11537 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11539 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * progmodes/opascal.el (opascal-set-token-property): Rename from
11542 opascal-set-text-properties and only set `token' (bug#14134).
11543 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11544 (opascal-literal-text-properties): Remove.
11545 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11548 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11550 * textmodes/remember.el (remember-handler-functions): Add an
11551 option for a new handler `remember-store-in-files'.
11552 (remember-data-directory, remember-directory-file-name-format):
11554 (remember-store-in-files): New function to store remember notes
11555 as separate files within a directory.
11557 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11559 * progmodes/compile.el (compilation-next-error-function):
11560 Pass "formats" to compilation-find-file (bug#11777).
11562 2013-04-24 Glenn Morris <rgm@gnu.org>
11564 * vc/vc-bzr.el (vc-bzr-print-log):
11565 * vc/vc-hg.el (vc-hg-print-log):
11566 * vc/vc-svn.el (vc-svn-print-log):
11567 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11569 * vc/vc-bzr.el (vc-bzr-print-log):
11570 * vc/vc-cvs.el (vc-cvs-print-log):
11571 * vc/vc-git.el (vc-git-print-log):
11572 * vc/vc-hg.el (vc-hg-print-log):
11573 * vc/vc-mtn.el (vc-mtn-print-log):
11574 * vc/vc-rcs.el (vc-rcs-print-log):
11575 * vc/vc-sccs.el (vc-sccs-print-log):
11576 * vc/vc-svn.el (vc-svn-print-log):
11577 * vc/vc.el (vc-print-log-internal): Doc fixes.
11579 2013-04-23 Glenn Morris <rgm@gnu.org>
11581 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11582 Remove venerable code attempting to avoid substitute-command-keys.
11584 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11586 * textmodes/reftex-vars.el (reftex-label-regexps):
11587 Call `reftex-compile-variables' after changes to this variable.
11589 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11591 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11592 Use lexical-binding.
11593 (jit-lock-force-redisplay): Use markers, check buffer's continued
11594 existence and beware narrowed buffers.
11595 (jit-lock-fontify-now): Adjust call accordingly.
11597 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11599 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11600 to avoid misleading the user.
11602 2013-04-22 Leo Liu <sdl.web@gmail.com>
11604 * info-look.el: Prefer latex2e.info. (Bug#14240)
11606 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11608 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11610 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11611 * net/tramp.el (tramp-call-process): ... here.
11612 (tramp-set-completion-function, tramp-parse-putty):
11613 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11614 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11615 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11616 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11617 (tramp-call-local-coding-command): Use `tramp-call-process'
11618 instead of `tramp-compat-call-process'.
11620 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11621 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11622 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11623 (tramp-find-inline-compress): Improve traces.
11624 (tramp-maybe-send-script): Check for Perl binary.
11625 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11627 2013-04-22 Daiki Ueno <ueno@gnu.org>
11629 * epg.el (epg-context-pinentry-mode): New function.
11630 (epg-context-set-pinentry-mode): New function.
11631 (epg--start): Pass --pinentry-mode option to gpg command.
11633 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11635 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11636 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11637 `completion-at-point'. (Bug#13774)
11639 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11640 default key binding for `describe-distribution' has been moved to
11641 `C-h C-o'. (Bug#13970)
11643 2013-04-21 Glenn Morris <rgm@gnu.org>
11645 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11647 (vc-print-log): Clarify interactive prompt.
11649 2013-04-20 Glenn Morris <rgm@gnu.org>
11651 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11652 No longer include timestamp etc information.
11654 2013-04-20 Roland Winkler <winkler@gnu.org>
11656 * faces.el (read-face-name): Bug fix, return just one face if arg
11657 multiple is nil. (Bug#14209)
11659 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11661 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11662 (remove-function): Autoload.
11664 * comint.el (comint-redirect-original-filter-function): Remove.
11665 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11666 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11667 (vc-cvs-annotate-command):
11668 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11669 * progmodes/prolog.el (prolog-consult-compile):
11670 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11671 Use add/remove-function instead.
11672 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11673 (gud-tooltip-process-output, gud-tooltip-tips):
11674 Use add/remove-function instead.
11675 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11676 (scheme-interaction-mode, exit-scheme-interaction-mode):
11677 Use add/remove-function instead.
11679 * vc/vc-dispatcher.el: Use lexical-binding.
11680 (vc--process-sentinel): Rename from vc-process-sentinel.
11681 Change last arg to be the code to run. Don't use vc-previous-sentinel
11682 and vc-sentinel-commands any more.
11683 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11684 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11686 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11688 * progmodes/sh-script.el (sh-imenu-generic-expression):
11689 Handle function names with a single character. (Bug#14111)
11691 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11693 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11694 for subroutines defined in an eval (bug#14182).
11696 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11698 * bookmark.el (bookmark-completing-read): Improve handling of empty
11699 string (bug#14176).
11701 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11703 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11705 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11707 New faster Imenu implementation (bug#14058).
11708 * progmodes/python.el:
11709 (python-imenu-prev-index-position):
11710 (python-imenu-format-item-label-function)
11711 (python-imenu-format-parent-item-label-function)
11712 (python-imenu-format-parent-item-jump-label-function):
11714 (python-imenu-format-item-label)
11715 (python-imenu-format-parent-item-label)
11716 (python-imenu-format-parent-item-jump-label)
11717 (python-imenu--put-parent, python-imenu--build-tree)
11718 (python-imenu-create-index, python-imenu-create-flat-index)
11719 (python-util-popn): New functions.
11720 (python-mode): Set imenu-create-index-function to
11721 python-imenu-create-index.
11723 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11725 * winner.el (winner-active-region): Use region-active-p, activate-mark
11726 and deactivate-mark (bug#14225).
11728 * simple.el (deactivate-mark): Don't inline it.
11730 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11732 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11734 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11736 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11737 file extensions from the archive-mode entry in order to prefer
11738 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11740 2013-04-18 Leo Liu <sdl.web@gmail.com>
11742 * bindings.el (help-event-list): Add ?\?.
11744 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11746 * subr.el (with-wrapper-hook): Declare obsolete.
11747 * simple.el (filter-buffer-substring-function): New hook.
11748 (filter-buffer-substring): Use it.
11749 (filter-buffer-substring-functions): Mark obsolete.
11750 * minibuffer.el (completion-in-region-function): New hook.
11751 (completion-in-region): Use it.
11752 (completion-in-region-functions): Mark obsolete.
11753 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11754 * abbrev.el (abbrev-expand-function): New hook.
11755 (expand-abbrev): Use it.
11756 (abbrev-expand-functions): Mark obsolete.
11757 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11758 and :filter-return.
11760 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11762 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11763 and do not care about match data.
11765 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11767 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11768 completion tables when completing error conditions and
11769 `declare' arguments.
11770 (lisp-complete-symbol, field-complete): Mark as obsolete.
11771 (check-parens): Unmatched parens are user errors.
11772 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11774 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11776 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11777 command changed buffer (ie. `flyspell-pre-buffer' is not current
11778 buffer), which prevents making decisions based on invalid value of
11779 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11780 cause an error when `flyspell-pre-point' was nil after switching
11782 (flyspell-post-command-hook): No longer needs to change buffers when
11783 checking pre-word. While at it remove unnecessary progn.
11785 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11787 * textmodes/ispell.el (ispell-add-per-file-word-list):
11788 Fix `flyspell-correct-word-before-point' error when accepting
11789 words and `coment-padding' is an integer by using
11790 `comment-normalize-vars' (Bug #14214).
11792 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11794 New defun movement commands.
11795 * progmodes/python.el (python-nav--syntactically)
11796 (python-nav--forward-defun, python-nav-backward-defun)
11797 (python-nav-forward-defun): New functions.
11799 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11801 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11802 (python-syntax-context): Use named compiler-macro for backwards
11803 compatibility with Emacs 24.x.
11805 2013-04-17 Leo Liu <sdl.web@gmail.com>
11807 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11808 octave-hide-process-buffer.
11810 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11812 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11815 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11817 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11818 Fix adjustment of offset when receiving incomplete responses from GDB
11821 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11823 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11824 python-mode-abbrev-table.
11825 (python-skeleton-define): Adjust accordingly.
11826 (python-mode-abbrev-table): New table that inherits from it so that
11827 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11829 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11830 (abbrev-symbol): Use it.
11831 (abbrev--before-point): Use it since we already handle inheritance.
11833 2013-04-16 Leo Liu <sdl.web@gmail.com>
11835 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11836 binding to info-lookup-symbol.
11838 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11840 * minibuffer.el (completion--twq-all):
11841 * term/ns-win.el (ns-initialize-window-system):
11842 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11844 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11849 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11851 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11853 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11854 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11856 (ruby-end-of-defun): Remove the unused arg, change the docstring
11857 to reflect that this function is only used as the value of
11858 `end-of-defun-function'.
11859 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11860 to reflect an earlier change that beginning/end-of-defun functions
11861 jump between methods in a class definition, as well as top-level
11864 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * minibuffer.el (minibuffer-complete): Don't just scroll
11867 a *Completions* that's been iconified.
11868 (minibuffer-force-complete): Make sure repetitions do cycle when going
11869 through completion-in-region -> minibuffer-complete.
11871 2013-04-15 Alan Mackenzie <acm@muc.de>
11873 Correct the placement of c-cpp-delimiters when there're #s not at
11876 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11877 place a submatch around the #.
11878 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11879 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11882 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11884 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11885 (advice--member-p): New arg `name'.
11886 (advice--add-function, advice-member-p): Use it (bug#14202).
11888 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11890 Reformulate java imenu-generic-expression.
11891 The old expression contained ill formed regexps.
11893 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11894 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11895 (cc-imenu-java-method-arg-regexp): New defconsts.
11896 (cc-imenu-java-build-type-args-regex): New defun.
11897 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11898 handling of spaces in the regexp.
11900 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11902 * textmodes/ispell.el (ispell-command-loop): Remove
11903 flyspell highlight of a word when ispell accepts it (bug #14178).
11905 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11907 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11908 uses code from the previous `ange-ftp-run-real-handler'.
11909 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11910 only in case that function exist. This is needed for proper
11911 unloading of Tramp.
11913 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11915 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11917 * textmodes/reftex.el (reftex-compile-variables): Use it.
11919 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11921 * files.el (normal-mode): Only use default major-mode if no other mode
11924 * emacs-lisp/trace.el (trace-values): New function.
11926 * files.el: Allow : in local variables (bug#14089).
11927 (hack-local-variable-regexp): New var.
11928 (hack-local-variables-prop-line, hack-local-variables): Use it.
11930 2013-04-13 Roland Winkler <winkler@gnu.org>
11932 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11933 data before it gets modified by bibtex-beginning-of-entry.
11935 2013-04-13 Roland Winkler <winkler@gnu.org>
11937 * textmodes/bibtex.el (bibtex-url): Doc fix.
11939 2013-04-13 Roland Winkler <winkler@gnu.org>
11941 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11942 does not visit a BibTeX file, exclude it from the list of buffers
11943 returned by bibtex-initialize.
11945 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11947 * window.el (split-window): Remove interactive form, since as a
11948 command this function is a special case of split-window-below.
11949 Correct doc string.
11951 2013-04-12 Roland Winkler <winkler@gnu.org>
11953 * faces.el (read-face-name): Do not override value of arg default.
11954 Allow single faces and strings as default values. Remove those
11955 elements from return value that are not faces.
11956 (describe-face): Simplify.
11957 (face-at-point): New optional args thing and multiple so that this
11958 function can provide the same functionality previously provided by
11960 (make-face-bold, make-face-unbold, make-face-italic)
11961 (make-face-unitalic, make-face-bold-italic, invert-face)
11962 (modify-face, read-face-and-attribute): Use face-at-point.
11964 * cus-edit.el (customize-face, customize-face-other-window)
11965 * cus-theme.el (custom-theme-add-face)
11966 * face-remap.el (buffer-face-set)
11967 * facemenu.el (facemenu-set-face): Use face-at-point.
11969 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11971 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11973 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11975 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11976 off leading { and trailing } from field values.
11978 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * emacs-lisp/timer.el (timer--check): New function.
11981 (timer--time, timer-set-function, timer-event-handler): Use it.
11982 (timer-set-idle-time): Simplify.
11983 (timer--activate): CSE.
11984 (timer-event-handler): Give more info in error message.
11985 (internal-timer-start-idle): New function, moved from C.
11987 * mpc.el (mpc-proc): Add `restart' argument.
11988 (mpc-proc-cmd): Use it.
11989 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11990 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11993 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11995 * progmodes/sh-script.el: Implement `sh-mode' own
11996 `add-log-current-defun-function' (bug#14112).
11997 (sh-current-defun-name): New function.
11998 (sh-mode): Use the function.
12000 2013-04-09 Bastien Guerry <bzg@gnu.org>
12002 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12004 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12006 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12008 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12011 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12013 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12016 2013-04-07 Leo Liu <sdl.web@gmail.com>
12018 * pcmpl-x.el: New file.
12020 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12022 Do not set x-display-name until X connection is established.
12023 This is needed to prevent from weird situation described at
12024 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12025 * frame.el (make-frame): Set x-display-name after call to
12026 window system initialization function, not before.
12027 * term/x-win.el (x-initialize-window-system): Add optional
12028 display argument and use it.
12029 * term/w32-win.el (w32-initialize-window-system):
12030 * term/ns-win.el (ns-initialize-window-system):
12031 * term/pc-win.el (msdos-initialize-window-system):
12032 Add compatible optional display argument.
12034 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12036 * files.el (normal-backup-enable-predicate): On MS-Windows and
12037 MS-DOS compare truenames of temporary-file-directory and of the
12038 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12039 don't fail comparison by compare-strings. Also, compare file
12040 names case-insensitively on MS-Windows and MS-DOS.
12042 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12044 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12045 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12047 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12049 * whitespace.el (whitespace-color-on, whitespace-color-off):
12050 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12052 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12054 * ispell.el (ispell-set-spellchecker-params):
12055 Really set `ispell-args' for all equivs.
12057 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12059 * ido.el (ido-completions): Use extra elements of ido-decorations
12061 (ido-decorations): Update docstring.
12063 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12065 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12066 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12067 nil during initialization, in order not to miss changes since the
12068 file was opened. (Bug#14140)
12070 2013-04-05 Leo Liu <sdl.web@gmail.com>
12072 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12074 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12076 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12078 2013-04-04 Glenn Morris <rgm@gnu.org>
12080 * electric.el (electric-pair-inhibit-predicate): Add :version.
12082 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12084 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12085 when a package is required several times (bug#14082).
12087 2013-04-04 Roland Winkler <winkler@gnu.org>
12089 * faces.el (read-face-name): Behave as promised by the docstring.
12090 Assume that arg default is a list of faces.
12091 (describe-face): Call read-face-name with list of default faces.
12093 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12095 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12096 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12097 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12099 (bookmark-exit-hook-internal): Save even if list is empty.
12101 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12103 * emacs-lisp/package.el (package-pinned-packages): New var.
12104 (package--add-to-archive-contents): Obey it (bug#14118).
12106 2013-04-03 Alan Mackenzie <acm@muc.de>
12108 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12109 Also adapt to the new values of element 7 of a parse state.
12111 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12112 parameter `not-in-delimiter'. Handle being inside comment opener.
12113 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12114 character in case we're typing a '*' after a '/'.
12115 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12116 instead by passing the parameter to c-state-pp-to-literal.
12118 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12119 for elt. 7 of a parse state.
12121 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12123 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12124 * international/latin1-disp.el, international/mule-util.el:
12125 * language/cyril-util.el, language/european.el, language/ind-util.el:
12126 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12127 * language/tibetan.el, language/viet-util.el:
12128 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12130 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12132 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12133 (electric-pair-post-self-insert-function): Use it.
12134 (electric-pair-default-inhibit): New function, extracted from
12135 electric-pair-post-self-insert-function.
12137 2013-03-31 Roland Winkler <winkler@gnu.org>
12139 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12141 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12143 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12145 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12147 Un-indent after "pass" and "return" statements (Bug#13888)
12148 * progmodes/python.el (python-indent-block-enders): New var.
12149 (python-indent-calculate-indentation): Use it.
12151 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12153 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12154 defun. Defining it as defalias could introduce too eager
12155 byte-compiler optimization. (Bug#14030)
12157 2013-03-30 Chong Yidong <cyd@gnu.org>
12159 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12161 2013-03-30 Leo Liu <sdl.web@gmail.com>
12163 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12164 (kmacro-execute-from-register): Pass the keyboard macro to
12165 kmacro-call-macro or repeating won't work correctly.
12167 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12169 * progmodes/subword.el: Back to using `forward-symbol'.
12171 * subr.el (forward-whitespace, forward-symbol)
12172 (forward-same-syntax): Move from thingatpt.el.
12174 2013-03-29 Leo Liu <sdl.web@gmail.com>
12176 * kmacro.el (kmacro-to-register): New command.
12177 (kmacro-execute-from-register): New function.
12178 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12180 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12182 * mpc.el: Use defvar-local and setq-local.
12183 (mpc--proc-connect): Connection failures are not bugs.
12184 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12185 (mpc-volume-map): Bind to the up-events.
12187 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12189 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12190 instead of `forward-symbol'.
12192 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12194 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12195 (edebug--recursive-edit): Use it.
12196 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12197 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12199 2013-03-28 Leo Liu <sdl.web@gmail.com>
12201 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12203 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12205 * facemenu.el (list-colors-callback): New defvar.
12206 (list-colors-redisplay): New function.
12207 (list-colors-display): Install list-colors-redisplay as the
12208 revert-buffer-function. (Bug#14063)
12210 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12212 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12213 and suffixes don't overlap (bug#14061).
12215 * case-table.el: Use lexical-binding.
12216 (case-table-get-table): New function.
12217 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12219 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12221 * progmodes/subword.el: Add `superword-mode' to do word motion
12222 over symbol_words (parallels and leverages `subword-mode' which
12223 does word motion inside MixedCaseWords).
12225 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12227 * eshell/em-unix.el: Move su and sudo to...
12228 * eshell/em-tramp.el: ...Eshell tramp module.
12230 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12232 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12233 Change return value to be a sexp. Delay `get-buffer' to after
12234 restoring the desktop (bug#13951).
12236 2013-03-26 Leo Liu <sdl.web@gmail.com>
12238 * register.el: Move semantic tag handling back to
12239 cedet/semantic/senator.el. (Bug#14052)
12241 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12243 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12244 into the prompt either (bug#13963).
12246 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12248 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12249 part of "(error-foo)".
12251 2013-03-24 Juri Linkov <juri@jurta.org>
12253 * replace.el (list-matching-lines-prefix-face): New defcustom.
12254 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12255 `occur-engine' if `face-differs-from-default-p' returns t.
12256 (occur-engine): Add `,' inside backquote construct to evaluate
12257 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12258 Pass `prefix-face' to the functions `occur-context-lines' and
12259 `occur-engine-add-prefix'.
12260 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12261 `prefix-face' and propertize the prefix with `prefix-face'.
12264 2013-03-24 Leo Liu <sdl.web@gmail.com>
12266 * nxml/rng-valid.el (rng-validate-while-idle)
12267 (rng-validate-quick-while-idle): Guard against deleted buffer.
12270 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12271 is the last entry in kill-buffer-hook.
12273 * files.el (kill-buffer-hook): Doc fix.
12275 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12277 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12278 Make it safe-local.
12280 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12282 2013-03-23 Leo Liu <sdl.web@gmail.com>
12284 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12287 * nxml/rng-valid.el (rng-validate-mode)
12288 (rng-after-change-function, rng-do-some-validation):
12289 * nxml/rng-maint.el (rng-validate-buffer):
12290 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12291 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12292 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12293 (nxml-extend-after-change-region): Use with-silent-modifications.
12295 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12298 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12299 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12300 timer-idle-list. (Bug#13999)
12302 2013-03-23 Juri Linkov <juri@jurta.org>
12304 * info.el (info-index-match): New face.
12305 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12306 main pattern and add text properties with the new face to matches
12307 in index entries relative to the beginning of the index entry.
12310 2013-03-21 Eric Ludlam <zappo@gnu.org>
12312 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12313 Inhibit read only while inserting objects.
12315 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12317 * progmodes/cfengine.el: Update docs to mention
12318 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12319 symbol motion. Remove "_" from the word syntax.
12321 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12323 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12324 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12326 2013-03-20 Juri Linkov <juri@jurta.org>
12328 * info.el (Info-next-reference-or-link)
12329 (Info-prev-reference-or-link): New functions.
12330 (Info-next-reference, Info-prev-reference): Use them.
12331 (Info-try-follow-nearest-node): Handle footnote navigation.
12332 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12334 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12336 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12337 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12339 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12341 Suppress unnecessary non-ASCII chatter during build process.
12342 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12343 (batch-skkdic-convert): Suppress most of the chatter.
12344 It's not needed so much now that machines are faster,
12345 and its non-ASCII component was confusing; see Dmitry Gutov in
12346 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12348 2013-03-20 Leo Liu <sdl.web@gmail.com>
12350 * ido.el (ido-chop): Fix bug#10994.
12352 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12354 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12356 (whitespace-color-on, whitespace-color-off):
12357 Use `font-lock-fontify-buffer' (Bug#13817).
12359 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12361 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12362 remapping in mode-line.
12363 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12365 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12367 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12368 value for `whitespace-line' face (Bug#13875).
12369 (whitespace-font-lock-keywords): Change description.
12370 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12371 the constructed keywords instead.
12372 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12374 2013-03-19 Leo Liu <sdl.web@gmail.com>
12376 * progmodes/compile.el (compilation-display-error): New command.
12377 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12380 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12382 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12384 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12386 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12388 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12390 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12392 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12393 * net/tramp-gvfs.el (top):
12394 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12395 (tramp-handle-shell-command): Use it.
12396 (tramp-dissect-file-name): Raise an error when hostname is a
12397 method name, and neither method nor user is specified.
12399 * net/trampver.el: Update release number.
12401 2013-03-18 Leo Liu <sdl.web@gmail.com>
12403 Make sure eldoc can be turned off properly.
12404 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12406 (eldoc-display-message-p): Revert last change.
12407 (eldoc-display-message-no-interference-p)
12408 (eldoc-print-current-symbol-info): Tweak.
12410 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12412 * doc-view.el (doc-view-new-window-function): Check the new window
12413 overlay's display property instead the char property of the
12414 buffer's first char. Use `with-selected-window' instead of
12415 `save-window-excursion' with `select-window'.
12416 (doc-view-document->bitmap): Check the current doc-view overlay's
12417 display property instead the char property of the buffer's first char.
12419 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12421 Automate the build of ja-dic.el (Bug#13984).
12422 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12423 from the input, rather than assume that it's been done for us by the
12424 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12425 the current date into a ja-dic.el comment, as that complicates
12426 regression testing.
12428 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12430 * whitespace.el: Fix double evaluation.
12431 (whitespace-space, whitespace-hspace, whitespace-tab)
12432 (whitespace-newline, whitespace-trailing, whitespace-line)
12433 (whitespace-space-before-tab, whitespace-indentation)
12434 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12436 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12437 (whitespace-color-on): Use a single font-lock-add-keywords call.
12438 Fix double-evaluation of face variables.
12440 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12442 * net/tramp-adb.el (tramp-adb-parse-device-names):
12443 Use `start-process' instead of `call-process'. Otherwise, the
12444 function might be blocked under MS Windows. (Bug#13299)
12446 2013-03-17 Leo Liu <sdl.web@gmail.com>
12448 Extend eldoc to display info in the mode-line. (Bug#13978)
12449 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12450 (eldoc-mode-line-string): New variable.
12451 (eldoc-minibuffer-message): New function.
12452 (eldoc-message-function): New variable.
12453 (eldoc-message): Use it.
12454 (eldoc-display-message-p)
12455 (eldoc-display-message-no-interference-p):
12456 Support eldoc-post-insert-mode.
12458 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12459 (eval-expression): Run it.
12461 2013-03-17 Roland Winkler <winkler@gnu.org>
12463 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12464 strings in the list of return values.
12466 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12468 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12469 radix before checking for HMS forms.
12471 2013-03-16 Leo Liu <sdl.web@gmail.com>
12473 * progmodes/scheme.el: Add indentation and font-locking for λ.
12476 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12478 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12479 token before point (bug#13942).
12481 2013-03-16 Leo Liu <sdl.web@gmail.com>
12483 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12485 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12487 * startup.el (command-line-normalize-file-name): Fix handling of
12488 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12489 <xfq.free@gmail.com> in
12490 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12492 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12494 Sync with Tramp 2.2.7.
12496 * net/trampver.el: Update release number.
12498 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12500 * doc-view.el: Fix bug#13887.
12501 (doc-view-insert-image): Don't modify overlay associated to
12502 non-live windows, and implement horizontal centering of image in
12503 case it's smaller than the window.
12504 (doc-view-new-window-function): Force redisplay of new windows on
12507 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12509 * saveplace.el (save-place-alist-to-file): Don't sort
12510 `save-place-alist', just pretty-print it (bug#13882).
12512 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12514 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12515 Check whether `default-file-name-coding-system' is bound.
12516 It isn't in XEmacs.
12518 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12520 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12521 backquotes for `obsolete' (bug#13929).
12523 * international/mule.el (find-auto-coding): Include file name in
12524 obsolescence warning (bug#13922).
12526 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12528 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12529 for CFEngine 3-specific indentation.
12530 (cfengine3-indent-line): Use it. Fix up category regex.
12531 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12533 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12535 * type-break.el (type-break-file-name):
12536 * textmodes/remember.el (remember-data-file):
12537 * strokes.el (strokes-file):
12538 * shadowfile.el (shadow-initialize):
12539 * saveplace.el (save-place-file):
12540 * ps-bdf.el (bdf-cache-file):
12541 * progmodes/idlwave.el (idlwave-config-directory):
12542 * net/quickurl.el (quickurl-url-file):
12543 * international/kkc.el (kkc-init-file-name):
12544 * ido.el (ido-save-directory-list-file):
12545 * emulation/viper.el (viper-custom-file-name):
12546 * emulation/vip.el (vip-startup-file):
12547 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12548 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12550 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12552 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12553 * language/thai-word.el: Switch to UTF-8.
12555 See ChangeLog.16 for earlier changes.
12557 ;; Local Variables:
12561 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12563 This file is part of GNU Emacs.
12565 GNU Emacs is free software: you can redistribute it and/or modify
12566 it under the terms of the GNU General Public License as published by
12567 the Free Software Foundation, either version 3 of the License, or
12568 (at your option) any later version.
12570 GNU Emacs is distributed in the hope that it will be useful,
12571 but WITHOUT ANY WARRANTY; without even the implied warranty of
12572 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12573 GNU General Public License for more details.
12575 You should have received a copy of the GNU General Public License
12576 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.