1 2014-01-28 Glenn Morris <rgm@gnu.org>
3 * indent.el (tab-stop-list): Doc fix. Add :version.
5 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6 (cvs-append-to-ignore): Add compatibility alias.
8 2014-01-27 Glenn Morris <rgm@gnu.org>
10 * dired.el (dired-hide-details-mode): Don't autoload it,
11 since it cannot be used outside Dired buffers anyway.
13 * emulation/cua-base.el (cua-mode): Doc fix.
15 * dired.el (dired-hide-details-hide-symlink-targets)
16 (dired-hide-details-hide-information-lines)
17 (dired-hide-details-mode): Doc fixes.
19 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
20 * strokes.el (strokes-file): Doc fix. Bump :version.
21 (strokes-help): Doc fix.
22 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
23 * emulation/viper.el (viper): Doc fix for custom group.
24 (top-level): Remove oh-so-no-longer-relevant text about vip.
25 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
27 * ido.el (ido-save-directory-list-file):
28 * saveplace.el (save-place-file):
29 * calendar/timeclock.el (timeclock-file):
30 * net/quickurl.el (quickurl-url-file):
31 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
32 * progmodes/idlwave.el (idlwave-config-directory):
33 * textmodes/remember.el (remember-data-file):
36 2014-01-26 Glenn Morris <rgm@gnu.org>
38 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
39 Doc fix. Make obsolete.
40 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
42 * sort.el (delete-duplicate-lines): Doc fix.
44 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
46 * progmodes/ada-mode.el (ada):
47 * woman.el (woman): Link to info manual and Commentary section.
49 * progmodes/flymake.el (flymake):
50 * nxml/nxml-mode.el (nxml):
52 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
53 * htmlfontify.el (htmlfontify):
56 * ido.el (ido): Link to info manual.
58 2014-01-25 Leo Liu <sdl.web@gmail.com>
60 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
62 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
64 * net/shr.el (shr-tag-img): Prefer the title over the alt text
67 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
69 * net/eww.el (eww-download-callback):
70 Fix reference to eww-download-directory.
72 * emacs-lisp/bytecomp.el (byte-compile-file):
73 Remove unused local variable `file-name'.
75 2014-01-24 Glenn Morris <rgm@gnu.org>
77 * woman.el (woman-default-faces, woman-monochrome-faces):
78 Fix obsolescence specification.
80 * subr.el (with-demoted-errors): Doc fix.
82 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
84 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
85 (cl--macroexp-fboundp): New function.
86 (cl--make-type-test): Use it.
88 2014-01-23 Glenn Morris <rgm@gnu.org>
90 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
91 * simple.el (eval-expression): Doc fixes.
93 2014-01-22 Glenn Morris <rgm@gnu.org>
95 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
97 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
99 * emacs-lisp/package.el: Write files silently.
100 (package-autoload-ensure-default-file, package--write-file-no-coding)
101 (package-generate-description-file, package--download-one-archive)
102 (package-install-from-archive): Tell `write-region' to stay quiet.
103 (package-menu-mode, package-menu--print-info): Omit the Archive column
104 if there's only one archive.
105 (package-all-keywords, package--has-keyword-p): Remove dead code.
107 2014-01-22 Glenn Morris <rgm@gnu.org>
109 * version.el (emacs-bzr-version-bzr): Fix typo.
111 * version.el (emacs-repository-get-version):
112 Check either .bzr or .git, but not both.
113 Make the git case actually use the DIR argument, and return nil
114 rather than the empty string.
115 Avoid error if .git exists but the git executable is not found.
117 2014-01-22 Martin Rudalics <rudalics@gmx.at>
119 Fixes in window size functions around Bug#16430 and Bug#16470.
120 * window.el (window-total-size, window-size): New argument ROUND.
121 (window--min-delta-1, window-min-delta, window--max-delta-1):
122 Be more conservative when calculating the numbers of lines or
123 columns a window can shrink (Bug#16430).
124 (fit-window-to-buffer): Simplify code.
125 * term.el (term-window-width): Call window-body-width again.
127 2014-01-22 Glenn Morris <rgm@gnu.org>
129 * image.el (image-format-suffixes): Doc fix.
131 * international/quail.el (quail-define-package): Doc fix.
133 * emacs-lisp/authors.el (authors-valid-file-names):
134 (authors-renamed-files-alist): Additions.
136 * vc/vc-git.el (vc-git-print-log): Remove --follow;
137 reverts 2014-01-09 change. (Bug#16422)
139 * calc/calc-embed.el (thing-at-point-looking-at):
140 * emacs-lisp/map-ynp.el (x-popup-dialog):
141 * obsolete/lmenu.el (x-popup-dialog):
142 * emacs-lisp/package.el (url-recreate-url):
143 * mail/mailclient.el (clipboard-kill-ring-save):
144 * subr.el (x-popup-dialog): Update declaration.
145 * mail/rmail.el (rmail-mime-message-p):
146 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
148 2014-01-21 Daniel Colascione <dancol@dancol.org>
150 * progmodes/sh-script.el (sh--inside-noncommand-expression):
151 Correctly detect when we're inside an arithmetic expansion form
152 containing nested parenthesis.
153 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
154 to detect cases where we shouldn't expand "<<" to a heredoc
157 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
159 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
160 (eldoc--message-command-p): New function.
161 (eldoc-display-message-p): Use it.
162 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
163 message is not automatically erased for us.
164 (eldoc-print-current-symbol-info): Erase previous message, if any.
166 2014-01-21 Tassilo Horn <tsdh@gnu.org>
168 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
169 specify it's an interactive function.
171 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
172 Fix regex used for scanning for citation keys which failed for
173 citations with optional arguments.
175 2014-01-21 Leo Liu <sdl.web@gmail.com>
177 * simple.el (read--expression): Don't enable eldoc-mode.
179 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
181 * simple.el (move-beginning-of-line): Make sure we don't move forward
184 2014-01-20 Juri Linkov <juri@jurta.org>
186 * saveplace.el (toggle-save-place, save-place-to-alist)
187 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
188 'dired-mode) before checking for dired-directory. (Bug#16477)
190 2014-01-20 Juri Linkov <juri@jurta.org>
192 * indent.el (indent-line-to): Use backward-to-indentation
193 instead of back-to-indentation. (Bug#16461)
195 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
197 Revert some of the CANNOT_DUMP fix (Bug#16494).
198 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
199 but fixing this can wait until after the next release.
200 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
202 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
204 * eshell/esh-mode.el (eshell-password-prompt-regexp):
205 Use `password-word-equivalents'.
206 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
207 to t. (Bug#5664, Bug#13124)
209 2014-01-19 Alan Mackenzie <acm@muc.de>
211 Bind open-paren-in-column-0-is-defun-start to nil at some entry
213 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
214 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
215 * progmodes/cc-mode.el (c-before-change, c-after-change)
216 (c-font-lock-fontify-region): Bind it here.
218 2014-01-19 Martin Rudalics <rudalics@gmx.at>
220 * term.el (term-window-width): Call window-text-width instead of
221 window-width (Bug#16470).
223 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
225 * simple.el (password-word-equivalents): Remove duplicates.
226 Sort, to make this easier next time.
227 Downcase. Omit ": " after "jelszó".
229 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
231 * term/common-win.el (saved-region-selection): Defvar it.
232 (x-select-text): Set saved-region-selection (Bug#16382).
234 2014-01-18 Glenn Morris <rgm@gnu.org>
236 * emacs-lisp/authors.el (authors-aliases)
237 (authors-renamed-files-alist): Add some entries.
239 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
241 * net/tramp.el (tramp-password-prompt-regexp):
242 Use `password-word-equivalents' if available.
243 (tramp-action-password, tramp-process-one-action)
244 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
246 2014-01-17 Chong Yidong <cyd@gnu.org>
248 * simple.el (password-word-equivalents): New defcustom.
249 * comint.el (comint-password-prompt-regexp): Use it. Bump version
251 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
254 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
256 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
257 (ruby-align-to-stmt-keywords): Change the default value.
258 Use `ruby-alignable-keywords' to generate the possible customization
260 (ruby-smie-rules): Instead of using a hardcoded list of alignable
261 keywords, check against the value of `ruby-alignable-keywords'
262 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
264 2014-01-17 Glenn Morris <rgm@gnu.org>
266 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
268 Make M-x authors return zero *Authors Errors* from current logs.
269 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
270 (authors-ignored-files): Add some entries, remove others.
271 (authors-ambiguous-files, authors-valid-file-names):
273 (authors-renamed-files-alist): Add, remove, and adjust entries.
274 (authors-renamed-files-regexps): Add some entries.
275 Remove some very broad ones. Make some entries `lax'.
276 (authors-lax-changelogs): New constant.
277 (authors-disambiguate-file-name): Treat top-level specially.
278 (authors-lax-changelog-p): New function.
279 (authors-canonical-file-name): Check file as written against
280 authors-valid-file-names. Do not special-case etc/.
281 Handle `lax' logs and authors-renamed-files-regexps elements.
283 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
285 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
286 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
289 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
291 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
292 Assume we're already in the proper buffer.
293 Inspired by Anders Lindgren <andlind@gmail.com>.
294 (follow-post-command-hook): Call it from the right buffer.
295 (follow-comint-scroll-to-bottom): Adjust call.
296 (follow-all-followers): Use get-buffer-window-list.
298 2014-01-15 Daniel Colascione <dancol@dancol.org>
300 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
301 `buffer-file-name' in interactive-form so that we don't leave
302 pathless file names in `file-name-history'.
304 2014-01-15 Juri Linkov <juri@jurta.org>
306 * indent.el (indent-rigidly): Set deactivate-mark to nil
307 in transient indentation mode. (Bug#16438)
309 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
311 * emacs-lisp/package.el (package-desc-keywords): New function
313 (describe-package-1, package-all-keywords)
314 (package--has-keyword-p): Use it.
316 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
318 * simple.el (define-alternatives): When creating the
319 COMMAND-alternatives variable, assign COMMAND as its definition
320 name so that `describe-variable' can relocate it.
322 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
324 * font-lock.el (font-lock-keywords): Fix typo in docstring
327 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
329 * ispell.el (ispell-region): Reset `in-comment' for new line
330 instead of wrongly reset `add-coment' (bug#13577).
332 2014-01-14 Daiki Ueno <ueno@gnu.org>
334 * epa-file.el (epa-file-write-region): Encode the region according
335 to `buffer-file-format'. Problem reported at:
336 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
338 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
340 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
341 so it applies in the right buffer (bug#16410).
343 2014-01-13 Daniel Colascione <dancol@dancol.org>
345 * textmodes/rst.el (rst-define-key): Provide deprecated
346 keybindings through named functions instead of anonymous ones so
347 that "??" doesn't appear in describe-mode output.
349 2014-01-13 Bastien Guerry <bzg@gnu.org>
351 * simple.el (define-alternatives): Call the selected command
352 interactively. When setting `COMMAND--implementation' for the
353 first time, tell the user how to chose another implementation.
354 Enhance the docstring.
356 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
358 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
359 (log-edit--match-first-line): New function.
360 (log-edit-font-lock-keywords): Use it.
361 (log-edit-mode): Make jit-lock-defer-multiline work.
363 2014-01-13 Bastien Guerry <bzg@gnu.org>
365 * rect.el (rectangle-mark-mode): When the region is not active,
366 display a message saying that the mark as been set and that
367 rectangle mode is in use.
368 (rectangle--highlight-for-redisplay): Only put an overlay with a
369 visible vertical bar when (display-graphic-p) is non-nil.
370 This partially fixes Bug#16403.
372 2014-01-13 Juri Linkov <juri@jurta.org>
374 * info.el (Info-find-file): Go to DIR before displaying the error
375 about a nonexistent file if no previous Info file is visited.
376 Use `user-error' instead of `error' for "Info file %s does not exist".
377 (Info-find-node-2): In case of a nonexistent node in unwind forms
378 go to the Top node if there is no previous node to revert to.
381 2014-01-13 Martin Rudalics <rudalics@gmx.at>
383 fit-frame/window-to-buffer code fixes including one for Bug#14096.
384 * window.el (fit-frame-to-buffer): Fix doc-string.
385 Respect window-min-height/-width. Fit pixelwise when
386 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
387 when avoiding that frame goes partially off-screen.
388 (fit-window-to-buffer): Respect window-min-height/-width
391 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
393 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
396 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
398 * net/shr.el (shr-render-region): Autoload.
400 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
402 * net/eww.el (eww-download-directory): Rename from
403 `eww-download-path' (Bug#16419).
405 2014-01-12 Leo Liu <sdl.web@gmail.com>
407 * dired-x.el (dired-mode-map): Fix last change.
409 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
411 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
414 * emacs-lisp/generic.el (generic--normalize-comments):
415 Rename from generic--normalise-comments. All uses changed.
416 * play/bubbles.el (bubbles--neighborhood-score):
417 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
418 (bubbles--neighborhood-available)
419 (bubbles--update-neighborhood-score):
420 Rename from names with 'neighbourhood'. All uses changed.
422 2014-01-12 Leo Liu <sdl.web@gmail.com>
424 Re-implement the feature of showing eldoc info after editing.
425 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
426 (eldoc-edit-message-commands): New function.
427 (eldoc-print-after-edit): New variable.
428 (eldoc-pre-command-refresh-echo-area): Emit message only by
429 eldoc-message-commands.
430 (eldoc-mode): Restrict eldoc-message-commands to editing commands
431 if eldoc-print-after-edit is set. (Bug#16346)
432 * simple.el (read--expression): Enable eldoc-mode.
433 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
435 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
436 Eric S. Raymond <esr@thyrsus.com>
438 * version.el (emacs-repository-get-version): Enhance so the
439 function works correctly in either a Bazaar or Git repo.
441 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
443 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
444 Goes with removal of the joke manpages from /etc.
446 2014-01-10 K. Handa <handa@gnu.org>
448 * mail/rmail.el (rmail-get-coding-system):
449 Check rmail-get-coding-function before "funcall"ing it.
451 2014-01-10 Glenn Morris <rgm@gnu.org>
453 * emacs-lisp/authors.el (authors-fixed-entries):
454 Update for files that no longer exist.
456 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
458 * version.el (emacs-bzr-get-version): Restore compatibilty with
461 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
463 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
466 2014-01-10 Eli Zaretskii <eliz@gnu.org>
468 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
470 2014-01-10 Chong Yidong <cyd@gnu.org>
472 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
474 2014-01-10 Anders Lindgren <andlind@gmail.com>
476 * follow.el (follow-cache-command-list): Include right-char and
479 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
482 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
483 * woman.el (woman-mark-horizontal-position):
484 Rename from woman-mark-horizonal-position. Use changed.
486 2014-01-10 Glenn Morris <rgm@gnu.org>
488 * info.el (info-initialize): If running uninstalled, ensure our
489 own info files are always found first, even if INFOPATH is set.
491 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
493 2014-01-09 David Engster <deng@randomsample.de>
495 * emacs-lisp/eieio-custom.el:
496 * emacs-lisp/eieio-opt.el: Set generated autoload file to
497 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
498 * emacs-lisp/eieio.el: Regenerate autoloads.
500 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
502 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
503 following renames. (Bug#8756)
505 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
507 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
509 (activate-mark): Add `no-tmm' argument.
510 (set-mark, push-mark-command): Use it instead of running
511 activate-mark-hook by hand.
513 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
515 In preparation for the move to git, sanitize out some
516 Bazaar-specific names.
518 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
520 * version.el (emacs-bzr-version): Name changed to
521 emacs-repository-version. Obsolete-variable alias made.
522 * loadup.el: Follow through on this name change.
523 * mail/emacsbug.el (report-emacs-bug): Factor out any
524 assumption about the version control system in use.
526 2014-01-08 David Engster <deng@randomsample.de>
528 * help-fns.el (help-fns-describe-function-functions):
529 New variable to call functions for augmenting help buffers.
530 (describe-function-1): Remove explicit calls to
531 `help-fns--compiler-macro', `help-fns--parent-mode' and
532 `help-fns--obsolete'. Put them in above new variable instead, and
533 call them through `run-hook-with-args'.
534 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
535 `eieio-describe-class'. Not meant for interactive use anymore,
536 but to augment existing help buffers. Remove optional second
537 argument. Create proper button for file location.
538 Rewrite function to use `insert' instead of `princ' and `prin1' where
540 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
541 (eieio-method-def, eieio-class-def): Move further up.
542 (describe-method, describe-generic, eieio-describe-method):
544 (eieio-help-constructor, eieio-help-generic): Rename from
545 `eieio-describe-constructor' and `eieio-describe-generic', resp.
546 Rewrite to use `insert' in the current buffer and use proper help
548 (eieio-help-find-method-definition)
549 (eieio-help-find-class-definition): Also accept symbols as
551 (eieio-help-mode-augmentation-maybee): Remove.
552 (eieio-describe-class-sb): Use `describe-function'.
553 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
554 Add `eieio-help-generic' and `eieio-help-constructor'.
556 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
559 * language/china-util.el (hz-ascii-designation):
560 Rename from hz-ascii-designnation.
561 (hz-ascii-designation): Rename from hz-ascii-designnation.
564 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
566 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
569 2014-01-08 Bastien Guerry <bzg@gnu.org>
571 * emacs-lisp/package.el (package-delete):
572 Correctly delete the package from package-alist.
574 2014-01-08 Daiki Ueno <ueno@gnu.org>
576 * emacs-lisp/package.el (url-recreate-url): Declare.
577 (url-http-target-url): Declare.
578 (package-handle-response): Include requested URL in the error message.
579 (package--check-signature): Don't re-signal errors from
580 package--with-work-buffer. Suggested by Stefan Monnier.
582 2014-01-07 Bastien Guerry <bzg@gnu.org>
584 * minibuffer.el (completion--try-word-completion): When both a
585 hyphen and a space are possible candidates for the character
586 following a word, display both candidates. (Bug#15980)
588 2014-01-07 Martin Rudalics <rudalics@gmx.at>
590 * window.el (balance-windows-2): While rounding don't give a
591 window more than the remainder. Bug#16351, Bug#16383.
593 2014-01-07 Glenn Morris <rgm@gnu.org>
595 * menu-bar.el (menu-bar-help-extra-packages): Remove.
596 (menu-bar-help-menu): Use view-external-packages instead.
598 2014-01-07 Bastien Guerry <bzg@gnu.org>
600 * emacs-lisp/package.el (package-delete): Also delete the package
601 name from `package-alist', not its description only.
603 2014-01-07 Glenn Morris <rgm@gnu.org>
605 * help.el (view-external-packages):
606 * menu-bar.el (menu-bar-help-extra-packages):
607 Visit efaq.info rather than etc/MORE.STUFF.
609 2014-01-07 Juri Linkov <juri@jurta.org>
611 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
612 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
614 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
615 that shadows RET. (Bug#16342)
617 2014-01-07 Chong Yidong <cyd@gnu.org>
619 * isearch.el (isearch-yank-char, isearch-yank-word)
620 (isearch-yank-line): Doc fix.
622 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
624 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
625 * emacs-lisp/elint.el (elint-find-builtins):
626 * emacs-lisp/eldoc.el (eldoc-symbol-function):
627 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
628 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
629 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
630 * apropos.el (apropos-safe-documentation):
631 * subr.el (symbol-file): Remove redundant fboundp.
632 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
634 2014-01-06 Bastien Guerry <bzg@gnu.org>
636 * hl-line.el (global-hl-line-overlay): Make a local variable.
637 (global-hl-line-overlays): New variable to store all overlays.
638 (global-hl-line-mode): Don't delete overlays from the current
639 buffer when `global-hl-line-sticky-flag' is non-nil.
640 (global-hl-line-highlight): Add new overlays to
641 `global-hl-line-overlays'.
642 (global-hl-line-unhighlight-all): New function to delete all
643 overlays when turning off `global-hl-line-mode'.
644 This fixes Bug#16183.
646 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
648 * subr.el (set-transient-map): Fix nested case and docstring.
650 2014-01-06 Tassilo Horn <tsdh@gnu.org>
652 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
655 2014-01-06 Daniel Colascione <dancol@dancol.org>
657 Fix defun navigation in vc log view.
659 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
660 like `beginning-of-defun'.
661 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
662 log-view-end-of-defun to log-view-end-of-defun-1. Replace
663 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
664 (log-view-extract-comment): Call `log-view-current-entry' directly
665 instead of relying on broken `log-view-beginning-of-defun' behavior.
667 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
670 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
671 * emacs-lisp/debug.el (cancel-debug-on-entry):
672 * epg.el (epg-error-to-string):
673 * files.el (recover-file):
674 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
675 * mail/emacsbug.el (report-emacs-bug-hook):
676 * mail/sendmail.el (mail-recover):
677 * ses.el (ses-yank-resize):
678 * term/ns-win.el (ns-print-buffer):
679 Spelling fixes in diagnostics, mostly for "canceled" with one L.
680 * epg.el (epg-key-capability-alist): Rename from misspelled version.
682 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
684 2014-01-06 Leo Liu <sdl.web@gmail.com>
686 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
687 to avoid shadowing global key. (Bug#16354)
689 2014-01-06 Daniel Colascione <dancol@dancol.org>
691 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
694 2014-01-05 Martin Rudalics <rudalics@gmx.at>
696 * window.el (balance-windows): Add mising t to fix Bug#16351.
698 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
700 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
702 (shr-insert): If we have a word that's longer than `shr-width',
703 break after it anyway. Otherwise we'll do no breaking once we get
706 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
708 * net/eww.el (eww): Support single/double quote for search.
709 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
710 (eww-history-quit): Delete and use quit-window.
711 (eww-history-kill): Delete, because it doesn't work well and
713 (eww-history-mode-map): Delete some keys and add easy-menu.
715 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
717 Fix misspelling of 'chinese' in rx (Bug#16237).
718 * emacs-lisp/rx.el (rx-categories): Correct spelling of
721 Change subword regexps back to vars (Bug#16296).
722 * progmodes/subword.el (subword-forward-regexp)
723 (subword-backward-regexp): Change these back to variables.
725 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
727 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
728 syntax-begin-function (bug#16247).
730 2014-01-03 Chong Yidong <cyd@gnu.org>
732 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
733 (advice--docstring): Delete variable.
734 (advice--make-1): Leave the docstring empty.
735 (advice-add): Use function-documentation for advised docstring.
737 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
738 Ignore function-documentation property when getting documentation.
739 (ad-activate-advised-definition): Use function-documentation
740 generate the docstring.
741 (ad-make-advised-definition): Don't call
742 ad-make-advised-definition-docstring.
743 (ad-make-advised-definition-docstring, ad-advised-definition-p):
746 * progmodes/sql.el (sql-help): Use function-documentation instead
747 of dynamic-docstring-function property. No need to autoload now.
748 (sql--help-docstring): New variable.
749 (sql--make-help-docstring): Use it.
751 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
753 * ielm.el (ielm-tab): Retarget.
754 (ielm-map): Use ielm-tab for tab.
755 (ielm-complete-filename): Use comint-filename-completion.
756 (ielm-complete-symbol): Remove.
757 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
758 remove ielm-tab from completion-at-point-functions (bug#16224).
760 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
761 Beware signals raised by predicates (bug#16201).
763 2014-01-02 Richard Stallman <rms@gnu.org>
765 * dired-aux.el (dired-do-print): Handle printer-name.
767 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
768 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
769 (rmail-epa-decrypt): Turn off mime processing.
771 * mail/rmail.el (rmail-make-in-reply-to-field):
772 Add parens in message-id.
774 * mail/rmail.el (rmail-get-coding-function): Variable.
775 (rmail-get-coding-system): Use it.
777 2013-12-31 Eli Zaretskii <eliz@gnu.org>
779 * international/mule-conf.el: Unify the charset indian-is13194.
780 (indian-is13194): Specify unify-map.
782 2013-12-31 Leo Liu <sdl.web@gmail.com>
784 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
786 2013-12-30 Daniel Colascione <dancol@dancol.org>
788 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
789 of printing a useless when we resume from sleep.
791 * progmodes/sh-script.el
792 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
793 in indentation code. (Bug#16233)
795 2013-12-28 João Távora <joaotavora@gmail.com>
797 * elec-pair.el (electric-pair-post-self-insert-function):
798 Don't open extra newlines at beginning of buffer. (Bug#16272)
800 2013-12-28 Eli Zaretskii <eliz@gnu.org>
802 * frame.el (window-system-for-display): Don't allow to create a
803 GUI frame from a -nw session on MS-Windows. (Bug#14739)
805 2013-12-28 Glenn Morris <rgm@gnu.org>
807 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
810 * apropos.el (apropos-match-face):
811 * calculator.el (calculator-displayer):
812 * dabbrev.el (dabbrev-search-these-buffers-only):
813 * face-remap.el (buffer-face-mode-face):
814 * simple.el (yank-handled-properties):
815 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
816 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
817 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
818 (hashcash-double-spend-database):
819 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
820 (ruby-deep-indent-paren-style):
821 * textmodes/flyspell.el (flyspell-auto-correct-binding):
822 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
823 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
824 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
825 Specify custom types.
827 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
828 * bookmark.el (bookmark-bmenu-use-header-line):
829 * doc-view.el (doc-view-scale-internally):
830 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
831 * register.el (register-preview-delay):
832 * net/shr.el (shr-bullet):
833 * progmodes/cfengine.el (cfengine-cf-promises)
834 (cfengine-parameters-indent):
835 * progmodes/octave.el (inferior-octave-error-regexp-alist):
836 * textmodes/reftex-vars.el (reftex-label-regexps):
837 * vc/log-edit.el (log-edit-setup-add-author): Add version.
839 * net/tls.el (tls-certtool-program): Fix default value.
841 * desktop.el (desktop-restore-in-current-display):
842 * newcomment.el (comment-empty-lines):
843 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
844 (idlwave-pad-keyword):
845 * progmodes/tcl.el (tcl-tab-always-indent):
846 * textmodes/reftex-vars.el (reftex-index-default-tag):
847 * elec-pair.el (electric-pair-skip-whitespace):
848 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
850 * emacs-lisp/authors.el (authors-ignored-files)
851 (authors-valid-file-names, authors-renamed-files-alist): Additions.
853 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
855 * shell.el (shell-dynamic-complete-command): Doc fix.
856 (shell--command-completion-data): Shell completion now matches
857 executable filenames from the current buffer's directory, on
858 systems in which this behavior is the default (windows-nt, ms-dos).
860 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
862 * net/shr.el (shr-insert): Don't infloop if the width is zero.
864 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
866 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
869 * electric.el: Move all electric-pair-* to elec-pair.el.
870 * elec-pair.el: New file, split from electric.el.
872 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
874 * net/shr.el (shr-find-fill-point): Don't try to fill if the
875 indentation level is larger than the width, because that will
877 (shr-insert): Fill repeatedly long texts, so that Japanese is
878 formatted correctly (bug#16263).
879 (shr-find-fill-point): Off by one error in comparison with the
882 2013-12-26 João Távora <joaotavora@gmail.com>
884 * electric.el (electric-pair-mode): More flexible engine for skip-
885 and inhibit predicates, new options for pairing-related functionality.
886 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
887 if that keeps or improves their balance in buffers.
888 (electric-pair-delete-adjacent-pairs): Delete the pair when
889 backspacing over adjacent matched delimiters.
890 (electric-pair-open-extra-newline): Open extra newline when
891 inserting newlines between adjacent matched delimiters.
892 (electric--sort-post-self-insertion-hook):
893 Sort post-self-insert-hook according to priority values when
894 minor-modes are activated.
895 * simple.el (newline-and-indent): Call newline with interactive
897 (blink-paren-post-self-insert-function): Set priority to 100.
898 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
899 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
900 comments. Locally set electric-pair-skip-whitespace to 'chomp and
901 electric-pair-open-newline-between-pairs to nil.
903 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
905 * progmodes/python.el: Use lexical-binding.
906 (python-nav-beginning-of-defun): Stop searching ASAP.
908 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
910 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
911 Fix interactive spec. Doc fix. (Bug#15754)
913 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
915 * emacs-lisp/byte-run.el (eval-when-compile):
916 * progmodes/cc-defs.el (cc-eval-when-compile):
917 Fix edebug spec (bug#16184).
919 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
921 * net/shr.el (shr-visit-file): Remove debugging function.
922 (shr-insert): Don't infloop if we can't find a good place to break
923 the line (bug#16256).
925 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
927 * progmodes/python.el:
928 (python-nav--lisp-forward-sexp): New function.
929 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
930 python-nav-lisp-forward-sexp-safe.
931 (python-nav--forward-sexp): New argument SAFE allows switching
932 forward sexp movement behavior for parens.
933 (python-nav-forward-sexp): Throw errors on unterminated parens
935 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
936 (python-nav-backward-sexp-safe): New functions.
937 (python-shell-buffer-substring):
938 Use `python-nav-forward-sexp-safe'.
940 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
942 * net/shr.el (shr-find-fill-point): Don't break lines before a
944 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
945 (shr-find-fill-point): Remove the special checks for the quotation
946 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
948 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
950 * net/eww.el (eww-form-textarea): Use a different face for
951 textareas than text input since they have different keymaps
954 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
956 * progmodes/python.el (python-nav-beginning-of-statement):
957 Speed up (Bug#15295).
959 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
961 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
962 the window configuration.
964 2013-12-24 Eli Zaretskii <eliz@gnu.org>
966 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
967 we run on MS-Windows or MS-DOS.
969 2013-12-24 Martin Rudalics <rudalics@gmx.at>
971 * window.el (balance-windows-area): Call window-size instead of
972 window-height and window-width. Bug#16241.
974 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
976 * net/eww.el (eww-bookmark-quit): Remove.
977 (eww-bookmark-browse): Restore the window configuration when you
978 choose a bookmark (bug#16144).
980 2013-12-24 Daniel Colascione <dancol@dancol.org>
982 * icomplete.el: Remove redundant :group arguments to `defcustom'
984 (icomplete-show-matches-on-no-input): New customizable variable.
985 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
986 we have something to show.
987 (icomplete-exhibit): Compute completions even if we have no user input.
989 2013-12-23 Daniel Colascione <dancol@dancol.org>
991 * icomplete.el: Move `provide' to end of file.
993 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
995 * net/gnutls.el (gnutls-verify-error): Add version tag.
997 2013-12-23 Chong Yidong <cyd@gnu.org>
999 * subr.el (set-transient-map): Rename from
1000 set-temporary-overlay-map. Doc fix.
1002 * face-remap.el (text-scale-adjust):
1003 * indent.el (indent-rigidly):
1004 * kmacro.el (kmacro-call-macro):
1005 * minibuffer.el (minibuffer-force-complete):
1006 * repeat.el (repeat):
1007 * simple.el (universal-argument--mode):
1008 * calendar/todo-mode.el (todo-insert-item--next-param):
1009 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1011 * indent.el (indent-rigidly): Use substitute-command-keys.
1013 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1015 * net/eww.el (eww-tag-select): Add text-property to jump to next
1017 (eww): Add non-supported ftp error.
1019 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1021 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1022 comments. Handle electric indent after typing `?' and `!'.
1024 2013-12-22 Chong Yidong <cyd@gnu.org>
1026 * faces.el (face-spec-recalc): If the theme specs are not
1027 applicable to a frame, fall back on the defface spec.
1028 This prevents themes from obliterating faces on low-color terminals.
1030 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1033 after `{'. We need it after block openers, and it doesn't seem
1034 to hurt after hash openers.
1036 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1038 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1039 extracted from `ruby-smie-rules'.
1040 (ruby--electric-indent-chars): New variable.
1041 (ruby--electric-indent-p): New function.
1042 (ruby-mode): Use `electric-indent-functions' instead of
1043 `electric-indent-chars'.
1045 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1047 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1049 (ruby-smie-rules): Indent plus one level after `=>'.
1051 2013-12-21 Richard Stallman <rms@gnu.org>
1053 * simple.el (newline): Doc fix.
1055 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1057 * net/eww.el (eww-list-histories, eww-list-histories)
1058 (eww-history-browse, eww-history-quit, eww-history-kill)
1059 (eww-history-mode-map, eww-history-mode): New command and
1060 functions to list browser histories.
1061 (eww-form-text): Support text form with disabled
1062 and readonly attributes.
1063 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1065 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1067 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1068 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1069 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1070 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1072 (eww-bookmark-mode-map): Add menu.
1073 (eww-render, eww-mode): Use `setq-local'.
1074 (eww-tool-bar-map): New variable.
1075 (eww-mode): Set `tool-bar-map'.
1076 (eww-view-source): Check for `html-mode' with `fboundp'.
1078 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1080 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1081 elements with text inside. Also remove debugging.
1083 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1085 * cus-start.el (all): Add ns-use-srgb-colorspace.
1087 2013-12-21 Chong Yidong <cyd@gnu.org>
1089 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1090 undefined. Thus, theme settings for undefined faces do not take
1091 effect until the faces are defined with defface, the same as with
1094 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1095 (face-spec-reset-face): Don't assign extra properties in temacs.
1096 (face-spec-recalc): Apply X resources too.
1098 2013-12-21 Chong Yidong <cyd@gnu.org>
1100 * faces.el (face-spec-set):
1101 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1102 * custom.el (defface): Doc fixes (Bug#16203).
1104 * indent.el (indent-rigidly-map): Add docstring, and move commands
1105 into named functions.
1106 (indent-rigidly-left, indent-rigidly-right)
1107 (indent-rigidly-left-to-tab-stop)
1108 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1109 indentation direction based on bidi direction, and accumulate
1110 sequential commands in a single undo boundary.
1111 (indent-rigidly--pop-undo): New utility function.
1113 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1115 * faces.el (read-face-name): Require crm.el when using crm-separator.
1117 2013-12-20 Daniel Colascione <dancol@dancol.org>
1119 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1120 so that we don't reflow comments into the shebang line.
1122 2013-12-20 Juri Linkov <juri@jurta.org>
1124 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1125 a position when `dired-directory' is non-nil. Check integer
1126 positions with `integerp'.
1127 (toggle-save-place, save-places-to-alist): Add check for
1129 (save-place-find-file-hook): Check integer positions with
1131 (save-place-dired-hook): Use `dired-goto-file' when
1132 `dired-filename' is found in the assoc list. Check integer
1133 positions with `integerp'.
1134 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1136 * dired.el (dired-initial-position-hook): Rename back from
1137 `dired-initial-point-hook'.
1138 (dired-initial-position): Rename `dired-initial-point-hook' to
1139 `dired-initial-position-hook'.
1140 (dired-file-name-at-point): Doc fix. (Bug#15329)
1142 2013-12-20 Juri Linkov <juri@jurta.org>
1144 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1145 (read-regexp-suggestions): New function.
1146 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1147 Use `read-regexp-suggestions'. Add non-empty default to history
1149 (occur-read-regexp-defaults-function): Remove function.
1150 (occur-read-primary-args): Use `regexp-history-last' instead of
1151 `occur-read-regexp-defaults-function'.
1153 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1154 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1155 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1156 `hi-lock-read-regexp-defaults-function'. Doc fix.
1157 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1158 with `find-tag-default-as-symbol-regexp'. Doc fix.
1159 (hi-lock-read-regexp-defaults): Remove function.
1160 (hi-lock-regexp-okay): Add check for null.
1162 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1163 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1165 * subr.el (find-tag-default-as-symbol-regexp): New function.
1166 (find-tag-default-as-regexp): Move symbol regexp formatting to
1167 `find-tag-default-as-symbol-regexp'.
1169 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1171 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1174 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1176 * calendar/todo-mode.el: New implementation of item insertion
1177 commands and key bindings.
1178 (todo-key-prompt): New face.
1179 (todo-insert-item): New command.
1180 (todo-insert-item--parameters): New defconst, replacing defvar
1181 todo-insertion-commands-args-genlist.
1182 (todo-insert-item--param-key-alist): New defconst, replacing
1183 defvar todo-insertion-commands-arg-key-list.
1184 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1185 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1186 (todo-insert-item--next-param): New functions.
1187 (todo-insert-item--args, todo-insert-item--argleft)
1188 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1190 (todo-key-bindings-t): Change binding of "i" from
1191 todo-insertion-map to todo-insert-item.
1192 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1193 (todo-insertion-command-name, todo-insertion-commands-names)
1194 (todo-define-insertion-command, todo-insertion-commands)
1195 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1197 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1199 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1200 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1202 (todo-move-category): Allow choosing a non-existing todo file to
1203 move the category to, and create that file.
1204 (todo-default-priority): New user option.
1205 (todo-set-item-priority): Use it.
1206 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1207 (desktop-restore-file-buffer): Declare.
1208 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1209 (todo-modes-set-2): Locally set desktop-save-buffer to
1210 todo-desktop-save-buffer.
1211 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1212 (auto-mode-alist): Add autoload cookie.
1214 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1216 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1217 helpers.el was a poor choice of name.
1218 (string-remove-prefix): New function.
1219 (string-remove-suffix): New function.
1221 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1223 Fix assignment for new window total sizes.
1224 * window.el (window--pixel-to-size): Remove function.
1225 (window--pixel-to-total-1, window--pixel-to-total):
1226 Fix calculation of new total sizes.
1228 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1230 * comint.el (comint-output-filter): Fix rear-nonsticky property
1231 placement (Bug#16010).
1233 2013-12-20 Chong Yidong <cyd@gnu.org>
1235 * faces.el (read-color): Minor fix for completion function.
1237 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1239 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1240 New option. (Bug#16182)
1241 (ruby-smie--indent-to-stmt-p): Use it.
1242 (ruby-smie-rules): Revert the logic in the handling of `when'.
1243 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1244 (ruby-deep-arglist, ruby-deep-indent-paren)
1245 (ruby-deep-indent-paren-style): Update docstrings to note that the
1246 vars don't have any effect with SMIE.
1248 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1250 * calc/calc.el (calc-enter, calc-pop): Use the variable
1251 `calc-context-sensitive-enter'.
1253 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1255 * net/shr.el (shr-insert): Protect against infloops in degenerate
1258 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1260 * progmodes/octave.el (octave): Add link to manual and octave
1262 (octave-mode-menu): Link to octave-mode manual.
1264 2013-12-20 Leo Liu <sdl.web@gmail.com>
1266 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1267 insertion using skeleton-end-newline. (Bug#16138)
1269 2013-12-20 Juri Linkov <juri@jurta.org>
1271 * replace.el (occur-engine): Use `add-face-text-property'
1272 to add the face property to matches and titles. (Bug#14645)
1274 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1275 the palette of other hi-lock colors.
1276 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1278 2013-12-19 Juri Linkov <juri@jurta.org>
1280 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1281 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1282 (minibuffer-history-symbol): Move variable declaration closer to
1285 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1288 2013-12-19 Juri Linkov <juri@jurta.org>
1290 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1292 (log-edit-hook): Add it to :options. (Bug#16170)
1294 2013-12-19 Juri Linkov <juri@jurta.org>
1296 * simple.el (eval-expression-print-format): Don't check for
1297 command names and the last command. Always display additional
1298 formats of the integer result in the echo area, and insert them
1299 to the current buffer only with a zero prefix arg.
1300 Display character when char-displayable-p is non-nil.
1301 (eval-expression): With a zero prefix arg, set `print-length' and
1302 `print-level' to nil, and insert the integer values from
1303 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1305 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1306 `eval-last-sexp-arg-internal'. Doc fix.
1307 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1308 `eval-last-sexp-print-value'. Doc fix.
1309 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1310 Set `print-length' and `print-level' to nil when arg is zero.
1311 (eval-last-sexp): Doc fix.
1312 (eval-defun-2): Print the integer values from
1313 `eval-expression-print-format' at the end.
1315 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1316 values from `eval-expression-print-format' at the end.
1318 * ielm.el (ielm-eval-input): Print the integer
1319 values from `eval-expression-print-format' at the end.
1321 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1323 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1324 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1326 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1329 (hl-line-highlight, global-hl-line-highlight): Use it.
1330 (hl-line-overlay): Use defvar-local.
1332 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1334 * term/ns-win.el: Require dnd.
1335 (global-map): Remove drag items.
1336 (ns-insert-text, ns-set-foreground-at-mouse)
1337 (ns-set-background-at-mouse):
1338 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1339 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1342 2013-12-19 Glenn Morris <rgm@gnu.org>
1344 * emacs-lisp/ert.el (ert-select-tests):
1345 Fix string/symbol mixup. (Bug#16121)
1347 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1349 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1350 keywords to their parent.
1352 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1354 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1355 first arg to be a string (fixed dead code), or an operator symbol.
1356 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1358 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1359 did nothing. Don't respond to `(:after ".")', it will be called
1360 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1361 change anything. Only return indentation for binary operators
1362 when they are hanging. De-dent opening paren when its parent is
1363 `.', otherwise it looks bad when the dot is not at bol or eol
1366 2013-12-19 Juri Linkov <juri@jurta.org>
1368 * replace.el (query-replace-read-args): Split a non-negative arg
1369 and a negative arg into separate elements.
1370 (query-replace, query-replace-regexp, replace-string)
1371 (replace-regexp): Add arg `backward'. Doc fix.
1372 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1373 move point to the beginning of the match.
1374 (replace-search, replace-highlight): Use new arg `backward'
1375 to set the value of `isearch-forward'.
1376 (perform-replace): Add arg `backward' and use it to perform
1377 replacement backward. (Bug#14979)
1379 * isearch.el (isearch-query-replace): Use a negative prefix arg
1380 to call `perform-replace' with a non-nil arg `backward'.
1382 2013-12-18 Juri Linkov <juri@jurta.org>
1384 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1385 to the default list. Move `log-edit-show-files' to the end.
1386 Add more available functions to options.
1387 (log-edit): Move default specific settings to
1388 `log-edit-insert-message-template'. Don't move point.
1389 (log-edit-insert-message-template): New function.
1390 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1393 2013-12-18 Juri Linkov <juri@jurta.org>
1395 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1396 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1398 2013-12-18 Leo Liu <sdl.web@gmail.com>
1400 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1403 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1405 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1406 formats for displaying file sizes when the -s switch is given.
1407 Instead, compute a separate format for displaying the size in
1408 blocks, which is displayed in addition to the "regular" size.
1409 When -h is given in addition to -s, produce size in blocks in
1410 human-readable form as well. (Bug#16179)
1412 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1414 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1415 Reference tables with ~\ref{...} instead of only \ref{...}.
1417 2013-12-18 Chong Yidong <cyd@gnu.org>
1419 * cus-edit.el (custom-magic-alist): Fix "themed" description
1422 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1423 is non-nil, do not create a new entry in the symbol's theme-value
1424 or theme-face property; update theme-settings only (Bug#14664).
1425 (custom-available-themes): Doc fix.
1427 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1430 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1432 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1434 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1437 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1439 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1441 2013-12-18 Glenn Morris <rgm@gnu.org>
1443 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1444 * cus-start.el (load-prefer-newer): New option.
1446 2013-12-18 Le Wang <l26wang@gmail.com>
1448 * comint.el (comint-previous-matching-input-from-input):
1449 Retain point (Bug#13404).
1451 2013-12-18 Chong Yidong <cyd@gnu.org>
1453 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1455 2013-12-18 Glenn Morris <rgm@gnu.org>
1457 * mail/emacsbug.el (report-emacs-bug):
1458 Only mention enable-multibyte-characters if non-standard.
1460 2013-12-17 Juri Linkov <juri@jurta.org>
1462 * arc-mode.el (archive-extract-by-file): Check if directory exists
1463 before deletion to not show irrelevant errors if it doesn't exist.
1465 2013-12-17 Juri Linkov <juri@jurta.org>
1467 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1470 * net/eww.el (browse-web): Add alias to `eww'.
1471 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1472 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1474 * net/browse-url.el (browse-url-browser-function): Move `eww'
1475 closer to similar functions.
1477 * startup.el (fancy-startup-screen, fancy-about-screen):
1478 Set browse-url-browser-function to eww-browse-url locally.
1481 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1483 * window.el (window--pixel-to-total): Remove unused `mini' var.
1484 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1485 (split-window): Remove unused `new' var.
1486 (window--display-buffer): Remove unused `frame' and `delta' vars.
1487 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1490 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1492 * dired.el (dired-mark-pop-up):
1493 * register.el (register-preview): Don't bind
1494 split-height-threshold here since it's now done in
1495 display-buffer-below-selected.
1497 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1499 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1500 xterm-rgb-convert-to-16bit.
1501 (rxvt-register-default-colors): Standardize with
1502 xterm-register-default-colors (Bug#14078).
1504 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1506 * simple.el (kill-region): Pass mark first, then point, so that
1507 kill-append works right (Bug#12819).
1508 (copy-region-as-kill, kill-ring-save): Likewise.
1510 2013-12-17 Leo Liu <sdl.web@gmail.com>
1512 * net/rcirc.el (rcirc-add-face):
1513 * eshell/em-prompt.el (eshell-emit-prompt):
1514 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1517 2013-12-17 Chong Yidong <cyd@gnu.org>
1519 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1520 Suggested by Xue Fuqiao.
1522 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1524 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1526 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * net/shr.el (shr-insert-document): Remove unused var
1529 `shr-preliminary-table-render'.
1530 (shr-rescale-image): Remove unused arg `force'.
1531 (shr-put-image): Update calls accordingly.
1532 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1534 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1536 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1537 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1538 :close-all, to see which indentation method to use (Bug#16116).
1539 (smie-rules-function): Document the method :close-all.
1541 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1543 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1545 * net/eww.el (eww-display-html): If we can't find the anchor we're
1546 looking for, then go to point-min.
1548 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1550 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1551 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1552 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1553 Expand dir too, in case it's relative.
1555 2013-12-16 Juri Linkov <juri@jurta.org>
1557 * desktop.el (desktop-auto-save-timeout): Change default to
1558 `auto-save-timeout'. Doc fix.
1559 (desktop-save): Skip the timestamp in desktop-saved-frameset
1560 when checking for auto-save changes.
1561 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1562 `desktop-auto-save' is called repeatedly by the idle timer.
1563 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1564 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1567 2013-12-16 Juri Linkov <juri@jurta.org>
1569 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1571 (isearch-pre-command-hook): Check `this-command' for symbolp.
1573 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1577 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1579 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1580 (cfengine3--current-function): Bring in the current-function
1581 functionality from `cfengine3--current-word'.
1582 (cfengine3-completion-function): Bring in the
1583 bounds-of-current-word functionality from
1584 `cfengine3--current-word'.
1586 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1588 * window.el (display-buffer-below-selected):
1589 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1591 2013-12-16 Leo Liu <sdl.web@gmail.com>
1593 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1594 Remove NOMSG arg and all uses changed.
1596 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1599 (cua--deactivate-rectangle): Don't deactivate the mark.
1600 (cua-set-rectangle-mark): Don't set mark-active since
1601 cua--activate-rectangle already does it for us.
1602 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1603 non-rectangular region.
1605 * emulation/cua-base.el (cua-repeat-replace-region):
1606 Use with-current-buffer.
1608 * net/gnutls.el: Use cl-lib.
1609 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1611 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1613 * emacs-lisp/package.el (package-built-in-p): Support both
1614 built-in and the package.el converted package descriptions.
1615 (package-show-package-list): Allow keywords.
1616 (package-keyword-button-action): Use it instead of
1617 `finder-list-matches'.
1618 (package-menu-filter-interactive): Interactive filtering (by
1620 (package-menu--generate): Support keywords and change keymappings
1621 and headers when they are given.
1622 (package--has-keyword-p): Helper function.
1623 (package-menu--refresh): Use it.
1624 (package--mapc): Helper function.
1625 (package-all-keywords): Use it.
1626 (package-menu-mode-map): Set up menu items and keybindings to
1627 provide a filtering UI.
1629 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1631 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1632 the behavior when a certificate fails validation. Defaults to
1633 old behavior: never abort, just warn.
1634 (gnutls-negotiate): Use it.
1636 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1638 * window.el (display-buffer-below-selected): Never split window
1639 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1641 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1643 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1644 (package-buffer-info): Use it (bug#15108).
1646 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * icomplete.el (icomplete-completions): Make sure the prefix is already
1649 displayed elsewhere before hiding it (bug#16219).
1651 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1653 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1654 open-paren tokens when preceded by a open-paren, too.
1655 (ruby-smie-rules): Handle virtual indentation after open-paren
1656 tokens specially. If there is code between it and eol, return the
1657 column where is starts (Bug#16118).
1659 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1661 * progmodes/cfengine.el: Fix `add-hook' doc.
1662 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1663 (cfengine3--current-word): Fix parameters.
1664 (cfengine3-make-syntax-cache): Simplify further.
1665 (cfengine3-completion-function, cfengine3--current-function):
1666 Use `assq' for symbols.
1667 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1669 2013-12-13 Glenn Morris <rgm@gnu.org>
1671 * loadup.el (load-path): Warn if site-load or site-init changes it.
1672 No more need to reset it when bootstrapping.
1674 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1676 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1677 locations for cf-promises.
1678 (cfengine-mode-syntax-functions-regex): New caching variable.
1679 (cfengine3-fallback-syntax): Fallback syntax for cases where
1680 cf-promises doesn't run.
1681 (cfengine3--current-word): Reimplement using
1682 `cfengine-mode-syntax-functions-regex'.
1683 (cfengine3-completion-function, cfengine3--current-function):
1684 Use `cfengine3-make-syntax-cache' directly.
1685 (cfengine3-clear-syntax-cache): New function.
1686 (cfengine3-make-syntax-cache): Simplify and create
1687 `cfengine-mode-syntax-functions-regex' on demand.
1688 (cfengine3-format-function-docstring): Don't call
1689 `cfengine3-make-syntax-cache' explicitly.
1691 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1693 Fix windmove-find-other-window broken after pixelwise resizing
1695 * windmove.el (windmove-other-window-loc): Revert change from
1697 (windmove-find-other-window): Call window-in-direction.
1698 * window.el (window-in-direction): New arguments SIGN, WRAP and
1699 MINI to emulate original windmove-find-other-window behavior.
1701 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1703 * simple.el (blink-matching--overlay): New variable.
1704 (blink-matching-open): Instead of moving point, highlight the
1705 matching paren with an overlay
1706 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1708 * faces.el (paren-showing-faces, show-paren-match)
1709 (show-paren-mismatch): Move from paren.el.
1711 2013-12-13 Leo Liu <sdl.web@gmail.com>
1713 * indent.el (indent-region): Disable progress reporter in
1714 minibuffer. (Bug#16108)
1716 * bindings.el (visual-order-cursor-movement): Fix version.
1718 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1720 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1721 Also match after beginning of line.
1722 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1723 files. Thanks to Russell Sim. (Bug#15378)
1725 2013-12-13 Juri Linkov <juri@jurta.org>
1727 * simple.el <Keypad support>: Remove key bindings duplicated
1728 with bindings.el. (Bug#14397)
1730 2013-12-13 Juri Linkov <juri@jurta.org>
1732 * comint.el (comint-mode-map): Replace `delete-char' with
1733 `delete-forward-char'. (Bug#16109)
1735 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1737 * progmodes/python.el (python-indent-calculate-indentation):
1738 Fix de-denters cornercase. (Bug#15731)
1740 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1742 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1743 (advice--make): Pay attention to `depth'.
1744 (advice--make-1): Don't autoload commands eagerly.
1745 * emacs-lisp/elp.el (elp-instrument-function):
1746 * emacs-lisp/trace.el (trace-function-internal):
1747 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1749 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1751 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1753 * term/w32-win.el (w32-handle-dropped-file):
1754 * startup.el (normal-top-level):
1755 * net/browse-url.el (browse-url-file-url):
1756 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1757 decode file names using 'utf-8' rather than
1758 file-name-coding-system.
1760 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1762 * progmodes/python.el (python-indent-context)
1763 (python-indent-calculate-indentation): Fix auto-identation
1764 behavior for comment blocks. (Bug#15916)
1766 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1768 * progmodes/python.el (python-indent-calculate-indentation):
1769 When determining indentation, don't treat "return", "pass", etc., as
1770 operators when they are just string constituents. (Bug#15812)
1772 2013-12-12 Juri Linkov <juri@jurta.org>
1774 * uniquify.el (uniquify-buffer-name-style): Change default to
1775 `post-forward-angle-brackets'.
1777 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1778 `uniquify'. Change default to `post-forward-angle-brackets'.
1780 2013-12-11 Glenn Morris <rgm@gnu.org>
1782 * emacs-lisp/package.el (finder-list-matches):
1783 Autoload rather than falsely declaring.
1785 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1787 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1788 (eww-mode-map): Use them.
1790 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1792 * window.el (display-buffer-in-side-window): Fix doc-string
1795 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1797 * vc/vc-git.el: Silence byte-compiler warnings.
1798 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1799 (log-edit-set-header): Declare.
1801 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1803 * Makefile.in (custom-deps, finder-data): Run output file names
1804 through unmsys--file-name. (Bug#16099)
1806 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1808 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1809 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1811 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1812 instead of deleting the selection "by hand" (bug#16098).
1813 Rely on insert-for-yank to yank rectangles.
1814 (cua-highlight-region-shift-only): Mark obsolete.
1815 (cua-mode): Don't enable/disable transient-mark-mode,
1816 shift-select-mode (cua-mode works both with and without them), and
1817 pc-selection-mode (obsolete).
1818 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1819 (cua--deactivate-rectangle): Deactivate it.
1821 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1822 (delete-selection-helper): Make sure yank starts at the top of the
1824 (minibuffer-keyboard-quit): Use region-active-p.
1826 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1828 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1829 to `delete' (bug#16109).
1831 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1833 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1834 info manual and show keybindings and set `:group' keyword.
1836 2013-12-11 Juri Linkov <juri@jurta.org>
1838 * delsel.el (delete-active-region): Let-bind `this-command'
1839 to prevent `kill-region' from changing its original value.
1840 (delete-selection-helper): Handle `overwrite-mode' for the type
1841 `kill' exactly the same way as for the type `t'.
1842 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1843 Support more commands. (Bug#13312)
1845 2013-12-11 Juri Linkov <juri@jurta.org>
1847 * bindings.el: Map kp keys to non-kp keys systematically
1848 with basic modifiers control, meta and shift. (Bug#14397)
1850 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1852 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1853 "Close browser" menu items. Fix wrong function of "List
1856 2013-12-11 Juri Linkov <juri@jurta.org>
1858 * misearch.el (multi-isearch-buffers): Set the value of
1859 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1860 arg of isearch-forward to t.
1861 (multi-isearch-buffers-regexp): Set the value of
1862 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1863 arg of isearch-forward-regexp to t.
1864 (multi-isearch-files): Set the value of
1865 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1866 arg of isearch-forward to t.
1867 (multi-isearch-files-regexp): Set the value of
1868 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1869 arg of isearch-forward-regexp to t. (Bug#16035)
1871 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1872 arg of isearch-forward to t.
1873 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1874 arg of isearch-forward-regexp to t.
1875 (dired-isearch-filter-filenames): Remove unnecessary check for
1876 `dired-isearch-filenames'.
1878 * comint.el (comint-history-isearch-backward):
1879 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1880 (comint-history-isearch-backward-regexp):
1881 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1883 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1885 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1886 unmsys--file-name. (Bug#16099)
1888 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1890 * emacs-lisp/package.el (package-keyword-button-action):
1891 Remove finder.el require dependency.
1893 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1895 * emacs-lisp/package.el: Require finder.el.
1896 (describe-package-1): Add keyword buttons.
1897 (package-make-button): New convenience function.
1898 (package-keyword-button-action): Keyword button action using
1899 `finder-list-matches'.
1901 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1903 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1906 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1908 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1911 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1913 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1914 after the end of a percent literal.
1916 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1918 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1919 Handle caret-delimited strings (Bug#16079).
1921 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1923 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1924 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1925 `ruby-parse-partial' (Bug#16078).
1927 2013-12-09 Leo Liu <sdl.web@gmail.com>
1929 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1931 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1933 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1934 (js-switch-indent-offset): New option.
1935 (js--proper-indentation): Use it. And handle the case when
1936 "default" is actually a key in an object literal.
1937 (js--same-line): New function.
1938 (js--multi-line-declaration-indentation): Use it.
1939 (js--indent-in-array-comp, js--array-comp-indentation):
1941 (js--proper-indentation): Use them, to handle array comprehension
1944 2013-12-08 Leo Liu <sdl.web@gmail.com>
1946 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1947 (flymake-make-overlay): Remove arg MOUSE-FACE.
1948 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1950 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1954 (redisplay-highlight-region-function): Use it.
1956 * emulation/cua-base.el (cua--explicit-region-start)
1957 (cua--last-region-shifted): Remove.
1958 (cua--deactivate): Use deactivate-mark.
1959 (cua--pre-command-handler-1): Don't handle shift-selection.
1960 (cua--post-command-handler-1): Don't change transient-mark-mode.
1961 (cua--select-keymaps): Use region-active-p rather than
1962 cua--explicit-region-start or cua--last-region-shifted.
1963 (cua-mode): Enable shift-select-mode.
1965 2013-12-08 Leo Liu <sdl.web@gmail.com>
1967 * progmodes/flymake.el (flymake-popup-current-error-menu):
1968 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1969 (flymake-posn-at-point-as-event, flymake-popup-menu)
1970 (flymake-make-emacs-menu): Remove. (Bug#16077)
1972 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * rect.el (rectangle-mark-mode): Activate mark even if
1975 transient-mark-mode is off (bug#16066).
1976 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1977 is > mark and at bolp.
1979 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1980 (region-extract-function): Use it.
1981 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1982 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1984 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1985 kill-ring-save, kill-region, delete-char, delete-forward-char.
1986 Ignore self-insert-iso.
1988 * emulation/cua-gmrk.el (cua--init-global-mark):
1989 Ignore `self-insert-iso'.
1991 * emulation/cua-base.el (cua--prefix-copy-handler)
1992 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1993 checking cua--rectangle.
1994 (cua-delete-region): Use region-extract-function.
1995 (cua-replace-region): Delete function.
1996 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1997 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1998 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1999 (cua--init-keymaps): Don't remap delete-selection commands.
2000 (cua-mode): Use delete-selection-mode instead of rolling our own
2003 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2004 Obey region-extract-function.
2006 Make registers and delete-selection-mode work on rectangles.
2007 * register.el (describe-register-1): Don't modify the register's value.
2008 (copy-to-register): Obey region-extract-function.
2009 * delsel.el (delete-active-region): Obey region-extract-function.
2011 2013-12-08 Leo Liu <sdl.web@gmail.com>
2013 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2014 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2015 (flymake-compilation-prevents-syntax-check)
2016 (flymake-start-syntax-check-on-newline)
2017 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2018 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2019 (flymake-xml-program, flymake-master-file-dirs)
2020 (flymake-master-file-count-limit)
2021 (flymake-allowed-file-name-masks): Relocate.
2022 (flymake-makehash, flymake-float-time)
2023 (flymake-replace-regexp-in-string, flymake-split-string)
2024 (flymake-get-temp-dir): Remove.
2025 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2026 (flymake-current-row, flymake-selected-frame)
2027 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2028 related functions. (Bug#16077)
2030 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2032 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2034 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2036 * help-fns.el (describe-function-1): Use new advice-* functions
2037 rather than old ad-* functions. Fix function type description and
2038 source links for advised functions and subrs.
2040 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2042 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2044 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2046 * progmodes/compile.el (compilation-start):
2047 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2049 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2050 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2052 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2054 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2055 Touch up the last change.
2057 2013-12-06 Leo Liu <sdl.web@gmail.com>
2059 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2060 (inferior-octave-startup): Always use "octave> " for prompt.
2061 (octave-goto-function-definition)
2062 (octave-sync-function-file-names)
2063 (octave-find-definition-default-filename): Remove redundant backquotes.
2065 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2067 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2069 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2070 where appropriate already.
2071 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2072 end of method names (Bug#15874).
2074 2013-12-06 Juri Linkov <juri@jurta.org>
2076 * isearch.el (isearch--saved-overriding-local-map):
2077 New internal variable.
2078 (isearch-mode): Set it to the initial value of
2079 `overriding-terminal-local-map'.
2080 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2081 with `isearch--saved-overriding-local-map'. (Bug#16035)
2083 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2085 * progmodes/octave.el (inferior-octave-completion-table):
2086 Turn back into function, use `completion-table-with-cache'
2087 (Bug#11906). Update all references.
2089 * minibuffer.el (completion-table-with-cache): New function.
2091 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2093 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2095 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2097 * net/eww.el (eww-current-source): New variable to store page
2099 (eww-display-html, eww-mode, eww-save-history)
2100 (eww-restore-history): Use it.
2101 (eww-view-source): New command to view page source.
2102 Opportunistically uses `html-mode' to highlight the buffer.
2103 (eww-mode-map): Install it.
2105 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2107 * net/dbus.el (dbus-unregister-service)
2108 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2110 (dbus-unregister-service): Skip :serial entries in
2111 `dbus-registered-objects-table'.
2112 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2114 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2116 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2117 around keywords with extra `split-string' argument.
2119 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2121 * windmove.el (windmove-other-window-loc): Handle navigation
2122 between windows (excluding the minibuffer window - Bug#16017).
2124 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2126 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2127 in D-Bus type syntax.
2128 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2129 preserve unibyte strings. (Bug#16048)
2131 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2134 Call force-mode-line-update is the proper buffer (bug#16042).
2136 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2138 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2139 `log-edit-remember-comment', make argument optional. Adjust all
2141 (log-edit-mode): Add `log-edit-remember-comment' to
2142 `kill-buffer-hook' locally.
2143 (log-edit-kill-buffer): Don't remember comment explicitly since
2144 the buffer is killed anyway.
2146 2013-12-04 Juri Linkov <juri@jurta.org>
2148 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2149 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2151 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2153 * notifications.el (notifications-close-notification): Call the
2154 D-Bus method with ID being a `:uint32'. (Bug#16030)
2156 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2158 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2160 2013-12-03 Juri Linkov <juri@jurta.org>
2162 * progmodes/compile.el (compilation-start): Rename window alist
2163 entry `no-display-ok' to `allow-no-window'.
2165 * simple.el (shell-command): Add window alist entry
2166 `allow-no-window' to `display-buffer'.
2167 (async-shell-command): Doc fix.
2169 * window.el (display-buffer-no-window): New action function.
2170 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2172 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2174 * vc/log-edit.el (log-edit-set-header): Extract from
2175 `log-edit-toggle-header'.
2176 (log-edit-extract-headers): Separate the summary, when extracted
2177 from header, from the rest of the message with an empty line.
2179 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2180 line, if present, to the Summary header.
2182 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2184 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2185 in current-buffer (bug#16029).
2187 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2189 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2190 (debugger-mode-map): Bind it.
2191 (debugger--backtrace-base): New function.
2192 (debugger-eval-expression): Use it.
2193 (debugger-frame-number): Skip local vars when present.
2194 (debugger--locals-visible-p, debugger--insert-locals)
2195 (debugger--show-locals, debugger--hide-locals): New functions.
2197 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2199 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2201 (tramp-get-remote-locale): New defun.
2202 (tramp-open-connection-setup-interactive-shell): Use it.
2204 2013-12-02 Leo Liu <sdl.web@gmail.com>
2206 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2208 * progmodes/sh-script.el (sh-shell-process):
2209 * progmodes/octave.el (inferior-octave-process-live-p):
2210 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2211 (gdb-inferior-io-sentinel):
2212 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2214 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2216 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2217 `save-selected-window' to `log-edit-hide-buf'. This makes
2218 `log-edit-show-files' idempotent.
2219 (log-edit-show-files): Mark the new window as dedicated.
2221 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2223 * vc/log-edit.el (log-edit-mode-map): Add binding for
2224 `log-edit-kill-biffer'.
2225 (log-edit-hide-buf): Add a FIXME comment.
2226 (log-edit-add-new-comment): New function, extracted from
2228 (log-edit-done, log-edit-add-to-changelog): Use it.
2229 (log-edit-kill-buffer): New command.
2231 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2233 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2234 instead of killing the buffer.
2236 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2238 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2240 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2242 * net/eww.el (eww-form-checkbox-selected-symbol)
2243 (eww-form-checkbox-symbol): New customizable variable.
2244 (eww-form-checkbox, eww-toggle-checkbox):
2245 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2247 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2248 (shr--get-media-pref, shr--extract-best-source): New function.
2249 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2250 no :src tag was specified.
2252 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2253 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2254 Use \\` to match beginning of string instead of ^.
2255 (eww-browse-with-external-browser): Provide optional URL parameter.
2256 (eww-render): Set `eww-current-title' back to "".
2258 * net/shr.el (shr-tag-video): Display content for video if no
2259 poster is available.
2260 (shr-tag-audio): Add support for <audio> tag.
2262 * net/eww.el (eww-text-input-types): New const.
2263 (eww-process-text-input): Treat input types in
2264 `eww-text-input-types' as text.
2266 * net/shr.el (shr-tag-table): Fix comment typo.
2268 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2270 * net/eww.el (eww-follow-link): New command to avoid reloading
2271 pages when we follow #target links (bug#15243).
2272 (eww-quit): Special mode buffers shouldn't query before exiting.
2274 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2276 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2279 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2281 * net/eww.el (eww-restore-history): Update the window title after
2282 moving in the history.
2283 (eww-current-dom): New variable used to save the current DOM.
2285 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2287 * vc/log-edit.el (log-edit-mode-map): Add binding for
2288 `log-edit-beginning-of-line'.
2289 (log-edit-setup-add-author): New user option.
2290 (log-edit-beginning-of-line): New command.
2291 (log-edit): Move major mode call above the contents setup so that
2292 the local variable values are already applied.
2293 (log-edit): Only insert "Author: " when
2294 `log-edit-setup-add-author' is non-nil.
2295 (log-edit): When SETUP is non-nil, position point after ": "
2296 instead of point-min.
2298 2013-12-01 Glenn Morris <rgm@gnu.org>
2300 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2302 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2304 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2305 redisplay to make sure the initial frame gets a chance to become
2306 visible. (Bug#16014)
2308 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2310 Support resizing frames and windows pixelwise.
2311 * cus-start.el (frame-resize-pixelwise)
2312 (window-resize-pixelwise): New entries.
2313 * emacs-lisp/debug.el (debug): Use window-total-height instead
2314 of window-total-size.
2315 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2316 * help.el (describe-bindings-internal): Call help-buffer
2317 (temp-buffer-max-width): New option.
2318 (resize-temp-buffer-window, help-window-setup)
2319 (with-help-window): Rewrite.
2320 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2322 * window.el (frame-char-size, window-min-pixel-height)
2323 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2324 (window-min-pixel-width, window-safe-min-pixel-size)
2325 (window-combination-p, window-safe-min-size)
2326 (window-resizable-p, window--size-to-pixel)
2327 (window--pixel-to-size, window--resize-apply-p): New functions.
2328 (window-safe-min-height): Fix doc-string.
2329 (window-size, window-min-size, window--min-size-1)
2330 (window-sizable, window-sizable-p, window--min-delta-1)
2331 (window-min-delta, window--max-delta-1, window-max-delta)
2332 (window--resizable, window--resizable-p, window-resizable)
2333 (window-full-height-p, window-full-width-p, window-at-side-p)
2334 (window--in-direction-2, window-in-direction)
2335 (window--resize-reset-1, window--resize-mini-window)
2336 (window-resize, window-resize-no-error)
2337 (window--resize-child-windows-normal)
2338 (window--resize-child-windows, window--resize-siblings)
2339 (window--resize-this-window, window--resize-root-window)
2340 (window--resize-root-window-vertically)
2341 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2342 (maximize-window, minimize-window, delete-window)
2343 (quit-restore-window, window-split-min-size, split-window)
2344 (balance-windows-2, balance-windows)
2345 (balance-windows-area-adjust, balance-windows-area)
2346 (window--state-get-1, window-state-get, window--state-put-1)
2347 (window--state-put-2, window-state-put)
2348 (display-buffer-record-window, window--display-buffer):
2349 Make functions handle pixelwise sizing of windows.
2350 (display-buffer--action-function-custom-type)
2351 (display-buffer-fallback-action):
2352 Add display-buffer-in-previous-window.
2353 (display-buffer-use-some-window): Resize window to height it had
2355 (fit-window-to-buffer-horizontally): New option.
2356 (fit-frame-to-buffer): Describe new values.
2357 (fit-frame-to-buffer-bottom-margin): Replace with
2358 fit-frame-to-buffer-margins.
2359 (window--sanitize-margin): New function.
2360 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2361 using window-text-pixel-size.
2363 2013-11-30 Glenn Morris <rgm@gnu.org>
2365 * emacs-lisp/bytecomp.el (byte-compile-form):
2366 Make the `interactive-only' warning like the `obsolete' one.
2367 * comint.el (comint-run):
2368 * files.el (insert-file-literally, insert-file):
2369 * replace.el (replace-string, replace-regexp):
2370 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2371 (goto-line, insert-buffer, next-line, previous-line):
2372 Tweak `interactive-only' spec.
2374 Stop keeping (most) generated cedet grammar files in the repository.
2375 * Makefile.in (semantic): New.
2376 (compile-main): Depend on semantic.
2378 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2380 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2381 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2383 * uniquify.el (uniquify-buffer-name-style): Change default.
2385 * loadup.el: Preload "uniquify".
2387 * time.el (display-time-update): Update all mode lines (bug#15999).
2389 * electric.el (electric-indent-mode): Enable by default.
2390 * loadup.el: Preload "electric".
2392 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2394 * emacs-lisp/helpers.el (string-empty-p): New function.
2395 (string-blank-p): New function.
2397 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2399 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2402 2013-11-29 Andreas Politz <politza@fh-trier.de>
2403 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2404 allow non-lambda lists as functions.
2405 (imenu--in-alist): Don't recurse into non-subalists.
2406 (imenu): Don't pass function itself as an argument (Bug#14029).
2408 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * progmodes/python.el (python-mode-map): Remove binding for ":".
2411 (python-indent-electric-colon): Remove command.
2412 (python-indent-post-self-insert-function): Integrate the previous code
2413 of python-indent-electric-colon. Make it conditional on
2414 electric-indent-mode.
2415 (python-mode): Add ?: to electric-indent-chars.
2416 Move python-indent-post-self-insert-function to the end of
2417 post-self-insert-hook.
2419 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2421 * doc-view.el (doc-view-goto-page): Update mode-line.
2423 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2425 2013-11-27 Glenn Morris <rgm@gnu.org>
2427 * international/charprop.el, international/uni-bidi.el:
2428 * international/uni-category.el, international/uni-combining.el:
2429 * international/uni-comment.el, international/uni-decimal.el:
2430 * international/uni-decomposition.el, international/uni-digit.el:
2431 * international/uni-lowercase.el, international/uni-mirrored.el:
2432 * international/uni-name.el, international/uni-numeric.el:
2433 * international/uni-old-name.el, international/uni-titlecase.el:
2434 * international/uni-uppercase.el:
2435 Remove generated files from VCS repository.
2437 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2439 * filenotify.el (file-notify-add-watch): Don't special-case
2440 w32notify when computing the directory to watch.
2442 2013-11-27 Glenn Morris <rgm@gnu.org>
2444 Make bootstrap without generated uni-*.el files possible again.
2445 * loadup.el: Update command-line-args checking for unidata-gen.
2446 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2447 * composite.el, international/characters.el:
2448 Handle unicode tables being undefined.
2450 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2451 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2452 (compile-main): Depend on leim rule.
2454 * loadup.el: Move leim-list.el to leim/ subdirectory.
2455 * startup.el (normal-top-level): No more leim directory.
2456 * international/ja-dic-cnv.el (skkdic-convert):
2457 Disable version-control and autoloads in output files.
2458 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2459 Disable version-control and autoloads in output files.
2460 * leim/quail: Move here from ../leim.
2461 * leim/quail/hangul.el (hangul-input-method-activate):
2462 Add autoload cookie.
2463 (generated-autoload-load-name): Set file-local value.
2464 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2465 (generated-autoload-load-name): Set file-local value.
2467 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2469 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2470 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2471 (eww-quit): Ask confirmation before quitting eww.
2473 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2475 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2476 reading output from Diff on MS-Windows and MS-DOS.
2478 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2480 * emacs-lisp/helpers.el (string-reverse): New function.
2482 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2484 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2485 names on MS Windows, like "/[::1]:".
2487 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2490 2013-11-26 Glenn Morris <rgm@gnu.org>
2492 * progmodes/python.el (python-indent-guess-indent-offset):
2493 Avoid corner-case error. (Bug#15975)
2495 Preload leim-list.el. (Bug#4789)
2496 * loadup.el: Load leim-list.el when found.
2497 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2499 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2501 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2503 * emacs-lisp/helpers.el (string-join): New function.
2505 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2507 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2508 Mark as obsolete and replace it with a symbol property.
2509 (byte-compile-form): Use new 'interactive-only property.
2510 * comint.el, files.el, replace.el, simple.el:
2511 Apply new 'interactive-only properly.
2513 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2515 * window.el (display-buffer-at-bottom): Make sure that
2516 split-window-sensibly creates the new window on bottom
2519 2013-11-23 David Kastrup <dak@gnu.org>
2521 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2522 on the conflict markers when available.
2523 (smerge--get-marker): New function.
2524 (smerge-end-re, smerge-base-re): Add subgroup.
2526 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * frame.el (handle-focus-in, handle-focus-out): Add missing
2531 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2533 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2534 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2536 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2539 (gomoku--last-pos): New var.
2540 (gomoku--intangible-chars): New const.
2541 (gomoku--intangible): New function.
2542 (gomoku-mode): Use it. Derive from special-mode.
2543 (gomoku-move-up): Adjust line count.
2544 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2545 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2546 Simplify accordingly.
2548 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2549 Remove blink-cursor code.
2550 (blink-cursor-timer-function, blink-cursor-suspend):
2551 Don't special-case GUIs.
2552 (blink-cursor-mode): Use focus-in/out-hook.
2554 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2556 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2557 work when annotation is invisible (Bug#13886).
2559 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2561 * json.el (json-alist-p): Only return non-nil if the alist has
2562 simple keys (Bug#13518).
2564 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2566 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2567 when control-statement is the first statement in a buffer (Bug#15956).
2569 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2571 * imenu.el (imenu-generic-skip-comments-and-strings):
2572 New option (Bug#15560).
2573 (imenu--generic-function): Use it.
2575 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2577 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2580 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2582 * emacs-lisp/helpers.el: Add some string helpers.
2583 (string-trim-left): Removes leading whitespace.
2584 (string-trim-right): Removes trailing whitespace.
2585 (string-trim): Removes leading and trailing whitespace.
2587 * subr.el (string-suffix-p): New function.
2589 2013-11-23 Glenn Morris <rgm@gnu.org>
2591 * progmodes/python.el (python-shell-send-file):
2592 Add option to delete file when done. (Bug#15647)
2593 (python-shell-send-string, python-shell-send-region): Use it.
2595 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2597 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2598 to set buffer-read-only to t, never to nil. (Bug#15938)
2600 * textmodes/tex-mode.el (latex-noindent-environments):
2601 Add safe-local-variable property. (Bug#15936)
2603 2013-11-23 Glenn Morris <rgm@gnu.org>
2605 * textmodes/enriched.el (enriched-mode): Doc fix.
2606 * emacs-lisp/authors.el (authors-renamed-files-alist):
2607 Add enriched.doc -> enriched.txt.
2609 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2611 2013-11-22 Leo Liu <sdl.web@gmail.com>
2613 * progmodes/octave.el (inferior-octave-startup): Spit out error
2616 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2618 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2621 (ruby-encoding-magic-comment-style): Add :version.
2623 2013-11-22 Leo Liu <sdl.web@gmail.com>
2625 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2627 (octave-help-mode): Adapt to change to help-mode-finish to use
2628 derived-mode-p on 2013-09-17.
2629 (inferior-octave-prompt): Also match octave-gui.
2630 (octave-kill-process): Don't ask twice. (Bug#10564)
2632 2013-11-22 Leo Liu <sdl.web@gmail.com>
2634 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2635 (inferior-octave-startup, inferior-octave-check-process)
2636 (inferior-octave-track-window-width-change)
2637 (octave-completion-at-point, octave-eldoc-function): Use it.
2638 (octave-kill-process): Provide confirmation. (Bug#10564)
2640 2013-11-21 Leo Liu <sdl.web@gmail.com>
2642 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2643 Fix obsolete variable comment-use-global-state.
2645 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2647 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2648 Add `octave-source-file'.
2649 (octave-source-file): New function. (Bug#15935)
2651 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2653 * net/eww.el (eww-local-regex): New variable.
2654 (eww): Use it to detect localhost and similar.
2656 2013-11-21 Leo Liu <sdl.web@gmail.com>
2658 Add completion for command `ag'.
2659 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2660 (pcomplete/ag): New function.
2661 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2663 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2665 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2667 (make-obsolete): Remove interactive spec.
2669 2013-11-21 Glenn Morris <rgm@gnu.org>
2671 * startup.el (command-line-1): Use path-separator with -L.
2673 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2675 * emacs-lisp/package.el (describe-package-1): Add package archive
2678 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2680 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2681 Change default to "# encoding: %s" to differentiate it from the
2682 default Ruby encoding comment template.
2684 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2686 * ses.el (ses-mode): Doc fix. (Bug#14748)
2688 2013-11-20 Leo Liu <sdl.web@gmail.com>
2690 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2692 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2694 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2695 when rebase or bisect are in progress.
2697 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2699 * filenotify.el (file-notify-add-watch): Doc fix.
2701 2013-11-19 Leo Liu <sdl.web@gmail.com>
2703 * obsolete/rcompile.el: Mark obsolete.
2705 * progmodes/compile.el (compilation-start)
2706 (compilation-goto-locus, compilation-find-file):
2707 Pass no-display-ok and handle nil value from display-buffer.
2710 * window.el (display-buffer-alist, display-buffer): Document the
2711 new parameter no-display-ok. Return either a window or nil
2712 but never a non-window value.
2714 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * electric.el (electric-indent-mode-map): Remove.
2717 (electric-indent-mode): Change the global-map instead (bug#15915).
2719 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2722 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * emacs-lisp/nadvice.el (remove-function): Align with
2725 add-function's behavior.
2727 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2728 (gdb--string-regexp): New constant.
2729 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2730 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2731 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2733 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2734 Adjust use accordingly.
2735 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2737 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2739 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2740 interpolation curlies (Bug#15914).
2742 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2744 * calc/calc.el (calc-context-sensitive-enter): New variable.
2745 (calc-enter): Use `calc-context-sensitive-enter'.
2747 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2749 * progmodes/cfengine.el: Version bump.
2750 (cfengine-cf-promises): New defcustom to locate cf-promises.
2751 (cfengine3-vartypes): Add new "data" type.
2752 (cfengine3--current-word): New function to get current name-like
2754 (cfengine3--current-function): New function to look up a CFEngine
2755 function's definition.
2756 (cfengine3-format-function-docstring): New function.
2757 (cfengine3-make-syntax-cache): New function.
2758 (cfengine3-documentation-function): New function: ElDoc glue.
2759 (cfengine3-completion-function): New function: completion glue.
2760 (cfengine3-mode): Set `compile-command',
2761 `eldoc-documentation-function', and add to
2762 `completion-at-point-functions'.
2764 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2766 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2767 `tramp-current-connection'.
2769 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2771 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2772 nil/self/true/false with "end of symbol".
2774 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2776 * subr.el (version-regexp-alist): Fix a typo.
2778 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2780 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2781 "en_US.utf8" and "LC_CTYPE" to "".
2782 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2783 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2785 2013-11-15 Leo Liu <sdl.web@gmail.com>
2787 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2789 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2791 * progmodes/gud.el (ctl-x-map):
2792 Remove C-x SPC binding. (Bug#12342)
2793 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2795 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2797 * subr.el (version-regexp-alist):
2798 Recognize hg, svn and darcs versions as snapshot versions.
2800 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2801 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2802 (ruby--encoding-comment-required-p): Extract from
2803 `ruby-mode-set-encoding'.
2804 (ruby-mode-set-encoding): Add the ability to always insert an
2805 utf-8 encoding comment. Fix and simplify coding comment update
2808 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2810 * net/tramp-gvfs.el (top): Run init code only when
2811 `tramp-gvfs-enabled' is not nil.
2812 (tramp-gvfs-enabled): Check also :system bus.
2814 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2816 Sync with upstream verilog-mode revision 78e66ba.
2817 * progmodes/verilog-mode.el (verilog-end-of-defun)
2818 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2819 (verilog-get-end-of-defun): Remove unused argument.
2820 (verilog-comment-depth): Remove unused local `e'.
2821 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2822 Don't pass arg to verilog-get-end-of-defun.
2824 2013-11-14 Glenn Morris <rgm@gnu.org>
2826 * obsolete/assoc.el (aget): Prefix dynamic variable.
2828 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2830 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2832 * widget.el, hfy-cmap.el: Remove bogus package version number.
2834 2013-11-13 Glenn Morris <rgm@gnu.org>
2836 * replace.el (replace-eval-replacement):
2837 Try to give more helpful error message. (Bug#15836)
2839 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2840 (archive-7z-update): Avoid custom type mismatches.
2842 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2844 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2846 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2847 address can be empty.
2849 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2850 Accept nil SWITCHES.
2851 (tramp-gvfs-handle-write-region): Implement APPEND.
2853 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2855 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2856 binary "|" operator and closing block args delimiter.
2857 Remove FIXME comment referring to Ruby 1.8-only syntax.
2858 (ruby-smie--implicit-semi-p): Not after "|" operator.
2859 (ruby-smie--closing-pipe-p): New function.
2860 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2861 (ruby-smie-rules): Indent after "|".
2863 2013-11-12 Glenn Morris <rgm@gnu.org>
2865 * ps-print.el (ps-face-attribute-list):
2866 Handle anonymous faces. (Bug#15827)
2868 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2870 * window.el (display-buffer-other-frame): Fix doc-string.
2873 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2875 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2877 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2880 (tramp-sh-handle-file-local-copy): Don't write a message when
2881 saving temporary files.
2883 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2884 both directories are remote.
2885 (tramp-smb-handle-directory-files): Do not return double entries.
2886 Do not expand full file names.
2887 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2888 (tramp-smb-handle-write-region): Implement APPEND.
2889 (tramp-smb-get-stat-capability): Fix a stupid bug.
2891 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2893 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2895 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2897 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2898 throwing error over malformed let/let* (bug#15814).
2900 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2902 * iswitchb.el (iswitchb-mode): Mark obsolete.
2904 2013-11-11 Glenn Morris <rgm@gnu.org>
2906 * international/uni-bidi.el, international/uni-category.el:
2907 * international/uni-name.el, international/uni-numeric.el:
2908 Regenerate for Unicode 6.3.0.
2910 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2912 * net/tramp.el (tramp-methods):
2913 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2914 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2916 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2918 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2919 Force highlighting text after Summary keyword in doc face for rpm.
2921 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2923 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2924 available and the word has no wildcards, append one to the grep pattern.
2925 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2926 (ispell-complete-word): Call `ispell-lookup-words' with the value
2927 independent of `ispell-look-p'.
2929 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2931 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2933 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2936 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2938 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2939 (ruby-font-lock-keywords): Use backquote.
2941 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2943 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2944 (ruby-smie--backward-token): Only consider full-string matches.
2946 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2948 * faces.el (describe-face): Add distant-foreground.
2950 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2952 * progmodes/ruby-mode.el: Improve encoding comment handling.
2953 (ruby-encoding-magic-comment-style): New option.
2954 (ruby-custom-encoding-magic-comment-template): New option.
2955 (ruby--insert-coding-comment, ruby--detect-encoding):
2956 New functions extracted from `ruby-mode-set-encoding'.
2957 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2958 to control the style of the auto-inserted encoding comment.
2960 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2962 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2963 Use `smie-backward-sexp' with token argument.
2965 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2967 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2968 Remove instrumentation code.
2970 2013-11-08 Glenn Morris <rgm@gnu.org>
2972 * progmodes/autoconf.el (autoconf-mode):
2973 Tweak comment-start-skip. (Bug#15822)
2975 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2978 at bobp (bug#15826).
2979 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2981 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2983 * man.el (Man-start-calling): New macro, extracted from
2984 Man-getpage-in-background.
2985 (Man-getpage-in-background): Use it.
2986 (Man-update-manpage): New command.
2987 (Man-mode-map): Bind it.
2989 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2991 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2992 of "and", "or", "&&" and "||".
2993 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2994 argument. Prohibit opening curly brace because it could only be a
2995 block opener in that position.
2996 (ruby-smie--forward-token, ruby-smie--backward-token):
2997 Separate "|" from "&" or "*" going after it. That can happen in block
2999 (ruby-smie--indent-to-stmt): New function, seeks the end of
3000 previous statement or beginning of buffer.
3001 (ruby-smie-rules): Use it.
3002 (ruby-smie-rules): Check if there's a ":" before a curly block
3003 opener candidate; if there is, it's a hash.
3005 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3007 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3008 (cl--block-wrapper): Fix last accidental change.
3010 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3012 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3013 Instrument, in order to hunt failure on hydra.
3015 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3017 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3018 malformed bindings form (bug#15814).
3020 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3022 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3023 "." compared to " @ ". This incidentally fixes some indentation
3025 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3026 (ruby-smie-grammar): New tokens: "and" and "or".
3027 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3028 Exclude "and" and "or". Remove "do" in order to work around token
3030 (ruby-smie-rules): Add all infix tokens. Handle the case of
3031 beginning-of-buffer.
3033 2013-11-06 Glenn Morris <rgm@gnu.org>
3035 * Makefile.in (setwins_almost, setwins_for_subdirs):
3036 Avoid accidental matches.
3038 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * menu-bar.el (popup-menu): Use key-binding.
3042 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3044 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3045 menus, support also the menus produced by minor modes.
3048 2013-11-06 Leo Liu <sdl.web@gmail.com>
3050 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3051 DISTANCE to bound the search. All uses changed. (Bug#15808)
3053 2013-11-06 Glenn Morris <rgm@gnu.org>
3055 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3056 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3057 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3059 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3061 * electric.el (electric-indent-just-newline): New command.
3062 (electric-indent-mode-map): New keymap.
3063 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3064 Re-add :group which weren't redundant.
3066 * electric.el (electric-indent-local-mode): New minor mode.
3067 (electric-indent-functions-without-reindent): New var.
3068 (electric-indent-post-self-insert-function): Use it.
3069 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3071 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3073 * international/quail.el (quail-help): Be more explicit about the
3074 meaning of the labels shown on the keys. (Bug#15800)
3076 * startup.el (normal-top-level): Load the subdirs.el files before
3077 setting the locale environment. (Bug#15805)
3079 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3081 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3082 via arguments so as to get the right ones (bug#15418).
3084 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3086 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3088 Fix problems found while writing a test suite.
3090 * net/tramp-compat.el (tramp-compat-load): New defun.
3091 * net/tramp.el (tramp-handle-load): Use it.
3093 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3094 "(numberp ok-if-already-exists)" correctly.
3096 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3098 * international/characters.el (glyphless-char-display-control):
3101 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3103 * progmodes/python.el (python-mode):
3104 * progmodes/scheme.el (scheme-mode):
3105 * progmodes/prolog.el (prolog-mode):
3106 * progmodes/ruby-mode.el (ruby-mode):
3107 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3108 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3110 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3112 * rect.el (rectangle--highlight-for-redisplay):
3113 * emacs-lisp/smie.el (smie--next-indent-change):
3114 Use buffer-chars-modified-tick.
3116 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3118 * electric.el (electric-indent-post-self-insert-function):
3119 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3121 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3123 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3125 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3127 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3130 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3132 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3134 * progmodes/python.el: Fix up last change.
3135 (python-shell--save-temp-file): New function.
3136 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3137 `string' comes from the current buffer.
3138 (python-shell-send-string-no-output): Remove `msg' arg.
3139 (python--use-fake-loc): New var.
3140 (python-shell-buffer-substring): Obey it. Try to compensate for the
3141 extra coding line added by python-shell--save-temp-file.
3142 (python-shell-send-region): Use python-shell--save-temp-file and
3143 python-shell-send-file directly. Add `nomain' argument.
3144 (python-shell-send-buffer): Use python-shell-send-region.
3145 (python-electric-pair-string-delimiter): New function.
3146 (python-mode): Use it.
3148 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3150 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3151 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3152 environment and decoding all of the default-directory's to here
3154 (command-line): Decode also argv[0].
3156 * loadup.el: Error out if default-directory is a multibyte string
3157 when we are dumping.
3159 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3161 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3163 * emacs-lisp/package.el (package-menu-mode)
3164 (package-menu--print-info, package-menu--archive-predicate):
3165 Add Archive column to package list.
3167 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3169 Fix problems found while writing a test suite.
3171 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3172 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3173 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3174 to nil when running original file name handler. Otherwise,
3175 there are problems with constructs like "$$FOO".
3177 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3180 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3182 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3184 * subr.el (version<, version<=, version=):
3185 Update docstrings with information for snapshot versions.
3187 * helpers.el: New library for misc helper functions.
3188 (hash-table-keys): New function returning a list of hash keys.
3189 (hash-table-values): New function returning a list of hash values.
3191 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3193 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3194 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3196 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3198 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3199 checking whether point is after a 1-letter word.
3201 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3203 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3204 Don't infloop when expanding region over `multiline' syntax-type that
3205 begins a line (bug#15778).
3207 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3209 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3210 Make it into a proper minor mode.
3211 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3212 (rectangle-mark-mode-map): New keymap.
3213 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3215 2013-11-04 Glenn Morris <rgm@gnu.org>
3217 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3219 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3221 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3222 (ruby-smie-rules): Use smie-rule-parent instead.
3224 * emacs-lisp/smie.el (smie-rule-parent): Always call
3225 smie-indent-virtual rather than only for hanging tokens.
3226 (smie--next-indent-change): New helper command.
3228 2013-11-03 Glenn Morris <rgm@gnu.org>
3230 * Makefile.in (abs_srcdir): Remove.
3231 (emacs): Unset EMACSLOADPATH.
3233 2013-11-02 Glenn Morris <rgm@gnu.org>
3235 * Makefile.in (EMACS): Use a relative filename.
3236 (abs_top_builddir): Remove.
3237 (custom-deps, finder-data, autoloads): Use --chdir.
3239 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3241 Use relative filenames in TAGS files.
3242 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3243 (lisptagsfiles4, TAGS): Use relative file names.
3244 (TAGS-LISP): Remove.
3245 (maintainer-clean): No more TAGS-LISP file.
3247 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3248 (lisptagsfiles4): Use absolute filenames again.
3249 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3250 Remove all *loaddefs files, not just the first. Remove esh-groups.
3251 (maintainer-clean): Delete TAGS, TAGS-LISP.
3253 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3255 * emacs-lisp/package.el (package-version-join):
3256 Recognize snapshot versions.
3258 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3260 * subr.el (version-regexp-alist): Add support for snapshot versions.
3262 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3264 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3265 New function, replacement for `smie-rule-parent' for when we want to
3266 skip over our direct parent if it's an assignment token..
3267 (ruby-smie-rules): Use it.
3269 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3271 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3272 unconditionally. Remove now unnecessary forward declarations.
3273 Remove XEmacs-specific setup.
3274 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3275 (ruby-font-lock-syntactic-keywords)
3276 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3277 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3278 (ruby-here-doc-end-syntax): Remove.
3279 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3280 defined as function.
3282 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3284 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3286 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3288 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3289 table and abbrev table, `define-derived-mode' does that for us
3292 2013-11-01 Glenn Morris <rgm@gnu.org>
3294 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3295 files is atomic for some time, so no parallel compilation issues).
3297 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3299 * faces.el (face-x-resources): Add :distant-foreground.
3300 (region): Use :distant-foreground for gtk and ns.
3302 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3304 Allow multiple bibliographies when BibLaTeX is used rather than
3306 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3307 (reftex-locate-bibliography-files): Us it.
3309 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3311 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3312 allow comments in pbm files.
3314 * term/w32-win.el (dynamic-library-alist): Support newer versions
3315 of libjpeg starting with v7: look only for the DLL from the
3316 version against which Emacs was built.
3317 Support versions of libpng beyond 1.4.x.
3318 Support libtiff v4.x.
3320 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3322 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3323 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3325 (ruby-deep-arglist): Add property :type.
3327 2013-10-31 Glenn Morris <rgm@gnu.org>
3329 * Makefile.in (custom-deps, finder-data): No need to setq the target
3330 variables, we are in the right directory and the defaults work fine.
3332 2013-10-30 Glenn Morris <rgm@gnu.org>
3334 * Makefile.in (autoloads): Do not use abs_lisp.
3336 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3337 `newline' does not respect `standard-output', so use `princ'.
3339 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3341 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3342 * buff-menu.el (Buffer-menu--unmark): New function.
3343 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3345 2013-10-30 Glenn Morris <rgm@gnu.org>
3347 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3349 * emacs-lisp/package.el (lm-homepage): Declare.
3351 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3354 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3356 * Makefile.in (finder-data, autoloads, update-subdirs)
3357 (compile-main, compile-clean, compile-always, bootstrap-clean):
3358 Check return value of cd.
3359 (compile-calc): Remove.
3361 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3365 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3366 (byte-compile-and-folded): New function.
3367 (=, <, >, <=, >=): Use it.
3369 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3370 (path-separator, null-device, buffer-file-coding-system)
3371 (lpr-headers-switches): Check system-type before modifying them.
3372 (find-buffer-file-type-coding-system): Mark obsolete.
3373 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3374 find-file-not-found-set-buffer-file-coding-system.
3375 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3376 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3377 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3378 (w32-direct-print-region-helper, w32-direct-print-region-function)
3379 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3380 * startup.el (normal-top-level-add-subdirs-to-load-path):
3381 * ps-print.el (ps-print-region-function):
3382 * lpr.el (print-region-function): Use new name.
3384 * subr.el (custom-declare-variable-early): Remove function.
3385 (custom-declare-variable-list): Remove var.
3386 (error, user-error): Remove `while' loop.
3387 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3388 (user-emacs-directory-warning, locate-user-emacs-file):
3390 * simple.el (read-quoted-char-radix, read-quoted-char):
3391 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3393 * custom.el (custom-declare-variable-list): Don't process
3394 custom-declare-variable-list.
3396 * progmodes/python.el (python-shell-get-buffer): New function.
3397 (python-shell-get-process): Use it.
3398 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3399 Python which encoding was used. Don't split-string since we only care
3400 about the first line. Return the temp-file, if applicable.
3401 (python-shell-send-region): Tell compile.el how to turn locations in
3402 the temp-file into locations in the source buffer.
3404 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3406 * subr.el (undefined): Add missing behavior from the C code for
3409 * rect.el: Use lexical-binding. Add new rectangular region support.
3410 (rectangle-mark): New command.
3411 (rectangle--region): New var.
3412 (deactivate-mark-hook): Reset rectangle--region.
3413 (rectangle--extract-region, rectangle--insert-for-yank)
3414 (rectangle--highlight-for-redisplay)
3415 (rectangle--unhighlight-for-redisplay): New functions.
3416 (region-extract-function, redisplay-unhighlight-region-function)
3417 (redisplay-highlight-region-function): Use them to handle
3419 * simple.el (region-extract-function): New var.
3420 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3421 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3422 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3423 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3424 (redisplay-unhighlight-region-function)
3425 (redisplay-highlight-region-function): New vars.
3426 (redisplay--update-region-highlight): New function.
3427 (pre-redisplay-function): Use it.
3428 (exchange-point-and-mark): Don't deactivate the mark before
3429 reactivate-it anyway.
3430 * comint.el (comint-kill-region): Remove yank-handler argument.
3431 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3432 (delete-char): Remove property, since it's now part of their
3434 (self-insert-iso): Remove property since this command doesn't exist.
3436 * emacs-lisp/package.el (package--download-one-archive)
3437 (describe-package-1): Don't query the user about final newline.
3439 2013-10-29 Daniel Colascione <dancol@dancol.org>
3441 * net/tramp.el (tramp-methods): Document new functionality.
3442 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3443 tramp-hostname-checker if method provides one instead of scanning
3444 argument list for "%h" to decide hostname acceptability.
3446 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3448 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3449 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3450 Handle COPY-CONTENTS. (Bug#15737)
3452 2013-10-28 Daiki Ueno <ueno@gnu.org>
3455 (epa-file-cache-passphrase-for-symmetric-encryption):
3456 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3458 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3460 * image.el (defimage):
3461 (image-load-path): Doc fixes.
3463 2013-10-27 Alan Mackenzie <acm@muc.de>
3465 Indent statements in macros following "##" correctly.
3466 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3467 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3469 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3471 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3473 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3475 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3476 after `=' is probably a new expression.
3478 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3480 * man.el (man-imenu-title): New option.
3481 (Man-mode-map): Add menu. (Bug#15722)
3482 (Man-mode): Add imenu to menu.
3484 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3486 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3487 specific in what the first arg can be: a non-keyword word,
3488 string/regexp/percent literal opener, opening paren, or unary
3489 operator followed directly by word.
3491 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3493 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3494 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3495 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3496 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3497 Remove vars, they do not apply any more.
3498 (prolog-mode-abbrev-table): Remove redundant declaration.
3499 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3500 (prolog-use-smie): Remove.
3501 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3502 supported by prolog-electric-if-then-else-flag.
3503 (prolog-mode-variables, prolog-menu): Use setq-local.
3504 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3505 Remove binding to `Backspace' since this key doesn't exist anyway.
3506 Remove bindings for electric self-inserting keys.
3507 (prog-mode): Assume it's defined.
3508 (prolog-post-self-insert): New function.
3509 (prolog-mode): Use it.
3510 (prolog-indent-line, prolog-indent-level)
3511 (prolog-find-indent-of-matching-paren)
3512 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3513 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3514 (prolog-goto-next-paren, prolog-in-string-or-comment)
3515 (prolog-tokenize, prolog-inside-mline-comment)
3516 (prolog-find-start-of-mline-comment): Remove functions.
3517 (prolog-find-unmatched-paren, prolog-clause-end)
3518 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3519 (prolog-electric--if-then-else): Rename from
3520 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3521 (prolog-tokenize-searchkey): Remove const.
3522 (prolog-clause-info): Use forward-sexp.
3523 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3524 (prolog-electric-if-then-else): Remove commands.
3525 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3526 for use in post-self-insert-hook.
3527 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3528 for use in post-self-insert-hook.
3529 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3530 for use in post-self-insert-hook.
3531 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3532 adapt it for use in post-self-insert-hook.
3534 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3536 * emacs-lisp/ert.el (ert-run-tests-interactively):
3537 Use `completing-read'. (Bug#9756)
3539 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3541 * simple.el (line-move): Call line-move-1 instead of
3542 line-move-visual when the current window hscroll is zero, but
3543 temporary-goal-column indicates we will need to hscroll as result
3544 of the movement. (Bug#15712)
3546 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3548 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3549 capitalization. Use :visible instead of :active.
3550 Fix `ruby-indent-exp' reference. Add menu items for the generic
3551 commands that are used with SMIE.
3552 (ruby-do-end-to-brace): Insert space after `{'.
3554 2013-10-25 John Anthony <john@jo.hnanthony.com>
3556 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3558 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3560 2013-10-25 Glenn Morris <rgm@gnu.org>
3562 * vc/vc.el (vc-print-log): Don't use a working revision unless
3563 one was explicitly specified. (Bug#15322)
3565 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * subr.el (add-to-list): Preserve return value in compiler-macro
3570 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3572 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3573 result. Ask user to retry using '-all' flag. (Bug#15701)
3575 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3577 * emacs-lisp/smie.el: New smie-config system.
3578 (smie-config): New defcustom.
3579 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3580 (smie-config-guess, smie-config-save): New commands.
3581 (smie-config--mode-local, smie-config--buffer-local)
3582 (smie-config--trace, smie-config--modefuns): New vars.
3583 (smie-config--advice, smie-config--mode-hook)
3584 (smie-config--setter, smie-config-local, smie-config--get-trace)
3585 (smie-config--guess-value, smie-config--guess): New functions.
3586 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3587 text properties. Treat "string fence" syntax like string syntax.
3589 * progmodes/sh-script.el (sh-use-smie): Change default.
3590 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3591 (sh-var-value): Simplify by CSE.
3592 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3593 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3595 (sh-guess-basic-offset): Use cl-incf.
3596 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3598 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3600 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3603 2013-10-24 Glenn Morris <rgm@gnu.org>
3605 * Makefile.in (abs_top_srcdir): Remove.
3606 (update-subdirs): Use relative path to update-subdirs.
3608 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3610 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3611 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3612 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3613 Call unmsys--file-name before expand-file-name, not after it.
3615 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3617 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3618 (ert-test-skipped): New error.
3619 (ert-skip, ert-stats-skipped): New defuns.
3620 (ert--skip-unless): New macro.
3621 (ert-test-skipped): New struct.
3622 (ert--run-test-debugger, ert-test-result-type-p)
3623 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3624 (ert--stats-set-test-and-result, ert-char-for-test-result)
3625 (ert-string-for-test-result, ert-run-tests-batch)
3626 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3627 Handle skipped tests. (Bug#9803)
3629 2013-10-24 Glenn Morris <rgm@gnu.org>
3631 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3633 * Makefile.in (abs_top_srcdir): New, set by configure.
3634 (update-subdirs): Correct build-aux location.
3636 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3638 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3639 value, whether we could auto-deduce `backend', or not.
3641 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3642 with parameters" example. Simplify the "is it block or is it
3643 hash" check, but also make it more thorough.
3645 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3647 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3649 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3651 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3654 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3657 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3659 * progmodes/compile.el (compilation-directory-matcher)
3660 (compilation-page-delimiter):
3661 Support GNU Make-4.0 directory quoting. (Bug#15678)
3663 2013-10-23 Leo Liu <sdl.web@gmail.com>
3665 * ido.el (ido-tidy): Handle read-only text.
3667 2013-10-23 Glenn Morris <rgm@gnu.org>
3669 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3670 (emacs, compile, compile-always):
3671 Quote entities that might contain whitespace.
3672 (custom-deps, finder-data, autoloads): Use abs_lisp.
3673 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3674 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3675 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3677 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3679 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3680 Use `following-char'.
3682 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3684 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3685 * progmodes/ruby-mode.el (ruby-smie-rules):
3686 Remove corresponding workaround. Fix indentation rule of ";" so it
3687 also applies when ";" is the parent.
3689 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3691 * frame.el (display-screens, display-pixel-height)
3692 (display-pixel-width, display-mm-width, display-backing-store)
3693 (display-save-under, display-planes, display-color-cells)
3694 (display-visual-class, display-monitor-attributes-list):
3695 Mention the optional ‘display’ argument in doc strings.
3697 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3699 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3700 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3702 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3704 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3705 TODO. Add "." after " @ ".
3706 (ruby-smie--at-dot-call): New function. Checks if point at method
3707 call with explicit target.
3708 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3709 to the method name tokens when it precedes them.
3710 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3711 (ruby-smie-rules): Add rule for indentation before and after "."
3714 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3716 * textmodes/remember.el (remember-diary-extract-entries):
3719 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3722 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3724 * progmodes/ruby-mode.el (ruby-smie-grammar):
3725 Add (almost) all infix operators.
3726 (ruby-smie--implicit-semi-p): Add new operator chars.
3728 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3730 (ruby-smie--args-separator-p): Check that there's no newline
3731 between method call and its arguments.
3733 2013-10-20 Alan Mackenzie <acm@muc.de>
3735 Allow comma separated lists after Java "implements".
3737 * progmodes/cc-engine.el (c-backward-over-enum-header):
3739 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3740 from a "disallowed" list in enum fontification.
3742 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3744 * startup.el (default-frame-background-mode): Remove unused defvar.
3746 * progmodes/verilog-mode.el (verilog-mode): Don't set
3747 comment-indent-function globally.
3749 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3751 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3752 Move Info menu item creation to ns-win.el.
3754 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3757 * menu-bar.el: Move GNUstep specific menus...
3759 * term/ns-win.el (ns-initialize-window-system): ... to here.
3761 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * simple.el (newline): Only run post-self-insert-hook when
3764 called interactively.
3766 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3768 * icomplete.el (icomplete-with-completion-tables): Add :version.
3770 2013-10-19 Alan Mackenzie <acm@muc.de>
3772 Fix fontification bugs with constructors and const.
3774 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3775 CASE 2) Remove the check for the absence of a suffix construct
3776 after a function declaration with only types (no identifiers) in
3777 the parentheses. Also, accept a function declaration with just a
3778 type inside the parentheses, if this type can be positively
3779 recognised as such, or if a prefix keyword like "explicit" nails
3780 down the construct as a declaration.
3782 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3784 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3785 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3786 the problem whereby selecting a menu item that leads to a
3787 minibuffer prompt moves the cursor out of the minibuffer window,
3788 making it hard to type at the prompt. Suggested by Stefan Monnier
3789 <monnier@iro.umontreal.ca>.
3791 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3793 * menu-bar.el: Don't make Services menu.
3795 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3797 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3798 (ffap-alist): Use ffap-c++-mode for c++-mode.
3799 (ffap-c++-path): New variable.
3800 (ffap-c++-mode): New function.
3802 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3804 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3806 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3808 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3809 introduced on 2013-09-08, which results in an infinite loop
3810 requesting a password.
3812 2013-10-18 Glenn Morris <rgm@gnu.org>
3814 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3816 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3818 Sync with upstream verilog-mode revision 1a6ecec7.
3819 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3820 (verilog-mode-release-date): Remove.
3821 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3822 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3823 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3824 (verilog-auto-tieoff-ignore-regexp)
3825 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3826 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3827 (verilog-signals-with, verilog-dir-cache-preserving)
3828 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3830 (verilog-case-fold): New option, to control case folding in
3831 regexp searches, bug597.
3832 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3833 (verilog-string-match-fold, verilog-in-paren-count)
3834 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3835 (verilog-at-close-struct-p): New functions.
3836 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3837 (verilog-forward-sexp, verilog-set-auto-endcomments):
3838 (verilog-leap-to-case-head): Handle "unique0" case.
3839 (verilog-in-constraint-re): New constant.
3840 (verilog-keywords, verilog-type-font-keywords):
3841 Add some SystemVerilog 1800-2012 keywords.
3842 (verilog-label-be): Remove unimplemented argument, bug669.
3843 (verilog-batch-execute-func): When batch expanding clear
3844 create-lockfiles to prevent spurious user locks when a file ends
3846 (verilog-calculate-indent, verilog-calc-1)
3847 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3848 (verilog-do-indent): Fix indentation of nested constraints
3850 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3851 (verilog-auto-inst-param): Use verilog-string-match-fold.
3852 (verilog-read-inst-module-matcher):
3853 Fix AUTOINST on gate primitives with #1.
3854 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3855 Reads all user-defined typed variables.
3856 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3857 (verilog-signals-matching-regexp)
3858 (verilog-signals-not-matching-regexp, verilog-auto):
3859 Respect verilog-case-fold.
3860 (verilog-diff-report): Fix line count.
3861 (verilog-auto-assign-modport): Remove unused local `modi'.
3862 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3863 better handle multidimensional arrays.
3864 Fix packed array ports misadding bit index in AUTOINST, bug637.
3865 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3866 to not double-declare existing outputs and inputs, respectively.
3867 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3868 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3869 (verilog-sk-uvm-component): New skeleton.
3870 (verilog-submit-bug-report): Add verilog-case-fold,
3871 remove verilog-mode-release-date.
3873 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3875 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3878 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3880 * textmodes/remember.el (remember): Set buffer-offer-save in
3881 remember buffers (bug#13566).
3883 2013-10-18 Daniel Colascione <dancol@dancol.org>
3885 When evaluating forms in ielm, direct standard output to ielm
3886 buffer. Add new ielm-return-for-effect command. Remove trailing
3887 whitespace throughout.
3889 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3890 (ielm-return-for-effect): New command.
3891 (ielm-send-input): Accept optional `for-effect' parameter.
3892 (ielm-eval-input): Accept optional `for-effect' parameter.
3893 Bind `standard-output' to stream we create using
3894 `ielm-standard-output-impl'. Suppress printing result when
3896 (ielm-standard-output-impl): New function.
3897 (inferior-emacs-lisp-mode): Explain new features in documentation.
3899 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3903 * net/tramp.el (tramp-debug-message): Do not check for connection
3905 (tramp-message): Use "vector" connection property.
3907 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3908 (tramp-equal-remote, tramp-eshell-directory-change)
3909 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3910 (tramp-adb-handle-rename-file)
3911 * net/tramp-cmds.el (tramp-list-remote-buffers)
3912 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3913 * net/tramp-compat.el (tramp-compat-process-running-p)
3914 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3915 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3916 (tramp-gvfs-handle-rename-file)
3917 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3918 (tramp-set-file-uid-gid)
3919 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3920 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3923 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3924 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3925 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3926 (tramp-gw-open-network-stream): Suppress unrelated traces.
3928 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3929 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3931 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3932 connection property.
3934 * net/tramp-cache.el (top): Suppress traces when reading
3937 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3938 Refactor common code. Improve debug message.
3939 (tramp-maybe-open-connection)
3940 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3941 connection buffer too early.
3943 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3944 from `tramp-smb-actions-with-acl'.
3945 (tramp-smb-actions-set-acl): New defconst.
3946 (tramp-smb-handle-copy-directory)
3947 (tramp-smb-action-get-acl): New defun, renamed from
3948 `tramp-smb-action-with-acl'.
3949 (tramp-smb-action-set-acl): New defun.
3950 (tramp-smb-handle-set-file-acl): Rewrite.
3952 2013-10-17 Glenn Morris <rgm@gnu.org>
3954 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3956 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * skeleton.el (skeleton-newline): Remove.
3959 (skeleton-internal-1): Use (insert "\n") instead.
3961 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3964 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3965 forward-sexp-function while we redo its job (bug#15613).
3967 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3969 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3970 represented by lists.
3972 2013-10-16 Glenn Morris <rgm@gnu.org>
3974 * tmm.el (tmm--history): New dynamic variable.
3975 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3977 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3979 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3980 (tramp-smb-errors): Add error messages.
3981 (tramp-smb-actions-with-acl): New defconst.
3982 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3983 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3984 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3985 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3986 (tramp-smb-get-stat-capability): Fix tests.
3988 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3990 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3993 2013-10-16 Glenn Morris <rgm@gnu.org>
3995 * ansi-color.el (ansi-color-drop-regexp):
3996 Add 1J, 1K, 2K. (Bug#15617)
3998 * files.el (hack-local-variables--warned-lexical): New.
3999 (hack-local-variables):
4000 Warn about misplaced lexical-binding. (Bug#15616)
4002 * net/eww.el (eww-render): Always set eww-current-url,
4003 and update header line. (Bug#15622)
4004 (eww-display-html): ... Rather than just doing it here.
4006 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4008 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4009 menu navigations commands.
4011 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4013 * progmodes/subword.el (subword-capitalize): Be careful when
4014 the search for [[:alpha:]] fails (bug#15580).
4016 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4018 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4019 to commands that scroll the menu.
4021 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4023 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4024 Handle methods ending with `?' and `!'.
4026 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4028 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4029 `japanese-cp932' to `cp932' to fix the problem where saving a
4030 source file written in Shift_JIS twice would end up having
4031 `coding: japanese-cp932' which Ruby could not recognize.
4032 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4033 in `ruby-encoding-map'.
4034 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4035 doesn't need to be explicitly declared in magic comment.
4036 (ruby-encoding-map): Add type declaration for better customize UI.
4038 2013-10-13 Glenn Morris <rgm@gnu.org>
4040 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4041 Occur buffers are read-only. http://bugs.debian.org/720775
4043 * emacs-lisp/authors.el (authors-fixed-entries):
4044 Comment out old alpha stuff.
4046 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4048 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4049 to `after-save-hook' instead of `before-save-hook'.
4050 (ruby-mode-set-encoding): Use the value of coding system used to
4051 write the file. Call `basic-save-buffer-1' after modifying the
4054 2013-10-13 Alan Mackenzie <acm@muc.de>
4056 Fix indentation/fontification of Java enum with
4057 "implements"/generic.
4059 * progmodes/cc-engine.el (c-backward-over-enum-header):
4060 Extracted from the three other places and enhanced to handle generics.
4061 (c-inside-bracelist-p): Uses new function above.
4062 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4064 (c-font-lock-enum-tail): Uses new function above.
4066 2013-10-13 Kenichi Handa <handa@gnu.org>
4068 * international/mule-cmds.el (select-safe-coding-system): Remove a
4069 superfluous condition in chekcing whether a coding system is safe
4072 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4074 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4076 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4078 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4080 2013-10-13 Glenn Morris <rgm@gnu.org>
4082 * menu-bar.el (menu-bar-update-buffers):
4083 Unify Buffers menu prompt string. (Bug#15576)
4085 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4087 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4089 (authors-fixed-entries): Use accented form of name.
4091 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4093 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4094 method calls (bug#15594).
4095 (ruby-smie--args-separator-p): New function.
4096 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4097 recognize paren-free method calls.
4099 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4100 internals of universal-argument.
4102 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4104 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4105 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4106 dropped menu on second mouse click on the menu bar.
4108 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4111 (explicit-shell-file-name): Declare.
4112 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4113 (sh-completion-at-point-function): New function.
4115 (sh-smie--keyword-p): Remove unused argument.
4116 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4118 (sh-set-shell): Always setup SMIE, even if we use the
4119 old indentation code.
4121 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4123 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4125 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4126 predicate would return nil are almost non-existent.
4127 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4129 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4130 cache also after commands that modify the buffer but don't move
4133 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4135 * env.el (substitute-env-in-file-name): New function.
4136 (substitute-env-vars): Extend the meaning of the optional arg.
4138 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4140 * term/w32-win.el (dynamic-library-alist): Define separate lists
4141 of GIF DLLs for versions before and after 5.0.0 of giflib.
4144 2013-10-10 João Távora <joaotavora@gmail.com>
4146 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4147 not locked, use last revision and current source as
4148 defaults. (Bug#15569)
4150 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4152 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4155 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4157 * window.el (pop-to-buffer-same-window): Fix doc-string.
4160 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4164 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4166 * calendar/icalendar.el (icalendar-import-file):
4167 Fix interactive spec. (Bug#15482)
4169 2013-10-10 Glenn Morris <rgm@gnu.org>
4171 * desktop.el (desktop-save): Default to saving in .emacs.d,
4172 since PWD is no longer in desktop-path by default. (Bug#15319)
4174 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4175 now that text mode has a menu with the same entry.
4176 (menu-bar-text-mode-auto-fill): Remove now unused func.
4177 * textmodes/text-mode.el (text-mode-map):
4178 Use auto-fill help text from menu-bar.el.
4180 2013-10-10 John Anthony <john@jo.hnanthony.com>
4182 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4184 2013-10-09 Juri Linkov <juri@jurta.org>
4186 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4187 instead of this-command-keys. Add universal-argument-more and
4188 universal-argument-minus to the list of prefix commands. (Bug#15568)
4190 2013-10-09 Glenn Morris <rgm@gnu.org>
4192 * vc/vc-svn.el (vc-svn-create-repo):
4193 Expand paths in file://... url. (Bug#15446)
4195 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4197 (authors): Remove unused local variables.
4199 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * profiler.el: Create a more coherent calltree from partial backtraces.
4202 (profiler-format): Hide the tail with `invisible' so that C-s can still
4203 find the hidden elements.
4204 (profiler-calltree-depth): Don't recurse so enthusiastically.
4205 (profiler-function-equal): New hash-table-test.
4206 (profiler-calltree-build-unified): New function.
4207 (profiler-calltree-build): Use it.
4208 (profiler-report-make-name-part): Indent the calltree less.
4209 (profiler-report-mode): Add visibility specs for profiler-format.
4210 (profiler-report-expand-entry, profiler-report-toggle-entry):
4211 Expand the whole subtree when provided with a prefix arg.
4213 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4215 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4217 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4218 hanging iuwu-mod token.
4219 (ruby-smie--forward-token): Do not include a dot after a token in
4221 (ruby-smie--backward-token): Likewise.
4223 2013-10-08 Juri Linkov <juri@jurta.org>
4225 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4226 to isearch-other-control-char.
4227 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4228 and isearch-post-command-hook to post-command-hook.
4229 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4230 and isearch-post-command-hook from post-command-hook.
4231 (isearch-unread-key-sequence)
4232 (isearch-reread-key-sequence-naturally)
4233 (isearch-lookup-scroll-key, isearch-other-control-char)
4234 (isearch-other-meta-char): Remove functions.
4235 (isearch-pre-command-hook, isearch-post-command-hook):
4236 New functions based on isearch-other-meta-char rewritten
4237 relying on the new behavior of overriding-terminal-local-map
4238 that does not replace the local keymaps any more. (Bug#15200)
4240 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4242 Support menus on text-mode terminals.
4243 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4246 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4248 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4249 Move here from mouse.el.
4250 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4252 (tty-menu-navigation-map): New map for TTY menu navigation.
4254 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4256 * frame.el (display-mouse-p): Report text-mode mouse as available
4258 (display-popup-menus-p): Report availability if mouse is
4259 available; don't condition on window-system.
4261 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4262 (tty-menu-selected-face): New faces.
4264 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4267 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4268 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4269 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4271 (lisp-mode-variables): New `elisp' argument.
4272 (emacs-lisp-mode): Use it.
4273 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4274 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4276 * indent.el: Use lexical-binding.
4277 (indent-region): Add progress reporter.
4278 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4280 (indent--next-tab-stop): New function to implement this behavior.
4281 (tab-to-tab-stop, move-to-tab-stop): Use it.
4283 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4285 * indent.el (indent-rigidly--current-indentation): New function.
4286 (indent-rigidly-map): New var.
4287 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4289 2013-10-08 Bastien Guerry <bzg@gnu.org>
4291 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4293 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4295 * progmodes/perl-mode.el: Use lexical-binding.
4296 Remove redundant :group args.
4297 (perl-nochange): Change default to be closer to other major modes's
4299 (perl-indent-line): Don't consider text on current line as a
4300 valid beginning of function from which to indent.
4302 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4303 with more than one argument (bug#15538).
4305 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4307 * vc/pcvs.el: Use lexical-binding.
4308 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4309 environment of `eval'.
4310 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4311 than a list of expressions. Adjust callers.
4312 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4314 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4316 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4317 case of the dot in a chained method call being on the following line.
4319 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4321 * electric.el (electric-indent-inhibit): New var.
4322 (electric-indent-post-self-insert-function): Use it.
4323 * progmodes/python.el (python-mode): Set it.
4325 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4328 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4330 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4331 (css-mode): Use electric-indent-chars.
4333 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4334 (font-lock-beg, font-lock-end): Move before first use.
4335 (nxml-mode): Use syntax-propertize-function.
4336 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4337 (nxml-extend-after-change-region): Remove.
4338 * nxml/xmltok.el: Use lexical-binding.
4339 (xmltok-save): Use `declare'.
4340 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4341 * nxml/nxml-util.el: Use lexical-binding.
4342 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4344 * nxml/nxml-ns.el: Use lexical-binding.
4345 (nxml-ns-save): Use `declare'.
4346 (nxml-ns-prefixes-for): Avoid add-to-list.
4347 * nxml/rng-match.el: Use lexical-binding.
4348 (rng--ipattern): Use cl-defstruct.
4349 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4350 (rng-cons-group-after, rng-subst-group-after)
4351 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4352 Use closures instead of `(lambda...).
4354 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4356 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4360 Use `tramp-handle-insert-file-contents'.
4361 (tramp-gvfs-handle-insert-file-contents): Remove function.
4363 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4364 Use `save-restriction' in order to keep markers.
4366 * net/trampver.el: Update release number.
4368 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4370 * progmodes/compile.el (compilation-parse-errors):
4371 Use compilation--put-prop.
4372 (compilation--ensure-parse): Check compilation-multiline.
4374 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4376 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4379 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4381 * progmodes/ruby-mode.el: Fix recently added tests.
4382 (ruby-smie-grammar): Add - and +.
4383 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4384 (ruby-smie--backward-id): New functions.
4385 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4386 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4389 2013-10-07 Leo Liu <sdl.web@gmail.com>
4391 * register.el (register-preview-delay)
4392 (register-preview-functions): New variables.
4393 (register-read-with-preview, register-preview)
4394 (register-describe-oneline): New functions.
4395 (point-to-register, window-configuration-to-register)
4396 (frame-configuration-to-register, jump-to-register)
4397 (number-to-register, view-register, insert-register)
4398 (copy-to-register, append-to-register, prepend-to-register)
4399 (copy-rectangle-to-register): Use register-read-with-preview to
4400 read register. (Bug#15525)
4402 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4404 * net/network-stream.el (network-stream-open-starttls): Don't add
4405 --insecure if it's already present, because that gnutls-cli
4406 rejects getting that parameter twice.
4408 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4410 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4413 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4415 * newcomment.el (comment-use-global-state): Change default value
4416 to t, mark obsolete (Bug#15251).
4417 (comment-beginning): In addition to `comment-to-syntax', check the
4418 value of `comment-use-global-state'.
4420 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4423 (ruby-comment-column): Follow the global default, by default.
4424 (ruby-smie-grammar): Add assignment syntax.
4425 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4426 open-paren, a comma, or a \.
4427 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4428 and line continuations.
4429 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4430 followed by implicit semi-colons. Add rule for string concatenation
4431 and for indentation at BOB.
4432 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4434 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4435 calling next-sexp, since next-token may have skipped chars which
4436 next-sexp doesn't know should be skipped!
4438 2013-10-05 Leo Liu <sdl.web@gmail.com>
4440 * progmodes/octave.el (octave-send-region):
4441 Call compilation-forget-errors.
4443 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4445 * vc/vc-svn.el (vc-svn-find-admin-dir):
4446 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4447 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4448 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4449 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4451 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4453 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4455 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4457 * subr.el (read-passwd): Hide chars even when called within a context
4458 where after-change-functions is disabled (bug#15501).
4459 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4460 until we removed ourself from overriding-terminal-local-map.
4462 2013-10-04 Leo Liu <sdl.web@gmail.com>
4464 * progmodes/octave.el (inferior-octave-mode):
4465 Call compilation-forget-errors.
4467 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4469 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4471 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4473 * net/secrets.el (secrets-create-collection): Add optional
4474 argument ALIAS. Use proper Label keyword. Append ALIAS as
4475 dbus-call-method argument. (Bug#15516)
4477 2013-10-04 Leo Liu <sdl.web@gmail.com>
4479 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4480 (inferior-octave-compilation-font-lock-keywords): New variables.
4481 (compilation-error-regexp-alist)
4482 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4483 (inferior-octave-mode): Use compilation-shell-minor-mode.
4485 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4487 * minibuffer.el (completion--replace): Be careful that `end' might be
4490 2013-10-03 Daiki Ueno <ueno@gnu.org>
4492 Add support for package signature checking.
4493 * emacs-lisp/package.el (url-http-file-exists-p)
4494 (epg-make-context, epg-context-set-home-directory)
4495 (epg-verify-string, epg-context-result-for)
4496 (epg-signature-status, epg-signature-to-string)
4497 (epg-check-configuration, epg-configuration)
4498 (epg-import-keys-from-file): Declare.
4499 (package-check-signature): New user option.
4500 (package-unsigned-archives): New user option.
4501 (package-desc): Add `signed' field.
4502 (package-load-descriptor): Set `signed' field if .signed file exists.
4503 (package--archive-file-exists-p): New function.
4504 (package--check-signature): New function.
4505 (package-install-from-archive): Check package signature.
4506 (package--download-one-archive): Check archive signature.
4507 (package-delete): Remove .signed file.
4508 (package-import-keyring): New command.
4509 (package-refresh-contents): Import default keyring.
4510 (package-desc-status): Add "unsigned" status.
4511 (describe-package-1, package-menu--print-info)
4512 (package-menu-mark-delete, package-menu--find-upgrades)
4513 (package-menu--status-predicate): Support "unsigned" status.
4515 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4517 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4518 the new compilation scheme using the new byte-codes.
4520 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4521 (byte-pophandler): New byte codes.
4522 (byte-goto-ops): Adjust accordingly.
4523 (byte-compile--use-old-handlers): New var.
4524 (byte-compile-catch): Use new byte codes depending on
4525 byte-compile--use-old-handlers.
4526 (byte-compile-condition-case--old): Rename from
4527 byte-compile-condition-case.
4528 (byte-compile-condition-case--new): New function.
4529 (byte-compile-condition-case): New function that dispatches depending
4530 on byte-compile--use-old-handlers.
4531 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4534 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4535 Optimize under `condition-case' and `catch' if
4536 byte-compile--use-old-handlers is nil.
4537 (disassemble-offset): Handle new bytecodes.
4539 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4541 * subr.el (error): Use `declare'.
4542 (decode-char, encode-char): Use advertised-calling-convention instead
4543 of the docstring to discourage use of the `restriction' arg.
4545 2013-10-03 Daiki Ueno <ueno@gnu.org>
4547 * epg.el (epg-verify-file): Add a comment saying that it does not
4548 notify verification error as a return value nor a signal.
4549 (epg-verify-string): Ditto.
4551 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4553 * progmodes/compile.el (compilation-start): Try globbing the arg to
4556 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4558 Sync with Tramp 2.2.8.
4560 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4561 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4562 * net/trampver.el: Update release number.
4564 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4566 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4567 and default-process-coding-system for darwin only.
4569 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4571 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4573 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4575 * vc/vc-git.el (vc-git-grep): Disable pager.
4577 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4579 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4580 Use :url instead of :homepage, as per
4581 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4583 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4584 non-nil, use `syntax-ppss' (Bug#15251).
4586 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4588 * progmodes/octave.el (inferior-octave-startup-file):
4589 Prefer ~/.emacs.d/init_octave.m.
4591 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4593 * emacs-lisp/package.el (package-desc-from-define):
4594 Accept additional arguments as plist, convert them to an alist and store
4595 them in the `extras' slot.
4596 (package-generate-description-file): Convert extras alist back to
4597 plist and append to the `define-package' form arguments.
4598 (package--alist-to-plist): New function.
4599 (package--ac-desc): Add `extras' slot.
4600 (package--add-to-archive-contents): Check if the archive-contents
4601 vector is long enough, and if it is, pass its `extras' slot value
4602 to `package-desc-create'.
4603 (package-buffer-info): Call `lm-homepage', pass the returned value
4604 to `package-desc-from-define'.
4605 (describe-package-1): Render the homepage button (Bug#13291).
4607 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4608 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4610 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4612 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4613 and default-process-coding-system to utf-8-unix (Bug#15402).
4615 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4617 * subr.el (looking-back): Do not recommend using looking-back.
4619 2013-09-28 Alan Mackenzie <acm@muc.de>
4621 Fix indentation/fontification of Java enum with "implements".
4623 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4624 regexp which matches "implements", etc., in Java.
4625 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4626 specifier clauses coming after "enum".
4627 * progmodes/cc-fonts.el (c-font-lock-declarations)
4628 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4631 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4633 * faces.el (region): Change ns_selection_color to
4634 ns_selection_fg_color, add ns_selection_bg_color.
4636 2013-09-28 Leo Liu <sdl.web@gmail.com>
4638 * progmodes/octave.el (inferior-octave-completion-table)
4639 (inferior-octave-completion-at-point): Minor tweaks.
4641 * textmodes/ispell.el (ispell-lookup-words): Rename from
4642 lookup-words. (Bug#15460)
4643 (lookup-words): Obsolete.
4644 (ispell-complete-word, ispell-command-loop): All uses changed.
4646 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4648 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4649 (octave-mode-menu): Add octave-send-buffer.
4650 (octave-send-buffer): New function.
4652 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4654 * progmodes/octave.el (octave-mode-map): Add key binding for
4656 (octave-mode-menu): Add octave-lookfor.
4657 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4659 (octave-lookfor): New function.
4661 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4663 * emacs-lisp/cl-macs.el:
4664 (cl--loop-destr-temps): Remove.
4665 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4667 (cl--loop-set-iterator-function): New function.
4668 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4669 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4670 Bind `it' with `let' instead of substituting it with `cl-subst'.
4671 (cl--unused-var-p): New function.
4672 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4673 Eliminate some unused variable warnings (bug#15326).
4675 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4677 * doc-view.el (doc-view-scale-reset): Rename from
4678 `doc-view-reset-zoom-level'.
4679 (doc-view-scale-adjust): New command.
4680 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4681 `doc-view-scale-adjust'.
4683 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4685 * doc-view.el (doc-view-reset-zoom-level): New command.
4686 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4687 zoom commands (bug#15466).
4689 2013-09-26 Kenichi Handa <handa@gnu.org>
4691 * international/quail.el (quail-help): Make it not a command.
4693 2013-09-26 Leo Liu <sdl.web@gmail.com>
4695 * minibuffer.el (completion-all-sorted-completions): Make args
4696 optional as they are.
4698 2013-09-25 Daniel Colascione <dancol@dancol.org>
4700 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4701 specs are and that they're not evaluated.
4703 2013-09-24 Sam Steingold <sds@gnu.org>
4705 * midnight.el (clean-buffer-list-kill-regexps)
4706 (clean-buffer-list-kill-buffer-names): Update for the new Man
4707 buffer naming which includes the object name.
4709 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4711 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4712 (eshell-parse-command, eshell-parse-pipeline): Use it since
4713 eshell-separate-commands requires a dynamic scoped var.
4714 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4716 2013-09-23 Leo Liu <sdl.web@gmail.com>
4718 * autoinsert.el (auto-insert-alist): Make the value of
4719 lexical-binding match its file setting.
4721 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4723 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4725 * autoarg.el (autoarg-kp-digit-argument):
4726 * electric.el (Electric-command-loop):
4727 * kmacro.el (kmacro-step-edit-insert):
4728 Do not set universal-argument-num-events.
4730 2013-09-22 Leo Liu <sdl.web@gmail.com>
4732 * files.el (interpreter-mode-alist): Add octave.
4734 2013-09-21 Alan Mackenzie <acm@muc.de>
4736 C++: fontify identifier in declaration following "public:" correctly.
4737 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4738 to match "public", etc.
4739 (c-decl-prefix-re): Add ":" into the C++ value.
4740 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4741 bit. Add a check for a ":" preceded by "public", etc.
4743 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4745 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4746 recognized by GDB 7.5 and later.
4748 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4750 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4752 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * subr.el (internal--call-interactively): New const.
4755 (called-interactively-p): Use it (bug#3984).
4757 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4759 * vc/pcvs.el (cvs-mode-ignore):
4760 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4761 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4763 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4765 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4766 (eshell-ls-orig-insert-directory): Remove.
4767 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4768 (eshell-ls-use-in-dired): Use advice-add/remove.
4769 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4770 Add `orig-fun' arg for use in :around advice.
4771 Make it check (redundantly) eshell-ls-use-in-dired.
4773 2013-09-19 Glenn Morris <rgm@gnu.org>
4775 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4777 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4779 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4781 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4783 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4784 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4785 (tramp-get-remote-python): New defuns.
4786 (tramp-get-remote-uid-with-perl)
4787 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4788 contributed by yary <not.com@gmail.com> (tiny change).
4789 (tramp-get-remote-uid-with-python)
4790 (tramp-get-remote-gid-with-python): New defuns. Python code
4791 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4792 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4794 2013-09-19 Glenn Morris <rgm@gnu.org>
4796 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4798 * eshell/em-unix.el (eshell-remove-entries):
4799 Rename argument to avoid name-clash with global `top-level'.
4801 * eshell/esh-proc.el (eshell-kill-process-function):
4802 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4803 (eshell-reset-after-proc): Remove unused arg `proc'.
4805 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4806 (directory-files-and-attributes): Mark unused arg.
4808 * eshell/em-unix.el (eshell-remove-entries):
4809 Remove unused arg `path'. Update callers.
4811 * eshell/em-hist.el (eshell-hist-parse-arguments):
4812 Remove unused arg `silent'. Update callers.
4814 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4815 Fix (f)boundp mix-up.
4817 * eshell/em-smart.el (eshell-smart-scroll-window)
4818 (eshell-disable-after-change):
4819 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4821 2013-09-18 Alan Mackenzie <acm@muc.de>
4823 Fix fontification of type when followed by "const".
4824 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4825 "known" types from fontification.
4827 2013-09-18 Glenn Morris <rgm@gnu.org>
4829 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4830 (chart-face-list): Drop Emacsen without display-color-p.
4832 * net/eww.el (libxml-parse-html-region): Declare.
4833 (eww-display-html): Explicit error if no libxml2 support.
4835 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4837 * image.el (image-type-from-buffer, image-multi-frame-p):
4838 Remove --without-x warning/error.
4840 * mouse.el (mouse-yank-primary):
4841 * term.el (term-mouse-paste):
4842 Reorder to silence --without-x compilation.
4844 * mpc.el (doc-view-mode): Silence --without-x compilation.
4846 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4847 Silence --without-x compilation.
4849 * progmodes/gud.el (gud-find-file, gud-mode):
4850 Silence --without-x compilation.
4851 (tooltip-mode): Declare.
4853 * wdired.el (dired-backup-overwrite): Remove declaration.
4854 (wdired-mode-map): Add doc string.
4856 * custom.el (x-get-resource): Declare.
4858 * eshell/em-glob.el (ange-cache):
4859 * eshell/em-unix.el (ange-cache): Declare.
4861 * faces.el (x-display-list, x-open-connection, x-get-resource):
4864 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4865 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4868 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4870 * net/gnutls.el (gnutls-log-level): Declare.
4872 * net/shr.el (image-size, image-animate): Declare.
4874 * simple.el (font-info): Declare.
4876 * subr.el (x-popup-dialog): Declare.
4878 * term/common-win.el (x-select-enable-primary)
4879 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4882 * term/ns-win.el (x-handle-args): Declare.
4884 * term/x-win.el (x-select-enable-clipboard): Declare.
4886 * term/w32-win.el (create-default-fontset): Declare.
4888 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4891 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4892 (fit-frame-to-buffer): Explicit error if --without-x.
4893 (mouse-autoselect-window-select): Silence compiler.
4895 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4897 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4898 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4899 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4900 * eshell/esh-util.el (eshell-sublist):
4901 Remove unused local variables.
4903 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4905 * textmodes/two-column.el: Make 2C-split work for --without-x.
4906 (scroll-bar-columns): Autoload.
4907 (top-level): Require fringe when compiling.
4909 2013-09-18 Leo Liu <sdl.web@gmail.com>
4911 * subr.el (add-hook): Robustify to handle closure as well.
4913 2013-09-17 Glenn Morris <rgm@gnu.org>
4915 * simple.el (messages-buffer-mode-map): Unbind "g".
4917 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4919 * help-mode.el (help-mode-finish): Use derived-mode-p.
4920 Remove obsolete highlighting.
4922 * play/life.el (life-mode): Use define-derived-mode. Derive from
4924 (life): Let-bind inhibit-read-only.
4925 (life-setup): Avoid `setq'. Use `life-mode'.
4927 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4928 which should not be needed any more.
4929 (package-menu-refresh, package-menu-describe-package): Use user-error.
4931 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4932 (eshell-post-rewrite-command-hook): Make obsolete.
4933 (eshell-parse-command): Simplify.
4934 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4935 (eshell--cmd): Declare.
4936 (eshell-parse-pipeline): Remove unused var `final-p'.
4937 Pass a dynvar to eshell-post-rewrite-command-hook.
4938 Implement the new eshell-post-rewrite-command-function.
4939 (eshell-invoke-directly): Remove unused arg `input'.
4940 * eshell/esh-io.el (eshell-io-initialize):
4941 Use eshell-post-rewrite-command-function (bug#15399).
4942 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4943 adjust to new calling convention.
4944 (eshell-create-handles): Rename args to avoid clashing with dynvar
4947 2013-09-17 Glenn Morris <rgm@gnu.org>
4949 * simple.el (messages-buffer-mode): New major mode.
4950 (messages-buffer): New function.
4951 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4952 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4953 (ert-run-test): Use `messages-buffer' function.
4954 (ert--force-message-log-buffer-truncation): Ignore read-only.
4955 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4956 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4958 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4960 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4962 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4964 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4966 * icomplete.el (icomplete-in-buffer): New var.
4967 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4968 vars and replace them with functions.
4969 (icomplete-minibuffer-setup): Adjust accordingly.
4970 (icomplete--completion-table, icomplete--completion-predicate)
4971 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4973 (icomplete-forward-completions, icomplete-backward-completions)
4974 (icomplete-simple-completing-p, icomplete-exhibit)
4975 (icomplete-completions): Use them.
4976 (icomplete--in-region-buffer): New var.
4977 (icomplete--in-region-setup): New function.
4978 (icomplete-mode): Use it.
4980 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4982 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4983 return args and options.
4984 (eshell-eval-using-options): Use the new return value of
4985 eshell--do-opts to set the options's vars in their scope.
4986 (eshell--set-option): Rename from eshell-set-option.
4988 (eshell--process-option): Rename from eshell-process-option.
4990 (eshell--process-args): Use an `opt-vals' alist to store the options's
4991 values during their processing and return them additionally to the
4994 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4996 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4997 continuation character an operator, as far as indentation is
4998 concerned (Bug#15369).
5000 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5002 * window.el (window--state-put-2): Don't process buffer state
5003 when buffer doesn't exist any more (Bug#15382).
5005 2013-09-15 Glenn Morris <rgm@gnu.org>
5007 * eshell/em-unix.el (eshell/rm):
5008 Make -f ignore missing files. (Bug#15373)
5010 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5011 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5012 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5014 2013-09-14 Glenn Morris <rgm@gnu.org>
5016 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5018 2013-09-13 Glenn Morris <rgm@gnu.org>
5020 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5021 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5023 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5025 * frame.el (x-focus-frame): Mark as declared in frame.c.
5027 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5029 * ls-lisp.el: Use advice-add.
5030 (original-insert-directory): Remove.
5031 (ls-lisp--insert-directory): Rename from insert-directory; add
5032 `orig-fun' argument.
5033 (insert-directory): Advise.
5035 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5037 * term.el (term-emulate-terminal): Decode the command string
5038 before passing it to term-command-hook. (Bug#15337)
5040 2013-09-13 Glenn Morris <rgm@gnu.org>
5042 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5044 * eshell/esh-ext.el (eshell-search-path): Declare.
5046 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5047 Otherwise an error occurs if eshell-dirs module not loaded.
5049 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5051 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5053 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5054 `tramp-check-proper-host'. Check for a valid method name.
5056 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5057 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5058 * net/tramp-sh.el (tramp-maybe-open-connection):
5059 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5061 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5062 also for hash values.
5064 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * term/ns-win.el (parameters): Don't declare as dynamic.
5067 (before-make-frame-hook): Don't add ineffective function.
5069 * eshell/*.el: Use lexical-binding (bug#15231).
5071 2013-09-12 Kenichi Handa <handa@gnu.org>
5073 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5075 2013-09-12 Glenn Morris <rgm@gnu.org>
5077 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5078 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5080 * subr.el (do-after-load-evaluation): Also give compiler warnings
5081 when obsolete files are used (except by obsolete files).
5083 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5084 in the status output, assume `filename' is the first. (Bug#15322)
5086 * vc/vc.el (vc-deduce-fileset): Doc fix.
5088 * calc/calc-help.el (Info-goto-node):
5089 * progmodes/cperl-mode.el (Info-find-node):
5090 * vc/ediff.el (Info-goto-node): Update declarations.
5092 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5094 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5095 (vc-bzr-pull): Require vc-dispatcher.
5096 * vc/vc-git.el (vc-compilation-mode): Declare.
5097 (vc-git-pull): Require vc-dispatcher.
5099 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5101 * progmodes/octave.el (help-button-action): Declare.
5103 * shell.el (shell-directory-tracker): Output error as a message
5104 rather than just returning it as a string.
5105 (shell-process-pushd): Remove useless use of message.
5107 * dframe.el (dframe-timer-fn):
5108 * files.el (dir-locals-read-from-file):
5109 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5111 * reveal.el (reveal-post-command):
5112 * saveplace.el (load-save-place-alist-from-file):
5113 * shell.el (shell-resync-dirs):
5114 * w32-common-fns.el (x-get-selection-value):
5115 * emacs-lisp/copyright.el (copyright-find-copyright):
5116 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5117 * emulation/tpu-edt.el (tpu-copy-keyfile):
5118 * play/bubbles.el (bubbles--mark-neighbourhood):
5119 * progmodes/executable.el
5120 (executable-make-buffer-file-executable-if-script-p):
5121 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5123 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5125 Cleanup Eshell to rely less on dynamic scoping.
5126 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5127 last-value, and ext-command here. Bind `args' closer to `body'.
5128 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5129 (eshell--args): Declare new dynamic var.
5130 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5131 last-value, and ext-command. Pass `args' to `body'.
5132 (eshell-process-args): Bind eshell--args.
5133 (eshell-set-option): Use eshell--args.
5134 * eshell/eshell.el (eshell): Use derived-mode-p.
5135 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5136 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5137 (eshell-glob-function): Declare.
5138 * eshell/esh-util.el: Require cl-lib.
5139 (eshell-read-hosts-file): Avoid add-to-list.
5140 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5142 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5144 (eshell/diff): Remove unused var `err'.
5145 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5147 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5148 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5150 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5151 Move declaration before first use.
5152 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5153 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5156 2013-09-12 Glenn Morris <rgm@gnu.org>
5158 * term/ns-win.el (global-map): Remove binding for ispell-next,
5159 deleted 1999-05-29. (Bug#15357)
5161 2013-09-11 Glenn Morris <rgm@gnu.org>
5163 * echistory.el (electric-command-history): Remove call to deleted func.
5165 * play/landmark.el (landmark-mode): Fix typos.
5167 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5168 Check cvs-sort-ignore-file is bound.
5170 * savehist.el: No need for cl when compiling on Emacs.
5172 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5174 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5176 (eshell-self-insert-command, eshell-send-invisible):
5177 Remove unused argument.
5178 (eshell-handle-control-codes): Remove unused var `orig'.
5179 Avoid delete-backward-char.
5181 * files.el (set-auto-mode): Simplify a bit further.
5183 2013-09-11 Glenn Morris <rgm@gnu.org>
5185 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5186 (set-auto-mode): Don't regexp-quote elements.
5187 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5188 * progmodes/cc-mode.el (interpreter-mode-alist):
5189 * progmodes/ruby-mode.el (interpreter-mode-alist):
5190 Revert previous change.
5192 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * play/snake.el (snake-mode):
5195 * play/mpuz.el (mpuz-mode):
5196 * play/landmark.el (lm-mode):
5197 * play/blackbox.el (blackbox-mode):
5198 * play/5x5.el (5x5-mode):
5199 * obsolete/options.el (Edit-options-mode):
5200 * net/quickurl.el (quickurl-list-mode):
5201 * net/newst-treeview.el (newsticker-treeview-mode):
5202 * mail/rmailsum.el (rmail-summary-mode):
5203 * mail/mspools.el (mspools-mode):
5204 * locate.el (locate-mode):
5205 * ibuffer.el (ibuffer-mode):
5206 * emulation/ws-mode.el (wordstar-mode):
5207 * emacs-lisp/debug.el (debugger-mode):
5208 * array.el (array-mode):
5209 * net/eudc.el (eudc-mode): Use define-derived-mode.
5210 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5211 Move initialization into declaration.
5212 (mairix-searches-mode): Use define-derived-mode.
5213 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5214 (eudc-edit-hotlist): Use dolist.
5215 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5216 (Man-mode): Use define-derived-mode.
5217 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5218 (Info-edit-mode): Use define-derived-mode.
5219 (Info-cease-edit): Use Info-mode.
5220 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5222 (eshell-mode): Use define-derived-mode.
5223 * chistory.el (command-history-mode-map): Rename from
5224 command-history-map.
5225 (command-history-mode): Use define-derived-mode.
5226 (Command-history-setup): Remove function.
5227 * calc/calc.el (calc-trail-mode-map): New var.
5228 (calc-trail-mode): Use define-derived-mode.
5229 (calc-trail-buffer): Set calc-main-buffer manually.
5230 * bookmark.el (bookmark-insert-annotation): New function.
5231 (bookmark-edit-annotation): Use it.
5232 (bookmark-edit-annotation-mode): Make it a proper major mode.
5233 (bookmark-send-edited-annotation): Use derived-mode-p.
5234 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5235 closer to its ideal place. Use \' to match EOS.
5237 * profiler.el (profiler-calltree-find): Use function-equal.
5239 2013-09-10 Glenn Morris <rgm@gnu.org>
5241 * files.el (interpreter-mode-alist): Convert to regexps.
5242 (set-auto-mode): Adapt for this. (Bug#15306)
5243 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5244 Comment out unused variable.
5245 * progmodes/cc-mode.el (interpreter-mode-alist):
5246 * progmodes/python.el (interpreter-mode-alist):
5247 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5248 * progmodes/sh-script.el (sh-set-shell):
5249 No longer use interpreter-mode-alist to get list of shells.
5251 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5253 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5255 * simple.el: Use set-temporary-overlay-map for universal-argument.
5256 (universal-argument-map): Don't use default-bindings (bug#15317).
5257 Bind switch-frame explicitly. Replace universal-argument-minus with
5258 a conditional binding.
5259 (universal-argument-num-events, saved-overriding-map): Remove.
5260 (restore-overriding-map): Remove.
5261 (universal-argument--mode): Rename from save&set-overriding-map,
5263 (universal-argument, universal-argument-more, negative-argument)
5264 (digit-argument): Adjust accordingly.
5265 (universal-argument-minus): Remove.
5266 (universal-argument-other-key): Remove.
5268 * subr.el (with-demoted-errors): Add `format' argument.
5270 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5272 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5273 `tramp-cleanup-connection'.
5275 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5276 parameters KEEP-DEBUG and KEEP-PASSWORD.
5278 * net/tramp.el (tramp-file-name-handler):
5279 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5280 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5281 (tramp-maybe-open-connection):
5282 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5283 Use `tramp-cleanup-connection'.
5285 * net/tramp-sh.el (tramp-maybe-open-connection):
5286 Catch 'uname-changed inside the progress reporter.
5288 2013-09-10 Glenn Morris <rgm@gnu.org>
5290 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5292 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5293 returns "alternate access method" in mode (eg "-rw-r--r--.").
5295 2013-09-08 Glenn Morris <rgm@gnu.org>
5297 * saveplace.el (load-save-place-alist-from-file):
5298 Demote errors. (Bug#15305)
5300 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5302 Improve compatibility with older Emacsen, and XEmacs.
5304 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5305 only if it is bound. It isn't for XEmacs.
5306 (with-tramp-progress-reporter): Do not let-bind `result'.
5307 This yields to scoping errors in XEmacs.
5308 (tramp-handle-make-auto-save-file-name): New function, moved from
5311 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5312 for `make-auto-save-file-name'.
5313 (tramp-adb--gnu-switches-to-ash):
5314 Use `tramp-compat-replace-regexp-in-string'.
5316 * net/tramp-cache.el (tramp-cache-print): Call
5317 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5319 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5320 bound. It isn't for XEmacs.
5322 * net/tramp-compat.el (tramp-compat-copy-file):
5323 Catch `wrong-number-of-arguments' error.
5324 (tramp-compat-replace-regexp-in-string): New defun.
5326 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5327 for `make-auto-save-file-name'.
5328 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5330 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5331 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5332 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5334 * net/tramp-gw.el (tramp-gw-open-network-stream):
5335 Use `tramp-compat-replace-regexp-in-string'.
5337 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5338 Call `tramp-handle-make-auto-save-file-name'.
5339 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5340 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5341 (tramp-sh-file-inotifywait-process-filter):
5342 Use `tramp-compat-replace-regexp-in-string'.
5343 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5345 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5346 for `make-auto-save-file-name'.
5347 (tramp-smb-handle-copy-directory):
5348 Call `tramp-compat-replace-regexp-in-string'.
5349 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5350 (tramp-smb-handle-copy-file): Improve error message.
5351 (tramp-smb-handle-rename-file): Rename directly only in case
5352 `newname' does not exist yet. This is a restriction of smbclient.
5353 (tramp-smb-maybe-open-connection): Rerun the function only when
5354 `auth-sources' is non-nil.
5356 2013-09-08 Kenichi Handa <handa@gnu.org>
5358 * international/characters.el: Set category "^" (Combining) for
5361 2013-09-07 Alan Mackenzie <acm@muc.de>
5363 Correctly fontify Java class constructors.
5364 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5366 (c-recognize-typeless-decls): Set the Java value to t.
5367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5368 While handling a "(", add a check for, effectively, Java, and handle a
5369 "typeless" declaration there.
5371 2013-09-07 Roland Winkler <winkler@gnu.org>
5373 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5374 field subtitle for entry type book.
5376 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * minibuffer.el: Make minibuffer-complete call completion-in-region
5379 rather than other way around.
5380 (completion--some, completion-pcm--find-all-completions):
5381 Don't delay signals when debugging.
5382 (minibuffer-completion-contents): Beware fields within the
5383 minibuffer contents.
5384 (completion-all-sorted-completions): Use defvar-local.
5385 (completion--do-completion, completion--cache-all-sorted-completions)
5386 (completion-all-sorted-completions, minibuffer-force-complete):
5387 Add args `beg' and `end'.
5388 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5389 (minibuffer-complete): Use completion-in-region.
5390 (completion-complete-and-exit): New fun, extracted from
5391 minibuffer-complete-and-exit.
5392 (minibuffer-complete-and-exit): Use it.
5393 (completion--complete-and-exit): Rename from
5394 minibuffer--complete-and-exit.
5395 (completion-in-region--single-word): New function, extracted from
5396 minibuffer-complete-word.
5397 (minibuffer-complete-word): Use it.
5398 (display-completion-list): Make `common-substring' argument obsolete.
5399 (completion--in-region): Call completion--in-region-1 instead of
5400 minibuffer-complete.
5401 (completion-help-at-point): Pass boundaries to
5402 minibuffer-completion-help as args rather than via an overlay.
5403 (completion-pcm--string->pattern): Use `any-delim'.
5404 (completion-pcm--optimize-pattern): New function.
5405 (completion-pcm--pattern->regex): Handle `any-delim'.
5406 * icomplete.el (icomplete-forward-completions)
5407 (icomplete-backward-completions, icomplete-completions):
5408 Adjust calls to completion-all-sorted-completions and
5409 completion--cache-all-sorted-completions.
5410 (icomplete-with-completion-tables): Default to t.
5411 * emacs-lisp/crm.el (crm--current-element): Rename from
5412 crm--select-current-element. Don't put an overlay but return the
5414 (crm--completion-command): Take two new args to bind to the boundaries.
5415 (crm-completion-help): Adjust accordingly.
5416 (crm-complete): Use completion-in-region.
5417 (crm-complete-word): Use completion-in-region--single-word.
5418 (crm-complete-and-exit): Use completion-complete-and-exit.
5420 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5422 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5425 2013-09-06 Juri Linkov <juri@jurta.org>
5427 * info.el (Info-display-images-node): When image file doesn't exist
5428 display text version of the image if it's provided in the Info file.
5429 Otherwise, display the location of missing image from SRC attribute.
5430 Add help-echo text property from ALT attribute. (Bug#15279)
5432 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5434 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5435 (edit-abbrevs-mode): Use define-derived-mode.
5437 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5438 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5440 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5441 Use define-derived-mode.
5443 * epg.el (epg-start-encrypt): Minor CSE simplification.
5445 2013-09-06 William Xu <william.xwl@gmail.com>
5447 * arc-mode.el: Add support for 7za (bug#15264).
5448 (archive-7z-program): New var.
5449 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5450 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5451 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5453 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5457 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5458 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5459 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5460 (tramp-postfix-host-format, tramp-file-name-regexp)
5461 (tramp-completion-file-name-regexp)
5462 (tramp-completion-dissect-file-name)
5463 (tramp-handle-substitute-in-file-name): Remove 'url case.
5464 (tramp-file-name-regexp-url)
5465 (tramp-completion-file-name-regexp-url): Remove constants.
5467 2013-09-06 Glenn Morris <rgm@gnu.org>
5469 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5471 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5473 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5474 keywords" below "here-doc beginnings" (Bug#15270).
5476 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5478 * subr.el (pop): Use `car-safe'.
5479 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5480 to detect unused `pop' return value.
5482 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5484 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5485 (python-fill-string): Remove unused var `marker'.
5486 (python-skeleton-add-menu-items): Remove unused var `items'.
5488 * international/mule-cmds.el: Require CL.
5489 (find-coding-systems-for-charsets): Avoid add-to-list.
5490 (sanitize-coding-system-list): New function, extracted from
5491 select-safe-coding-system-interactively.
5492 (select-safe-coding-system-interactively): Use it.
5493 (read-input-method-name): Accept symbols for `default'.
5495 * emacs-lisp/advice.el (defadvice): Add indent rule.
5497 2013-09-05 Daniel Hackney <dan@haxney.org>
5501 * net/browse-url.el:
5504 * net/eudcb-ldap.el:
5517 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5518 byte compiler. Remove some unused let-bound variables.
5520 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5523 a "ref-cell", since it gets better optimized (bug#14883).
5525 2013-09-05 Glenn Morris <rgm@gnu.org>
5527 * progmodes/cc-awk.el (c-forward-sws): Declare.
5529 2013-09-04 Glenn Morris <rgm@gnu.org>
5531 * generic-x.el [rul-generic-mode]: Require cc-mode.
5532 (c++-mode-syntax-table): Declare.
5533 (rul-generic-mode-syntax-table): Init in the defvar.
5535 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5537 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5538 (vc-do-command, vc-set-async-update):
5539 * vc/vc-mtn.el (vc-mtn-dir-status):
5540 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5541 (vc-hg-pull, vc-hg-merge-branch):
5542 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5543 (vc-git-merge-branch):
5544 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5545 (vc-cvs-dir-status-files):
5546 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5547 (vc-bzr-dir-status-files):
5548 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5549 * vc/vc-annotate.el: Use lexical-binding.
5550 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5551 (vc-sentinel-movepoint): Declare.
5552 (vc-annotate): Don't use `goto-line'.
5553 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5554 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5555 (vc-sentinel-movepoint): Declare.
5556 * vc/vc-svn.el: Use lexical-binding.
5557 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5559 * vc/vc-rcs.el: Use lexical-binding.
5561 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5562 `deleted'. Don't drop errors silently.
5564 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5566 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5568 * vc/vc.el (vc-ignore): Rewrite.
5569 (vc-default-ignore): New function.
5570 (vc-default-ignore-completion-table): Use find-ignore-file.
5572 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5573 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5574 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5575 Remove. Most code moved to vc.el.
5577 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5580 * net/tramp-smb.el (tramp-smb-get-file-entries):
5581 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5582 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5584 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5586 (eww-change-select): Remove unused var `properties'.
5587 (eww-make-unique-file-name): Remove unused var `base'.
5589 * finder.el (finder-compile-keywords): Don't mess with windows.
5591 * calculator.el (calculator-funcall): Fix typo in last change.
5593 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5595 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5596 <pkg>-autoloads.el file stop us.
5598 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5599 warnings, and factor out common code.
5601 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5603 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5604 two-character operators and whether the character preceding them
5605 changes their meaning (Bug#15208).
5607 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5609 Format code sent to Python shell for robustness.
5610 * progmodes/python.el (python-shell-buffer-substring):
5612 (python-shell-send-region, python-shell-send-buffer): Use it.
5614 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5616 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5617 * net/tramp.el (tramp-user-error): ... here.
5618 (tramp-find-method, tramp-check-proper-host)
5619 (tramp-dissect-file-name, tramp-debug-message)
5620 (tramp-handle-shell-command):
5621 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5622 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5624 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5626 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5628 * avoid.el (mouse-avoidance-point-position)
5629 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5632 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5634 * progmodes/python.el (python-shell-completion-get-completions):
5635 Drop use of deleted `comint-last-prompt-overlay'.
5636 (python-nav-if-name-main): New command.
5638 2013-09-01 Glenn Morris <rgm@gnu.org>
5640 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5641 Avoid leading space in $wins. Otherwise the sed command used by
5642 eg compile-main ends up containing "/*.el". (Bug#15170)
5644 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5646 2013-08-30 Glenn Morris <rgm@gnu.org>
5648 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5649 Fix is-this-a-directory logic. (Bug#15220)
5651 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5653 * textmodes/css-mode.el: Use SMIE.
5654 (css-smie-grammar): New var.
5655 (css-smie--forward-token, css-smie--backward-token)
5656 (css-smie-rules): New functions.
5657 (css-mode): Use them.
5658 (css-navigation-syntax-table): Remove var.
5659 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5660 (css-indent-calculate, css-indent-line): Remove functions.
5662 Misc changes to reduce use of `(lambda...); and other cleanups.
5663 * cus-edit.el: Use lexical-binding.
5664 (customize-push-and-save, customize-apropos)
5665 (custom-buffer-create-internal): Use closures.
5666 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5667 * progmodes/ada-xref.el: Use setq.
5668 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5669 * dframe.el: Use lexical-binding.
5670 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5671 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5672 * descr-text.el: Use lexical-binding.
5673 (describe-text-widget, describe-text-sexp, describe-property-list):
5675 * comint.el (comint-history-isearch-push-state): Use a closure.
5676 * calculator.el: Use lexical-binding.
5677 (calculator-number-to-string): Make it work with lexical-binding.
5678 (calculator-funcall): Same and use cl-letf.
5680 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5681 (lisp--company-doc-string, lisp--company-location): New functions.
5682 (lisp-completion-at-point): Use them to improve Company support.
5684 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5685 params of lambda expressions.
5686 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5687 (ruby-smie--opening-pipe-p): New function.
5688 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5689 symbols and matched |...| for formal params.
5690 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5691 from being treated as hanging. Handle "rescue".
5693 2013-08-29 Glenn Morris <rgm@gnu.org>
5695 * progmodes/cc-engine.el (c-pull-open-brace):
5696 Move definition before use.
5698 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5700 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5701 are immutable. Don't use `unsafe' any more.
5702 (cl--defsubst-expand): Don't substitute at the same time as keeping
5703 a residual unused let-binding. Don't use `unsafe' any more.
5705 2013-08-29 Glenn Morris <rgm@gnu.org>
5707 * calendar/cal-china.el (calendar-chinese-year-cache):
5710 * nxml/nxml-util.el (nxml-debug-clear-inside):
5711 Use cl-loop rather than loop.
5713 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5715 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5717 2013-08-28 Glenn Morris <rgm@gnu.org>
5719 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5721 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5723 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5725 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5727 * simple.el (repeat-complex-command--called-interactively-skip):
5729 (repeat-complex-command): Use it (bug#14136).
5731 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5732 (c-define-abbrev-table): Add `doc' argument.
5733 (c-mode-abbrev-table, c++-mode-abbrev-table)
5734 (objc-mode-abbrev-table, java-mode-abbrev-table)
5735 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5736 (awk-mode-abbrev-table): Use it.
5737 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5738 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5739 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5740 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5741 Move initialization into the declaration; and remove any
5744 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5745 and dynamic let binding.
5747 * vc/smerge-mode.el: Remove redundant :group args.
5749 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5752 2013-08-28 Juri Linkov <juri@jurta.org>
5754 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5755 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5756 (isearch-other-meta-char): Handle an undefined shifted printing
5757 character by downshifting it. (Bug#15200)
5759 2013-08-28 Juri Linkov <juri@jurta.org>
5761 * isearch.el (isearch-search): Change regexp error message for
5762 non-regexp searches. (Bug#15166)
5764 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5766 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5767 for portability to hosts where /bin/sh has problems.
5769 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5771 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5773 2013-08-27 Juri Linkov <juri@jurta.org>
5775 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5776 in the keyboard macro. (Bug#15126)
5778 2013-08-27 Juri Linkov <juri@jurta.org>
5780 * isearch.el (isearch-quote-char): Comment out converting unibyte
5781 to multibyte, thus syncing with its `quoted-insert' counterpart.
5784 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5786 * window.el (display-buffer-use-some-window): Add missing
5787 argument in call of get-largest-window (Bug#15185).
5788 Reported by Stephen Leake.
5790 2013-08-27 Glenn Morris <rgm@gnu.org>
5792 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5794 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5797 from a matcher-function unless there's no more matches (bug#15161).
5799 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5801 * minibuffer.el: Revert change from 2013-08-20.
5803 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5804 with text property `tramp-default', if appropriate.
5805 (tramp-check-proper-host): New defun.
5806 (tramp-dissect-file-name): Do not check hostname. Revert change
5808 (tramp-backtrace): Make VEC-OR-PROC optional.
5810 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5811 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5812 * net/tramp-sh.el (tramp-maybe-open-connection):
5813 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5814 Apply `tramp-check-proper-host'.
5816 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5818 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5819 lambda expression in order to have `describe-variable' display it.
5821 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5823 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5824 BUF can be optional. (Bug#15186)
5826 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5828 * progmodes/flymake.el (flymake-get-real-file-name-function):
5829 Fix broken customization. (Bug#15184)
5831 2013-08-25 Alan Mackenzie <acm@muc.de>
5833 Improve indentation of bracelists defined by macros (without "=").
5835 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5836 expansion begins with "{", regard it as bracelist when it doesn't
5839 Parse C++ inher-intro when there's a template split over 2 lines.
5841 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5842 rigorously the search for "class" etc. followed by ":".
5844 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5845 random languages a regexp which never matches rather than nil.
5847 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5849 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5850 (c-awk-regexp-one-line-possibly-open-char-list-re)
5851 (c-awk-one-line-possibly-open-regexp-re)
5852 (c-awk-one-line-non-syn-ws*-re): Remove.
5853 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5854 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5855 (c-awk-space*-unclosed-regexp-/-re): New constants.
5856 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5857 aren't regexp delimiters.
5859 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5860 handling for a rare situation in AWK Mode involving unterminated
5863 2013-08-23 Glenn Morris <rgm@gnu.org>
5865 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5867 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5869 * files.el (create-file-buffer): If the result would begin with
5870 spaces, prepend a "|" instead of removing them. (Bug#15162)
5872 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5875 text-properties (bug#15155).
5877 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5879 (calc-keypad-redraw): Remove unused var `pad'.
5880 (calc-keypad-press): Remove unused var `menu'.
5882 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5884 * window.el (display-buffer-pop-up-frame):
5885 Call pop-up-frame-function with BUFFER current so `make-frame' will
5886 use it as the new frame's buffer (Bug#15133).
5888 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * calendar/timeclock.el: Minor cleanups.
5891 (timeclock-ask-before-exiting, timeclock-use-display-time):
5893 (timeclock-modeline-display): Define as alias before the
5895 (timeclock-mode-line-display): Use define-minor-mode.
5896 (timeclock-day-list-template): Make it a function, add an argument.
5897 (timeclock-day-list-required, timeclock-day-list-length)
5898 (timeclock-day-list-debt, timeclock-day-list-span)
5899 (timeclock-day-list-break): Adjust calls accordingly.
5901 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5904 Use read--expression so that completion works again.
5906 2013-08-21 Sam Steingold <sds@gnu.org>
5908 Add rudimentary inferior shell interaction
5909 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5910 (sh-set-shell): Reset it.
5911 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5912 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5914 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5916 * align.el: Use lexical-binding.
5917 (align-region): Simplify accordingly.
5919 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5921 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5923 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5926 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5930 * net/tramp-cmds.el:
5932 * net/tramp-gvfs.el:
5934 * net/tramp-sh.el: Don't wrap external variable declarations by
5935 `eval-when-compile'.
5937 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5939 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5940 now that Emacs supports ImageMagick animations.
5942 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5944 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5945 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5947 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5949 * window.el (mouse-autoselect-window-select): Do autoselect when
5950 mouse pointer is on margin.
5952 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5954 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5956 2013-08-16 Glenn Morris <rgm@gnu.org>
5958 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5959 Handle "Remote Directory" response of some clients. (Bug#15058)
5961 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5962 Tweak warning. (Bug#14926)
5964 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5965 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5967 * image-mode.el (image-mode-map): Add menu items to reverse,
5968 increase, decrease, reset animation speed.
5969 (image--set-speed, image-increase-speed, image-decrease-speed)
5970 (image-reverse-speed, image-reset-speed): New functions.
5971 (image-mode-map): Add bindings for speed commands.
5973 * image.el (image-animate-get-speed, image-animate-set-speed):
5975 (image-animate-timeout): Respect image :speed property.
5977 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5979 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5980 previous line (bug#15101).
5981 (debugger-eval-expression, debugger-record-expression):
5982 Use read--expression (bug#15102).
5984 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5986 Remove byte compiler warnings, visible when compiling with
5987 `byte-compile-force-lexical-warnings' set to t.
5989 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5990 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5991 (tramp-handle-unhandled-file-name-directory)
5992 (tramp-handle-file-notify-add-watch, tramp-action-login)
5993 (tramp-action-succeed, tramp-action-permission-denied)
5994 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5997 * net/tramp-adb.el (tramp-adb-parse-device-names)
5998 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5999 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6000 (tramp-adb-handle-file-truename): Remove unused arguments.
6002 * net/tramp-cache.el (tramp-flush-directory-property)
6003 (tramp-flush-connection-property, tramp-list-connections)
6004 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6006 * net/tramp-compat.el (tramp-compat-make-temp-file):
6007 Rename FILENAME to F.
6009 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6010 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6011 (tramp-zeroconf-parse-workstation-device-names)
6012 (tramp-zeroconf-parse-webdav-device-names)
6013 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6015 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6016 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6018 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6020 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6021 (tramp-sh-handle-insert-file-contents-literally)
6022 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6024 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6025 Remove unused variables.
6027 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6028 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6029 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6031 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6032 Make them a defconst.
6033 (tramp-uuencode-region): Remove unused variable.
6035 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6037 * frameset.el (frameset--prop-setter): New function.
6038 (frameset-prop): Add gv-setter declaration.
6039 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6040 parameter was already set in FILTERED. Doc fix.
6041 (frameset--record-minibuffer-relationships): Allow saving a
6042 minibufferless frame without its corresponding minibuffer frame.
6043 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6044 frame, if the frame id matches.
6045 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6046 frames before orphaned ones.
6047 (frameset-restore): Warn about orphaned windows, instead of error out.
6049 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6051 * window.el (window-make-atom): Don't overwrite parameter
6053 (display-buffer-in-atom-window): Handle special case where we
6054 split an already atomic window.
6055 (window--major-non-side-window, display-buffer-in-side-window)
6056 (window--side-check): Ignore minibuffer window when walking
6058 (window-deletable-p): Return 'frame only if no other frame uses
6059 our minibuffer window.
6060 (record-window-buffer): Run buffer-list-update-hook.
6061 (split-window): Make sure window--check-frame won't destroy an
6062 existing atomic window in case the new window gets nested
6064 (display-buffer-at-bottom): Ignore minibuffer window when
6065 walking window tree. Don't split a side window.
6066 (pop-to-buffer): Don't set-buffer here, the select-window call
6068 (mouse-autoselect-window-select): Autoselect only if we are in the
6069 text portion of the window.
6071 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6073 * net/shr.el (shr-parse-image-data): New function to grab both the
6074 data itself and the Content-Type.
6075 (shr-put-image): Use it.
6077 * net/eww.el (eww-display-image): Ditto.
6079 * image.el (image-content-type-suffixes): New variable.
6081 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6083 * progmodes/python.el (python-imenu--build-tree)
6084 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6086 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6088 * simple.el (backward-word): Mention the optional argument.
6090 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * frameset.el (frameset--make): Rename constructor from make-frameset.
6093 (frameset-p, frameset-valid-p): Don't autoload.
6094 (frameset-valid-p): Use normal accessors.
6096 2013-08-13 Glenn Morris <rgm@gnu.org>
6098 * progmodes/compile.el (compile-command): Tweak example in doc.
6099 * obsolete/scribe.el (scribe-mode):
6100 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6102 * mail/feedmail.el (feedmail-confirm-outgoing)
6103 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6105 * cus-start.el (truncate-partial-width-windows): Fix type.
6107 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6109 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6111 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6113 * emacs-lisp/timer.el (timer--time-setter): New function.
6114 (timer--time): Use it as gv-setter.
6116 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6117 setter is not a symbol.
6119 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6121 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6122 if sending fails. This makes debugging easier.
6124 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6126 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6127 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6128 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6130 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6132 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6134 2013-08-12 Glenn Morris <rgm@gnu.org>
6136 * format.el (format-annotate-function):
6137 Handle read-only text properties in the source. (Bug#14887)
6139 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141 * net/eww.el (eww-display-html): Ignore coding system errors.
6142 One web site uses "utf-8lias" as the coding system.
6144 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6146 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6148 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6150 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6151 (tutorial--detailed-help): Remove unused local variables.
6152 (tutorial--save-tutorial-to): Use ignore-errors.
6153 (help-with-tutorial): Use looking-at-p.
6155 * view.el (view-buffer-other-window, view-buffer-other-frame):
6156 Mark unused arguments.
6158 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6159 (woman-select-symbol-fonts, woman, woman-find-file)
6160 (woman-insert-file-contents, woman-non-underline-faces):
6162 (woman1-unquote): Move declaration.
6164 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6165 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6166 argument. Remove unused local variable.
6167 (xml-parse-elem-type): Use string-match-p.
6168 (xml-substitute-numeric-entities): Use ignore-errors.
6170 * calculator.el (calculator): Mark unused argument.
6171 (calculator-paste, calculator-quit, calculator-integer-p):
6173 (calculator-string-to-number, calculator-decimal, calculator-exp)
6174 (calculator-op-or-exp): Use string-match-p.
6176 * dired.el (dired-buffer-more-recently-used-p): Declare.
6177 (dired-insert-set-properties, dired-insert-old-subdirs):
6180 * dired-aux.el (dired-compress): Use ignore-errors.
6181 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6182 (dired-do-async-shell-command, dired-do-shell-command)
6183 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6184 (dired-insert-subdir-validate): Use string-match-p.
6185 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6186 (dired-add-entry): Use string-match-p, looking-at-p.
6187 (dired-insert-subdir-newpos): Remove unused local variable.
6189 * filenotify.el (file-notify-callback): Remove unused local variable.
6191 * filesets.el (filesets-error): Mark unused argument.
6192 (filesets-which-command-p, filesets-filter-dir-names)
6193 (filesets-directory-files, filesets-get-external-viewer)
6194 (filesets-ingroup-get-data): Use string-match-p.
6196 * find-file.el (ff-other-file-name, ff-other-file-name)
6197 (ff-find-the-other-file, ff-cc-hh-converter):
6198 Remove unused local variables.
6199 (ff-get-file-name): Use string-match-p.
6200 (ff-all-dirs-under): Use ignore-errors.
6202 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6203 (follow-select-if-visible): Remove unused local variable.
6205 * forms.el (read-file-filter): Move declaration.
6206 (forms--make-format, forms--make-parser, forms-insert-record):
6207 Quote function with #'.
6208 (forms--update): Use string-match-p. Quote function with #'.
6210 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6211 (help-make-xrefs): Use looking-at-p.
6212 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6214 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6215 (ibuffer-confirm-operation-on): Use string-match-p.
6217 * msb.el (msb-item-handler, msb-dired-item-handler):
6218 Mark unused arguments.
6220 * ses.el (ses-decode-cell-symbol)
6221 (ses-kill-override): Remove unused local variable.
6222 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6223 (ses-load): Use ignore-errors, looking-at-p.
6224 (ses-jump-safe): Use ignore-errors.
6225 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6227 * tabify.el (untabify, tabify): Mark unused arguments.
6229 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6230 Mark unused argument.
6231 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6232 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6234 * emacs-lisp/timer.el (timer--time): Define setter with
6235 gv-define-setter to avoid deprecation warning.
6237 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6238 (*record-cmpl-statistics-p*): Remove (was commented out).
6239 (cmpl-statistics-block): Remove (body was commented out).
6240 All callers changed.
6241 (add-completions-from-buffer, load-completions-from-file):
6242 Remove unused variables.
6244 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6246 * filecache.el (file-cache-delete-file-list):
6247 Print message only when told so.
6248 (file-cache-files-matching): Use #' in mapconcat argument.
6250 * ffap.el (ffap-url-at-point): Fix reference to variable
6251 thing-at-point-default-mail-uri-scheme.
6253 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6255 * subr.el (define-error): New function.
6256 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6257 error-file-not-found and define with define-error.
6258 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6259 and define with define-error.
6260 * userlock.el (file-locked, file-supersession):
6261 * simple.el (mark-inactive):
6262 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6263 * progmodes/ada-mode.el (ada-mode-errors):
6264 * play/life.el (life-extinct):
6265 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6266 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6267 * nxml/rng-util.el (rng-error):
6268 * nxml/rng-uri.el (rng-uri-error):
6269 * nxml/rng-match.el (rng-compile-error):
6270 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6271 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6272 * nxml/nxml-rap.el (nxml-scan-error):
6273 * nxml/nxml-outln.el (nxml-outline-error):
6274 * net/soap-client.el (soap-error):
6275 * net/gnutls.el (gnutls-error):
6276 * net/ange-ftp.el (ftp-error):
6277 * mpc.el (mpc-proc-error):
6278 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6279 (json-number-format, json-string-escape, json-string-format)
6280 (json-key-format, json-object-format):
6281 * jka-compr.el (compression-error):
6282 * international/quail.el (quail-error):
6283 * international/kkc.el (kkc-error):
6284 * emacs-lisp/ert.el (ert-test-failed):
6285 * calc/calc.el (calc-error, inexact-result, math-overflow)
6287 * bookmark.el (bookmark-error-no-filename):
6288 * epg.el (epg-error): Define with define-error.
6290 * time.el (display-time-event-handler)
6291 (display-time-next-load-average): Don't call sit-for since it seems
6292 unnecessary (bug#15045).
6294 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6295 Use #' instead of ' to quote functions.
6296 (checkdoc-output-mode): Use setq-local.
6297 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6298 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6299 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6300 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6301 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6302 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6303 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6304 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6306 * ido.el (ido-completion-help): Fix up compiler warning.
6308 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6310 * frameset.el (frameset-p): Add autoload cookie.
6311 (frameset--jump-to-register): New function, based on code moved from
6313 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6315 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6316 (frameset-restore, frameset-save, frameset-session-filter-alist):
6317 Remove declarations.
6318 (register-alist): Doc fix.
6319 (frameset-to-register): Move to frameset.el.
6320 (jump-to-register, describe-register-1): Remove frameset-specific code.
6322 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6324 * allout-widgets.el (allout-widgets-pre-command-business)
6325 (allout-widgets-post-command-business)
6326 (allout-widgets-after-change-handler)
6327 (allout-decorate-item-and-context, allout-set-boundary-marker)
6328 (allout-body-modification-handler)
6329 (allout-graphics-modification-handler): Mark ignored arguments.
6330 (allout-widgets-post-command-business)
6331 (allout-widgets-exposure-change-processor)
6332 (allout-widgets-exposure-undo-processor)
6333 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6334 (allout-parse-item-at-point, allout-decorate-item-guides)
6335 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6336 * allout.el (epa-passphrase-callback-function): Declare.
6337 (allout-overlay-insert-in-front-handler)
6338 (allout-overlay-interior-modification-handler)
6339 (allout-isearch-end-handler, allout-chart-siblings)
6340 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6341 (allout-yank-processing, allout-process-exposed)
6342 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6343 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6344 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6345 (lisp-indent-defform): Mark ignored arguments.
6346 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6347 (calculate-lisp-indent): Remove unused variables.
6348 * international/characters.el (indian-2-column, arabic-2-column)
6349 (tibetan): Mark ignored arguments.
6350 (use-cjk-char-width-table): Mark ignored arguments.
6351 Remove unused variables.
6352 * international/fontset.el (build-default-fontset-data)
6353 (x-compose-font-name, create-fontset-from-fontset-spec):
6354 Mark ignored arguments.
6355 (fontset-plain-name): Remove unused variables.
6356 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6357 (keyboard-coding-system): Mark ignored arguments.
6358 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6359 * help.el (resize-temp-buffer-window):
6360 * window.el (display-buffer-in-major-side-window)
6361 (display-buffer-in-side-window, display-buffer-in-previous-window):
6362 Remove unused variables.
6363 * isearch.el (isearch-forward-symbol):
6364 * version.el (emacs-bzr-version-bzr):
6365 * international/mule-cmds.el (current-language-environment):
6366 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6368 * term/pc-win.el (x-list-fonts, x-display-planes)
6369 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6370 (x-server-version, x-display-screens, x-display-mm-height)
6371 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6372 (x-selection-owner-p, x-own-selection-internal)
6373 (x-disown-selection-internal, x-get-selection-internal)
6374 (msdos-initialize-window-system):
6375 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6376 * term/x-win.el (x-handle-no-bitmap-icon):
6377 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6378 (vc-default-find-file-hook, vc-default-extra-menu):
6379 Mark ignored arguments.
6381 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6383 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6384 break-condition in the context of the debugged code (bug#12685).
6386 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6389 Do not use an overlay to highlight the last prompt. (Bug#14744)
6390 (comint-mode): Make comint-last-prompt buffer local.
6391 (comint-last-prompt): New variable.
6392 (comint-last-prompt-overlay): Remove. Superseded by
6394 (comint-snapshot-last-prompt, comint-output-filter):
6395 Use comint-last-prompt.
6397 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6399 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6400 (frameset-save): Check validity of the resulting frameset.
6402 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6404 * ido.el (ido-record-command): Add doc string.
6406 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6408 * frameset.el (frameset): Do not disable creation of the default
6409 frameset-p predicate. Doc fix.
6410 (frameset-valid-p): New function, copied from the old predicate-p.
6411 Add additional checks.
6412 (frameset-restore): Check with frameset-valid-p.
6413 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6414 (frameset-name, frameset-description, frameset-properties)
6415 (frameset-states): Add docstring.
6416 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6417 (frameset-filter-alist): Doc fixes.
6419 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6421 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6423 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6425 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6426 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6427 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6428 (byte-compile-normal-call): Remove obsolescence check.
6430 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6432 * frameset.el (frameset-restore): Doc fix.
6434 * register.el (frameset-frame-id, frameset-frame-with-id)
6435 (frameset-p, frameset-restore, frameset-save): Declare.
6436 (register-alist): Document framesets.
6437 (frameset-session-filter-alist): Declare.
6438 (frameset-to-register): New function.
6439 (jump-to-register): Implement jumping to framesets. Doc fix.
6440 (describe-register-1): Describe framesets.
6442 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6444 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6446 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6447 Use lexical-binding.
6449 * frameset.el (frameset): Use type vector, not list (incompatible
6450 change). Do not declare a new constructor, use the default one.
6451 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6452 `name' and `description', respectively, and add read-only slot
6453 `timestamp'. Doc fixes.
6454 (frameset-copy, frameset-persistent-filter-alist)
6455 (frameset-filter-alist, frameset-switch-to-gui-p)
6456 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6457 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6458 (frameset-filter-iconified, frameset-keep-original-display-p):
6460 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6461 Rename from frameset-filter-(save|restore)-param. All callers changed.
6463 (frameset-p): Adapt to change to vector and be more thorough.
6464 Change arg name to OBJECT. Doc fix.
6465 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6466 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6467 All callers changed.
6468 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6469 All callers changed.
6470 (frameset--record-minibuffer-relationships): Rename from
6471 frameset--process-minibuffer-frames. All callers changed.
6472 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6473 Use new default constructor (again). Doc fix.
6474 (frameset--find-frame-if): Rename from `frameset--find-frame.
6475 All callers changed.
6476 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6477 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6479 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6480 PARAMETERS and WINDOW-STATE, respectively.
6481 (frameset-restore): Add new keyword argument PREDICATE.
6482 Reset frameset--target-display to nil. Doc fix.
6484 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6488 (bat-mode-syntax-table): Mark \n as end-of-comment.
6489 (bat-font-lock-keywords): Remove comment rule.
6491 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6492 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6494 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6495 (byte-compile-callargs-warn): Use `push'.
6496 (byte-compile-arglist-warn): Ignore higher-order "calls".
6497 (byte-compile-file-form-autoload): Use `pcase'.
6498 (byte-compile-function-form): If quoting a symbol, check that it exists.
6500 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6502 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6503 and add a few popular commands found in batch files.
6504 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6505 (dos-mode): Doc fixes.
6507 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6510 (dos-mode): Use setq-local. Add space after "rem".
6511 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6512 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6514 2013-08-07 Arni Magnusson <arnima@hafro.is>
6516 * progmodes/dos.el: New file.
6517 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6520 2013-08-06 Glenn Morris <rgm@gnu.org>
6522 * calendar/calendar.el: Add new faces, and day-header-array.
6523 (calendar-weekday-header, calendar-weekend-header)
6524 (calendar-month-header): New faces.
6525 (calendar-day-header-construct): New function.
6526 (calendar-day-header-width): Also :set calendar-day-header-array.
6527 (calendar-american-month-header, calendar-european-month-header)
6528 (calendar-iso-month-header): Use calendar- faces.
6529 (calendar-generate-month):
6530 Use calendar-day-header-array for day headers; apply faces to them.
6531 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6532 (calendar-abbrev-construct): Add optional maxlen argument.
6533 (calendar-day-name-array): Doc fix.
6534 (calendar-day-name-array, calendar-abbrev-length)
6535 (calendar-day-abbrev-array):
6536 Also :set calendar-day-header-array, and maybe redraw.
6537 (calendar-day-header-array): New option. (Bug#15007)
6538 (calendar-font-lock-keywords): Set to nil and make obsolete.
6539 (calendar-day-name): Add option to use header array.
6541 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6543 * net/shr.el (shr-render-td): Remove debugging.
6544 (shr-render-td): Make width computation consistent by defaulting
6545 all zero-width columns to 10 characters. This may not be optimal,
6546 but it's at least consistent.
6547 (shr-make-table-1): Redo last change to fix the real problem in
6550 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6552 * files.el (cache-long-line-scans):
6553 Make obsolete alias to `cache-long-scans'.
6555 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6557 * frameset.el (frameset, frameset-filter-alist)
6558 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6559 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6560 (frameset-compute-pos): Rename from frameset--compute-pos,
6562 (frameset-move-onscreen): Use frameset-compute-pos.
6563 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6565 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6566 Fix typos in docstrings.
6568 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6570 * frame.el (get-other-frame): Tiny cleanup.
6572 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6574 * vc/vc.el (vc-default-ignore-completion-table):
6575 Silence byte-compiler warning.
6577 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6578 slot, which can indeed be nil.
6579 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6580 Move entry for `left' from persistent to live filter alist.
6581 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6583 (frameset-filter-params): When restoring a frame, copy items added to
6584 `filtered', to avoid unwittingly modifying the original parameters.
6585 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6586 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6588 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6589 to use looking-at-p instead of looking-at. (Bug#15028)
6591 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6593 Revert introduction of isearch-filter-predicates (bug#14714).
6594 Rely on add-function instead.
6595 * isearch.el (isearch-filter-predicates): Rename it back to
6596 isearch-filter-predicate.
6597 (isearch-message-prefix): Use advice-function-mapc and advice
6598 properties to get the isearch-message-prefix.
6599 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6600 instead of run-hook-with-args-until-failure.
6601 (isearch-filter-visible): Not obsolete any more.
6602 * loadup.el: Preload nadvice.
6603 * replace.el (perform-replace): Revert to funcall
6604 instead of run-hook-with-args-until-failure.
6605 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6606 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6607 dired-isearch-filenames-toggle; make it into a proper minor mode.
6608 Use add/remove-function.
6609 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6610 Call the minor-mode rather than add/remove-hook.
6611 (dired-isearch-filter-filenames):
6612 Remove isearch-message-prefix property.
6613 * info.el (Info--search-loop): New function, extracted from Info-search.
6614 Funcall isearch-filter-predicate instead of
6615 run-hook-with-args-until-failure isearch-filter-predicates.
6616 (Info-search): Use it.
6617 (Info-mode): Use isearch-filter-predicate instead of
6618 isearch-filter-predicates.
6620 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6622 Do not call to `selected-window' where it is assumed by default.
6623 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6624 `window-hscroll', `window-width', `window-height', `window-buffer',
6625 `window-frame', `window-start', `window-point', `next-window'
6626 and `window-display-table'.
6627 * abbrev.el (abbrev--default-expand):
6628 * bs.el (bs--show-with-configuration):
6629 * buff-menu.el (Buffer-menu-mouse-select):
6630 * calc/calc.el (calc):
6631 * calendar/calendar.el (calendar-generate-window):
6632 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6634 * comint.el (send-invisible, comint-dynamic-complete-filename)
6635 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6636 * completion.el (complete):
6637 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6638 * disp-table.el (describe-current-display-table):
6639 * doc-view.el (doc-view-insert-image):
6640 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6641 * ehelp.el (with-electric-help):
6642 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6643 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6644 * emacs-lisp/helper.el (Helper-help-scroller):
6645 * emulation/cua-base.el (cua--post-command-handler-1):
6646 * eshell/esh-mode.el (eshell-output-filter):
6647 * ffap.el (ffap-gnus-wrapper):
6648 * help-macro.el (make-help-screen):
6649 * hilit-chg.el (highlight-compare-buffers):
6650 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6651 * hl-line.el (global-hl-line-highlight):
6652 * icomplete.el (icomplete-simple-completing-p):
6653 * isearch.el (isearch-done):
6654 * jit-lock.el (jit-lock-stealth-fontify):
6655 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6656 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6657 * mpc.el (mpc-tagbrowser, mpc):
6658 * net/rcirc.el (rcirc-any-buffer):
6659 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6660 * play/landmark.el (landmark-max-width, landmark-max-height):
6661 * play/zone.el (zone):
6662 * progmodes/compile.el (compilation-goto-locus):
6663 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6664 * progmodes/etags.el (find-tag-other-window):
6665 * progmodes/fortran.el (fortran-column-ruler):
6666 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6667 * progmodes/verilog-mode.el (verilog-point-text):
6668 * reposition.el (reposition-window):
6669 * rot13.el (toggle-rot13-mode):
6670 * server.el (server-switch-buffer):
6671 * shell.el (shell-dynamic-complete-command)
6672 (shell-dynamic-complete-environment-variable):
6673 * simple.el (insert-buffer, set-selective-display)
6674 (delete-completion-window):
6675 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6676 (speedbar-recenter):
6677 * startup.el (fancy-splash-head):
6678 * textmodes/ispell.el (ispell-command-loop):
6679 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6680 * tutorial.el (help-with-tutorial):
6681 * vc/add-log.el (add-change-log-entry):
6682 * vc/compare-w.el (compare-windows):
6683 * vc/ediff-help.el (ediff-indent-help-message):
6684 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6685 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6686 (ediff-setup-control-frame):
6687 * vc/emerge.el (emerge-position-region):
6688 * vc/pcvs-util.el (cvs-bury-buffer):
6689 * window.el (walk-windows, mouse-autoselect-window-select):
6690 * winner.el (winner-set-conf, winner-undo): Related users changed.
6692 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6694 * frameset.el (frameset--set-id): Doc fix.
6695 (frameset-frame-id, frameset-frame-id-equal-p)
6696 (frameset-locate-frame-id): New functions.
6697 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6698 (frameset-restore): Use them.
6700 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6702 Do not call to `selected-frame' where it is assumed by default.
6703 Affected functions are `raise-frame', `redraw-frame',
6704 `frame-first-window', `frame-terminal' and `delete-frame'.
6705 * calendar/appt.el (appt-disp-window):
6706 * epg.el (epg-wait-for-completion):
6707 * follow.el (follow-delete-other-windows-and-split)
6708 (follow-avoid-tail-recenter):
6709 * international/mule.el (set-terminal-coding-system):
6710 * mail/rmail.el (rmail-mail-return):
6711 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6712 * progmodes/f90.el (f90-add-imenu-menu):
6713 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6714 * server.el (server-switch-buffer):
6715 * simple.el (delete-completion-window):
6717 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6718 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6719 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6720 * vc/ediff.el (ediff-documentation): Related users changed.
6721 * frame.el (selected-terminal): Remove the leftover.
6723 2013-08-05 Glenn Morris <rgm@gnu.org>
6725 * calendar/calendar.el (calendar-generate-month):
6726 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6727 (calendar-generate-month, calendar-font-lock-keywords):
6728 Fix for calendar-day-header-width > length of any day name.
6730 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6732 * desktop.el (desktop-clear): Use new name of sort predicate.
6734 * frameset.el (frameset): Add docstring. Move :version property to its
6736 (frameset-copy): Rename from copy-frameset.
6737 (frameset-p): Check more thoroughly.
6738 (frameset-prop): Do not check for :version, which is no longer a prop.
6739 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6740 Use new :never value instead of t.
6741 (frameset-filter-alist): Expand and clarify docstring.
6742 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6743 (frameset-filter-minibuffer, frameset-filter-save-param)
6744 (frameset-filter-restore-param, frameset-filter-iconified):
6745 Add pointer to docstring of frameset-filter-alist.
6746 (frameset-filter-params): Rename filter values to be more meaningful:
6747 :never instead of t, and reverse the meanings of :save and :restore.
6748 (frameset--process-minibuffer-frames): Clarify error message.
6749 (frameset-save): Avoid unnecessary and confusing call to framep.
6750 Use new BOA constructor for framesets.
6751 (frameset--reuse-list): Doc fix.
6752 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6753 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6754 (frameset-minibufferless-first-p): Doc fix.
6755 Rename from frameset-sort-frames-for-deletion.
6756 (frameset-restore): Doc fixes. Use new function names.
6757 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6759 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6761 * desktop.el (desktop-restore-forces-onscreen)
6762 (desktop-restore-reuses-frames): Document :keyword constant values.
6763 (desktop-filter-parameters-alist): Remove, now identical to
6764 frameset-filter-alist.
6765 (desktop--filter-tty*): Remove, moved to frameset.el.
6766 (desktop-save-frameset, desktop-restore-frameset):
6767 Do not pass :filters argument.
6769 * frameset.el (frameset-live-filter-alist)
6770 (frameset-persistent-filter-alist): New variables.
6771 (frameset-filter-alist): Use them. Add autoload cookie.
6772 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6773 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6774 `frameset--id' (it's supposed to be internal to frameset.el).
6775 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6776 (frameset--initial-params): New function.
6777 (frameset--get-frame): Use it. Doc fix.
6778 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6779 Accept :all, not 'all.
6780 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6781 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6782 with fbound symbols. Fix frame id matching, and remove matching ids if
6783 the frame being restored is deleted. Obey :delete.
6785 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6787 * subr.el (macrop): New function.
6788 (text-clone--maintaining): New var.
6789 (text-clone--maintain): Rename from text-clone-maintain. Use it
6790 instead of inhibit-modification-hooks.
6792 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6793 a proxy, so as handle autoloads and redefinitions of the target.
6794 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6796 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6797 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6798 (pcase--mutually-exclusive-p): New function.
6799 (pcase--split-consp): Use it.
6800 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6801 mutually exclusive with the current predicate.
6803 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6804 (edebug-macrop): Remove. Use `macrop' instead.
6805 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6807 * eshell/esh-cmd.el (eshell-macrop):
6808 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6810 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6813 (advice-mapc): New function, using it.
6814 (advice-function-member-p): New function.
6815 (advice--normalize): Store the cdr in advice--saved-rewrite since
6816 that's the part that will be changed.
6817 (advice--symbol-function): New function.
6818 (advice-remove): Handle removal before the function is defined.
6819 Adjust to new advice--saved-rewrite.
6820 (advice-member-p): Use advice-function-member-p and
6821 advice--symbol-function.
6823 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6825 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6826 (frameset-filter-minibuffer): Doc fix.
6827 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6828 (frameset--set-id, frameset--process-minibuffer-frames)
6829 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6830 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6832 * desktop.el (desktop-clear): Only delete frames when called
6833 interactively and desktop-restore-frames is non-nil. Doc fix.
6834 (desktop-read): Set desktop-saved-frameset to nil.
6836 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6838 * vc/vc.el (vc-ignore): Rewrite.
6839 (vc-default-ignore-completion-table):
6841 (vc--add-line, vc--remove-regexp): New functions.
6843 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6844 (vc-svn-ignore-completion-table): New function.
6846 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6847 (vc-hg-ignore-completion-table):
6848 (vc-hg-find-ignore-file): New functions.
6850 * vc/vc-git.el (vc-git-ignore): Rewrite.
6851 (vc-git-ignore-completion-table):
6852 (vc-git-find-ignore-file): New functions.
6854 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6856 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6857 (vc-bzr-ignore-completion-table):
6858 (vc-bzr-find-ignore-file): New functions.
6860 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6862 * frameset.el (frameset-prop): New function and setter.
6863 (frameset-save): Do not modify frame list passed by the caller.
6865 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6867 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6869 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6871 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6872 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6874 * custom.el (custom-initialize-default, custom-initialize-set)
6875 (custom-initialize-reset, custom-initialize-changed): Affect the
6876 toplevel-default-value (bug#6275, bug#14586).
6877 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6880 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6882 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6883 Add cl-def* expressions.
6885 * frameset.el (frameset-filter-params): Fix order of arguments.
6887 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6889 Move code related to saving frames to frameset.el.
6890 * desktop.el: Require frameset.
6891 (desktop-restore-frames): Doc fix.
6892 (desktop-restore-reuses-frames): Rename from
6893 desktop-restoring-reuses-frames.
6894 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6895 (desktop-clear): Clear frames too.
6896 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6897 (desktop--filter-tty*, desktop-save, desktop-read):
6898 Use frameset functions.
6899 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6900 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6901 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6902 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6903 (desktop--process-minibuffer-frames, desktop-save-frames)
6904 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6905 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6906 (desktop--sort-states, desktop-restoring-frames-p)
6907 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6908 (desktop-restoring-frameset-p, desktop-restore-frameset)
6909 (desktop--check-dont-save, desktop-save-frameset): New functions.
6910 (desktop--app-id): New constant.
6911 (desktop-first-buffer, desktop-buffer-ok-count)
6912 (desktop-buffer-fail-count): Move before first use.
6913 * frameset.el: New file.
6915 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * files.el: Use lexical-binding.
6918 (dir-locals-read-from-file): Remove unused `err' variable.
6919 (hack-dir-local-variables--warned-coding): New var.
6920 (hack-dir-local-variables): Use it to avoid repeated warnings.
6921 (make-backup-file-name--default-function): New function.
6922 (make-backup-file-name-function): Use it as default.
6923 (buffer-stale--default-function): New function.
6924 (buffer-stale-function): Use it as default.
6925 (revert-buffer-insert-file-contents--default-function): New function.
6926 (revert-buffer-insert-file-contents-function): Use it as default.
6927 (insert-directory): Avoid add-to-list.
6929 * autorevert.el (auto-revert-handler): Simplify.
6930 Use buffer-stale--default-function.
6932 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6934 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6936 * whitespace.el (whitespace-ensure-local-variables): New function.
6937 (whitespace-cleanup-region): Call it.
6938 (whitespace-turn-on): Call it.
6940 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6942 Complete file name handlers.
6944 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6945 (tramp-handle-verify-visited-file-modtime)
6946 (tramp-handle-file-notify-rm-watch): New functions.
6947 (tramp-call-process): Do not bind `default-directory'.
6949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6950 Order alphabetically.
6951 [access-file, add-name-to-file, dired-call-process]:
6952 [dired-compress-file, file-acl, file-notify-rm-watch]:
6953 [file-ownership-preserved-p, file-selinux-context]:
6954 [make-directory-internal, make-symbolic-link, set-file-acl]:
6955 [set-file-selinux-context, set-visited-file-modtime]:
6956 [verify-visited-file-modtime]: Add handler.
6957 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6960 [file-notify-add-watch, file-notify-rm-watch]:
6961 [set-file-times, set-visited-file-modtime]:
6962 [verify-visited-file-modtime]: Add handler.
6963 (with-tramp-gvfs-error-message)
6964 (tramp-gvfs-handle-set-visited-file-modtime)
6965 (tramp-gvfs-fuse-file-name): Remove.
6966 (tramp-gvfs-handle-file-notify-add-watch)
6967 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6968 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6970 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6971 Order alphabetically.
6972 [file-notify-rm-watch ]: Use default Tramp handler.
6973 [executable-find]: Remove private handler.
6974 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6975 `default-directory'.
6976 (tramp-sh-handle-executable-find)
6977 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6978 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6979 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6980 Do not use `format' in `tramp-message'.
6982 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6983 [file-notify-rm-watch, set-visited-file-modtime]:
6984 [verify-visited-file-modtime]: Add handler.
6985 (tramp-smb-call-winexe): Do not bind `default-directory'.
6987 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6989 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6991 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6993 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6995 (log-view-diff-changeset): Same.
6996 (log-view-diff-common): Call backend command `previous-revision'
6997 to find out the previous revision, in both cases. Swap the
6998 variables `to' and `fr', so that `fr' usually refers to the
6999 earlier revision (Bug#14989).
7001 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7003 * ibuf-ext.el (ibuffer-filter-by-filename):
7004 Make it work with dired buffers too.
7006 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7008 * emacs-lisp/re-builder.el (reb-color-display-p):
7009 * files.el (save-buffers-kill-terminal):
7010 * net/browse-url.el (browse-url):
7011 * server.el (server-save-buffers-kill-terminal):
7012 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7013 Prefer nil to selected-frame for the first arg of frame-parameter.
7015 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7017 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7019 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7021 * minibuffer.el (completion--twq-all): Try and preserve each
7022 completion's case choice (bug#14907).
7024 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026 * net/network-stream.el (open-network-stream): Mention the new
7027 :nogreeting parameter.
7028 (network-stream-open-starttls): Use the :nogreeting parameter
7031 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7033 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7034 more natural than popping.
7036 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7037 (shr-urlify): Highlight under mouse.
7039 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7041 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7043 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7045 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7048 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7049 point-min==1. Fix search string. Fix parentheses missing.
7051 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7052 assume point-min==1. Fix search string. Fix parentheses missing.
7054 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7056 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7059 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7061 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7062 initial frame is minibuffer-less. (Bug#14841)
7064 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7066 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7069 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7070 (tramp-maybe-open-connection): Use it.
7072 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7074 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7075 minimal set of parameters passed when creating a frame, because
7076 the minibuffer status of a frame cannot be changed later.
7078 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7080 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7081 replace-regexp-in-string and inadvertent omissions in previous change.
7082 (todo-filter-items): Ensure only file names are comma-separated in
7083 name of filtered items buffer.
7085 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7087 * desktop.el: Optionally force offscreen frames back onscreen.
7088 (desktop-restoring-reuses-frames): New option.
7089 (desktop--compute-pos, desktop--move-onscreen): New functions.
7090 (desktop--make-frame): Use desktop--move-onscreen.
7092 2013-07-27 Alan Mackenzie <acm@muc.de>
7094 Fontify a Java generic method as a function.
7095 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7098 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7100 * calendar/todo-mode.el: Add command to rename todo files.
7101 (todo-rename-file): New command.
7102 (todo-key-bindings-t): Add key binding for it. Change the
7103 bindings of todo-filter-regexp-items(-multifile) to use `x'
7104 instead of `r', since the latter is better suited to the new
7107 2013-07-27 Alan Mackenzie <acm@muc.de>
7109 Make Java try-with-resources statement parse properly.
7110 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7111 (c-block-stmt-1-2-key): New language constants/variables.
7112 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7113 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7114 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7115 with c-block-stmt-1-2-key.
7117 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7119 * desktop.el (desktop--make-frame): Apply most frame parameters after
7120 creating the frame to force (partially or totally) offscreen frames to
7121 be restored as such.
7123 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7125 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7128 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7130 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7131 `base' arg of backtrace-frame.
7133 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7135 * simple.el (list-processes): Doc fix.
7137 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7139 * desktop.el (desktop--select-frame):
7140 Try harder to reuse existing frames.
7142 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7144 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7145 (edebug-eval): Use backtrace-eval.
7146 (edebug--display, edebug--recursive-edit): Don't let-bind the
7147 edebug-outer-* vars that keep track of variables we locally let-bind.
7148 (edebug-outside-excursion): Don't restore outside values of locally
7150 (edebug--display): Use user-error.
7151 (cl-lexical-debug, cl-debug-env): Remove.
7153 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7155 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7156 are restored to be sure that they are visible before deleting any
7159 2013-07-26 Matthias Meulien <orontee@gmail.com>
7161 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7162 vc-print-root-log. (Bug#14948)
7164 2013-07-26 Richard Stallman <rms@gnu.org>
7166 Add aliases for encrypting mail.
7167 * epa.el (epa-mail-aliases): New option.
7168 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7169 Bind inhibit-read-only so read-only text doesn't ruin everything.
7170 (epa-mail-default-recipients): New subroutine broken out.
7171 Handle epa-mail-aliases.
7173 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7175 Add support for lexical variables to the debugger's `e' command.
7176 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7177 vars, except for debugger-outer-match-data.
7178 (debugger-frame-number): Move check for "on a function call" from
7179 callers into it. Add `skip-base' argument.
7180 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7181 (debugger-env-macro): Only reset the state stored in non-variables,
7182 i.e. current-buffer and match-data.
7183 (debugger-eval-expression): Rewrite using backtrace-eval.
7184 * subr.el (internal--called-interactively-p--get-frame): Remove.
7185 (called-interactively-p):
7186 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7187 `base' arg of backtrace-frame instead.
7189 2013-07-26 Glenn Morris <rgm@gnu.org>
7191 * align.el (align-regexp): Doc fix. (Bug#14857)
7192 (align-region): Explicit error if subexpression missing/does not match.
7194 * simple.el (global-visual-line-mode):
7195 Do not duplicate the mode lighter. (Bug#14858)
7197 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7199 * window.el (display-buffer): In display-buffer bind
7200 split-window-keep-point to t, bug#14829.
7202 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7204 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7205 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7206 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7207 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7209 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7210 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7212 2013-07-25 Glenn Morris <rgm@gnu.org>
7214 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7216 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7218 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7219 parameter to modify-frame-parameters if the value has not changed;
7220 this is a workaround for bug#14949.
7221 (desktop--make-frame): On cl-delete-if call, check parameter name,
7224 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7226 * vc/vc.el (vc-ignore): New function.
7228 * vc/vc-svn.el (vc-svn-ignore): New function.
7230 * vc/vc-hg.el (vc-hg-ignore): New function.
7232 * vc/vc-git.el (vc-git-ignore): New function.
7234 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7235 (vc-dir-ignore): New function.
7237 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7238 (cvs-append-to-ignore): Move here from pcvs.el.
7240 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7242 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7244 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7246 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7247 (desktop-restore-frames): Warn when deleting an existing frame failed.
7249 2013-07-24 Glenn Morris <rgm@gnu.org>
7251 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7253 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7255 * filenotify.el (file-notify-supported-p):
7256 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7259 * autorevert.el (auto-revert-use-notify):
7260 (auto-revert-notify-add-watch):
7261 * net/tramp.el (tramp-file-name-for-operation):
7262 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7263 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7264 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7266 Remove `file-notify-supported-p' entry.
7268 2013-07-24 Glenn Morris <rgm@gnu.org>
7270 * printing.el: Replace all uses of deleted ps-windows-system,
7271 ps-lp-system, ps-flatten-list with lpr- versions.
7273 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7275 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7276 checked with memq (bug#14935).
7278 * files.el (revert-buffer-function): Use a non-nil default.
7279 (revert-buffer-preserve-modes): Declare var to
7280 provide access to the `preserve-modes' argument.
7281 (revert-buffer): Let-bind it.
7282 (revert-buffer--default): New function, extracted from revert-buffer.
7284 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * lpr.el: Signal print errors more prominently.
7287 (print-region-function): Don't default to nil.
7288 (lpr-print-region): New function, extracted from print-region-1.
7289 Check lpr's return value and signal an error in case of problem.
7290 (print-region-1): Use it.
7291 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7293 (ps-printer-name): Default to nil.
7294 (ps-printer-name-option): Default to lpr-printer-switch.
7295 (ps-print-region-function): Don't default to nil.
7296 (ps-postscript-code-directory): Simplify default.
7297 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7298 (ps-string-list, ps-eval-switch, ps-flatten-list)
7299 (ps-flatten-list-1): Remove.
7300 (ps-multibyte-buffer): Avoid setq.
7301 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7302 (print-region-function, ps-print-region-function): Don't set them here.
7304 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7306 * ido.el (ido-fractionp):
7307 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7308 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7309 (ido-max-directory-size, ido-max-dir-file-cache)
7310 (ido-decorations): Doc fix.
7312 * ansi-color.el: Fix old URL.
7314 2013-07-23 Michael R. Mauger <michael@mauger.com>
7316 * progmodes/sql.el: Version 3.3
7317 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7318 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7319 (sql-interactive-remove-continuation-prompt): Rewrite, use
7320 functions above. Fix continuation prompt and complete output line
7322 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7323 redirected output buffer.
7324 (sql-mode): Restore deleted code (Bug#13591).
7326 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7328 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7330 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7332 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7334 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7335 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7336 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7338 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7340 * desktop.el (desktop-clear): Simplify; remove useless checks
7341 against invalid buffer names.
7342 (desktop-list*): Use cl-list*.
7343 (desktop-buffer-info, desktop-create-buffer): Simplify.
7345 2013-07-23 Leo Liu <sdl.web@gmail.com>
7347 * bookmark.el (bookmark-make-record): Restore NAME as a default
7350 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7352 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7353 extracted from autoload--insert-text.
7354 (autoload--insert-text): Remove.
7355 (autoload--print-cookie-text): New function, extracted from
7356 autoload--insert-cookie-text.
7357 (autoload--insert-cookie-text): Remove.
7358 (autoload-generate-file-autoloads): Adjust calls accordingly.
7360 * winner.el (winner-hook-installed-p): Remove.
7361 (winner-mode): Simplify accordingly.
7363 * subr.el (add-to-list): Fix compiler-macro when `append' is
7364 not constant. Don't use `cl-member' for the base case.
7366 * progmodes/subword.el: Fix boundary case (bug#13758).
7367 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7369 (subword-backward-regexp): Make it a constant.
7370 (subword-forward-internal): Don't treat a trailing capital as the
7371 beginning of a word.
7373 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7375 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7376 global value of tabulated-list-revert-hook (bug#14930).
7378 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7380 * desktop.el: Require 'cl-lib.
7381 (desktop-before-saving-frames-functions): New hook.
7382 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7383 for frames being saved. Rename from desktop--save-minibuffer-frames.
7384 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7385 Do not save frames with non-nil `desktop-dont-save' parameter.
7386 Filter out deleted frames.
7387 (desktop--find-frame): Use cl-find-if.
7388 (desktop--select-frame): Use cl-(first|second|third) to access values
7390 (desktop--make-frame): Use cl-delete-if.
7391 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7392 (desktop-restore-frames): Use cl-(first|second|third) to access values
7393 of desktop-mini. Look for visible frame at the end, not while
7396 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7397 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7398 Use string-match-p, looking-at-p (bug#14927).
7400 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7402 * desktop.el (desktop-saved-frame-states):
7403 Rename from desktop--saved-states; all users changed.
7404 (desktop-save-frames): Rename from desktop--save-frames.
7405 Do not save state to desktop file.
7406 (desktop-save): Save desktop-saved-frame-states to desktop file
7408 (desktop-restoring-frames-p): New function.
7409 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7410 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7411 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7413 * desktop.el: Correctly restore iconified frames.
7414 (desktop--filter-iconified-position): New function.
7415 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7417 2013-07-20 Glenn Morris <rgm@gnu.org>
7419 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7420 Let `message' do the formatting.
7421 (def-gdb-preempt-display-buffer): Add explicit format.
7423 * image-dired.el (image-dired-track-original-file):
7424 Use with-current-buffer.
7425 (image-dired-track-thumbnail): Use with-current-buffer.
7426 Avoid changing point of wrong window.
7428 * image-dired.el (image-dired-track-original-file):
7429 Avoid changing point of wrong window. (Bug#14909)
7431 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7433 * progmodes/gdb-mi.el (gdb-done-or-error):
7434 Guard against "%" in gdb output. (Bug#14127)
7436 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7438 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7441 * international/mule.el (coding-system-iso-2022-flags): Fix last
7444 2013-07-20 Kenichi Handa <handa@gnu.org>
7446 * international/mule.el (coding-system-iso-2022-flags):
7447 Add `8-bit-level-4'. (Bug#8522)
7449 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7451 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7454 * net/eww.el (eww-process-text-input): Allow inputting when the
7455 point is at the start of the line, as the properties aren't
7458 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7461 2013-07-19 Richard Stallman <rms@gnu.org>
7463 * epa.el (epa-popup-info-window): Doc fix.
7465 * subr.el (split-string): New arg TRIM.
7467 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7469 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7470 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7472 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7474 * filenotify.el (file-notify--library): Rename from
7475 `file-notify-support'. Do not autoload. Adapt all uses.
7476 (file-notify-supported-p): New defun.
7478 * autorevert.el (auto-revert-use-notify):
7479 Use `file-notify-supported-p' instead of `file-notify-support'.
7481 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7483 * net/tramp.el (tramp-file-name-for-operation):
7484 Add `file-notify-supported-p'.
7486 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7488 (tramp-sh-file-name-handler-alist): Add it as handler for
7489 `file-notify-supported-p '.
7491 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7492 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7493 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7494 Add `ignore' as handler for `file-notify-*' functions.
7496 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7498 * simple.el (line-move-partial, line-move): Don't start vscroll or
7499 scroll-up if the current line is not taller than the window.
7502 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7504 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7505 highlight question marks in the method names as strings.
7506 (ruby-block-beg-keywords): Inline.
7507 (ruby-font-lock-keyword-beg-re): Extract from
7508 `ruby-font-lock-keywords'.
7510 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7512 * frame.el (blink-cursor-blinks): New defcustom.
7513 (blink-cursor-blinks-done): New defvar.
7514 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7515 (blink-cursor-timer-function): Check if number of blinks has been
7517 (blink-cursor-suspend, blink-cursor-check): New defuns.
7519 2013-07-15 Glenn Morris <rgm@gnu.org>
7521 * edmacro.el (edmacro-format-keys): Fix previous change.
7523 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7525 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7526 The hack didn't work outside English locales anyway.
7528 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7530 * simple.el (define-alternatives): Rename from alternatives-define,
7531 per RMS' suggestion.
7533 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7535 * desktop.el (desktop-restore-frames): Change default to t.
7536 (desktop-restore-in-current-display): Now offer more options.
7537 (desktop-restoring-reuses-frames): New customization option.
7538 (desktop--saved-states): Doc fix.
7539 (desktop-filter-parameters-alist): New variable, renamed and expanded
7540 from desktop--excluded-frame-parameters.
7541 (desktop--target-display): New variable.
7542 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7543 (desktop--filter-tty*, desktop--filter-*-color)
7544 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7545 (desktop--filter-save-desktop-parm)
7546 (desktop-restore-in-original-display-p): New functions.
7547 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7548 (desktop--save-minibuffer-frames): New function, inspired by a similar
7549 function from Martin Rudalics.
7550 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7551 (desktop--restore-in-this-display-p): Remove.
7552 (desktop--find-frame): Rename from desktop--find-frame-in-display
7553 and add predicate argument.
7554 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7555 (desktop--reuse-list): New variable.
7556 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7558 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7560 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7562 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7564 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7566 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7567 Highlight conversion methods on Kernel.
7569 2013-07-13 Alan Mackenzie <acm@muc.de>
7571 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7572 and comment it out. This out-commenting enables certain C++
7573 declarations to be parsed correctly.
7575 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7577 * international/mule.el (define-coding-system): Doc fix.
7579 * simple.el (default-font-height): Don't call font-info if the
7580 frame's default font didn't change since the frame was created.
7583 2013-07-13 Leo Liu <sdl.web@gmail.com>
7585 * ido.el (ido-read-file-name): Guard against non-symbol value.
7587 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7589 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7592 2013-07-13 Leo Liu <sdl.web@gmail.com>
7594 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7595 ido-set-matches call. (Bug#6852)
7597 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7599 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7600 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7602 (ruby-font-lock-keywords): Distinguish calls to functions with
7603 module-like names from module references. Highlight character
7606 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7608 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7609 (gdb-send): Handle continued commands. (Bug#14847)
7611 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7613 * desktop.el (desktop--v2s): Remove unused local variable.
7614 (desktop-save-buffer): Make defvar-local; adjust docstring.
7615 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7616 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7618 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7620 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7622 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7624 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7627 2013-07-12 Glenn Morris <rgm@gnu.org>
7629 * doc-view.el: Require cl-lib at runtime too.
7630 (doc-view-remove-if): Remove.
7631 (doc-view-search-next-match, doc-view-search-previous-match):
7634 * edmacro.el: Require cl-lib at runtime too.
7635 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7636 (edmacro-mismatch, edmacro-subseq): Remove.
7638 * shadowfile.el: Require cl-lib.
7639 (shadow-remove-if): Remove.
7640 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7643 * wid-edit.el: Require cl-lib.
7644 (widget-choose): Use cl-remove-if.
7645 (widget-remove-if): Remove.
7647 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7648 (ebrowse-delete-if-not): Remove.
7649 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7650 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7651 Use cl-delete-if-not.
7653 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7655 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7656 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7658 2013-07-12 Leo Liu <sdl.web@gmail.com>
7660 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7662 2013-07-11 Glenn Morris <rgm@gnu.org>
7664 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7665 (edebug-gensym-index, edebug-gensym):
7666 Remove reimplementation of cl-gensym.
7667 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7669 * thumbs.el: Require cl-lib at run-time too.
7670 (thumbs-gensym-counter, thumbs-gensym):
7671 Remove reimplementation of cl-gensym.
7672 (thumbs-temp-file): Use cl-gensym.
7674 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7675 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7676 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7677 (ert--union, ert--gensym-counter, ert--gensym-counter)
7678 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7679 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7680 (ert-make-test-unbound, ert--expand-should-1)
7681 (ert--expand-should, ert--should-error-handle-error)
7682 (should-error, ert--explain-equal-rec)
7683 (ert--plist-difference-explanation, ert-select-tests)
7684 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7685 Use cl-lib functions rather than reimplementations.
7687 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7689 * net/tramp.el (tramp-methods): Extend docstring.
7690 (tramp-connection-timeout): New defcustom.
7691 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7692 (with-tramp-progress-reporter): Simplify.
7693 (tramp-process-actions): Improve messages.
7695 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7696 * net/tramp-sh.el (tramp-maybe-open-connection):
7697 Use `tramp-connection-timeout'.
7698 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7701 2013-07-11 Leo Liu <sdl.web@gmail.com>
7703 * ido.el (ido-read-file-name): Conform to the requirements of
7704 read-file-name. (Bug#11861)
7705 (ido-read-directory-name): Conform to the requirements of
7706 read-directory-name.
7708 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7710 * subr.el (delay-warning): New function.
7712 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7714 * simple.el (default-line-height): New function.
7715 (line-move-partial, line-move): Use it instead of computing the
7717 (line-move-partial): Always compute ROWH. If the last line is
7718 partially-visible, but its text is completely visible, allow
7719 cursor to enter such a partially-visible line.
7721 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7723 Improve error messages. (Bug#14808)
7725 * net/tramp.el (tramp-current-connection): New defvar, moved from
7727 (tramp-message-show-progress-reporter-message): Remove, not
7729 (tramp-error-with-buffer): Show message in minibuffer.
7730 Discard input before waiting. Reset connection timestamp.
7731 (with-tramp-progress-reporter): Improve messages.
7732 (tramp-process-actions): Use progress reporter. Delete process in
7733 case of error. Improve messages.
7735 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7736 Call `tramp-error-with-buffer' with vector and buffer.
7737 (tramp-current-connection): Remove.
7738 (tramp-maybe-open-connection): The car of
7739 `tramp-current-connection' are the first 3 slots of the vector.
7741 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7743 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7744 inside continued strings.
7746 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7748 Timestamp fixes for undo (Bug#14824).
7749 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7751 2013-07-10 Leo Liu <sdl.web@gmail.com>
7753 * files.el (require-final-newline): Allow safe local value.
7756 2013-07-09 Leo Liu <sdl.web@gmail.com>
7758 * ido.el (ido-read-directory-name): Handle fallback.
7759 (ido-read-file-name): Update DIR to ido-current-directory.
7761 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7763 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7765 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7766 "autoload". Remove "warn lower camel case" section, previously
7767 commented out. Highlight negation char. Do not highlight the
7768 target in singleton method definitions.
7770 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7772 * faces.el (tty-setup-hook): Declare the hook.
7774 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7775 and detect when a guard/pred depends on local vars (bug#14773).
7776 (pcase--u1): Adjust caller.
7778 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7780 * simple.el (line-move-partial, line-move): Account for
7782 (line-move-partial): Avoid setting vscroll when the last
7783 partially-visible line in window is of default height.
7785 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7787 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7790 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7792 * subr.el (read-quoted-char): Remove unused local variable `char'.
7794 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7796 * ediff.el (ediff-version): Version update.
7797 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7798 (ediff-merge-with-ancestor-command, ediff-directories-command)
7799 (ediff-directories3-command, ediff-merge-directories-command)
7800 (ediff-merge-directories-with-ancestor-command): New functions.
7801 All are command-line interfaces to ediff: to facilitate calling
7802 Emacs with the appropriate ediff functions invoked.
7804 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7805 (viper-save-kill-buffer): Check if buffer is modified.
7807 * viper.el (viper-version): Version update.
7808 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7810 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7812 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7813 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7814 (viper-intercept-ESC-key): Simplify.
7815 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7816 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7817 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7818 (viper-setup-ESC-to-escape): New functions.
7819 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7820 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7822 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7824 * simple.el (default-font-height, window-screen-lines):
7826 (line-move, line-move-partial): Use them instead of
7827 frame-char-height and window-text-height. This makes scrolling
7828 text smoother when the buffer's default face uses a font that is
7829 different from the frame's default font.
7831 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7833 * files.el (write-file): Do not display confirm dialog for NS,
7834 it does its own dialog, which can't be canceled (Bug#14578).
7836 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7838 * simple.el (line-move-partial): Adjust the row returned by
7839 posn-at-point for the current window-vscroll. (Bug#14567)
7841 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7843 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7844 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7847 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7849 * window.el (window-state-put-stale-windows): New variable.
7850 (window--state-put-2): Save list of windows without matching buffer.
7851 (window-state-put): Remove "bufferless" windows if possible.
7853 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7855 * simple.el (alternatives-define): Remove leftover :group keyword.
7858 2013-07-06 Leo Liu <sdl.web@gmail.com>
7860 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7861 (ido-enable-virtual-buffers): New variable.
7862 (ido-buffer-internal, ido-toggle-virtual-buffers)
7863 (ido-make-buffer-list): Use it.
7864 (ido-exhibit): Support turning on and off virtual buffers
7867 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7869 * simple.el (alternatives-define): New macro.
7871 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7873 * subr.el (read-quoted-char): Use read-key.
7874 (sit-for): Let read-event decode tty input (bug#14782).
7876 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7878 * calendar/todo-mode.el: Add handling of file deletion, both by
7879 mode command and externally. Fix various related bugs.
7880 Clarify Commentary and improve some documentation strings and code.
7881 (todo-delete-file): New command.
7882 (todo-check-file): New function.
7883 (todo-show): Handle external deletion of the file we're trying to
7884 show (bug#14688). Replace called-interactively-p by an optional
7885 prefix argument to avoid problematic interaction with catch form
7886 when byte compiled (bug#14702).
7887 (todo-quit): Handle external deletion of the archive's todo file.
7888 Make sure the buffer that was visiting the archive file is still
7889 live before trying to bury it.
7890 (todo-category-completions): Handle external deletion of any
7891 category completion files.
7892 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7893 of todo files, in case of external deletion.
7894 (todo-add-file): Replace unnecessary setq by let-binding.
7895 (todo-find-archive): Check whether there are any archives.
7896 Replace unnecessary setq by let-binding.
7897 (todo-archive-done-item): Use find-file-noselect to get the
7898 archive buffer whether or not the archive already exists.
7899 Remove superfluous code. Use file size instead of buffer-file-name to
7900 check if the archive is new; if it is, update list of archives.
7901 (todo-default-todo-file): Allow nil to be a valid value for when
7902 there are no todo files.
7903 (todo-reevaluate-default-file-defcustom): Use corrected definition
7904 of todo-default-todo-file.
7905 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7906 (todo-delete-category, todo-show-categories-table)
7907 (todo-category-number): Clarify comment.
7908 (todo-filter-items): Clarify documentation string.
7909 (todo-show-current-file, todo-display-as-todo-file)
7910 (todo-reset-and-enable-done-separator): Tweak documentation string.
7911 (todo-done-separator): Make separator length window-width, since
7912 bug#2749 is now fixed.
7914 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7916 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7917 Support both "gvfs-monitor-dir" and "inotifywait".
7918 (tramp-sh-file-inotifywait-process-filter): Rename from
7919 `tramp-sh-file-notify-process-filter'.
7920 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7921 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7923 2013-07-05 Leo Liu <sdl.web@gmail.com>
7925 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7927 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7929 * frame.el (display-pixel-height, display-pixel-width)
7930 (display-mm-height, display-mm-width): Mention behavior on
7931 multi-monitor setups in docstrings.
7932 (w32-display-monitor-attributes-list): Declare function.
7933 (display-monitor-attributes-list): Use it.
7935 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7937 * filenotify.el: New package.
7939 * autorevert.el (top): Require filenotify.el.
7940 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7942 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7943 (auto-revert-notify-handler): Use `file-notify-*' functions.
7945 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7947 * net/tramp.el (tramp-file-name-for-operation):
7948 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7950 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7951 for `file-notify-add-watch' and `file-notify-rm-watch'.
7952 (tramp-process-sentinel): Improve trace.
7953 (tramp-sh-handle-file-notify-add-watch)
7954 (tramp-sh-file-notify-process-filter)
7955 (tramp-sh-handle-file-notify-rm-watch)
7956 (tramp-get-remote-inotifywait): New defuns.
7958 2013-07-03 Juri Linkov <juri@jurta.org>
7960 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7961 call of `occur-read-primary-args' to interactive spec.
7963 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7964 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7966 2013-07-03 Matthias Meulien <orontee@gmail.com>
7968 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7969 `Buffer-menu-multi-occur'. Add it to the menu.
7970 (Buffer-menu-mode): Document it in docstring.
7971 (Buffer-menu-multi-occur): New command. (Bug#14673)
7973 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7975 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7976 keywords and built-ins.
7978 2013-07-03 Glenn Morris <rgm@gnu.org>
7980 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7982 Make info-xref checks case-sensitive by default
7983 * info.el (Info-find-node, Info-find-in-tag-table)
7984 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7985 Add option for exact case matching of nodes.
7986 * info-xref.el (info-xref): New custom group.
7987 (info-xref-case-fold): New option.
7988 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7990 2013-07-03 Leo Liu <sdl.web@gmail.com>
7992 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7994 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7996 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7997 middle of block statement initially, lower the depth. Remove
7998 FIXME comment, not longer valid. Remove middle of block statement
7999 detection, no need to do that anymore since we've been using
8000 `ruby-parse-region' here.
8002 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8004 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8006 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8008 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8010 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8012 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8013 (desktop-restore-in-current-display): New customization option.
8014 (desktop--excluded-frame-parameters): Add `font'.
8015 (desktop--save-frames): Rename from desktop--save-windows.
8016 (desktop--restore-in-this-display-p): New function.
8017 (desktop--make-full-frame): Remove unwanted width/height from
8018 full(width|height) frames.
8019 (desktop--restore-frames): Rename from desktop--restore-windows.
8020 Obey desktop-restore-current-display. Do not delete old frames or
8021 select a new frame unless we were able to restore at least one frame.
8023 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8025 * files.el (find-file-noselect): Simplify conditional expression.
8027 * textmodes/remember.el (remember-append-to-file):
8028 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8030 Add `remember-notes' function to store random notes across Emacs
8032 * textmodes/remember.el (remember-data-file): Add :set callback to
8033 affect notes buffer (if any).
8034 (remember-notes): New command.
8035 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8036 New defcustoms for the `remember-notes' function.
8037 (remember-notes-save-and-bury-buffer): New command.
8038 (remember-notes-mode-map): New variable.
8039 (remember-mode): New minor mode.
8040 (remember-notes--kill-buffer-query): New function.
8041 * startup.el (initial-buffer-choice): Add notes to custom type.
8043 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8045 * bindings.el (right-char, left-char): Don't call sit-for, this is
8046 no longer needed. Use arithmetic comparison only for numerical
8049 * international/mule-cmds.el (select-safe-coding-system):
8050 Handle the case of FROM being a string correctly. (Bug#14755)
8052 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8054 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8055 progression on degenerate tables.
8056 (shr-rescale-image): ImageMagick animated images currently don't work.
8058 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8060 Some fixes and improvements for desktop frame restoration.
8061 It is still experimental and disabled by default.
8062 * desktop.el (desktop--save-windows): Put the selected frame at
8063 the head of the list.
8064 (desktop--make-full-frame): New function.
8065 (desktop--restore-windows): Try to re-select the frame that was
8066 selected upon saving. Do not abort if some frames fail to restore,
8067 just show an error message and continue. Set up maximized frames
8068 so they have default non-maximized dimensions.
8070 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8072 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8073 Don't start heredoc inside a string or comment.
8075 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8077 * bindings.el (visual-order-cursor-movement): New defcustom.
8078 (right-char, left-char): Provide visual-order cursor motion by
8079 calling move-point-visually. Update the doc strings.
8081 2013-06-28 Kenichi Handa <handa@gnu.org>
8083 * international/mule.el (define-coding-system): New coding system
8084 properties :inhibit-null-byte-detection,
8085 :inhibit-iso-escape-detection, and :prefer-utf-8.
8086 (set-buffer-file-coding-system): If :charset-list property of
8087 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8088 appropriate for setting.
8090 * international/mule-cmds.el (select-safe-coding-system):
8091 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8092 multibyte characters, return utf-8 (or one of its siblings).
8094 * international/mule-conf.el (prefer-utf-8): New coding system.
8095 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8098 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8100 * net/shr.el (shr-render-region): New function.
8102 * net/eww.el: Autoload `eww-browse-url'.
8104 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8106 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8107 Adapt to `package-desc-version' being a list.
8108 Use `package--ac-desc-version' to retrieve version from a package
8111 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8113 New experimental feature to save&restore window and frame setup.
8114 * desktop.el (desktop-save-windows): New defcustom.
8115 (desktop--saved-states): New var.
8116 (desktop--excluded-frame-parameters): New defconst.
8117 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8118 (desktop--restore-windows, desktop--save-windows): New functions.
8119 (desktop-save): Call `desktop--save-windows'.
8120 (desktop-read): Call `desktop--restore-windows'.
8122 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8124 * net/shr.el (add-face-text-property): Remove compat definition.
8126 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8128 * info.el (Info-try-follow-nearest-node): Move search for footnote
8129 above search for node name to prevent missing a footnote (bug#14717).
8131 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8133 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8135 2013-06-27 Leo Liu <sdl.web@gmail.com>
8137 * net/eww.el (eww-read-bookmarks): Check file size.
8139 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8141 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8142 advice--pending if newdef is nil or an autoload (bug#13820).
8143 (advice-mapc): New function.
8145 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8147 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8149 (eww-mode-map): Add a menu bar.
8150 (eww-add-bookmark): New command.
8151 (eww-bookmark-mode): New mode and commands.
8152 (eww-add-bookmark): Remove newlines from the title.
8153 (eww-bookmark-browse): Don't bug out if it's the only window.
8155 2013-06-26 Glenn Morris <rgm@gnu.org>
8157 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8158 (hfy-size): Handle ttys. (Bug#14668)
8160 * info-xref.el: Update for Texinfo 5 change in *note format.
8161 (info-xref-node-re, info-xref-note-re): New constants.
8162 (info-xref-check-buffer): Use info-xref-note-re.
8164 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8166 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8168 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8169 nil terminate the loop (bug#14718).
8171 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8173 * net/eww.el: Rework history traversal. When going forward/back,
8174 put these actions into the history, too, so that they can be
8176 (eww-render): Move the history reset to the correct buffer.
8178 2013-06-25 Juri Linkov <juri@jurta.org>
8180 * files-x.el (modify-dir-local-variable): Change the header comment
8181 in the file with directory local variables. (Bug#14692)
8183 * files-x.el (read-file-local-variable-value): Add `default'.
8186 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8188 * net/eww.el (eww-make-unique-file-name): Create a unique file
8189 name before saving to entering `y' accidentally asynchronously.
8191 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8193 * net/eww.el (eww-download): New command and keystroke.
8195 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8197 * net/eww.el (eww-copy-page-url): Change name of command.
8199 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8200 be more consistent with Info and dired.
8202 * net/eww.el (eww-mode-map): Ditto.
8204 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8206 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8207 packages from archives.
8208 (package-archive-contents): Change format; include obsolete packages.
8209 (package-desc): Use `dir' to mark builtin packages.
8210 (package--from-builtin): Set the `dir' field to `builtin'.
8211 (generated-autoload-file, version-control): Declare.
8212 (package-compute-transaction): Change first arg and return value to be
8213 lists of package-descs. Adjust to new package-archive-contents format.
8214 (package--add-to-archive-contents): Adjust to new
8215 package-archive-contents format.
8216 (package-download-transaction): Arg is now a list of package-descs.
8217 (package-install): If `pkg' is a package name, pass it as
8218 a requirement, so it is subject to the usual (e.g. disabled) checks.
8219 (describe-package): Accept package-desc as well.
8220 (describe-package-1): Describe a specific package-desc. Add links to
8221 other package-descs for the same package name.
8222 (package-menu-describe-package): Pass the actual package-desc.
8223 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8225 (package-desc-status): New function.
8226 (package-menu--refresh): New function, extracted
8227 from package-menu--generate.
8228 (package-menu--generate): Use it.
8229 (package-delete): Update package-alist.
8230 (package-menu-execute): Don't call package-initialize.
8232 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8233 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8234 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8235 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8236 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8237 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8239 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8241 * window.el (window--state-get-1): Workaround for bug#14527.
8242 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8244 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8246 * net/eww.el (eww-back-url): Implement the history by stashing all
8247 the data into a list.
8248 (eww-forward-url): Allow going forward in the history, too.
8250 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8252 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8253 for values and use read--expression for expressions (bug#14710).
8254 (read-file-local-variable): Avoid setq.
8255 (read-file-local-variable-mode): Use minor-mode-list.
8257 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8259 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8262 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8264 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8265 Update imenu-support when dialect changes.
8267 2013-06-25 Leo Liu <sdl.web@gmail.com>
8269 * ido.el (ido-read-internal): Allow forward slash on windows.
8271 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273 * net/eww.el (eww): Start of strings is \\`, not ^.
8275 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8277 * net/shr.el (shr-browse-url): Fix interactive spec.
8279 * net/eww.el (eww): Add a trailing slash to domain names.
8281 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8283 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8285 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287 * net/shr.el (shr-browse-url): Use an external browser if given a
8290 * net/eww.el (eww-external-browser): Move to shr.
8292 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8294 * net/eww.el (eww): Work more correctly for file: URLs.
8295 (eww-detect-charset): Allow quoted charsets.
8296 (eww-yank-page-url): New command and keystroke.
8298 2013-06-24 Daiki Ueno <ueno@gnu.org>
8300 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8301 file name of gpg executable.
8302 (epg-context-program): New function.
8303 (epg-context-home-directory): New function.
8304 (epg-context-set-program): New function.
8305 (epg-context-set-home-directory): New function.
8306 (epg--start): Use `epg-context-program' instead of
8308 (epg--list-keys-1): Likewise.
8310 2013-06-24 Leo Liu <sdl.web@gmail.com>
8312 * ido.el (ido-read-internal): Fix bug#14620.
8314 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8316 * faces.el (face-documentation): Simplify.
8317 (read-face-attribute, tty-find-type, x-resolve-font-name):
8318 Use `string-match-p'.
8319 (list-faces-display): Use `string-match-p'. Simplify.
8320 (face-spec-recalc): Check face to avoid face alias loops.
8321 (read-color): Use `string-match-p' and non-capturing parenthesis.
8323 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8325 * net/shr.el (shr-rescale-image): Use the new
8326 :max-width/:max-height functionality.
8328 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8330 * net/eww.el (eww-search-prefix): New variable.
8332 (eww-external-browser): New variable.
8333 (eww-mode-map): New keystroke.
8334 (eww-browse-with-external-browser): New command.
8336 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8338 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8340 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8341 Don't skip aligning the next header field when padding is 0;
8342 otherwise, field width is not respected unless the title is as
8345 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8347 * emacs-lisp/package.el (package-el-version): Remove.
8348 (package-process-define-package): Fix inf-loop.
8349 (package-install): Allow symbols as arguments again.
8351 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8353 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8354 add some more keyword-like methods.
8355 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8357 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8359 * bs.el (bs-buffer-show-mark): Make defvar-local.
8360 (bs-mode): Use setq-local.
8362 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8363 (emacs-lock--try-unlocking): Make defvar-local.
8365 2013-06-22 Glenn Morris <rgm@gnu.org>
8367 * play/cookie1.el (cookie-apropos): Minor simplification.
8369 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8371 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8373 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8374 `regexp-opt', it breaks the build during dumping.
8376 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8378 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8379 Highlight keyword-like methods on Kernel and Module with
8380 font-lock-builtin-face.
8381 (auto-mode-alist): Consolidate different entries into one regexp
8382 and add more *file-s.
8384 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8386 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8388 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8389 (diary-entry): Use it in the action of this button type instead of
8392 * calendar/todo-mode.el: New version.
8393 (todo-add-category): Append new category to end of file and give
8394 it the highest number, instead of putting it at the beginning and
8395 giving it 0. Incorporate noninteractive functionality.
8396 (todo-forward-category): Adapt to 1-based category numbering.
8397 Allow skipping over archived categories.
8398 (todo-backward-category): Derive from todo-forward-category.
8399 (todo-backward-item, todo-forward-item): Make noninteractive and
8400 delegate interactive part to new commands. Make sensitive to done items.
8401 (todo-categories): Make value an alist of category names and
8402 vectors of item counts.
8403 (todo-category-beg): Make a defconst.
8404 (todo-category-number): Use 1 instead of 0 as initial value.
8405 (todo-category-select): Make sensitive to overlays, optional item
8406 highlighting and done items.
8407 (todo-delete-item): Make sensitive to overlays and marked and done items.
8408 (todo-edit-item): Make sensitive to overlays and editing of
8409 date/time header optional. Add format checks.
8410 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8411 no-op if point is not on an item. Advertise using todo-edit-quit.
8412 (todo-edit-mode): Make sensitive to new format, font-locking, and
8413 multiple todo files.
8414 (todo-insert-item, todo-insert-item-here): Derive from
8415 todo-basic-insert-item and extend functionality.
8416 (todo-item-end, todo-item-start): Make sensitive to done items.
8417 (todo-item-string): Don't return text properties. Restore point.
8418 (todo-jump-to-category): Make sensitive to multiple todo files and
8419 todo archives. Use extended category completion.
8420 (todo-lower-item, todo-raise-item): Rename to *-priority and
8421 derive from todo-set-item-priority.
8422 (todo-mode): Derive from special-mode. Make sensitive to new
8423 format, font-locking and multiple todo files. Make read-only.
8424 (todo-mode-map): Don't suppress digit keys, so they can supply
8425 prefix arguments. Add many new key bindings.
8426 (todo-prefix): Insert as an overlay instead of file text.
8427 Change semantics from diary date expression to purely visual mark.
8428 (todo-print): Rename to todo-print-buffer. Make buffer display
8429 features printable. Remove option to restrict number of items
8430 printed. Add option to print to file.
8431 (todo-print-function): Rename to todo-print-buffer-function.
8432 (todo-quit): Extend to handle exiting new todo modes.
8433 (todo-remove-item): Make sensitive to overlays.
8434 (todo-save): Extend to buffers of filtered items.
8435 (todo-show): Make sensitive to done items, multiple todo files and
8436 new todo modes. Offer to convert legacy todo file before creating
8437 first new todo file.
8438 (todo-show-priorities): Rename to todo-top-priorities.
8439 Change semantics of value 0.
8440 (todo-top-priorities): Rename to todo-filter-top-priorities,
8441 derive from todo-filter-items and extend functionality.
8442 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8443 and extend functionality to other types of filtered items.
8444 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8445 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8446 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8447 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8448 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8449 (todo-edit-mode-hook, todo-entry-prefix-function)
8450 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8451 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8452 (todo-initials, todo-insert-threshold, todo-item-string-start)
8453 (todo-line-string, todo-menu, todo-mode-hook)
8454 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8455 (todo-print-priorities, todo-remove-separator)
8456 (todo-save-top-priorities-too, todo-string-count-lines)
8457 (todo-string-multiline-p, todo-time-string-format)
8458 (todo-tmp-buffer-name): Remove.
8459 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8460 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8461 (todo-edit-category-diary-inclusion)
8462 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8463 (todo-edit-file, todo-edit-item-date-day)
8464 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8465 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8466 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8467 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8468 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8469 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8470 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8471 (todo-filter-top-priorities-multifile, todo-find-archive)
8472 (todo-find-filtered-items-file, todo-go-to-source-item)
8473 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8474 (todo-jump-to-archive-category, todo-lower-category)
8475 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8476 (todo-move-category, todo-move-item, todo-next-button)
8477 (todo-next-item, todo-padded-string, todo-powerset)
8478 (todo-previous-button, todo-previous-item)
8479 (todo-print-buffer-to-file, todo-raise-category)
8480 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8481 (todo-set-category-number, todo-set-item-priority)
8482 (todo-set-top-priorities-in-category)
8483 (todo-set-top-priorities-in-file, todo-show-categories-table)
8484 (todo-sort-categories-alphabetically-or-numerically)
8485 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8486 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8487 (todo-toggle-item-header, todo-toggle-item-highlighting)
8488 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8489 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8490 (todo-unarchive-items, todo-unmark-category): New commands.
8491 (todo-absolute-file-name, todo-add-to-buffer-list)
8492 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8493 (todo-basic-insert-item, todo-category-completions)
8494 (todo-category-number, todo-category-string-matcher-1)
8495 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8496 (todo-check-format, todo-clear-matches)
8497 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8498 (todo-current-category, todo-date-string-matcher)
8499 (todo-define-insertion-command, todo-diary-expired-matcher)
8500 (todo-diary-goto-entry, todo-diary-item-p)
8501 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8502 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8503 (todo-done-item-section-p, todo-done-separator)
8504 (todo-done-string-matcher, todo-files, todo-filter-items)
8505 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8506 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8507 (todo-insert-category-line, todo-insert-item-from-calendar)
8508 (todo-insert-sort-button, todo-insert-with-overlays)
8509 (todo-insertion-command-name, todo-insertion-key-bindings)
8510 (todo-label-to-key, todo-longest-category-name-length)
8511 (todo-make-categories-list, todo-mode-external-set)
8512 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8513 (todo-modes-set-3, todo-multiple-filter-files)
8514 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8515 (todo-read-category, todo-read-date, todo-read-dayname)
8516 (todo-read-file-name, todo-read-time)
8517 (todo-reevaluate-category-completions-files-defcustom)
8518 (todo-reevaluate-default-file-defcustom)
8519 (todo-reevaluate-filelist-defcustoms)
8520 (todo-reevaluate-filter-files-defcustom)
8521 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8522 (todo-reset-done-separator, todo-reset-done-separator-string)
8523 (todo-reset-done-string, todo-reset-global-current-todo-file)
8524 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8525 (todo-reset-prefix, todo-set-categories)
8526 (todo-set-date-from-calendar, todo-set-show-current-file)
8527 (todo-set-top-priorities, todo-short-file-name)
8528 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8529 (todo-total-item-counts, todo-update-buffer-list)
8530 (todo-update-categories-display, todo-update-categories-sexp)
8531 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8533 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8535 (todo-categories, todo-display, todo-edit, todo-faces)
8536 (todo-filtered): New defgroups.
8537 (todo-archived-only, todo-button, todo-category-string, todo-date)
8538 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8539 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8540 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8541 (todo-add-item-if-new-category, todo-always-add-time-string)
8542 (todo-categories-align, todo-categories-archived-label)
8543 (todo-categories-category-label, todo-categories-diary-label)
8544 (todo-categories-done-label, todo-categories-number-separator)
8545 (todo-categories-todo-label, todo-categories-totals-label)
8546 (todo-category-completions-files, todo-completion-ignore-case)
8547 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8548 (todo-done-separator-string, todo-done-string)
8549 (todo-files-function, todo-filter-done-items, todo-filter-files)
8550 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8551 (todo-initial-category, todo-initial-file, todo-item-mark)
8552 (todo-legacy-date-time-regexp, todo-mode-line-function)
8553 (todo-nondiary-marker, todo-number-prefix)
8554 (todo-print-buffer-function, todo-show-current-file)
8555 (todo-show-done-only, todo-show-first, todo-show-with-done)
8556 (todo-skip-archived-categories, todo-top-priorities-overrides)
8557 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8558 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8560 (todo-category-done, todo-date-pattern, todo-date-string-start)
8561 (todo-diary-items-buffer, todo-done-string-start)
8562 (todo-filtered-items-buffer, todo-item-start)
8563 (todo-month-abbrev-array, todo-month-name-array)
8564 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8565 (todo-top-priorities-buffer): New defconsts.
8566 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8567 (todo-categories-with-marks, todo-category-string-face)
8568 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8569 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8570 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8571 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8572 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8573 (todo-font-lock-keywords, todo-global-current-todo-file)
8574 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8575 (todo-insertion-commands-args)
8576 (todo-insertion-commands-args-genlist)
8577 (todo-insertion-commands-names, todo-insertion-map)
8578 (todo-key-bindings-t, todo-key-bindings-t+a)
8579 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8580 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8581 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8582 (todo-visited): New variables.
8584 2013-06-21 Glenn Morris <rgm@gnu.org>
8586 * play/cookie1.el (cookie-apropos): Add optional display argument.
8587 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8588 (psychoanalyze-pinhead): Use cookie-doctor.
8590 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8592 * emacs-lisp/package.el (tar-get-file-descriptor)
8593 (tar--extract): Declare.
8595 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8597 Extend flymake's warning predicate to be a function (bug#14217).
8598 * progmodes/flymake.el (flymake-warning-predicate): New.
8599 (flymake-parse-line): Use it.
8600 (flymake-warning-re): Make obsolete alias to
8601 `flymake-warning-predicate'.
8603 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8605 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8606 (package-obsolete-list): Remove.
8607 (package-activate): Remove min-version argument. Add `force' argument.
8608 Adjust to new package-alist format.
8609 (package-mark-obsolete): Remove.
8610 (package-unpack): Force reload of the package's autoloads.
8611 (package-installed-p): Check builtins if the installed package is not
8613 (package-initialize): Don't reset package-obsolete-list.
8614 Don't specify which package version to activate.
8615 (package-process-define-package, describe-package-1)
8616 (package-menu--generate): Adjust to new package-alist format.
8618 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8620 * allout-widgets.el (allout-widgets-mode-off)
8621 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8622 (allout-widgets-post-command-business)
8623 (allout-widgets-after-copy-or-kill-function)
8624 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8625 (allout-decorate-item-and-context)
8626 (allout-graphics-modification-handler): Fix typos in docstrings.
8627 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8629 * cmuscheme.el (scheme-start-file): Doc fix.
8630 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8631 (scheme-input-filter): Use `string-match-p'.
8633 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8635 * dired-x.el: Use Dired consistently in docstrings.
8637 * dired.el: Use Dired consistently in docstrings.
8638 (dired-readin, dired-mode): Use `setq-local'.
8639 (dired-switches-alist): Make defvar-local.
8640 (dired-buffers-for-dir): Use `zerop'.
8641 (dired-safe-switches-p, dired-switches-escape-p)
8642 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8643 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8644 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8645 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8646 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8647 (dired-toggle-marks, dired-mark-files-containing-regexp)
8648 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8649 (dired-flag-auto-save-files, dired-flag-backup-files):
8651 (dired-mark-files-regexp, dired-build-subdir-alist):
8652 Use `string-match-p', `looking-at-p'.
8654 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8655 (direct-print-region-helper): Use `string-match-p'.
8657 2013-06-21 Leo Liu <sdl.web@gmail.com>
8659 * comint.el (comint-redirect-results-list-from-process):
8662 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8664 * net/eww.el (eww-update-header-line-format): Quote % characters.
8666 2013-06-21 Glenn Morris <rgm@gnu.org>
8668 * play/cookie1.el (cookie): New custom group.
8669 (cookie-file): New option.
8670 (cookie-check-file): New function.
8671 (cookie): Make it interactive. Make start and end messages optional.
8672 Interactively, display the result. Default to cookie-file.
8673 (cookie-insert): Default to cookie-file.
8674 (cookie-snarf): Make start and end messages optional.
8675 Default to cookie-file. Use with-temp-buffer.
8676 (cookie-read): Rename from read-cookie.
8677 Make start and end messages optional. Default to cookie-file.
8678 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8680 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8681 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8683 2013-06-21 Leo Liu <sdl.web@gmail.com>
8685 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8687 2013-06-21 Glenn Morris <rgm@gnu.org>
8689 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8691 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8692 Daniel Hackney <dan@haxney.org>
8694 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8695 Consolidate the single-file vs tarball code.
8696 (package-desc-suffix): New function.
8697 (package-desc-full-name): Don't bother inlining it.
8698 (package-load-descriptor): Return the new package-desc.
8699 (package-mark-obsolete): Remove unused arg `package'.
8700 (package-unpack): Make it work for single files as well.
8701 Make it update package-alist.
8702 (package--make-autoloads-and-stuff): Rename from
8703 package--make-autoloads-and-compile. Don't compile any more.
8704 (package--compile): New function.
8705 (package-generate-description-file): New function, extracted from
8706 package-unpack-single.
8707 (package-unpack-single): Remove.
8708 (package--with-work-buffer): Add indentation and debugging info.
8709 (package-download-single): Remove.
8710 (package-install-from-archive): Rename from package-download-tar, make
8711 it take a pkg-desc, and make it work for single files as well.
8712 (package-download-transaction): Simplify.
8713 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8714 external tar program.
8715 (package-install-from-buffer): Remove `pkg-desc' argument.
8716 Use package-tar-file-info for tar-mode buffers.
8717 (package-install-file): Simplify accordingly.
8718 (package-archive-base): Change to take a pkg-desc.
8719 * tar-mode.el (tar--check-descriptor): New function, extracted from
8721 (tar-get-descriptor): Use it.
8722 (tar-get-file-descriptor): New function.
8723 (tar--extract): New function, extracted from tar-extract.
8724 (tar--extract): Use it.
8725 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8726 case the summary uses non-ascii. Adjust to new calling convention of
8727 package-tar-file-info.
8729 2013-06-21 Leo Liu <sdl.web@gmail.com>
8731 * comint.el (comint-redirect-results-list-from-process):
8732 Fix random delay. (Bug#14681)
8734 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8736 * profiler.el (profiler-format-number): Use log, not log10.
8738 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8740 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8742 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8744 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8745 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8747 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8748 (AUTOGENEL): ... here.
8749 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8750 (cl--defsubst-expand): Use it.
8752 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8754 * subr.el (log10): Move here from C code, and declare as obsolete.
8755 All uses of (log10 X) replaced with (log X 10).
8757 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8759 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8760 Declare with `defvar-local'.
8761 (tabulated-list-use-header-line, tabulated-list-entries)
8762 (tabulated-list-padding, tabulated-list-printer)
8763 (tabulated-list-sort-key): Declare with `defvar-local'.
8764 (tabulated-list-init-header, tabulated-list-print-fake-header):
8767 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8769 * arc-mode.el (archive-mode): Add `archive-write-file' to
8770 `write-contents-functions' also for remote files. (Bug#14652)
8772 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8774 * cus-edit.el (custom-commands): Fix typos.
8775 (custom-display): Fix tooltip text.
8776 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8777 Fix typos in docstrings.
8778 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8779 (custom-unlispify-menu-entry, custom-magic-value-create)
8780 (custom-add-see-also, custom-group-value-create): Use ?\s.
8781 (custom-guess-type, customize-apropos, editable-field)
8782 (custom-face-value-create): Use `string-match-p'.
8783 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8785 * custom.el (custom-load-symbol): Use `string-match-p'.
8787 * ansi-color.el: Convert to lexical binding.
8788 (ansi-colors): Fix URL.
8789 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8790 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8791 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8793 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8797 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8799 2013-06-19 Tom Tromey <tromey@redhat.com>
8801 * net/eww.el (eww-top-url): Remove.
8802 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8803 (eww-render): Set new variables. Don't set eww-top-url.
8804 (eww-handle-link): Handle "prev", "home", and "contents".
8805 Downcase the rel text.
8806 (eww-top-url): Choose best top URL.
8808 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8810 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8811 relying in widget.el. Using widget.el leads to too many
8812 user interface inconsistencies.
8813 (eww-self-insert): Implement entering commands in text fields.
8814 (eww-process-text-input): New function to make text input field editing
8816 (eww-submit): Rewrite to use the new-style form methods.
8817 (eww-select-display): Display the correct selected item.
8818 (eww-change-select): Implement changing the select value.
8819 (eww-toggle-checkbox): Implement radio/checkboxes.
8820 (eww-update-field): Fix compilation error.
8821 (eww-tag-textarea): Implement <textarea>.
8823 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8824 we don't shadow mode-specific bindings.
8826 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8829 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8831 2013-06-19 Glenn Morris <rgm@gnu.org>
8833 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8835 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8837 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8840 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8842 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8844 * net/browse-url.el (browse-url-browser-function):
8845 `eww-browse-url' has the right calling signature, `eww' does not.
8847 2013-06-19 Glenn Morris <rgm@gnu.org>
8849 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8850 Only eval autoloaded macros.
8851 (byte-compile-autoload): Only give the macro warning for macros.
8853 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8854 (ps-underlined-faces): Declare.
8856 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8857 (speedbar-add-supported-extension): Declare.
8859 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8860 Don't include a date stamp in the header of the generated file;
8861 it leads to needless differences between output files.
8863 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8865 * net/secrets.el (secrets-struct-secret-content-type):
8866 Replace check of introspection data by a test call of "CreateItem".
8867 Some servers do not offer introspection.
8869 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * electric.el (electric-pair-mode): Improve interaction with
8872 electric-layout-mode.
8873 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8874 (electric-pair-syntax): Use text-mode-syntax-table in comments
8876 (electric-pair--insert): New function.
8877 (electric-pair-post-self-insert-function): Use it and
8878 electric--after-char-pos.
8880 2013-06-19 Leo Liu <sdl.web@gmail.com>
8882 * progmodes/octave.el (octave-help): Fix regexp.
8884 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8887 (shr-table-horizontal-line): Allow nil as a value, and change the
8889 (shr-insert-table-ruler): Respect the nil value.
8891 2013-06-18 Tom Tromey <tromey@barimba>
8893 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8895 (eww-open-file): New defun.
8896 (eww-render): Initialize new variables.
8897 (eww-display-html): Handle "link" and "a".
8898 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8899 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8900 (eww-back-url): Rename from eww-previous-url.
8901 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8904 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8906 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8907 Distinguish ternary operator tokens from slash symbol and slash
8910 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8912 Convert symbol prettification into minor mode and global minor mode.
8914 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8915 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8916 (prettify-symbols--keywords): Rename from
8917 `prog-prettify-symbols-alist' and make a local defvar.
8918 (prettify-symbols--compose-symbol): Rename from
8919 `prog--prettify-font-lock-compose-symbol'.
8920 (prettify-symbols--make-keywords): Rename from
8921 `prog-prettify-font-lock-symbols-keywords' and simplify.
8922 (prog-prettify-install): Remove.
8923 (prettify-symbols-mode): New minor mode, based on
8924 `prog-prettify-install'.
8925 (turn-on-prettify-symbols-mode): New function.
8926 (global-prettify-symbols-mode): New globalized minor mode.
8928 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8929 * progmodes/cfengine.el (cfengine3-mode):
8930 * progmodes/perl-mode.el (perl-mode): Don't call
8931 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8933 2013-06-18 Juri Linkov <juri@jurta.org>
8935 * files-x.el (modify-file-local-variable-message): New function.
8936 (modify-file-local-variable)
8937 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8938 and call `modify-file-local-variable-message' when it's non-nil.
8939 (add-file-local-variable, delete-file-local-variable)
8940 (add-file-local-variable-prop-line)
8941 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8942 and use it. (Bug#9820)
8944 2013-06-18 Juri Linkov <juri@jurta.org>
8946 * emulation/vi.el (vi-shell-op):
8947 * emulation/vip.el (vip-execute-com, ex-command):
8948 * emulation/viper-cmd.el (viper-exec-bang):
8949 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8950 the call of `shell-command-on-region'. (Bug#14637)
8952 * simple.el (shell-command-on-region): Doc fix.
8954 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8959 2013-06-18 Glenn Morris <rgm@gnu.org>
8961 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8963 * newcomment.el (comment-search-forward, comment-search-backward):
8964 Doc fix. (Bug#14376)
8966 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8968 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8969 (buffer-face-mode-invoke): Doc fix.
8971 2013-06-18 Matthias Meulien <orontee@gmail.com>
8973 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8974 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8976 2013-06-18 Glenn Morris <rgm@gnu.org>
8978 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8979 Replace obsolete function generic-make-keywords with its expansion.
8981 * progmodes/python.el (ffap-alist): Declare.
8983 * textmodes/reftex.el (bibtex-mode-map): Declare.
8985 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8987 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8988 (package-unpack, package-unpack-single): Return the pkg-dir.
8989 (package-download-transaction): Use it to update package-alist.
8991 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8993 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8996 2013-06-17 Juri Linkov <juri@jurta.org>
8998 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9000 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9002 * emacs-lisp/package.el (package-load-descriptor):
9003 Remove `with-syntax-table' call, `read' doesn't need it.
9004 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9006 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9008 * startup.el (command-line): Expand package name returned by
9009 `package--description-file' (bug#14639).
9011 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9013 * emacs-lisp/package.el (package-load-descriptor): Do not call
9014 `emacs-lisp-mode', just use its syntax table.
9016 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9018 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9019 `font-lock-extra-managed-props' if any prettifying keyword is added.
9020 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9021 (prog-mode): Use `setq-local'.
9023 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9025 * international/characters.el (standard-case-table): Set syntax of ?»
9026 and ?« to punctuation.
9028 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9030 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9031 Save relevant match data before calling `syntax-ppss' (bug#14595).
9033 2013-06-15 Juri Linkov <juri@jurta.org>
9035 * files-x.el (modify-file-local-variable-prop-line): Add local
9036 variables to the end of the existing comment on the first line.
9037 Use `file-auto-mode-skip' to skip interpreter magic line,
9038 and also skip XML declaration.
9040 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9042 * startup.el (package--builtin-versions): New var.
9043 (package-subdirectory-regexp): Remove.
9044 (package--description-file): Hard code its value instead.
9046 * emacs-lisp/package.el: Don't activate packages older than builtin.
9047 (package-obsolete-list): Rename from package-obsolete-alist, and make
9048 it into a simple list of package-desc.
9049 (package-strip-version): Remove.
9050 (package-built-in-p): Use package--builtin-versions.
9051 (package-mark-obsolete): Simplify.
9052 (package-process-define-package): Mark it obsolete if older than the
9054 (package-handle-response): Use line-end-position.
9055 (package-read-archive-contents, package--download-one-archive):
9057 (package--add-to-archive-contents): Skip if older than the builtin or
9059 (package-menu-describe-package): Fix last change.
9060 (package-list-unversioned): New var.
9061 (package-menu--generate): Use it.
9063 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9064 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9065 (autoload-builtin-package-versions): New variable.
9066 (autoload-generate-file-autoloads): Use them.
9067 Remove the list of autoloaded functions/macros from the
9068 (autoload...) comments.
9070 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9072 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9074 * simple.el (line-move-partial): Don't jump to the next screen
9075 line as soon as it becomes visible. Instead, continue enlarging
9076 the vscroll until the portion of a tall screen line that's left on
9077 display is about the height of the frame's default font.
9080 2013-06-15 Glenn Morris <rgm@gnu.org>
9082 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9083 compilation-error-regexp-alist void, or local while let-bound.
9085 * progmodes/make-mode.el (makefile-mode-syntax-table):
9086 Treat "=" as punctuation. (Bug#14614)
9088 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9090 * help-fns.el (describe-variable):
9091 Add extra line for permanent-local variables.
9093 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9095 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9096 Add export, import, library. (Bug#9164)
9097 (library): Set indent function.
9099 2013-06-14 Glenn Morris <rgm@gnu.org>
9101 * term/xterm.el (xterm--query):
9102 Stop after first matching handler. (Bug#14615)
9104 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9106 Add support for dired in saveplace.
9107 * dired.el (dired-initial-position-hook): New variable.
9108 (dired-initial-position): Call hook to place cursor position.
9109 * saveplace.el (save-place-to-alist): Add dired position.
9110 (save-place-dired-hook): New function.
9112 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9114 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9115 through a symbol rather than letrec.
9117 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9118 (package-desc): Add `dir' field.
9119 (package-desc-full-name): New function.
9120 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9121 (package-maybe-load-descriptor): Remove.
9122 (package-load-all-descriptors): Just call package-load-descriptor.
9123 (package--disabled-p): New function.
9124 (package-desc-vers, package-desc-doc): Remove aliases.
9125 (package--dir): Remove function.
9126 (package-activate): Check if a package is disabled.
9127 (package-process-define-package): New function, extracted from
9129 (define-package): Turn into a place holder.
9130 (package-unpack-single, package-tar-file-info):
9131 Use package--description-file.
9132 (package-compute-transaction): Use package--disabled-p.
9133 (package-download-transaction): Don't call
9134 package-maybe-load-descriptor since they're all loaded anyway.
9135 (package-install): Change argument to be a pkg-desc.
9136 (package-delete): Use a single pkg-desc argument.
9137 (describe-package-1): Use package-desc-dir instead of package--dir.
9138 Use package-desc property instead of package-symbol.
9139 (package-install-button-action): Adjust accordingly.
9140 (package--push): Rewrite.
9141 (package-menu--print-info): Adjust accordingly. Change the ID format
9143 (package-menu-describe-package, package-menu-get-status)
9144 (package-menu--find-upgrades, package-menu-mark-upgrades)
9145 (package-menu-execute, package-menu--name-predicate):
9147 * startup.el (package--description-file): New function.
9148 (command-line): Use it.
9149 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9150 Use package-desc-version.
9152 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9153 (byte-compile-preprocess): Use it.
9154 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9155 can't quite recognize.
9156 (byte-compile-add-to-list): Remove.
9157 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9158 (cconv-closure-convert): Add assertion.
9160 * emacs-lisp/map-ynp.el: Use lexical-binding.
9161 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9162 Factor out some repeated code.
9164 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9166 * subr.el (with-eval-after-load): New macro.
9167 (eval-after-load): Allow form to be a function.
9168 take advantage of lexical-binding.
9169 (do-after-load-evaluation): Use dolist and adjust to new format.
9170 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9172 2013-06-13 Juri Linkov <juri@jurta.org>
9174 * replace.el (perform-replace): Display "symbol " and other search
9175 modes from `isearch-message-prefix' in the *Help* buffer.
9177 * isearch.el (isearch-query-replace): Add " symbol" and other
9178 possible search modes from `isearch-message-prefix' to the prompt.
9179 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9180 when reading a regexp to collect.
9182 2013-06-13 Juri Linkov <juri@jurta.org>
9184 * isearch.el (word-search-regexp): Match whitespace if the search
9185 string begins or ends in whitespace. The LAX arg is applied to
9186 both ends of the search string. Use `regexp-quote' and explicit
9187 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9188 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9189 boundaries are replaced with symbol boundaries, and characters
9190 between symbols match non-word non-symbol syntax. (Bug#14602)
9192 2013-06-13 Juri Linkov <juri@jurta.org>
9194 * isearch.el (isearch-del-char): Don't exceed the length of
9195 `isearch-string' by the prefix arg. (Bug#14563)
9197 2013-06-13 Juri Linkov <juri@jurta.org>
9199 * isearch.el (isearch-yank-word, isearch-yank-line)
9200 (isearch-char-by-name, isearch-quote-char)
9201 (isearch-printing-char, isearch-process-search-char):
9202 Add optional count prefix arg. (Bug#14563)
9204 * international/isearch-x.el
9205 (isearch-process-search-multibyte-characters):
9206 Add optional count prefix arg.
9208 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9210 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9211 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9214 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9216 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9218 2013-06-13 Glenn Morris <rgm@gnu.org>
9220 * startup.el (tty-handle-args):
9221 Don't just discard "--" and anything after. (Bug#14608)
9223 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9225 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9227 Implement changes in Secret Service API. Make it backward compatible.
9228 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9229 (secrets-create-item): Use it. Prefix properties with interface.
9231 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9233 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9234 (term-emulate-terminal): Respect term-suppress-hard-newline.
9236 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9238 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9239 Only remove a `thumb-file' overlay. (Bug#14548)
9241 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9243 * mail/reporter.el (reporter-submit-bug-report):
9244 Handle missing package-name. (Bug#14600)
9246 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9248 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9249 (reftex-citation-prompt, reftex-default-bibliography)
9250 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9251 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9252 (reftex-bib-sort-author, reftex-bib-sort-year)
9253 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9254 (reftex-extract-bib-entries-from-thebibliography)
9255 (reftex-get-bibkey-default, reftex-get-bib-names)
9256 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9257 (reftex-format-bib-entry, reftex-parse-bibitem)
9258 (reftex-format-bibitem, reftex-do-citation)
9259 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9260 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9261 (reftex-insert-bib-matches, reftex-format-citation)
9262 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9263 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9264 existing comments into docstrings.
9266 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9268 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9270 2013-06-12 Andreas Schwab <schwab@suse.de>
9272 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9273 for auto-save files.
9275 2013-06-12 Glenn Morris <rgm@gnu.org>
9277 * ido.el (ido-delete-ignored-files): Remove.
9278 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9279 Go back to calling ido-ignore-item-p directly.
9281 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9283 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9285 * ido.el (ido-delete-ignored-files): New function,
9286 split from ido-make-file-list-1.
9287 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9288 (ido-make-file-list-1): Use ido-delete-ignored-files.
9290 2013-06-12 Leo Liu <sdl.web@gmail.com>
9292 * progmodes/octave.el (inferior-octave-startup)
9293 (inferior-octave-completion-table)
9294 (inferior-octave-track-window-width-change)
9295 (octave-eldoc-function-signatures, octave-help)
9296 (octave-find-definition): Use single quoted strings.
9297 (inferior-octave-startup-args): Change default value.
9298 (inferior-octave-startup): Do not hard code "-i" and
9299 "--no-line-editing".
9300 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9301 (inferior-octave-directory-tracker): Use it.
9302 (octave-goto-function-definition): Robustify.
9303 (octave-help): Support highlighting operators in 'See also'.
9304 (octave-find-definition): Find subfunctions only in Octave mode.
9306 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9308 * help-fns.el (help-fns--compiler-macro): If the handler function is
9309 named, then put a link to it.
9310 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9311 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9313 (cl-eval-when): Simplify debug spec.
9314 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9315 compiler-macro function instead of setting `compiler-macro-file'.
9317 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9319 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9320 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9322 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9323 Daniel Hackney <dan@haxney.org>
9325 First part of Daniel Hackney's patch to package.el.
9326 * emacs-lisp/package.el: Use defstruct.
9327 (package-desc): New, main struct.
9328 (package--bi-desc, package--ac-desc): New structs, used to describe the
9329 format in external files.
9330 (package-desc-vers): Replace with package-desc-version accessor.
9331 (package-desc-doc): Replace with package-desc-summary accessor.
9332 (package-activate-1): Remove `package' arg since the pkg-vec now
9334 (define-package): Use package-desc-from-define.
9335 (package-unpack-single): Change file-name arg to be a symbol.
9336 (package--add-to-archive-contents): Use package-desc-create and new
9337 accessor functions to package--ac-desc.
9338 (package-buffer-info, package-tar-file-info): Return a package-desc.
9339 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9340 arg to be a package-desc.
9341 (package-install-file): Adjust accordingly. Use \' to match EOS.
9342 (package--from-builtin): New function.
9343 (describe-package-1, package-menu--generate): Use it.
9344 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9345 (package-generate-autoloads): Idem and return the name of the file.
9346 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9347 Change pkg-info arg to be a package-desc.
9348 Use package-make-ac-desc.
9349 (package-upload-file): Use \' to match EOS.
9350 * finder.el (finder-compile-keywords): Use package-make-builtin.
9352 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * vc/vc.el (vc-deduce-fileset): Change error message.
9355 (vc-read-backend): New function.
9356 (vc-next-action): Use it.
9358 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9360 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9361 (prolog-font-lock-keywords): Use regexp-opt instead.
9362 Don't manually highlight strings.
9363 (prolog-mode-variables): Simplify comment-start-skip.
9364 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9366 * emacs-lisp/generic.el (generic--normalise-comments)
9367 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9368 (generic-mode-set-comments): Use them.
9369 (generic-bracket-support): Use setq-local.
9370 (generic-make-keywords-list): Declare obsolete.
9372 2013-06-11 Glenn Morris <rgm@gnu.org>
9374 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9375 Prettify after setting font-lock-defaults. (Bug#14574)
9377 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9379 * replace.el (query-replace, occur-read-regexp-defaults-function)
9381 * subr.el (declare-function, number-sequence, local-set-key)
9382 (substitute-key-definition, locate-user-emacs-file)
9383 (with-silent-modifications, split-string, eval-after-load):
9384 Fix typos, remove unneeded backslashes and reflow some docstrings.
9386 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9388 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9389 default for Elisp files.
9391 2013-06-11 Glenn Morris <rgm@gnu.org>
9393 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9394 although define-derived-mode was doing this anyway. (Bug#14583)
9396 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9398 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9399 Fix make-variable-buffer-local call to refer to the correct variable.
9401 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9403 * eshell/em-term.el (eshell-visual-commands)
9404 (eshell-visual-subcommands, eshell-visual-options):
9405 Add summary line to docstrings. Add cross-references.
9407 2013-06-10 Glenn Morris <rgm@gnu.org>
9409 * epa.el (epa-read-file-name): New function. (Bug#14510)
9410 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9412 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9414 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9415 output redirection to be ignored with visual commands.
9417 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9419 * eshell/em-term.el (eshell-visual-command-p): New function.
9420 (eshell-term-initialize): Move long lambda to separate function
9421 eshell-visual-command-p.
9422 * eshell/em-dirs.el (eshell-dirs-initialise):
9423 * eshell/em-script.el (eshell-script-initialize):
9424 Add missing #' to lambda.
9426 2013-06-08 Leo Liu <sdl.web@gmail.com>
9428 * progmodes/octave.el (octave-add-log-current-defun): New function.
9429 (octave-mode): Set add-log-current-defun-function.
9430 (octave-goto-function-definition): Do not move point if not found.
9431 (octave-find-definition): Enhance to try subfunctions first.
9433 2013-06-08 Glenn Morris <rgm@gnu.org>
9435 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9436 (byte-compile-backward-char, byte-compile-backward-word):
9437 Improve previous change, to handle non-explicit nil.
9439 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9441 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9442 (smie--opener/closer-at-point): New function.
9443 (smie--matching-block-data): Use it. Don't match from right after an
9444 opener or right before a closer. Obey smie-blink-matching-inners.
9445 Don't signal a mismatch for repeated inners like "switch..case..case".
9447 2013-06-07 Leo Liu <sdl.web@gmail.com>
9449 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9451 (octave-function-header-regexp): Fix. (Bug#14570)
9452 (octave-help-mode-finish-hook, octave-help-mode-finish):
9453 Remove. Just use temp-buffer-show-hook.
9455 * newcomment.el (comment-search-backward): Revert last change.
9458 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9460 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9462 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9463 through xargs, to avoid failure due to MS-Windows limitations on
9464 command-line length.
9466 2013-06-06 Glenn Morris <rgm@gnu.org>
9468 * font-lock.el (lisp-font-lock-keywords-2):
9469 Treat user-error like error.
9471 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9472 (byte-compile-backward-char, byte-compile-backward-word):
9473 Handle explicit nil arguments. (Bug#14565)
9475 2013-06-05 Alan Mackenzie <acm@muc.de>
9477 * isearch.el (isearch-allow-prefix): New user option.
9478 (isearch-other-meta-char): Don't exit isearch when a prefix
9479 argument is typed whilst `isearch-allow-prefix' is non-nil.
9482 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * autorevert.el (auto-revert-notify-handler): Use memq.
9485 Hide assertion failure.
9487 * skeleton.el: Use cl-lib.
9488 (skeleton-further-elements): Use defvar-local.
9489 (skeleton-insert): Use cl-progv.
9491 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9493 * progmodes/prog-mode.el (prog-prettify-symbols)
9494 (prog-prettify-install): Update docstrings.
9496 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9498 * simple.el: Move all the prog-mode code to prog-mode.el.
9499 * progmodes/prog-mode.el: New file.
9500 * loadup.el: Add prog-mode.el.
9502 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9504 * simple.el (prog-prettify-symbols): Add version.
9505 (prog-prettify-install): Add convenience function to prettify symbols.
9507 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9508 (perl--augmented-font-lock-keywords-1)
9509 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9510 variables and use it.
9512 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9513 (cfengine3-mode): Remove unneeded variable and use it.
9515 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9516 (lisp--augmented-font-lock-keywords-1)
9517 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9518 Remove unneeded variables and use it.
9520 2013-06-05 João Távora <joaotavora@gmail.com>
9522 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9523 to point when opening the connection. (Bug#14380)
9525 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9527 * subr.el (load-history-regexp, load-history-filename-element)
9528 (eval-after-load, after-load-functions, do-after-load-evaluation)
9529 (eval-next-after-load, display-delayed-warnings)
9530 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9531 definition of save-match-data.
9532 (overriding-local-map): Remove accidental obsolescence declaration.
9534 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9536 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9538 Generalize symbol prettify support to prog-mode and implement it
9539 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9540 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9541 (prog--prettify-font-lock-compose-symbol)
9542 (prog-prettify-font-lock-symbols-keywords): New variables and
9543 functions to support symbol prettification.
9544 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9545 (lisp--augmented-font-lock-keywords-1)
9546 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9547 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9548 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9549 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9550 Implement prettify of -> => :: strings.
9551 * progmodes/perl-mode.el (perl-prettify-symbols)
9552 (perl--font-lock-compose-symbol)
9553 (perl--font-lock-symbols-keywords): Move to prog-mode.
9554 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9555 (perl-font-lock-keywords-1)
9556 (perl-font-lock-keywords-2): Remove explicit prettify support.
9557 (perl--augmented-font-lock-keywords)
9558 (perl--augmented-font-lock-keywords-1)
9559 (perl--augmented-font-lock-keywords-2, perl-mode):
9560 Implement prettify support.
9562 2013-06-05 Leo Liu <sdl.web@gmail.com>
9564 Re-implement smie matching block highlight using
9565 show-paren-data-function. (Bug#14395)
9566 * emacs-lisp/smie.el (smie-matching-block-highlight)
9567 (smie--highlight-matching-block-overlay)
9568 (smie--highlight-matching-block-lastpos)
9569 (smie-highlight-matching-block)
9570 (smie-highlight-matching-block-mode): Remove.
9571 (smie--matching-block-data-cache): New variable.
9572 (smie--matching-block-data): New function.
9573 (smie-setup): Use smie--matching-block-data for
9574 show-paren-data-function.
9576 * progmodes/octave.el (octave-mode-menu): Fix.
9577 (octave-find-definition): Skip garbage lines.
9579 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9581 Fix compilation error with simultaneous dynamic+lexical scoping.
9582 Add warning when a defvar appears after the first let-binding.
9583 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9584 (byte-compile-close-variables): Initialize it.
9585 (byte-compile--declare-var): New function.
9586 (byte-compile-file-form-defvar)
9587 (byte-compile-file-form-define-abbrev-table)
9588 (byte-compile-file-form-custom-declare-variable): Use it.
9589 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9590 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9591 (byte-compile-bind): Handle dynamic bindings that shadow
9593 (byte-compile-unbind): Make arg non-optional.
9594 (byte-compile-let): Simplify.
9595 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9596 (cconv--analyse-function, cconv-analyse-form): Populate it.
9597 Protect byte-compile-bound-variables to limit the scope of defvars.
9598 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9599 Remove unneeded rule for `declare'.
9601 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9602 so as to avoid depending on cl-adjoin at run-time.
9603 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9605 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9606 (macroexp--warn-and-return): Use it.
9608 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9610 * subr.el: Convert to lexical binding.
9611 (overriding-local-map): Make obsolete.
9612 (add-to-list): Doc fix. Add compiler macro.
9613 (read-key): Swap values of local maps.
9615 2013-06-05 Leo Liu <sdl.web@gmail.com>
9617 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9619 2013-06-04 Leo Liu <sdl.web@gmail.com>
9621 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9622 (compilation-auto-jump): Suppress the "Mark set" message to give
9623 way to exit message.
9625 2013-06-04 Alan Mackenzie <acm@muc.de>
9627 Remove faulty optimisation from indentation calculation.
9628 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9629 search limit based on 2000 characters back from indent-point.
9631 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9633 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9635 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9637 * emacs-lisp/lisp.el: Use lexical-binding.
9638 (lisp--local-variables-1, lisp--local-variables): New functions.
9639 (lisp--local-variables-completion-table): New var.
9640 (lisp-completion-at-point): Use it complete let-bound vars.
9642 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9643 eagerly (bug#14422).
9645 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9647 * autorevert.el (auto-revert-notify-enabled)
9648 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9649 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9650 (auto-revert-notify-handler): Handle also gfilenotify.
9652 * subr.el (file-notify-handle-event): New defun. Replacing ...
9653 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9656 2013-06-03 Juri Linkov <juri@jurta.org>
9658 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9659 `M-s h .'. (Bug#14427)
9661 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9662 command `hi-lock-face-symbol-at-point'.
9663 (hi-lock-face-symbol-at-point): New command.
9664 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9665 (hi-lock-menu): Add `highlight-symbol-at-point'.
9666 (hi-lock-mode): Doc fix.
9668 * isearch.el (isearch-forward-symbol-at-point): New command.
9669 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9670 (isearch-highlight-regexp): Add a regexp which matches
9671 words/symbols for word/symbol mode.
9673 * subr.el (find-tag-default-bounds): New function with the body
9674 mostly moved from `find-tag-default'.
9675 (find-tag-default): Move most code to `find-tag-default-bounds',
9676 call it and apply `buffer-substring-no-properties' afterwards.
9678 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9680 * eshell/em-term.el (eshell-term-initialize):
9681 Use `cl-intersection' rather than `intersection'.
9683 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9685 * vc/log-view.el: Doc fix.
9686 (log-view-mode-map): Copy keymap from `special-mode-map'.
9688 2013-06-02 Eric Ludlam <zappo@gnu.org>
9690 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9691 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9692 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9693 (eieio-unbound, eieio-default-superclass)
9694 (eieio--define-field-accessors, method-static, method-before)
9695 (method-primary, method-after, method-num-lists)
9696 (method-generic-before, method-generic-primary)
9697 (method-generic-after, method-num-slots)
9698 (eieio-specialized-key-to-generic-key)
9699 (eieio--check-type, class-v, class-p)
9700 (eieio-class-name, define-obsolete-function-alias)
9701 (eieio-class-parents-fast, eieio-class-children-fast)
9702 (same-class-fast-p, class-constructor, generic-p)
9703 (generic-primary-only-p, generic-primary-only-one-p)
9704 (class-option-assoc, class-option, eieio-object-p)
9705 (class-abstract-p, class-method-invocation-order)
9706 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9707 (eieio-class-un-autoload, eieio-defclass)
9708 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9709 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9710 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9711 (eieio-defgeneric-reset-generic-form)
9712 (eieio-defgeneric-form-primary-only)
9713 (eieio-defgeneric-reset-generic-form-primary-only)
9714 (eieio-defgeneric-form-primary-only-one)
9715 (eieio-defgeneric-reset-generic-form-primary-only-one)
9716 (eieio-unbind-method-implementations)
9717 (eieio--defmethod, eieio--typep)
9718 (eieio-perform-slot-validation, eieio-validate-slot-value)
9719 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9720 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9721 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9722 (eieio-slot-name-index, eieio-class-slot-name-index)
9723 (eieio-set-defaults, eieio-initarg-to-attribute)
9724 (eieio-attribute-to-initarg, eieio-c3-candidate)
9725 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9726 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9727 (eieio-class-precedence-list, eieio-generic-call-methodname)
9728 (eieio-generic-call-arglst, eieio-generic-call-key)
9729 (eieio-generic-call-next-method-list)
9730 (eieio-pre-method-execution-functions, eieio-generic-call)
9731 (eieio-generic-call-primary-only, eieiomt-method-list)
9732 (eieiomt-optimizing-obarray, eieiomt-install)
9733 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9734 (eieio-generic-form, eieio-defmethod, make-obsolete)
9735 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9736 (defclass): Remove `eval-and-compile' from macro.
9737 (call-next-method, shared-initialize): Instead of using
9738 `scoped-class' variable, use new eieio--scoped-class, and
9739 eieio--with-scoped-class.
9740 (initialize-instance): Rename local variable 'scoped-class' to
9741 'this-class' to remove ambiguitity from old global.
9743 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9745 (eieio--scoped-class-stack): New variable.
9746 (eieio--scoped-class): New fcn.
9747 (eieio--with-scoped-class): New scoping macro.
9748 (eieio-defclass): Use pushnew instead of add-to-list.
9749 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9750 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9751 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9752 `scoped-class' variable, use new eieio--scoped-class, and
9753 eieio--with-scoped-class.
9755 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9757 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9759 * eshell/esh-ext.el (eshell-external-command): Pass args to
9760 `eshell-find-interpreter'.
9761 (eshell-find-interpreter): Add new second parameter ARGS.
9763 * eshell/em-script.el (eshell-script-initialize): Add second arg
9764 to the function added as MATCH to `eshell-interpreter-alist'.
9766 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9767 the function added as MATCH to `eshell-interpreter-alist'.
9769 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9770 (eshell-visual-options): New defcustom.
9771 (eshell-escape-control-x): Adapt docstring.
9772 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9773 `eshell-visual-options' in addition to `eshell-visual-commands'.
9774 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9776 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9778 * progmodes/python.el (python-indent-block-enders): Add break,
9779 continue and raise keywords.
9781 2013-06-01 Glenn Morris <rgm@gnu.org>
9783 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9785 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9786 * progmodes/cc-cmds.el (delete-forward-p):
9787 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9788 * progmodes/cc-engine.el (buffer-syntactic-context):
9789 * progmodes/cc-fonts.el (face-property-instance):
9790 * progmodes/cc-mode.el (set-keymap-parents):
9791 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9792 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9793 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9794 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9795 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9797 * progmodes/cc-vars.el (other): Emacs has this widget since
9798 at least 21.1, so don't (re)define it.
9800 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9801 Replace the obsolete alias pcomplete-arg-quote-list.
9803 2013-06-01 Leo Liu <sdl.web@gmail.com>
9805 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9807 (inferior-octave-minimal-columns)
9808 (inferior-octave-last-column-width): New variables.
9809 (inferior-octave-track-window-width-change): New function.
9810 (inferior-octave-mode): Adjust column width so that Octave output,
9811 for example from 'ls', can fit into the window nicely.
9813 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9815 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9816 Highlight expansions inside regexp literals.
9818 2013-05-31 Glenn Morris <rgm@gnu.org>
9820 * obsolete/sym-comp.el (symbol-complete):
9821 Replace obsolete completion-annotate-function.
9823 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9825 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9827 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9828 New function, checks if point is inside a literal that allows
9829 expression expansion.
9830 (ruby-syntax-propertize-expansion): Use it.
9831 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9834 2013-05-30 Juri Linkov <juri@jurta.org>
9836 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9838 (isearch-invisible): New variable.
9839 (isearch-forward): Doc fix.
9840 (isearch-mode): Set `isearch-invisible'
9841 to the value of `search-invisible'.
9842 (isearch-toggle-case-fold): Doc fix.
9843 (isearch-toggle-invisible): New command.
9844 (isearch-query-replace): Let-bind `search-invisible'
9845 to the value of `isearch-invisible'.
9846 (isearch-search): Use `isearch-invisible' instead of
9847 `search-invisible'. Let-bind `search-invisible'
9848 to the value of `isearch-invisible'. (Bug#11378)
9850 2013-05-30 Juri Linkov <juri@jurta.org>
9852 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9853 call when `query-flag' is nil and `search-invisible' is non-nil.
9856 2013-05-30 Glenn Morris <rgm@gnu.org>
9858 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9860 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9861 (cc-require): Suppress spurious "noruntime" warnings.
9862 (cc-require-when-compile): Use fboundp, for sake of compiler.
9864 * progmodes/cc-mode.el: Move load of cc-vars before that of
9865 cc-langs (which in turn loads cc-vars), to quieten compiler.
9867 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9869 * paren.el: Simplify the code.
9870 (show-paren-mode): Always start the timer.
9871 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9872 (show-paren--overlay, show-paren--overlay-1): Rename from
9873 show-paren-overlay and show-paren-overlay-1, and initialize to an
9874 overlay rather than to nil.
9875 (show-paren-function): Misc cleanup and simplifications.
9877 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9879 * paren.el (show-paren-data-function): New hook.
9880 (show-paren--default): New function, extracted from show-paren-function.
9881 (show-paren-function): Use show-paren-data-function.
9883 2013-05-30 Glenn Morris <rgm@gnu.org>
9885 * ielm.el (ielm-map, ielm-complete-symbol):
9886 Use completion-at-point rather than obsolete functions.
9887 (inferior-emacs-lisp-mode): Doc fix.
9888 Set completion-at-point-functions, rather than
9889 comint-dynamic-complete-functions.
9891 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9892 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9893 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9895 * image.el (image-animated-p): Tweak definition.
9897 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9898 (rlogin-process-connection-type): Tweak default. Add set-after.
9899 (rlogin-host): Doc fix.
9900 (rlogin): Tweak prompt.
9901 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9903 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9904 * progmodes/tcl.el (inferior-tcl-mode-map):
9905 Use completion-at-point rather than obsolete alias.
9907 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9909 * minibuffer.el (read-file-name-completion-ignore-case):
9910 Move before completion--in-region, for eager macro expansion.
9912 2013-05-29 Juri Linkov <juri@jurta.org>
9914 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9915 for total count of matching lines. Add `global-matches' for total
9916 count of matches. Rename `matches' to `lines' for count of
9917 matching lines. Add `matches' for count of matches.
9918 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9919 to `prev-line' for line number of prev match endpt.
9920 Increment `matches' for every match. Print the number of
9921 matching lines in the header.
9922 (occur-context-lines): Rename `lines' to `curr-line'.
9923 Rename `prev-lines' to `prev-line'. (Bug#14017)
9925 2013-05-29 Juri Linkov <juri@jurta.org>
9927 * replace.el (perform-replace): Add `skip-read-only-count',
9928 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9929 Increment them for corresponding conditions and report the number
9930 of skipped occurrences in the final message. (Bug#11746)
9931 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9932 (replace-string, replace-regexp): Doc fix.
9934 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9936 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9938 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9939 prog-mode-map (bug#14504).
9941 2013-05-29 Leo Liu <sdl.web@gmail.com>
9943 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9944 (octave-help): Small simplification.
9946 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9947 off the highlight first.
9949 2013-05-29 Glenn Morris <rgm@gnu.org>
9951 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9952 Handle idlwave-last-system-routine-info-cons-cell being nil.
9954 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9955 (idlwave-write-paths): Simplify via with-temp-buffer.
9957 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9958 * emulation/cua-rect.el: Also load cua-base at run time.
9960 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9961 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9962 (cperl-imenu-on-info): Require imenu.
9964 2013-05-28 Alan Mackenzie <acm@muc.de>
9966 Handle "capitalised keywords" correctly.
9967 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9969 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9971 * eshell/em-unix.el: Add -r option to cp.
9973 2013-05-28 Glenn Morris <rgm@gnu.org>
9975 * vc/vc-arch.el (vc-exec-after): Declare.
9976 (vc-switches): Autoload.
9977 * vc/vc-bzr.el: No need to require vc when compiling.
9978 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9979 (vc-resynch-buffer, vc-dir-refresh): Declare.
9980 (vc-setup-buffer, vc-switches): Autoload.
9981 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9982 (vc-resynch-buffer): Declare.
9983 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9984 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9985 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9986 (grep-read-regexp, grep-read-files, grep-expand-template)
9987 (vc-dir-refresh): Declare.
9988 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9989 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9990 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9991 * vc/vc-mtn.el (vc-exec-after): Declare.
9992 (vc-switches): Autoload.
9993 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9994 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9995 (vc-file-tree-walk): Declare.
9996 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9997 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9998 (vc-tag-precondition, vc-rename-master): Autoload.
9999 * vc/vc-svn.el (vc-exec-after): Declare.
10000 (vc-switches, vc-setup-buffer): Autoload.
10001 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10003 (vc-resynch-buffer): Declare.
10005 * obsolete/fast-lock.el (byte-compile-warnings):
10006 Don't warn about obsolete features in this obsolete file.
10008 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10009 Move definition before use.
10011 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10012 (dun-unix-verbs): Remove dun-zippy.
10013 (dun-zippy): Remove function.
10015 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10017 2013-05-27 Juri Linkov <juri@jurta.org>
10019 * replace.el (replace-search): New function with code moved out
10020 from `perform-replace'.
10021 (replace-highlight, replace-dehighlight): Move function definitions
10022 up closer to `replace-search'. (Bug#11746)
10024 2013-05-27 Juri Linkov <juri@jurta.org>
10026 * replace.el (perform-replace): Ignore invisible matches.
10027 In addition to checking `query-replace-skip-read-only', also
10028 filter out matches by calling `run-hook-with-args-until-failure'
10029 on `isearch-filter-predicates', and also check `search-invisible'
10030 for t or call `isearch-range-invisible'.
10031 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10033 2013-05-27 Juri Linkov <juri@jurta.org>
10035 * isearch.el (isearch-filter-predicates): Rename from
10036 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10037 (isearch-message-prefix): Display text from the property
10038 `isearch-message-prefix' of the currently active filters.
10039 (isearch-search): Don't compare `isearch-filter-predicate' with
10040 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10041 on `isearch-filter-predicates'. Also check `search-invisible' for t
10042 or call `isearch-range-invisible'.
10043 (isearch-filter-visible): Make obsolete.
10044 (isearch-lazy-highlight-search):
10045 Call `run-hook-with-args-until-failure' on
10046 `isearch-filter-predicates' and use `isearch-range-invisible'.
10048 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10049 `isearch-filter-predicates' instead of `funcall'ing
10050 `isearch-filter-predicate'.
10051 (Info-mode): Set `Info-isearch-filter' to
10052 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10054 * dired-aux.el (dired-isearch-filter-predicate-orig):
10056 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10057 (dired-isearch-filenames-end): Add and remove
10058 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10059 instead of changing the value of `isearch-filter-predicate'.
10060 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10061 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10062 Put property `isearch-message-prefix' to "filename " on
10063 `dired-isearch-filter-filenames'.
10065 * wdired.el (wdired-change-to-wdired-mode):
10066 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10067 locally instead of changing `isearch-filter-predicate'.
10068 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10070 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10072 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10073 return the commit hash (Bug#14459). Also set the
10074 `vc-git-detached' property.
10075 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10076 (vc-git-mode-line-string): Use the same help-echo format whether
10077 in detached mode or not, because we know the actual revision now.
10078 When in detached mode, shorten the revision to 7 chars.
10080 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10082 * emacs-lisp/easy-mmode.el (define-minor-mode):
10083 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10084 mode hook and provide a docstring.
10086 2013-05-27 Alan Mackenzie <acm@muc.de>
10088 Remove spurious syntax-table text properties inserted by C-y.
10089 * progmodes/cc-mode.el (c-after-change): Also clear hard
10090 syntax-table property with value nil.
10092 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10094 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10095 when reading the events; the buffer layout shall not be changed.
10097 2013-05-27 Leo Liu <sdl.web@gmail.com>
10099 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10101 (inferior-octave-directory-tracker): Automatically re-sync
10103 (octave-help): Improve handling of 'See also'.
10105 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10107 * doc-view.el: Minor naming convention tweaks.
10108 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10110 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10111 even if there's no `display' property yet (bug#14435).
10113 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10115 * subr.el (unmsys--file-name): Rename from reveal-filename.
10117 * Makefile.in (custom-deps, finder-data, autoloads)
10118 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10119 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10120 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10122 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10124 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10125 error-completion on the first 2 args of condition-case (bug#14446).
10128 2013-05-25 Leo Liu <sdl.web@gmail.com>
10130 * comint.el (comint-previous-matching-input): Do not flood the
10131 *Messages* buffer with trivial messages.
10133 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10135 * progmodes/flymake.el (flymake-nop): Don't return a string.
10136 (flymake-set-at): Fix typo.
10138 * simple.el (read--expression): New function, extracted from
10139 eval-expression. Set completion-at-point-functions (bug#14465).
10140 (eval-expression, eval-minibuffer): Use it.
10142 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10144 * progmodes/flymake.el (flymake-save-buffer-in-file)
10145 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10146 (flymake-selected-frame, flymake-log, flymake-ins-after)
10147 (flymake-set-at, flymake-get-buildfile-from-cache)
10148 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10149 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10150 Refine the doc string.
10151 (flymake-get-file-name-mode-and-masks): Reformat.
10152 (flymake-get-real-file-name-function): Fix a minor bug.
10154 2013-05-24 Juri Linkov <juri@jurta.org>
10156 * progmodes/grep.el (grep-mode-font-lock-keywords):
10157 Support =linenumber= format used by git-grep for lines with
10158 function names. (Bug#13549)
10160 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10162 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10163 0 after a semi-colon; it works better for smie-auto-fill.
10164 (octave--indent-new-comment-line): New function.
10165 (octave-indent-new-comment-line): Use it (indirectly).
10166 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10167 modify comment-line-break-function.
10169 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10170 (smie-setup): Use add-function to set it.
10172 2013-05-24 Sam Steingold <sds@gnu.org>
10174 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10175 argument (before the `interactive' argument).
10177 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * image-mode.el (image-mode-winprops): Add winprops to
10180 image-mode-winprops-alist before running
10181 image-mode-new-window-functions.
10182 * doc-view.el (doc-view-new-window-function): Don't delay
10183 doc-view-goto-page via timers (bug#14435).
10185 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10187 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10188 (doc-view-desktop-save-buffer): New function.
10189 (doc-view-restore-desktop-buffer): New function.
10190 (desktop-buffer-mode-handlers):
10191 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10193 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10194 `desktop-save-buffer' function.
10196 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10198 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10199 (tramp-gvfs-file-name-handler): Raise a user error when
10200 `tramp-gvfs-enabled' is nil.
10201 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10202 Do not raise a user error when loading package. (Bug#14447)
10204 * net/xesam.el: Move to obsolete/.
10206 2013-05-24 Glenn Morris <rgm@gnu.org>
10208 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10210 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10212 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10213 (Info-find-node, Man-getpage-in-background): Declare.
10215 * mail/unrmail.el (unrmail):
10216 Replace obsolete detect-coding-with-priority.
10218 * net/socks.el (socks-split-string): Use this rather than split-string.
10219 (socks-nslookup-host): Update for above change.
10220 (dynamic-choice, s5-dynamic-choice-match)
10221 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10222 Comment out unused code.
10224 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10225 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10226 (gud-tooltip-echo-area): Make obsolete.
10227 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10229 * progmodes/js.el (js--optimize-arglist): Declare.
10231 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10233 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10234 (ediff-window-C): Declare.
10236 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10237 Tweak requires to silence compiler.
10239 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10240 (he-search-string, he-tried-table, he-expand-list)
10241 (he-init-string, he-string-member, he-substitute-string)
10242 (he-reset-string): Declare.
10244 * obsolete/options.el (list-options): Use custom-variable-p,
10245 rather than obsolete alias.
10247 2013-05-23 Sam Steingold <sds@gnu.org>
10249 * simple.el (shell-command-on-region): Pass the `replace' argument
10250 down to `call-process-region' to comply with the doc as reported on
10251 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10253 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * emacs-lisp/smie.el (smie-indent-forward-token)
10256 (smie-indent-backward-token): Handle string tokens (bug#14381).
10258 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10260 * ielm.el (ielm-menu): New menu.
10261 (inferior-emacs-lisp-mode): Set comment-start.
10263 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10265 * textmodes/reftex.el (reftex-ref-style-toggle):
10266 Fix deactivate action.
10268 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10269 Add cleveref macros.
10271 * textmodes/reftex-parse.el
10272 (reftex-locate-bibliography-files): Accept options for
10273 bibliography commands.
10274 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10275 Add addbibresource. Basic Biblatex support.
10277 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10279 * net/tramp-gvfs.el (top):
10280 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10281 when loading package. (Bug#14447)
10283 2013-05-23 Glenn Morris <rgm@gnu.org>
10285 * progmodes/js.el: No need to load comint when compiling.
10286 (ring-insert, comint-send-string, comint-send-input)
10287 (comint-last-input-end, ido-chop): Declare.
10289 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10290 * vc/ediff-mult.el: Adjust requires.
10291 (ediff-directories-internal, ediff-directory-revisions-internal)
10292 (ediff-patch-file-internal): Declare.
10293 * vc/ediff-ptch.el: Adjust requires.
10294 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10295 (ediff-find-file): Autoload.
10296 * vc/ediff-util.el: No need to load ediff when compiling.
10297 (ediff-regions-internal): Declare.
10298 * vc/ediff-wind.el: Adjust requires.
10299 (ediff-compute-toolbar-width): Define when compiling.
10300 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10301 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10302 (dired-get-filename, dired-get-marked-files)
10303 (ediff-last-dir-patch, ediff-patch-default-directory)
10304 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10305 (ediff-patch-buffer-internal): Declare.
10307 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10308 (ispell-process, ispell-buffer-local-words, lm-summary)
10309 (lm-section-start, lm-section-end): Declare.
10310 (checkdoc-ispell-init): Simplify.
10312 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10313 (he-string-member, he-reset-string, he-substitute-string): Declare.
10315 * eshell/em-ls.el: Adjust requires.
10316 (eshell-glob-regexp): Declare.
10317 * eshell/em-tramp.el: Adjust requires.
10318 (eshell-parse-command): Autoload.
10319 * eshell/em-xtra.el: Adjust requires.
10320 (eshell-parse-command): Autoload.
10321 * eshell/esh-ext.el: Adjust requires.
10322 (eshell-parse-command, eshell-close-handles): Autoload.
10323 * eshell/esh-io.el: Adjust requires.
10324 (eshell-output-filter): Autoload.
10325 * eshell/esh-util.el: No need to load tramp when compiling.
10326 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10328 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10329 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10330 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10331 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10332 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10333 * eshell/esh-opt.el, eshell/esh-proc.el:
10334 * eshell/esh-var.el: Adjust requires.
10335 * eshell/eshell.el: Do not require esh-util twice.
10336 (eshell-add-input-to-history): Declare.
10337 (eshell-command): Check history module is active before using it.
10339 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10341 2013-05-22 Leo Liu <sdl.web@gmail.com>
10343 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10345 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10347 * autorevert.el (auto-revert-notify-add-watch)
10348 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10349 it indicates changes in file modification time.
10351 2013-05-22 Glenn Morris <rgm@gnu.org>
10353 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10354 Always delete the autoloaded function from the noruntime and
10355 unresolved functions lists.
10357 * allout.el: No need to load epa, epg, overlay when compiling.
10358 (epg-context-set-passphrase-callback, epg-list-keys)
10359 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10360 (epg-key-user-id-list): Declare.
10362 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10363 (viper-set-parsing-style-toggling-macro)
10364 (viper-set-emacs-state-searchstyle-macros):
10365 Use called-interactively-p on Emacs.
10366 (viper-looking-back): Make it an obsolete alias. Update callers.
10367 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10368 Use looking-back rather than viper-looking-back.
10369 (viper-tmp-insert-at-eob, viper-enlarge-region)
10370 (viper-read-string-with-history, viper-register-to-point)
10371 (viper-append-to-register, viper-change-state-to-vi)
10372 (viper-backward-char-carefully, viper-forward-char-carefully)
10373 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10374 (viper-change-state-to-emacs): Declare.
10375 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10376 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10377 * emulation/viper-mous.el: Do not load viper-cmd.
10378 (viper-backward-char-carefully, viper-forward-char-carefully)
10379 (viper-forward-word, viper-adjust-window): Declare.
10381 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10383 * progmodes/idlw-help.el (idlwave-help-fontify):
10384 Use called-interactively-p.
10386 * term/w32console.el (w32-get-console-codepage)
10387 (w32-get-console-output-codepage): Declare.
10389 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10390 Remove unnecessary declarations.
10391 (dframe-message): Doc fix.
10393 * info.el (dframe-select-attached-frame, dframe-current-frame):
10396 * speedbar.el (speedbar-message): Make it an obsolete alias.
10397 Update all callers.
10398 (speedbar-with-attached-buffer)
10399 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10400 (speedbar-with-writable): Use backquote.
10401 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10402 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10403 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10404 rather than speedbar- aliases.
10405 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10406 (speedbar-make-specialized-keymap, speedbar-insert-button)
10407 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10408 (speedbar-do-function-pointer): Declare.
10409 (rmail-speedbar-button, rmail-speedbar-find-file)
10410 (rmail-speedbar-move-message):
10411 Use dframe-with-attached-buffer rather than speedbar- alias.
10412 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10413 (dframe-message, speedbar-make-specialized-keymap)
10414 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10415 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10416 (speedbar-insert-button, dframe-select-attached-frame)
10417 (dframe-maybee-jump-to-attached-frame)
10418 (speedbar-change-initial-expansion-list)
10419 (speedbar-previously-used-expansion-list-name): Declare.
10420 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10421 Use dframe-message, dframe-with-attached-buffer rather than
10423 (gud-sentinel): Silence compiler.
10424 * progmodes/vhdl-mode.el (speedbar-refresh)
10425 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10426 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10427 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10428 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10429 (speedbar-file-lists, speedbar-make-tag-line)
10430 (speedbar-line-directory, speedbar-goto-this-file)
10431 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10432 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10433 (speedbar-make-button, speedbar-reset-scanners)
10434 (speedbar-files-item-info, speedbar-line-text)
10435 (speedbar-find-file-in-frame, speedbar-set-timer)
10436 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10437 (speedbar-with-writable): Do not (re)define it.
10438 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10439 rather than speedbar- alias.
10441 2013-05-21 Leo Liu <sdl.web@gmail.com>
10443 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10445 (octave-mode): Tweak fill-nobreak-predicate.
10446 (inferior-octave-startup): Check process to avoid infinite loop.
10447 (inferior-octave): Pop to buffer first to show abornmal process
10450 2013-05-21 Glenn Morris <rgm@gnu.org>
10452 * printing.el (pr-menu-bar): Define when compiling.
10454 2013-05-21 Leo Liu <sdl.web@gmail.com>
10456 * progmodes/octave.el (octave-auto-fill): Remove.
10457 (octave-indent-new-comment-line): Improve.
10458 (octave-mode): Use auto fill mode through
10459 comment-line-break-function and fill-nobreak-predicate.
10460 (octave-goto-function-definition): Support DEFUN_DLD.
10461 (octave-beginning-of-defun): Small tweak.
10462 (octave-help): Show parent directory.
10464 2013-05-21 Glenn Morris <rgm@gnu.org>
10466 * files.el (dired-unmark):
10467 * progmodes/gud.el (gdb-input): Update declarations.
10469 * calculator.el (electric, ehelp): No need to load when compiling.
10470 (Electric-command-loop, electric-describe-mode): Declare.
10472 * doc-view.el (doc-view-current-converter-processes): Move before use.
10474 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10475 Move MODE-set-explicitly definition before use.
10477 * international/mule-diag.el (mule-diag):
10478 Don't use obsolete window-system-version.
10480 * mail/feedmail.el (smtpmail): No need to load when compiling.
10481 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10483 * mail/mail-utils.el (rfc822): No need to load when compiling.
10484 (rfc822-addresses): Autoload it.
10485 (mail-strip-quoted-names): Trivial simplification.
10487 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10488 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10490 * net/snmp-mode.el (tempo): Don't duplicate requires.
10492 * progmodes/prolog.el (info): No need to load when compiling.
10493 (comint): Require before shell requires it.
10494 (Info-goto-node): Autoload it.
10495 (Info-follow-nearest-node): Declare.
10496 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10498 * textmodes/artist.el (picture-mode-exit): Declare.
10500 * textmodes/reftex-parse.el (reftex-parse-from-file):
10501 Trivial rewrite so the compiler can parse it better.
10503 2013-05-20 Leo Liu <sdl.web@gmail.com>
10505 * progmodes/octave.el (octave-help-mode-map)
10506 (octave-help-mode-finish-hook): New variables.
10507 (octave-help-mode, octave-help-mode-finish): New functions.
10508 (octave-help): Use octave-help-mode.
10510 2013-05-20 Glenn Morris <rgm@gnu.org>
10512 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10514 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10516 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10517 start at point, so that expansion starting right after opening
10518 slash in a regexp is recognized.
10519 (ruby-syntax-before-regexp-re): New defvar, extracted from
10520 ruby-syntax-propertize-function. Since the value of this regexp
10521 is looked up at runtime now, we should be able to turn
10522 `ruby-syntax-methods-before-regexp' into a defcustom later.
10523 (ruby-syntax-propertize-function): Split regexp matching into two
10524 parts, for opening and closing slashes. That allows us to skip
10525 over string interpolations and support multiline regexps.
10526 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10527 for them, which calls `ruby-syntax-propertize-expansion'.
10528 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10529 call to `ruby-syntax-propertize-function'.
10530 (ruby-syntax-propertize-expansion): Extracted from
10531 `ruby-syntax-propertize-expansions'. Handles one expansion.
10532 (ruby-syntax-propertize-percent-literal): Leave point right after
10533 the percent symbol, so that the expression expansion rule can
10534 propertize the contents.
10535 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10537 (ruby-syntax-propertize-expansions): Remove.
10539 2013-05-18 Juri Linkov <juri@jurta.org>
10541 * man.el (Man-default-man-entry): Remove `-' from the end
10542 of the default value. (Bug#14400)
10544 2013-05-18 Glenn Morris <rgm@gnu.org>
10546 * comint.el (comint-password-prompt-regexp):
10547 Allow "password for XXX" where XXX contains colons (eg https://...).
10549 2013-05-18 Leo Liu <sdl.web@gmail.com>
10551 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10552 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10553 (octave-source-directories): Don't check process.
10554 (octave-source-directories, octave-find-definition): Doc fix.
10556 2013-05-18 Glenn Morris <rgm@gnu.org>
10558 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10559 Remove backspace/delete bindings. (Bug#14392)
10561 * cus-dep.el (custom-make-dependencies): Sort the output.
10562 (custom-versions-load-alist): Convert comment to doc.
10564 2013-05-17 Leo Liu <sdl.web@gmail.com>
10566 * newcomment.el (comment-search-backward): Stricter in finding
10567 comment start. (Bug#14303)
10569 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10570 (octave-comment-start-skip): Properly anchored.
10572 2013-05-17 Leo Liu <sdl.web@gmail.com>
10574 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10575 Clean up when turned off. (Bug#14395)
10576 (smie--highlight-matching-block-overlay): No longer buffer-local.
10577 (smie-highlight-matching-block): Adjust.
10579 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10581 Doc string fix for "nanoseconds" (Bug#14406).
10582 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10583 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10585 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10587 * calc/calc-units.el (math-extract-units): Preserve powers
10590 2013-05-17 Leo Liu <sdl.web@gmail.com>
10592 * subr.el (delete-consecutive-dups): New function.
10593 * ido.el (ido-set-matches-1): Use it.
10594 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10595 * ido.el (ido-remove-consecutive-dups): Remove.
10597 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10599 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10600 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10601 regexp-opt's `words'.
10603 2013-05-16 Leo Liu <sdl.web@gmail.com>
10605 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10606 (smie--highlight-matching-block-overlay)
10607 (smie--highlight-matching-block-lastpos)
10608 (smie--highlight-matching-block-timer): New variables.
10609 (smie-highlight-matching-block): New function.
10610 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10611 (smie-setup): Conditionally enable smie-blink-matching-open.
10613 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10615 Sync with upstream verilog-mode r840.
10616 * progmodes/verilog-mode.el (verilog-mode-version)
10617 (verilog-mode-release-date): Update.
10618 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10619 (verilog-sig-tieoff): Fix string error on
10620 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10621 (verilog-read-decls): Fix parameters confusing
10622 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10624 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10626 * subr.el (reveal-filename): New function.
10628 * loadup.el: Compute Emacs executable versions on MS-Windows,
10629 where executables have the .exe extension. Add a hard link
10630 emacs-XX.YY.ZZ.exe on MS-Windows.
10632 * Makefile.in (XARGS_LIMIT): New variable.
10633 (custom-deps, finder-data, autoloads)
10634 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10635 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10636 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10637 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10639 2013-05-16 Leo Liu <sdl.web@gmail.com>
10641 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10642 (octave-mode-menu, octave-mode-map): Remove its uses.
10644 2013-05-16 Reto Zimmermann <reto@gnu.org>
10646 Sync with upstream vhdl mode v3.34.2.
10647 * progmodes/vhdl-mode.el: Use `push' throughout.
10648 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10649 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10650 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10651 (vhdl-actual-generic-name): New option to derive actual generic name.
10652 (vhdl-port-paste-signals): Replace formal by actual generics.
10653 (vhdl-beautify): New name for old group vhdl-align. Update users.
10654 (vhdl-beautify-options): New option.
10655 (vhdl-last-input-event): New compat alias. Use throughout.
10656 (vhdl-goto-line): Replace user level function `goto-line'.
10657 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10658 vhdl-fix-statement-buffer.
10659 (vhdl-create-mode-menu): Add some entries.
10660 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10661 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10662 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10663 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10664 to force statements on one line.
10665 (vhdl-remove-trailing-spaces-region):
10666 New, split from vhdl-remove-trailing-spaces.
10667 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10668 Respect vhdl-beautify-options.
10669 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10670 (vhdl-update-sensitivity-list): Not add with index if exists without.
10671 Not include array index with signal. Ignore keywords in comments.
10672 (vhdl-get-visible-signals): Regexp tweaks.
10673 (vhdl-template-component-inst): Handle empty library.
10674 (vhdl-template-type): Add template for 'enum' type.
10675 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10676 Use vhdl-replace-string.
10677 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10678 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10679 (vhdl-speedbar-initialize): Update for above name change.
10680 (vhdl-compose-wire-components): Fix in handling of constants.
10681 (vhdl-error-regexp-emacs-alist): New variable.
10682 (vhdl-error-regexp-add-emacs): New function;
10683 adds support for new compile.el (Emacs 22+)
10684 (vhdl-generate-makefile-1): Change target order for single lib. units.
10685 Allow use of absolute file names.
10687 2013-05-16 Leo Liu <sdl.web@gmail.com>
10689 * simple.el (prog-indent-sexp): Indent enclosing defun.
10691 2013-05-15 Glenn Morris <rgm@gnu.org>
10693 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10694 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10695 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10696 (whitespace-highlight): Move to whitespace group.
10698 * comint.el (comint-source):
10699 * pcmpl-linux.el (pcmpl-linux):
10700 * shell.el (shell-faces):
10701 * eshell/esh-opt.el (eshell-opt):
10702 * international/ccl.el (ccl): Remove empty custom groups.
10704 * completion.el (dynamic-completion-mode):
10705 * jit-lock.el (jit-lock-debug-mode):
10706 * minibuffer.el (completion-in-region-mode):
10707 * type-break.el (type-break-mode-line-message-mode)
10708 (type-break-query-mode):
10709 * emulation/tpu-edt.el (tpu-edt-mode):
10710 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10711 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10712 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10714 * term/xterm.el (xterm): Change parent group to terminals.
10716 * master.el (master): Remove empty custom group.
10717 (master-mode): Remove unused :group argument.
10718 * textmodes/refill.el (refill): Remove empty custom group.
10719 (refill-mode): Remove unused :group argument.
10721 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10723 * cus-dep.el: Provide a feature.
10724 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10725 Don't mistakenly ignore files whose basenames match a basename
10726 from preloaded-file-list (eg cedet/ede/simple.el).
10727 Add a fallback method for getting :group.
10729 2013-05-15 Juri Linkov <juri@jurta.org>
10731 * isearch.el (isearch-char-by-name): Rename from
10732 `isearch-insert-char-by-name'. Doc fix.
10733 (isearch-forward): Mention `isearch-char-by-name' in
10734 the docstring. (Bug#13348)
10736 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10737 `exit-minibuffer' instead of
10738 `isearch-nonincremental-exit-minibuffer'.
10739 (isearch-edit-string): Remove mention of
10740 `isearch-nonincremental-exit-minibuffer' from docstring.
10741 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10742 (isearch-forward-exit-minibuffer)
10743 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10745 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * loadup.el: Just use unversioned DOC.
10749 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10750 literals as extending to EOB.
10751 (nxml-last-fontify-end): Remove unused variable.
10752 (nxml-after-change1): Use with-silent-modifications.
10753 (nxml-extend-after-change-region): Simplify.
10754 (nxml-extend-after-change-region1): Remove function.
10755 (nxml-after-change1): Don't adjust for dependent regions.
10756 (nxml-fontify-matcher): Simplify.
10757 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10758 (xmltok-add-dependent): Remove function.
10759 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10760 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10761 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10762 unclosed <[[, <?, comment, and other literals as extending to EOB.
10763 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10764 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10766 (rng-do-some-validation-1): Don't mark dependent regions.
10767 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10768 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10769 (nxml-clear-dependent-regions): Remove functions.
10770 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10771 (nxml-ensure-scan-up-to-date):
10772 Don't clear&mark dependent regions.
10774 2013-05-15 Leo Liu <sdl.web@gmail.com>
10776 * progmodes/octave.el (octave-goto-function-definition):
10777 Improve and fix callers.
10779 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10781 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10782 the setter (bug#14387).
10784 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10785 surrounding group (bug#14402).
10787 2013-05-14 Juri Linkov <juri@jurta.org>
10789 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10792 2013-05-14 Glenn Morris <rgm@gnu.org>
10794 * progmodes/f90.el (f90-imenu-generic-expression):
10795 Fix typo in 2013-05-08 change. (Bug#14402)
10797 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10799 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10800 Remove signals for which replies are never received.
10802 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10804 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10805 (gdb-handler-alist, gdb-handler-number): Remove variables.
10806 (gdb-handler-list): New variable.
10807 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10808 (gdb-pending-handler-p, gdb-handle-reply)
10809 (gdb-remove-all-pending-triggers): New functions.
10810 (gdb-discard-unordered-replies): New defcustom.
10811 (gdb-handler): New defstruct.
10812 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10813 instead of gdb-pending-triggers. Update docstring.
10814 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10815 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10816 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10817 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10818 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10819 (gdb-frame-handler): Pending triggers are now automatically managed.
10820 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10822 (gdb-input): Automatically handles pending triggers. Update docstring.
10823 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10824 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10826 (gdb-done-or-error): Now use gdb-handle-reply.
10828 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10830 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10833 2013-05-14 Glenn Morris <rgm@gnu.org>
10835 * subr.el (user-emacs-directory-warning): New option.
10836 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10838 2013-05-14 Leo Liu <sdl.web@gmail.com>
10840 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10842 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10843 (octave-font-lock-texinfo-comment): Fix invalid search bound
10844 error: wrong side of point.
10846 2013-05-14 Glenn Morris <rgm@gnu.org>
10848 * progmodes/flymake.el (flymake-xml-program): New option.
10849 (flymake-xml-init): Use it.
10851 * term/xterm.el: Provide a feature.
10853 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10855 2013-05-13 Glenn Morris <rgm@gnu.org>
10857 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10858 Add compat aliases as a hack workaround. (Bug#14384)
10860 2013-05-13 Leo Liu <sdl.web@gmail.com>
10862 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10864 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10866 (octave-comment-start-skip): Include %!.
10867 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10869 2013-05-12 Leo Liu <sdl.web@gmail.com>
10871 * progmodes/octave.el (inferior-octave-startup): Store the value
10872 of __octave_srcdir__ for octave-source-directories.
10873 (inferior-octave-check-process): New function refactored out of
10874 inferior-octave-send-list-and-digest.
10875 (octave-source-directories)
10876 (octave-find-definition-filename-function): New variables.
10877 (octave-source-directories)
10878 (octave-find-definition-default-filename): New functions.
10879 (octave-find-definition): Improve to find functions implemented in C++.
10881 2013-05-12 Glenn Morris <rgm@gnu.org>
10883 * calendar/diary-lib.el (diary-outlook-format-1):
10884 Don't include dayname in the output. (Bug#14349)
10886 2013-05-11 Glenn Morris <rgm@gnu.org>
10888 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10890 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10891 Treat cc-provide like provide.
10893 2013-05-11 Kevin Ryde <user42@zip.com.au>
10895 * cus-dep.el (custom-make-dependencies):
10896 Use generated-autoload-load-name for the sake of files such
10897 such cedet/semantic/bovine/c.el, where the base file name
10898 is not in load-path. (Bug#5277)
10900 2013-05-11 Glenn Morris <rgm@gnu.org>
10902 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10905 2013-05-11 Leo Liu <sdl.web@gmail.com>
10907 * progmodes/octave.el (octave-indent-comment): Improve.
10908 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10909 (octave-eldoc-function-signatures, octave-eldoc-function):
10911 (octave-mode, inferior-octave-mode): Add eldoc support.
10913 2013-05-11 Richard Stallman <rms@gnu.org>
10915 * epa.el (epa-decrypt-file): Take output file name as argument
10916 and read it using `interactive'.
10918 2013-05-11 Leo Liu <sdl.web@gmail.com>
10920 * progmodes/octave.el (octave-beginning-of-line)
10921 (octave-end-of-line): Check before using up-list because it jumps
10922 out of more syntactic contructs since moving to smie.
10923 (octave-indent-comment): New function.
10924 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10925 (octave-begin-keywords, octave-end-keywords)
10926 (octave-reserved-words, octave-smie-bnf-table)
10927 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10929 2013-05-11 Glenn Morris <rgm@gnu.org>
10931 * faces.el (internal-face-x-get-resource):
10932 * frame.el (ns-display-monitor-attributes-list):
10933 * calc/calc-aent.el (math-to-radians-2):
10934 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10937 * calc/calc-menu.el: Make it loadable in isolation.
10939 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10940 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10941 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10942 (eudc-bbdb-query-internal): Require 'bbdb.
10944 * lpr.el (lpr-headers-switches):
10945 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10947 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10949 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10951 * term.el (term-set-escape-char): Make it idempotent.
10953 2013-05-10 Leo Liu <sdl.web@gmail.com>
10955 * progmodes/octave.el (inferior-octave-completion-table):
10956 No longer a function and all uses changed. Use cache to speed up
10957 completion due to bug#11906.
10958 (octave-beginning-of-defun): Re-write to be more general.
10960 2013-05-10 Glenn Morris <rgm@gnu.org>
10962 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10964 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10966 * comint.el (comint-redirect-send-command-to-process): Use :around
10967 rather than :override for comint-redirect-filter.
10968 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10969 Call it instead of comint-redirect-original-filter-function (which
10970 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10972 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10974 * frame.el (display-monitor-attributes-list): Add NS case.
10975 (ns-display-monitor-attributes-list): Declare.
10977 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10979 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10981 2013-05-09 Glenn Morris <rgm@gnu.org>
10983 * international/fontset.el (vertical-centering-font-regexp):
10984 Set standard-value.
10986 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10988 * bookmark.el (bookmark-search-delay):
10989 * cus-start.el (vertical-centering-font-regexp):
10990 * ps-mule.el (ps-mule-font-info-database-default):
10991 * ps-print.el (ps-default-fg, ps-default-bg):
10992 * type-break.el (type-break-good-break-interval):
10993 * whitespace.el (whitespace-indentation-regexp)
10994 (whitespace-space-after-tab-regexp):
10995 * emacs-lisp/testcover.el (testcover-1value-functions)
10996 (testcover-noreturn-functions, testcover-progn-functions)
10997 (testcover-prog1-functions):
10998 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10999 * eshell/em-glob.el (eshell-glob-translate-alist):
11000 * play/tetris.el (tetris-tty-colors):
11001 * progmodes/cpp.el (cpp-face-default-list):
11002 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11003 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11004 (idlwave-help-browser-generic-args):
11005 * progmodes/make-mode.el (makefile-special-targets-list):
11006 * progmodes/python.el (python-shell-virtualenv-path):
11007 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11008 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11009 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11010 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11011 * textmodes/reftex-vars.el (reftex-format-label-function):
11012 * textmodes/remember.el (remember-diary-file): Fix custom types.
11014 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11017 2013-05-09 Leo Liu <sdl.web@gmail.com>
11019 * progmodes/octave.el (inferior-octave-completion-at-point):
11020 Restore file completion. (Bug#14300)
11021 (inferior-octave-startup): Fix incorrect highlighting for the
11024 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11026 * progmodes/ruby-mode.el: First cut at SMIE support.
11027 (ruby-use-smie): New var.
11028 (ruby-smie-grammar): New constant.
11029 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11030 (ruby-smie--forward-token, ruby-smie--backward-token)
11031 (ruby-smie-rules): New functions.
11032 (ruby-mode-variables): Setup SMIE if applicable.
11034 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11036 * simple.el (line-move-visual): Signal beginning/end of buffer
11037 only if vertical-motion moved less than it was requested. Avoids
11038 silly incorrect error messages when there are display strings with
11039 multiple newlines at EOL.
11041 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11043 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11044 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11045 (prolog-char-quote-workaround):
11046 * progmodes/cperl-mode.el (cperl-under-as-char):
11047 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11049 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11051 (vhdl-mode-syntax-table-init): Remove.
11053 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11056 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11058 (ld-script-font-lock-keywords):
11059 Change regexps to use things like \_< and \_>.
11061 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11062 Change all regexps to use things like \_< and \_>.
11064 * progmodes/autoconf.el (autoconf-definition-regexp)
11065 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11066 Handle a _ with symbol syntax.
11067 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11069 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11070 Consolidate declaration.
11071 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11073 (ada-create-syntax-table): Remove.
11074 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11075 already has the right syntax nowadays.
11076 (ada-goto-next-word): Don't change the syntax of "_".
11078 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11081 2013-05-08 Sam Steingold <sds@gnu.org>
11083 * thingatpt.el (thing-at-point): Accept optional second argument
11084 NO-PROPERTIES to strip the text properties from the return value.
11085 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11086 to `thing-at-point' instead of stripping the properties ourselves.
11087 Also, when `thing-at-point' fails to find a url, prepend "http://"
11088 to the filename at point on the assumption that the user is
11089 pointing at something like gnu.org/gnu.
11091 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11093 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11094 * faces.el (crm-separator):
11095 Silence byte-compiler.
11097 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11098 (tool-bar-map): Remove unneeded defvars.
11100 2013-05-08 Leo Liu <sdl.web@gmail.com>
11102 Re-work a fix for bug#10994 based on Le Wang's patch.
11103 * ido.el (ido-remove-consecutive-dups): New helper.
11104 (ido-completing-read): Use it.
11105 (ido-chop): Revert fix for bug#10994.
11107 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11109 * cus-edit.el (custom-save-variables):
11110 Pretty-print long values. (Bug#14187)
11112 2013-05-08 Glenn Morris <rgm@gnu.org>
11114 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11115 (m4-mode-syntax-table): Init in the defvar.
11116 (m4-mode-abbrev-table): Let define-derived-mode define it.
11118 2013-05-08 Tom Tromey <tromey@redhat.com>
11120 * progmodes/m4-mode.el (m4-mode-syntax-table):
11121 Do not treat "_" as word constituent. (Bug#14167)
11123 2013-05-07 Glenn Morris <rgm@gnu.org>
11125 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11126 Remove explicit eshell-isearch-cancel-map.
11128 * progmodes/f90.el (f90-smart-end-names): New option.
11129 (f90-smart-end): Doc fix.
11130 (f90-end-block-optional-name): New constant.
11131 (f90-block-match): Respect f90-smart-end-names.
11133 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11135 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11136 about implicit semi-colons (bug#14218).
11138 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11140 * frame.el (display-monitor-attributes-list)
11141 (frame-monitor-attributes): New functions.
11143 2013-05-06 Leo Liu <sdl.web@gmail.com>
11145 * progmodes/octave.el (octave-syntax-propertize-function): Change
11146 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11147 (octave-font-lock-keywords): Use octave-operator-regexp.
11148 (octave-completion-at-point): Rename from
11149 octave-completion-at-point-function.
11150 (inferior-octave-directory-tracker): Robustify.
11151 (octave-text-functions): Remove and fix its uses. No such things
11154 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11156 * emacs-lisp/trace.el (trace--display-buffer): New function.
11157 (trace-make-advice): Use it.
11159 2013-05-06 Juri Linkov <juri@jurta.org>
11161 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11162 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11164 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11165 in the help string. (Bug#12985)
11167 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11169 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11171 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * progmodes/perl-mode.el: Add support for here documents.
11174 (perl-syntax-propertize-function): Match here-doc markers.
11175 (perl-syntax-propertize-special-constructs): Find their end.
11176 (perl-imenu-generic-expression): Use [:alnum:].
11178 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11179 (advice--add-function): Refresh the advice if already present
11182 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11184 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11186 2013-05-06 Glenn Morris <rgm@gnu.org>
11188 * w32-fns.el (w32-charset-info-alist): Declare.
11190 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11191 of its defcustom properties.
11192 (eshell-cmpl-initialize): No need to load pcomplete.
11194 * generic-x.el: No need to require comint when compiling.
11196 * net/eudc-export.el: Make it loadable without bbdb.
11197 (top-level): Use require rather than load-library.
11198 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11199 (eudc-batch-export-records-to-bbdb)
11200 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11203 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11205 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11206 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11207 some tweaks, instead.
11209 2013-05-05 Leo Liu <sdl.web@gmail.com>
11211 * progmodes/octave.el (octave-font-lock-keywords)
11212 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11213 (inferior-octave-send-list-and-digest): Improve error message.
11214 (octave-mode, inferior-octave-mode): Use setq-local.
11215 (octave-help): Set info-lookup-mode.
11217 2013-05-05 Richard Stallman <rms@gnu.org>
11219 * vc/compare-w.el (compare-windows-whitespace):
11220 Treat no-break space as whitespace.
11222 * mail/rmailsum.el (rmail-summary-rmail-update):
11223 Detect empty summary and don't change selected message.
11224 (rmail-summary-goto-msg): Likewise.
11226 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11227 Doc fixes, rename args.
11229 2013-05-05 Alan Mackenzie <acm@muc.de>
11231 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11233 2013-05-05 Juri Linkov <juri@jurta.org>
11235 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11236 to not add the length of the summary segment to the return value.
11239 2013-05-05 Leo Liu <sdl.web@gmail.com>
11241 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11242 (inferior-octave-output-filter): Remove.
11243 (octave-send-region, inferior-octave-startup): Fix callers.
11244 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11245 (octave-binary-file-extensions): New user variable.
11246 (octave-find-definition): Confirm if opening binary files.
11247 (octave-help-file): Use octave-find-definition to get the binary
11249 (octave-help): Adjust for octave-help-file change.
11251 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11253 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11254 Merge the two entries that handle function definitions.
11255 (pascal--syntax-propertize): New const.
11256 (pascal-mode): Use it. Use setq-local.
11258 2013-05-04 Glenn Morris <rgm@gnu.org>
11260 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11261 (diary-from-outlook): Respect diary-from-outlook-function.
11263 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11265 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11266 Move the declaration from C.
11267 (read-minibuffer, eval-minibuffer): Move from C.
11268 (completion-setup-function): Avoid minibuffer-completion-contents.
11270 2013-05-03 Leo Liu <sdl.web@gmail.com>
11272 * progmodes/octave.el (octave-font-lock-keywords): Do not
11273 dehighlight 'end' in comments or strings.
11274 (octave-completing-read, octave-goto-function-definition):
11276 (octave-help-buffer): New user variable.
11277 (octave-help-file, octave-help-function): New button types.
11278 (octave-help): New command and bind it to C-h ;.
11279 (octave-find-definition): New command and bind it to M-.
11280 (user-error): Alias to error if not defined.
11282 2013-05-02 Leo Liu <sdl.web@gmail.com>
11284 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11286 (octave-font-lock-keywords): Include [ and {.
11288 2013-05-02 Leo Liu <sdl.web@gmail.com>
11290 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11291 (inferior-octave): Remove calling comint-mode and return the buffer.
11292 (inferior-octave-startup): Cosmetic changes.
11294 2013-05-02 Leo Liu <sdl.web@gmail.com>
11296 * progmodes/octave.el (octave-syntax-propertize-function):
11297 Include the case when ' is at line beginning. (Bug#14336)
11299 2013-05-02 Glenn Morris <rgm@gnu.org>
11301 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11302 * desktop.el (vc-dir-mode): Just autoload it here.
11304 2013-05-02 Alan Mackenzie <acm@muc.de>
11306 Eliminate variable c-standard-font-lock-fontify-region-function.
11307 * progmodes/cc-mode.el
11308 (c-standard-font-lock-fontify-region-function): Remove.
11309 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11311 2013-05-01 Leo Liu <sdl.web@gmail.com>
11313 * progmodes/octave.el: Compatible with older emacs-24 releases.
11314 (inferior-octave-has-built-in-variables): Remove. Built-in
11315 variables were removed from Octave in 2007.
11316 (inferior-octave-startup): Fix uses.
11317 (comint-line-beginning-position): Remove compatibility code for
11320 2013-05-01 Juri Linkov <juri@jurta.org>
11322 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11324 2013-05-01 Juri Linkov <juri@jurta.org>
11326 * comint.el (comint-previous-matching-input): Don't print message
11327 "History item: %d" when `isearch-mode' is active.
11328 (comint-history-isearch-message): Print message "History item: %d"
11329 when `comint-input-ring-index' is not empty and this function is
11330 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11332 2013-05-01 Leo Liu <sdl.web@gmail.com>
11334 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11335 definitions. Use completion-at-point to insert keywords.
11336 (octave-abbrev-start): Remove.
11337 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11339 2013-04-30 Leo Liu <sdl.web@gmail.com>
11341 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11344 2013-04-30 Alan Mackenzie <acm@muc.de>
11346 Handle arbitrarily long C++ member initialisation lists.
11347 * progmodes/cc-engine.el (c-back-over-member-initializers):
11349 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11350 (most) member init lists.
11352 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11354 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11357 2013-04-30 Leo Liu <sdl.web@gmail.com>
11359 * progmodes/octave.el (octave-variables): Remove. No builtin
11360 variables any more. All converted to functions.
11361 (octave-font-lock-keywords, octave-completion-at-point-function):
11363 (octave-font-lock-texinfo-comment): New user variable.
11364 (octave-texinfo-font-lock-keywords): New variable for texinfo
11366 (octave-function-comment-block): New face.
11367 (octave-font-lock-texinfo-comment): New function.
11368 (octave-mode): Font lock texinfo comment block.
11370 2013-04-29 Leo Liu <sdl.web@gmail.com>
11372 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11373 indexing expression.
11374 (octave-continuation-string): Do not use \.
11375 (inferior-octave-complete-impossible): Remove.
11376 (inferior-octave-completion-table)
11377 (inferior-octave-completion-at-point): Remove its uses.
11378 (inferior-octave-startup): completion_matches was introduced to
11379 Octave in 1996 so safe to assume it.
11380 (octave-function-file-comment): Improve to follow how Octave does it.
11381 (octave-update-function-file-comment): Tweak.
11383 2013-04-29 Leo Liu <sdl.web@gmail.com>
11385 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11386 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11387 (octave-function-file-comment): Fix typo.
11388 (octave-sync-function-file-names): Use read-char-choice.
11390 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11392 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11393 to t for the less important warnings.
11395 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11397 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11399 2013-04-27 Glenn Morris <rgm@gnu.org>
11401 * vc/log-view.el (log-view-current-entry):
11402 Treat "---" separator lines as part of the following rev. (Bug#14169)
11404 2013-04-27 Juri Linkov <juri@jurta.org>
11406 * subr.el (read-number): Doc fix about using it by interactive
11407 code letter `n'. (Bug#14254)
11409 2013-04-27 Juri Linkov <juri@jurta.org>
11411 * desktop.el (desktop-auto-save-timeout): New option.
11412 (desktop-file-checksum): New variable.
11413 (desktop-save): Add optional arg `auto-save' and don't auto-save
11414 if nothing changed.
11415 (desktop-auto-save-timer): New variable.
11416 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11417 (after-init-hook): Call `desktop-auto-save-set-timer'.
11418 Suggested by Reuben Thomas <rrt@sc3d.org> in
11419 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11421 2013-04-27 Leo Liu <sdl.web@gmail.com>
11423 * progmodes/octave.el (octave-function-file-p)
11424 (octave-skip-comment-forward, octave-function-file-comment)
11425 (octave-update-function-file-comment): New functions.
11426 (octave-mode-map): Bind C-c ; to
11427 octave-update-function-file-comment.
11428 (octave-mode-menu): Add octave-update-function-file-comment.
11429 (octave-mode, inferior-octave-mode): Fix doc-string.
11430 (octave-insert-defun): Conform to Octave's coding convention.
11433 * files.el (basic-save-buffer): Don't let errors in
11434 before-save-hook prevent saving buffer.
11436 2013-04-20 Roland Winkler <winkler@gnu.org>
11438 * faces.el (read-face-name): Use completing-read if arg multiple
11441 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11443 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11444 displayed, move point to after the totals line.
11445 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11448 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11450 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11451 Add current dir to the load-path.
11452 (package-generate-autoloads): Don't rely on
11453 autoload-ensure-default-file.
11455 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11457 * textmodes/remember.el (remember-store-in-files): Document that
11458 the file name format is passed to `format-time-string'.
11460 2013-04-26 Leo Liu <sdl.web@gmail.com>
11462 * progmodes/octave.el (octave-sync-function-file-names): New function.
11463 (octave-mode): Use it in before-save-hook.
11465 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11467 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11470 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11471 \n and comment, even if it's not an implicit ; (bug#14218).
11473 2013-04-26 Glenn Morris <rgm@gnu.org>
11475 * subr.el (read-number): Once more use `read' rather than
11476 `string-to-number', to trap non-numeric input. (Bug#14254)
11478 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11480 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11481 Use `syntax-multiline' text property consistently instead of
11482 `font-lock-multiline'. (Bug#14237)
11484 2013-04-26 Glenn Morris <rgm@gnu.org>
11486 * emacs-lisp/shadow.el (list-load-path-shadows):
11487 No longer necessary to check for duplicate simple.el, since
11488 2012-07-07 change to init_lread to not include installation lisp
11489 directories in load-path when running uninstalled. (Bug#14270)
11491 2013-04-26 Leo Liu <sdl.web@gmail.com>
11493 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11494 (octave-mode, inferior-octave-mode): Use setq-local.
11495 (octave-not-in-string-or-comment-p): Rename to
11496 octave-in-string-or-comment-p.
11497 (octave-in-comment-p, octave-in-string-p)
11498 (octave-in-string-or-comment-p): Replace defsubst with defun.
11500 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11502 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11504 2013-04-25 Bastien Guerry <bzg@gnu.org>
11506 * textmodes/remember.el (remember-data-directory)
11507 (remember-directory-file-name-format): Fix custom types.
11509 2013-04-25 Leo Liu <sdl.web@gmail.com>
11511 * progmodes/octave.el (octave-completion-at-point-function):
11512 Make use of inferior octave process.
11513 (octave-initialize-completions): Remove.
11514 (inferior-octave-completion-table): New function.
11515 (inferior-octave-completion-at-point): Use it.
11516 (octave-completion-alist): Remove.
11518 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11520 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11521 (opascal-mode-syntax-table): New var.
11522 (opascal-literal-kind, opascal-is-literal-end)
11523 (opascal-literal-token-at): Rewrite.
11524 (opascal--literal-start-re, opascal-font-lock-keywords)
11525 (opascal--syntax-propertize): New constants.
11526 (opascal-font-lock-defaults): Adjust.
11527 (opascal-mode): Use them. Set comment-<foo> variables as well.
11528 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11529 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11530 (delphi-other-face, opascal-other-face): Remove face variables.
11531 (opascal-save-state): Remove macro.
11532 (opascal-fontifying-progress-step): Remove constant.
11533 (opascal--ignore-changes): Remove var.
11534 (opascal-set-token-property, opascal-parse-next-literal)
11535 (opascal-is-stable-literal, opascal-complete-literal)
11536 (opascal-is-literal-start, opascal-face-of)
11537 (opascal-parse-region, opascal-parse-region-until-stable)
11538 (opascal-fontify-region, opascal-after-change)
11539 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11540 (opascal-debug-parse-region, opascal-debug-parse-window)
11541 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11542 (opascal-debug-fontify-buffer): Remove.
11543 (opascal-debug-mode-map): Adjust accordingly.
11545 2013-04-25 Leo Liu <sdl.web@gmail.com>
11547 Merge octave-mod.el and octave-inf.el into octave.el with some
11549 * progmodes/octave.el: New file renamed from octave-mod.el.
11550 * progmodes/octave-inf.el: Merged into octave.el.
11551 * progmodes/octave-mod.el: Renamed to octave.el.
11553 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11555 * textmodes/reftex-vars.el
11556 (reftex-label-ignored-macros-and-environments): New defcustom.
11558 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11560 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11562 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11563 (smie-indent-keyword): Improve the check to ensure that the next
11564 comment is really on the same line.
11565 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11567 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11568 semi-colons if the line is not otherwise empty (bug#14218).
11570 2013-04-25 Glenn Morris <rgm@gnu.org>
11572 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11574 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11576 * progmodes/opascal.el (opascal-set-token-property): Rename from
11577 opascal-set-text-properties and only set `token' (bug#14134).
11578 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11579 (opascal-literal-text-properties): Remove.
11580 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11583 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11585 * textmodes/remember.el (remember-handler-functions): Add an
11586 option for a new handler `remember-store-in-files'.
11587 (remember-data-directory, remember-directory-file-name-format):
11589 (remember-store-in-files): New function to store remember notes
11590 as separate files within a directory.
11592 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11594 * progmodes/compile.el (compilation-next-error-function):
11595 Pass "formats" to compilation-find-file (bug#11777).
11597 2013-04-24 Glenn Morris <rgm@gnu.org>
11599 * vc/vc-bzr.el (vc-bzr-print-log):
11600 * vc/vc-hg.el (vc-hg-print-log):
11601 * vc/vc-svn.el (vc-svn-print-log):
11602 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11604 * vc/vc-bzr.el (vc-bzr-print-log):
11605 * vc/vc-cvs.el (vc-cvs-print-log):
11606 * vc/vc-git.el (vc-git-print-log):
11607 * vc/vc-hg.el (vc-hg-print-log):
11608 * vc/vc-mtn.el (vc-mtn-print-log):
11609 * vc/vc-rcs.el (vc-rcs-print-log):
11610 * vc/vc-sccs.el (vc-sccs-print-log):
11611 * vc/vc-svn.el (vc-svn-print-log):
11612 * vc/vc.el (vc-print-log-internal): Doc fixes.
11614 2013-04-23 Glenn Morris <rgm@gnu.org>
11616 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11617 Remove venerable code attempting to avoid substitute-command-keys.
11619 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11621 * textmodes/reftex-vars.el (reftex-label-regexps):
11622 Call `reftex-compile-variables' after changes to this variable.
11624 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11626 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11627 Use lexical-binding.
11628 (jit-lock-force-redisplay): Use markers, check buffer's continued
11629 existence and beware narrowed buffers.
11630 (jit-lock-fontify-now): Adjust call accordingly.
11632 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11634 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11635 to avoid misleading the user.
11637 2013-04-22 Leo Liu <sdl.web@gmail.com>
11639 * info-look.el: Prefer latex2e.info. (Bug#14240)
11641 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11643 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11645 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11646 * net/tramp.el (tramp-call-process): ... here.
11647 (tramp-set-completion-function, tramp-parse-putty):
11648 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11649 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11650 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11651 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11652 (tramp-call-local-coding-command): Use `tramp-call-process'
11653 instead of `tramp-compat-call-process'.
11655 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11656 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11657 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11658 (tramp-find-inline-compress): Improve traces.
11659 (tramp-maybe-send-script): Check for Perl binary.
11660 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11662 2013-04-22 Daiki Ueno <ueno@gnu.org>
11664 * epg.el (epg-context-pinentry-mode): New function.
11665 (epg-context-set-pinentry-mode): New function.
11666 (epg--start): Pass --pinentry-mode option to gpg command.
11668 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11670 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11671 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11672 `completion-at-point'. (Bug#13774)
11674 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11675 default key binding for `describe-distribution' has been moved to
11676 `C-h C-o'. (Bug#13970)
11678 2013-04-21 Glenn Morris <rgm@gnu.org>
11680 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11682 (vc-print-log): Clarify interactive prompt.
11684 2013-04-20 Glenn Morris <rgm@gnu.org>
11686 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11687 No longer include timestamp etc information.
11689 2013-04-20 Roland Winkler <winkler@gnu.org>
11691 * faces.el (read-face-name): Bug fix, return just one face if arg
11692 multiple is nil. (Bug#14209)
11694 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11696 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11697 (remove-function): Autoload.
11699 * comint.el (comint-redirect-original-filter-function): Remove.
11700 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11701 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11702 (vc-cvs-annotate-command):
11703 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11704 * progmodes/prolog.el (prolog-consult-compile):
11705 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11706 Use add/remove-function instead.
11707 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11708 (gud-tooltip-process-output, gud-tooltip-tips):
11709 Use add/remove-function instead.
11710 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11711 (scheme-interaction-mode, exit-scheme-interaction-mode):
11712 Use add/remove-function instead.
11714 * vc/vc-dispatcher.el: Use lexical-binding.
11715 (vc--process-sentinel): Rename from vc-process-sentinel.
11716 Change last arg to be the code to run. Don't use vc-previous-sentinel
11717 and vc-sentinel-commands any more.
11718 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11719 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11721 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11723 * progmodes/sh-script.el (sh-imenu-generic-expression):
11724 Handle function names with a single character. (Bug#14111)
11726 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11728 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11729 for subroutines defined in an eval (bug#14182).
11731 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11733 * bookmark.el (bookmark-completing-read): Improve handling of empty
11734 string (bug#14176).
11736 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11738 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11740 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11742 New faster Imenu implementation (bug#14058).
11743 * progmodes/python.el:
11744 (python-imenu-prev-index-position):
11745 (python-imenu-format-item-label-function)
11746 (python-imenu-format-parent-item-label-function)
11747 (python-imenu-format-parent-item-jump-label-function):
11749 (python-imenu-format-item-label)
11750 (python-imenu-format-parent-item-label)
11751 (python-imenu-format-parent-item-jump-label)
11752 (python-imenu--put-parent, python-imenu--build-tree)
11753 (python-imenu-create-index, python-imenu-create-flat-index)
11754 (python-util-popn): New functions.
11755 (python-mode): Set imenu-create-index-function to
11756 python-imenu-create-index.
11758 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11760 * winner.el (winner-active-region): Use region-active-p, activate-mark
11761 and deactivate-mark (bug#14225).
11763 * simple.el (deactivate-mark): Don't inline it.
11765 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11767 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11769 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11771 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11772 file extensions from the archive-mode entry in order to prefer
11773 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11775 2013-04-18 Leo Liu <sdl.web@gmail.com>
11777 * bindings.el (help-event-list): Add ?\?.
11779 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * subr.el (with-wrapper-hook): Declare obsolete.
11782 * simple.el (filter-buffer-substring-function): New hook.
11783 (filter-buffer-substring): Use it.
11784 (filter-buffer-substring-functions): Mark obsolete.
11785 * minibuffer.el (completion-in-region-function): New hook.
11786 (completion-in-region): Use it.
11787 (completion-in-region-functions): Mark obsolete.
11788 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11789 * abbrev.el (abbrev-expand-function): New hook.
11790 (expand-abbrev): Use it.
11791 (abbrev-expand-functions): Mark obsolete.
11792 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11793 and :filter-return.
11795 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11797 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11798 and do not care about match data.
11800 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11802 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11803 completion tables when completing error conditions and
11804 `declare' arguments.
11805 (lisp-complete-symbol, field-complete): Mark as obsolete.
11806 (check-parens): Unmatched parens are user errors.
11807 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11809 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11811 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11812 command changed buffer (ie. `flyspell-pre-buffer' is not current
11813 buffer), which prevents making decisions based on invalid value of
11814 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11815 cause an error when `flyspell-pre-point' was nil after switching
11817 (flyspell-post-command-hook): No longer needs to change buffers when
11818 checking pre-word. While at it remove unnecessary progn.
11820 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11822 * textmodes/ispell.el (ispell-add-per-file-word-list):
11823 Fix `flyspell-correct-word-before-point' error when accepting
11824 words and `coment-padding' is an integer by using
11825 `comment-normalize-vars' (Bug #14214).
11827 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11829 New defun movement commands.
11830 * progmodes/python.el (python-nav--syntactically)
11831 (python-nav--forward-defun, python-nav-backward-defun)
11832 (python-nav-forward-defun): New functions.
11834 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11836 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11837 (python-syntax-context): Use named compiler-macro for backwards
11838 compatibility with Emacs 24.x.
11840 2013-04-17 Leo Liu <sdl.web@gmail.com>
11842 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11843 octave-hide-process-buffer.
11845 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11847 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11850 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11852 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11853 Fix adjustment of offset when receiving incomplete responses from GDB
11856 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11858 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11859 python-mode-abbrev-table.
11860 (python-skeleton-define): Adjust accordingly.
11861 (python-mode-abbrev-table): New table that inherits from it so that
11862 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11864 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11865 (abbrev-symbol): Use it.
11866 (abbrev--before-point): Use it since we already handle inheritance.
11868 2013-04-16 Leo Liu <sdl.web@gmail.com>
11870 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11871 binding to info-lookup-symbol.
11873 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11875 * minibuffer.el (completion--twq-all):
11876 * term/ns-win.el (ns-initialize-window-system):
11877 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11879 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11884 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11886 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11888 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11889 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11891 (ruby-end-of-defun): Remove the unused arg, change the docstring
11892 to reflect that this function is only used as the value of
11893 `end-of-defun-function'.
11894 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11895 to reflect an earlier change that beginning/end-of-defun functions
11896 jump between methods in a class definition, as well as top-level
11899 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11901 * minibuffer.el (minibuffer-complete): Don't just scroll
11902 a *Completions* that's been iconified.
11903 (minibuffer-force-complete): Make sure repetitions do cycle when going
11904 through completion-in-region -> minibuffer-complete.
11906 2013-04-15 Alan Mackenzie <acm@muc.de>
11908 Correct the placement of c-cpp-delimiters when there're #s not at
11911 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11912 place a submatch around the #.
11913 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11914 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11917 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11919 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11920 (advice--member-p): New arg `name'.
11921 (advice--add-function, advice-member-p): Use it (bug#14202).
11923 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11925 Reformulate java imenu-generic-expression.
11926 The old expression contained ill formed regexps.
11928 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11929 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11930 (cc-imenu-java-method-arg-regexp): New defconsts.
11931 (cc-imenu-java-build-type-args-regex): New defun.
11932 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11933 handling of spaces in the regexp.
11935 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11937 * textmodes/ispell.el (ispell-command-loop): Remove
11938 flyspell highlight of a word when ispell accepts it (bug #14178).
11940 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11942 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11943 uses code from the previous `ange-ftp-run-real-handler'.
11944 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11945 only in case that function exist. This is needed for proper
11946 unloading of Tramp.
11948 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11950 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11952 * textmodes/reftex.el (reftex-compile-variables): Use it.
11954 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11956 * files.el (normal-mode): Only use default major-mode if no other mode
11959 * emacs-lisp/trace.el (trace-values): New function.
11961 * files.el: Allow : in local variables (bug#14089).
11962 (hack-local-variable-regexp): New var.
11963 (hack-local-variables-prop-line, hack-local-variables): Use it.
11965 2013-04-13 Roland Winkler <winkler@gnu.org>
11967 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11968 data before it gets modified by bibtex-beginning-of-entry.
11970 2013-04-13 Roland Winkler <winkler@gnu.org>
11972 * textmodes/bibtex.el (bibtex-url): Doc fix.
11974 2013-04-13 Roland Winkler <winkler@gnu.org>
11976 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11977 does not visit a BibTeX file, exclude it from the list of buffers
11978 returned by bibtex-initialize.
11980 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11982 * window.el (split-window): Remove interactive form, since as a
11983 command this function is a special case of split-window-below.
11984 Correct doc string.
11986 2013-04-12 Roland Winkler <winkler@gnu.org>
11988 * faces.el (read-face-name): Do not override value of arg default.
11989 Allow single faces and strings as default values. Remove those
11990 elements from return value that are not faces.
11991 (describe-face): Simplify.
11992 (face-at-point): New optional args thing and multiple so that this
11993 function can provide the same functionality previously provided by
11995 (make-face-bold, make-face-unbold, make-face-italic)
11996 (make-face-unitalic, make-face-bold-italic, invert-face)
11997 (modify-face, read-face-and-attribute): Use face-at-point.
11999 * cus-edit.el (customize-face, customize-face-other-window)
12000 * cus-theme.el (custom-theme-add-face)
12001 * face-remap.el (buffer-face-set)
12002 * facemenu.el (facemenu-set-face): Use face-at-point.
12004 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12006 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12008 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12010 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12011 off leading { and trailing } from field values.
12013 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12015 * emacs-lisp/timer.el (timer--check): New function.
12016 (timer--time, timer-set-function, timer-event-handler): Use it.
12017 (timer-set-idle-time): Simplify.
12018 (timer--activate): CSE.
12019 (timer-event-handler): Give more info in error message.
12020 (internal-timer-start-idle): New function, moved from C.
12022 * mpc.el (mpc-proc): Add `restart' argument.
12023 (mpc-proc-cmd): Use it.
12024 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12025 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12028 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12030 * progmodes/sh-script.el: Implement `sh-mode' own
12031 `add-log-current-defun-function' (bug#14112).
12032 (sh-current-defun-name): New function.
12033 (sh-mode): Use the function.
12035 2013-04-09 Bastien Guerry <bzg@gnu.org>
12037 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12039 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12041 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12043 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12046 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12048 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12051 2013-04-07 Leo Liu <sdl.web@gmail.com>
12053 * pcmpl-x.el: New file.
12055 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12057 Do not set x-display-name until X connection is established.
12058 This is needed to prevent from weird situation described at
12059 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12060 * frame.el (make-frame): Set x-display-name after call to
12061 window system initialization function, not before.
12062 * term/x-win.el (x-initialize-window-system): Add optional
12063 display argument and use it.
12064 * term/w32-win.el (w32-initialize-window-system):
12065 * term/ns-win.el (ns-initialize-window-system):
12066 * term/pc-win.el (msdos-initialize-window-system):
12067 Add compatible optional display argument.
12069 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12071 * files.el (normal-backup-enable-predicate): On MS-Windows and
12072 MS-DOS compare truenames of temporary-file-directory and of the
12073 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12074 don't fail comparison by compare-strings. Also, compare file
12075 names case-insensitively on MS-Windows and MS-DOS.
12077 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12079 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12080 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12082 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12084 * whitespace.el (whitespace-color-on, whitespace-color-off):
12085 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12087 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12089 * ispell.el (ispell-set-spellchecker-params):
12090 Really set `ispell-args' for all equivs.
12092 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12094 * ido.el (ido-completions): Use extra elements of ido-decorations
12096 (ido-decorations): Update docstring.
12098 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12100 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12101 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12102 nil during initialization, in order not to miss changes since the
12103 file was opened. (Bug#14140)
12105 2013-04-05 Leo Liu <sdl.web@gmail.com>
12107 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12109 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12111 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12113 2013-04-04 Glenn Morris <rgm@gnu.org>
12115 * electric.el (electric-pair-inhibit-predicate): Add :version.
12117 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12119 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12120 when a package is required several times (bug#14082).
12122 2013-04-04 Roland Winkler <winkler@gnu.org>
12124 * faces.el (read-face-name): Behave as promised by the docstring.
12125 Assume that arg default is a list of faces.
12126 (describe-face): Call read-face-name with list of default faces.
12128 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12130 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12131 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12132 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12134 (bookmark-exit-hook-internal): Save even if list is empty.
12136 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12138 * emacs-lisp/package.el (package-pinned-packages): New var.
12139 (package--add-to-archive-contents): Obey it (bug#14118).
12141 2013-04-03 Alan Mackenzie <acm@muc.de>
12143 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12144 Also adapt to the new values of element 7 of a parse state.
12146 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12147 parameter `not-in-delimiter'. Handle being inside comment opener.
12148 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12149 character in case we're typing a '*' after a '/'.
12150 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12151 instead by passing the parameter to c-state-pp-to-literal.
12153 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12154 for elt. 7 of a parse state.
12156 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12158 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12159 * international/latin1-disp.el, international/mule-util.el:
12160 * language/cyril-util.el, language/european.el, language/ind-util.el:
12161 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12162 * language/tibetan.el, language/viet-util.el:
12163 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12165 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12167 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12168 (electric-pair-post-self-insert-function): Use it.
12169 (electric-pair-default-inhibit): New function, extracted from
12170 electric-pair-post-self-insert-function.
12172 2013-03-31 Roland Winkler <winkler@gnu.org>
12174 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12176 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12178 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12180 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12182 Un-indent after "pass" and "return" statements (Bug#13888)
12183 * progmodes/python.el (python-indent-block-enders): New var.
12184 (python-indent-calculate-indentation): Use it.
12186 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12188 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12189 defun. Defining it as defalias could introduce too eager
12190 byte-compiler optimization. (Bug#14030)
12192 2013-03-30 Chong Yidong <cyd@gnu.org>
12194 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12196 2013-03-30 Leo Liu <sdl.web@gmail.com>
12198 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12199 (kmacro-execute-from-register): Pass the keyboard macro to
12200 kmacro-call-macro or repeating won't work correctly.
12202 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12204 * progmodes/subword.el: Back to using `forward-symbol'.
12206 * subr.el (forward-whitespace, forward-symbol)
12207 (forward-same-syntax): Move from thingatpt.el.
12209 2013-03-29 Leo Liu <sdl.web@gmail.com>
12211 * kmacro.el (kmacro-to-register): New command.
12212 (kmacro-execute-from-register): New function.
12213 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12215 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12217 * mpc.el: Use defvar-local and setq-local.
12218 (mpc--proc-connect): Connection failures are not bugs.
12219 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12220 (mpc-volume-map): Bind to the up-events.
12222 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12224 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12225 instead of `forward-symbol'.
12227 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12229 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12230 (edebug--recursive-edit): Use it.
12231 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12232 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12234 2013-03-28 Leo Liu <sdl.web@gmail.com>
12236 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12238 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12240 * facemenu.el (list-colors-callback): New defvar.
12241 (list-colors-redisplay): New function.
12242 (list-colors-display): Install list-colors-redisplay as the
12243 revert-buffer-function. (Bug#14063)
12245 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12247 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12248 and suffixes don't overlap (bug#14061).
12250 * case-table.el: Use lexical-binding.
12251 (case-table-get-table): New function.
12252 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12254 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12256 * progmodes/subword.el: Add `superword-mode' to do word motion
12257 over symbol_words (parallels and leverages `subword-mode' which
12258 does word motion inside MixedCaseWords).
12260 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12262 * eshell/em-unix.el: Move su and sudo to...
12263 * eshell/em-tramp.el: ...Eshell tramp module.
12265 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12268 Change return value to be a sexp. Delay `get-buffer' to after
12269 restoring the desktop (bug#13951).
12271 2013-03-26 Leo Liu <sdl.web@gmail.com>
12273 * register.el: Move semantic tag handling back to
12274 cedet/semantic/senator.el. (Bug#14052)
12276 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12278 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12279 into the prompt either (bug#13963).
12281 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12283 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12284 part of "(error-foo)".
12286 2013-03-24 Juri Linkov <juri@jurta.org>
12288 * replace.el (list-matching-lines-prefix-face): New defcustom.
12289 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12290 `occur-engine' if `face-differs-from-default-p' returns t.
12291 (occur-engine): Add `,' inside backquote construct to evaluate
12292 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12293 Pass `prefix-face' to the functions `occur-context-lines' and
12294 `occur-engine-add-prefix'.
12295 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12296 `prefix-face' and propertize the prefix with `prefix-face'.
12299 2013-03-24 Leo Liu <sdl.web@gmail.com>
12301 * nxml/rng-valid.el (rng-validate-while-idle)
12302 (rng-validate-quick-while-idle): Guard against deleted buffer.
12305 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12306 is the last entry in kill-buffer-hook.
12308 * files.el (kill-buffer-hook): Doc fix.
12310 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12312 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12313 Make it safe-local.
12315 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12317 2013-03-23 Leo Liu <sdl.web@gmail.com>
12319 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12322 * nxml/rng-valid.el (rng-validate-mode)
12323 (rng-after-change-function, rng-do-some-validation):
12324 * nxml/rng-maint.el (rng-validate-buffer):
12325 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12326 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12327 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12328 (nxml-extend-after-change-region): Use with-silent-modifications.
12330 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12333 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12334 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12335 timer-idle-list. (Bug#13999)
12337 2013-03-23 Juri Linkov <juri@jurta.org>
12339 * info.el (info-index-match): New face.
12340 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12341 main pattern and add text properties with the new face to matches
12342 in index entries relative to the beginning of the index entry.
12345 2013-03-21 Eric Ludlam <zappo@gnu.org>
12347 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12348 Inhibit read only while inserting objects.
12350 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12352 * progmodes/cfengine.el: Update docs to mention
12353 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12354 symbol motion. Remove "_" from the word syntax.
12356 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12358 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12359 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12361 2013-03-20 Juri Linkov <juri@jurta.org>
12363 * info.el (Info-next-reference-or-link)
12364 (Info-prev-reference-or-link): New functions.
12365 (Info-next-reference, Info-prev-reference): Use them.
12366 (Info-try-follow-nearest-node): Handle footnote navigation.
12367 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12369 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12371 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12372 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12374 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12376 Suppress unnecessary non-ASCII chatter during build process.
12377 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12378 (batch-skkdic-convert): Suppress most of the chatter.
12379 It's not needed so much now that machines are faster,
12380 and its non-ASCII component was confusing; see Dmitry Gutov in
12381 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12383 2013-03-20 Leo Liu <sdl.web@gmail.com>
12385 * ido.el (ido-chop): Fix bug#10994.
12387 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12389 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12391 (whitespace-color-on, whitespace-color-off):
12392 Use `font-lock-fontify-buffer' (Bug#13817).
12394 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12396 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12397 remapping in mode-line.
12398 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12400 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12402 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12403 value for `whitespace-line' face (Bug#13875).
12404 (whitespace-font-lock-keywords): Change description.
12405 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12406 the constructed keywords instead.
12407 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12409 2013-03-19 Leo Liu <sdl.web@gmail.com>
12411 * progmodes/compile.el (compilation-display-error): New command.
12412 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12415 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12417 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12419 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12421 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12423 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12425 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12427 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12428 * net/tramp-gvfs.el (top):
12429 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12430 (tramp-handle-shell-command): Use it.
12431 (tramp-dissect-file-name): Raise an error when hostname is a
12432 method name, and neither method nor user is specified.
12434 * net/trampver.el: Update release number.
12436 2013-03-18 Leo Liu <sdl.web@gmail.com>
12438 Make sure eldoc can be turned off properly.
12439 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12441 (eldoc-display-message-p): Revert last change.
12442 (eldoc-display-message-no-interference-p)
12443 (eldoc-print-current-symbol-info): Tweak.
12445 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12447 * doc-view.el (doc-view-new-window-function): Check the new window
12448 overlay's display property instead the char property of the
12449 buffer's first char. Use `with-selected-window' instead of
12450 `save-window-excursion' with `select-window'.
12451 (doc-view-document->bitmap): Check the current doc-view overlay's
12452 display property instead the char property of the buffer's first char.
12454 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12456 Automate the build of ja-dic.el (Bug#13984).
12457 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12458 from the input, rather than assume that it's been done for us by the
12459 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12460 the current date into a ja-dic.el comment, as that complicates
12461 regression testing.
12463 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12465 * whitespace.el: Fix double evaluation.
12466 (whitespace-space, whitespace-hspace, whitespace-tab)
12467 (whitespace-newline, whitespace-trailing, whitespace-line)
12468 (whitespace-space-before-tab, whitespace-indentation)
12469 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12471 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12472 (whitespace-color-on): Use a single font-lock-add-keywords call.
12473 Fix double-evaluation of face variables.
12475 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12477 * net/tramp-adb.el (tramp-adb-parse-device-names):
12478 Use `start-process' instead of `call-process'. Otherwise, the
12479 function might be blocked under MS Windows. (Bug#13299)
12481 2013-03-17 Leo Liu <sdl.web@gmail.com>
12483 Extend eldoc to display info in the mode-line. (Bug#13978)
12484 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12485 (eldoc-mode-line-string): New variable.
12486 (eldoc-minibuffer-message): New function.
12487 (eldoc-message-function): New variable.
12488 (eldoc-message): Use it.
12489 (eldoc-display-message-p)
12490 (eldoc-display-message-no-interference-p):
12491 Support eldoc-post-insert-mode.
12493 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12494 (eval-expression): Run it.
12496 2013-03-17 Roland Winkler <winkler@gnu.org>
12498 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12499 strings in the list of return values.
12501 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12503 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12504 radix before checking for HMS forms.
12506 2013-03-16 Leo Liu <sdl.web@gmail.com>
12508 * progmodes/scheme.el: Add indentation and font-locking for λ.
12511 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12513 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12514 token before point (bug#13942).
12516 2013-03-16 Leo Liu <sdl.web@gmail.com>
12518 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12520 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12522 * startup.el (command-line-normalize-file-name): Fix handling of
12523 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12524 <xfq.free@gmail.com> in
12525 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12527 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12529 Sync with Tramp 2.2.7.
12531 * net/trampver.el: Update release number.
12533 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12535 * doc-view.el: Fix bug#13887.
12536 (doc-view-insert-image): Don't modify overlay associated to
12537 non-live windows, and implement horizontal centering of image in
12538 case it's smaller than the window.
12539 (doc-view-new-window-function): Force redisplay of new windows on
12542 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12544 * saveplace.el (save-place-alist-to-file): Don't sort
12545 `save-place-alist', just pretty-print it (bug#13882).
12547 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12549 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12550 Check whether `default-file-name-coding-system' is bound.
12551 It isn't in XEmacs.
12553 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12555 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12556 backquotes for `obsolete' (bug#13929).
12558 * international/mule.el (find-auto-coding): Include file name in
12559 obsolescence warning (bug#13922).
12561 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12563 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12564 for CFEngine 3-specific indentation.
12565 (cfengine3-indent-line): Use it. Fix up category regex.
12566 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12568 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12570 * type-break.el (type-break-file-name):
12571 * textmodes/remember.el (remember-data-file):
12572 * strokes.el (strokes-file):
12573 * shadowfile.el (shadow-initialize):
12574 * saveplace.el (save-place-file):
12575 * ps-bdf.el (bdf-cache-file):
12576 * progmodes/idlwave.el (idlwave-config-directory):
12577 * net/quickurl.el (quickurl-url-file):
12578 * international/kkc.el (kkc-init-file-name):
12579 * ido.el (ido-save-directory-list-file):
12580 * emulation/viper.el (viper-custom-file-name):
12581 * emulation/vip.el (vip-startup-file):
12582 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12583 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12585 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12587 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12588 * language/thai-word.el: Switch to UTF-8.
12590 See ChangeLog.16 for earlier changes.
12592 ;; Local Variables:
12596 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12598 This file is part of GNU Emacs.
12600 GNU Emacs is free software: you can redistribute it and/or modify
12601 it under the terms of the GNU General Public License as published by
12602 the Free Software Foundation, either version 3 of the License, or
12603 (at your option) any later version.
12605 GNU Emacs is distributed in the hope that it will be useful,
12606 but WITHOUT ANY WARRANTY; without even the implied warranty of
12607 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12608 GNU General Public License for more details.
12610 You should have received a copy of the GNU General Public License
12611 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.