1 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4 (eldoc--message-command-p): New function.
5 (eldoc-display-message-p): Use it.
6 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
7 message is not automatically erased for us.
8 (eldoc-print-current-symbol-info): Erase previous message, if any.
10 2014-01-21 Tassilo Horn <tsdh@gnu.org>
12 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13 specify it's an interactive function.
15 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
16 Fix regex used for scanning for citation keys which failed for
17 citations with optional arguments.
19 2014-01-21 Leo Liu <sdl.web@gmail.com>
21 * simple.el (read--expression): Don't enable eldoc-mode.
23 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
25 * simple.el (move-beginning-of-line): Make sure we don't move forward
28 2014-01-20 Juri Linkov <juri@jurta.org>
30 * saveplace.el (toggle-save-place, save-place-to-alist)
31 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
32 'dired-mode) before checking for dired-directory. (Bug#16477)
34 2014-01-20 Juri Linkov <juri@jurta.org>
36 * indent.el (indent-line-to): Use backward-to-indentation
37 instead of back-to-indentation. (Bug#16461)
39 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
41 Revert some of the CANNOT_DUMP fix (Bug#16494).
42 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
43 but fixing this can wait until after the next release.
44 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
46 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
48 * eshell/esh-mode.el (eshell-password-prompt-regexp):
49 Use `password-word-equivalents'.
50 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
51 to t. (Bug#5664, Bug#13124)
53 2014-01-19 Alan Mackenzie <acm@muc.de>
55 Bind open-paren-in-column-0-is-defun-start to nil at some entry
57 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
58 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
59 * progmodes/cc-mode.el (c-before-change, c-after-change)
60 (c-font-lock-fontify-region): Bind it here.
62 2014-01-19 Martin Rudalics <rudalics@gmx.at>
64 * term.el (term-window-width): Call window-text-width instead of
65 window-width (Bug#16470).
67 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
69 * simple.el (password-word-equivalents): Remove duplicates.
70 Sort, to make this easier next time.
71 Downcase. Omit ": " after "jelszó".
73 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
75 * term/common-win.el (saved-region-selection): Defvar it.
76 (x-select-text): Set saved-region-selection (Bug#16382).
78 2014-01-18 Glenn Morris <rgm@gnu.org>
80 * emacs-lisp/authors.el (authors-aliases)
81 (authors-renamed-files-alist): Add some entries.
83 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
85 * net/tramp.el (tramp-password-prompt-regexp):
86 Use `password-word-equivalents' if available.
87 (tramp-action-password, tramp-process-one-action)
88 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
90 2014-01-17 Chong Yidong <cyd@gnu.org>
92 * simple.el (password-word-equivalents): New defcustom.
93 * comint.el (comint-password-prompt-regexp): Use it. Bump version
95 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
98 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
100 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
101 (ruby-align-to-stmt-keywords): Change the default value.
102 Use `ruby-alignable-keywords' to generate the possible customization
104 (ruby-smie-rules): Instead of using a hardcoded list of alignable
105 keywords, check against the value of `ruby-alignable-keywords'
106 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
108 2014-01-17 Glenn Morris <rgm@gnu.org>
110 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
112 Make M-x authors return zero *Authors Errors* from current logs.
113 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
114 (authors-ignored-files): Add some entries, remove others.
115 (authors-ambiguous-files, authors-valid-file-names):
117 (authors-renamed-files-alist): Add, remove, and adjust entries.
118 (authors-renamed-files-regexps): Add some entries.
119 Remove some very broad ones. Make some entries `lax'.
120 (authors-lax-changelogs): New constant.
121 (authors-disambiguate-file-name): Treat top-level specially.
122 (authors-lax-changelog-p): New function.
123 (authors-canonical-file-name): Check file as written against
124 authors-valid-file-names. Do not special-case etc/.
125 Handle `lax' logs and authors-renamed-files-regexps elements.
127 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
129 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
130 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
133 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
135 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
136 Assume we're already in the proper buffer.
137 Inspired by Anders Lindgren <andlind@gmail.com>.
138 (follow-post-command-hook): Call it from the right buffer.
139 (follow-comint-scroll-to-bottom): Adjust call.
140 (follow-all-followers): Use get-buffer-window-list.
142 2014-01-15 Daniel Colascione <dancol@dancol.org>
144 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
145 `buffer-file-name' in interactive-form so that we don't leave
146 pathless file names in `file-name-history'.
148 2014-01-15 Juri Linkov <juri@jurta.org>
150 * indent.el (indent-rigidly): Set deactivate-mark to nil
151 in transient indentation mode. (Bug#16438)
153 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
155 * emacs-lisp/package.el (package-desc-keywords): New function
157 (describe-package-1, package-all-keywords)
158 (package--has-keyword-p): Use it.
160 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
162 * simple.el (define-alternatives): When creating the
163 COMMAND-alternatives variable, assign COMMAND as its definition
164 name so that `describe-variable' can relocate it.
166 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
168 * font-lock.el (font-lock-keywords): Fix typo in docstring
171 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
173 * ispell.el (ispell-region): Reset `in-comment' for new line
174 instead of wrongly reset `add-coment' (bug#13577).
176 2014-01-14 Daiki Ueno <ueno@gnu.org>
178 * epa-file.el (epa-file-write-region): Encode the region according
179 to `buffer-file-format'. Problem reported at:
180 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
182 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
184 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
185 so it applies in the right buffer (bug#16410).
187 2014-01-13 Daniel Colascione <dancol@dancol.org>
189 * textmodes/rst.el (rst-define-key): Provide deprecated
190 keybindings through named functions instead of anonymous ones so
191 that "??" doesn't appear in describe-mode output.
193 2014-01-13 Bastien Guerry <bzg@gnu.org>
195 * simple.el (define-alternatives): Call the selected command
196 interactively. When setting `COMMAND--implementation' for the
197 first time, tell the user how to chose another implementation.
198 Enhance the docstring.
200 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
202 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
203 (log-edit--match-first-line): New function.
204 (log-edit-font-lock-keywords): Use it.
205 (log-edit-mode): Make jit-lock-defer-multiline work.
207 2014-01-13 Bastien Guerry <bzg@gnu.org>
209 * rect.el (rectangle-mark-mode): When the region is not active,
210 display a message saying that the mark as been set and that
211 rectangle mode is in use.
212 (rectangle--highlight-for-redisplay): Only put an overlay with a
213 visible vertical bar when (display-graphic-p) is non-nil.
214 This partially fixes Bug#16403.
216 2014-01-13 Juri Linkov <juri@jurta.org>
218 * info.el (Info-find-file): Go to DIR before displaying the error
219 about a nonexistent file if no previous Info file is visited.
220 Use `user-error' instead of `error' for "Info file %s does not exist".
221 (Info-find-node-2): In case of a nonexistent node in unwind forms
222 go to the Top node if there is no previous node to revert to.
225 2014-01-13 Martin Rudalics <rudalics@gmx.at>
227 fit-frame/window-to-buffer code fixes including one for Bug#14096.
228 * window.el (fit-frame-to-buffer): Fix doc-string.
229 Respect window-min-height/-width. Fit pixelwise when
230 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
231 when avoiding that frame goes partially off-screen.
232 (fit-window-to-buffer): Respect window-min-height/-width
235 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
237 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
240 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
242 * net/shr.el (shr-render-region): Autoload.
244 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
246 * net/eww.el (eww-download-directory): Rename from
247 `eww-download-path' (Bug#16419).
249 2014-01-12 Leo Liu <sdl.web@gmail.com>
251 * dired-x.el (dired-mode-map): Fix last change.
253 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
255 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
258 * emacs-lisp/generic.el (generic--normalize-comments):
259 Rename from generic--normalise-comments. All uses changed.
260 * play/bubbles.el (bubbles--neighborhood-score):
261 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
262 (bubbles--neighborhood-available)
263 (bubbles--update-neighborhood-score):
264 Rename from names with 'neighbourhood'. All uses changed.
266 2014-01-12 Leo Liu <sdl.web@gmail.com>
268 Re-implement the feature of showing eldoc info after editing.
269 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
270 (eldoc-edit-message-commands): New function.
271 (eldoc-print-after-edit): New variable.
272 (eldoc-pre-command-refresh-echo-area): Emit message only by
273 eldoc-message-commands.
274 (eldoc-mode): Restrict eldoc-message-commands to editing commands
275 if eldoc-print-after-edit is set. (Bug#16346)
276 * simple.el (read--expression): Enable eldoc-mode.
277 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
279 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
281 * version.el (emacs-repository-get-version): Enhance so the
282 function works correctly in either a Bazaar or Git repo.
284 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
285 Goes with removal of the joke manpages from /etc.
287 2014-01-10 K. Handa <handa@gnu.org>
289 * mail/rmail.el (rmail-get-coding-system):
290 Check rmail-get-coding-function before "funcall"ing it.
292 2014-01-10 Glenn Morris <rgm@gnu.org>
294 * emacs-lisp/authors.el (authors-fixed-entries):
295 Update for files that no longer exist.
297 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
299 * version.el (emacs-bzr-get-version): Restore compatibilty with
302 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
304 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
307 2014-01-10 Eli Zaretskii <eliz@gnu.org>
309 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
311 2014-01-10 Chong Yidong <cyd@gnu.org>
313 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
315 2014-01-10 Anders Lindgren <andlind@gmail.com>
317 * follow.el (follow-cache-command-list): Include right-char and
320 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
323 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
324 * woman.el (woman-mark-horizontal-position):
325 Rename from woman-mark-horizonal-position. Use changed.
327 2014-01-10 Glenn Morris <rgm@gnu.org>
329 * info.el (info-initialize): If running uninstalled, ensure our
330 own info files are always found first, even if INFOPATH is set.
332 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
334 2014-01-09 David Engster <deng@randomsample.de>
336 * emacs-lisp/eieio-custom.el:
337 * emacs-lisp/eieio-opt.el: Set generated autoload file to
338 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
339 * emacs-lisp/eieio.el: Regenerate autoloads.
341 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
343 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
344 following renames. (Bug#8756)
346 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
348 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
350 (activate-mark): Add `no-tmm' argument.
351 (set-mark, push-mark-command): Use it instead of running
352 activate-mark-hook by hand.
354 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
356 In preparation for the move to git, sanitize out some
357 Bazaar-specific names.
359 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
361 * version.el (emacs-bzr-version): Name changed to
362 emacs-repository-version. Obsolete-variable alias made.
363 * loadup.el: Follow through on this name change.
364 * mail/emacsbug.el (report-emacs-bug): Factor out any
365 assumption about the version control system in use.
367 2014-01-08 David Engster <deng@randomsample.de>
369 * help-fns.el (help-fns-describe-function-functions):
370 New variable to call functions for augmenting help buffers.
371 (describe-function-1): Remove explicit calls to
372 `help-fns--compiler-macro', `help-fns--parent-mode' and
373 `help-fns--obsolete'. Put them in above new variable instead, and
374 call them through `run-hook-with-args'.
375 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
376 `eieio-describe-class'. Not meant for interactive use anymore,
377 but to augment existing help buffers. Remove optional second
378 argument. Create proper button for file location.
379 Rewrite function to use `insert' instead of `princ' and `prin1' where
381 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
382 (eieio-method-def, eieio-class-def): Move further up.
383 (describe-method, describe-generic, eieio-describe-method):
385 (eieio-help-constructor, eieio-help-generic): Rename from
386 `eieio-describe-constructor' and `eieio-describe-generic', resp.
387 Rewrite to use `insert' in the current buffer and use proper help
389 (eieio-help-find-method-definition)
390 (eieio-help-find-class-definition): Also accept symbols as
392 (eieio-help-mode-augmentation-maybee): Remove.
393 (eieio-describe-class-sb): Use `describe-function'.
394 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
395 Add `eieio-help-generic' and `eieio-help-constructor'.
397 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
400 * language/china-util.el (hz-ascii-designation):
401 Rename from hz-ascii-designnation.
402 (hz-ascii-designation): Rename from hz-ascii-designnation.
405 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
407 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
410 2014-01-08 Bastien Guerry <bzg@gnu.org>
412 * emacs-lisp/package.el (package-delete):
413 Correctly delete the package from package-alist.
415 2014-01-08 Daiki Ueno <ueno@gnu.org>
417 * emacs-lisp/package.el (url-recreate-url): Declare.
418 (url-http-target-url): Declare.
419 (package-handle-response): Include requested URL in the error message.
420 (package--check-signature): Don't re-signal errors from
421 package--with-work-buffer. Suggested by Stefan Monnier.
423 2014-01-07 Bastien Guerry <bzg@gnu.org>
425 * minibuffer.el (completion--try-word-completion): When both a
426 hyphen and a space are possible candidates for the character
427 following a word, display both candidates. (Bug#15980)
429 2014-01-07 Martin Rudalics <rudalics@gmx.at>
431 * window.el (balance-windows-2): While rounding don't give a
432 window more than the remainder. Bug#16351, Bug#16383.
434 2014-01-07 Glenn Morris <rgm@gnu.org>
436 * menu-bar.el (menu-bar-help-extra-packages): Remove.
437 (menu-bar-help-menu): Use view-external-packages instead.
439 2014-01-07 Bastien Guerry <bzg@gnu.org>
441 * emacs-lisp/package.el (package-delete): Also delete the package
442 name from `package-alist', not its description only.
444 2014-01-07 Glenn Morris <rgm@gnu.org>
446 * help.el (view-external-packages):
447 * menu-bar.el (menu-bar-help-extra-packages):
448 Visit efaq.info rather than etc/MORE.STUFF.
450 2014-01-07 Juri Linkov <juri@jurta.org>
452 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
453 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
455 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
456 that shadows RET. (Bug#16342)
458 2014-01-07 Chong Yidong <cyd@gnu.org>
460 * isearch.el (isearch-yank-char, isearch-yank-word)
461 (isearch-yank-line): Doc fix.
463 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
465 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
466 * emacs-lisp/elint.el (elint-find-builtins):
467 * emacs-lisp/eldoc.el (eldoc-symbol-function):
468 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
469 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
470 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
471 * apropos.el (apropos-safe-documentation):
472 * subr.el (symbol-file): Remove redundant fboundp.
473 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
475 2014-01-06 Bastien Guerry <bzg@gnu.org>
477 * hl-line.el (global-hl-line-overlay): Make a local variable.
478 (global-hl-line-overlays): New variable to store all overlays.
479 (global-hl-line-mode): Don't delete overlays from the current
480 buffer when `global-hl-line-sticky-flag' is non-nil.
481 (global-hl-line-highlight): Add new overlays to
482 `global-hl-line-overlays'.
483 (global-hl-line-unhighlight-all): New function to delete all
484 overlays when turning off `global-hl-line-mode'.
485 This fixes Bug#16183.
487 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
489 * subr.el (set-transient-map): Fix nested case and docstring.
491 2014-01-06 Tassilo Horn <tsdh@gnu.org>
493 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
496 2014-01-06 Daniel Colascione <dancol@dancol.org>
498 Fix defun navigation in vc log view.
500 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
501 like `beginning-of-defun'.
502 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
503 log-view-end-of-defun to log-view-end-of-defun-1. Replace
504 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
505 (log-view-extract-comment): Call `log-view-current-entry' directly
506 instead of relying on broken `log-view-beginning-of-defun' behavior.
508 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
511 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
512 * emacs-lisp/debug.el (cancel-debug-on-entry):
513 * epg.el (epg-error-to-string):
514 * files.el (recover-file):
515 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
516 * mail/emacsbug.el (report-emacs-bug-hook):
517 * mail/sendmail.el (mail-recover):
518 * ses.el (ses-yank-resize):
519 * term/ns-win.el (ns-print-buffer):
520 Spelling fixes in diagnostics, mostly for "canceled" with one L.
521 * epg.el (epg-key-capability-alist): Rename from misspelled version.
523 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
525 2014-01-06 Leo Liu <sdl.web@gmail.com>
527 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
528 to avoid shadowing global key. (Bug#16354)
530 2014-01-06 Daniel Colascione <dancol@dancol.org>
532 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
535 2014-01-05 Martin Rudalics <rudalics@gmx.at>
537 * window.el (balance-windows): Add mising t to fix Bug#16351.
539 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
541 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
543 (shr-insert): If we have a word that's longer than `shr-width',
544 break after it anyway. Otherwise we'll do no breaking once we get
547 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
549 * net/eww.el (eww): Support single/double quote for search.
550 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
551 (eww-history-quit): Delete and use quit-window.
552 (eww-history-kill): Delete, because it doesn't work well and
554 (eww-history-mode-map): Delete some keys and add easy-menu.
556 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
558 Fix misspelling of 'chinese' in rx (Bug#16237).
559 * emacs-lisp/rx.el (rx-categories): Correct spelling of
562 Change subword regexps back to vars (Bug#16296).
563 * progmodes/subword.el (subword-forward-regexp)
564 (subword-backward-regexp): Change these back to variables.
566 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
568 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
569 syntax-begin-function (bug#16247).
571 2014-01-03 Chong Yidong <cyd@gnu.org>
573 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
574 (advice--docstring): Delete variable.
575 (advice--make-1): Leave the docstring empty.
576 (advice-add): Use function-documentation for advised docstring.
578 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
579 Ignore function-documentation property when getting documentation.
580 (ad-activate-advised-definition): Use function-documentation
581 generate the docstring.
582 (ad-make-advised-definition): Don't call
583 ad-make-advised-definition-docstring.
584 (ad-make-advised-definition-docstring, ad-advised-definition-p):
587 * progmodes/sql.el (sql-help): Use function-documentation instead
588 of dynamic-docstring-function property. No need to autoload now.
589 (sql--help-docstring): New variable.
590 (sql--make-help-docstring): Use it.
592 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
594 * ielm.el (ielm-tab): Retarget.
595 (ielm-map): Use ielm-tab for tab.
596 (ielm-complete-filename): Use comint-filename-completion.
597 (ielm-complete-symbol): Remove.
598 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
599 remove ielm-tab from completion-at-point-functions (bug#16224).
601 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
602 Beware signals raised by predicates (bug#16201).
604 2014-01-02 Richard Stallman <rms@gnu.org>
606 * dired-aux.el (dired-do-print): Handle printer-name.
608 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
609 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
610 (rmail-epa-decrypt): Turn off mime processing.
612 * mail/rmail.el (rmail-make-in-reply-to-field):
613 Add parens in message-id.
615 * mail/rmail.el (rmail-get-coding-function): Variable.
616 (rmail-get-coding-system): Use it.
618 2013-12-31 Eli Zaretskii <eliz@gnu.org>
620 * international/mule-conf.el: Unify the charset indian-is13194.
621 (indian-is13194): Specify unify-map.
623 2013-12-31 Leo Liu <sdl.web@gmail.com>
625 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
627 2013-12-30 Daniel Colascione <dancol@dancol.org>
629 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
630 of printing a useless when we resume from sleep.
632 * progmodes/sh-script.el
633 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
634 in indentation code. (Bug#16233)
636 2013-12-28 João Távora <joaotavora@gmail.com>
638 * elec-pair.el (electric-pair-post-self-insert-function):
639 Don't open extra newlines at beginning of buffer. (Bug#16272)
641 2013-12-28 Eli Zaretskii <eliz@gnu.org>
643 * frame.el (window-system-for-display): Don't allow to create a
644 GUI frame from a -nw session on MS-Windows. (Bug#14739)
646 2013-12-28 Glenn Morris <rgm@gnu.org>
648 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
651 * apropos.el (apropos-match-face):
652 * calculator.el (calculator-displayer):
653 * dabbrev.el (dabbrev-search-these-buffers-only):
654 * face-remap.el (buffer-face-mode-face):
655 * simple.el (yank-handled-properties):
656 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
657 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
658 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
659 (hashcash-double-spend-database):
660 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
661 (ruby-deep-indent-paren-style):
662 * textmodes/flyspell.el (flyspell-auto-correct-binding):
663 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
664 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
665 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
666 Specify custom types.
668 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
669 * bookmark.el (bookmark-bmenu-use-header-line):
670 * doc-view.el (doc-view-scale-internally):
671 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
672 * register.el (register-preview-delay):
673 * net/shr.el (shr-bullet):
674 * progmodes/cfengine.el (cfengine-cf-promises)
675 (cfengine-parameters-indent):
676 * progmodes/octave.el (inferior-octave-error-regexp-alist):
677 * textmodes/reftex-vars.el (reftex-label-regexps):
678 * vc/log-edit.el (log-edit-setup-add-author): Add version.
680 * net/tls.el (tls-certtool-program): Fix default value.
682 * desktop.el (desktop-restore-in-current-display):
683 * newcomment.el (comment-empty-lines):
684 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
685 (idlwave-pad-keyword):
686 * progmodes/tcl.el (tcl-tab-always-indent):
687 * textmodes/reftex-vars.el (reftex-index-default-tag):
688 * elec-pair.el (electric-pair-skip-whitespace):
689 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
691 * emacs-lisp/authors.el (authors-ignored-files)
692 (authors-valid-file-names, authors-renamed-files-alist): Additions.
694 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
696 * shell.el (shell-dynamic-complete-command): Doc fix.
697 (shell--command-completion-data): Shell completion now matches
698 executable filenames from the current buffer's directory, on
699 systems in which this behavior is the default (windows-nt, ms-dos).
701 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
703 * net/shr.el (shr-insert): Don't infloop if the width is zero.
705 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
707 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
710 * electric.el: Move all electric-pair-* to elec-pair.el.
711 * elec-pair.el: New file, split from electric.el.
713 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
715 * net/shr.el (shr-find-fill-point): Don't try to fill if the
716 indentation level is larger than the width, because that will
718 (shr-insert): Fill repeatedly long texts, so that Japanese is
719 formatted correctly (bug#16263).
720 (shr-find-fill-point): Off by one error in comparison with the
723 2013-12-26 João Távora <joaotavora@gmail.com>
725 * electric.el (electric-pair-mode): More flexible engine for skip-
726 and inhibit predicates, new options for pairing-related functionality.
727 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
728 if that keeps or improves their balance in buffers.
729 (electric-pair-delete-adjacent-pairs): Delete the pair when
730 backspacing over adjacent matched delimiters.
731 (electric-pair-open-extra-newline): Open extra newline when
732 inserting newlines between adjacent matched delimiters.
733 (electric--sort-post-self-insertion-hook):
734 Sort post-self-insert-hook according to priority values when
735 minor-modes are activated.
736 * simple.el (newline-and-indent): Call newline with interactive
738 (blink-paren-post-self-insert-function): Set priority to 100.
739 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
740 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
741 comments. Locally set electric-pair-skip-whitespace to 'chomp and
742 electric-pair-open-newline-between-pairs to nil.
744 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
746 * progmodes/python.el: Use lexical-binding.
747 (python-nav-beginning-of-defun): Stop searching ASAP.
749 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
751 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
752 Fix interactive spec. Doc fix. (Bug#15754)
754 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
756 * emacs-lisp/byte-run.el (eval-when-compile):
757 * progmodes/cc-defs.el (cc-eval-when-compile):
758 Fix edebug spec (bug#16184).
760 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
762 * net/shr.el (shr-visit-file): Remove debugging function.
763 (shr-insert): Don't infloop if we can't find a good place to break
764 the line (bug#16256).
766 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
768 * progmodes/python.el:
769 (python-nav--lisp-forward-sexp): New function.
770 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
771 python-nav-lisp-forward-sexp-safe.
772 (python-nav--forward-sexp): New argument SAFE allows switching
773 forward sexp movement behavior for parens.
774 (python-nav-forward-sexp): Throw errors on unterminated parens
776 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
777 (python-nav-backward-sexp-safe): New functions.
778 (python-shell-buffer-substring):
779 Use `python-nav-forward-sexp-safe'.
781 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
783 * net/shr.el (shr-find-fill-point): Don't break lines before a
785 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
786 (shr-find-fill-point): Remove the special checks for the quotation
787 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
789 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
791 * net/eww.el (eww-form-textarea): Use a different face for
792 textareas than text input since they have different keymaps
795 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
797 * progmodes/python.el (python-nav-beginning-of-statement):
798 Speed up (Bug#15295).
800 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
802 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
803 the window configuration.
805 2013-12-24 Eli Zaretskii <eliz@gnu.org>
807 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
808 we run on MS-Windows or MS-DOS.
810 2013-12-24 Martin Rudalics <rudalics@gmx.at>
812 * window.el (balance-windows-area): Call window-size instead of
813 window-height and window-width. Bug#16241.
815 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
817 * net/eww.el (eww-bookmark-quit): Remove.
818 (eww-bookmark-browse): Restore the window configuration when you
819 choose a bookmark (bug#16144).
821 2013-12-24 Daniel Colascione <dancol@dancol.org>
823 * icomplete.el: Remove redundant :group arguments to `defcustom'
825 (icomplete-show-matches-on-no-input): New customizable variable.
826 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
827 we have something to show.
828 (icomplete-exhibit): Compute completions even if we have no user input.
830 2013-12-23 Daniel Colascione <dancol@dancol.org>
832 * icomplete.el: Move `provide' to end of file.
834 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
836 * net/gnutls.el (gnutls-verify-error): Add version tag.
838 2013-12-23 Chong Yidong <cyd@gnu.org>
840 * subr.el (set-transient-map): Rename from
841 set-temporary-overlay-map. Doc fix.
843 * face-remap.el (text-scale-adjust):
844 * indent.el (indent-rigidly):
845 * kmacro.el (kmacro-call-macro):
846 * minibuffer.el (minibuffer-force-complete):
847 * repeat.el (repeat):
848 * simple.el (universal-argument--mode):
849 * calendar/todo-mode.el (todo-insert-item--next-param):
850 * progmodes/f90.el (f90-abbrev-start): Callers changed.
852 * indent.el (indent-rigidly): Use substitute-command-keys.
854 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
856 * net/eww.el (eww-tag-select): Add text-property to jump to next
858 (eww): Add non-supported ftp error.
860 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
862 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
863 comments. Handle electric indent after typing `?' and `!'.
865 2013-12-22 Chong Yidong <cyd@gnu.org>
867 * faces.el (face-spec-recalc): If the theme specs are not
868 applicable to a frame, fall back on the defface spec.
869 This prevents themes from obliterating faces on low-color terminals.
871 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
873 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
874 after `{'. We need it after block openers, and it doesn't seem
875 to hurt after hash openers.
877 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
879 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
880 extracted from `ruby-smie-rules'.
881 (ruby--electric-indent-chars): New variable.
882 (ruby--electric-indent-p): New function.
883 (ruby-mode): Use `electric-indent-functions' instead of
884 `electric-indent-chars'.
886 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
888 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
890 (ruby-smie-rules): Indent plus one level after `=>'.
892 2013-12-21 Richard Stallman <rms@gnu.org>
894 * simple.el (newline): Doc fix.
896 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
898 * net/eww.el (eww-list-histories, eww-list-histories)
899 (eww-history-browse, eww-history-quit, eww-history-kill)
900 (eww-history-mode-map, eww-history-mode): New command and
901 functions to list browser histories.
902 (eww-form-text): Support text form with disabled
903 and readonly attributes.
904 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
906 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
908 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
909 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
910 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
911 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
913 (eww-bookmark-mode-map): Add menu.
914 (eww-render, eww-mode): Use `setq-local'.
915 (eww-tool-bar-map): New variable.
916 (eww-mode): Set `tool-bar-map'.
917 (eww-view-source): Check for `html-mode' with `fboundp'.
919 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
921 * net/shr.el (shr--extract-best-source): Don't bug out on audio
922 elements with text inside. Also remove debugging.
924 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
926 * cus-start.el (all): Add ns-use-srgb-colorspace.
928 2013-12-21 Chong Yidong <cyd@gnu.org>
930 * custom.el (custom-theme-recalc-face): Do nothing if the face is
931 undefined. Thus, theme settings for undefined faces do not take
932 effect until the faces are defined with defface, the same as with
935 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
936 (face-spec-reset-face): Don't assign extra properties in temacs.
937 (face-spec-recalc): Apply X resources too.
939 2013-12-21 Chong Yidong <cyd@gnu.org>
941 * faces.el (face-spec-set):
942 * cus-face.el (custom-theme-set-faces, custom-set-faces):
943 * custom.el (defface): Doc fixes (Bug#16203).
945 * indent.el (indent-rigidly-map): Add docstring, and move commands
946 into named functions.
947 (indent-rigidly-left, indent-rigidly-right)
948 (indent-rigidly-left-to-tab-stop)
949 (indent-rigidly-right-to-tab-stop): New functions. Decide on
950 indentation direction based on bidi direction, and accumulate
951 sequential commands in a single undo boundary.
952 (indent-rigidly--pop-undo): New utility function.
954 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
956 * faces.el (read-face-name): Require crm.el when using crm-separator.
958 2013-12-20 Daniel Colascione <dancol@dancol.org>
960 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
961 so that we don't reflow comments into the shebang line.
963 2013-12-20 Juri Linkov <juri@jurta.org>
965 * saveplace.el (save-place-to-alist): Add `dired-filename' as
966 a position when `dired-directory' is non-nil. Check integer
967 positions with `integerp'.
968 (toggle-save-place, save-places-to-alist): Add check for
970 (save-place-find-file-hook): Check integer positions with
972 (save-place-dired-hook): Use `dired-goto-file' when
973 `dired-filename' is found in the assoc list. Check integer
974 positions with `integerp'.
975 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
977 * dired.el (dired-initial-position-hook): Rename back from
978 `dired-initial-point-hook'.
979 (dired-initial-position): Rename `dired-initial-point-hook' to
980 `dired-initial-position-hook'.
981 (dired-file-name-at-point): Doc fix. (Bug#15329)
983 2013-12-20 Juri Linkov <juri@jurta.org>
985 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
986 (read-regexp-suggestions): New function.
987 (read-regexp): Use `read-regexp-defaults-function' to get default values.
988 Use `read-regexp-suggestions'. Add non-empty default to history
990 (occur-read-regexp-defaults-function): Remove function.
991 (occur-read-primary-args): Use `regexp-history-last' instead of
992 `occur-read-regexp-defaults-function'.
994 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
995 (hi-lock-line-face-buffer, hi-lock-face-buffer)
996 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
997 `hi-lock-read-regexp-defaults-function'. Doc fix.
998 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
999 with `find-tag-default-as-symbol-regexp'. Doc fix.
1000 (hi-lock-read-regexp-defaults): Remove function.
1001 (hi-lock-regexp-okay): Add check for null.
1003 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1004 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1006 * subr.el (find-tag-default-as-symbol-regexp): New function.
1007 (find-tag-default-as-regexp): Move symbol regexp formatting to
1008 `find-tag-default-as-symbol-regexp'.
1010 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1012 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1015 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1017 * calendar/todo-mode.el: New implementation of item insertion
1018 commands and key bindings.
1019 (todo-key-prompt): New face.
1020 (todo-insert-item): New command.
1021 (todo-insert-item--parameters): New defconst, replacing defvar
1022 todo-insertion-commands-args-genlist.
1023 (todo-insert-item--param-key-alist): New defconst, replacing
1024 defvar todo-insertion-commands-arg-key-list.
1025 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1026 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1027 (todo-insert-item--next-param): New functions.
1028 (todo-insert-item--args, todo-insert-item--argleft)
1029 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1031 (todo-key-bindings-t): Change binding of "i" from
1032 todo-insertion-map to todo-insert-item.
1033 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1034 (todo-insertion-command-name, todo-insertion-commands-names)
1035 (todo-define-insertion-command, todo-insertion-commands)
1036 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1038 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1040 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1041 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1043 (todo-move-category): Allow choosing a non-existing todo file to
1044 move the category to, and create that file.
1045 (todo-default-priority): New user option.
1046 (todo-set-item-priority): Use it.
1047 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1048 (desktop-restore-file-buffer): Declare.
1049 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1050 (todo-modes-set-2): Locally set desktop-save-buffer to
1051 todo-desktop-save-buffer.
1052 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1053 (auto-mode-alist): Add autoload cookie.
1055 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1057 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1058 helpers.el was a poor choice of name.
1059 (string-remove-prefix): New function.
1060 (string-remove-suffix): New function.
1062 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1064 Fix assignment for new window total sizes.
1065 * window.el (window--pixel-to-size): Remove function.
1066 (window--pixel-to-total-1, window--pixel-to-total):
1067 Fix calculation of new total sizes.
1069 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1071 * comint.el (comint-output-filter): Fix rear-nonsticky property
1072 placement (Bug#16010).
1074 2013-12-20 Chong Yidong <cyd@gnu.org>
1076 * faces.el (read-color): Minor fix for completion function.
1078 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1080 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1081 New option. (Bug#16182)
1082 (ruby-smie--indent-to-stmt-p): Use it.
1083 (ruby-smie-rules): Revert the logic in the handling of `when'.
1084 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1085 (ruby-deep-arglist, ruby-deep-indent-paren)
1086 (ruby-deep-indent-paren-style): Update docstrings to note that the
1087 vars don't have any effect with SMIE.
1089 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1091 * calc/calc.el (calc-enter, calc-pop): Use the variable
1092 `calc-context-sensitive-enter'.
1094 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1096 * net/shr.el (shr-insert): Protect against infloops in degenerate
1099 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1101 * progmodes/octave.el (octave): Add link to manual and octave
1103 (octave-mode-menu): Link to octave-mode manual.
1105 2013-12-20 Leo Liu <sdl.web@gmail.com>
1107 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1108 insertion using skeleton-end-newline. (Bug#16138)
1110 2013-12-20 Juri Linkov <juri@jurta.org>
1112 * replace.el (occur-engine): Use `add-face-text-property'
1113 to add the face property to matches and titles. (Bug#14645)
1115 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1116 the palette of other hi-lock colors.
1117 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1119 2013-12-19 Juri Linkov <juri@jurta.org>
1121 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1122 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1123 (minibuffer-history-symbol): Move variable declaration closer to
1126 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1129 2013-12-19 Juri Linkov <juri@jurta.org>
1131 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1133 (log-edit-hook): Add it to :options. (Bug#16170)
1135 2013-12-19 Juri Linkov <juri@jurta.org>
1137 * simple.el (eval-expression-print-format): Don't check for
1138 command names and the last command. Always display additional
1139 formats of the integer result in the echo area, and insert them
1140 to the current buffer only with a zero prefix arg.
1141 Display character when char-displayable-p is non-nil.
1142 (eval-expression): With a zero prefix arg, set `print-length' and
1143 `print-level' to nil, and insert the integer values from
1144 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1146 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1147 `eval-last-sexp-arg-internal'. Doc fix.
1148 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1149 `eval-last-sexp-print-value'. Doc fix.
1150 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1151 Set `print-length' and `print-level' to nil when arg is zero.
1152 (eval-last-sexp): Doc fix.
1153 (eval-defun-2): Print the integer values from
1154 `eval-expression-print-format' at the end.
1156 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1157 values from `eval-expression-print-format' at the end.
1159 * ielm.el (ielm-eval-input): Print the integer
1160 values from `eval-expression-print-format' at the end.
1162 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1164 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1165 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1167 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1169 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1170 (hl-line-highlight, global-hl-line-highlight): Use it.
1171 (hl-line-overlay): Use defvar-local.
1173 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1175 * term/ns-win.el: Require dnd.
1176 (global-map): Remove drag items.
1177 (ns-insert-text, ns-set-foreground-at-mouse)
1178 (ns-set-background-at-mouse):
1179 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1180 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1183 2013-12-19 Glenn Morris <rgm@gnu.org>
1185 * emacs-lisp/ert.el (ert-select-tests):
1186 Fix string/symbol mixup. (Bug#16121)
1188 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1190 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1191 keywords to their parent.
1193 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1195 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1196 first arg to be a string (fixed dead code), or an operator symbol.
1197 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1199 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1200 did nothing. Don't respond to `(:after ".")', it will be called
1201 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1202 change anything. Only return indentation for binary operators
1203 when they are hanging. De-dent opening paren when its parent is
1204 `.', otherwise it looks bad when the dot is not at bol or eol
1207 2013-12-19 Juri Linkov <juri@jurta.org>
1209 * replace.el (query-replace-read-args): Split a non-negative arg
1210 and a negative arg into separate elements.
1211 (query-replace, query-replace-regexp, replace-string)
1212 (replace-regexp): Add arg `backward'. Doc fix.
1213 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1214 move point to the beginning of the match.
1215 (replace-search, replace-highlight): Use new arg `backward'
1216 to set the value of `isearch-forward'.
1217 (perform-replace): Add arg `backward' and use it to perform
1218 replacement backward. (Bug#14979)
1220 * isearch.el (isearch-query-replace): Use a negative prefix arg
1221 to call `perform-replace' with a non-nil arg `backward'.
1223 2013-12-18 Juri Linkov <juri@jurta.org>
1225 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1226 to the default list. Move `log-edit-show-files' to the end.
1227 Add more available functions to options.
1228 (log-edit): Move default specific settings to
1229 `log-edit-insert-message-template'. Don't move point.
1230 (log-edit-insert-message-template): New function.
1231 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1234 2013-12-18 Juri Linkov <juri@jurta.org>
1236 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1237 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1239 2013-12-18 Leo Liu <sdl.web@gmail.com>
1241 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1244 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1246 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1247 formats for displaying file sizes when the -s switch is given.
1248 Instead, compute a separate format for displaying the size in
1249 blocks, which is displayed in addition to the "regular" size.
1250 When -h is given in addition to -s, produce size in blocks in
1251 human-readable form as well. (Bug#16179)
1253 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1255 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1256 Reference tables with ~\ref{...} instead of only \ref{...}.
1258 2013-12-18 Chong Yidong <cyd@gnu.org>
1260 * cus-edit.el (custom-magic-alist): Fix "themed" description
1263 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1264 is non-nil, do not create a new entry in the symbol's theme-value
1265 or theme-face property; update theme-settings only (Bug#14664).
1266 (custom-available-themes): Doc fix.
1268 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1271 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1273 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1275 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1278 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1280 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1282 2013-12-18 Glenn Morris <rgm@gnu.org>
1284 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1285 * cus-start.el (load-prefer-newer): New option.
1287 2013-12-18 Le Wang <l26wang@gmail.com>
1289 * comint.el (comint-previous-matching-input-from-input):
1290 Retain point (Bug#13404).
1292 2013-12-18 Chong Yidong <cyd@gnu.org>
1294 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1296 2013-12-18 Glenn Morris <rgm@gnu.org>
1298 * mail/emacsbug.el (report-emacs-bug):
1299 Only mention enable-multibyte-characters if non-standard.
1301 2013-12-17 Juri Linkov <juri@jurta.org>
1303 * arc-mode.el (archive-extract-by-file): Check if directory exists
1304 before deletion to not show irrelevant errors if it doesn't exist.
1306 2013-12-17 Juri Linkov <juri@jurta.org>
1308 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1311 * net/eww.el (browse-web): Add alias to `eww'.
1312 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1313 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1315 * net/browse-url.el (browse-url-browser-function): Move `eww'
1316 closer to similar functions.
1318 * startup.el (fancy-startup-screen, fancy-about-screen):
1319 Set browse-url-browser-function to eww-browse-url locally.
1322 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1324 * window.el (window--pixel-to-total): Remove unused `mini' var.
1325 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1326 (split-window): Remove unused `new' var.
1327 (window--display-buffer): Remove unused `frame' and `delta' vars.
1328 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1331 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1333 * dired.el (dired-mark-pop-up):
1334 * register.el (register-preview): Don't bind
1335 split-height-threshold here since it's now done in
1336 display-buffer-below-selected.
1338 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1340 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1341 xterm-rgb-convert-to-16bit.
1342 (rxvt-register-default-colors): Standardize with
1343 xterm-register-default-colors (Bug#14078).
1345 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1347 * simple.el (kill-region): Pass mark first, then point, so that
1348 kill-append works right (Bug#12819).
1349 (copy-region-as-kill, kill-ring-save): Likewise.
1351 2013-12-17 Leo Liu <sdl.web@gmail.com>
1353 * net/rcirc.el (rcirc-add-face):
1354 * eshell/em-prompt.el (eshell-emit-prompt):
1355 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1358 2013-12-17 Chong Yidong <cyd@gnu.org>
1360 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1361 Suggested by Xue Fuqiao.
1363 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1365 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1367 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * net/shr.el (shr-insert-document): Remove unused var
1370 `shr-preliminary-table-render'.
1371 (shr-rescale-image): Remove unused arg `force'.
1372 (shr-put-image): Update calls accordingly.
1373 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1375 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1377 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1378 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1379 :close-all, to see which indentation method to use (Bug#16116).
1380 (smie-rules-function): Document the method :close-all.
1382 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1384 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1386 * net/eww.el (eww-display-html): If we can't find the anchor we're
1387 looking for, then go to point-min.
1389 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1391 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1392 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1393 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1394 Expand dir too, in case it's relative.
1396 2013-12-16 Juri Linkov <juri@jurta.org>
1398 * desktop.el (desktop-auto-save-timeout): Change default to
1399 `auto-save-timeout'. Doc fix.
1400 (desktop-save): Skip the timestamp in desktop-saved-frameset
1401 when checking for auto-save changes.
1402 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1403 `desktop-auto-save' is called repeatedly by the idle timer.
1404 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1405 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1408 2013-12-16 Juri Linkov <juri@jurta.org>
1410 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1412 (isearch-pre-command-hook): Check `this-command' for symbolp.
1414 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1418 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1420 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1421 (cfengine3--current-function): Bring in the current-function
1422 functionality from `cfengine3--current-word'.
1423 (cfengine3-completion-function): Bring in the
1424 bounds-of-current-word functionality from
1425 `cfengine3--current-word'.
1427 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1429 * window.el (display-buffer-below-selected):
1430 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1432 2013-12-16 Leo Liu <sdl.web@gmail.com>
1434 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1435 Remove NOMSG arg and all uses changed.
1437 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1440 (cua--deactivate-rectangle): Don't deactivate the mark.
1441 (cua-set-rectangle-mark): Don't set mark-active since
1442 cua--activate-rectangle already does it for us.
1443 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1444 non-rectangular region.
1446 * emulation/cua-base.el (cua-repeat-replace-region):
1447 Use with-current-buffer.
1449 * net/gnutls.el: Use cl-lib.
1450 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1452 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1454 * emacs-lisp/package.el (package-built-in-p): Support both
1455 built-in and the package.el converted package descriptions.
1456 (package-show-package-list): Allow keywords.
1457 (package-keyword-button-action): Use it instead of
1458 `finder-list-matches'.
1459 (package-menu-filter-interactive): Interactive filtering (by
1461 (package-menu--generate): Support keywords and change keymappings
1462 and headers when they are given.
1463 (package--has-keyword-p): Helper function.
1464 (package-menu--refresh): Use it.
1465 (package--mapc): Helper function.
1466 (package-all-keywords): Use it.
1467 (package-menu-mode-map): Set up menu items and keybindings to
1468 provide a filtering UI.
1470 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1472 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1473 the behavior when a certificate fails validation. Defaults to
1474 old behavior: never abort, just warn.
1475 (gnutls-negotiate): Use it.
1477 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1479 * window.el (display-buffer-below-selected): Never split window
1480 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1482 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1484 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1485 (package-buffer-info): Use it (bug#15108).
1487 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * icomplete.el (icomplete-completions): Make sure the prefix is already
1490 displayed elsewhere before hiding it (bug#16219).
1492 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1494 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1495 open-paren tokens when preceded by a open-paren, too.
1496 (ruby-smie-rules): Handle virtual indentation after open-paren
1497 tokens specially. If there is code between it and eol, return the
1498 column where is starts (Bug#16118).
1500 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1502 * progmodes/cfengine.el: Fix `add-hook' doc.
1503 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1504 (cfengine3--current-word): Fix parameters.
1505 (cfengine3-make-syntax-cache): Simplify further.
1506 (cfengine3-completion-function, cfengine3--current-function):
1507 Use `assq' for symbols.
1508 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1510 2013-12-13 Glenn Morris <rgm@gnu.org>
1512 * loadup.el (load-path): Warn if site-load or site-init changes it.
1513 No more need to reset it when bootstrapping.
1515 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1517 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1518 locations for cf-promises.
1519 (cfengine-mode-syntax-functions-regex): New caching variable.
1520 (cfengine3-fallback-syntax): Fallback syntax for cases where
1521 cf-promises doesn't run.
1522 (cfengine3--current-word): Reimplement using
1523 `cfengine-mode-syntax-functions-regex'.
1524 (cfengine3-completion-function, cfengine3--current-function):
1525 Use `cfengine3-make-syntax-cache' directly.
1526 (cfengine3-clear-syntax-cache): New function.
1527 (cfengine3-make-syntax-cache): Simplify and create
1528 `cfengine-mode-syntax-functions-regex' on demand.
1529 (cfengine3-format-function-docstring): Don't call
1530 `cfengine3-make-syntax-cache' explicitly.
1532 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1534 Fix windmove-find-other-window broken after pixelwise resizing
1536 * windmove.el (windmove-other-window-loc): Revert change from
1538 (windmove-find-other-window): Call window-in-direction.
1539 * window.el (window-in-direction): New arguments SIGN, WRAP and
1540 MINI to emulate original windmove-find-other-window behavior.
1542 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1544 * simple.el (blink-matching--overlay): New variable.
1545 (blink-matching-open): Instead of moving point, highlight the
1546 matching paren with an overlay
1547 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1549 * faces.el (paren-showing-faces, show-paren-match)
1550 (show-paren-mismatch): Move from paren.el.
1552 2013-12-13 Leo Liu <sdl.web@gmail.com>
1554 * indent.el (indent-region): Disable progress reporter in
1555 minibuffer. (Bug#16108)
1557 * bindings.el (visual-order-cursor-movement): Fix version.
1559 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1561 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1562 Also match after beginning of line.
1563 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1564 files. Thanks to Russell Sim. (Bug#15378)
1566 2013-12-13 Juri Linkov <juri@jurta.org>
1568 * simple.el <Keypad support>: Remove key bindings duplicated
1569 with bindings.el. (Bug#14397)
1571 2013-12-13 Juri Linkov <juri@jurta.org>
1573 * comint.el (comint-mode-map): Replace `delete-char' with
1574 `delete-forward-char'. (Bug#16109)
1576 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1578 * progmodes/python.el (python-indent-calculate-indentation):
1579 Fix de-denters cornercase. (Bug#15731)
1581 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1583 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1584 (advice--make): Pay attention to `depth'.
1585 (advice--make-1): Don't autoload commands eagerly.
1586 * emacs-lisp/elp.el (elp-instrument-function):
1587 * emacs-lisp/trace.el (trace-function-internal):
1588 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1590 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1592 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1594 * term/w32-win.el (w32-handle-dropped-file):
1595 * startup.el (normal-top-level):
1596 * net/browse-url.el (browse-url-file-url):
1597 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1598 decode file names using 'utf-8' rather than
1599 file-name-coding-system.
1601 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1603 * progmodes/python.el (python-indent-context)
1604 (python-indent-calculate-indentation): Fix auto-identation
1605 behavior for comment blocks. (Bug#15916)
1607 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1609 * progmodes/python.el (python-indent-calculate-indentation):
1610 When determining indentation, don't treat "return", "pass", etc., as
1611 operators when they are just string constituents. (Bug#15812)
1613 2013-12-12 Juri Linkov <juri@jurta.org>
1615 * uniquify.el (uniquify-buffer-name-style): Change default to
1616 `post-forward-angle-brackets'.
1618 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1619 `uniquify'. Change default to `post-forward-angle-brackets'.
1621 2013-12-11 Glenn Morris <rgm@gnu.org>
1623 * emacs-lisp/package.el (finder-list-matches):
1624 Autoload rather than falsely declaring.
1626 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1628 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1629 (eww-mode-map): Use them.
1631 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1633 * window.el (display-buffer-in-side-window): Fix doc-string
1636 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1638 * vc/vc-git.el: Silence byte-compiler warnings.
1639 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1640 (log-edit-set-header): Declare.
1642 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1644 * Makefile.in (custom-deps, finder-data): Run output file names
1645 through unmsys--file-name. (Bug#16099)
1647 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1650 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1652 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1653 instead of deleting the selection "by hand" (bug#16098).
1654 Rely on insert-for-yank to yank rectangles.
1655 (cua-highlight-region-shift-only): Mark obsolete.
1656 (cua-mode): Don't enable/disable transient-mark-mode,
1657 shift-select-mode (cua-mode works both with and without them), and
1658 pc-selection-mode (obsolete).
1659 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1660 (cua--deactivate-rectangle): Deactivate it.
1662 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1663 (delete-selection-helper): Make sure yank starts at the top of the
1665 (minibuffer-keyboard-quit): Use region-active-p.
1667 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1669 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1670 to `delete' (bug#16109).
1672 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1674 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1675 info manual and show keybindings and set `:group' keyword.
1677 2013-12-11 Juri Linkov <juri@jurta.org>
1679 * delsel.el (delete-active-region): Let-bind `this-command'
1680 to prevent `kill-region' from changing its original value.
1681 (delete-selection-helper): Handle `overwrite-mode' for the type
1682 `kill' exactly the same way as for the type `t'.
1683 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1684 Support more commands. (Bug#13312)
1686 2013-12-11 Juri Linkov <juri@jurta.org>
1688 * bindings.el: Map kp keys to non-kp keys systematically
1689 with basic modifiers control, meta and shift. (Bug#14397)
1691 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1693 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1694 "Close browser" menu items. Fix wrong function of "List
1697 2013-12-11 Juri Linkov <juri@jurta.org>
1699 * misearch.el (multi-isearch-buffers): Set the value of
1700 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1701 arg of isearch-forward to t.
1702 (multi-isearch-buffers-regexp): Set the value of
1703 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1704 arg of isearch-forward-regexp to t.
1705 (multi-isearch-files): Set the value of
1706 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1707 arg of isearch-forward to t.
1708 (multi-isearch-files-regexp): Set the value of
1709 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1710 arg of isearch-forward-regexp to t. (Bug#16035)
1712 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1713 arg of isearch-forward to t.
1714 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1715 arg of isearch-forward-regexp to t.
1716 (dired-isearch-filter-filenames): Remove unnecessary check for
1717 `dired-isearch-filenames'.
1719 * comint.el (comint-history-isearch-backward):
1720 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1721 (comint-history-isearch-backward-regexp):
1722 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1724 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1726 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1727 unmsys--file-name. (Bug#16099)
1729 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1731 * emacs-lisp/package.el (package-keyword-button-action):
1732 Remove finder.el require dependency.
1734 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1736 * emacs-lisp/package.el: Require finder.el.
1737 (describe-package-1): Add keyword buttons.
1738 (package-make-button): New convenience function.
1739 (package-keyword-button-action): Keyword button action using
1740 `finder-list-matches'.
1742 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1744 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1747 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1749 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1752 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1754 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1755 after the end of a percent literal.
1757 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1759 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1760 Handle caret-delimited strings (Bug#16079).
1762 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1764 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1765 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1766 `ruby-parse-partial' (Bug#16078).
1768 2013-12-09 Leo Liu <sdl.web@gmail.com>
1770 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1772 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1774 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1775 (js-switch-indent-offset): New option.
1776 (js--proper-indentation): Use it. And handle the case when
1777 "default" is actually a key in an object literal.
1778 (js--same-line): New function.
1779 (js--multi-line-declaration-indentation): Use it.
1780 (js--indent-in-array-comp, js--array-comp-indentation):
1782 (js--proper-indentation): Use them, to handle array comprehension
1785 2013-12-08 Leo Liu <sdl.web@gmail.com>
1787 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1788 (flymake-make-overlay): Remove arg MOUSE-FACE.
1789 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1791 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1793 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1795 (redisplay-highlight-region-function): Use it.
1797 * emulation/cua-base.el (cua--explicit-region-start)
1798 (cua--last-region-shifted): Remove.
1799 (cua--deactivate): Use deactivate-mark.
1800 (cua--pre-command-handler-1): Don't handle shift-selection.
1801 (cua--post-command-handler-1): Don't change transient-mark-mode.
1802 (cua--select-keymaps): Use region-active-p rather than
1803 cua--explicit-region-start or cua--last-region-shifted.
1804 (cua-mode): Enable shift-select-mode.
1806 2013-12-08 Leo Liu <sdl.web@gmail.com>
1808 * progmodes/flymake.el (flymake-popup-current-error-menu):
1809 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1810 (flymake-posn-at-point-as-event, flymake-popup-menu)
1811 (flymake-make-emacs-menu): Remove. (Bug#16077)
1813 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1815 * rect.el (rectangle-mark-mode): Activate mark even if
1816 transient-mark-mode is off (bug#16066).
1817 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1818 is > mark and at bolp.
1820 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1821 (region-extract-function): Use it.
1822 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1823 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1825 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1826 kill-ring-save, kill-region, delete-char, delete-forward-char.
1827 Ignore self-insert-iso.
1829 * emulation/cua-gmrk.el (cua--init-global-mark):
1830 Ignore `self-insert-iso'.
1832 * emulation/cua-base.el (cua--prefix-copy-handler)
1833 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1834 checking cua--rectangle.
1835 (cua-delete-region): Use region-extract-function.
1836 (cua-replace-region): Delete function.
1837 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1838 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1839 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1840 (cua--init-keymaps): Don't remap delete-selection commands.
1841 (cua-mode): Use delete-selection-mode instead of rolling our own
1844 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1845 Obey region-extract-function.
1847 Make registers and delete-selection-mode work on rectangles.
1848 * register.el (describe-register-1): Don't modify the register's value.
1849 (copy-to-register): Obey region-extract-function.
1850 * delsel.el (delete-active-region): Obey region-extract-function.
1852 2013-12-08 Leo Liu <sdl.web@gmail.com>
1854 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1855 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1856 (flymake-compilation-prevents-syntax-check)
1857 (flymake-start-syntax-check-on-newline)
1858 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1859 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1860 (flymake-xml-program, flymake-master-file-dirs)
1861 (flymake-master-file-count-limit)
1862 (flymake-allowed-file-name-masks): Relocate.
1863 (flymake-makehash, flymake-float-time)
1864 (flymake-replace-regexp-in-string, flymake-split-string)
1865 (flymake-get-temp-dir): Remove.
1866 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1867 (flymake-current-row, flymake-selected-frame)
1868 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1869 related functions. (Bug#16077)
1871 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1873 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1875 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1877 * help-fns.el (describe-function-1): Use new advice-* functions
1878 rather than old ad-* functions. Fix function type description and
1879 source links for advised functions and subrs.
1881 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1883 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1885 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1887 * progmodes/compile.el (compilation-start):
1888 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1890 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1891 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1893 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1895 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1896 Touch up the last change.
1898 2013-12-06 Leo Liu <sdl.web@gmail.com>
1900 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1901 (inferior-octave-startup): Always use "octave> " for prompt.
1902 (octave-goto-function-definition)
1903 (octave-sync-function-file-names)
1904 (octave-find-definition-default-filename): Remove redundant backquotes.
1906 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1908 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1910 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1911 where appropriate already.
1912 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1913 end of method names (Bug#15874).
1915 2013-12-06 Juri Linkov <juri@jurta.org>
1917 * isearch.el (isearch--saved-overriding-local-map):
1918 New internal variable.
1919 (isearch-mode): Set it to the initial value of
1920 `overriding-terminal-local-map'.
1921 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1922 with `isearch--saved-overriding-local-map'. (Bug#16035)
1924 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1926 * progmodes/octave.el (inferior-octave-completion-table):
1927 Turn back into function, use `completion-table-with-cache'
1928 (Bug#11906). Update all references.
1930 * minibuffer.el (completion-table-with-cache): New function.
1932 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1934 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1936 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1938 * net/eww.el (eww-current-source): New variable to store page
1940 (eww-display-html, eww-mode, eww-save-history)
1941 (eww-restore-history): Use it.
1942 (eww-view-source): New command to view page source.
1943 Opportunistically uses `html-mode' to highlight the buffer.
1944 (eww-mode-map): Install it.
1946 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1948 * net/dbus.el (dbus-unregister-service)
1949 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1951 (dbus-unregister-service): Skip :serial entries in
1952 `dbus-registered-objects-table'.
1953 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1955 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1957 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1958 around keywords with extra `split-string' argument.
1960 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1962 * windmove.el (windmove-other-window-loc): Handle navigation
1963 between windows (excluding the minibuffer window - Bug#16017).
1965 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1967 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1968 in D-Bus type syntax.
1969 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1970 preserve unibyte strings. (Bug#16048)
1972 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1975 Call force-mode-line-update is the proper buffer (bug#16042).
1977 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1979 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1980 `log-edit-remember-comment', make argument optional. Adjust all
1982 (log-edit-mode): Add `log-edit-remember-comment' to
1983 `kill-buffer-hook' locally.
1984 (log-edit-kill-buffer): Don't remember comment explicitly since
1985 the buffer is killed anyway.
1987 2013-12-04 Juri Linkov <juri@jurta.org>
1989 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1990 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1992 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1994 * notifications.el (notifications-close-notification): Call the
1995 D-Bus method with ID being a `:uint32'. (Bug#16030)
1997 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1999 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2001 2013-12-03 Juri Linkov <juri@jurta.org>
2003 * progmodes/compile.el (compilation-start): Rename window alist
2004 entry `no-display-ok' to `allow-no-window'.
2006 * simple.el (shell-command): Add window alist entry
2007 `allow-no-window' to `display-buffer'.
2008 (async-shell-command): Doc fix.
2010 * window.el (display-buffer-no-window): New action function.
2011 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2013 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2015 * vc/log-edit.el (log-edit-set-header): Extract from
2016 `log-edit-toggle-header'.
2017 (log-edit-extract-headers): Separate the summary, when extracted
2018 from header, from the rest of the message with an empty line.
2020 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2021 line, if present, to the Summary header.
2023 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2025 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2026 in current-buffer (bug#16029).
2028 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2030 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2031 (debugger-mode-map): Bind it.
2032 (debugger--backtrace-base): New function.
2033 (debugger-eval-expression): Use it.
2034 (debugger-frame-number): Skip local vars when present.
2035 (debugger--locals-visible-p, debugger--insert-locals)
2036 (debugger--show-locals, debugger--hide-locals): New functions.
2038 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2040 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2042 (tramp-get-remote-locale): New defun.
2043 (tramp-open-connection-setup-interactive-shell): Use it.
2045 2013-12-02 Leo Liu <sdl.web@gmail.com>
2047 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2049 * progmodes/sh-script.el (sh-shell-process):
2050 * progmodes/octave.el (inferior-octave-process-live-p):
2051 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2052 (gdb-inferior-io-sentinel):
2053 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2055 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2057 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2058 `save-selected-window' to `log-edit-hide-buf'. This makes
2059 `log-edit-show-files' idempotent.
2060 (log-edit-show-files): Mark the new window as dedicated.
2062 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2064 * vc/log-edit.el (log-edit-mode-map): Add binding for
2065 `log-edit-kill-biffer'.
2066 (log-edit-hide-buf): Add a FIXME comment.
2067 (log-edit-add-new-comment): New function, extracted from
2069 (log-edit-done, log-edit-add-to-changelog): Use it.
2070 (log-edit-kill-buffer): New command.
2072 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2074 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2075 instead of killing the buffer.
2077 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2081 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2083 * net/eww.el (eww-form-checkbox-selected-symbol)
2084 (eww-form-checkbox-symbol): New customizable variable.
2085 (eww-form-checkbox, eww-toggle-checkbox):
2086 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2088 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2089 (shr--get-media-pref, shr--extract-best-source): New function.
2090 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2091 no :src tag was specified.
2093 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2094 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2095 Use \\` to match beginning of string instead of ^.
2096 (eww-browse-with-external-browser): Provide optional URL parameter.
2097 (eww-render): Set `eww-current-title' back to "".
2099 * net/shr.el (shr-tag-video): Display content for video if no
2100 poster is available.
2101 (shr-tag-audio): Add support for <audio> tag.
2103 * net/eww.el (eww-text-input-types): New const.
2104 (eww-process-text-input): Treat input types in
2105 `eww-text-input-types' as text.
2107 * net/shr.el (shr-tag-table): Fix comment typo.
2109 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2111 * net/eww.el (eww-follow-link): New command to avoid reloading
2112 pages when we follow #target links (bug#15243).
2113 (eww-quit): Special mode buffers shouldn't query before exiting.
2115 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2117 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2120 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2122 * net/eww.el (eww-restore-history): Update the window title after
2123 moving in the history.
2124 (eww-current-dom): New variable used to save the current DOM.
2126 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2128 * vc/log-edit.el (log-edit-mode-map): Add binding for
2129 `log-edit-beginning-of-line'.
2130 (log-edit-setup-add-author): New user option.
2131 (log-edit-beginning-of-line): New command.
2132 (log-edit): Move major mode call above the contents setup so that
2133 the local variable values are already applied.
2134 (log-edit): Only insert "Author: " when
2135 `log-edit-setup-add-author' is non-nil.
2136 (log-edit): When SETUP is non-nil, position point after ": "
2137 instead of point-min.
2139 2013-12-01 Glenn Morris <rgm@gnu.org>
2141 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2143 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2145 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2146 redisplay to make sure the initial frame gets a chance to become
2147 visible. (Bug#16014)
2149 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2151 Support resizing frames and windows pixelwise.
2152 * cus-start.el (frame-resize-pixelwise)
2153 (window-resize-pixelwise): New entries.
2154 * emacs-lisp/debug.el (debug): Use window-total-height instead
2155 of window-total-size.
2156 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2157 * help.el (describe-bindings-internal): Call help-buffer
2158 (temp-buffer-max-width): New option.
2159 (resize-temp-buffer-window, help-window-setup)
2160 (with-help-window): Rewrite.
2161 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2163 * window.el (frame-char-size, window-min-pixel-height)
2164 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2165 (window-min-pixel-width, window-safe-min-pixel-size)
2166 (window-combination-p, window-safe-min-size)
2167 (window-resizable-p, window--size-to-pixel)
2168 (window--pixel-to-size, window--resize-apply-p): New functions.
2169 (window-safe-min-height): Fix doc-string.
2170 (window-size, window-min-size, window--min-size-1)
2171 (window-sizable, window-sizable-p, window--min-delta-1)
2172 (window-min-delta, window--max-delta-1, window-max-delta)
2173 (window--resizable, window--resizable-p, window-resizable)
2174 (window-full-height-p, window-full-width-p, window-at-side-p)
2175 (window--in-direction-2, window-in-direction)
2176 (window--resize-reset-1, window--resize-mini-window)
2177 (window-resize, window-resize-no-error)
2178 (window--resize-child-windows-normal)
2179 (window--resize-child-windows, window--resize-siblings)
2180 (window--resize-this-window, window--resize-root-window)
2181 (window--resize-root-window-vertically)
2182 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2183 (maximize-window, minimize-window, delete-window)
2184 (quit-restore-window, window-split-min-size, split-window)
2185 (balance-windows-2, balance-windows)
2186 (balance-windows-area-adjust, balance-windows-area)
2187 (window--state-get-1, window-state-get, window--state-put-1)
2188 (window--state-put-2, window-state-put)
2189 (display-buffer-record-window, window--display-buffer):
2190 Make functions handle pixelwise sizing of windows.
2191 (display-buffer--action-function-custom-type)
2192 (display-buffer-fallback-action):
2193 Add display-buffer-in-previous-window.
2194 (display-buffer-use-some-window): Resize window to height it had
2196 (fit-window-to-buffer-horizontally): New option.
2197 (fit-frame-to-buffer): Describe new values.
2198 (fit-frame-to-buffer-bottom-margin): Replace with
2199 fit-frame-to-buffer-margins.
2200 (window--sanitize-margin): New function.
2201 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2202 using window-text-pixel-size.
2204 2013-11-30 Glenn Morris <rgm@gnu.org>
2206 * emacs-lisp/bytecomp.el (byte-compile-form):
2207 Make the `interactive-only' warning like the `obsolete' one.
2208 * comint.el (comint-run):
2209 * files.el (insert-file-literally, insert-file):
2210 * replace.el (replace-string, replace-regexp):
2211 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2212 (goto-line, insert-buffer, next-line, previous-line):
2213 Tweak `interactive-only' spec.
2215 Stop keeping (most) generated cedet grammar files in the repository.
2216 * Makefile.in (semantic): New.
2217 (compile-main): Depend on semantic.
2219 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2221 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2222 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2224 * uniquify.el (uniquify-buffer-name-style): Change default.
2226 * loadup.el: Preload "uniquify".
2228 * time.el (display-time-update): Update all mode lines (bug#15999).
2230 * electric.el (electric-indent-mode): Enable by default.
2231 * loadup.el: Preload "electric".
2233 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2235 * emacs-lisp/helpers.el (string-empty-p): New function.
2236 (string-blank-p): New function.
2238 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2240 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2243 2013-11-29 Andreas Politz <politza@fh-trier.de>
2244 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2245 allow non-lambda lists as functions.
2246 (imenu--in-alist): Don't recurse into non-subalists.
2247 (imenu): Don't pass function itself as an argument (Bug#14029).
2249 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * progmodes/python.el (python-mode-map): Remove binding for ":".
2252 (python-indent-electric-colon): Remove command.
2253 (python-indent-post-self-insert-function): Integrate the previous code
2254 of python-indent-electric-colon. Make it conditional on
2255 electric-indent-mode.
2256 (python-mode): Add ?: to electric-indent-chars.
2257 Move python-indent-post-self-insert-function to the end of
2258 post-self-insert-hook.
2260 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * doc-view.el (doc-view-goto-page): Update mode-line.
2264 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2266 2013-11-27 Glenn Morris <rgm@gnu.org>
2268 * international/charprop.el, international/uni-bidi.el:
2269 * international/uni-category.el, international/uni-combining.el:
2270 * international/uni-comment.el, international/uni-decimal.el:
2271 * international/uni-decomposition.el, international/uni-digit.el:
2272 * international/uni-lowercase.el, international/uni-mirrored.el:
2273 * international/uni-name.el, international/uni-numeric.el:
2274 * international/uni-old-name.el, international/uni-titlecase.el:
2275 * international/uni-uppercase.el:
2276 Remove generated files from VCS repository.
2278 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2280 * filenotify.el (file-notify-add-watch): Don't special-case
2281 w32notify when computing the directory to watch.
2283 2013-11-27 Glenn Morris <rgm@gnu.org>
2285 Make bootstrap without generated uni-*.el files possible again.
2286 * loadup.el: Update command-line-args checking for unidata-gen.
2287 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2288 * composite.el, international/characters.el:
2289 Handle unicode tables being undefined.
2291 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2292 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2293 (compile-main): Depend on leim rule.
2295 * loadup.el: Move leim-list.el to leim/ subdirectory.
2296 * startup.el (normal-top-level): No more leim directory.
2297 * international/ja-dic-cnv.el (skkdic-convert):
2298 Disable version-control and autoloads in output files.
2299 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2300 Disable version-control and autoloads in output files.
2301 * leim/quail: Move here from ../leim.
2302 * leim/quail/hangul.el (hangul-input-method-activate):
2303 Add autoload cookie.
2304 (generated-autoload-load-name): Set file-local value.
2305 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2306 (generated-autoload-load-name): Set file-local value.
2308 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2310 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2311 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2312 (eww-quit): Ask confirmation before quitting eww.
2314 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2316 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2317 reading output from Diff on MS-Windows and MS-DOS.
2319 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2321 * emacs-lisp/helpers.el (string-reverse): New function.
2323 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2325 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2326 names on MS Windows, like "/[::1]:".
2328 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2331 2013-11-26 Glenn Morris <rgm@gnu.org>
2333 * progmodes/python.el (python-indent-guess-indent-offset):
2334 Avoid corner-case error. (Bug#15975)
2336 Preload leim-list.el. (Bug#4789)
2337 * loadup.el: Load leim-list.el when found.
2338 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2340 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2342 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2344 * emacs-lisp/helpers.el (string-join): New function.
2346 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2348 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2349 Mark as obsolete and replace it with a symbol property.
2350 (byte-compile-form): Use new 'interactive-only property.
2351 * comint.el, files.el, replace.el, simple.el:
2352 Apply new 'interactive-only properly.
2354 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2356 * window.el (display-buffer-at-bottom): Make sure that
2357 split-window-sensibly creates the new window on bottom
2360 2013-11-23 David Kastrup <dak@gnu.org>
2362 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2363 on the conflict markers when available.
2364 (smerge--get-marker): New function.
2365 (smerge-end-re, smerge-base-re): Add subgroup.
2367 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * frame.el (handle-focus-in, handle-focus-out): Add missing
2372 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2374 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2375 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2377 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2379 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2380 (gomoku--last-pos): New var.
2381 (gomoku--intangible-chars): New const.
2382 (gomoku--intangible): New function.
2383 (gomoku-mode): Use it. Derive from special-mode.
2384 (gomoku-move-up): Adjust line count.
2385 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2386 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2387 Simplify accordingly.
2389 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2390 Remove blink-cursor code.
2391 (blink-cursor-timer-function, blink-cursor-suspend):
2392 Don't special-case GUIs.
2393 (blink-cursor-mode): Use focus-in/out-hook.
2395 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2397 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2398 work when annotation is invisible (Bug#13886).
2400 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2402 * json.el (json-alist-p): Only return non-nil if the alist has
2403 simple keys (Bug#13518).
2405 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2407 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2408 when control-statement is the first statement in a buffer (Bug#15956).
2410 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2412 * imenu.el (imenu-generic-skip-comments-and-strings):
2413 New option (Bug#15560).
2414 (imenu--generic-function): Use it.
2416 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2418 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2421 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2423 * emacs-lisp/helpers.el: Add some string helpers.
2424 (string-trim-left): Removes leading whitespace.
2425 (string-trim-right): Removes trailing whitespace.
2426 (string-trim): Removes leading and trailing whitespace.
2428 * subr.el (string-suffix-p): New function.
2430 2013-11-23 Glenn Morris <rgm@gnu.org>
2432 * progmodes/python.el (python-shell-send-file):
2433 Add option to delete file when done. (Bug#15647)
2434 (python-shell-send-string, python-shell-send-region): Use it.
2436 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2438 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2439 to set buffer-read-only to t, never to nil. (Bug#15938)
2441 * textmodes/tex-mode.el (latex-noindent-environments):
2442 Add safe-local-variable property. (Bug#15936)
2444 2013-11-23 Glenn Morris <rgm@gnu.org>
2446 * textmodes/enriched.el (enriched-mode): Doc fix.
2447 * emacs-lisp/authors.el (authors-renamed-files-alist):
2448 Add enriched.doc -> enriched.txt.
2450 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2452 2013-11-22 Leo Liu <sdl.web@gmail.com>
2454 * progmodes/octave.el (inferior-octave-startup): Spit out error
2457 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2459 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2462 (ruby-encoding-magic-comment-style): Add :version.
2464 2013-11-22 Leo Liu <sdl.web@gmail.com>
2466 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2468 (octave-help-mode): Adapt to change to help-mode-finish to use
2469 derived-mode-p on 2013-09-17.
2470 (inferior-octave-prompt): Also match octave-gui.
2471 (octave-kill-process): Don't ask twice. (Bug#10564)
2473 2013-11-22 Leo Liu <sdl.web@gmail.com>
2475 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2476 (inferior-octave-startup, inferior-octave-check-process)
2477 (inferior-octave-track-window-width-change)
2478 (octave-completion-at-point, octave-eldoc-function): Use it.
2479 (octave-kill-process): Provide confirmation. (Bug#10564)
2481 2013-11-21 Leo Liu <sdl.web@gmail.com>
2483 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2484 Fix obsolete variable comment-use-global-state.
2486 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2488 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2489 Add `octave-source-file'.
2490 (octave-source-file): New function. (Bug#15935)
2492 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2494 * net/eww.el (eww-local-regex): New variable.
2495 (eww): Use it to detect localhost and similar.
2497 2013-11-21 Leo Liu <sdl.web@gmail.com>
2499 Add completion for command `ag'.
2500 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2501 (pcomplete/ag): New function.
2502 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2504 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2508 (make-obsolete): Remove interactive spec.
2510 2013-11-21 Glenn Morris <rgm@gnu.org>
2512 * startup.el (command-line-1): Use path-separator with -L.
2514 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2516 * emacs-lisp/package.el (describe-package-1): Add package archive
2519 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2521 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2522 Change default to "# encoding: %s" to differentiate it from the
2523 default Ruby encoding comment template.
2525 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2527 * ses.el (ses-mode): Doc fix. (Bug#14748)
2529 2013-11-20 Leo Liu <sdl.web@gmail.com>
2531 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2533 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2535 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2536 when rebase or bisect are in progress.
2538 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2540 * filenotify.el (file-notify-add-watch): Doc fix.
2542 2013-11-19 Leo Liu <sdl.web@gmail.com>
2544 * obsolete/rcompile.el: Mark obsolete.
2546 * progmodes/compile.el (compilation-start)
2547 (compilation-goto-locus, compilation-find-file):
2548 Pass no-display-ok and handle nil value from display-buffer.
2551 * window.el (display-buffer-alist, display-buffer): Document the
2552 new parameter no-display-ok. Return either a window or nil
2553 but never a non-window value.
2555 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2557 * electric.el (electric-indent-mode-map): Remove.
2558 (electric-indent-mode): Change the global-map instead (bug#15915).
2560 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2563 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2565 * emacs-lisp/nadvice.el (remove-function): Align with
2566 add-function's behavior.
2568 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2569 (gdb--string-regexp): New constant.
2570 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2571 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2572 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2574 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2575 Adjust use accordingly.
2576 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2578 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2580 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2581 interpolation curlies (Bug#15914).
2583 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2585 * calc/calc.el (calc-context-sensitive-enter): New variable.
2586 (calc-enter): Use `calc-context-sensitive-enter'.
2588 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2590 * progmodes/cfengine.el: Version bump.
2591 (cfengine-cf-promises): New defcustom to locate cf-promises.
2592 (cfengine3-vartypes): Add new "data" type.
2593 (cfengine3--current-word): New function to get current name-like
2595 (cfengine3--current-function): New function to look up a CFEngine
2596 function's definition.
2597 (cfengine3-format-function-docstring): New function.
2598 (cfengine3-make-syntax-cache): New function.
2599 (cfengine3-documentation-function): New function: ElDoc glue.
2600 (cfengine3-completion-function): New function: completion glue.
2601 (cfengine3-mode): Set `compile-command',
2602 `eldoc-documentation-function', and add to
2603 `completion-at-point-functions'.
2605 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2607 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2608 `tramp-current-connection'.
2610 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2612 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2613 nil/self/true/false with "end of symbol".
2615 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2617 * subr.el (version-regexp-alist): Fix a typo.
2619 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2621 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2622 "en_US.utf8" and "LC_CTYPE" to "".
2623 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2624 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2626 2013-11-15 Leo Liu <sdl.web@gmail.com>
2628 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2630 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2632 * progmodes/gud.el (ctl-x-map):
2633 Remove C-x SPC binding. (Bug#12342)
2634 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2636 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2638 * subr.el (version-regexp-alist):
2639 Recognize hg, svn and darcs versions as snapshot versions.
2641 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2642 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2643 (ruby--encoding-comment-required-p): Extract from
2644 `ruby-mode-set-encoding'.
2645 (ruby-mode-set-encoding): Add the ability to always insert an
2646 utf-8 encoding comment. Fix and simplify coding comment update
2649 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2651 * net/tramp-gvfs.el (top): Run init code only when
2652 `tramp-gvfs-enabled' is not nil.
2653 (tramp-gvfs-enabled): Check also :system bus.
2655 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2657 Sync with upstream verilog-mode revision 78e66ba.
2658 * progmodes/verilog-mode.el (verilog-end-of-defun)
2659 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2660 (verilog-get-end-of-defun): Remove unused argument.
2661 (verilog-comment-depth): Remove unused local `e'.
2662 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2663 Don't pass arg to verilog-get-end-of-defun.
2665 2013-11-14 Glenn Morris <rgm@gnu.org>
2667 * obsolete/assoc.el (aget): Prefix dynamic variable.
2669 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2671 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2673 * widget.el, hfy-cmap.el: Remove bogus package version number.
2675 2013-11-13 Glenn Morris <rgm@gnu.org>
2677 * replace.el (replace-eval-replacement):
2678 Try to give more helpful error message. (Bug#15836)
2680 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2681 (archive-7z-update): Avoid custom type mismatches.
2683 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2685 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2687 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2688 address can be empty.
2690 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2691 Accept nil SWITCHES.
2692 (tramp-gvfs-handle-write-region): Implement APPEND.
2694 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2696 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2697 binary "|" operator and closing block args delimiter.
2698 Remove FIXME comment referring to Ruby 1.8-only syntax.
2699 (ruby-smie--implicit-semi-p): Not after "|" operator.
2700 (ruby-smie--closing-pipe-p): New function.
2701 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2702 (ruby-smie-rules): Indent after "|".
2704 2013-11-12 Glenn Morris <rgm@gnu.org>
2706 * ps-print.el (ps-face-attribute-list):
2707 Handle anonymous faces. (Bug#15827)
2709 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2711 * window.el (display-buffer-other-frame): Fix doc-string.
2714 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2718 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2720 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2721 (tramp-sh-handle-file-local-copy): Don't write a message when
2722 saving temporary files.
2724 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2725 both directories are remote.
2726 (tramp-smb-handle-directory-files): Do not return double entries.
2727 Do not expand full file names.
2728 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2729 (tramp-smb-handle-write-region): Implement APPEND.
2730 (tramp-smb-get-stat-capability): Fix a stupid bug.
2732 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2734 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2736 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2738 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2739 throwing error over malformed let/let* (bug#15814).
2741 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * iswitchb.el (iswitchb-mode): Mark obsolete.
2745 2013-11-11 Glenn Morris <rgm@gnu.org>
2747 * international/uni-bidi.el, international/uni-category.el:
2748 * international/uni-name.el, international/uni-numeric.el:
2749 Regenerate for Unicode 6.3.0.
2751 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2753 * net/tramp.el (tramp-methods):
2754 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2755 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2757 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2759 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2760 Force highlighting text after Summary keyword in doc face for rpm.
2762 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2764 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2765 available and the word has no wildcards, append one to the grep pattern.
2766 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2767 (ispell-complete-word): Call `ispell-lookup-words' with the value
2768 independent of `ispell-look-p'.
2770 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2772 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2774 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2777 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2779 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2780 (ruby-font-lock-keywords): Use backquote.
2782 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2784 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2785 (ruby-smie--backward-token): Only consider full-string matches.
2787 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2789 * faces.el (describe-face): Add distant-foreground.
2791 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2793 * progmodes/ruby-mode.el: Improve encoding comment handling.
2794 (ruby-encoding-magic-comment-style): New option.
2795 (ruby-custom-encoding-magic-comment-template): New option.
2796 (ruby--insert-coding-comment, ruby--detect-encoding):
2797 New functions extracted from `ruby-mode-set-encoding'.
2798 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2799 to control the style of the auto-inserted encoding comment.
2801 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2803 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2804 Use `smie-backward-sexp' with token argument.
2806 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2808 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2809 Remove instrumentation code.
2811 2013-11-08 Glenn Morris <rgm@gnu.org>
2813 * progmodes/autoconf.el (autoconf-mode):
2814 Tweak comment-start-skip. (Bug#15822)
2816 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2818 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2819 at bobp (bug#15826).
2820 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2822 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2824 * man.el (Man-start-calling): New macro, extracted from
2825 Man-getpage-in-background.
2826 (Man-getpage-in-background): Use it.
2827 (Man-update-manpage): New command.
2828 (Man-mode-map): Bind it.
2830 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2832 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2833 of "and", "or", "&&" and "||".
2834 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2835 argument. Prohibit opening curly brace because it could only be a
2836 block opener in that position.
2837 (ruby-smie--forward-token, ruby-smie--backward-token):
2838 Separate "|" from "&" or "*" going after it. That can happen in block
2840 (ruby-smie--indent-to-stmt): New function, seeks the end of
2841 previous statement or beginning of buffer.
2842 (ruby-smie-rules): Use it.
2843 (ruby-smie-rules): Check if there's a ":" before a curly block
2844 opener candidate; if there is, it's a hash.
2846 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2848 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2849 (cl--block-wrapper): Fix last accidental change.
2851 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2853 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2854 Instrument, in order to hunt failure on hydra.
2856 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2858 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2859 malformed bindings form (bug#15814).
2861 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2863 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2864 "." compared to " @ ". This incidentally fixes some indentation
2866 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2867 (ruby-smie-grammar): New tokens: "and" and "or".
2868 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2869 Exclude "and" and "or". Remove "do" in order to work around token
2871 (ruby-smie-rules): Add all infix tokens. Handle the case of
2872 beginning-of-buffer.
2874 2013-11-06 Glenn Morris <rgm@gnu.org>
2876 * Makefile.in (setwins_almost, setwins_for_subdirs):
2877 Avoid accidental matches.
2879 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * menu-bar.el (popup-menu): Use key-binding.
2883 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2885 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2886 menus, support also the menus produced by minor modes.
2889 2013-11-06 Leo Liu <sdl.web@gmail.com>
2891 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2892 DISTANCE to bound the search. All uses changed. (Bug#15808)
2894 2013-11-06 Glenn Morris <rgm@gnu.org>
2896 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2897 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2898 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2900 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2902 * electric.el (electric-indent-just-newline): New command.
2903 (electric-indent-mode-map): New keymap.
2904 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2905 Re-add :group which weren't redundant.
2907 * electric.el (electric-indent-local-mode): New minor mode.
2908 (electric-indent-functions-without-reindent): New var.
2909 (electric-indent-post-self-insert-function): Use it.
2910 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2912 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2914 * international/quail.el (quail-help): Be more explicit about the
2915 meaning of the labels shown on the keys. (Bug#15800)
2917 * startup.el (normal-top-level): Load the subdirs.el files before
2918 setting the locale environment. (Bug#15805)
2920 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2922 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2923 via arguments so as to get the right ones (bug#15418).
2925 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2927 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2929 Fix problems found while writing a test suite.
2931 * net/tramp-compat.el (tramp-compat-load): New defun.
2932 * net/tramp.el (tramp-handle-load): Use it.
2934 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2935 "(numberp ok-if-already-exists)" correctly.
2937 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2939 * international/characters.el (glyphless-char-display-control):
2942 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2944 * progmodes/python.el (python-mode):
2945 * progmodes/scheme.el (scheme-mode):
2946 * progmodes/prolog.el (prolog-mode):
2947 * progmodes/ruby-mode.el (ruby-mode):
2948 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2949 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2951 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2953 * rect.el (rectangle--highlight-for-redisplay):
2954 * emacs-lisp/smie.el (smie--next-indent-change):
2955 Use buffer-chars-modified-tick.
2957 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2959 * electric.el (electric-indent-post-self-insert-function):
2960 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2962 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2964 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2966 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2968 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2971 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2973 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2975 * progmodes/python.el: Fix up last change.
2976 (python-shell--save-temp-file): New function.
2977 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2978 `string' comes from the current buffer.
2979 (python-shell-send-string-no-output): Remove `msg' arg.
2980 (python--use-fake-loc): New var.
2981 (python-shell-buffer-substring): Obey it. Try to compensate for the
2982 extra coding line added by python-shell--save-temp-file.
2983 (python-shell-send-region): Use python-shell--save-temp-file and
2984 python-shell-send-file directly. Add `nomain' argument.
2985 (python-shell-send-buffer): Use python-shell-send-region.
2986 (python-electric-pair-string-delimiter): New function.
2987 (python-mode): Use it.
2989 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2991 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2992 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2993 environment and decoding all of the default-directory's to here
2995 (command-line): Decode also argv[0].
2997 * loadup.el: Error out if default-directory is a multibyte string
2998 when we are dumping.
3000 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3002 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3004 * emacs-lisp/package.el (package-menu-mode)
3005 (package-menu--print-info, package-menu--archive-predicate):
3006 Add Archive column to package list.
3008 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3010 Fix problems found while writing a test suite.
3012 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3013 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3014 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3015 to nil when running original file name handler. Otherwise,
3016 there are problems with constructs like "$$FOO".
3018 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3021 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3023 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3025 * subr.el (version<, version<=, version=):
3026 Update docstrings with information for snapshot versions.
3028 * helpers.el: New library for misc helper functions.
3029 (hash-table-keys): New function returning a list of hash keys.
3030 (hash-table-values): New function returning a list of hash values.
3032 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3034 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3035 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3037 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3039 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3040 checking whether point is after a 1-letter word.
3042 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3044 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3045 Don't infloop when expanding region over `multiline' syntax-type that
3046 begins a line (bug#15778).
3048 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3050 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3051 Make it into a proper minor mode.
3052 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3053 (rectangle-mark-mode-map): New keymap.
3054 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3056 2013-11-04 Glenn Morris <rgm@gnu.org>
3058 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3060 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3062 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3063 (ruby-smie-rules): Use smie-rule-parent instead.
3065 * emacs-lisp/smie.el (smie-rule-parent): Always call
3066 smie-indent-virtual rather than only for hanging tokens.
3067 (smie--next-indent-change): New helper command.
3069 2013-11-03 Glenn Morris <rgm@gnu.org>
3071 * Makefile.in (abs_srcdir): Remove.
3072 (emacs): Unset EMACSLOADPATH.
3074 2013-11-02 Glenn Morris <rgm@gnu.org>
3076 * Makefile.in (EMACS): Use a relative filename.
3077 (abs_top_builddir): Remove.
3078 (custom-deps, finder-data, autoloads): Use --chdir.
3080 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3082 Use relative filenames in TAGS files.
3083 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3084 (lisptagsfiles4, TAGS): Use relative file names.
3085 (TAGS-LISP): Remove.
3086 (maintainer-clean): No more TAGS-LISP file.
3088 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3089 (lisptagsfiles4): Use absolute filenames again.
3090 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3091 Remove all *loaddefs files, not just the first. Remove esh-groups.
3092 (maintainer-clean): Delete TAGS, TAGS-LISP.
3094 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3096 * emacs-lisp/package.el (package-version-join):
3097 Recognize snapshot versions.
3099 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3101 * subr.el (version-regexp-alist): Add support for snapshot versions.
3103 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3105 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3106 New function, replacement for `smie-rule-parent' for when we want to
3107 skip over our direct parent if it's an assignment token..
3108 (ruby-smie-rules): Use it.
3110 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3112 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3113 unconditionally. Remove now unnecessary forward declarations.
3114 Remove XEmacs-specific setup.
3115 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3116 (ruby-font-lock-syntactic-keywords)
3117 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3118 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3119 (ruby-here-doc-end-syntax): Remove.
3120 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3121 defined as function.
3123 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3125 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3127 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3129 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3130 table and abbrev table, `define-derived-mode' does that for us
3133 2013-11-01 Glenn Morris <rgm@gnu.org>
3135 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3136 files is atomic for some time, so no parallel compilation issues).
3138 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3140 * faces.el (face-x-resources): Add :distant-foreground.
3141 (region): Use :distant-foreground for gtk and ns.
3143 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3145 Allow multiple bibliographies when BibLaTeX is used rather than
3147 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3148 (reftex-locate-bibliography-files): Us it.
3150 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3152 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3153 allow comments in pbm files.
3155 * term/w32-win.el (dynamic-library-alist): Support newer versions
3156 of libjpeg starting with v7: look only for the DLL from the
3157 version against which Emacs was built.
3158 Support versions of libpng beyond 1.4.x.
3159 Support libtiff v4.x.
3161 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3163 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3164 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3166 (ruby-deep-arglist): Add property :type.
3168 2013-10-31 Glenn Morris <rgm@gnu.org>
3170 * Makefile.in (custom-deps, finder-data): No need to setq the target
3171 variables, we are in the right directory and the defaults work fine.
3173 2013-10-30 Glenn Morris <rgm@gnu.org>
3175 * Makefile.in (autoloads): Do not use abs_lisp.
3177 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3178 `newline' does not respect `standard-output', so use `princ'.
3180 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3182 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3183 * buff-menu.el (Buffer-menu--unmark): New function.
3184 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3186 2013-10-30 Glenn Morris <rgm@gnu.org>
3188 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3190 * emacs-lisp/package.el (lm-homepage): Declare.
3192 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3195 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3197 * Makefile.in (finder-data, autoloads, update-subdirs)
3198 (compile-main, compile-clean, compile-always, bootstrap-clean):
3199 Check return value of cd.
3200 (compile-calc): Remove.
3202 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3206 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3207 (byte-compile-and-folded): New function.
3208 (=, <, >, <=, >=): Use it.
3210 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3211 (path-separator, null-device, buffer-file-coding-system)
3212 (lpr-headers-switches): Check system-type before modifying them.
3213 (find-buffer-file-type-coding-system): Mark obsolete.
3214 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3215 find-file-not-found-set-buffer-file-coding-system.
3216 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3217 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3218 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3219 (w32-direct-print-region-helper, w32-direct-print-region-function)
3220 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3221 * startup.el (normal-top-level-add-subdirs-to-load-path):
3222 * ps-print.el (ps-print-region-function):
3223 * lpr.el (print-region-function): Use new name.
3225 * subr.el (custom-declare-variable-early): Remove function.
3226 (custom-declare-variable-list): Remove var.
3227 (error, user-error): Remove `while' loop.
3228 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3229 (user-emacs-directory-warning, locate-user-emacs-file):
3231 * simple.el (read-quoted-char-radix, read-quoted-char):
3232 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3234 * custom.el (custom-declare-variable-list): Don't process
3235 custom-declare-variable-list.
3237 * progmodes/python.el (python-shell-get-buffer): New function.
3238 (python-shell-get-process): Use it.
3239 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3240 Python which encoding was used. Don't split-string since we only care
3241 about the first line. Return the temp-file, if applicable.
3242 (python-shell-send-region): Tell compile.el how to turn locations in
3243 the temp-file into locations in the source buffer.
3245 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3247 * subr.el (undefined): Add missing behavior from the C code for
3250 * rect.el: Use lexical-binding. Add new rectangular region support.
3251 (rectangle-mark): New command.
3252 (rectangle--region): New var.
3253 (deactivate-mark-hook): Reset rectangle--region.
3254 (rectangle--extract-region, rectangle--insert-for-yank)
3255 (rectangle--highlight-for-redisplay)
3256 (rectangle--unhighlight-for-redisplay): New functions.
3257 (region-extract-function, redisplay-unhighlight-region-function)
3258 (redisplay-highlight-region-function): Use them to handle
3260 * simple.el (region-extract-function): New var.
3261 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3262 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3263 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3264 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3265 (redisplay-unhighlight-region-function)
3266 (redisplay-highlight-region-function): New vars.
3267 (redisplay--update-region-highlight): New function.
3268 (pre-redisplay-function): Use it.
3269 (exchange-point-and-mark): Don't deactivate the mark before
3270 reactivate-it anyway.
3271 * comint.el (comint-kill-region): Remove yank-handler argument.
3272 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3273 (delete-char): Remove property, since it's now part of their
3275 (self-insert-iso): Remove property since this command doesn't exist.
3277 * emacs-lisp/package.el (package--download-one-archive)
3278 (describe-package-1): Don't query the user about final newline.
3280 2013-10-29 Daniel Colascione <dancol@dancol.org>
3282 * net/tramp.el (tramp-methods): Document new functionality.
3283 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3284 tramp-hostname-checker if method provides one instead of scanning
3285 argument list for "%h" to decide hostname acceptability.
3287 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3289 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3290 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3291 Handle COPY-CONTENTS. (Bug#15737)
3293 2013-10-28 Daiki Ueno <ueno@gnu.org>
3296 (epa-file-cache-passphrase-for-symmetric-encryption):
3297 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3299 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3301 * image.el (defimage):
3302 (image-load-path): Doc fixes.
3304 2013-10-27 Alan Mackenzie <acm@muc.de>
3306 Indent statements in macros following "##" correctly.
3307 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3308 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3310 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3312 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3314 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3316 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3317 after `=' is probably a new expression.
3319 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3321 * man.el (man-imenu-title): New option.
3322 (Man-mode-map): Add menu. (Bug#15722)
3323 (Man-mode): Add imenu to menu.
3325 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3327 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3328 specific in what the first arg can be: a non-keyword word,
3329 string/regexp/percent literal opener, opening paren, or unary
3330 operator followed directly by word.
3332 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3334 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3335 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3336 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3337 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3338 Remove vars, they do not apply any more.
3339 (prolog-mode-abbrev-table): Remove redundant declaration.
3340 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3341 (prolog-use-smie): Remove.
3342 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3343 supported by prolog-electric-if-then-else-flag.
3344 (prolog-mode-variables, prolog-menu): Use setq-local.
3345 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3346 Remove binding to `Backspace' since this key doesn't exist anyway.
3347 Remove bindings for electric self-inserting keys.
3348 (prog-mode): Assume it's defined.
3349 (prolog-post-self-insert): New function.
3350 (prolog-mode): Use it.
3351 (prolog-indent-line, prolog-indent-level)
3352 (prolog-find-indent-of-matching-paren)
3353 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3354 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3355 (prolog-goto-next-paren, prolog-in-string-or-comment)
3356 (prolog-tokenize, prolog-inside-mline-comment)
3357 (prolog-find-start-of-mline-comment): Remove functions.
3358 (prolog-find-unmatched-paren, prolog-clause-end)
3359 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3360 (prolog-electric--if-then-else): Rename from
3361 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3362 (prolog-tokenize-searchkey): Remove const.
3363 (prolog-clause-info): Use forward-sexp.
3364 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3365 (prolog-electric-if-then-else): Remove commands.
3366 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3367 for use in post-self-insert-hook.
3368 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3369 for use in post-self-insert-hook.
3370 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3371 for use in post-self-insert-hook.
3372 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3373 adapt it for use in post-self-insert-hook.
3375 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3377 * emacs-lisp/ert.el (ert-run-tests-interactively):
3378 Use `completing-read'. (Bug#9756)
3380 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3382 * simple.el (line-move): Call line-move-1 instead of
3383 line-move-visual when the current window hscroll is zero, but
3384 temporary-goal-column indicates we will need to hscroll as result
3385 of the movement. (Bug#15712)
3387 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3389 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3390 capitalization. Use :visible instead of :active.
3391 Fix `ruby-indent-exp' reference. Add menu items for the generic
3392 commands that are used with SMIE.
3393 (ruby-do-end-to-brace): Insert space after `{'.
3395 2013-10-25 John Anthony <john@jo.hnanthony.com>
3397 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3399 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3401 2013-10-25 Glenn Morris <rgm@gnu.org>
3403 * vc/vc.el (vc-print-log): Don't use a working revision unless
3404 one was explicitly specified. (Bug#15322)
3406 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * subr.el (add-to-list): Preserve return value in compiler-macro
3411 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3413 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3414 result. Ask user to retry using '-all' flag. (Bug#15701)
3416 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3418 * emacs-lisp/smie.el: New smie-config system.
3419 (smie-config): New defcustom.
3420 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3421 (smie-config-guess, smie-config-save): New commands.
3422 (smie-config--mode-local, smie-config--buffer-local)
3423 (smie-config--trace, smie-config--modefuns): New vars.
3424 (smie-config--advice, smie-config--mode-hook)
3425 (smie-config--setter, smie-config-local, smie-config--get-trace)
3426 (smie-config--guess-value, smie-config--guess): New functions.
3427 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3428 text properties. Treat "string fence" syntax like string syntax.
3430 * progmodes/sh-script.el (sh-use-smie): Change default.
3431 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3432 (sh-var-value): Simplify by CSE.
3433 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3434 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3436 (sh-guess-basic-offset): Use cl-incf.
3437 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3439 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3441 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3444 2013-10-24 Glenn Morris <rgm@gnu.org>
3446 * Makefile.in (abs_top_srcdir): Remove.
3447 (update-subdirs): Use relative path to update-subdirs.
3449 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3451 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3452 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3453 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3454 Call unmsys--file-name before expand-file-name, not after it.
3456 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3458 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3459 (ert-test-skipped): New error.
3460 (ert-skip, ert-stats-skipped): New defuns.
3461 (ert--skip-unless): New macro.
3462 (ert-test-skipped): New struct.
3463 (ert--run-test-debugger, ert-test-result-type-p)
3464 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3465 (ert--stats-set-test-and-result, ert-char-for-test-result)
3466 (ert-string-for-test-result, ert-run-tests-batch)
3467 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3468 Handle skipped tests. (Bug#9803)
3470 2013-10-24 Glenn Morris <rgm@gnu.org>
3472 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3474 * Makefile.in (abs_top_srcdir): New, set by configure.
3475 (update-subdirs): Correct build-aux location.
3477 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3479 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3480 value, whether we could auto-deduce `backend', or not.
3482 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3483 with parameters" example. Simplify the "is it block or is it
3484 hash" check, but also make it more thorough.
3486 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3488 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3490 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3492 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3495 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3498 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3500 * progmodes/compile.el (compilation-directory-matcher)
3501 (compilation-page-delimiter):
3502 Support GNU Make-4.0 directory quoting. (Bug#15678)
3504 2013-10-23 Leo Liu <sdl.web@gmail.com>
3506 * ido.el (ido-tidy): Handle read-only text.
3508 2013-10-23 Glenn Morris <rgm@gnu.org>
3510 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3511 (emacs, compile, compile-always):
3512 Quote entities that might contain whitespace.
3513 (custom-deps, finder-data, autoloads): Use abs_lisp.
3514 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3515 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3516 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3518 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3520 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3521 Use `following-char'.
3523 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3526 * progmodes/ruby-mode.el (ruby-smie-rules):
3527 Remove corresponding workaround. Fix indentation rule of ";" so it
3528 also applies when ";" is the parent.
3530 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3532 * frame.el (display-screens, display-pixel-height)
3533 (display-pixel-width, display-mm-width, display-backing-store)
3534 (display-save-under, display-planes, display-color-cells)
3535 (display-visual-class, display-monitor-attributes-list):
3536 Mention the optional ‘display’ argument in doc strings.
3538 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3540 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3541 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3543 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3545 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3546 TODO. Add "." after " @ ".
3547 (ruby-smie--at-dot-call): New function. Checks if point at method
3548 call with explicit target.
3549 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3550 to the method name tokens when it precedes them.
3551 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3552 (ruby-smie-rules): Add rule for indentation before and after "."
3555 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * textmodes/remember.el (remember-diary-extract-entries):
3560 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3563 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3565 * progmodes/ruby-mode.el (ruby-smie-grammar):
3566 Add (almost) all infix operators.
3567 (ruby-smie--implicit-semi-p): Add new operator chars.
3569 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3571 (ruby-smie--args-separator-p): Check that there's no newline
3572 between method call and its arguments.
3574 2013-10-20 Alan Mackenzie <acm@muc.de>
3576 Allow comma separated lists after Java "implements".
3578 * progmodes/cc-engine.el (c-backward-over-enum-header):
3580 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3581 from a "disallowed" list in enum fontification.
3583 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3585 * startup.el (default-frame-background-mode): Remove unused defvar.
3587 * progmodes/verilog-mode.el (verilog-mode): Don't set
3588 comment-indent-function globally.
3590 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3592 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3593 Move Info menu item creation to ns-win.el.
3595 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3598 * menu-bar.el: Move GNUstep specific menus...
3600 * term/ns-win.el (ns-initialize-window-system): ... to here.
3602 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * simple.el (newline): Only run post-self-insert-hook when
3605 called interactively.
3607 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3609 * icomplete.el (icomplete-with-completion-tables): Add :version.
3611 2013-10-19 Alan Mackenzie <acm@muc.de>
3613 Fix fontification bugs with constructors and const.
3615 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3616 CASE 2) Remove the check for the absence of a suffix construct
3617 after a function declaration with only types (no identifiers) in
3618 the parentheses. Also, accept a function declaration with just a
3619 type inside the parentheses, if this type can be positively
3620 recognised as such, or if a prefix keyword like "explicit" nails
3621 down the construct as a declaration.
3623 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3625 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3626 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3627 the problem whereby selecting a menu item that leads to a
3628 minibuffer prompt moves the cursor out of the minibuffer window,
3629 making it hard to type at the prompt. Suggested by Stefan Monnier
3630 <monnier@iro.umontreal.ca>.
3632 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3634 * menu-bar.el: Don't make Services menu.
3636 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3638 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3639 (ffap-alist): Use ffap-c++-mode for c++-mode.
3640 (ffap-c++-path): New variable.
3641 (ffap-c++-mode): New function.
3643 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3645 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3647 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3649 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3650 introduced on 2013-09-08, which results in an infinite loop
3651 requesting a password.
3653 2013-10-18 Glenn Morris <rgm@gnu.org>
3655 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3657 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3659 Sync with upstream verilog-mode revision 1a6ecec7.
3660 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3661 (verilog-mode-release-date): Remove.
3662 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3663 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3664 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3665 (verilog-auto-tieoff-ignore-regexp)
3666 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3667 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3668 (verilog-signals-with, verilog-dir-cache-preserving)
3669 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3671 (verilog-case-fold): New option, to control case folding in
3672 regexp searches, bug597.
3673 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3674 (verilog-string-match-fold, verilog-in-paren-count)
3675 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3676 (verilog-at-close-struct-p): New functions.
3677 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3678 (verilog-forward-sexp, verilog-set-auto-endcomments):
3679 (verilog-leap-to-case-head): Handle "unique0" case.
3680 (verilog-in-constraint-re): New constant.
3681 (verilog-keywords, verilog-type-font-keywords):
3682 Add some SystemVerilog 1800-2012 keywords.
3683 (verilog-label-be): Remove unimplemented argument, bug669.
3684 (verilog-batch-execute-func): When batch expanding clear
3685 create-lockfiles to prevent spurious user locks when a file ends
3687 (verilog-calculate-indent, verilog-calc-1)
3688 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3689 (verilog-do-indent): Fix indentation of nested constraints
3691 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3692 (verilog-auto-inst-param): Use verilog-string-match-fold.
3693 (verilog-read-inst-module-matcher):
3694 Fix AUTOINST on gate primitives with #1.
3695 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3696 Reads all user-defined typed variables.
3697 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3698 (verilog-signals-matching-regexp)
3699 (verilog-signals-not-matching-regexp, verilog-auto):
3700 Respect verilog-case-fold.
3701 (verilog-diff-report): Fix line count.
3702 (verilog-auto-assign-modport): Remove unused local `modi'.
3703 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3704 better handle multidimensional arrays.
3705 Fix packed array ports misadding bit index in AUTOINST, bug637.
3706 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3707 to not double-declare existing outputs and inputs, respectively.
3708 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3709 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3710 (verilog-sk-uvm-component): New skeleton.
3711 (verilog-submit-bug-report): Add verilog-case-fold,
3712 remove verilog-mode-release-date.
3714 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3716 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3719 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3721 * textmodes/remember.el (remember): Set buffer-offer-save in
3722 remember buffers (bug#13566).
3724 2013-10-18 Daniel Colascione <dancol@dancol.org>
3726 When evaluating forms in ielm, direct standard output to ielm
3727 buffer. Add new ielm-return-for-effect command. Remove trailing
3728 whitespace throughout.
3730 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3731 (ielm-return-for-effect): New command.
3732 (ielm-send-input): Accept optional `for-effect' parameter.
3733 (ielm-eval-input): Accept optional `for-effect' parameter.
3734 Bind `standard-output' to stream we create using
3735 `ielm-standard-output-impl'. Suppress printing result when
3737 (ielm-standard-output-impl): New function.
3738 (inferior-emacs-lisp-mode): Explain new features in documentation.
3740 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3744 * net/tramp.el (tramp-debug-message): Do not check for connection
3746 (tramp-message): Use "vector" connection property.
3748 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3749 (tramp-equal-remote, tramp-eshell-directory-change)
3750 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3751 (tramp-adb-handle-rename-file)
3752 * net/tramp-cmds.el (tramp-list-remote-buffers)
3753 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3754 * net/tramp-compat.el (tramp-compat-process-running-p)
3755 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3756 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3757 (tramp-gvfs-handle-rename-file)
3758 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3759 (tramp-set-file-uid-gid)
3760 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3761 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3764 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3765 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3766 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3767 (tramp-gw-open-network-stream): Suppress unrelated traces.
3769 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3770 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3771 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3772 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3773 connection property.
3775 * net/tramp-cache.el (top): Suppress traces when reading
3778 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3779 Refactor common code. Improve debug message.
3780 (tramp-maybe-open-connection)
3781 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3782 connection buffer too early.
3784 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3785 from `tramp-smb-actions-with-acl'.
3786 (tramp-smb-actions-set-acl): New defconst.
3787 (tramp-smb-handle-copy-directory)
3788 (tramp-smb-action-get-acl): New defun, renamed from
3789 `tramp-smb-action-with-acl'.
3790 (tramp-smb-action-set-acl): New defun.
3791 (tramp-smb-handle-set-file-acl): Rewrite.
3793 2013-10-17 Glenn Morris <rgm@gnu.org>
3795 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3797 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * skeleton.el (skeleton-newline): Remove.
3800 (skeleton-internal-1): Use (insert "\n") instead.
3802 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3805 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3806 forward-sexp-function while we redo its job (bug#15613).
3808 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3810 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3811 represented by lists.
3813 2013-10-16 Glenn Morris <rgm@gnu.org>
3815 * tmm.el (tmm--history): New dynamic variable.
3816 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3818 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3820 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3821 (tramp-smb-errors): Add error messages.
3822 (tramp-smb-actions-with-acl): New defconst.
3823 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3824 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3825 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3826 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3827 (tramp-smb-get-stat-capability): Fix tests.
3829 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3831 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3834 2013-10-16 Glenn Morris <rgm@gnu.org>
3836 * ansi-color.el (ansi-color-drop-regexp):
3837 Add 1J, 1K, 2K. (Bug#15617)
3839 * files.el (hack-local-variables--warned-lexical): New.
3840 (hack-local-variables):
3841 Warn about misplaced lexical-binding. (Bug#15616)
3843 * net/eww.el (eww-render): Always set eww-current-url,
3844 and update header line. (Bug#15622)
3845 (eww-display-html): ... Rather than just doing it here.
3847 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3849 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3850 menu navigations commands.
3852 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3854 * progmodes/subword.el (subword-capitalize): Be careful when
3855 the search for [[:alpha:]] fails (bug#15580).
3857 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3859 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3860 to commands that scroll the menu.
3862 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3864 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3865 Handle methods ending with `?' and `!'.
3867 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3869 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3870 `japanese-cp932' to `cp932' to fix the problem where saving a
3871 source file written in Shift_JIS twice would end up having
3872 `coding: japanese-cp932' which Ruby could not recognize.
3873 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3874 in `ruby-encoding-map'.
3875 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3876 doesn't need to be explicitly declared in magic comment.
3877 (ruby-encoding-map): Add type declaration for better customize UI.
3879 2013-10-13 Glenn Morris <rgm@gnu.org>
3881 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3882 Occur buffers are read-only. http://bugs.debian.org/720775
3884 * emacs-lisp/authors.el (authors-fixed-entries):
3885 Comment out old alpha stuff.
3887 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3889 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3890 to `after-save-hook' instead of `before-save-hook'.
3891 (ruby-mode-set-encoding): Use the value of coding system used to
3892 write the file. Call `basic-save-buffer-1' after modifying the
3895 2013-10-13 Alan Mackenzie <acm@muc.de>
3897 Fix indentation/fontification of Java enum with
3898 "implements"/generic.
3900 * progmodes/cc-engine.el (c-backward-over-enum-header):
3901 Extracted from the three other places and enhanced to handle generics.
3902 (c-inside-bracelist-p): Uses new function above.
3903 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3905 (c-font-lock-enum-tail): Uses new function above.
3907 2013-10-13 Kenichi Handa <handa@gnu.org>
3909 * international/mule-cmds.el (select-safe-coding-system): Remove a
3910 superfluous condition in chekcing whether a coding system is safe
3913 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3915 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3917 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3919 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3921 2013-10-13 Glenn Morris <rgm@gnu.org>
3923 * menu-bar.el (menu-bar-update-buffers):
3924 Unify Buffers menu prompt string. (Bug#15576)
3926 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3928 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3930 (authors-fixed-entries): Use accented form of name.
3932 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3935 method calls (bug#15594).
3936 (ruby-smie--args-separator-p): New function.
3937 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3938 recognize paren-free method calls.
3940 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3941 internals of universal-argument.
3943 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3945 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3946 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3947 dropped menu on second mouse click on the menu bar.
3949 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3951 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3952 (explicit-shell-file-name): Declare.
3953 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3954 (sh-completion-at-point-function): New function.
3956 (sh-smie--keyword-p): Remove unused argument.
3957 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3959 (sh-set-shell): Always setup SMIE, even if we use the
3960 old indentation code.
3962 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3964 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3966 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3967 predicate would return nil are almost non-existent.
3968 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3970 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3971 cache also after commands that modify the buffer but don't move
3974 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3976 * env.el (substitute-env-in-file-name): New function.
3977 (substitute-env-vars): Extend the meaning of the optional arg.
3979 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3981 * term/w32-win.el (dynamic-library-alist): Define separate lists
3982 of GIF DLLs for versions before and after 5.0.0 of giflib.
3985 2013-10-10 João Távora <joaotavora@gmail.com>
3987 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3988 not locked, use last revision and current source as
3989 defaults. (Bug#15569)
3991 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3993 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3996 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3998 * window.el (pop-to-buffer-same-window): Fix doc-string.
4001 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4003 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4005 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4007 * calendar/icalendar.el (icalendar-import-file):
4008 Fix interactive spec. (Bug#15482)
4010 2013-10-10 Glenn Morris <rgm@gnu.org>
4012 * desktop.el (desktop-save): Default to saving in .emacs.d,
4013 since PWD is no longer in desktop-path by default. (Bug#15319)
4015 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4016 now that text mode has a menu with the same entry.
4017 (menu-bar-text-mode-auto-fill): Remove now unused func.
4018 * textmodes/text-mode.el (text-mode-map):
4019 Use auto-fill help text from menu-bar.el.
4021 2013-10-10 John Anthony <john@jo.hnanthony.com>
4023 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4025 2013-10-09 Juri Linkov <juri@jurta.org>
4027 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4028 instead of this-command-keys. Add universal-argument-more and
4029 universal-argument-minus to the list of prefix commands. (Bug#15568)
4031 2013-10-09 Glenn Morris <rgm@gnu.org>
4033 * vc/vc-svn.el (vc-svn-create-repo):
4034 Expand paths in file://... url. (Bug#15446)
4036 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4038 (authors): Remove unused local variables.
4040 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * profiler.el: Create a more coherent calltree from partial backtraces.
4043 (profiler-format): Hide the tail with `invisible' so that C-s can still
4044 find the hidden elements.
4045 (profiler-calltree-depth): Don't recurse so enthusiastically.
4046 (profiler-function-equal): New hash-table-test.
4047 (profiler-calltree-build-unified): New function.
4048 (profiler-calltree-build): Use it.
4049 (profiler-report-make-name-part): Indent the calltree less.
4050 (profiler-report-mode): Add visibility specs for profiler-format.
4051 (profiler-report-expand-entry, profiler-report-toggle-entry):
4052 Expand the whole subtree when provided with a prefix arg.
4054 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4056 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4058 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4059 hanging iuwu-mod token.
4060 (ruby-smie--forward-token): Do not include a dot after a token in
4062 (ruby-smie--backward-token): Likewise.
4064 2013-10-08 Juri Linkov <juri@jurta.org>
4066 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4067 to isearch-other-control-char.
4068 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4069 and isearch-post-command-hook to post-command-hook.
4070 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4071 and isearch-post-command-hook from post-command-hook.
4072 (isearch-unread-key-sequence)
4073 (isearch-reread-key-sequence-naturally)
4074 (isearch-lookup-scroll-key, isearch-other-control-char)
4075 (isearch-other-meta-char): Remove functions.
4076 (isearch-pre-command-hook, isearch-post-command-hook):
4077 New functions based on isearch-other-meta-char rewritten
4078 relying on the new behavior of overriding-terminal-local-map
4079 that does not replace the local keymaps any more. (Bug#15200)
4081 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4083 Support menus on text-mode terminals.
4084 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4087 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4089 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4090 Move here from mouse.el.
4091 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4093 (tty-menu-navigation-map): New map for TTY menu navigation.
4095 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4097 * frame.el (display-mouse-p): Report text-mode mouse as available
4099 (display-popup-menus-p): Report availability if mouse is
4100 available; don't condition on window-system.
4102 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4103 (tty-menu-selected-face): New faces.
4105 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4107 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4108 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4109 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4110 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4112 (lisp-mode-variables): New `elisp' argument.
4113 (emacs-lisp-mode): Use it.
4114 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4115 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4117 * indent.el: Use lexical-binding.
4118 (indent-region): Add progress reporter.
4119 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4121 (indent--next-tab-stop): New function to implement this behavior.
4122 (tab-to-tab-stop, move-to-tab-stop): Use it.
4124 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4126 * indent.el (indent-rigidly--current-indentation): New function.
4127 (indent-rigidly-map): New var.
4128 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4130 2013-10-08 Bastien Guerry <bzg@gnu.org>
4132 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4134 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4136 * progmodes/perl-mode.el: Use lexical-binding.
4137 Remove redundant :group args.
4138 (perl-nochange): Change default to be closer to other major modes's
4140 (perl-indent-line): Don't consider text on current line as a
4141 valid beginning of function from which to indent.
4143 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4144 with more than one argument (bug#15538).
4146 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4148 * vc/pcvs.el: Use lexical-binding.
4149 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4150 environment of `eval'.
4151 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4152 than a list of expressions. Adjust callers.
4153 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4155 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4157 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4158 case of the dot in a chained method call being on the following line.
4160 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * electric.el (electric-indent-inhibit): New var.
4163 (electric-indent-post-self-insert-function): Use it.
4164 * progmodes/python.el (python-mode): Set it.
4166 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4169 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4171 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4172 (css-mode): Use electric-indent-chars.
4174 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4175 (font-lock-beg, font-lock-end): Move before first use.
4176 (nxml-mode): Use syntax-propertize-function.
4177 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4178 (nxml-extend-after-change-region): Remove.
4179 * nxml/xmltok.el: Use lexical-binding.
4180 (xmltok-save): Use `declare'.
4181 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4182 * nxml/nxml-util.el: Use lexical-binding.
4183 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4185 * nxml/nxml-ns.el: Use lexical-binding.
4186 (nxml-ns-save): Use `declare'.
4187 (nxml-ns-prefixes-for): Avoid add-to-list.
4188 * nxml/rng-match.el: Use lexical-binding.
4189 (rng--ipattern): Use cl-defstruct.
4190 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4191 (rng-cons-group-after, rng-subst-group-after)
4192 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4193 Use closures instead of `(lambda...).
4195 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4197 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4200 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4201 Use `tramp-handle-insert-file-contents'.
4202 (tramp-gvfs-handle-insert-file-contents): Remove function.
4204 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4205 Use `save-restriction' in order to keep markers.
4207 * net/trampver.el: Update release number.
4209 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * progmodes/compile.el (compilation-parse-errors):
4212 Use compilation--put-prop.
4213 (compilation--ensure-parse): Check compilation-multiline.
4215 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4217 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4220 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4222 * progmodes/ruby-mode.el: Fix recently added tests.
4223 (ruby-smie-grammar): Add - and +.
4224 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4225 (ruby-smie--backward-id): New functions.
4226 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4227 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4230 2013-10-07 Leo Liu <sdl.web@gmail.com>
4232 * register.el (register-preview-delay)
4233 (register-preview-functions): New variables.
4234 (register-read-with-preview, register-preview)
4235 (register-describe-oneline): New functions.
4236 (point-to-register, window-configuration-to-register)
4237 (frame-configuration-to-register, jump-to-register)
4238 (number-to-register, view-register, insert-register)
4239 (copy-to-register, append-to-register, prepend-to-register)
4240 (copy-rectangle-to-register): Use register-read-with-preview to
4241 read register. (Bug#15525)
4243 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4245 * net/network-stream.el (network-stream-open-starttls): Don't add
4246 --insecure if it's already present, because that gnutls-cli
4247 rejects getting that parameter twice.
4249 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4251 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4254 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4256 * newcomment.el (comment-use-global-state): Change default value
4257 to t, mark obsolete (Bug#15251).
4258 (comment-beginning): In addition to `comment-to-syntax', check the
4259 value of `comment-use-global-state'.
4261 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4264 (ruby-comment-column): Follow the global default, by default.
4265 (ruby-smie-grammar): Add assignment syntax.
4266 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4267 open-paren, a comma, or a \.
4268 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4269 and line continuations.
4270 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4271 followed by implicit semi-colons. Add rule for string concatenation
4272 and for indentation at BOB.
4273 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4275 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4276 calling next-sexp, since next-token may have skipped chars which
4277 next-sexp doesn't know should be skipped!
4279 2013-10-05 Leo Liu <sdl.web@gmail.com>
4281 * progmodes/octave.el (octave-send-region):
4282 Call compilation-forget-errors.
4284 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4286 * vc/vc-svn.el (vc-svn-find-admin-dir):
4287 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4288 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4289 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4290 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4292 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4294 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4296 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4298 * subr.el (read-passwd): Hide chars even when called within a context
4299 where after-change-functions is disabled (bug#15501).
4300 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4301 until we removed ourself from overriding-terminal-local-map.
4303 2013-10-04 Leo Liu <sdl.web@gmail.com>
4305 * progmodes/octave.el (inferior-octave-mode):
4306 Call compilation-forget-errors.
4308 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4310 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4312 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4314 * net/secrets.el (secrets-create-collection): Add optional
4315 argument ALIAS. Use proper Label keyword. Append ALIAS as
4316 dbus-call-method argument. (Bug#15516)
4318 2013-10-04 Leo Liu <sdl.web@gmail.com>
4320 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4321 (inferior-octave-compilation-font-lock-keywords): New variables.
4322 (compilation-error-regexp-alist)
4323 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4324 (inferior-octave-mode): Use compilation-shell-minor-mode.
4326 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4328 * minibuffer.el (completion--replace): Be careful that `end' might be
4331 2013-10-03 Daiki Ueno <ueno@gnu.org>
4333 Add support for package signature checking.
4334 * emacs-lisp/package.el (url-http-file-exists-p)
4335 (epg-make-context, epg-context-set-home-directory)
4336 (epg-verify-string, epg-context-result-for)
4337 (epg-signature-status, epg-signature-to-string)
4338 (epg-check-configuration, epg-configuration)
4339 (epg-import-keys-from-file): Declare.
4340 (package-check-signature): New user option.
4341 (package-unsigned-archives): New user option.
4342 (package-desc): Add `signed' field.
4343 (package-load-descriptor): Set `signed' field if .signed file exists.
4344 (package--archive-file-exists-p): New function.
4345 (package--check-signature): New function.
4346 (package-install-from-archive): Check package signature.
4347 (package--download-one-archive): Check archive signature.
4348 (package-delete): Remove .signed file.
4349 (package-import-keyring): New command.
4350 (package-refresh-contents): Import default keyring.
4351 (package-desc-status): Add "unsigned" status.
4352 (describe-package-1, package-menu--print-info)
4353 (package-menu-mark-delete, package-menu--find-upgrades)
4354 (package-menu--status-predicate): Support "unsigned" status.
4356 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4358 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4359 the new compilation scheme using the new byte-codes.
4361 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4362 (byte-pophandler): New byte codes.
4363 (byte-goto-ops): Adjust accordingly.
4364 (byte-compile--use-old-handlers): New var.
4365 (byte-compile-catch): Use new byte codes depending on
4366 byte-compile--use-old-handlers.
4367 (byte-compile-condition-case--old): Rename from
4368 byte-compile-condition-case.
4369 (byte-compile-condition-case--new): New function.
4370 (byte-compile-condition-case): New function that dispatches depending
4371 on byte-compile--use-old-handlers.
4372 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4375 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4376 Optimize under `condition-case' and `catch' if
4377 byte-compile--use-old-handlers is nil.
4378 (disassemble-offset): Handle new bytecodes.
4380 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * subr.el (error): Use `declare'.
4383 (decode-char, encode-char): Use advertised-calling-convention instead
4384 of the docstring to discourage use of the `restriction' arg.
4386 2013-10-03 Daiki Ueno <ueno@gnu.org>
4388 * epg.el (epg-verify-file): Add a comment saying that it does not
4389 notify verification error as a return value nor a signal.
4390 (epg-verify-string): Ditto.
4392 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4394 * progmodes/compile.el (compilation-start): Try globbing the arg to
4397 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4399 Sync with Tramp 2.2.8.
4401 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4402 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4403 * net/trampver.el: Update release number.
4405 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4407 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4408 and default-process-coding-system for darwin only.
4410 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4414 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4416 * vc/vc-git.el (vc-git-grep): Disable pager.
4418 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4420 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4421 Use :url instead of :homepage, as per
4422 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4424 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4425 non-nil, use `syntax-ppss' (Bug#15251).
4427 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4429 * progmodes/octave.el (inferior-octave-startup-file):
4430 Prefer ~/.emacs.d/init_octave.m.
4432 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4434 * emacs-lisp/package.el (package-desc-from-define):
4435 Accept additional arguments as plist, convert them to an alist and store
4436 them in the `extras' slot.
4437 (package-generate-description-file): Convert extras alist back to
4438 plist and append to the `define-package' form arguments.
4439 (package--alist-to-plist): New function.
4440 (package--ac-desc): Add `extras' slot.
4441 (package--add-to-archive-contents): Check if the archive-contents
4442 vector is long enough, and if it is, pass its `extras' slot value
4443 to `package-desc-create'.
4444 (package-buffer-info): Call `lm-homepage', pass the returned value
4445 to `package-desc-from-define'.
4446 (describe-package-1): Render the homepage button (Bug#13291).
4448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4449 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4451 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4453 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4454 and default-process-coding-system to utf-8-unix (Bug#15402).
4456 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4458 * subr.el (looking-back): Do not recommend using looking-back.
4460 2013-09-28 Alan Mackenzie <acm@muc.de>
4462 Fix indentation/fontification of Java enum with "implements".
4464 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4465 regexp which matches "implements", etc., in Java.
4466 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4467 specifier clauses coming after "enum".
4468 * progmodes/cc-fonts.el (c-font-lock-declarations)
4469 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4472 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4474 * faces.el (region): Change ns_selection_color to
4475 ns_selection_fg_color, add ns_selection_bg_color.
4477 2013-09-28 Leo Liu <sdl.web@gmail.com>
4479 * progmodes/octave.el (inferior-octave-completion-table)
4480 (inferior-octave-completion-at-point): Minor tweaks.
4482 * textmodes/ispell.el (ispell-lookup-words): Rename from
4483 lookup-words. (Bug#15460)
4484 (lookup-words): Obsolete.
4485 (ispell-complete-word, ispell-command-loop): All uses changed.
4487 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4489 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4490 (octave-mode-menu): Add octave-send-buffer.
4491 (octave-send-buffer): New function.
4493 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4495 * progmodes/octave.el (octave-mode-map): Add key binding for
4497 (octave-mode-menu): Add octave-lookfor.
4498 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4500 (octave-lookfor): New function.
4502 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * emacs-lisp/cl-macs.el:
4505 (cl--loop-destr-temps): Remove.
4506 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4508 (cl--loop-set-iterator-function): New function.
4509 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4510 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4511 Bind `it' with `let' instead of substituting it with `cl-subst'.
4512 (cl--unused-var-p): New function.
4513 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4514 Eliminate some unused variable warnings (bug#15326).
4516 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4518 * doc-view.el (doc-view-scale-reset): Rename from
4519 `doc-view-reset-zoom-level'.
4520 (doc-view-scale-adjust): New command.
4521 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4522 `doc-view-scale-adjust'.
4524 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4526 * doc-view.el (doc-view-reset-zoom-level): New command.
4527 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4528 zoom commands (bug#15466).
4530 2013-09-26 Kenichi Handa <handa@gnu.org>
4532 * international/quail.el (quail-help): Make it not a command.
4534 2013-09-26 Leo Liu <sdl.web@gmail.com>
4536 * minibuffer.el (completion-all-sorted-completions): Make args
4537 optional as they are.
4539 2013-09-25 Daniel Colascione <dancol@dancol.org>
4541 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4542 specs are and that they're not evaluated.
4544 2013-09-24 Sam Steingold <sds@gnu.org>
4546 * midnight.el (clean-buffer-list-kill-regexps)
4547 (clean-buffer-list-kill-buffer-names): Update for the new Man
4548 buffer naming which includes the object name.
4550 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4552 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4553 (eshell-parse-command, eshell-parse-pipeline): Use it since
4554 eshell-separate-commands requires a dynamic scoped var.
4555 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4557 2013-09-23 Leo Liu <sdl.web@gmail.com>
4559 * autoinsert.el (auto-insert-alist): Make the value of
4560 lexical-binding match its file setting.
4562 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4564 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4566 * autoarg.el (autoarg-kp-digit-argument):
4567 * electric.el (Electric-command-loop):
4568 * kmacro.el (kmacro-step-edit-insert):
4569 Do not set universal-argument-num-events.
4571 2013-09-22 Leo Liu <sdl.web@gmail.com>
4573 * files.el (interpreter-mode-alist): Add octave.
4575 2013-09-21 Alan Mackenzie <acm@muc.de>
4577 C++: fontify identifier in declaration following "public:" correctly.
4578 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4579 to match "public", etc.
4580 (c-decl-prefix-re): Add ":" into the C++ value.
4581 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4582 bit. Add a check for a ":" preceded by "public", etc.
4584 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4586 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4587 recognized by GDB 7.5 and later.
4589 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4591 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4593 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * subr.el (internal--call-interactively): New const.
4596 (called-interactively-p): Use it (bug#3984).
4598 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4600 * vc/pcvs.el (cvs-mode-ignore):
4601 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4602 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4604 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4607 (eshell-ls-orig-insert-directory): Remove.
4608 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4609 (eshell-ls-use-in-dired): Use advice-add/remove.
4610 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4611 Add `orig-fun' arg for use in :around advice.
4612 Make it check (redundantly) eshell-ls-use-in-dired.
4614 2013-09-19 Glenn Morris <rgm@gnu.org>
4616 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4618 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4620 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4622 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4624 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4625 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4626 (tramp-get-remote-python): New defuns.
4627 (tramp-get-remote-uid-with-perl)
4628 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4629 contributed by yary <not.com@gmail.com> (tiny change).
4630 (tramp-get-remote-uid-with-python)
4631 (tramp-get-remote-gid-with-python): New defuns. Python code
4632 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4633 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4635 2013-09-19 Glenn Morris <rgm@gnu.org>
4637 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4639 * eshell/em-unix.el (eshell-remove-entries):
4640 Rename argument to avoid name-clash with global `top-level'.
4642 * eshell/esh-proc.el (eshell-kill-process-function):
4643 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4644 (eshell-reset-after-proc): Remove unused arg `proc'.
4646 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4647 (directory-files-and-attributes): Mark unused arg.
4649 * eshell/em-unix.el (eshell-remove-entries):
4650 Remove unused arg `path'. Update callers.
4652 * eshell/em-hist.el (eshell-hist-parse-arguments):
4653 Remove unused arg `silent'. Update callers.
4655 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4656 Fix (f)boundp mix-up.
4658 * eshell/em-smart.el (eshell-smart-scroll-window)
4659 (eshell-disable-after-change):
4660 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4662 2013-09-18 Alan Mackenzie <acm@muc.de>
4664 Fix fontification of type when followed by "const".
4665 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4666 "known" types from fontification.
4668 2013-09-18 Glenn Morris <rgm@gnu.org>
4670 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4671 (chart-face-list): Drop Emacsen without display-color-p.
4673 * net/eww.el (libxml-parse-html-region): Declare.
4674 (eww-display-html): Explicit error if no libxml2 support.
4676 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4678 * image.el (image-type-from-buffer, image-multi-frame-p):
4679 Remove --without-x warning/error.
4681 * mouse.el (mouse-yank-primary):
4682 * term.el (term-mouse-paste):
4683 Reorder to silence --without-x compilation.
4685 * mpc.el (doc-view-mode): Silence --without-x compilation.
4687 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4688 Silence --without-x compilation.
4690 * progmodes/gud.el (gud-find-file, gud-mode):
4691 Silence --without-x compilation.
4692 (tooltip-mode): Declare.
4694 * wdired.el (dired-backup-overwrite): Remove declaration.
4695 (wdired-mode-map): Add doc string.
4697 * custom.el (x-get-resource): Declare.
4699 * eshell/em-glob.el (ange-cache):
4700 * eshell/em-unix.el (ange-cache): Declare.
4702 * faces.el (x-display-list, x-open-connection, x-get-resource):
4705 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4706 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4709 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4711 * net/gnutls.el (gnutls-log-level): Declare.
4713 * net/shr.el (image-size, image-animate): Declare.
4715 * simple.el (font-info): Declare.
4717 * subr.el (x-popup-dialog): Declare.
4719 * term/common-win.el (x-select-enable-primary)
4720 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4723 * term/ns-win.el (x-handle-args): Declare.
4725 * term/x-win.el (x-select-enable-clipboard): Declare.
4727 * term/w32-win.el (create-default-fontset): Declare.
4729 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4732 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4733 (fit-frame-to-buffer): Explicit error if --without-x.
4734 (mouse-autoselect-window-select): Silence compiler.
4736 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4738 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4739 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4740 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4741 * eshell/esh-util.el (eshell-sublist):
4742 Remove unused local variables.
4744 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4746 * textmodes/two-column.el: Make 2C-split work for --without-x.
4747 (scroll-bar-columns): Autoload.
4748 (top-level): Require fringe when compiling.
4750 2013-09-18 Leo Liu <sdl.web@gmail.com>
4752 * subr.el (add-hook): Robustify to handle closure as well.
4754 2013-09-17 Glenn Morris <rgm@gnu.org>
4756 * simple.el (messages-buffer-mode-map): Unbind "g".
4758 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * help-mode.el (help-mode-finish): Use derived-mode-p.
4761 Remove obsolete highlighting.
4763 * play/life.el (life-mode): Use define-derived-mode. Derive from
4765 (life): Let-bind inhibit-read-only.
4766 (life-setup): Avoid `setq'. Use `life-mode'.
4768 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4769 which should not be needed any more.
4770 (package-menu-refresh, package-menu-describe-package): Use user-error.
4772 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4773 (eshell-post-rewrite-command-hook): Make obsolete.
4774 (eshell-parse-command): Simplify.
4775 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4776 (eshell--cmd): Declare.
4777 (eshell-parse-pipeline): Remove unused var `final-p'.
4778 Pass a dynvar to eshell-post-rewrite-command-hook.
4779 Implement the new eshell-post-rewrite-command-function.
4780 (eshell-invoke-directly): Remove unused arg `input'.
4781 * eshell/esh-io.el (eshell-io-initialize):
4782 Use eshell-post-rewrite-command-function (bug#15399).
4783 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4784 adjust to new calling convention.
4785 (eshell-create-handles): Rename args to avoid clashing with dynvar
4788 2013-09-17 Glenn Morris <rgm@gnu.org>
4790 * simple.el (messages-buffer-mode): New major mode.
4791 (messages-buffer): New function.
4792 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4793 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4794 (ert-run-test): Use `messages-buffer' function.
4795 (ert--force-message-log-buffer-truncation): Ignore read-only.
4796 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4797 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4799 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4803 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4805 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4807 * icomplete.el (icomplete-in-buffer): New var.
4808 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4809 vars and replace them with functions.
4810 (icomplete-minibuffer-setup): Adjust accordingly.
4811 (icomplete--completion-table, icomplete--completion-predicate)
4812 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4814 (icomplete-forward-completions, icomplete-backward-completions)
4815 (icomplete-simple-completing-p, icomplete-exhibit)
4816 (icomplete-completions): Use them.
4817 (icomplete--in-region-buffer): New var.
4818 (icomplete--in-region-setup): New function.
4819 (icomplete-mode): Use it.
4821 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4823 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4824 return args and options.
4825 (eshell-eval-using-options): Use the new return value of
4826 eshell--do-opts to set the options's vars in their scope.
4827 (eshell--set-option): Rename from eshell-set-option.
4829 (eshell--process-option): Rename from eshell-process-option.
4831 (eshell--process-args): Use an `opt-vals' alist to store the options's
4832 values during their processing and return them additionally to the
4835 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4837 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4838 continuation character an operator, as far as indentation is
4839 concerned (Bug#15369).
4841 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4843 * window.el (window--state-put-2): Don't process buffer state
4844 when buffer doesn't exist any more (Bug#15382).
4846 2013-09-15 Glenn Morris <rgm@gnu.org>
4848 * eshell/em-unix.el (eshell/rm):
4849 Make -f ignore missing files. (Bug#15373)
4851 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4852 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4853 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4855 2013-09-14 Glenn Morris <rgm@gnu.org>
4857 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4859 2013-09-13 Glenn Morris <rgm@gnu.org>
4861 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4862 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4864 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4866 * frame.el (x-focus-frame): Mark as declared in frame.c.
4868 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4870 * ls-lisp.el: Use advice-add.
4871 (original-insert-directory): Remove.
4872 (ls-lisp--insert-directory): Rename from insert-directory; add
4873 `orig-fun' argument.
4874 (insert-directory): Advise.
4876 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4878 * term.el (term-emulate-terminal): Decode the command string
4879 before passing it to term-command-hook. (Bug#15337)
4881 2013-09-13 Glenn Morris <rgm@gnu.org>
4883 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4885 * eshell/esh-ext.el (eshell-search-path): Declare.
4887 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4888 Otherwise an error occurs if eshell-dirs module not loaded.
4890 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4892 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4894 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4895 `tramp-check-proper-host'. Check for a valid method name.
4897 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4898 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4899 * net/tramp-sh.el (tramp-maybe-open-connection):
4900 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4902 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4903 also for hash values.
4905 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4907 * term/ns-win.el (parameters): Don't declare as dynamic.
4908 (before-make-frame-hook): Don't add ineffective function.
4910 * eshell/*.el: Use lexical-binding (bug#15231).
4912 2013-09-12 Kenichi Handa <handa@gnu.org>
4914 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4916 2013-09-12 Glenn Morris <rgm@gnu.org>
4918 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4919 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4921 * subr.el (do-after-load-evaluation): Also give compiler warnings
4922 when obsolete files are used (except by obsolete files).
4924 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4925 in the status output, assume `filename' is the first. (Bug#15322)
4927 * vc/vc.el (vc-deduce-fileset): Doc fix.
4929 * calc/calc-help.el (Info-goto-node):
4930 * progmodes/cperl-mode.el (Info-find-node):
4931 * vc/ediff.el (Info-goto-node): Update declarations.
4933 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4935 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4936 (vc-bzr-pull): Require vc-dispatcher.
4937 * vc/vc-git.el (vc-compilation-mode): Declare.
4938 (vc-git-pull): Require vc-dispatcher.
4940 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4942 * progmodes/octave.el (help-button-action): Declare.
4944 * shell.el (shell-directory-tracker): Output error as a message
4945 rather than just returning it as a string.
4946 (shell-process-pushd): Remove useless use of message.
4948 * dframe.el (dframe-timer-fn):
4949 * files.el (dir-locals-read-from-file):
4950 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4952 * reveal.el (reveal-post-command):
4953 * saveplace.el (load-save-place-alist-from-file):
4954 * shell.el (shell-resync-dirs):
4955 * w32-common-fns.el (x-get-selection-value):
4956 * emacs-lisp/copyright.el (copyright-find-copyright):
4957 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4958 * emulation/tpu-edt.el (tpu-copy-keyfile):
4959 * play/bubbles.el (bubbles--mark-neighbourhood):
4960 * progmodes/executable.el
4961 (executable-make-buffer-file-executable-if-script-p):
4962 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4964 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4966 Cleanup Eshell to rely less on dynamic scoping.
4967 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4968 last-value, and ext-command here. Bind `args' closer to `body'.
4969 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4970 (eshell--args): Declare new dynamic var.
4971 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4972 last-value, and ext-command. Pass `args' to `body'.
4973 (eshell-process-args): Bind eshell--args.
4974 (eshell-set-option): Use eshell--args.
4975 * eshell/eshell.el (eshell): Use derived-mode-p.
4976 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4977 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4978 (eshell-glob-function): Declare.
4979 * eshell/esh-util.el: Require cl-lib.
4980 (eshell-read-hosts-file): Avoid add-to-list.
4981 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4983 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4985 (eshell/diff): Remove unused var `err'.
4986 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4988 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4989 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4991 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4992 Move declaration before first use.
4993 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4994 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4997 2013-09-12 Glenn Morris <rgm@gnu.org>
4999 * term/ns-win.el (global-map): Remove binding for ispell-next,
5000 deleted 1999-05-29. (Bug#15357)
5002 2013-09-11 Glenn Morris <rgm@gnu.org>
5004 * echistory.el (electric-command-history): Remove call to deleted func.
5006 * play/landmark.el (landmark-mode): Fix typos.
5008 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5009 Check cvs-sort-ignore-file is bound.
5011 * savehist.el: No need for cl when compiling on Emacs.
5013 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5015 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5017 (eshell-self-insert-command, eshell-send-invisible):
5018 Remove unused argument.
5019 (eshell-handle-control-codes): Remove unused var `orig'.
5020 Avoid delete-backward-char.
5022 * files.el (set-auto-mode): Simplify a bit further.
5024 2013-09-11 Glenn Morris <rgm@gnu.org>
5026 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5027 (set-auto-mode): Don't regexp-quote elements.
5028 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5029 * progmodes/cc-mode.el (interpreter-mode-alist):
5030 * progmodes/ruby-mode.el (interpreter-mode-alist):
5031 Revert previous change.
5033 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5035 * play/snake.el (snake-mode):
5036 * play/mpuz.el (mpuz-mode):
5037 * play/landmark.el (lm-mode):
5038 * play/blackbox.el (blackbox-mode):
5039 * play/5x5.el (5x5-mode):
5040 * obsolete/options.el (Edit-options-mode):
5041 * net/quickurl.el (quickurl-list-mode):
5042 * net/newst-treeview.el (newsticker-treeview-mode):
5043 * mail/rmailsum.el (rmail-summary-mode):
5044 * mail/mspools.el (mspools-mode):
5045 * locate.el (locate-mode):
5046 * ibuffer.el (ibuffer-mode):
5047 * emulation/ws-mode.el (wordstar-mode):
5048 * emacs-lisp/debug.el (debugger-mode):
5049 * array.el (array-mode):
5050 * net/eudc.el (eudc-mode): Use define-derived-mode.
5051 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5052 Move initialization into declaration.
5053 (mairix-searches-mode): Use define-derived-mode.
5054 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5055 (eudc-edit-hotlist): Use dolist.
5056 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5057 (Man-mode): Use define-derived-mode.
5058 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5059 (Info-edit-mode): Use define-derived-mode.
5060 (Info-cease-edit): Use Info-mode.
5061 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5063 (eshell-mode): Use define-derived-mode.
5064 * chistory.el (command-history-mode-map): Rename from
5065 command-history-map.
5066 (command-history-mode): Use define-derived-mode.
5067 (Command-history-setup): Remove function.
5068 * calc/calc.el (calc-trail-mode-map): New var.
5069 (calc-trail-mode): Use define-derived-mode.
5070 (calc-trail-buffer): Set calc-main-buffer manually.
5071 * bookmark.el (bookmark-insert-annotation): New function.
5072 (bookmark-edit-annotation): Use it.
5073 (bookmark-edit-annotation-mode): Make it a proper major mode.
5074 (bookmark-send-edited-annotation): Use derived-mode-p.
5075 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5076 closer to its ideal place. Use \' to match EOS.
5078 * profiler.el (profiler-calltree-find): Use function-equal.
5080 2013-09-10 Glenn Morris <rgm@gnu.org>
5082 * files.el (interpreter-mode-alist): Convert to regexps.
5083 (set-auto-mode): Adapt for this. (Bug#15306)
5084 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5085 Comment out unused variable.
5086 * progmodes/cc-mode.el (interpreter-mode-alist):
5087 * progmodes/python.el (interpreter-mode-alist):
5088 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5089 * progmodes/sh-script.el (sh-set-shell):
5090 No longer use interpreter-mode-alist to get list of shells.
5092 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5094 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5096 * simple.el: Use set-temporary-overlay-map for universal-argument.
5097 (universal-argument-map): Don't use default-bindings (bug#15317).
5098 Bind switch-frame explicitly. Replace universal-argument-minus with
5099 a conditional binding.
5100 (universal-argument-num-events, saved-overriding-map): Remove.
5101 (restore-overriding-map): Remove.
5102 (universal-argument--mode): Rename from save&set-overriding-map,
5104 (universal-argument, universal-argument-more, negative-argument)
5105 (digit-argument): Adjust accordingly.
5106 (universal-argument-minus): Remove.
5107 (universal-argument-other-key): Remove.
5109 * subr.el (with-demoted-errors): Add `format' argument.
5111 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5113 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5114 `tramp-cleanup-connection'.
5116 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5117 parameters KEEP-DEBUG and KEEP-PASSWORD.
5119 * net/tramp.el (tramp-file-name-handler):
5120 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5121 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5122 (tramp-maybe-open-connection):
5123 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5124 Use `tramp-cleanup-connection'.
5126 * net/tramp-sh.el (tramp-maybe-open-connection):
5127 Catch 'uname-changed inside the progress reporter.
5129 2013-09-10 Glenn Morris <rgm@gnu.org>
5131 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5133 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5134 returns "alternate access method" in mode (eg "-rw-r--r--.").
5136 2013-09-08 Glenn Morris <rgm@gnu.org>
5138 * saveplace.el (load-save-place-alist-from-file):
5139 Demote errors. (Bug#15305)
5141 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5143 Improve compatibility with older Emacsen, and XEmacs.
5145 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5146 only if it is bound. It isn't for XEmacs.
5147 (with-tramp-progress-reporter): Do not let-bind `result'.
5148 This yields to scoping errors in XEmacs.
5149 (tramp-handle-make-auto-save-file-name): New function, moved from
5152 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5153 for `make-auto-save-file-name'.
5154 (tramp-adb--gnu-switches-to-ash):
5155 Use `tramp-compat-replace-regexp-in-string'.
5157 * net/tramp-cache.el (tramp-cache-print): Call
5158 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5160 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5161 bound. It isn't for XEmacs.
5163 * net/tramp-compat.el (tramp-compat-copy-file):
5164 Catch `wrong-number-of-arguments' error.
5165 (tramp-compat-replace-regexp-in-string): New defun.
5167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5168 for `make-auto-save-file-name'.
5169 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5171 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5172 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5173 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5175 * net/tramp-gw.el (tramp-gw-open-network-stream):
5176 Use `tramp-compat-replace-regexp-in-string'.
5178 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5179 Call `tramp-handle-make-auto-save-file-name'.
5180 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5181 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5182 (tramp-sh-file-inotifywait-process-filter):
5183 Use `tramp-compat-replace-regexp-in-string'.
5184 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5186 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5187 for `make-auto-save-file-name'.
5188 (tramp-smb-handle-copy-directory):
5189 Call `tramp-compat-replace-regexp-in-string'.
5190 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5191 (tramp-smb-handle-copy-file): Improve error message.
5192 (tramp-smb-handle-rename-file): Rename directly only in case
5193 `newname' does not exist yet. This is a restriction of smbclient.
5194 (tramp-smb-maybe-open-connection): Rerun the function only when
5195 `auth-sources' is non-nil.
5197 2013-09-08 Kenichi Handa <handa@gnu.org>
5199 * international/characters.el: Set category "^" (Combining) for
5202 2013-09-07 Alan Mackenzie <acm@muc.de>
5204 Correctly fontify Java class constructors.
5205 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5207 (c-recognize-typeless-decls): Set the Java value to t.
5208 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5209 While handling a "(", add a check for, effectively, Java, and handle a
5210 "typeless" declaration there.
5212 2013-09-07 Roland Winkler <winkler@gnu.org>
5214 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5215 field subtitle for entry type book.
5217 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5219 * minibuffer.el: Make minibuffer-complete call completion-in-region
5220 rather than other way around.
5221 (completion--some, completion-pcm--find-all-completions):
5222 Don't delay signals when debugging.
5223 (minibuffer-completion-contents): Beware fields within the
5224 minibuffer contents.
5225 (completion-all-sorted-completions): Use defvar-local.
5226 (completion--do-completion, completion--cache-all-sorted-completions)
5227 (completion-all-sorted-completions, minibuffer-force-complete):
5228 Add args `beg' and `end'.
5229 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5230 (minibuffer-complete): Use completion-in-region.
5231 (completion-complete-and-exit): New fun, extracted from
5232 minibuffer-complete-and-exit.
5233 (minibuffer-complete-and-exit): Use it.
5234 (completion--complete-and-exit): Rename from
5235 minibuffer--complete-and-exit.
5236 (completion-in-region--single-word): New function, extracted from
5237 minibuffer-complete-word.
5238 (minibuffer-complete-word): Use it.
5239 (display-completion-list): Make `common-substring' argument obsolete.
5240 (completion--in-region): Call completion--in-region-1 instead of
5241 minibuffer-complete.
5242 (completion-help-at-point): Pass boundaries to
5243 minibuffer-completion-help as args rather than via an overlay.
5244 (completion-pcm--string->pattern): Use `any-delim'.
5245 (completion-pcm--optimize-pattern): New function.
5246 (completion-pcm--pattern->regex): Handle `any-delim'.
5247 * icomplete.el (icomplete-forward-completions)
5248 (icomplete-backward-completions, icomplete-completions):
5249 Adjust calls to completion-all-sorted-completions and
5250 completion--cache-all-sorted-completions.
5251 (icomplete-with-completion-tables): Default to t.
5252 * emacs-lisp/crm.el (crm--current-element): Rename from
5253 crm--select-current-element. Don't put an overlay but return the
5255 (crm--completion-command): Take two new args to bind to the boundaries.
5256 (crm-completion-help): Adjust accordingly.
5257 (crm-complete): Use completion-in-region.
5258 (crm-complete-word): Use completion-in-region--single-word.
5259 (crm-complete-and-exit): Use completion-complete-and-exit.
5261 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5263 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5266 2013-09-06 Juri Linkov <juri@jurta.org>
5268 * info.el (Info-display-images-node): When image file doesn't exist
5269 display text version of the image if it's provided in the Info file.
5270 Otherwise, display the location of missing image from SRC attribute.
5271 Add help-echo text property from ALT attribute. (Bug#15279)
5273 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5275 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5276 (edit-abbrevs-mode): Use define-derived-mode.
5278 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5279 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5281 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5282 Use define-derived-mode.
5284 * epg.el (epg-start-encrypt): Minor CSE simplification.
5286 2013-09-06 William Xu <william.xwl@gmail.com>
5288 * arc-mode.el: Add support for 7za (bug#15264).
5289 (archive-7z-program): New var.
5290 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5291 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5292 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5294 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5298 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5299 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5300 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5301 (tramp-postfix-host-format, tramp-file-name-regexp)
5302 (tramp-completion-file-name-regexp)
5303 (tramp-completion-dissect-file-name)
5304 (tramp-handle-substitute-in-file-name): Remove 'url case.
5305 (tramp-file-name-regexp-url)
5306 (tramp-completion-file-name-regexp-url): Remove constants.
5308 2013-09-06 Glenn Morris <rgm@gnu.org>
5310 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5312 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5314 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5315 keywords" below "here-doc beginnings" (Bug#15270).
5317 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * subr.el (pop): Use `car-safe'.
5320 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5321 to detect unused `pop' return value.
5323 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5325 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5326 (python-fill-string): Remove unused var `marker'.
5327 (python-skeleton-add-menu-items): Remove unused var `items'.
5329 * international/mule-cmds.el: Require CL.
5330 (find-coding-systems-for-charsets): Avoid add-to-list.
5331 (sanitize-coding-system-list): New function, extracted from
5332 select-safe-coding-system-interactively.
5333 (select-safe-coding-system-interactively): Use it.
5334 (read-input-method-name): Accept symbols for `default'.
5336 * emacs-lisp/advice.el (defadvice): Add indent rule.
5338 2013-09-05 Daniel Hackney <dan@haxney.org>
5342 * net/browse-url.el:
5345 * net/eudcb-ldap.el:
5358 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5359 byte compiler. Remove some unused let-bound variables.
5361 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5363 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5364 a "ref-cell", since it gets better optimized (bug#14883).
5366 2013-09-05 Glenn Morris <rgm@gnu.org>
5368 * progmodes/cc-awk.el (c-forward-sws): Declare.
5370 2013-09-04 Glenn Morris <rgm@gnu.org>
5372 * generic-x.el [rul-generic-mode]: Require cc-mode.
5373 (c++-mode-syntax-table): Declare.
5374 (rul-generic-mode-syntax-table): Init in the defvar.
5376 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5379 (vc-do-command, vc-set-async-update):
5380 * vc/vc-mtn.el (vc-mtn-dir-status):
5381 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5382 (vc-hg-pull, vc-hg-merge-branch):
5383 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5384 (vc-git-merge-branch):
5385 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5386 (vc-cvs-dir-status-files):
5387 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5388 (vc-bzr-dir-status-files):
5389 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5390 * vc/vc-annotate.el: Use lexical-binding.
5391 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5392 (vc-sentinel-movepoint): Declare.
5393 (vc-annotate): Don't use `goto-line'.
5394 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5395 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5396 (vc-sentinel-movepoint): Declare.
5397 * vc/vc-svn.el: Use lexical-binding.
5398 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5400 * vc/vc-rcs.el: Use lexical-binding.
5402 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5403 `deleted'. Don't drop errors silently.
5405 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5407 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5409 * vc/vc.el (vc-ignore): Rewrite.
5410 (vc-default-ignore): New function.
5411 (vc-default-ignore-completion-table): Use find-ignore-file.
5413 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5414 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5415 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5416 Remove. Most code moved to vc.el.
5418 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5420 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5421 * net/tramp-smb.el (tramp-smb-get-file-entries):
5422 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5423 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5425 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5427 (eww-change-select): Remove unused var `properties'.
5428 (eww-make-unique-file-name): Remove unused var `base'.
5430 * finder.el (finder-compile-keywords): Don't mess with windows.
5432 * calculator.el (calculator-funcall): Fix typo in last change.
5434 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5436 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5437 <pkg>-autoloads.el file stop us.
5439 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5440 warnings, and factor out common code.
5442 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5444 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5445 two-character operators and whether the character preceding them
5446 changes their meaning (Bug#15208).
5448 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5450 Format code sent to Python shell for robustness.
5451 * progmodes/python.el (python-shell-buffer-substring):
5453 (python-shell-send-region, python-shell-send-buffer): Use it.
5455 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5457 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5458 * net/tramp.el (tramp-user-error): ... here.
5459 (tramp-find-method, tramp-check-proper-host)
5460 (tramp-dissect-file-name, tramp-debug-message)
5461 (tramp-handle-shell-command):
5462 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5463 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5465 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5467 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5469 * avoid.el (mouse-avoidance-point-position)
5470 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5473 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5475 * progmodes/python.el (python-shell-completion-get-completions):
5476 Drop use of deleted `comint-last-prompt-overlay'.
5477 (python-nav-if-name-main): New command.
5479 2013-09-01 Glenn Morris <rgm@gnu.org>
5481 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5482 Avoid leading space in $wins. Otherwise the sed command used by
5483 eg compile-main ends up containing "/*.el". (Bug#15170)
5485 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5487 2013-08-30 Glenn Morris <rgm@gnu.org>
5489 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5490 Fix is-this-a-directory logic. (Bug#15220)
5492 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5494 * textmodes/css-mode.el: Use SMIE.
5495 (css-smie-grammar): New var.
5496 (css-smie--forward-token, css-smie--backward-token)
5497 (css-smie-rules): New functions.
5498 (css-mode): Use them.
5499 (css-navigation-syntax-table): Remove var.
5500 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5501 (css-indent-calculate, css-indent-line): Remove functions.
5503 Misc changes to reduce use of `(lambda...); and other cleanups.
5504 * cus-edit.el: Use lexical-binding.
5505 (customize-push-and-save, customize-apropos)
5506 (custom-buffer-create-internal): Use closures.
5507 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5508 * progmodes/ada-xref.el: Use setq.
5509 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5510 * dframe.el: Use lexical-binding.
5511 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5512 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5513 * descr-text.el: Use lexical-binding.
5514 (describe-text-widget, describe-text-sexp, describe-property-list):
5516 * comint.el (comint-history-isearch-push-state): Use a closure.
5517 * calculator.el: Use lexical-binding.
5518 (calculator-number-to-string): Make it work with lexical-binding.
5519 (calculator-funcall): Same and use cl-letf.
5521 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5522 (lisp--company-doc-string, lisp--company-location): New functions.
5523 (lisp-completion-at-point): Use them to improve Company support.
5525 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5526 params of lambda expressions.
5527 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5528 (ruby-smie--opening-pipe-p): New function.
5529 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5530 symbols and matched |...| for formal params.
5531 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5532 from being treated as hanging. Handle "rescue".
5534 2013-08-29 Glenn Morris <rgm@gnu.org>
5536 * progmodes/cc-engine.el (c-pull-open-brace):
5537 Move definition before use.
5539 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5541 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5542 are immutable. Don't use `unsafe' any more.
5543 (cl--defsubst-expand): Don't substitute at the same time as keeping
5544 a residual unused let-binding. Don't use `unsafe' any more.
5546 2013-08-29 Glenn Morris <rgm@gnu.org>
5548 * calendar/cal-china.el (calendar-chinese-year-cache):
5551 * nxml/nxml-util.el (nxml-debug-clear-inside):
5552 Use cl-loop rather than loop.
5554 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5556 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5558 2013-08-28 Glenn Morris <rgm@gnu.org>
5560 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5562 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5564 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5566 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5568 * simple.el (repeat-complex-command--called-interactively-skip):
5570 (repeat-complex-command): Use it (bug#14136).
5572 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5573 (c-define-abbrev-table): Add `doc' argument.
5574 (c-mode-abbrev-table, c++-mode-abbrev-table)
5575 (objc-mode-abbrev-table, java-mode-abbrev-table)
5576 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5577 (awk-mode-abbrev-table): Use it.
5578 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5579 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5580 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5581 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5582 Move initialization into the declaration; and remove any
5585 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5586 and dynamic let binding.
5588 * vc/smerge-mode.el: Remove redundant :group args.
5590 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5593 2013-08-28 Juri Linkov <juri@jurta.org>
5595 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5596 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5597 (isearch-other-meta-char): Handle an undefined shifted printing
5598 character by downshifting it. (Bug#15200)
5600 2013-08-28 Juri Linkov <juri@jurta.org>
5602 * isearch.el (isearch-search): Change regexp error message for
5603 non-regexp searches. (Bug#15166)
5605 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5607 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5608 for portability to hosts where /bin/sh has problems.
5610 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5612 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5614 2013-08-27 Juri Linkov <juri@jurta.org>
5616 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5617 in the keyboard macro. (Bug#15126)
5619 2013-08-27 Juri Linkov <juri@jurta.org>
5621 * isearch.el (isearch-quote-char): Comment out converting unibyte
5622 to multibyte, thus syncing with its `quoted-insert' counterpart.
5625 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5627 * window.el (display-buffer-use-some-window): Add missing
5628 argument in call of get-largest-window (Bug#15185).
5629 Reported by Stephen Leake.
5631 2013-08-27 Glenn Morris <rgm@gnu.org>
5633 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5635 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5637 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5638 from a matcher-function unless there's no more matches (bug#15161).
5640 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5642 * minibuffer.el: Revert change from 2013-08-20.
5644 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5645 with text property `tramp-default', if appropriate.
5646 (tramp-check-proper-host): New defun.
5647 (tramp-dissect-file-name): Do not check hostname. Revert change
5649 (tramp-backtrace): Make VEC-OR-PROC optional.
5651 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5652 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5653 * net/tramp-sh.el (tramp-maybe-open-connection):
5654 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5655 Apply `tramp-check-proper-host'.
5657 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5659 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5660 lambda expression in order to have `describe-variable' display it.
5662 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5664 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5665 BUF can be optional. (Bug#15186)
5667 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5669 * progmodes/flymake.el (flymake-get-real-file-name-function):
5670 Fix broken customization. (Bug#15184)
5672 2013-08-25 Alan Mackenzie <acm@muc.de>
5674 Improve indentation of bracelists defined by macros (without "=").
5676 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5677 expansion begins with "{", regard it as bracelist when it doesn't
5680 Parse C++ inher-intro when there's a template split over 2 lines.
5682 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5683 rigorously the search for "class" etc. followed by ":".
5685 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5686 random languages a regexp which never matches rather than nil.
5688 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5690 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5691 (c-awk-regexp-one-line-possibly-open-char-list-re)
5692 (c-awk-one-line-possibly-open-regexp-re)
5693 (c-awk-one-line-non-syn-ws*-re): Remove.
5694 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5695 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5696 (c-awk-space*-unclosed-regexp-/-re): New constants.
5697 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5698 aren't regexp delimiters.
5700 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5701 handling for a rare situation in AWK Mode involving unterminated
5704 2013-08-23 Glenn Morris <rgm@gnu.org>
5706 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5708 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5710 * files.el (create-file-buffer): If the result would begin with
5711 spaces, prepend a "|" instead of removing them. (Bug#15162)
5713 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5715 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5716 text-properties (bug#15155).
5718 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5720 (calc-keypad-redraw): Remove unused var `pad'.
5721 (calc-keypad-press): Remove unused var `menu'.
5723 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5725 * window.el (display-buffer-pop-up-frame):
5726 Call pop-up-frame-function with BUFFER current so `make-frame' will
5727 use it as the new frame's buffer (Bug#15133).
5729 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5731 * calendar/timeclock.el: Minor cleanups.
5732 (timeclock-ask-before-exiting, timeclock-use-display-time):
5734 (timeclock-modeline-display): Define as alias before the
5736 (timeclock-mode-line-display): Use define-minor-mode.
5737 (timeclock-day-list-template): Make it a function, add an argument.
5738 (timeclock-day-list-required, timeclock-day-list-length)
5739 (timeclock-day-list-debt, timeclock-day-list-span)
5740 (timeclock-day-list-break): Adjust calls accordingly.
5742 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5744 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5745 Use read--expression so that completion works again.
5747 2013-08-21 Sam Steingold <sds@gnu.org>
5749 Add rudimentary inferior shell interaction
5750 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5751 (sh-set-shell): Reset it.
5752 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5753 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5755 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5757 * align.el: Use lexical-binding.
5758 (align-region): Simplify accordingly.
5760 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5762 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5764 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5767 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5771 * net/tramp-cmds.el:
5773 * net/tramp-gvfs.el:
5775 * net/tramp-sh.el: Don't wrap external variable declarations by
5776 `eval-when-compile'.
5778 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5780 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5781 now that Emacs supports ImageMagick animations.
5783 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5785 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5786 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5788 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5790 * window.el (mouse-autoselect-window-select): Do autoselect when
5791 mouse pointer is on margin.
5793 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5795 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5797 2013-08-16 Glenn Morris <rgm@gnu.org>
5799 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5800 Handle "Remote Directory" response of some clients. (Bug#15058)
5802 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5803 Tweak warning. (Bug#14926)
5805 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5806 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5808 * image-mode.el (image-mode-map): Add menu items to reverse,
5809 increase, decrease, reset animation speed.
5810 (image--set-speed, image-increase-speed, image-decrease-speed)
5811 (image-reverse-speed, image-reset-speed): New functions.
5812 (image-mode-map): Add bindings for speed commands.
5814 * image.el (image-animate-get-speed, image-animate-set-speed):
5816 (image-animate-timeout): Respect image :speed property.
5818 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5820 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5821 previous line (bug#15101).
5822 (debugger-eval-expression, debugger-record-expression):
5823 Use read--expression (bug#15102).
5825 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5827 Remove byte compiler warnings, visible when compiling with
5828 `byte-compile-force-lexical-warnings' set to t.
5830 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5831 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5832 (tramp-handle-unhandled-file-name-directory)
5833 (tramp-handle-file-notify-add-watch, tramp-action-login)
5834 (tramp-action-succeed, tramp-action-permission-denied)
5835 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5838 * net/tramp-adb.el (tramp-adb-parse-device-names)
5839 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5840 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5841 (tramp-adb-handle-file-truename): Remove unused arguments.
5843 * net/tramp-cache.el (tramp-flush-directory-property)
5844 (tramp-flush-connection-property, tramp-list-connections)
5845 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5847 * net/tramp-compat.el (tramp-compat-make-temp-file):
5848 Rename FILENAME to F.
5850 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5851 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5852 (tramp-zeroconf-parse-workstation-device-names)
5853 (tramp-zeroconf-parse-webdav-device-names)
5854 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5856 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5857 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5859 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5861 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5862 (tramp-sh-handle-insert-file-contents-literally)
5863 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5865 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5866 Remove unused variables.
5868 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5869 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5870 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5872 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5873 Make them a defconst.
5874 (tramp-uuencode-region): Remove unused variable.
5876 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5878 * frameset.el (frameset--prop-setter): New function.
5879 (frameset-prop): Add gv-setter declaration.
5880 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5881 parameter was already set in FILTERED. Doc fix.
5882 (frameset--record-minibuffer-relationships): Allow saving a
5883 minibufferless frame without its corresponding minibuffer frame.
5884 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5885 frame, if the frame id matches.
5886 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5887 frames before orphaned ones.
5888 (frameset-restore): Warn about orphaned windows, instead of error out.
5890 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5892 * window.el (window-make-atom): Don't overwrite parameter
5894 (display-buffer-in-atom-window): Handle special case where we
5895 split an already atomic window.
5896 (window--major-non-side-window, display-buffer-in-side-window)
5897 (window--side-check): Ignore minibuffer window when walking
5899 (window-deletable-p): Return 'frame only if no other frame uses
5900 our minibuffer window.
5901 (record-window-buffer): Run buffer-list-update-hook.
5902 (split-window): Make sure window--check-frame won't destroy an
5903 existing atomic window in case the new window gets nested
5905 (display-buffer-at-bottom): Ignore minibuffer window when
5906 walking window tree. Don't split a side window.
5907 (pop-to-buffer): Don't set-buffer here, the select-window call
5909 (mouse-autoselect-window-select): Autoselect only if we are in the
5910 text portion of the window.
5912 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5914 * net/shr.el (shr-parse-image-data): New function to grab both the
5915 data itself and the Content-Type.
5916 (shr-put-image): Use it.
5918 * net/eww.el (eww-display-image): Ditto.
5920 * image.el (image-content-type-suffixes): New variable.
5922 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5924 * progmodes/python.el (python-imenu--build-tree)
5925 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5927 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5929 * simple.el (backward-word): Mention the optional argument.
5931 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5933 * frameset.el (frameset--make): Rename constructor from make-frameset.
5934 (frameset-p, frameset-valid-p): Don't autoload.
5935 (frameset-valid-p): Use normal accessors.
5937 2013-08-13 Glenn Morris <rgm@gnu.org>
5939 * progmodes/compile.el (compile-command): Tweak example in doc.
5940 * obsolete/scribe.el (scribe-mode):
5941 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5943 * mail/feedmail.el (feedmail-confirm-outgoing)
5944 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5946 * cus-start.el (truncate-partial-width-windows): Fix type.
5948 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5950 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5952 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5954 * emacs-lisp/timer.el (timer--time-setter): New function.
5955 (timer--time): Use it as gv-setter.
5957 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5958 setter is not a symbol.
5960 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5962 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5963 if sending fails. This makes debugging easier.
5965 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5967 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5968 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5969 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5971 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5973 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5975 2013-08-12 Glenn Morris <rgm@gnu.org>
5977 * format.el (format-annotate-function):
5978 Handle read-only text properties in the source. (Bug#14887)
5980 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5982 * net/eww.el (eww-display-html): Ignore coding system errors.
5983 One web site uses "utf-8lias" as the coding system.
5985 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5987 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5989 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5991 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5992 (tutorial--detailed-help): Remove unused local variables.
5993 (tutorial--save-tutorial-to): Use ignore-errors.
5994 (help-with-tutorial): Use looking-at-p.
5996 * view.el (view-buffer-other-window, view-buffer-other-frame):
5997 Mark unused arguments.
5999 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6000 (woman-select-symbol-fonts, woman, woman-find-file)
6001 (woman-insert-file-contents, woman-non-underline-faces):
6003 (woman1-unquote): Move declaration.
6005 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6006 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6007 argument. Remove unused local variable.
6008 (xml-parse-elem-type): Use string-match-p.
6009 (xml-substitute-numeric-entities): Use ignore-errors.
6011 * calculator.el (calculator): Mark unused argument.
6012 (calculator-paste, calculator-quit, calculator-integer-p):
6014 (calculator-string-to-number, calculator-decimal, calculator-exp)
6015 (calculator-op-or-exp): Use string-match-p.
6017 * dired.el (dired-buffer-more-recently-used-p): Declare.
6018 (dired-insert-set-properties, dired-insert-old-subdirs):
6021 * dired-aux.el (dired-compress): Use ignore-errors.
6022 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6023 (dired-do-async-shell-command, dired-do-shell-command)
6024 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6025 (dired-insert-subdir-validate): Use string-match-p.
6026 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6027 (dired-add-entry): Use string-match-p, looking-at-p.
6028 (dired-insert-subdir-newpos): Remove unused local variable.
6030 * filenotify.el (file-notify-callback): Remove unused local variable.
6032 * filesets.el (filesets-error): Mark unused argument.
6033 (filesets-which-command-p, filesets-filter-dir-names)
6034 (filesets-directory-files, filesets-get-external-viewer)
6035 (filesets-ingroup-get-data): Use string-match-p.
6037 * find-file.el (ff-other-file-name, ff-other-file-name)
6038 (ff-find-the-other-file, ff-cc-hh-converter):
6039 Remove unused local variables.
6040 (ff-get-file-name): Use string-match-p.
6041 (ff-all-dirs-under): Use ignore-errors.
6043 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6044 (follow-select-if-visible): Remove unused local variable.
6046 * forms.el (read-file-filter): Move declaration.
6047 (forms--make-format, forms--make-parser, forms-insert-record):
6048 Quote function with #'.
6049 (forms--update): Use string-match-p. Quote function with #'.
6051 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6052 (help-make-xrefs): Use looking-at-p.
6053 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6055 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6056 (ibuffer-confirm-operation-on): Use string-match-p.
6058 * msb.el (msb-item-handler, msb-dired-item-handler):
6059 Mark unused arguments.
6061 * ses.el (ses-decode-cell-symbol)
6062 (ses-kill-override): Remove unused local variable.
6063 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6064 (ses-load): Use ignore-errors, looking-at-p.
6065 (ses-jump-safe): Use ignore-errors.
6066 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6068 * tabify.el (untabify, tabify): Mark unused arguments.
6070 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6071 Mark unused argument.
6072 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6073 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6075 * emacs-lisp/timer.el (timer--time): Define setter with
6076 gv-define-setter to avoid deprecation warning.
6078 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6079 (*record-cmpl-statistics-p*): Remove (was commented out).
6080 (cmpl-statistics-block): Remove (body was commented out).
6081 All callers changed.
6082 (add-completions-from-buffer, load-completions-from-file):
6083 Remove unused variables.
6085 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6087 * filecache.el (file-cache-delete-file-list):
6088 Print message only when told so.
6089 (file-cache-files-matching): Use #' in mapconcat argument.
6091 * ffap.el (ffap-url-at-point): Fix reference to variable
6092 thing-at-point-default-mail-uri-scheme.
6094 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6096 * subr.el (define-error): New function.
6097 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6098 error-file-not-found and define with define-error.
6099 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6100 and define with define-error.
6101 * userlock.el (file-locked, file-supersession):
6102 * simple.el (mark-inactive):
6103 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6104 * progmodes/ada-mode.el (ada-mode-errors):
6105 * play/life.el (life-extinct):
6106 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6107 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6108 * nxml/rng-util.el (rng-error):
6109 * nxml/rng-uri.el (rng-uri-error):
6110 * nxml/rng-match.el (rng-compile-error):
6111 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6112 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6113 * nxml/nxml-rap.el (nxml-scan-error):
6114 * nxml/nxml-outln.el (nxml-outline-error):
6115 * net/soap-client.el (soap-error):
6116 * net/gnutls.el (gnutls-error):
6117 * net/ange-ftp.el (ftp-error):
6118 * mpc.el (mpc-proc-error):
6119 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6120 (json-number-format, json-string-escape, json-string-format)
6121 (json-key-format, json-object-format):
6122 * jka-compr.el (compression-error):
6123 * international/quail.el (quail-error):
6124 * international/kkc.el (kkc-error):
6125 * emacs-lisp/ert.el (ert-test-failed):
6126 * calc/calc.el (calc-error, inexact-result, math-overflow)
6128 * bookmark.el (bookmark-error-no-filename):
6129 * epg.el (epg-error): Define with define-error.
6131 * time.el (display-time-event-handler)
6132 (display-time-next-load-average): Don't call sit-for since it seems
6133 unnecessary (bug#15045).
6135 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6136 Use #' instead of ' to quote functions.
6137 (checkdoc-output-mode): Use setq-local.
6138 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6139 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6140 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6141 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6142 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6143 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6144 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6145 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6147 * ido.el (ido-completion-help): Fix up compiler warning.
6149 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6151 * frameset.el (frameset-p): Add autoload cookie.
6152 (frameset--jump-to-register): New function, based on code moved from
6154 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6156 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6157 (frameset-restore, frameset-save, frameset-session-filter-alist):
6158 Remove declarations.
6159 (register-alist): Doc fix.
6160 (frameset-to-register): Move to frameset.el.
6161 (jump-to-register, describe-register-1): Remove frameset-specific code.
6163 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6165 * allout-widgets.el (allout-widgets-pre-command-business)
6166 (allout-widgets-post-command-business)
6167 (allout-widgets-after-change-handler)
6168 (allout-decorate-item-and-context, allout-set-boundary-marker)
6169 (allout-body-modification-handler)
6170 (allout-graphics-modification-handler): Mark ignored arguments.
6171 (allout-widgets-post-command-business)
6172 (allout-widgets-exposure-change-processor)
6173 (allout-widgets-exposure-undo-processor)
6174 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6175 (allout-parse-item-at-point, allout-decorate-item-guides)
6176 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6177 * allout.el (epa-passphrase-callback-function): Declare.
6178 (allout-overlay-insert-in-front-handler)
6179 (allout-overlay-interior-modification-handler)
6180 (allout-isearch-end-handler, allout-chart-siblings)
6181 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6182 (allout-yank-processing, allout-process-exposed)
6183 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6184 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6185 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6186 (lisp-indent-defform): Mark ignored arguments.
6187 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6188 (calculate-lisp-indent): Remove unused variables.
6189 * international/characters.el (indian-2-column, arabic-2-column)
6190 (tibetan): Mark ignored arguments.
6191 (use-cjk-char-width-table): Mark ignored arguments.
6192 Remove unused variables.
6193 * international/fontset.el (build-default-fontset-data)
6194 (x-compose-font-name, create-fontset-from-fontset-spec):
6195 Mark ignored arguments.
6196 (fontset-plain-name): Remove unused variables.
6197 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6198 (keyboard-coding-system): Mark ignored arguments.
6199 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6200 * help.el (resize-temp-buffer-window):
6201 * window.el (display-buffer-in-major-side-window)
6202 (display-buffer-in-side-window, display-buffer-in-previous-window):
6203 Remove unused variables.
6204 * isearch.el (isearch-forward-symbol):
6205 * version.el (emacs-bzr-version-bzr):
6206 * international/mule-cmds.el (current-language-environment):
6207 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6209 * term/pc-win.el (x-list-fonts, x-display-planes)
6210 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6211 (x-server-version, x-display-screens, x-display-mm-height)
6212 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6213 (x-selection-owner-p, x-own-selection-internal)
6214 (x-disown-selection-internal, x-get-selection-internal)
6215 (msdos-initialize-window-system):
6216 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6217 * term/x-win.el (x-handle-no-bitmap-icon):
6218 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6219 (vc-default-find-file-hook, vc-default-extra-menu):
6220 Mark ignored arguments.
6222 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6224 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6225 break-condition in the context of the debugged code (bug#12685).
6227 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6230 Do not use an overlay to highlight the last prompt. (Bug#14744)
6231 (comint-mode): Make comint-last-prompt buffer local.
6232 (comint-last-prompt): New variable.
6233 (comint-last-prompt-overlay): Remove. Superseded by
6235 (comint-snapshot-last-prompt, comint-output-filter):
6236 Use comint-last-prompt.
6238 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6240 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6241 (frameset-save): Check validity of the resulting frameset.
6243 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6245 * ido.el (ido-record-command): Add doc string.
6247 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6249 * frameset.el (frameset): Do not disable creation of the default
6250 frameset-p predicate. Doc fix.
6251 (frameset-valid-p): New function, copied from the old predicate-p.
6252 Add additional checks.
6253 (frameset-restore): Check with frameset-valid-p.
6254 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6255 (frameset-name, frameset-description, frameset-properties)
6256 (frameset-states): Add docstring.
6257 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6258 (frameset-filter-alist): Doc fixes.
6260 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6262 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6264 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6267 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6268 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6269 (byte-compile-normal-call): Remove obsolescence check.
6271 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6273 * frameset.el (frameset-restore): Doc fix.
6275 * register.el (frameset-frame-id, frameset-frame-with-id)
6276 (frameset-p, frameset-restore, frameset-save): Declare.
6277 (register-alist): Document framesets.
6278 (frameset-session-filter-alist): Declare.
6279 (frameset-to-register): New function.
6280 (jump-to-register): Implement jumping to framesets. Doc fix.
6281 (describe-register-1): Describe framesets.
6283 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6285 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6287 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6288 Use lexical-binding.
6290 * frameset.el (frameset): Use type vector, not list (incompatible
6291 change). Do not declare a new constructor, use the default one.
6292 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6293 `name' and `description', respectively, and add read-only slot
6294 `timestamp'. Doc fixes.
6295 (frameset-copy, frameset-persistent-filter-alist)
6296 (frameset-filter-alist, frameset-switch-to-gui-p)
6297 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6298 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6299 (frameset-filter-iconified, frameset-keep-original-display-p):
6301 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6302 Rename from frameset-filter-(save|restore)-param. All callers changed.
6304 (frameset-p): Adapt to change to vector and be more thorough.
6305 Change arg name to OBJECT. Doc fix.
6306 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6307 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6308 All callers changed.
6309 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6310 All callers changed.
6311 (frameset--record-minibuffer-relationships): Rename from
6312 frameset--process-minibuffer-frames. All callers changed.
6313 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6314 Use new default constructor (again). Doc fix.
6315 (frameset--find-frame-if): Rename from `frameset--find-frame.
6316 All callers changed.
6317 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6318 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6320 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6321 PARAMETERS and WINDOW-STATE, respectively.
6322 (frameset-restore): Add new keyword argument PREDICATE.
6323 Reset frameset--target-display to nil. Doc fix.
6325 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6327 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6329 (bat-mode-syntax-table): Mark \n as end-of-comment.
6330 (bat-font-lock-keywords): Remove comment rule.
6332 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6333 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6335 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6336 (byte-compile-callargs-warn): Use `push'.
6337 (byte-compile-arglist-warn): Ignore higher-order "calls".
6338 (byte-compile-file-form-autoload): Use `pcase'.
6339 (byte-compile-function-form): If quoting a symbol, check that it exists.
6341 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6343 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6344 and add a few popular commands found in batch files.
6345 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6346 (dos-mode): Doc fixes.
6348 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6350 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6351 (dos-mode): Use setq-local. Add space after "rem".
6352 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6353 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6355 2013-08-07 Arni Magnusson <arnima@hafro.is>
6357 * progmodes/dos.el: New file.
6358 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6361 2013-08-06 Glenn Morris <rgm@gnu.org>
6363 * calendar/calendar.el: Add new faces, and day-header-array.
6364 (calendar-weekday-header, calendar-weekend-header)
6365 (calendar-month-header): New faces.
6366 (calendar-day-header-construct): New function.
6367 (calendar-day-header-width): Also :set calendar-day-header-array.
6368 (calendar-american-month-header, calendar-european-month-header)
6369 (calendar-iso-month-header): Use calendar- faces.
6370 (calendar-generate-month):
6371 Use calendar-day-header-array for day headers; apply faces to them.
6372 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6373 (calendar-abbrev-construct): Add optional maxlen argument.
6374 (calendar-day-name-array): Doc fix.
6375 (calendar-day-name-array, calendar-abbrev-length)
6376 (calendar-day-abbrev-array):
6377 Also :set calendar-day-header-array, and maybe redraw.
6378 (calendar-day-header-array): New option. (Bug#15007)
6379 (calendar-font-lock-keywords): Set to nil and make obsolete.
6380 (calendar-day-name): Add option to use header array.
6382 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6384 * net/shr.el (shr-render-td): Remove debugging.
6385 (shr-render-td): Make width computation consistent by defaulting
6386 all zero-width columns to 10 characters. This may not be optimal,
6387 but it's at least consistent.
6388 (shr-make-table-1): Redo last change to fix the real problem in
6391 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6393 * files.el (cache-long-line-scans):
6394 Make obsolete alias to `cache-long-scans'.
6396 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6398 * frameset.el (frameset, frameset-filter-alist)
6399 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6400 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6401 (frameset-compute-pos): Rename from frameset--compute-pos,
6403 (frameset-move-onscreen): Use frameset-compute-pos.
6404 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6406 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6407 Fix typos in docstrings.
6409 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6411 * frame.el (get-other-frame): Tiny cleanup.
6413 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6415 * vc/vc.el (vc-default-ignore-completion-table):
6416 Silence byte-compiler warning.
6418 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6419 slot , which can indeed be nil.
6420 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6421 Move entry for `left' from persistent to live filter alist.
6422 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6424 (frameset-filter-params): When restoring a frame, copy items added to
6425 `filtered', to avoid unwittingly modifying the original parameters.
6426 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6427 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6429 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6430 to use looking-at-p instead of looking-at. (Bug#15028)
6432 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6434 Revert introduction of isearch-filter-predicates (bug#14714).
6435 Rely on add-function instead.
6436 * isearch.el (isearch-filter-predicates): Rename it back to
6437 isearch-filter-predicate.
6438 (isearch-message-prefix): Use advice-function-mapc and advice
6439 properties to get the isearch-message-prefix.
6440 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6441 instead of run-hook-with-args-until-failure.
6442 (isearch-filter-visible): Not obsolete any more.
6443 * loadup.el: Preload nadvice.
6444 * replace.el (perform-replace): Revert to funcall
6445 instead of run-hook-with-args-until-failure.
6446 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6447 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6448 dired-isearch-filenames-toggle; make it into a proper minor mode.
6449 Use add/remove-function.
6450 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6451 Call the minor-mode rather than add/remove-hook.
6452 (dired-isearch-filter-filenames):
6453 Remove isearch-message-prefix property.
6454 * info.el (Info--search-loop): New function, extracted from Info-search.
6455 Funcall isearch-filter-predicate instead of
6456 run-hook-with-args-until-failure isearch-filter-predicates.
6457 (Info-search): Use it.
6458 (Info-mode): Use isearch-filter-predicate instead of
6459 isearch-filter-predicates.
6461 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6463 Do not call to `selected-window' where it is assumed by default.
6464 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6465 `window-hscroll', `window-width', `window-height', `window-buffer',
6466 `window-frame', `window-start', `window-point', `next-window'
6467 and `window-display-table'.
6468 * abbrev.el (abbrev--default-expand):
6469 * bs.el (bs--show-with-configuration):
6470 * buff-menu.el (Buffer-menu-mouse-select):
6471 * calc/calc.el (calc):
6472 * calendar/calendar.el (calendar-generate-window):
6473 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6475 * comint.el (send-invisible, comint-dynamic-complete-filename)
6476 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6477 * completion.el (complete):
6478 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6479 * disp-table.el (describe-current-display-table):
6480 * doc-view.el (doc-view-insert-image):
6481 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6482 * ehelp.el (with-electric-help):
6483 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6484 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6485 * emacs-lisp/helper.el (Helper-help-scroller):
6486 * emulation/cua-base.el (cua--post-command-handler-1):
6487 * eshell/esh-mode.el (eshell-output-filter):
6488 * ffap.el (ffap-gnus-wrapper):
6489 * help-macro.el (make-help-screen):
6490 * hilit-chg.el (highlight-compare-buffers):
6491 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6492 * hl-line.el (global-hl-line-highlight):
6493 * icomplete.el (icomplete-simple-completing-p):
6494 * isearch.el (isearch-done):
6495 * jit-lock.el (jit-lock-stealth-fontify):
6496 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6497 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6498 * mpc.el (mpc-tagbrowser, mpc):
6499 * net/rcirc.el (rcirc-any-buffer):
6500 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6501 * play/landmark.el (landmark-max-width, landmark-max-height):
6502 * play/zone.el (zone):
6503 * progmodes/compile.el (compilation-goto-locus):
6504 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6505 * progmodes/etags.el (find-tag-other-window):
6506 * progmodes/fortran.el (fortran-column-ruler):
6507 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6508 * progmodes/verilog-mode.el (verilog-point-text):
6509 * reposition.el (reposition-window):
6510 * rot13.el (toggle-rot13-mode):
6511 * server.el (server-switch-buffer):
6512 * shell.el (shell-dynamic-complete-command)
6513 (shell-dynamic-complete-environment-variable):
6514 * simple.el (insert-buffer, set-selective-display)
6515 (delete-completion-window):
6516 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6517 (speedbar-recenter):
6518 * startup.el (fancy-splash-head):
6519 * textmodes/ispell.el (ispell-command-loop):
6520 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6521 * tutorial.el (help-with-tutorial):
6522 * vc/add-log.el (add-change-log-entry):
6523 * vc/compare-w.el (compare-windows):
6524 * vc/ediff-help.el (ediff-indent-help-message):
6525 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6526 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6527 (ediff-setup-control-frame):
6528 * vc/emerge.el (emerge-position-region):
6529 * vc/pcvs-util.el (cvs-bury-buffer):
6530 * window.el (walk-windows, mouse-autoselect-window-select):
6531 * winner.el (winner-set-conf, winner-undo): Related users changed.
6533 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6535 * frameset.el (frameset--set-id): Doc fix.
6536 (frameset-frame-id, frameset-frame-id-equal-p)
6537 (frameset-locate-frame-id): New functions.
6538 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6539 (frameset-restore): Use them.
6541 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6543 Do not call to `selected-frame' where it is assumed by default.
6544 Affected functions are `raise-frame', `redraw-frame',
6545 `frame-first-window', `frame-terminal' and `delete-frame'.
6546 * calendar/appt.el (appt-disp-window):
6547 * epg.el (epg-wait-for-completion):
6548 * follow.el (follow-delete-other-windows-and-split)
6549 (follow-avoid-tail-recenter):
6550 * international/mule.el (set-terminal-coding-system):
6551 * mail/rmail.el (rmail-mail-return):
6552 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6553 * progmodes/f90.el (f90-add-imenu-menu):
6554 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6555 * server.el (server-switch-buffer):
6556 * simple.el (delete-completion-window):
6558 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6559 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6560 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6561 * vc/ediff.el (ediff-documentation): Related users changed.
6562 * frame.el (selected-terminal): Remove the leftover.
6564 2013-08-05 Glenn Morris <rgm@gnu.org>
6566 * calendar/calendar.el (calendar-generate-month):
6567 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6568 (calendar-generate-month, calendar-font-lock-keywords):
6569 Fix for calendar-day-header-width > length of any day name.
6571 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6573 * desktop.el (desktop-clear): Use new name of sort predicate.
6575 * frameset.el (frameset): Add docstring. Move :version property to its
6577 (frameset-copy): Rename from copy-frameset.
6578 (frameset-p): Check more thoroughly.
6579 (frameset-prop): Do not check for :version, which is no longer a prop.
6580 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6581 Use new :never value instead of t.
6582 (frameset-filter-alist): Expand and clarify docstring.
6583 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6584 (frameset-filter-minibuffer, frameset-filter-save-param)
6585 (frameset-filter-restore-param, frameset-filter-iconified):
6586 Add pointer to docstring of frameset-filter-alist.
6587 (frameset-filter-params): Rename filter values to be more meaningful:
6588 :never instead of t, and reverse the meanings of :save and :restore.
6589 (frameset--process-minibuffer-frames): Clarify error message.
6590 (frameset-save): Avoid unnecessary and confusing call to framep.
6591 Use new BOA constructor for framesets.
6592 (frameset--reuse-list): Doc fix.
6593 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6594 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6595 (frameset-minibufferless-first-p): Doc fix.
6596 Rename from frameset-sort-frames-for-deletion.
6597 (frameset-restore): Doc fixes. Use new function names.
6598 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6600 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6602 * desktop.el (desktop-restore-forces-onscreen)
6603 (desktop-restore-reuses-frames): Document :keyword constant values.
6604 (desktop-filter-parameters-alist): Remove, now identical to
6605 frameset-filter-alist.
6606 (desktop--filter-tty*): Remove, moved to frameset.el.
6607 (desktop-save-frameset, desktop-restore-frameset):
6608 Do not pass :filters argument.
6610 * frameset.el (frameset-live-filter-alist)
6611 (frameset-persistent-filter-alist): New variables.
6612 (frameset-filter-alist): Use them. Add autoload cookie.
6613 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6614 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6615 `frameset--id' (it's supposed to be internal to frameset.el).
6616 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6617 (frameset--initial-params): New function.
6618 (frameset--get-frame): Use it. Doc fix.
6619 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6620 Accept :all, not 'all.
6621 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6622 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6623 with fbound symbols. Fix frame id matching, and remove matching ids if
6624 the frame being restored is deleted. Obey :delete.
6626 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6628 * subr.el (macrop): New function.
6629 (text-clone--maintaining): New var.
6630 (text-clone--maintain): Rename from text-clone-maintain. Use it
6631 instead of inhibit-modification-hooks.
6633 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6634 a proxy, so as handle autoloads and redefinitions of the target.
6635 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6637 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6638 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6639 (pcase--mutually-exclusive-p): New function.
6640 (pcase--split-consp): Use it.
6641 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6642 mutually exclusive with the current predicate.
6644 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6645 (edebug-macrop): Remove. Use `macrop' instead.
6646 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6648 * eshell/esh-cmd.el (eshell-macrop):
6649 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6651 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6653 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6654 (advice-mapc): New function, using it.
6655 (advice-function-member-p): New function.
6656 (advice--normalize): Store the cdr in advice--saved-rewrite since
6657 that's the part that will be changed.
6658 (advice--symbol-function): New function.
6659 (advice-remove): Handle removal before the function is defined.
6660 Adjust to new advice--saved-rewrite.
6661 (advice-member-p): Use advice-function-member-p and
6662 advice--symbol-function.
6664 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6666 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6667 (frameset-filter-minibuffer): Doc fix.
6668 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6669 (frameset--set-id, frameset--process-minibuffer-frames)
6670 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6671 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6673 * desktop.el (desktop-clear): Only delete frames when called
6674 interactively and desktop-restore-frames is non-nil. Doc fix.
6675 (desktop-read): Set desktop-saved-frameset to nil.
6677 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6679 * vc/vc.el (vc-ignore): Rewrite.
6680 (vc-default-ignore-completion-table):
6682 (vc--add-line, vc--remove-regexp): New functions.
6684 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6685 (vc-svn-ignore-completion-table): New function.
6687 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6688 (vc-hg-ignore-completion-table):
6689 (vc-hg-find-ignore-file): New functions.
6691 * vc/vc-git.el (vc-git-ignore): Rewrite.
6692 (vc-git-ignore-completion-table):
6693 (vc-git-find-ignore-file): New functions.
6695 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6697 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6698 (vc-bzr-ignore-completion-table):
6699 (vc-bzr-find-ignore-file): New functions.
6701 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6703 * frameset.el (frameset-prop): New function and setter.
6704 (frameset-save): Do not modify frame list passed by the caller.
6706 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6708 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6710 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6712 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6713 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6715 * custom.el (custom-initialize-default, custom-initialize-set)
6716 (custom-initialize-reset, custom-initialize-changed): Affect the
6717 toplevel-default-value (bug#6275, bug#14586).
6718 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6721 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6723 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6724 Add cl-def* expressions.
6726 * frameset.el (frameset-filter-params): Fix order of arguments.
6728 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6730 Move code related to saving frames to frameset.el.
6731 * desktop.el: Require frameset.
6732 (desktop-restore-frames): Doc fix.
6733 (desktop-restore-reuses-frames): Rename from
6734 desktop-restoring-reuses-frames.
6735 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6736 (desktop-clear): Clear frames too.
6737 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6738 (desktop--filter-tty*, desktop-save, desktop-read):
6739 Use frameset functions.
6740 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6741 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6742 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6743 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6744 (desktop--process-minibuffer-frames, desktop-save-frames)
6745 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6746 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6747 (desktop--sort-states, desktop-restoring-frames-p)
6748 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6749 (desktop-restoring-frameset-p, desktop-restore-frameset)
6750 (desktop--check-dont-save, desktop-save-frameset): New functions.
6751 (desktop--app-id): New constant.
6752 (desktop-first-buffer, desktop-buffer-ok-count)
6753 (desktop-buffer-fail-count): Move before first use.
6754 * frameset.el: New file.
6756 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6758 * files.el: Use lexical-binding.
6759 (dir-locals-read-from-file): Remove unused `err' variable.
6760 (hack-dir-local-variables--warned-coding): New var.
6761 (hack-dir-local-variables): Use it to avoid repeated warnings.
6762 (make-backup-file-name--default-function): New function.
6763 (make-backup-file-name-function): Use it as default.
6764 (buffer-stale--default-function): New function.
6765 (buffer-stale-function): Use it as default.
6766 (revert-buffer-insert-file-contents--default-function): New function.
6767 (revert-buffer-insert-file-contents-function): Use it as default.
6768 (insert-directory): Avoid add-to-list.
6770 * autorevert.el (auto-revert-handler): Simplify.
6771 Use buffer-stale--default-function.
6773 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6775 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6777 * whitespace.el (whitespace-ensure-local-variables): New function.
6778 (whitespace-cleanup-region): Call it.
6779 (whitespace-turn-on): Call it.
6781 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6783 Complete file name handlers.
6785 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6786 (tramp-handle-verify-visited-file-modtime)
6787 (tramp-handle-file-notify-rm-watch): New functions.
6788 (tramp-call-process): Do not bind `default-directory'.
6790 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6791 Order alphabetically.
6792 [access-file, add-name-to-file, dired-call-process]:
6793 [dired-compress-file, file-acl, file-notify-rm-watch]:
6794 [file-ownership-preserved-p, file-selinux-context]:
6795 [make-directory-internal, make-symbolic-link, set-file-acl]:
6796 [set-file-selinux-context, set-visited-file-modtime]:
6797 [verify-visited-file-modtime]: Add handler.
6798 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6800 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6801 [file-notify-add-watch, file-notify-rm-watch]:
6802 [set-file-times, set-visited-file-modtime]:
6803 [verify-visited-file-modtime]: Add handler.
6804 (with-tramp-gvfs-error-message)
6805 (tramp-gvfs-handle-set-visited-file-modtime)
6806 (tramp-gvfs-fuse-file-name): Remove.
6807 (tramp-gvfs-handle-file-notify-add-watch)
6808 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6809 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6811 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6812 Order alphabetically.
6813 [file-notify-rm-watch ]: Use default Tramp handler.
6814 [executable-find]: Remove private handler.
6815 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6816 `default-directory'.
6817 (tramp-sh-handle-executable-find)
6818 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6819 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6820 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6821 Do not use `format' in `tramp-message'.
6823 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6824 [file-notify-rm-watch, set-visited-file-modtime]:
6825 [verify-visited-file-modtime]: Add handler.
6826 (tramp-smb-call-winexe): Do not bind `default-directory'.
6828 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6830 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6832 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6834 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6836 (log-view-diff-changeset): Same.
6837 (log-view-diff-common): Call backend command `previous-revision'
6838 to find out the previous revision, in both cases. Swap the
6839 variables `to' and `fr', so that `fr' usually refers to the
6840 earlier revision (Bug#14989).
6842 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6844 * ibuf-ext.el (ibuffer-filter-by-filename):
6845 Make it work with dired buffers too.
6847 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6849 * emacs-lisp/re-builder.el (reb-color-display-p):
6850 * files.el (save-buffers-kill-terminal):
6851 * net/browse-url.el (browse-url):
6852 * server.el (server-save-buffers-kill-terminal):
6853 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6854 Prefer nil to selected-frame for the first arg of frame-parameter.
6856 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6858 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6860 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6862 * minibuffer.el (completion--twq-all): Try and preserve each
6863 completion's case choice (bug#14907).
6865 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867 * net/network-stream.el (open-network-stream): Mention the new
6868 :nogreeting parameter.
6869 (network-stream-open-starttls): Use the :nogreeting parameter
6872 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6874 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6875 more natural than popping.
6877 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6878 (shr-urlify): Highlight under mouse.
6880 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6882 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6884 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6886 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6889 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6890 point-min==1. Fix search string. Fix parentheses missing.
6892 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6893 assume point-min==1. Fix search string. Fix parentheses missing.
6895 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6897 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6900 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6902 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6903 initial frame is minibuffer-less. (Bug#14841)
6905 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6907 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6910 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6911 (tramp-maybe-open-connection): Use it.
6913 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6915 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6916 minimal set of parameters passed when creating a frame, because
6917 the minibuffer status of a frame cannot be changed later.
6919 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6921 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6922 replace-regexp-in-string and inadvertent omissions in previous change.
6923 (todo-filter-items): Ensure only file names are comma-separated in
6924 name of filtered items buffer.
6926 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6928 * desktop.el: Optionally force offscreen frames back onscreen.
6929 (desktop-restoring-reuses-frames): New option.
6930 (desktop--compute-pos, desktop--move-onscreen): New functions.
6931 (desktop--make-frame): Use desktop--move-onscreen.
6933 2013-07-27 Alan Mackenzie <acm@muc.de>
6935 Fontify a Java generic method as a function.
6936 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6939 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6941 * calendar/todo-mode.el: Add command to rename todo files.
6942 (todo-rename-file): New command.
6943 (todo-key-bindings-t): Add key binding for it. Change the
6944 bindings of todo-filter-regexp-items(-multifile) to use `x'
6945 instead of `r', since the latter is better suited to the new
6948 2013-07-27 Alan Mackenzie <acm@muc.de>
6950 Make Java try-with-resources statement parse properly.
6951 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6952 (c-block-stmt-1-2-key): New language constants/variables.
6953 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6954 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6955 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6956 with c-block-stmt-1-2-key.
6958 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6960 * desktop.el (desktop--make-frame): Apply most frame parameters after
6961 creating the frame to force (partially or totally) offscreen frames to
6962 be restored as such.
6964 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6966 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6969 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6971 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6972 `base' arg of backtrace-frame.
6974 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6976 * simple.el (list-processes): Doc fix.
6978 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6980 * desktop.el (desktop--select-frame):
6981 Try harder to reuse existing frames.
6983 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6985 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6986 (edebug-eval): Use backtrace-eval.
6987 (edebug--display, edebug--recursive-edit): Don't let-bind the
6988 edebug-outer-* vars that keep track of variables we locally let-bind.
6989 (edebug-outside-excursion): Don't restore outside values of locally
6991 (edebug--display): Use user-error.
6992 (cl-lexical-debug, cl-debug-env): Remove.
6994 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6996 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6997 are restored to be sure that they are visible before deleting any
7000 2013-07-26 Matthias Meulien <orontee@gmail.com>
7002 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7003 vc-print-root-log. (Bug#14948)
7005 2013-07-26 Richard Stallman <rms@gnu.org>
7007 Add aliases for encrypting mail.
7008 * epa.el (epa-mail-aliases): New option.
7009 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7010 Bind inhibit-read-only so read-only text doesn't ruin everything.
7011 (epa-mail-default-recipients): New subroutine broken out.
7012 Handle epa-mail-aliases.
7014 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7016 Add support for lexical variables to the debugger's `e' command.
7017 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7018 vars, except for debugger-outer-match-data.
7019 (debugger-frame-number): Move check for "on a function call" from
7020 callers into it. Add `skip-base' argument.
7021 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7022 (debugger-env-macro): Only reset the state stored in non-variables,
7023 i.e. current-buffer and match-data.
7024 (debugger-eval-expression): Rewrite using backtrace-eval.
7025 * subr.el (internal--called-interactively-p--get-frame): Remove.
7026 (called-interactively-p):
7027 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7028 `base' arg of backtrace-frame instead.
7030 2013-07-26 Glenn Morris <rgm@gnu.org>
7032 * align.el (align-regexp): Doc fix. (Bug#14857)
7033 (align-region): Explicit error if subexpression missing/does not match.
7035 * simple.el (global-visual-line-mode):
7036 Do not duplicate the mode lighter. (Bug#14858)
7038 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7040 * window.el (display-buffer): In display-buffer bind
7041 split-window-keep-point to t, bug#14829.
7043 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7045 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7046 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7047 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7048 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7050 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7051 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7053 2013-07-25 Glenn Morris <rgm@gnu.org>
7055 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7057 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7059 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7060 parameter to modify-frame-parameters if the value has not changed;
7061 this is a workaround for bug#14949.
7062 (desktop--make-frame): On cl-delete-if call, check parameter name,
7065 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7067 * vc/vc.el (vc-ignore): New function.
7069 * vc/vc-svn.el (vc-svn-ignore): New function.
7071 * vc/vc-hg.el (vc-hg-ignore): New function.
7073 * vc/vc-git.el (vc-git-ignore): New function.
7075 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7076 (vc-dir-ignore): New function.
7078 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7079 (cvs-append-to-ignore): Move here from pcvs.el.
7081 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7083 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7085 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7087 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7088 (desktop-restore-frames): Warn when deleting an existing frame failed.
7090 2013-07-24 Glenn Morris <rgm@gnu.org>
7092 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7094 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7096 * filenotify.el (file-notify-supported-p):
7097 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7100 * autorevert.el (auto-revert-use-notify):
7101 (auto-revert-notify-add-watch):
7102 * net/tramp.el (tramp-file-name-for-operation):
7103 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7104 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7105 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7106 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7107 Remove `file-notify-supported-p' entry.
7109 2013-07-24 Glenn Morris <rgm@gnu.org>
7111 * printing.el: Replace all uses of deleted ps-windows-system,
7112 ps-lp-system, ps-flatten-list with lpr- versions.
7114 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7116 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7117 checked with memq (bug#14935).
7119 * files.el (revert-buffer-function): Use a non-nil default.
7120 (revert-buffer-preserve-modes): Declare var to
7121 provide access to the `preserve-modes' argument.
7122 (revert-buffer): Let-bind it.
7123 (revert-buffer--default): New function, extracted from revert-buffer.
7125 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7127 * lpr.el: Signal print errors more prominently.
7128 (print-region-function): Don't default to nil.
7129 (lpr-print-region): New function, extracted from print-region-1.
7130 Check lpr's return value and signal an error in case of problem.
7131 (print-region-1): Use it.
7132 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7134 (ps-printer-name): Default to nil.
7135 (ps-printer-name-option): Default to lpr-printer-switch.
7136 (ps-print-region-function): Don't default to nil.
7137 (ps-postscript-code-directory): Simplify default.
7138 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7139 (ps-string-list, ps-eval-switch, ps-flatten-list)
7140 (ps-flatten-list-1): Remove.
7141 (ps-multibyte-buffer): Avoid setq.
7142 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7143 (print-region-function, ps-print-region-function): Don't set them here.
7145 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7147 * ido.el (ido-fractionp):
7148 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7149 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7150 (ido-max-directory-size, ido-max-dir-file-cache)
7151 (ido-decorations): Doc fix.
7153 * ansi-color.el: Fix old URL.
7155 2013-07-23 Michael R. Mauger <michael@mauger.com>
7157 * progmodes/sql.el: Version 3.3
7158 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7159 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7160 (sql-interactive-remove-continuation-prompt): Rewrite, use
7161 functions above. Fix continuation prompt and complete output line
7163 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7164 redirected output buffer.
7165 (sql-mode): Restore deleted code (Bug#13591).
7167 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7169 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7171 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7173 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7175 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7176 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7177 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7179 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7181 * desktop.el (desktop-clear): Simplify; remove useless checks
7182 against invalid buffer names.
7183 (desktop-list*): Use cl-list*.
7184 (desktop-buffer-info, desktop-create-buffer): Simplify.
7186 2013-07-23 Leo Liu <sdl.web@gmail.com>
7188 * bookmark.el (bookmark-make-record): Restore NAME as a default
7191 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7193 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7194 extracted from autoload--insert-text.
7195 (autoload--insert-text): Remove.
7196 (autoload--print-cookie-text): New function, extracted from
7197 autoload--insert-cookie-text.
7198 (autoload--insert-cookie-text): Remove.
7199 (autoload-generate-file-autoloads): Adjust calls accordingly.
7201 * winner.el (winner-hook-installed-p): Remove.
7202 (winner-mode): Simplify accordingly.
7204 * subr.el (add-to-list): Fix compiler-macro when `append' is
7205 not constant. Don't use `cl-member' for the base case.
7207 * progmodes/subword.el: Fix boundary case (bug#13758).
7208 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7210 (subword-backward-regexp): Make it a constant.
7211 (subword-forward-internal): Don't treat a trailing capital as the
7212 beginning of a word.
7214 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7216 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7217 global value of tabulated-list-revert-hook (bug#14930).
7219 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7221 * desktop.el: Require 'cl-lib.
7222 (desktop-before-saving-frames-functions): New hook.
7223 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7224 for frames being saved. Rename from desktop--save-minibuffer-frames.
7225 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7226 Do not save frames with non-nil `desktop-dont-save' parameter.
7227 Filter out deleted frames.
7228 (desktop--find-frame): Use cl-find-if.
7229 (desktop--select-frame): Use cl-(first|second|third) to access values
7231 (desktop--make-frame): Use cl-delete-if.
7232 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7233 (desktop-restore-frames): Use cl-(first|second|third) to access values
7234 of desktop-mini. Look for visible frame at the end, not while
7237 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7238 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7239 Use string-match-p, looking-at-p (bug#14927).
7241 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7243 * desktop.el (desktop-saved-frame-states):
7244 Rename from desktop--saved-states; all users changed.
7245 (desktop-save-frames): Rename from desktop--save-frames.
7246 Do not save state to desktop file.
7247 (desktop-save): Save desktop-saved-frame-states to desktop file
7249 (desktop-restoring-frames-p): New function.
7250 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7251 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7252 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7254 * desktop.el: Correctly restore iconified frames.
7255 (desktop--filter-iconified-position): New function.
7256 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7258 2013-07-20 Glenn Morris <rgm@gnu.org>
7260 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7261 Let `message' do the formatting.
7262 (def-gdb-preempt-display-buffer): Add explicit format.
7264 * image-dired.el (image-dired-track-original-file):
7265 Use with-current-buffer.
7266 (image-dired-track-thumbnail): Use with-current-buffer.
7267 Avoid changing point of wrong window.
7269 * image-dired.el (image-dired-track-original-file):
7270 Avoid changing point of wrong window. (Bug#14909)
7272 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7274 * progmodes/gdb-mi.el (gdb-done-or-error):
7275 Guard against "%" in gdb output. (Bug#14127)
7277 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7279 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7282 * international/mule.el (coding-system-iso-2022-flags): Fix last
7285 2013-07-20 Kenichi Handa <handa@gnu.org>
7287 * international/mule.el (coding-system-iso-2022-flags):
7288 Add `8-bit-level-4'. (Bug#8522)
7290 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7292 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7295 * net/eww.el (eww-process-text-input): Allow inputting when the
7296 point is at the start of the line, as the properties aren't
7299 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7302 2013-07-19 Richard Stallman <rms@gnu.org>
7304 * epa.el (epa-popup-info-window): Doc fix.
7306 * subr.el (split-string): New arg TRIM.
7308 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7310 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7311 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7313 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7315 * filenotify.el (file-notify--library): Rename from
7316 `file-notify-support'. Do not autoload. Adapt all uses.
7317 (file-notify-supported-p): New defun.
7319 * autorevert.el (auto-revert-use-notify):
7320 Use `file-notify-supported-p' instead of `file-notify-support'.
7322 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7324 * net/tramp.el (tramp-file-name-for-operation):
7325 Add `file-notify-supported-p'.
7327 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7329 (tramp-sh-file-name-handler-alist): Add it as handler for
7330 `file-notify-supported-p '.
7332 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7333 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7334 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7335 Add `ignore' as handler for `file-notify-*' functions.
7337 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7339 * simple.el (line-move-partial, line-move): Don't start vscroll or
7340 scroll-up if the current line is not taller than the window.
7343 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7345 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7346 highlight question marks in the method names as strings.
7347 (ruby-block-beg-keywords): Inline.
7348 (ruby-font-lock-keyword-beg-re): Extract from
7349 `ruby-font-lock-keywords'.
7351 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7353 * frame.el (blink-cursor-blinks): New defcustom.
7354 (blink-cursor-blinks-done): New defvar.
7355 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7356 (blink-cursor-timer-function): Check if number of blinks has been
7358 (blink-cursor-suspend, blink-cursor-check): New defuns.
7360 2013-07-15 Glenn Morris <rgm@gnu.org>
7362 * edmacro.el (edmacro-format-keys): Fix previous change.
7364 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7366 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7367 The hack didn't work outside English locales anyway.
7369 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7371 * simple.el (define-alternatives): Rename from alternatives-define,
7372 per RMS' suggestion.
7374 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7376 * desktop.el (desktop-restore-frames): Change default to t.
7377 (desktop-restore-in-current-display): Now offer more options.
7378 (desktop-restoring-reuses-frames): New customization option.
7379 (desktop--saved-states): Doc fix.
7380 (desktop-filter-parameters-alist): New variable, renamed and expanded
7381 from desktop--excluded-frame-parameters.
7382 (desktop--target-display): New variable.
7383 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7384 (desktop--filter-tty*, desktop--filter-*-color)
7385 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7386 (desktop--filter-save-desktop-parm)
7387 (desktop-restore-in-original-display-p): New functions.
7388 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7389 (desktop--save-minibuffer-frames): New function, inspired by a similar
7390 function from Martin Rudalics.
7391 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7392 (desktop--restore-in-this-display-p): Remove.
7393 (desktop--find-frame): Rename from desktop--find-frame-in-display
7394 and add predicate argument.
7395 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7396 (desktop--reuse-list): New variable.
7397 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7399 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7401 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7403 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7405 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7407 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7408 Highlight conversion methods on Kernel.
7410 2013-07-13 Alan Mackenzie <acm@muc.de>
7412 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7413 and comment it out. This out-commenting enables certain C++
7414 declarations to be parsed correctly.
7416 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7418 * international/mule.el (define-coding-system): Doc fix.
7420 * simple.el (default-font-height): Don't call font-info if the
7421 frame's default font didn't change since the frame was created.
7424 2013-07-13 Leo Liu <sdl.web@gmail.com>
7426 * ido.el (ido-read-file-name): Guard against non-symbol value.
7428 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7430 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7433 2013-07-13 Leo Liu <sdl.web@gmail.com>
7435 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7436 ido-set-matches call. (Bug#6852)
7438 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7440 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7441 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7443 (ruby-font-lock-keywords): Distinguish calls to functions with
7444 module-like names from module references. Highlight character
7447 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7449 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7450 (gdb-send): Handle continued commands. (Bug#14847)
7452 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7454 * desktop.el (desktop--v2s): Remove unused local variable.
7455 (desktop-save-buffer): Make defvar-local; adjust docstring.
7456 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7457 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7459 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7461 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7463 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7465 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7468 2013-07-12 Glenn Morris <rgm@gnu.org>
7470 * doc-view.el: Require cl-lib at runtime too.
7471 (doc-view-remove-if): Remove.
7472 (doc-view-search-next-match, doc-view-search-previous-match):
7475 * edmacro.el: Require cl-lib at runtime too.
7476 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7477 (edmacro-mismatch, edmacro-subseq): Remove.
7479 * shadowfile.el: Require cl-lib.
7480 (shadow-remove-if): Remove.
7481 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7484 * wid-edit.el: Require cl-lib.
7485 (widget-choose): Use cl-remove-if.
7486 (widget-remove-if): Remove.
7488 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7489 (ebrowse-delete-if-not): Remove.
7490 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7491 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7492 Use cl-delete-if-not.
7494 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7496 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7497 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7499 2013-07-12 Leo Liu <sdl.web@gmail.com>
7501 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7503 2013-07-11 Glenn Morris <rgm@gnu.org>
7505 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7506 (edebug-gensym-index, edebug-gensym):
7507 Remove reimplementation of cl-gensym.
7508 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7510 * thumbs.el: Require cl-lib at run-time too.
7511 (thumbs-gensym-counter, thumbs-gensym):
7512 Remove reimplementation of cl-gensym.
7513 (thumbs-temp-file): Use cl-gensym.
7515 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7516 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7517 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7518 (ert--union, ert--gensym-counter, ert--gensym-counter)
7519 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7520 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7521 (ert-make-test-unbound, ert--expand-should-1)
7522 (ert--expand-should, ert--should-error-handle-error)
7523 (should-error, ert--explain-equal-rec)
7524 (ert--plist-difference-explanation, ert-select-tests)
7525 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7526 Use cl-lib functions rather than reimplementations.
7528 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7530 * net/tramp.el (tramp-methods): Extend docstring.
7531 (tramp-connection-timeout): New defcustom.
7532 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7533 (with-tramp-progress-reporter): Simplify.
7534 (tramp-process-actions): Improve messages.
7536 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7537 * net/tramp-sh.el (tramp-maybe-open-connection):
7538 Use `tramp-connection-timeout'.
7539 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7542 2013-07-11 Leo Liu <sdl.web@gmail.com>
7544 * ido.el (ido-read-file-name): Conform to the requirements of
7545 read-file-name. (Bug#11861)
7546 (ido-read-directory-name): Conform to the requirements of
7547 read-directory-name.
7549 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7551 * subr.el (delay-warning): New function.
7553 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7555 * simple.el (default-line-height): New function.
7556 (line-move-partial, line-move): Use it instead of computing the
7558 (line-move-partial): Always compute ROWH. If the last line is
7559 partially-visible, but its text is completely visible, allow
7560 cursor to enter such a partially-visible line.
7562 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7564 Improve error messages. (Bug#14808)
7566 * net/tramp.el (tramp-current-connection): New defvar, moved from
7568 (tramp-message-show-progress-reporter-message): Remove, not
7570 (tramp-error-with-buffer): Show message in minibuffer.
7571 Discard input before waiting. Reset connection timestamp.
7572 (with-tramp-progress-reporter): Improve messages.
7573 (tramp-process-actions): Use progress reporter. Delete process in
7574 case of error. Improve messages.
7576 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7577 Call `tramp-error-with-buffer' with vector and buffer.
7578 (tramp-current-connection): Remove.
7579 (tramp-maybe-open-connection): The car of
7580 `tramp-current-connection' are the first 3 slots of the vector.
7582 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7584 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7585 inside continued strings.
7587 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7589 Timestamp fixes for undo (Bug#14824).
7590 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7592 2013-07-10 Leo Liu <sdl.web@gmail.com>
7594 * files.el (require-final-newline): Allow safe local value.
7597 2013-07-09 Leo Liu <sdl.web@gmail.com>
7599 * ido.el (ido-read-directory-name): Handle fallback.
7600 (ido-read-file-name): Update DIR to ido-current-directory.
7602 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7604 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7606 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7607 "autoload". Remove "warn lower camel case" section, previously
7608 commented out. Highlight negation char. Do not highlight the
7609 target in singleton method definitions.
7611 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7613 * faces.el (tty-setup-hook): Declare the hook.
7615 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7616 and detect when a guard/pred depends on local vars (bug#14773).
7617 (pcase--u1): Adjust caller.
7619 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7621 * simple.el (line-move-partial, line-move): Account for
7623 (line-move-partial): Avoid setting vscroll when the last
7624 partially-visible line in window is of default height.
7626 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7628 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7631 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7633 * subr.el (read-quoted-char): Remove unused local variable `char'.
7635 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7637 * ediff.el (ediff-version): Version update.
7638 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7639 (ediff-merge-with-ancestor-command, ediff-directories-command)
7640 (ediff-directories3-command, ediff-merge-directories-command)
7641 (ediff-merge-directories-with-ancestor-command): New functions.
7642 All are command-line interfaces to ediff: to facilitate calling
7643 Emacs with the appropriate ediff functions invoked.
7645 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7646 (viper-save-kill-buffer): Check if buffer is modified.
7648 * viper.el (viper-version): Version update.
7649 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7651 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7654 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7655 (viper-intercept-ESC-key): Simplify.
7656 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7657 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7658 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7659 (viper-setup-ESC-to-escape): New functions.
7660 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7661 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7663 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7665 * simple.el (default-font-height, window-screen-lines):
7667 (line-move, line-move-partial): Use them instead of
7668 frame-char-height and window-text-height. This makes scrolling
7669 text smoother when the buffer's default face uses a font that is
7670 different from the frame's default font.
7672 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7674 * files.el (write-file): Do not display confirm dialog for NS,
7675 it does its own dialog, which can't be canceled (Bug#14578).
7677 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7679 * simple.el (line-move-partial): Adjust the row returned by
7680 posn-at-point for the current window-vscroll. (Bug#14567)
7682 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7684 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7685 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7688 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7690 * window.el (window-state-put-stale-windows): New variable.
7691 (window--state-put-2): Save list of windows without matching buffer.
7692 (window-state-put): Remove "bufferless" windows if possible.
7694 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7696 * simple.el (alternatives-define): Remove leftover :group keyword.
7699 2013-07-06 Leo Liu <sdl.web@gmail.com>
7701 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7702 (ido-enable-virtual-buffers): New variable.
7703 (ido-buffer-internal, ido-toggle-virtual-buffers)
7704 (ido-make-buffer-list): Use it.
7705 (ido-exhibit): Support turning on and off virtual buffers
7708 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7710 * simple.el (alternatives-define): New macro.
7712 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7714 * subr.el (read-quoted-char): Use read-key.
7715 (sit-for): Let read-event decode tty input (bug#14782).
7717 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7719 * calendar/todo-mode.el: Add handling of file deletion, both by
7720 mode command and externally. Fix various related bugs.
7721 Clarify Commentary and improve some documentation strings and code.
7722 (todo-delete-file): New command.
7723 (todo-check-file): New function.
7724 (todo-show): Handle external deletion of the file we're trying to
7725 show (bug#14688). Replace called-interactively-p by an optional
7726 prefix argument to avoid problematic interaction with catch form
7727 when byte compiled (bug#14702).
7728 (todo-quit): Handle external deletion of the archive's todo file.
7729 Make sure the buffer that was visiting the archive file is still
7730 live before trying to bury it.
7731 (todo-category-completions): Handle external deletion of any
7732 category completion files.
7733 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7734 of todo files, in case of external deletion.
7735 (todo-add-file): Replace unnecessary setq by let-binding.
7736 (todo-find-archive): Check whether there are any archives.
7737 Replace unnecessary setq by let-binding.
7738 (todo-archive-done-item): Use find-file-noselect to get the
7739 archive buffer whether or not the archive already exists.
7740 Remove superfluous code. Use file size instead of buffer-file-name to
7741 check if the archive is new; if it is, update list of archives.
7742 (todo-default-todo-file): Allow nil to be a valid value for when
7743 there are no todo files.
7744 (todo-reevaluate-default-file-defcustom): Use corrected definition
7745 of todo-default-todo-file.
7746 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7747 (todo-delete-category, todo-show-categories-table)
7748 (todo-category-number): Clarify comment.
7749 (todo-filter-items): Clarify documentation string.
7750 (todo-show-current-file, todo-display-as-todo-file)
7751 (todo-reset-and-enable-done-separator): Tweak documentation string.
7752 (todo-done-separator): Make separator length window-width, since
7753 bug#2749 is now fixed.
7755 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7757 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7758 Support both "gvfs-monitor-dir" and "inotifywait".
7759 (tramp-sh-file-inotifywait-process-filter): Rename from
7760 `tramp-sh-file-notify-process-filter'.
7761 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7762 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7764 2013-07-05 Leo Liu <sdl.web@gmail.com>
7766 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7768 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7770 * frame.el (display-pixel-height, display-pixel-width)
7771 (display-mm-height, display-mm-width): Mention behavior on
7772 multi-monitor setups in docstrings.
7773 (w32-display-monitor-attributes-list): Declare function.
7774 (display-monitor-attributes-list): Use it.
7776 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7778 * filenotify.el: New package.
7780 * autorevert.el (top): Require filenotify.el.
7781 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7783 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7784 (auto-revert-notify-handler): Use `file-notify-*' functions.
7786 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7788 * net/tramp.el (tramp-file-name-for-operation):
7789 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7791 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7792 for `file-notify-add-watch' and `file-notify-rm-watch'.
7793 (tramp-process-sentinel): Improve trace.
7794 (tramp-sh-handle-file-notify-add-watch)
7795 (tramp-sh-file-notify-process-filter)
7796 (tramp-sh-handle-file-notify-rm-watch)
7797 (tramp-get-remote-inotifywait): New defuns.
7799 2013-07-03 Juri Linkov <juri@jurta.org>
7801 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7802 call of `occur-read-primary-args' to interactive spec.
7804 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7805 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7807 2013-07-03 Matthias Meulien <orontee@gmail.com>
7809 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7810 `Buffer-menu-multi-occur'. Add it to the menu.
7811 (Buffer-menu-mode): Document it in docstring.
7812 (Buffer-menu-multi-occur): New command. (Bug#14673)
7814 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7816 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7817 keywords and built-ins.
7819 2013-07-03 Glenn Morris <rgm@gnu.org>
7821 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7823 Make info-xref checks case-sensitive by default
7824 * info.el (Info-find-node, Info-find-in-tag-table)
7825 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7826 Add option for exact case matching of nodes.
7827 * info-xref.el (info-xref): New custom group.
7828 (info-xref-case-fold): New option.
7829 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7831 2013-07-03 Leo Liu <sdl.web@gmail.com>
7833 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7835 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7837 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7838 middle of block statement initially, lower the depth. Remove
7839 FIXME comment, not longer valid. Remove middle of block statement
7840 detection, no need to do that anymore since we've been using
7841 `ruby-parse-region' here.
7843 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7845 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7847 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7849 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7851 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7853 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7854 (desktop-restore-in-current-display): New customization option.
7855 (desktop--excluded-frame-parameters): Add `font'.
7856 (desktop--save-frames): Rename from desktop--save-windows.
7857 (desktop--restore-in-this-display-p): New function.
7858 (desktop--make-full-frame): Remove unwanted width/height from
7859 full(width|height) frames.
7860 (desktop--restore-frames): Rename from desktop--restore-windows.
7861 Obey desktop-restore-current-display. Do not delete old frames or
7862 select a new frame unless we were able to restore at least one frame.
7864 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7866 * files.el (find-file-noselect): Simplify conditional expression.
7868 * textmodes/remember.el (remember-append-to-file):
7869 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7871 Add `remember-notes' function to store random notes across Emacs
7873 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7874 notes buffer (if any).
7875 (remember-notes): New command.
7876 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7877 New defcustoms for the `remember-notes' function.
7878 (remember-notes-save-and-bury-buffer): New command.
7879 (remember-notes-mode-map): New variable.
7880 (remember-mode): New minor mode.
7881 (remember-notes--kill-buffer-query): New function.
7882 * startup.el (initial-buffer-choice): Add notes to custom type.
7884 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7886 * bindings.el (right-char, left-char): Don't call sit-for, this is
7887 no longer needed. Use arithmetic comparison only for numerical
7890 * international/mule-cmds.el (select-safe-coding-system):
7891 Handle the case of FROM being a string correctly. (Bug#14755)
7893 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7895 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7896 progression on degenerate tables.
7897 (shr-rescale-image): ImageMagick animated images currently don't work.
7899 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7901 Some fixes and improvements for desktop frame restoration.
7902 It is still experimental and disabled by default.
7903 * desktop.el (desktop--save-windows): Put the selected frame at
7904 the head of the list.
7905 (desktop--make-full-frame): New function.
7906 (desktop--restore-windows): Try to re-select the frame that was
7907 selected upon saving. Do not abort if some frames fail to restore,
7908 just show an error message and continue. Set up maximized frames
7909 so they have default non-maximized dimensions.
7911 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7913 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7914 Don't start heredoc inside a string or comment.
7916 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7918 * bindings.el (visual-order-cursor-movement): New defcustom.
7919 (right-char, left-char): Provide visual-order cursor motion by
7920 calling move-point-visually. Update the doc strings.
7922 2013-06-28 Kenichi Handa <handa@gnu.org>
7924 * international/mule.el (define-coding-system): New coding system
7925 properties :inhibit-null-byte-detection,
7926 :inhibit-iso-escape-detection, and :prefer-utf-8.
7927 (set-buffer-file-coding-system): If :charset-list property of
7928 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7929 appropriate for setting.
7931 * international/mule-cmds.el (select-safe-coding-system):
7932 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7933 multibyte characters, return utf-8 (or one of its siblings).
7935 * international/mule-conf.el (prefer-utf-8): New coding system.
7936 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7939 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7941 * net/shr.el (shr-render-region): New function.
7943 * net/eww.el: Autoload `eww-browse-url'.
7945 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7947 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7948 Adapt to `package-desc-version' being a list.
7949 Use `package--ac-desc-version' to retrieve version from a package
7952 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7954 New experimental feature to save&restore window and frame setup.
7955 * desktop.el (desktop-save-windows): New defcustom.
7956 (desktop--saved-states): New var.
7957 (desktop--excluded-frame-parameters): New defconst.
7958 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7959 (desktop--restore-windows, desktop--save-windows): New functions.
7960 (desktop-save): Call `desktop--save-windows'.
7961 (desktop-read): Call `desktop--restore-windows'.
7963 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7965 * net/shr.el (add-face-text-property): Remove compat definition.
7967 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7969 * info.el (Info-try-follow-nearest-node): Move search for footnote
7970 above search for node name to prevent missing a footnote (bug#14717).
7972 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7974 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7976 2013-06-27 Leo Liu <sdl.web@gmail.com>
7978 * net/eww.el (eww-read-bookmarks): Check file size.
7980 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7982 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7983 advice--pending if newdef is nil or an autoload (bug#13820).
7984 (advice-mapc): New function.
7986 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7988 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7990 (eww-mode-map): Add a menu bar.
7991 (eww-add-bookmark): New command.
7992 (eww-bookmark-mode): New mode and commands.
7993 (eww-add-bookmark): Remove newlines from the title.
7994 (eww-bookmark-browse): Don't bug out if it's the only window.
7996 2013-06-26 Glenn Morris <rgm@gnu.org>
7998 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7999 (hfy-size): Handle ttys. (Bug#14668)
8001 * info-xref.el: Update for Texinfo 5 change in *note format.
8002 (info-xref-node-re, info-xref-note-re): New constants.
8003 (info-xref-check-buffer): Use info-xref-note-re.
8005 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8009 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8010 nil terminate the loop (bug#14718).
8012 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8014 * net/eww.el: Rework history traversal. When going forward/back,
8015 put these actions into the history, too, so that they can be
8017 (eww-render): Move the history reset to the correct buffer.
8019 2013-06-25 Juri Linkov <juri@jurta.org>
8021 * files-x.el (modify-dir-local-variable): Change the header comment
8022 in the file with directory local variables. (Bug#14692)
8024 * files-x.el (read-file-local-variable-value): Add `default'.
8027 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8029 * net/eww.el (eww-make-unique-file-name): Create a unique file
8030 name before saving to entering `y' accidentally asynchronously.
8032 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8034 * net/eww.el (eww-download): New command and keystroke.
8036 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8038 * net/eww.el (eww-copy-page-url): Change name of command.
8040 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8041 be more consistent with Info and dired.
8043 * net/eww.el (eww-mode-map): Ditto.
8045 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8047 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8048 packages from archives.
8049 (package-archive-contents): Change format; include obsolete packages.
8050 (package-desc): Use `dir' to mark builtin packages.
8051 (package--from-builtin): Set the `dir' field to `builtin'.
8052 (generated-autoload-file, version-control): Declare.
8053 (package-compute-transaction): Change first arg and return value to be
8054 lists of package-descs. Adjust to new package-archive-contents format.
8055 (package--add-to-archive-contents): Adjust to new
8056 package-archive-contents format.
8057 (package-download-transaction): Arg is now a list of package-descs.
8058 (package-install): If `pkg' is a package name, pass it as
8059 a requirement, so it is subject to the usual (e.g. disabled) checks.
8060 (describe-package): Accept package-desc as well.
8061 (describe-package-1): Describe a specific package-desc. Add links to
8062 other package-descs for the same package name.
8063 (package-menu-describe-package): Pass the actual package-desc.
8064 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8066 (package-desc-status): New function.
8067 (package-menu--refresh): New function, extracted
8068 from package-menu--generate.
8069 (package-menu--generate): Use it.
8070 (package-delete): Update package-alist.
8071 (package-menu-execute): Don't call package-initialize.
8073 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8074 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8075 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8076 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8077 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8078 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8080 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8082 * window.el (window--state-get-1): Workaround for bug#14527.
8083 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8085 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8087 * net/eww.el (eww-back-url): Implement the history by stashing all
8088 the data into a list.
8089 (eww-forward-url): Allow going forward in the history, too.
8091 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8093 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8094 for values and use read--expression for expressions (bug#14710).
8095 (read-file-local-variable): Avoid setq.
8096 (read-file-local-variable-mode): Use minor-mode-list.
8098 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8100 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8103 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8105 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8106 Update imenu-support when dialect changes.
8108 2013-06-25 Leo Liu <sdl.web@gmail.com>
8110 * ido.el (ido-read-internal): Allow forward slash on windows.
8112 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8114 * net/eww.el (eww): Start of strings is \\`, not ^.
8116 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8118 * net/shr.el (shr-browse-url): Fix interactive spec.
8120 * net/eww.el (eww): Add a trailing slash to domain names.
8122 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8124 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8126 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8128 * net/shr.el (shr-browse-url): Use an external browser if given a
8131 * net/eww.el (eww-external-browser): Move to shr.
8133 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8135 * net/eww.el (eww): Work more correctly for file: URLs.
8136 (eww-detect-charset): Allow quoted charsets.
8137 (eww-yank-page-url): New command and keystroke.
8139 2013-06-24 Daiki Ueno <ueno@gnu.org>
8141 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8142 file name of gpg executable.
8143 (epg-context-program): New function.
8144 (epg-context-home-directory): New function.
8145 (epg-context-set-program): New function.
8146 (epg-context-set-home-directory): New function.
8147 (epg--start): Use `epg-context-program' instead of
8149 (epg--list-keys-1): Likewise.
8151 2013-06-24 Leo Liu <sdl.web@gmail.com>
8153 * ido.el (ido-read-internal): Fix bug#14620.
8155 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8157 * faces.el (face-documentation): Simplify.
8158 (read-face-attribute, tty-find-type, x-resolve-font-name):
8159 Use `string-match-p'.
8160 (list-faces-display): Use `string-match-p'. Simplify.
8161 (face-spec-recalc): Check face to avoid face alias loops.
8162 (read-color): Use `string-match-p' and non-capturing parenthesis.
8164 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8166 * net/shr.el (shr-rescale-image): Use the new
8167 :max-width/:max-height functionality.
8169 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8171 * net/eww.el (eww-search-prefix): New variable.
8173 (eww-external-browser): New variable.
8174 (eww-mode-map): New keystroke.
8175 (eww-browse-with-external-browser): New command.
8177 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8179 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8181 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8182 Don't skip aligning the next header field when padding is 0;
8183 otherwise, field width is not respected unless the title is as
8186 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * emacs-lisp/package.el (package-el-version): Remove.
8189 (package-process-define-package): Fix inf-loop.
8190 (package-install): Allow symbols as arguments again.
8192 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8195 add some more keyword-like methods.
8196 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8198 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8200 * bs.el (bs-buffer-show-mark): Make defvar-local.
8201 (bs-mode): Use setq-local.
8203 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8204 (emacs-lock--try-unlocking): Make defvar-local.
8206 2013-06-22 Glenn Morris <rgm@gnu.org>
8208 * play/cookie1.el (cookie-apropos): Minor simplification.
8210 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8212 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8214 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8215 `regexp-opt', it breaks the build during dumping.
8217 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8219 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8220 Highlight keyword-like methods on Kernel and Module with
8221 font-lock-builtin-face.
8222 (auto-mode-alist): Consolidate different entries into one regexp
8223 and add more *file-s.
8225 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8227 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8229 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8230 (diary-entry): Use it in the action of this button type instead of
8233 * calendar/todo-mode.el: New version.
8234 (todo-add-category): Append new category to end of file and give
8235 it the highest number, instead of putting it at the beginning and
8236 giving it 0. Incorporate noninteractive functionality.
8237 (todo-forward-category): Adapt to 1-based category numbering.
8238 Allow skipping over archived categories.
8239 (todo-backward-category): Derive from todo-forward-category.
8240 (todo-backward-item, todo-forward-item): Make noninteractive and
8241 delegate interactive part to new commands. Make sensitive to done items.
8242 (todo-categories): Make value an alist of category names and
8243 vectors of item counts.
8244 (todo-category-beg): Make a defconst.
8245 (todo-category-number): Use 1 instead of 0 as initial value.
8246 (todo-category-select): Make sensitive to overlays, optional item
8247 highlighting and done items.
8248 (todo-delete-item): Make sensitive to overlays and marked and done items.
8249 (todo-edit-item): Make sensitive to overlays and editing of
8250 date/time header optional. Add format checks.
8251 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8252 no-op if point is not on an item. Advertise using todo-edit-quit.
8253 (todo-edit-mode): Make sensitive to new format, font-locking, and
8254 multiple todo files.
8255 (todo-insert-item, todo-insert-item-here): Derive from
8256 todo-basic-insert-item and extend functionality.
8257 (todo-item-end, todo-item-start): Make sensitive to done items.
8258 (todo-item-string): Don't return text properties. Restore point.
8259 (todo-jump-to-category): Make sensitive to multiple todo files and
8260 todo archives. Use extended category completion.
8261 (todo-lower-item, todo-raise-item): Rename to *-priority and
8262 derive from todo-set-item-priority.
8263 (todo-mode): Derive from special-mode. Make sensitive to new
8264 format, font-locking and multiple todo files. Make read-only.
8265 (todo-mode-map): Don't suppress digit keys, so they can supply
8266 prefix arguments. Add many new key bindings.
8267 (todo-prefix): Insert as an overlay instead of file text.
8268 Change semantics from diary date expression to purely visual mark.
8269 (todo-print): Rename to todo-print-buffer. Make buffer display
8270 features printable. Remove option to restrict number of items
8271 printed. Add option to print to file.
8272 (todo-print-function): Rename to todo-print-buffer-function.
8273 (todo-quit): Extend to handle exiting new todo modes.
8274 (todo-remove-item): Make sensitive to overlays.
8275 (todo-save): Extend to buffers of filtered items.
8276 (todo-show): Make sensitive to done items, multiple todo files and
8277 new todo modes. Offer to convert legacy todo file before creating
8278 first new todo file.
8279 (todo-show-priorities): Rename to todo-top-priorities.
8280 Change semantics of value 0.
8281 (todo-top-priorities): Rename to todo-filter-top-priorities,
8282 derive from todo-filter-items and extend functionality.
8283 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8284 and extend functionality to other types of filtered items.
8285 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8286 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8287 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8288 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8289 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8290 (todo-edit-mode-hook, todo-entry-prefix-function)
8291 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8292 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8293 (todo-initials, todo-insert-threshold, todo-item-string-start)
8294 (todo-line-string, todo-menu, todo-mode-hook)
8295 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8296 (todo-print-priorities, todo-remove-separator)
8297 (todo-save-top-priorities-too, todo-string-count-lines)
8298 (todo-string-multiline-p, todo-time-string-format)
8299 (todo-tmp-buffer-name): Remove.
8300 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8301 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8302 (todo-edit-category-diary-inclusion)
8303 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8304 (todo-edit-file, todo-edit-item-date-day)
8305 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8306 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8307 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8308 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8309 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8310 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8311 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8312 (todo-filter-top-priorities-multifile, todo-find-archive)
8313 (todo-find-filtered-items-file, todo-go-to-source-item)
8314 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8315 (todo-jump-to-archive-category, todo-lower-category)
8316 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8317 (todo-move-category, todo-move-item, todo-next-button)
8318 (todo-next-item, todo-padded-string, todo-powerset)
8319 (todo-previous-button, todo-previous-item)
8320 (todo-print-buffer-to-file, todo-raise-category)
8321 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8322 (todo-set-category-number, todo-set-item-priority)
8323 (todo-set-top-priorities-in-category)
8324 (todo-set-top-priorities-in-file, todo-show-categories-table)
8325 (todo-sort-categories-alphabetically-or-numerically)
8326 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8327 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8328 (todo-toggle-item-header, todo-toggle-item-highlighting)
8329 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8330 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8331 (todo-unarchive-items, todo-unmark-category): New commands.
8332 (todo-absolute-file-name, todo-add-to-buffer-list)
8333 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8334 (todo-basic-insert-item, todo-category-completions)
8335 (todo-category-number, todo-category-string-matcher-1)
8336 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8337 (todo-check-format, todo-clear-matches)
8338 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8339 (todo-current-category, todo-date-string-matcher)
8340 (todo-define-insertion-command, todo-diary-expired-matcher)
8341 (todo-diary-goto-entry, todo-diary-item-p)
8342 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8343 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8344 (todo-done-item-section-p, todo-done-separator)
8345 (todo-done-string-matcher, todo-files, todo-filter-items)
8346 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8347 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8348 (todo-insert-category-line, todo-insert-item-from-calendar)
8349 (todo-insert-sort-button, todo-insert-with-overlays)
8350 (todo-insertion-command-name, todo-insertion-key-bindings)
8351 (todo-label-to-key, todo-longest-category-name-length)
8352 (todo-make-categories-list, todo-mode-external-set)
8353 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8354 (todo-modes-set-3, todo-multiple-filter-files)
8355 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8356 (todo-read-category, todo-read-date, todo-read-dayname)
8357 (todo-read-file-name, todo-read-time)
8358 (todo-reevaluate-category-completions-files-defcustom)
8359 (todo-reevaluate-default-file-defcustom)
8360 (todo-reevaluate-filelist-defcustoms)
8361 (todo-reevaluate-filter-files-defcustom)
8362 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8363 (todo-reset-done-separator, todo-reset-done-separator-string)
8364 (todo-reset-done-string, todo-reset-global-current-todo-file)
8365 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8366 (todo-reset-prefix, todo-set-categories)
8367 (todo-set-date-from-calendar, todo-set-show-current-file)
8368 (todo-set-top-priorities, todo-short-file-name)
8369 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8370 (todo-total-item-counts, todo-update-buffer-list)
8371 (todo-update-categories-display, todo-update-categories-sexp)
8372 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8374 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8376 (todo-categories, todo-display, todo-edit, todo-faces)
8377 (todo-filtered): New defgroups.
8378 (todo-archived-only, todo-button, todo-category-string, todo-date)
8379 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8380 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8381 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8382 (todo-add-item-if-new-category, todo-always-add-time-string)
8383 (todo-categories-align, todo-categories-archived-label)
8384 (todo-categories-category-label, todo-categories-diary-label)
8385 (todo-categories-done-label, todo-categories-number-separator)
8386 (todo-categories-todo-label, todo-categories-totals-label)
8387 (todo-category-completions-files, todo-completion-ignore-case)
8388 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8389 (todo-done-separator-string, todo-done-string)
8390 (todo-files-function, todo-filter-done-items, todo-filter-files)
8391 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8392 (todo-initial-category, todo-initial-file, todo-item-mark)
8393 (todo-legacy-date-time-regexp, todo-mode-line-function)
8394 (todo-nondiary-marker, todo-number-prefix)
8395 (todo-print-buffer-function, todo-show-current-file)
8396 (todo-show-done-only, todo-show-first, todo-show-with-done)
8397 (todo-skip-archived-categories, todo-top-priorities-overrides)
8398 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8399 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8401 (todo-category-done, todo-date-pattern, todo-date-string-start)
8402 (todo-diary-items-buffer, todo-done-string-start)
8403 (todo-filtered-items-buffer, todo-item-start)
8404 (todo-month-abbrev-array, todo-month-name-array)
8405 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8406 (todo-top-priorities-buffer): New defconsts.
8407 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8408 (todo-categories-with-marks, todo-category-string-face)
8409 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8410 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8411 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8412 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8413 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8414 (todo-font-lock-keywords, todo-global-current-todo-file)
8415 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8416 (todo-insertion-commands-args)
8417 (todo-insertion-commands-args-genlist)
8418 (todo-insertion-commands-names, todo-insertion-map)
8419 (todo-key-bindings-t, todo-key-bindings-t+a)
8420 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8421 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8422 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8423 (todo-visited): New variables.
8425 2013-06-21 Glenn Morris <rgm@gnu.org>
8427 * play/cookie1.el (cookie-apropos): Add optional display argument.
8428 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8429 (psychoanalyze-pinhead): Use cookie-doctor.
8431 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8433 * emacs-lisp/package.el (tar-get-file-descriptor)
8434 (tar--extract): Declare.
8436 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8438 Extend flymake's warning predicate to be a function (bug#14217).
8439 * progmodes/flymake.el (flymake-warning-predicate): New.
8440 (flymake-parse-line): Use it.
8441 (flymake-warning-re): Make obsolete alias to
8442 `flymake-warning-predicate'.
8444 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8446 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8447 (package-obsolete-list): Remove.
8448 (package-activate): Remove min-version argument. Add `force' argument.
8449 Adjust to new package-alist format.
8450 (package-mark-obsolete): Remove.
8451 (package-unpack): Force reload of the package's autoloads.
8452 (package-installed-p): Check builtins if the installed package is not
8454 (package-initialize): Don't reset package-obsolete-list.
8455 Don't specify which package version to activate.
8456 (package-process-define-package, describe-package-1)
8457 (package-menu--generate): Adjust to new package-alist format.
8459 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8461 * allout-widgets.el (allout-widgets-mode-off)
8462 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8463 (allout-widgets-post-command-business)
8464 (allout-widgets-after-copy-or-kill-function)
8465 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8466 (allout-decorate-item-and-context)
8467 (allout-graphics-modification-handler): Fix typos in docstrings.
8468 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8470 * cmuscheme.el (scheme-start-file): Doc fix.
8471 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8472 (scheme-input-filter): Use `string-match-p'.
8474 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8476 * dired-x.el: Use Dired consistently in docstrings.
8478 * dired.el: Use Dired consistently in docstrings.
8479 (dired-readin, dired-mode): Use `setq-local'.
8480 (dired-switches-alist): Make defvar-local.
8481 (dired-buffers-for-dir): Use `zerop'.
8482 (dired-safe-switches-p, dired-switches-escape-p)
8483 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8484 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8485 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8486 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8487 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8488 (dired-toggle-marks, dired-mark-files-containing-regexp)
8489 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8490 (dired-flag-auto-save-files, dired-flag-backup-files):
8492 (dired-mark-files-regexp, dired-build-subdir-alist):
8493 Use `string-match-p', `looking-at-p'.
8495 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8496 (direct-print-region-helper): Use `string-match-p'.
8498 2013-06-21 Leo Liu <sdl.web@gmail.com>
8500 * comint.el (comint-redirect-results-list-from-process):
8503 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8505 * net/eww.el (eww-update-header-line-format): Quote % characters.
8507 2013-06-21 Glenn Morris <rgm@gnu.org>
8509 * play/cookie1.el (cookie): New custom group.
8510 (cookie-file): New option.
8511 (cookie-check-file): New function.
8512 (cookie): Make it interactive. Make start and end messages optional.
8513 Interactively, display the result. Default to cookie-file.
8514 (cookie-insert): Default to cookie-file.
8515 (cookie-snarf): Make start and end messages optional.
8516 Default to cookie-file. Use with-temp-buffer.
8517 (cookie-read): Rename from read-cookie.
8518 Make start and end messages optional. Default to cookie-file.
8519 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8521 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8522 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8524 2013-06-21 Leo Liu <sdl.web@gmail.com>
8526 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8528 2013-06-21 Glenn Morris <rgm@gnu.org>
8530 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8532 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8533 Daniel Hackney <dan@haxney.org>
8535 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8536 Consolidate the single-file vs tarball code.
8537 (package-desc-suffix): New function.
8538 (package-desc-full-name): Don't bother inlining it.
8539 (package-load-descriptor): Return the new package-desc.
8540 (package-mark-obsolete): Remove unused arg `package'.
8541 (package-unpack): Make it work for single files as well.
8542 Make it update package-alist.
8543 (package--make-autoloads-and-stuff): Rename from
8544 package--make-autoloads-and-compile. Don't compile any more.
8545 (package--compile): New function.
8546 (package-generate-description-file): New function, extracted from
8547 package-unpack-single.
8548 (package-unpack-single): Remove.
8549 (package--with-work-buffer): Add indentation and debugging info.
8550 (package-download-single): Remove.
8551 (package-install-from-archive): Rename from package-download-tar, make
8552 it take a pkg-desc, and make it work for single files as well.
8553 (package-download-transaction): Simplify.
8554 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8555 external tar program.
8556 (package-install-from-buffer): Remove `pkg-desc' argument.
8557 Use package-tar-file-info for tar-mode buffers.
8558 (package-install-file): Simplify accordingly.
8559 (package-archive-base): Change to take a pkg-desc.
8560 * tar-mode.el (tar--check-descriptor): New function, extracted from
8562 (tar-get-descriptor): Use it.
8563 (tar-get-file-descriptor): New function.
8564 (tar--extract): New function, extracted from tar-extract.
8565 (tar--extract): Use it.
8566 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8567 case the summary uses non-ascii. Adjust to new calling convention of
8568 package-tar-file-info.
8570 2013-06-21 Leo Liu <sdl.web@gmail.com>
8572 * comint.el (comint-redirect-results-list-from-process):
8573 Fix random delay. (Bug#14681)
8575 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8577 * profiler.el (profiler-format-number): Use log, not log10.
8579 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8581 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8583 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8586 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8588 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8589 (AUTOGENEL): ... here.
8590 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8591 (cl--defsubst-expand): Use it.
8593 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8595 * subr.el (log10): Move here from C code, and declare as obsolete.
8596 All uses of (log10 X) replaced with (log X 10).
8598 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8600 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8601 Declare with `defvar-local'.
8602 (tabulated-list-use-header-line, tabulated-list-entries)
8603 (tabulated-list-padding, tabulated-list-printer)
8604 (tabulated-list-sort-key): Declare with `defvar-local'.
8605 (tabulated-list-init-header, tabulated-list-print-fake-header):
8608 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8610 * arc-mode.el (archive-mode): Add `archive-write-file' to
8611 `write-contents-functions' also for remote files. (Bug#14652)
8613 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8615 * cus-edit.el (custom-commands): Fix typos.
8616 (custom-display): Fix tooltip text.
8617 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8618 Fix typos in docstrings.
8619 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8620 (custom-unlispify-menu-entry, custom-magic-value-create)
8621 (custom-add-see-also, custom-group-value-create): Use ?\s.
8622 (custom-guess-type, customize-apropos, editable-field)
8623 (custom-face-value-create): Use `string-match-p'.
8624 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8626 * custom.el (custom-load-symbol): Use `string-match-p'.
8628 * ansi-color.el: Convert to lexical binding.
8629 (ansi-colors): Fix URL.
8630 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8631 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8632 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8634 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8636 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8638 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8640 2013-06-19 Tom Tromey <tromey@redhat.com>
8642 * net/eww.el (eww-top-url): Remove.
8643 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8644 (eww-render): Set new variables. Don't set eww-top-url.
8645 (eww-handle-link): Handle "prev", "home", and "contents".
8646 Downcase the rel text.
8647 (eww-top-url): Choose best top URL.
8649 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8651 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8652 relying in widget.el. Using widget.el leads to too many
8653 user interface inconsistencies.
8654 (eww-self-insert): Implement entering commands in text fields.
8655 (eww-process-text-input): New function to make text input field editing
8657 (eww-submit): Rewrite to use the new-style form methods.
8658 (eww-select-display): Display the correct selected item.
8659 (eww-change-select): Implement changing the select value.
8660 (eww-toggle-checkbox): Implement radio/checkboxes.
8661 (eww-update-field): Fix compilation error.
8662 (eww-tag-textarea): Implement <textarea>.
8664 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8665 we don't shadow mode-specific bindings.
8667 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8670 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8672 2013-06-19 Glenn Morris <rgm@gnu.org>
8674 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8676 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8678 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8681 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8683 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8685 * net/browse-url.el (browse-url-browser-function):
8686 `eww-browse-url' has the right calling signature, `eww' does not.
8688 2013-06-19 Glenn Morris <rgm@gnu.org>
8690 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8691 Only eval autoloaded macros.
8692 (byte-compile-autoload): Only give the macro warning for macros.
8694 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8695 (ps-underlined-faces): Declare.
8697 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8698 (speedbar-add-supported-extension): Declare.
8700 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8701 Don't include a date stamp in the header of the generated file;
8702 it leads to needless differences between output files.
8704 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8706 * net/secrets.el (secrets-struct-secret-content-type):
8707 Replace check of introspection data by a test call of "CreateItem".
8708 Some servers do not offer introspection.
8710 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * electric.el (electric-pair-mode): Improve interaction with
8713 electric-layout-mode.
8714 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8715 (electric-pair-syntax): Use text-mode-syntax-table in comments
8717 (electric-pair--insert): New function.
8718 (electric-pair-post-self-insert-function): Use it and
8719 electric--after-char-pos.
8721 2013-06-19 Leo Liu <sdl.web@gmail.com>
8723 * progmodes/octave.el (octave-help): Fix regexp.
8725 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8727 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8728 (shr-table-horizontal-line): Allow nil as a value, and change the
8730 (shr-insert-table-ruler): Respect the nil value.
8732 2013-06-18 Tom Tromey <tromey@barimba>
8734 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8736 (eww-open-file): New defun.
8737 (eww-render): Initialize new variables.
8738 (eww-display-html): Handle "link" and "a".
8739 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8740 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8741 (eww-back-url): Rename from eww-previous-url.
8742 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8745 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8747 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8748 Distinguish ternary operator tokens from slash symbol and slash
8751 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8753 Convert symbol prettification into minor mode and global minor mode.
8755 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8756 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8757 (prettify-symbols--keywords): Rename from
8758 `prog-prettify-symbols-alist' and make a local defvar.
8759 (prettify-symbols--compose-symbol): Rename from
8760 `prog--prettify-font-lock-compose-symbol'.
8761 (prettify-symbols--make-keywords): Rename from
8762 `prog-prettify-font-lock-symbols-keywords' and simplify.
8763 (prog-prettify-install): Remove.
8764 (prettify-symbols-mode): New minor mode, based on
8765 `prog-prettify-install'.
8766 (turn-on-prettify-symbols-mode): New function.
8767 (global-prettify-symbols-mode): New globalized minor mode.
8769 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8770 * progmodes/cfengine.el (cfengine3-mode):
8771 * progmodes/perl-mode.el (perl-mode): Don't call
8772 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8774 2013-06-18 Juri Linkov <juri@jurta.org>
8776 * files-x.el (modify-file-local-variable-message): New function.
8777 (modify-file-local-variable)
8778 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8779 and call `modify-file-local-variable-message' when it's non-nil.
8780 (add-file-local-variable, delete-file-local-variable)
8781 (add-file-local-variable-prop-line)
8782 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8783 and use it. (Bug#9820)
8785 2013-06-18 Juri Linkov <juri@jurta.org>
8787 * emulation/vi.el (vi-shell-op):
8788 * emulation/vip.el (vip-execute-com, ex-command):
8789 * emulation/viper-cmd.el (viper-exec-bang):
8790 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8791 the call of `shell-command-on-region'. (Bug#14637)
8793 * simple.el (shell-command-on-region): Doc fix.
8795 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8797 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8800 2013-06-18 Glenn Morris <rgm@gnu.org>
8802 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8804 * newcomment.el (comment-search-forward, comment-search-backward):
8805 Doc fix. (Bug#14376)
8807 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8809 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8810 (buffer-face-mode-invoke): Doc fix.
8812 2013-06-18 Matthias Meulien <orontee@gmail.com>
8814 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8815 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8817 2013-06-18 Glenn Morris <rgm@gnu.org>
8819 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8820 Replace obsolete function generic-make-keywords with its expansion.
8822 * progmodes/python.el (ffap-alist): Declare.
8824 * textmodes/reftex.el (bibtex-mode-map): Declare.
8826 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8829 (package-unpack, package-unpack-single): Return the pkg-dir.
8830 (package-download-transaction): Use it to update package-alist.
8832 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8834 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8837 2013-06-17 Juri Linkov <juri@jurta.org>
8839 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8841 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8843 * emacs-lisp/package.el (package-load-descriptor):
8844 Remove `with-syntax-table' call, `read' doesn't need it.
8845 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8847 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8849 * startup.el (command-line): Expand package name returned by
8850 `package--description-file' (bug#14639).
8852 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8854 * emacs-lisp/package.el (package-load-descriptor): Do not call
8855 `emacs-lisp-mode', just use its syntax table.
8857 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8859 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8860 `font-lock-extra-managed-props' if any prettifying keyword is added.
8861 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8862 (prog-mode): Use `setq-local'.
8864 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8866 * international/characters.el (standard-case-table): Set syntax of ?»
8867 and ?« to punctuation.
8869 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8871 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8872 Save relevant match data before calling `syntax-ppss' (bug#14595).
8874 2013-06-15 Juri Linkov <juri@jurta.org>
8876 * files-x.el (modify-file-local-variable-prop-line): Add local
8877 variables to the end of the existing comment on the first line.
8878 Use `file-auto-mode-skip' to skip interpreter magic line,
8879 and also skip XML declaration.
8881 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8883 * startup.el (package--builtin-versions): New var.
8884 (package-subdirectory-regexp): Remove.
8885 (package--description-file): Hard code its value instead.
8887 * emacs-lisp/package.el: Don't activate packages older than builtin.
8888 (package-obsolete-list): Rename from package-obsolete-alist, and make
8889 it into a simple list of package-desc.
8890 (package-strip-version): Remove.
8891 (package-built-in-p): Use package--builtin-versions.
8892 (package-mark-obsolete): Simplify.
8893 (package-process-define-package): Mark it obsolete if older than the
8895 (package-handle-response): Use line-end-position.
8896 (package-read-archive-contents, package--download-one-archive):
8898 (package--add-to-archive-contents): Skip if older than the builtin or
8900 (package-menu-describe-package): Fix last change.
8901 (package-list-unversioned): New var.
8902 (package-menu--generate): Use it.
8904 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8905 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8906 (autoload-builtin-package-versions): New variable.
8907 (autoload-generate-file-autoloads): Use them.
8908 Remove the list of autoloaded functions/macros from the
8909 (autoload...) comments.
8911 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8913 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8915 * simple.el (line-move-partial): Don't jump to the next screen
8916 line as soon as it becomes visible. Instead, continue enlarging
8917 the vscroll until the portion of a tall screen line that's left on
8918 display is about the height of the frame's default font.
8921 2013-06-15 Glenn Morris <rgm@gnu.org>
8923 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8924 compilation-error-regexp-alist void, or local while let-bound.
8926 * progmodes/make-mode.el (makefile-mode-syntax-table):
8927 Treat "=" as punctuation. (Bug#14614)
8929 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8931 * help-fns.el (describe-variable):
8932 Add extra line for permanent-local variables.
8934 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8936 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8937 Add export, import, library. (Bug#9164)
8938 (library): Set indent function.
8940 2013-06-14 Glenn Morris <rgm@gnu.org>
8942 * term/xterm.el (xterm--query):
8943 Stop after first matching handler. (Bug#14615)
8945 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8947 Add support for dired in saveplace.
8948 * dired.el (dired-initial-position-hook): New variable.
8949 (dired-initial-position): Call hook to place cursor position.
8950 * saveplace.el (save-place-to-alist): Add dired position.
8951 (save-place-dired-hook): New function.
8953 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8956 through a symbol rather than letrec.
8958 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8959 (package-desc): Add `dir' field.
8960 (package-desc-full-name): New function.
8961 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8962 (package-maybe-load-descriptor): Remove.
8963 (package-load-all-descriptors): Just call package-load-descriptor.
8964 (package--disabled-p): New function.
8965 (package-desc-vers, package-desc-doc): Remove aliases.
8966 (package--dir): Remove function.
8967 (package-activate): Check if a package is disabled.
8968 (package-process-define-package): New function, extracted from
8970 (define-package): Turn into a place holder.
8971 (package-unpack-single, package-tar-file-info):
8972 Use package--description-file.
8973 (package-compute-transaction): Use package--disabled-p.
8974 (package-download-transaction): Don't call
8975 package-maybe-load-descriptor since they're all loaded anyway.
8976 (package-install): Change argument to be a pkg-desc.
8977 (package-delete): Use a single pkg-desc argument.
8978 (describe-package-1): Use package-desc-dir instead of package--dir.
8979 Use package-desc property instead of package-symbol.
8980 (package-install-button-action): Adjust accordingly.
8981 (package--push): Rewrite.
8982 (package-menu--print-info): Adjust accordingly. Change the ID format
8984 (package-menu-describe-package, package-menu-get-status)
8985 (package-menu--find-upgrades, package-menu-mark-upgrades)
8986 (package-menu-execute, package-menu--name-predicate):
8988 * startup.el (package--description-file): New function.
8989 (command-line): Use it.
8990 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8991 Use package-desc-version.
8993 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8994 (byte-compile-preprocess): Use it.
8995 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8996 can't quite recognize.
8997 (byte-compile-add-to-list): Remove.
8998 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8999 (cconv-closure-convert): Add assertion.
9001 * emacs-lisp/map-ynp.el: Use lexical-binding.
9002 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9003 Factor out some repeated code.
9005 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9007 * subr.el (with-eval-after-load): New macro.
9008 (eval-after-load): Allow form to be a function.
9009 take advantage of lexical-binding.
9010 (do-after-load-evaluation): Use dolist and adjust to new format.
9011 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9013 2013-06-13 Juri Linkov <juri@jurta.org>
9015 * replace.el (perform-replace): Display "symbol " and other search
9016 modes from `isearch-message-prefix' in the *Help* buffer.
9018 * isearch.el (isearch-query-replace): Add " symbol" and other
9019 possible search modes from `isearch-message-prefix' to the prompt.
9020 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9021 when reading a regexp to collect.
9023 2013-06-13 Juri Linkov <juri@jurta.org>
9025 * isearch.el (word-search-regexp): Match whitespace if the search
9026 string begins or ends in whitespace. The LAX arg is applied to
9027 both ends of the search string. Use `regexp-quote' and explicit
9028 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9029 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9030 boundaries are replaced with symbol boundaries, and characters
9031 between symbols match non-word non-symbol syntax. (Bug#14602)
9033 2013-06-13 Juri Linkov <juri@jurta.org>
9035 * isearch.el (isearch-del-char): Don't exceed the length of
9036 `isearch-string' by the prefix arg. (Bug#14563)
9038 2013-06-13 Juri Linkov <juri@jurta.org>
9040 * isearch.el (isearch-yank-word, isearch-yank-line)
9041 (isearch-char-by-name, isearch-quote-char)
9042 (isearch-printing-char, isearch-process-search-char):
9043 Add optional count prefix arg. (Bug#14563)
9045 * international/isearch-x.el
9046 (isearch-process-search-multibyte-characters):
9047 Add optional count prefix arg.
9049 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9052 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9055 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9057 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9059 2013-06-13 Glenn Morris <rgm@gnu.org>
9061 * startup.el (tty-handle-args):
9062 Don't just discard "--" and anything after. (Bug#14608)
9064 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9066 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9068 Implement changes in Secret Service API. Make it backward compatible.
9069 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9070 (secrets-create-item): Use it. Prefix properties with interface.
9072 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9074 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9075 (term-emulate-terminal): Respect term-suppress-hard-newline.
9077 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9079 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9080 Only remove a `thumb-file' overlay. (Bug#14548)
9082 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9084 * mail/reporter.el (reporter-submit-bug-report):
9085 Handle missing package-name. (Bug#14600)
9087 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9089 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9090 (reftex-citation-prompt, reftex-default-bibliography)
9091 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9092 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9093 (reftex-bib-sort-author, reftex-bib-sort-year)
9094 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9095 (reftex-extract-bib-entries-from-thebibliography)
9096 (reftex-get-bibkey-default, reftex-get-bib-names)
9097 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9098 (reftex-format-bib-entry, reftex-parse-bibitem)
9099 (reftex-format-bibitem, reftex-do-citation)
9100 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9101 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9102 (reftex-insert-bib-matches, reftex-format-citation)
9103 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9104 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9105 existing comments into docstrings.
9107 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9109 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9111 2013-06-12 Andreas Schwab <schwab@suse.de>
9113 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9114 for auto-save files.
9116 2013-06-12 Glenn Morris <rgm@gnu.org>
9118 * ido.el (ido-delete-ignored-files): Remove.
9119 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9120 Go back to calling ido-ignore-item-p directly.
9122 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9124 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9126 * ido.el (ido-delete-ignored-files): New function,
9127 split from ido-make-file-list-1.
9128 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9129 (ido-make-file-list-1): Use ido-delete-ignored-files.
9131 2013-06-12 Leo Liu <sdl.web@gmail.com>
9133 * progmodes/octave.el (inferior-octave-startup)
9134 (inferior-octave-completion-table)
9135 (inferior-octave-track-window-width-change)
9136 (octave-eldoc-function-signatures, octave-help)
9137 (octave-find-definition): Use single quoted strings.
9138 (inferior-octave-startup-args): Change default value.
9139 (inferior-octave-startup): Do not hard code "-i" and
9140 "--no-line-editing".
9141 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9142 (inferior-octave-directory-tracker): Use it.
9143 (octave-goto-function-definition): Robustify.
9144 (octave-help): Support highlighting operators in 'See also'.
9145 (octave-find-definition): Find subfunctions only in Octave mode.
9147 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9149 * help-fns.el (help-fns--compiler-macro): If the handler function is
9150 named, then put a link to it.
9151 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9152 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9154 (cl-eval-when): Simplify debug spec.
9155 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9156 compiler-macro function instead of setting `compiler-macro-file'.
9158 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9160 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9161 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9163 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9164 Daniel Hackney <dan@haxney.org>
9166 First part of Daniel Hackney's patch to package.el.
9167 * emacs-lisp/package.el: Use defstruct.
9168 (package-desc): New, main struct.
9169 (package--bi-desc, package--ac-desc): New structs, used to describe the
9170 format in external files.
9171 (package-desc-vers): Replace with package-desc-version accessor.
9172 (package-desc-doc): Replace with package-desc-summary accessor.
9173 (package-activate-1): Remove `package' arg since the pkg-vec now
9175 (define-package): Use package-desc-from-define.
9176 (package-unpack-single): Change file-name arg to be a symbol.
9177 (package--add-to-archive-contents): Use package-desc-create and new
9178 accessor functions to package--ac-desc.
9179 (package-buffer-info, package-tar-file-info): Return a package-desc.
9180 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9181 arg to be a package-desc.
9182 (package-install-file): Adjust accordingly. Use \' to match EOS.
9183 (package--from-builtin): New function.
9184 (describe-package-1, package-menu--generate): Use it.
9185 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9186 (package-generate-autoloads): Idem and return the name of the file.
9187 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9188 Change pkg-info arg to be a package-desc.
9189 Use package-make-ac-desc.
9190 (package-upload-file): Use \' to match EOS.
9191 * finder.el (finder-compile-keywords): Use package-make-builtin.
9193 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9195 * vc/vc.el (vc-deduce-fileset): Change error message.
9196 (vc-read-backend): New function.
9197 (vc-next-action): Use it.
9199 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9201 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9202 (prolog-font-lock-keywords): Use regexp-opt instead.
9203 Don't manually highlight strings.
9204 (prolog-mode-variables): Simplify comment-start-skip.
9205 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9207 * emacs-lisp/generic.el (generic--normalise-comments)
9208 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9209 (generic-mode-set-comments): Use them.
9210 (generic-bracket-support): Use setq-local.
9211 (generic-make-keywords-list): Declare obsolete.
9213 2013-06-11 Glenn Morris <rgm@gnu.org>
9215 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9216 Prettify after setting font-lock-defaults. (Bug#14574)
9218 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9220 * replace.el (query-replace, occur-read-regexp-defaults-function)
9222 * subr.el (declare-function, number-sequence, local-set-key)
9223 (substitute-key-definition, locate-user-emacs-file)
9224 (with-silent-modifications, split-string, eval-after-load):
9225 Fix typos, remove unneeded backslashes and reflow some docstrings.
9227 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9229 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9230 default for Elisp files.
9232 2013-06-11 Glenn Morris <rgm@gnu.org>
9234 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9235 although define-derived-mode was doing this anyway. (Bug#14583)
9237 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9239 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9240 Fix make-variable-buffer-local call to refer to the correct variable.
9242 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9244 * eshell/em-term.el (eshell-visual-commands)
9245 (eshell-visual-subcommands, eshell-visual-options):
9246 Add summary line to docstrings. Add cross-references.
9248 2013-06-10 Glenn Morris <rgm@gnu.org>
9250 * epa.el (epa-read-file-name): New function. (Bug#14510)
9251 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9253 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9255 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9256 output redirection to be ignored with visual commands.
9258 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9260 * eshell/em-term.el (eshell-visual-command-p): New function.
9261 (eshell-term-initialize): Move long lambda to separate function
9262 eshell-visual-command-p.
9263 * eshell/em-dirs.el (eshell-dirs-initialise):
9264 * eshell/em-script.el (eshell-script-initialize):
9265 Add missing #' to lambda.
9267 2013-06-08 Leo Liu <sdl.web@gmail.com>
9269 * progmodes/octave.el (octave-add-log-current-defun): New function.
9270 (octave-mode): Set add-log-current-defun-function.
9271 (octave-goto-function-definition): Do not move point if not found.
9272 (octave-find-definition): Enhance to try subfunctions first.
9274 2013-06-08 Glenn Morris <rgm@gnu.org>
9276 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9277 (byte-compile-backward-char, byte-compile-backward-word):
9278 Improve previous change, to handle non-explicit nil.
9280 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9282 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9283 (smie--opener/closer-at-point): New function.
9284 (smie--matching-block-data): Use it. Don't match from right after an
9285 opener or right before a closer. Obey smie-blink-matching-inners.
9286 Don't signal a mismatch for repeated inners like "switch..case..case".
9288 2013-06-07 Leo Liu <sdl.web@gmail.com>
9290 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9292 (octave-function-header-regexp): Fix. (Bug#14570)
9293 (octave-help-mode-finish-hook, octave-help-mode-finish):
9294 Remove. Just use temp-buffer-show-hook.
9296 * newcomment.el (comment-search-backward): Revert last change.
9299 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9301 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9303 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9304 through xargs, to avoid failure due to MS-Windows limitations on
9305 command-line length.
9307 2013-06-06 Glenn Morris <rgm@gnu.org>
9309 * font-lock.el (lisp-font-lock-keywords-2):
9310 Treat user-error like error.
9312 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9313 (byte-compile-backward-char, byte-compile-backward-word):
9314 Handle explicit nil arguments. (Bug#14565)
9316 2013-06-05 Alan Mackenzie <acm@muc.de>
9318 * isearch.el (isearch-allow-prefix): New user option.
9319 (isearch-other-meta-char): Don't exit isearch when a prefix
9320 argument is typed whilst `isearch-allow-prefix' is non-nil.
9323 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9325 * autorevert.el (auto-revert-notify-handler): Use memq.
9326 Hide assertion failure.
9328 * skeleton.el: Use cl-lib.
9329 (skeleton-further-elements): Use defvar-local.
9330 (skeleton-insert): Use cl-progv.
9332 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9334 * progmodes/prog-mode.el (prog-prettify-symbols)
9335 (prog-prettify-install): Update docstrings.
9337 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9339 * simple.el: Move all the prog-mode code to prog-mode.el.
9340 * progmodes/prog-mode.el: New file.
9341 * loadup.el: Add prog-mode.el.
9343 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9345 * simple.el (prog-prettify-symbols): Add version.
9346 (prog-prettify-install): Add convenience function to prettify symbols.
9348 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9349 (perl--augmented-font-lock-keywords-1)
9350 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9351 variables and use it.
9353 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9354 (cfengine3-mode): Remove unneeded variable and use it.
9356 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9357 (lisp--augmented-font-lock-keywords-1)
9358 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9359 Remove unneeded variables and use it.
9361 2013-06-05 João Távora <joaotavora@gmail.com>
9363 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9364 to point when opening the connection. (Bug#14380)
9366 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9368 * subr.el (load-history-regexp, load-history-filename-element)
9369 (eval-after-load, after-load-functions, do-after-load-evaluation)
9370 (eval-next-after-load, display-delayed-warnings)
9371 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9372 definition of save-match-data.
9373 (overriding-local-map): Remove accidental obsolescence declaration.
9375 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9377 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9379 Generalize symbol prettify support to prog-mode and implement it
9380 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9381 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9382 (prog--prettify-font-lock-compose-symbol)
9383 (prog-prettify-font-lock-symbols-keywords): New variables and
9384 functions to support symbol prettification.
9385 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9386 (lisp--augmented-font-lock-keywords-1)
9387 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9388 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9389 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9390 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9391 Implement prettify of -> => :: strings.
9392 * progmodes/perl-mode.el (perl-prettify-symbols)
9393 (perl--font-lock-compose-symbol)
9394 (perl--font-lock-symbols-keywords): Move to prog-mode.
9395 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9396 (perl-font-lock-keywords-1)
9397 (perl-font-lock-keywords-2): Remove explicit prettify support.
9398 (perl--augmented-font-lock-keywords)
9399 (perl--augmented-font-lock-keywords-1)
9400 (perl--augmented-font-lock-keywords-2, perl-mode):
9401 Implement prettify support.
9403 2013-06-05 Leo Liu <sdl.web@gmail.com>
9405 Re-implement smie matching block highlight using
9406 show-paren-data-function. (Bug#14395)
9407 * emacs-lisp/smie.el (smie-matching-block-highlight)
9408 (smie--highlight-matching-block-overlay)
9409 (smie--highlight-matching-block-lastpos)
9410 (smie-highlight-matching-block)
9411 (smie-highlight-matching-block-mode): Remove.
9412 (smie--matching-block-data-cache): New variable.
9413 (smie--matching-block-data): New function.
9414 (smie-setup): Use smie--matching-block-data for
9415 show-paren-data-function.
9417 * progmodes/octave.el (octave-mode-menu): Fix.
9418 (octave-find-definition): Skip garbage lines.
9420 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9422 Fix compilation error with simultaneous dynamic+lexical scoping.
9423 Add warning when a defvar appears after the first let-binding.
9424 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9425 (byte-compile-close-variables): Initialize it.
9426 (byte-compile--declare-var): New function.
9427 (byte-compile-file-form-defvar)
9428 (byte-compile-file-form-define-abbrev-table)
9429 (byte-compile-file-form-custom-declare-variable): Use it.
9430 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9431 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9432 (byte-compile-bind): Handle dynamic bindings that shadow
9434 (byte-compile-unbind): Make arg non-optional.
9435 (byte-compile-let): Simplify.
9436 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9437 (cconv--analyse-function, cconv-analyse-form): Populate it.
9438 Protect byte-compile-bound-variables to limit the scope of defvars.
9439 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9440 Remove unneeded rule for `declare'.
9442 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9443 so as to avoid depending on cl-adjoin at run-time.
9444 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9446 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9447 (macroexp--warn-and-return): Use it.
9449 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9451 * subr.el: Convert to lexical binding.
9452 (overriding-local-map): Make obsolete.
9453 (add-to-list): Doc fix. Add compiler macro.
9454 (read-key): Swap values of local maps.
9456 2013-06-05 Leo Liu <sdl.web@gmail.com>
9458 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9460 2013-06-04 Leo Liu <sdl.web@gmail.com>
9462 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9463 (compilation-auto-jump): Suppress the "Mark set" message to give
9464 way to exit message.
9466 2013-06-04 Alan Mackenzie <acm@muc.de>
9468 Remove faulty optimisation from indentation calculation.
9469 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9470 search limit based on 2000 characters back from indent-point.
9472 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9474 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9476 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9478 * emacs-lisp/lisp.el: Use lexical-binding.
9479 (lisp--local-variables-1, lisp--local-variables): New functions.
9480 (lisp--local-variables-completion-table): New var.
9481 (lisp-completion-at-point): Use it complete let-bound vars.
9483 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9484 eagerly (bug#14422).
9486 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9488 * autorevert.el (auto-revert-notify-enabled)
9489 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9490 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9491 (auto-revert-notify-handler): Handle also gfilenotify.
9493 * subr.el (file-notify-handle-event): New defun. Replacing ...
9494 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9497 2013-06-03 Juri Linkov <juri@jurta.org>
9499 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9500 `M-s h .'. (Bug#14427)
9502 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9503 command `hi-lock-face-symbol-at-point'.
9504 (hi-lock-face-symbol-at-point): New command.
9505 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9506 (hi-lock-menu): Add `highlight-symbol-at-point'.
9507 (hi-lock-mode): Doc fix.
9509 * isearch.el (isearch-forward-symbol-at-point): New command.
9510 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9511 (isearch-highlight-regexp): Add a regexp which matches
9512 words/symbols for word/symbol mode.
9514 * subr.el (find-tag-default-bounds): New function with the body
9515 mostly moved from `find-tag-default'.
9516 (find-tag-default): Move most code to `find-tag-default-bounds',
9517 call it and apply `buffer-substring-no-properties' afterwards.
9519 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9521 * eshell/em-term.el (eshell-term-initialize):
9522 Use `cl-intersection' rather than `intersection'.
9524 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9526 * vc/log-view.el: Doc fix.
9527 (log-view-mode-map): Copy keymap from `special-mode-map'.
9529 2013-06-02 Eric Ludlam <zappo@gnu.org>
9531 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9532 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9533 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9534 (eieio-unbound, eieio-default-superclass)
9535 (eieio--define-field-accessors, method-static, method-before)
9536 (method-primary, method-after, method-num-lists)
9537 (method-generic-before, method-generic-primary)
9538 (method-generic-after, method-num-slots)
9539 (eieio-specialized-key-to-generic-key)
9540 (eieio--check-type, class-v, class-p)
9541 (eieio-class-name, define-obsolete-function-alias)
9542 (eieio-class-parents-fast, eieio-class-children-fast)
9543 (same-class-fast-p, class-constructor, generic-p)
9544 (generic-primary-only-p, generic-primary-only-one-p)
9545 (class-option-assoc, class-option, eieio-object-p)
9546 (class-abstract-p, class-method-invocation-order)
9547 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9548 (eieio-class-un-autoload, eieio-defclass)
9549 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9550 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9551 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9552 (eieio-defgeneric-reset-generic-form)
9553 (eieio-defgeneric-form-primary-only)
9554 (eieio-defgeneric-reset-generic-form-primary-only)
9555 (eieio-defgeneric-form-primary-only-one)
9556 (eieio-defgeneric-reset-generic-form-primary-only-one)
9557 (eieio-unbind-method-implementations)
9558 (eieio--defmethod, eieio--typep)
9559 (eieio-perform-slot-validation, eieio-validate-slot-value)
9560 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9561 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9562 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9563 (eieio-slot-name-index, eieio-class-slot-name-index)
9564 (eieio-set-defaults, eieio-initarg-to-attribute)
9565 (eieio-attribute-to-initarg, eieio-c3-candidate)
9566 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9567 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9568 (eieio-class-precedence-list, eieio-generic-call-methodname)
9569 (eieio-generic-call-arglst, eieio-generic-call-key)
9570 (eieio-generic-call-next-method-list)
9571 (eieio-pre-method-execution-functions, eieio-generic-call)
9572 (eieio-generic-call-primary-only, eieiomt-method-list)
9573 (eieiomt-optimizing-obarray, eieiomt-install)
9574 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9575 (eieio-generic-form, eieio-defmethod, make-obsolete)
9576 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9577 (defclass): Remove `eval-and-compile' from macro.
9578 (call-next-method, shared-initialize): Instead of using
9579 `scoped-class' variable, use new eieio--scoped-class, and
9580 eieio--with-scoped-class.
9581 (initialize-instance): Rename local variable 'scoped-class' to
9582 'this-class' to remove ambiguitity from old global.
9584 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9586 (eieio--scoped-class-stack): New variable.
9587 (eieio--scoped-class): New fcn.
9588 (eieio--with-scoped-class): New scoping macro.
9589 (eieio-defclass): Use pushnew instead of add-to-list.
9590 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9591 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9592 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9593 `scoped-class' variable, use new eieio--scoped-class, and
9594 eieio--with-scoped-class.
9596 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9598 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9600 * eshell/esh-ext.el (eshell-external-command): Pass args to
9601 `eshell-find-interpreter'.
9602 (eshell-find-interpreter): Add new second parameter ARGS.
9604 * eshell/em-script.el (eshell-script-initialize): Add second arg
9605 to the function added as MATCH to `eshell-interpreter-alist'.
9607 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9608 the function added as MATCH to `eshell-interpreter-alist'.
9610 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9611 (eshell-visual-options): New defcustom.
9612 (eshell-escape-control-x): Adapt docstring.
9613 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9614 `eshell-visual-options' in addition to `eshell-visual-commands'.
9615 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9617 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9619 * progmodes/python.el (python-indent-block-enders): Add break,
9620 continue and raise keywords.
9622 2013-06-01 Glenn Morris <rgm@gnu.org>
9624 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9626 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9627 * progmodes/cc-cmds.el (delete-forward-p):
9628 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9629 * progmodes/cc-engine.el (buffer-syntactic-context):
9630 * progmodes/cc-fonts.el (face-property-instance):
9631 * progmodes/cc-mode.el (set-keymap-parents):
9632 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9633 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9634 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9635 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9636 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9638 * progmodes/cc-vars.el (other): Emacs has this widget since
9639 at least 21.1, so don't (re)define it.
9641 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9642 Replace the obsolete alias pcomplete-arg-quote-list.
9644 2013-06-01 Leo Liu <sdl.web@gmail.com>
9646 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9648 (inferior-octave-minimal-columns)
9649 (inferior-octave-last-column-width): New variables.
9650 (inferior-octave-track-window-width-change): New function.
9651 (inferior-octave-mode): Adjust column width so that Octave output,
9652 for example from 'ls', can fit into the window nicely.
9654 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9656 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9657 Highlight expansions inside regexp literals.
9659 2013-05-31 Glenn Morris <rgm@gnu.org>
9661 * obsolete/sym-comp.el (symbol-complete):
9662 Replace obsolete completion-annotate-function.
9664 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9666 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9668 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9669 New function, checks if point is inside a literal that allows
9670 expression expansion.
9671 (ruby-syntax-propertize-expansion): Use it.
9672 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9675 2013-05-30 Juri Linkov <juri@jurta.org>
9677 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9679 (isearch-invisible): New variable.
9680 (isearch-forward): Doc fix.
9681 (isearch-mode): Set `isearch-invisible'
9682 to the value of `search-invisible'.
9683 (isearch-toggle-case-fold): Doc fix.
9684 (isearch-toggle-invisible): New command.
9685 (isearch-query-replace): Let-bind `search-invisible'
9686 to the value of `isearch-invisible'.
9687 (isearch-search): Use `isearch-invisible' instead of
9688 `search-invisible'. Let-bind `search-invisible'
9689 to the value of `isearch-invisible'. (Bug#11378)
9691 2013-05-30 Juri Linkov <juri@jurta.org>
9693 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9694 call when `query-flag' is nil and `search-invisible' is non-nil.
9697 2013-05-30 Glenn Morris <rgm@gnu.org>
9699 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9701 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9702 (cc-require): Suppress spurious "noruntime" warnings.
9703 (cc-require-when-compile): Use fboundp, for sake of compiler.
9705 * progmodes/cc-mode.el: Move load of cc-vars before that of
9706 cc-langs (which in turn loads cc-vars), to quieten compiler.
9708 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9710 * paren.el: Simplify the code.
9711 (show-paren-mode): Always start the timer.
9712 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9713 (show-paren--overlay, show-paren--overlay-1): Rename from
9714 show-paren-overlay and show-paren-overlay-1, and initialize to an
9715 overlay rather than to nil.
9716 (show-paren-function): Misc cleanup and simplifications.
9718 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9720 * paren.el (show-paren-data-function): New hook.
9721 (show-paren--default): New function, extracted from show-paren-function.
9722 (show-paren-function): Use show-paren-data-function.
9724 2013-05-30 Glenn Morris <rgm@gnu.org>
9726 * ielm.el (ielm-map, ielm-complete-symbol):
9727 Use completion-at-point rather than obsolete functions.
9728 (inferior-emacs-lisp-mode): Doc fix.
9729 Set completion-at-point-functions, rather than
9730 comint-dynamic-complete-functions.
9732 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9733 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9734 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9736 * image.el (image-animated-p): Tweak definition.
9738 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9739 (rlogin-process-connection-type): Tweak default. Add set-after.
9740 (rlogin-host): Doc fix.
9741 (rlogin): Tweak prompt.
9742 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9744 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9745 * progmodes/tcl.el (inferior-tcl-mode-map):
9746 Use completion-at-point rather than obsolete alias.
9748 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9750 * minibuffer.el (read-file-name-completion-ignore-case):
9751 Move before completion--in-region, for eager macro expansion.
9753 2013-05-29 Juri Linkov <juri@jurta.org>
9755 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9756 for total count of matching lines. Add `global-matches' for total
9757 count of matches. Rename `matches' to `lines' for count of
9758 matching lines. Add `matches' for count of matches.
9759 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9760 to `prev-line' for line number of prev match endpt.
9761 Increment `matches' for every match. Print the number of
9762 matching lines in the header.
9763 (occur-context-lines): Rename `lines' to `curr-line'.
9764 Rename `prev-lines' to `prev-line'. (Bug#14017)
9766 2013-05-29 Juri Linkov <juri@jurta.org>
9768 * replace.el (perform-replace): Add `skip-read-only-count',
9769 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9770 Increment them for corresponding conditions and report the number
9771 of skipped occurrences in the final message. (Bug#11746)
9772 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9773 (replace-string, replace-regexp): Doc fix.
9775 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9777 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9779 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9780 prog-mode-map (bug#14504).
9782 2013-05-29 Leo Liu <sdl.web@gmail.com>
9784 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9785 (octave-help): Small simplification.
9787 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9788 off the highlight first.
9790 2013-05-29 Glenn Morris <rgm@gnu.org>
9792 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9793 Handle idlwave-last-system-routine-info-cons-cell being nil.
9795 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9796 (idlwave-write-paths): Simplify via with-temp-buffer.
9798 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9799 * emulation/cua-rect.el: Also load cua-base at run time.
9801 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9802 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9803 (cperl-imenu-on-info): Require imenu.
9805 2013-05-28 Alan Mackenzie <acm@muc.de>
9807 Handle "capitalised keywords" correctly.
9808 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9810 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9812 * eshell/em-unix.el: Add -r option to cp.
9814 2013-05-28 Glenn Morris <rgm@gnu.org>
9816 * vc/vc-arch.el (vc-exec-after): Declare.
9817 (vc-switches): Autoload.
9818 * vc/vc-bzr.el: No need to require vc when compiling.
9819 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9820 (vc-resynch-buffer, vc-dir-refresh): Declare.
9821 (vc-setup-buffer, vc-switches): Autoload.
9822 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9823 (vc-resynch-buffer): Declare.
9824 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9825 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9826 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9827 (grep-read-regexp, grep-read-files, grep-expand-template)
9828 (vc-dir-refresh): Declare.
9829 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9830 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9831 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9832 * vc/vc-mtn.el (vc-exec-after): Declare.
9833 (vc-switches): Autoload.
9834 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9835 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9836 (vc-file-tree-walk): Declare.
9837 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9838 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9839 (vc-tag-precondition, vc-rename-master): Autoload.
9840 * vc/vc-svn.el (vc-exec-after): Declare.
9841 (vc-switches, vc-setup-buffer): Autoload.
9842 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9844 (vc-resynch-buffer): Declare.
9846 * obsolete/fast-lock.el (byte-compile-warnings):
9847 Don't warn about obsolete features in this obsolete file.
9849 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9850 Move definition before use.
9852 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9853 (dun-unix-verbs): Remove dun-zippy.
9854 (dun-zippy): Remove function.
9856 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9858 2013-05-27 Juri Linkov <juri@jurta.org>
9860 * replace.el (replace-search): New function with code moved out
9861 from `perform-replace'.
9862 (replace-highlight, replace-dehighlight): Move function definitions
9863 up closer to `replace-search'. (Bug#11746)
9865 2013-05-27 Juri Linkov <juri@jurta.org>
9867 * replace.el (perform-replace): Ignore invisible matches.
9868 In addition to checking `query-replace-skip-read-only', also
9869 filter out matches by calling `run-hook-with-args-until-failure'
9870 on `isearch-filter-predicates', and also check `search-invisible'
9871 for t or call `isearch-range-invisible'.
9872 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9874 2013-05-27 Juri Linkov <juri@jurta.org>
9876 * isearch.el (isearch-filter-predicates): Rename from
9877 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9878 (isearch-message-prefix): Display text from the property
9879 `isearch-message-prefix' of the currently active filters.
9880 (isearch-search): Don't compare `isearch-filter-predicate' with
9881 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9882 on `isearch-filter-predicates'. Also check `search-invisible' for t
9883 or call `isearch-range-invisible'.
9884 (isearch-filter-visible): Make obsolete.
9885 (isearch-lazy-highlight-search):
9886 Call `run-hook-with-args-until-failure' on
9887 `isearch-filter-predicates' and use `isearch-range-invisible'.
9889 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9890 `isearch-filter-predicates' instead of `funcall'ing
9891 `isearch-filter-predicate'.
9892 (Info-mode): Set `Info-isearch-filter' to
9893 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9895 * dired-aux.el (dired-isearch-filter-predicate-orig):
9897 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9898 (dired-isearch-filenames-end): Add and remove
9899 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9900 instead of changing the value of `isearch-filter-predicate'.
9901 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9902 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9903 Put property `isearch-message-prefix' to "filename " on
9904 `dired-isearch-filter-filenames'.
9906 * wdired.el (wdired-change-to-wdired-mode):
9907 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9908 locally instead of changing `isearch-filter-predicate'.
9909 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9911 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9913 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9914 return the commit hash (Bug#14459). Also set the
9915 `vc-git-detached' property.
9916 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9917 (vc-git-mode-line-string): Use the same help-echo format whether
9918 in detached mode or not, because we know the actual revision now.
9919 When in detached mode, shorten the revision to 7 chars.
9921 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9923 * emacs-lisp/easy-mmode.el (define-minor-mode):
9924 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9925 mode hook and provide a docstring.
9927 2013-05-27 Alan Mackenzie <acm@muc.de>
9929 Remove spurious syntax-table text properties inserted by C-y.
9930 * progmodes/cc-mode.el (c-after-change): Also clear hard
9931 syntax-table property with value nil.
9933 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9935 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9936 when reading the events; the buffer layout shall not be changed.
9938 2013-05-27 Leo Liu <sdl.web@gmail.com>
9940 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9942 (inferior-octave-directory-tracker): Automatically re-sync
9944 (octave-help): Improve handling of 'See also'.
9946 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9948 * doc-view.el: Minor naming convention tweaks.
9949 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9951 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9952 even if there's no `display' property yet (bug#14435).
9954 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9956 * subr.el (unmsys--file-name): Rename from reveal-filename.
9958 * Makefile.in (custom-deps, finder-data, autoloads)
9959 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9960 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9961 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9963 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9965 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9966 error-completion on the first 2 args of condition-case (bug#14446).
9969 2013-05-25 Leo Liu <sdl.web@gmail.com>
9971 * comint.el (comint-previous-matching-input): Do not flood the
9972 *Messages* buffer with trivial messages.
9974 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9976 * progmodes/flymake.el (flymake-nop): Don't return a string.
9977 (flymake-set-at): Fix typo.
9979 * simple.el (read--expression): New function, extracted from
9980 eval-expression. Set completion-at-point-functions (bug#14465).
9981 (eval-expression, eval-minibuffer): Use it.
9983 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9985 * progmodes/flymake.el (flymake-save-buffer-in-file)
9986 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9987 (flymake-selected-frame, flymake-log, flymake-ins-after)
9988 (flymake-set-at, flymake-get-buildfile-from-cache)
9989 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9990 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9991 Refine the doc string.
9992 (flymake-get-file-name-mode-and-masks): Reformat.
9993 (flymake-get-real-file-name-function): Fix a minor bug.
9995 2013-05-24 Juri Linkov <juri@jurta.org>
9997 * progmodes/grep.el (grep-mode-font-lock-keywords):
9998 Support =linenumber= format used by git-grep for lines with
9999 function names. (Bug#13549)
10001 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10004 0 after a semi-colon; it works better for smie-auto-fill.
10005 (octave--indent-new-comment-line): New function.
10006 (octave-indent-new-comment-line): Use it (indirectly).
10007 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10008 modify comment-line-break-function.
10010 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10011 (smie-setup): Use add-function to set it.
10013 2013-05-24 Sam Steingold <sds@gnu.org>
10015 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10016 argument (before the `interactive' argument).
10018 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * image-mode.el (image-mode-winprops): Add winprops to
10021 image-mode-winprops-alist before running
10022 image-mode-new-window-functions.
10023 * doc-view.el (doc-view-new-window-function): Don't delay
10024 doc-view-goto-page via timers (bug#14435).
10026 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10028 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10029 (doc-view-desktop-save-buffer): New function.
10030 (doc-view-restore-desktop-buffer): New function.
10031 (desktop-buffer-mode-handlers):
10032 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10034 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10035 `desktop-save-buffer' function.
10037 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10039 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10040 (tramp-gvfs-file-name-handler): Raise a user error when
10041 `tramp-gvfs-enabled' is nil.
10042 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10043 Do not raise a user error when loading package. (Bug#14447)
10045 * net/xesam.el: Move to obsolete/.
10047 2013-05-24 Glenn Morris <rgm@gnu.org>
10049 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10051 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10053 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10054 (Info-find-node, Man-getpage-in-background): Declare.
10056 * mail/unrmail.el (unrmail):
10057 Replace obsolete detect-coding-with-priority.
10059 * net/socks.el (socks-split-string): Use this rather than split-string.
10060 (socks-nslookup-host): Update for above change.
10061 (dynamic-choice, s5-dynamic-choice-match)
10062 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10063 Comment out unused code.
10065 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10066 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10067 (gud-tooltip-echo-area): Make obsolete.
10068 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10070 * progmodes/js.el (js--optimize-arglist): Declare.
10072 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10074 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10075 (ediff-window-C): Declare.
10077 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10078 Tweak requires to silence compiler.
10080 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10081 (he-search-string, he-tried-table, he-expand-list)
10082 (he-init-string, he-string-member, he-substitute-string)
10083 (he-reset-string): Declare.
10085 * obsolete/options.el (list-options): Use custom-variable-p,
10086 rather than obsolete alias.
10088 2013-05-23 Sam Steingold <sds@gnu.org>
10090 * simple.el (shell-command-on-region): Pass the `replace' argument
10091 down to `call-process-region' to comply with the doc as reported on
10092 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10094 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10096 * emacs-lisp/smie.el (smie-indent-forward-token)
10097 (smie-indent-backward-token): Handle string tokens (bug#14381).
10099 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10101 * ielm.el (ielm-menu): New menu.
10102 (inferior-emacs-lisp-mode): Set comment-start.
10104 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10106 * textmodes/reftex.el (reftex-ref-style-toggle):
10107 Fix deactivate action.
10109 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10110 Add cleveref macros.
10112 * textmodes/reftex-parse.el
10113 (reftex-locate-bibliography-files): Accept options for
10114 bibliography commands.
10115 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10116 Add addbibresource. Basic Biblatex support.
10118 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10120 * net/tramp-gvfs.el (top):
10121 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10122 when loading package. (Bug#14447)
10124 2013-05-23 Glenn Morris <rgm@gnu.org>
10126 * progmodes/js.el: No need to load comint when compiling.
10127 (ring-insert, comint-send-string, comint-send-input)
10128 (comint-last-input-end, ido-chop): Declare.
10130 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10131 * vc/ediff-mult.el: Adjust requires.
10132 (ediff-directories-internal, ediff-directory-revisions-internal)
10133 (ediff-patch-file-internal): Declare.
10134 * vc/ediff-ptch.el: Adjust requires.
10135 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10136 (ediff-find-file): Autoload.
10137 * vc/ediff-util.el: No need to load ediff when compiling.
10138 (ediff-regions-internal): Declare.
10139 * vc/ediff-wind.el: Adjust requires.
10140 (ediff-compute-toolbar-width): Define when compiling.
10141 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10142 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10143 (dired-get-filename, dired-get-marked-files)
10144 (ediff-last-dir-patch, ediff-patch-default-directory)
10145 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10146 (ediff-patch-buffer-internal): Declare.
10148 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10149 (ispell-process, ispell-buffer-local-words, lm-summary)
10150 (lm-section-start, lm-section-end): Declare.
10151 (checkdoc-ispell-init): Simplify.
10153 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10154 (he-string-member, he-reset-string, he-substitute-string): Declare.
10156 * eshell/em-ls.el: Adjust requires.
10157 (eshell-glob-regexp): Declare.
10158 * eshell/em-tramp.el: Adjust requires.
10159 (eshell-parse-command): Autoload.
10160 * eshell/em-xtra.el: Adjust requires.
10161 (eshell-parse-command): Autoload.
10162 * eshell/esh-ext.el: Adjust requires.
10163 (eshell-parse-command, eshell-close-handles): Autoload.
10164 * eshell/esh-io.el: Adjust requires.
10165 (eshell-output-filter): Autoload.
10166 * eshell/esh-util.el: No need to load tramp when compiling.
10167 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10169 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10170 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10171 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10172 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10173 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10174 * eshell/esh-opt.el, eshell/esh-proc.el:
10175 * eshell/esh-var.el: Adjust requires.
10176 * eshell/eshell.el: Do not require esh-util twice.
10177 (eshell-add-input-to-history): Declare.
10178 (eshell-command): Check history module is active before using it.
10180 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10182 2013-05-22 Leo Liu <sdl.web@gmail.com>
10184 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10186 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10188 * autorevert.el (auto-revert-notify-add-watch)
10189 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10190 it indicates changes in file modification time.
10192 2013-05-22 Glenn Morris <rgm@gnu.org>
10194 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10195 Always delete the autoloaded function from the noruntime and
10196 unresolved functions lists.
10198 * allout.el: No need to load epa, epg, overlay when compiling.
10199 (epg-context-set-passphrase-callback, epg-list-keys)
10200 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10201 (epg-key-user-id-list): Declare.
10203 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10204 (viper-set-parsing-style-toggling-macro)
10205 (viper-set-emacs-state-searchstyle-macros):
10206 Use called-interactively-p on Emacs.
10207 (viper-looking-back): Make it an obsolete alias. Update callers.
10208 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10209 Use looking-back rather than viper-looking-back.
10210 (viper-tmp-insert-at-eob, viper-enlarge-region)
10211 (viper-read-string-with-history, viper-register-to-point)
10212 (viper-append-to-register, viper-change-state-to-vi)
10213 (viper-backward-char-carefully, viper-forward-char-carefully)
10214 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10215 (viper-change-state-to-emacs): Declare.
10216 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10217 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10218 * emulation/viper-mous.el: Do not load viper-cmd.
10219 (viper-backward-char-carefully, viper-forward-char-carefully)
10220 (viper-forward-word, viper-adjust-window): Declare.
10222 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10224 * progmodes/idlw-help.el (idlwave-help-fontify):
10225 Use called-interactively-p.
10227 * term/w32console.el (w32-get-console-codepage)
10228 (w32-get-console-output-codepage): Declare.
10230 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10231 Remove unnecessary declarations.
10232 (dframe-message): Doc fix.
10234 * info.el (dframe-select-attached-frame, dframe-current-frame):
10237 * speedbar.el (speedbar-message): Make it an obsolete alias.
10238 Update all callers.
10239 (speedbar-with-attached-buffer)
10240 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10241 (speedbar-with-writable): Use backquote.
10242 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10243 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10244 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10245 rather than speedbar- aliases.
10246 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10247 (speedbar-make-specialized-keymap, speedbar-insert-button)
10248 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10249 (speedbar-do-function-pointer): Declare.
10250 (rmail-speedbar-button, rmail-speedbar-find-file)
10251 (rmail-speedbar-move-message):
10252 Use dframe-with-attached-buffer rather than speedbar- alias.
10253 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10254 (dframe-message, speedbar-make-specialized-keymap)
10255 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10256 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10257 (speedbar-insert-button, dframe-select-attached-frame)
10258 (dframe-maybee-jump-to-attached-frame)
10259 (speedbar-change-initial-expansion-list)
10260 (speedbar-previously-used-expansion-list-name): Declare.
10261 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10262 Use dframe-message, dframe-with-attached-buffer rather than
10264 (gud-sentinel): Silence compiler.
10265 * progmodes/vhdl-mode.el (speedbar-refresh)
10266 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10267 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10268 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10269 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10270 (speedbar-file-lists, speedbar-make-tag-line)
10271 (speedbar-line-directory, speedbar-goto-this-file)
10272 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10273 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10274 (speedbar-make-button, speedbar-reset-scanners)
10275 (speedbar-files-item-info, speedbar-line-text)
10276 (speedbar-find-file-in-frame, speedbar-set-timer)
10277 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10278 (speedbar-with-writable): Do not (re)define it.
10279 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10280 rather than speedbar- alias.
10282 2013-05-21 Leo Liu <sdl.web@gmail.com>
10284 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10286 (octave-mode): Tweak fill-nobreak-predicate.
10287 (inferior-octave-startup): Check process to avoid infinite loop.
10288 (inferior-octave): Pop to buffer first to show abornmal process
10291 2013-05-21 Glenn Morris <rgm@gnu.org>
10293 * printing.el (pr-menu-bar): Define when compiling.
10295 2013-05-21 Leo Liu <sdl.web@gmail.com>
10297 * progmodes/octave.el (octave-auto-fill): Remove.
10298 (octave-indent-new-comment-line): Improve.
10299 (octave-mode): Use auto fill mode through
10300 comment-line-break-function and fill-nobreak-predicate.
10301 (octave-goto-function-definition): Support DEFUN_DLD.
10302 (octave-beginning-of-defun): Small tweak.
10303 (octave-help): Show parent directory.
10305 2013-05-21 Glenn Morris <rgm@gnu.org>
10307 * files.el (dired-unmark):
10308 * progmodes/gud.el (gdb-input): Update declarations.
10310 * calculator.el (electric, ehelp): No need to load when compiling.
10311 (Electric-command-loop, electric-describe-mode): Declare.
10313 * doc-view.el (doc-view-current-converter-processes): Move before use.
10315 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10316 Move MODE-set-explicitly definition before use.
10318 * international/mule-diag.el (mule-diag):
10319 Don't use obsolete window-system-version.
10321 * mail/feedmail.el (smtpmail): No need to load when compiling.
10322 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10324 * mail/mail-utils.el (rfc822): No need to load when compiling.
10325 (rfc822-addresses): Autoload it.
10326 (mail-strip-quoted-names): Trivial simplification.
10328 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10329 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10331 * net/snmp-mode.el (tempo): Don't duplicate requires.
10333 * progmodes/prolog.el (info): No need to load when compiling.
10334 (comint): Require before shell requires it.
10335 (Info-goto-node): Autoload it.
10336 (Info-follow-nearest-node): Declare.
10337 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10339 * textmodes/artist.el (picture-mode-exit): Declare.
10341 * textmodes/reftex-parse.el (reftex-parse-from-file):
10342 Trivial rewrite so the compiler can parse it better.
10344 2013-05-20 Leo Liu <sdl.web@gmail.com>
10346 * progmodes/octave.el (octave-help-mode-map)
10347 (octave-help-mode-finish-hook): New variables.
10348 (octave-help-mode, octave-help-mode-finish): New functions.
10349 (octave-help): Use octave-help-mode.
10351 2013-05-20 Glenn Morris <rgm@gnu.org>
10353 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10355 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10357 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10358 start at point, so that expansion starting right after opening
10359 slash in a regexp is recognized.
10360 (ruby-syntax-before-regexp-re): New defvar, extracted from
10361 ruby-syntax-propertize-function. Since the value of this regexp
10362 is looked up at runtime now, we should be able to turn
10363 `ruby-syntax-methods-before-regexp' into a defcustom later.
10364 (ruby-syntax-propertize-function): Split regexp matching into two
10365 parts, for opening and closing slashes. That allows us to skip
10366 over string interpolations and support multiline regexps.
10367 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10368 for them, which calls `ruby-syntax-propertize-expansion'.
10369 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10370 call to `ruby-syntax-propertize-function'.
10371 (ruby-syntax-propertize-expansion): Extracted from
10372 `ruby-syntax-propertize-expansions'. Handles one expansion.
10373 (ruby-syntax-propertize-percent-literal): Leave point right after
10374 the percent symbol, so that the expression expansion rule can
10375 propertize the contents.
10376 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10378 (ruby-syntax-propertize-expansions): Remove.
10380 2013-05-18 Juri Linkov <juri@jurta.org>
10382 * man.el (Man-default-man-entry): Remove `-' from the end
10383 of the default value. (Bug#14400)
10385 2013-05-18 Glenn Morris <rgm@gnu.org>
10387 * comint.el (comint-password-prompt-regexp):
10388 Allow "password for XXX" where XXX contains colons (eg https://...).
10390 2013-05-18 Leo Liu <sdl.web@gmail.com>
10392 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10393 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10394 (octave-source-directories): Don't check process.
10395 (octave-source-directories, octave-find-definition): Doc fix.
10397 2013-05-18 Glenn Morris <rgm@gnu.org>
10399 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10400 Remove backspace/delete bindings. (Bug#14392)
10402 * cus-dep.el (custom-make-dependencies): Sort the output.
10403 (custom-versions-load-alist): Convert comment to doc.
10405 2013-05-17 Leo Liu <sdl.web@gmail.com>
10407 * newcomment.el (comment-search-backward): Stricter in finding
10408 comment start. (Bug#14303)
10410 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10411 (octave-comment-start-skip): Properly anchored.
10413 2013-05-17 Leo Liu <sdl.web@gmail.com>
10415 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10416 Clean up when turned off. (Bug#14395)
10417 (smie--highlight-matching-block-overlay): No longer buffer-local.
10418 (smie-highlight-matching-block): Adjust.
10420 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10422 Doc string fix for "nanoseconds" (Bug#14406).
10423 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10424 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10426 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10428 * calc/calc-units.el (math-extract-units): Preserve powers
10431 2013-05-17 Leo Liu <sdl.web@gmail.com>
10433 * subr.el (delete-consecutive-dups): New function.
10434 * ido.el (ido-set-matches-1): Use it.
10435 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10436 * ido.el (ido-remove-consecutive-dups): Remove.
10438 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10441 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10442 regexp-opt's `words'.
10444 2013-05-16 Leo Liu <sdl.web@gmail.com>
10446 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10447 (smie--highlight-matching-block-overlay)
10448 (smie--highlight-matching-block-lastpos)
10449 (smie--highlight-matching-block-timer): New variables.
10450 (smie-highlight-matching-block): New function.
10451 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10452 (smie-setup): Conditionally enable smie-blink-matching-open.
10454 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10456 Sync with upstream verilog-mode r840.
10457 * progmodes/verilog-mode.el (verilog-mode-version)
10458 (verilog-mode-release-date): Update.
10459 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10460 (verilog-sig-tieoff): Fix string error on
10461 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10462 (verilog-read-decls): Fix parameters confusing
10463 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10465 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10467 * subr.el (reveal-filename): New function.
10469 * loadup.el: Compute Emacs executable versions on MS-Windows,
10470 where executables have the .exe extension. Add a hard link
10471 emacs-XX.YY.ZZ.exe on MS-Windows.
10473 * Makefile.in (XARGS_LIMIT): New variable.
10474 (custom-deps, finder-data, autoloads)
10475 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10476 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10477 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10478 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10480 2013-05-16 Leo Liu <sdl.web@gmail.com>
10482 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10483 (octave-mode-menu, octave-mode-map): Remove its uses.
10485 2013-05-16 Reto Zimmermann <reto@gnu.org>
10487 Sync with upstream vhdl mode v3.34.2.
10488 * progmodes/vhdl-mode.el: Use `push' throughout.
10489 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10490 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10491 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10492 (vhdl-actual-generic-name): New option to derive actual generic name.
10493 (vhdl-port-paste-signals): Replace formal by actual generics.
10494 (vhdl-beautify): New name for old group vhdl-align. Update users.
10495 (vhdl-beautify-options): New option.
10496 (vhdl-last-input-event): New compat alias. Use throughout.
10497 (vhdl-goto-line): Replace user level function `goto-line'.
10498 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10499 vhdl-fix-statement-buffer.
10500 (vhdl-create-mode-menu): Add some entries.
10501 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10502 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10503 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10504 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10505 to force statements on one line.
10506 (vhdl-remove-trailing-spaces-region):
10507 New, split from vhdl-remove-trailing-spaces.
10508 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10509 Respect vhdl-beautify-options.
10510 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10511 (vhdl-update-sensitivity-list): Not add with index if exists without.
10512 Not include array index with signal. Ignore keywords in comments.
10513 (vhdl-get-visible-signals): Regexp tweaks.
10514 (vhdl-template-component-inst): Handle empty library.
10515 (vhdl-template-type): Add template for 'enum' type.
10516 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10517 Use vhdl-replace-string.
10518 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10519 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10520 (vhdl-speedbar-initialize): Update for above name change.
10521 (vhdl-compose-wire-components): Fix in handling of constants.
10522 (vhdl-error-regexp-emacs-alist): New variable.
10523 (vhdl-error-regexp-add-emacs): New function;
10524 adds support for new compile.el (Emacs 22+)
10525 (vhdl-generate-makefile-1): Change target order for single lib. units.
10526 Allow use of absolute file names.
10528 2013-05-16 Leo Liu <sdl.web@gmail.com>
10530 * simple.el (prog-indent-sexp): Indent enclosing defun.
10532 2013-05-15 Glenn Morris <rgm@gnu.org>
10534 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10535 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10536 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10537 (whitespace-highlight): Move to whitespace group.
10539 * comint.el (comint-source):
10540 * pcmpl-linux.el (pcmpl-linux):
10541 * shell.el (shell-faces):
10542 * eshell/esh-opt.el (eshell-opt):
10543 * international/ccl.el (ccl): Remove empty custom groups.
10545 * completion.el (dynamic-completion-mode):
10546 * jit-lock.el (jit-lock-debug-mode):
10547 * minibuffer.el (completion-in-region-mode):
10548 * type-break.el (type-break-mode-line-message-mode)
10549 (type-break-query-mode):
10550 * emulation/tpu-edt.el (tpu-edt-mode):
10551 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10552 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10553 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10555 * term/xterm.el (xterm): Change parent group to terminals.
10557 * master.el (master): Remove empty custom group.
10558 (master-mode): Remove unused :group argument.
10559 * textmodes/refill.el (refill): Remove empty custom group.
10560 (refill-mode): Remove unused :group argument.
10562 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10564 * cus-dep.el: Provide a feature.
10565 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10566 Don't mistakenly ignore files whose basenames match a basename
10567 from preloaded-file-list (eg cedet/ede/simple.el).
10568 Add a fallback method for getting :group.
10570 2013-05-15 Juri Linkov <juri@jurta.org>
10572 * isearch.el (isearch-char-by-name): Rename from
10573 `isearch-insert-char-by-name'. Doc fix.
10574 (isearch-forward): Mention `isearch-char-by-name' in
10575 the docstring. (Bug#13348)
10577 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10578 `exit-minibuffer' instead of
10579 `isearch-nonincremental-exit-minibuffer'.
10580 (isearch-edit-string): Remove mention of
10581 `isearch-nonincremental-exit-minibuffer' from docstring.
10582 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10583 (isearch-forward-exit-minibuffer)
10584 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10586 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10588 * loadup.el: Just use unversioned DOC.
10590 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10591 literals as extending to EOB.
10592 (nxml-last-fontify-end): Remove unused variable.
10593 (nxml-after-change1): Use with-silent-modifications.
10594 (nxml-extend-after-change-region): Simplify.
10595 (nxml-extend-after-change-region1): Remove function.
10596 (nxml-after-change1): Don't adjust for dependent regions.
10597 (nxml-fontify-matcher): Simplify.
10598 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10599 (xmltok-add-dependent): Remove function.
10600 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10601 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10602 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10603 unclosed <[[, <?, comment, and other literals as extending to EOB.
10604 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10605 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10607 (rng-do-some-validation-1): Don't mark dependent regions.
10608 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10609 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10610 (nxml-clear-dependent-regions): Remove functions.
10611 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10612 (nxml-ensure-scan-up-to-date):
10613 Don't clear&mark dependent regions.
10615 2013-05-15 Leo Liu <sdl.web@gmail.com>
10617 * progmodes/octave.el (octave-goto-function-definition):
10618 Improve and fix callers.
10620 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10622 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10623 the setter (bug#14387).
10625 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10626 surrounding group (bug#14402).
10628 2013-05-14 Juri Linkov <juri@jurta.org>
10630 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10633 2013-05-14 Glenn Morris <rgm@gnu.org>
10635 * progmodes/f90.el (f90-imenu-generic-expression):
10636 Fix typo in 2013-05-08 change. (Bug#14402)
10638 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10640 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10641 Remove signals for which replies are never received.
10643 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10645 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10646 (gdb-handler-alist, gdb-handler-number): Remove variables.
10647 (gdb-handler-list): New variable.
10648 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10649 (gdb-pending-handler-p, gdb-handle-reply)
10650 (gdb-remove-all-pending-triggers): New functions.
10651 (gdb-discard-unordered-replies): New defcustom.
10652 (gdb-handler): New defstruct.
10653 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10654 instead of gdb-pending-triggers. Update docstring.
10655 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10656 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10657 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10658 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10659 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10660 (gdb-frame-handler): Pending triggers are now automatically managed.
10661 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10663 (gdb-input): Automatically handles pending triggers. Update docstring.
10664 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10665 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10667 (gdb-done-or-error): Now use gdb-handle-reply.
10669 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10671 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10674 2013-05-14 Glenn Morris <rgm@gnu.org>
10676 * subr.el (user-emacs-directory-warning): New option.
10677 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10679 2013-05-14 Leo Liu <sdl.web@gmail.com>
10681 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10683 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10684 (octave-font-lock-texinfo-comment): Fix invalid search bound
10685 error: wrong side of point.
10687 2013-05-14 Glenn Morris <rgm@gnu.org>
10689 * progmodes/flymake.el (flymake-xml-program): New option.
10690 (flymake-xml-init): Use it.
10692 * term/xterm.el: Provide a feature.
10694 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10696 2013-05-13 Glenn Morris <rgm@gnu.org>
10698 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10699 Add compat aliases as a hack workaround. (Bug#14384)
10701 2013-05-13 Leo Liu <sdl.web@gmail.com>
10703 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10705 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10707 (octave-comment-start-skip): Include %!.
10708 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10710 2013-05-12 Leo Liu <sdl.web@gmail.com>
10712 * progmodes/octave.el (inferior-octave-startup): Store the value
10713 of __octave_srcdir__ for octave-source-directories.
10714 (inferior-octave-check-process): New function refactored out of
10715 inferior-octave-send-list-and-digest.
10716 (octave-source-directories)
10717 (octave-find-definition-filename-function): New variables.
10718 (octave-source-directories)
10719 (octave-find-definition-default-filename): New functions.
10720 (octave-find-definition): Improve to find functions implemented in C++.
10722 2013-05-12 Glenn Morris <rgm@gnu.org>
10724 * calendar/diary-lib.el (diary-outlook-format-1):
10725 Don't include dayname in the output. (Bug#14349)
10727 2013-05-11 Glenn Morris <rgm@gnu.org>
10729 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10731 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10732 Treat cc-provide like provide.
10734 2013-05-11 Kevin Ryde <user42@zip.com.au>
10736 * cus-dep.el (custom-make-dependencies):
10737 Use generated-autoload-load-name for the sake of files such
10738 such cedet/semantic/bovine/c.el, where the base file name
10739 is not in load-path. (Bug#5277)
10741 2013-05-11 Glenn Morris <rgm@gnu.org>
10743 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10746 2013-05-11 Leo Liu <sdl.web@gmail.com>
10748 * progmodes/octave.el (octave-indent-comment): Improve.
10749 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10750 (octave-eldoc-function-signatures, octave-eldoc-function):
10752 (octave-mode, inferior-octave-mode): Add eldoc support.
10754 2013-05-11 Richard Stallman <rms@gnu.org>
10756 * epa.el (epa-decrypt-file): Take output file name as argument
10757 and read it using `interactive'.
10759 2013-05-11 Leo Liu <sdl.web@gmail.com>
10761 * progmodes/octave.el (octave-beginning-of-line)
10762 (octave-end-of-line): Check before using up-list because it jumps
10763 out of more syntactic contructs since moving to smie.
10764 (octave-indent-comment): New function.
10765 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10766 (octave-begin-keywords, octave-end-keywords)
10767 (octave-reserved-words, octave-smie-bnf-table)
10768 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10770 2013-05-11 Glenn Morris <rgm@gnu.org>
10772 * faces.el (internal-face-x-get-resource):
10773 * frame.el (ns-display-monitor-attributes-list):
10774 * calc/calc-aent.el (math-to-radians-2):
10775 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10778 * calc/calc-menu.el: Make it loadable in isolation.
10780 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10781 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10782 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10783 (eudc-bbdb-query-internal): Require 'bbdb.
10785 * lpr.el (lpr-headers-switches):
10786 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10788 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10790 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10792 * term.el (term-set-escape-char): Make it idempotent.
10794 2013-05-10 Leo Liu <sdl.web@gmail.com>
10796 * progmodes/octave.el (inferior-octave-completion-table):
10797 No longer a function and all uses changed. Use cache to speed up
10798 completion due to bug#11906.
10799 (octave-beginning-of-defun): Re-write to be more general.
10801 2013-05-10 Glenn Morris <rgm@gnu.org>
10803 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10805 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10807 * comint.el (comint-redirect-send-command-to-process): Use :around
10808 rather than :override for comint-redirect-filter.
10809 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10810 Call it instead of comint-redirect-original-filter-function (which
10811 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10813 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10815 * frame.el (display-monitor-attributes-list): Add NS case.
10816 (ns-display-monitor-attributes-list): Declare.
10818 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10820 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10822 2013-05-09 Glenn Morris <rgm@gnu.org>
10824 * international/fontset.el (vertical-centering-font-regexp):
10825 Set standard-value.
10827 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10829 * bookmark.el (bookmark-search-delay):
10830 * cus-start.el (vertical-centering-font-regexp):
10831 * ps-mule.el (ps-mule-font-info-database-default):
10832 * ps-print.el (ps-default-fg, ps-default-bg):
10833 * type-break.el (type-break-good-break-interval):
10834 * whitespace.el (whitespace-indentation-regexp)
10835 (whitespace-space-after-tab-regexp):
10836 * emacs-lisp/testcover.el (testcover-1value-functions)
10837 (testcover-noreturn-functions, testcover-progn-functions)
10838 (testcover-prog1-functions):
10839 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10840 * eshell/em-glob.el (eshell-glob-translate-alist):
10841 * play/tetris.el (tetris-tty-colors):
10842 * progmodes/cpp.el (cpp-face-default-list):
10843 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10844 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10845 (idlwave-help-browser-generic-args):
10846 * progmodes/make-mode.el (makefile-special-targets-list):
10847 * progmodes/python.el (python-shell-virtualenv-path):
10848 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10849 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10850 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10851 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10852 * textmodes/reftex-vars.el (reftex-format-label-function):
10853 * textmodes/remember.el (remember-diary-file): Fix custom types.
10855 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10858 2013-05-09 Leo Liu <sdl.web@gmail.com>
10860 * progmodes/octave.el (inferior-octave-completion-at-point):
10861 Restore file completion. (Bug#14300)
10862 (inferior-octave-startup): Fix incorrect highlighting for the
10865 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10867 * progmodes/ruby-mode.el: First cut at SMIE support.
10868 (ruby-use-smie): New var.
10869 (ruby-smie-grammar): New constant.
10870 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10871 (ruby-smie--forward-token, ruby-smie--backward-token)
10872 (ruby-smie-rules): New functions.
10873 (ruby-mode-variables): Setup SMIE if applicable.
10875 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10877 * simple.el (line-move-visual): Signal beginning/end of buffer
10878 only if vertical-motion moved less than it was requested. Avoids
10879 silly incorrect error messages when there are display strings with
10880 multiple newlines at EOL.
10882 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10885 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10886 (prolog-char-quote-workaround):
10887 * progmodes/cperl-mode.el (cperl-under-as-char):
10888 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10890 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10892 (vhdl-mode-syntax-table-init): Remove.
10894 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10897 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10899 (ld-script-font-lock-keywords):
10900 Change regexps to use things like \_< and \_>.
10902 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10903 Change all regexps to use things like \_< and \_>.
10905 * progmodes/autoconf.el (autoconf-definition-regexp)
10906 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10907 Handle a _ with symbol syntax.
10908 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10910 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10911 Consolidate declaration.
10912 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10914 (ada-create-syntax-table): Remove.
10915 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10916 already has the right syntax nowadays.
10917 (ada-goto-next-word): Don't change the syntax of "_".
10919 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10922 2013-05-08 Sam Steingold <sds@gnu.org>
10924 * thingatpt.el (thing-at-point): Accept optional second argument
10925 NO-PROPERTIES to strip the text properties from the return value.
10926 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10927 to `thing-at-point' instead of stripping the properties ourselves.
10928 Also, when `thing-at-point' fails to find a url, prepend "http://"
10929 to the filename at point on the assumption that the user is
10930 pointing at something like gnu.org/gnu.
10932 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10934 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10935 * faces.el (crm-separator):
10936 Silence byte-compiler.
10938 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10939 (tool-bar-map): Remove unneeded defvars.
10941 2013-05-08 Leo Liu <sdl.web@gmail.com>
10943 Re-work a fix for bug#10994 based on Le Wang's patch.
10944 * ido.el (ido-remove-consecutive-dups): New helper.
10945 (ido-completing-read): Use it.
10946 (ido-chop): Revert fix for bug#10994.
10948 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10950 * cus-edit.el (custom-save-variables):
10951 Pretty-print long values. (Bug#14187)
10953 2013-05-08 Glenn Morris <rgm@gnu.org>
10955 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10956 (m4-mode-syntax-table): Init in the defvar.
10957 (m4-mode-abbrev-table): Let define-derived-mode define it.
10959 2013-05-08 Tom Tromey <tromey@redhat.com>
10961 * progmodes/m4-mode.el (m4-mode-syntax-table):
10962 Do not treat "_" as word constituent. (Bug#14167)
10964 2013-05-07 Glenn Morris <rgm@gnu.org>
10966 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10967 Remove explicit eshell-isearch-cancel-map.
10969 * progmodes/f90.el (f90-smart-end-names): New option.
10970 (f90-smart-end): Doc fix.
10971 (f90-end-block-optional-name): New constant.
10972 (f90-block-match): Respect f90-smart-end-names.
10974 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10976 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10977 about implicit semi-colons (bug#14218).
10979 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10981 * frame.el (display-monitor-attributes-list)
10982 (frame-monitor-attributes): New functions.
10984 2013-05-06 Leo Liu <sdl.web@gmail.com>
10986 * progmodes/octave.el (octave-syntax-propertize-function): Change
10987 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10988 (octave-font-lock-keywords): Use octave-operator-regexp.
10989 (octave-completion-at-point): Rename from
10990 octave-completion-at-point-function.
10991 (inferior-octave-directory-tracker): Robustify.
10992 (octave-text-functions): Remove and fix its uses. No such things
10995 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10997 * emacs-lisp/trace.el (trace--display-buffer): New function.
10998 (trace-make-advice): Use it.
11000 2013-05-06 Juri Linkov <juri@jurta.org>
11002 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11003 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11005 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11006 in the help string. (Bug#12985)
11008 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11010 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11012 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11014 * progmodes/perl-mode.el: Add support for here documents.
11015 (perl-syntax-propertize-function): Match here-doc markers.
11016 (perl-syntax-propertize-special-constructs): Find their end.
11017 (perl-imenu-generic-expression): Use [:alnum:].
11019 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11020 (advice--add-function): Refresh the advice if already present
11023 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11025 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11027 2013-05-06 Glenn Morris <rgm@gnu.org>
11029 * w32-fns.el (w32-charset-info-alist): Declare.
11031 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11032 of its defcustom properties.
11033 (eshell-cmpl-initialize): No need to load pcomplete.
11035 * generic-x.el: No need to require comint when compiling.
11037 * net/eudc-export.el: Make it loadable without bbdb.
11038 (top-level): Use require rather than load-library.
11039 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11040 (eudc-batch-export-records-to-bbdb)
11041 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11044 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11047 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11048 some tweaks, instead.
11050 2013-05-05 Leo Liu <sdl.web@gmail.com>
11052 * progmodes/octave.el (octave-font-lock-keywords)
11053 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11054 (inferior-octave-send-list-and-digest): Improve error message.
11055 (octave-mode, inferior-octave-mode): Use setq-local.
11056 (octave-help): Set info-lookup-mode.
11058 2013-05-05 Richard Stallman <rms@gnu.org>
11060 * vc/compare-w.el (compare-windows-whitespace):
11061 Treat no-break space as whitespace.
11063 * mail/rmailsum.el (rmail-summary-rmail-update):
11064 Detect empty summary and don't change selected message.
11065 (rmail-summary-goto-msg): Likewise.
11067 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11068 Doc fixes, rename args.
11070 2013-05-05 Alan Mackenzie <acm@muc.de>
11072 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11074 2013-05-05 Juri Linkov <juri@jurta.org>
11076 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11077 to not add the length of the summary segment to the return value.
11080 2013-05-05 Leo Liu <sdl.web@gmail.com>
11082 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11083 (inferior-octave-output-filter): Remove.
11084 (octave-send-region, inferior-octave-startup): Fix callers.
11085 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11086 (octave-binary-file-extensions): New user variable.
11087 (octave-find-definition): Confirm if opening binary files.
11088 (octave-help-file): Use octave-find-definition to get the binary
11090 (octave-help): Adjust for octave-help-file change.
11092 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11094 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11095 Merge the two entries that handle function definitions.
11096 (pascal--syntax-propertize): New const.
11097 (pascal-mode): Use it. Use setq-local.
11099 2013-05-04 Glenn Morris <rgm@gnu.org>
11101 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11102 (diary-from-outlook): Respect diary-from-outlook-function.
11104 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11106 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11107 Move the declaration from C.
11108 (read-minibuffer, eval-minibuffer): Move from C.
11109 (completion-setup-function): Avoid minibuffer-completion-contents.
11111 2013-05-03 Leo Liu <sdl.web@gmail.com>
11113 * progmodes/octave.el (octave-font-lock-keywords): Do not
11114 dehighlight 'end' in comments or strings.
11115 (octave-completing-read, octave-goto-function-definition):
11117 (octave-help-buffer): New user variable.
11118 (octave-help-file, octave-help-function): New button types.
11119 (octave-help): New command and bind it to C-h ;.
11120 (octave-find-definition): New command and bind it to M-.
11121 (user-error): Alias to error if not defined.
11123 2013-05-02 Leo Liu <sdl.web@gmail.com>
11125 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11127 (octave-font-lock-keywords): Include [ and {.
11129 2013-05-02 Leo Liu <sdl.web@gmail.com>
11131 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11132 (inferior-octave): Remove calling comint-mode and return the buffer.
11133 (inferior-octave-startup): Cosmetic changes.
11135 2013-05-02 Leo Liu <sdl.web@gmail.com>
11137 * progmodes/octave.el (octave-syntax-propertize-function):
11138 Include the case when ' is at line beginning. (Bug#14336)
11140 2013-05-02 Glenn Morris <rgm@gnu.org>
11142 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11143 * desktop.el (vc-dir-mode): Just autoload it here.
11145 2013-05-02 Alan Mackenzie <acm@muc.de>
11147 Eliminate variable c-standard-font-lock-fontify-region-function.
11148 * progmodes/cc-mode.el
11149 (c-standard-font-lock-fontify-region-function): Remove.
11150 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11152 2013-05-01 Leo Liu <sdl.web@gmail.com>
11154 * progmodes/octave.el: Compatible with older emacs-24 releases.
11155 (inferior-octave-has-built-in-variables): Remove. Built-in
11156 variables were removed from Octave in 2007.
11157 (inferior-octave-startup): Fix uses.
11158 (comint-line-beginning-position): Remove compatibility code for
11161 2013-05-01 Juri Linkov <juri@jurta.org>
11163 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11165 2013-05-01 Juri Linkov <juri@jurta.org>
11167 * comint.el (comint-previous-matching-input): Don't print message
11168 "History item: %d" when `isearch-mode' is active.
11169 (comint-history-isearch-message): Print message "History item: %d"
11170 when `comint-input-ring-index' is not empty and this function is
11171 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11173 2013-05-01 Leo Liu <sdl.web@gmail.com>
11175 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11176 definitions. Use completion-at-point to insert keywords.
11177 (octave-abbrev-start): Remove.
11178 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11180 2013-04-30 Leo Liu <sdl.web@gmail.com>
11182 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11185 2013-04-30 Alan Mackenzie <acm@muc.de>
11187 Handle arbitrarily long C++ member initialisation lists.
11188 * progmodes/cc-engine.el (c-back-over-member-initializers):
11190 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11191 (most) member init lists.
11193 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11195 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11198 2013-04-30 Leo Liu <sdl.web@gmail.com>
11200 * progmodes/octave.el (octave-variables): Remove. No builtin
11201 variables any more. All converted to functions.
11202 (octave-font-lock-keywords, octave-completion-at-point-function):
11204 (octave-font-lock-texinfo-comment): New user variable.
11205 (octave-texinfo-font-lock-keywords): New variable for texinfo
11207 (octave-function-comment-block): New face.
11208 (octave-font-lock-texinfo-comment): New function.
11209 (octave-mode): Font lock texinfo comment block.
11211 2013-04-29 Leo Liu <sdl.web@gmail.com>
11213 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11214 indexing expression.
11215 (octave-continuation-string): Do not use \.
11216 (inferior-octave-complete-impossible): Remove.
11217 (inferior-octave-completion-table)
11218 (inferior-octave-completion-at-point): Remove its uses.
11219 (inferior-octave-startup): completion_matches was introduced to
11220 Octave in 1996 so safe to assume it.
11221 (octave-function-file-comment): Improve to follow how Octave does it.
11222 (octave-update-function-file-comment): Tweak.
11224 2013-04-29 Leo Liu <sdl.web@gmail.com>
11226 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11227 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11228 (octave-function-file-comment): Fix typo.
11229 (octave-sync-function-file-names): Use read-char-choice.
11231 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11233 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11234 to t for the less important warnings.
11236 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11238 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11240 2013-04-27 Glenn Morris <rgm@gnu.org>
11242 * vc/log-view.el (log-view-current-entry):
11243 Treat "---" separator lines as part of the following rev. (Bug#14169)
11245 2013-04-27 Juri Linkov <juri@jurta.org>
11247 * subr.el (read-number): Doc fix about using it by interactive
11248 code letter `n'. (Bug#14254)
11250 2013-04-27 Juri Linkov <juri@jurta.org>
11252 * desktop.el (desktop-auto-save-timeout): New option.
11253 (desktop-file-checksum): New variable.
11254 (desktop-save): Add optional arg `auto-save' and don't auto-save
11255 if nothing changed.
11256 (desktop-auto-save-timer): New variable.
11257 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11258 (after-init-hook): Call `desktop-auto-save-set-timer'.
11259 Suggested by Reuben Thomas <rrt@sc3d.org> in
11260 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11262 2013-04-27 Leo Liu <sdl.web@gmail.com>
11264 * progmodes/octave.el (octave-function-file-p)
11265 (octave-skip-comment-forward, octave-function-file-comment)
11266 (octave-update-function-file-comment): New functions.
11267 (octave-mode-map): Bind C-c ; to
11268 octave-update-function-file-comment.
11269 (octave-mode-menu): Add octave-update-function-file-comment.
11270 (octave-mode, inferior-octave-mode): Fix doc-string.
11271 (octave-insert-defun): Conform to Octave's coding convention.
11274 * files.el (basic-save-buffer): Don't let errors in
11275 before-save-hook prevent saving buffer.
11277 2013-04-20 Roland Winkler <winkler@gnu.org>
11279 * faces.el (read-face-name): Use completing-read if arg multiple
11282 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11284 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11285 displayed, move point to after the totals line.
11286 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11289 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11291 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11292 Add current dir to the load-path.
11293 (package-generate-autoloads): Don't rely on
11294 autoload-ensure-default-file.
11296 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11298 * textmodes/remember.el (remember-store-in-files): Document that
11299 the file name format is passed to `format-time-string'.
11301 2013-04-26 Leo Liu <sdl.web@gmail.com>
11303 * progmodes/octave.el (octave-sync-function-file-names): New function.
11304 (octave-mode): Use it in before-save-hook.
11306 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11308 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11311 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11312 \n and comment, even if it's not an implicit ; (bug#14218).
11314 2013-04-26 Glenn Morris <rgm@gnu.org>
11316 * subr.el (read-number): Once more use `read' rather than
11317 `string-to-number', to trap non-numeric input. (Bug#14254)
11319 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11321 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11322 Use `syntax-multiline' text property consistently instead of
11323 `font-lock-multiline'. (Bug#14237)
11325 2013-04-26 Glenn Morris <rgm@gnu.org>
11327 * emacs-lisp/shadow.el (list-load-path-shadows):
11328 No longer necessary to check for duplicate simple.el, since
11329 2012-07-07 change to init_lread to not include installation lisp
11330 directories in load-path when running uninstalled. (Bug#14270)
11332 2013-04-26 Leo Liu <sdl.web@gmail.com>
11334 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11335 (octave-mode, inferior-octave-mode): Use setq-local.
11336 (octave-not-in-string-or-comment-p): Rename to
11337 octave-in-string-or-comment-p.
11338 (octave-in-comment-p, octave-in-string-p)
11339 (octave-in-string-or-comment-p): Replace defsubst with defun.
11341 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11343 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11345 2013-04-25 Bastien Guerry <bzg@gnu.org>
11347 * textmodes/remember.el (remember-data-directory)
11348 (remember-directory-file-name-format): Fix custom types.
11350 2013-04-25 Leo Liu <sdl.web@gmail.com>
11352 * progmodes/octave.el (octave-completion-at-point-function):
11353 Make use of inferior octave process.
11354 (octave-initialize-completions): Remove.
11355 (inferior-octave-completion-table): New function.
11356 (inferior-octave-completion-at-point): Use it.
11357 (octave-completion-alist): Remove.
11359 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11362 (opascal-mode-syntax-table): New var.
11363 (opascal-literal-kind, opascal-is-literal-end)
11364 (opascal-literal-token-at): Rewrite.
11365 (opascal--literal-start-re, opascal-font-lock-keywords)
11366 (opascal--syntax-propertize): New constants.
11367 (opascal-font-lock-defaults): Adjust.
11368 (opascal-mode): Use them. Set comment-<foo> variables as well.
11369 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11370 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11371 (delphi-other-face, opascal-other-face): Remove face variables.
11372 (opascal-save-state): Remove macro.
11373 (opascal-fontifying-progress-step): Remove constant.
11374 (opascal--ignore-changes): Remove var.
11375 (opascal-set-token-property, opascal-parse-next-literal)
11376 (opascal-is-stable-literal, opascal-complete-literal)
11377 (opascal-is-literal-start, opascal-face-of)
11378 (opascal-parse-region, opascal-parse-region-until-stable)
11379 (opascal-fontify-region, opascal-after-change)
11380 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11381 (opascal-debug-parse-region, opascal-debug-parse-window)
11382 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11383 (opascal-debug-fontify-buffer): Remove.
11384 (opascal-debug-mode-map): Adjust accordingly.
11386 2013-04-25 Leo Liu <sdl.web@gmail.com>
11388 Merge octave-mod.el and octave-inf.el into octave.el with some
11390 * progmodes/octave.el: New file renamed from octave-mod.el.
11391 * progmodes/octave-inf.el: Merged into octave.el.
11392 * progmodes/octave-mod.el: Renamed to octave.el.
11394 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11396 * textmodes/reftex-vars.el
11397 (reftex-label-ignored-macros-and-environments): New defcustom.
11399 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11401 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11403 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11404 (smie-indent-keyword): Improve the check to ensure that the next
11405 comment is really on the same line.
11406 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11408 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11409 semi-colons if the line is not otherwise empty (bug#14218).
11411 2013-04-25 Glenn Morris <rgm@gnu.org>
11413 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11415 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * progmodes/opascal.el (opascal-set-token-property): Rename from
11418 opascal-set-text-properties and only set `token' (bug#14134).
11419 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11420 (opascal-literal-text-properties): Remove.
11421 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11424 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11426 * textmodes/remember.el (remember-handler-functions): Add an
11427 option for a new handler `remember-store-in-files'.
11428 (remember-data-directory, remember-directory-file-name-format):
11430 (remember-store-in-files): New function to store remember notes
11431 as separate files within a directory.
11433 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11435 * progmodes/compile.el (compilation-next-error-function):
11436 Pass "formats" to compilation-find-file (bug#11777).
11438 2013-04-24 Glenn Morris <rgm@gnu.org>
11440 * vc/vc-bzr.el (vc-bzr-print-log):
11441 * vc/vc-hg.el (vc-hg-print-log):
11442 * vc/vc-svn.el (vc-svn-print-log):
11443 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11445 * vc/vc-bzr.el (vc-bzr-print-log):
11446 * vc/vc-cvs.el (vc-cvs-print-log):
11447 * vc/vc-git.el (vc-git-print-log):
11448 * vc/vc-hg.el (vc-hg-print-log):
11449 * vc/vc-mtn.el (vc-mtn-print-log):
11450 * vc/vc-rcs.el (vc-rcs-print-log):
11451 * vc/vc-sccs.el (vc-sccs-print-log):
11452 * vc/vc-svn.el (vc-svn-print-log):
11453 * vc/vc.el (vc-print-log-internal): Doc fixes.
11455 2013-04-23 Glenn Morris <rgm@gnu.org>
11457 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11458 Remove venerable code attempting to avoid substitute-command-keys.
11460 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11462 * textmodes/reftex-vars.el (reftex-label-regexps):
11463 Call `reftex-compile-variables' after changes to this variable.
11465 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11467 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11468 Use lexical-binding.
11469 (jit-lock-force-redisplay): Use markers, check buffer's continued
11470 existence and beware narrowed buffers.
11471 (jit-lock-fontify-now): Adjust call accordingly.
11473 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11475 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11476 to avoid misleading the user.
11478 2013-04-22 Leo Liu <sdl.web@gmail.com>
11480 * info-look.el: Prefer latex2e.info. (Bug#14240)
11482 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11484 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11486 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11487 * net/tramp.el (tramp-call-process): ... here.
11488 (tramp-set-completion-function, tramp-parse-putty):
11489 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11490 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11491 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11492 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11493 (tramp-call-local-coding-command): Use `tramp-call-process'
11494 instead of `tramp-compat-call-process'.
11496 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11497 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11498 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11499 (tramp-find-inline-compress): Improve traces.
11500 (tramp-maybe-send-script): Check for Perl binary.
11501 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11503 2013-04-22 Daiki Ueno <ueno@gnu.org>
11505 * epg.el (epg-context-pinentry-mode): New function.
11506 (epg-context-set-pinentry-mode): New function.
11507 (epg--start): Pass --pinentry-mode option to gpg command.
11509 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11511 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11512 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11513 `completion-at-point'. (Bug#13774)
11515 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11516 default key binding for `describe-distribution' has been moved to
11517 `C-h C-o'. (Bug#13970)
11519 2013-04-21 Glenn Morris <rgm@gnu.org>
11521 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11523 (vc-print-log): Clarify interactive prompt.
11525 2013-04-20 Glenn Morris <rgm@gnu.org>
11527 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11528 No longer include timestamp etc information.
11530 2013-04-20 Roland Winkler <winkler@gnu.org>
11532 * faces.el (read-face-name): Bug fix, return just one face if arg
11533 multiple is nil. (Bug#14209)
11535 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11537 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11538 (remove-function): Autoload.
11540 * comint.el (comint-redirect-original-filter-function): Remove.
11541 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11542 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11543 (vc-cvs-annotate-command):
11544 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11545 * progmodes/prolog.el (prolog-consult-compile):
11546 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11547 Use add/remove-function instead.
11548 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11549 (gud-tooltip-process-output, gud-tooltip-tips):
11550 Use add/remove-function instead.
11551 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11552 (scheme-interaction-mode, exit-scheme-interaction-mode):
11553 Use add/remove-function instead.
11555 * vc/vc-dispatcher.el: Use lexical-binding.
11556 (vc--process-sentinel): Rename from vc-process-sentinel.
11557 Change last arg to be the code to run. Don't use vc-previous-sentinel
11558 and vc-sentinel-commands any more.
11559 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11560 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11562 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11564 * progmodes/sh-script.el (sh-imenu-generic-expression):
11565 Handle function names with a single character. (Bug#14111)
11567 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11569 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11570 for subroutines defined in an eval (bug#14182).
11572 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11574 * bookmark.el (bookmark-completing-read): Improve handling of empty
11575 string (bug#14176).
11577 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11579 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11581 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11583 New faster Imenu implementation (bug#14058).
11584 * progmodes/python.el:
11585 (python-imenu-prev-index-position):
11586 (python-imenu-format-item-label-function)
11587 (python-imenu-format-parent-item-label-function)
11588 (python-imenu-format-parent-item-jump-label-function):
11590 (python-imenu-format-item-label)
11591 (python-imenu-format-parent-item-label)
11592 (python-imenu-format-parent-item-jump-label)
11593 (python-imenu--put-parent, python-imenu--build-tree)
11594 (python-imenu-create-index, python-imenu-create-flat-index)
11595 (python-util-popn): New functions.
11596 (python-mode): Set imenu-create-index-function to
11597 python-imenu-create-index.
11599 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11601 * winner.el (winner-active-region): Use region-active-p, activate-mark
11602 and deactivate-mark (bug#14225).
11604 * simple.el (deactivate-mark): Don't inline it.
11606 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11608 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11610 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11612 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11613 file extensions from the archive-mode entry in order to prefer
11614 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11616 2013-04-18 Leo Liu <sdl.web@gmail.com>
11618 * bindings.el (help-event-list): Add ?\?.
11620 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11622 * subr.el (with-wrapper-hook): Declare obsolete.
11623 * simple.el (filter-buffer-substring-function): New hook.
11624 (filter-buffer-substring): Use it.
11625 (filter-buffer-substring-functions): Mark obsolete.
11626 * minibuffer.el (completion-in-region-function): New hook.
11627 (completion-in-region): Use it.
11628 (completion-in-region-functions): Mark obsolete.
11629 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11630 * abbrev.el (abbrev-expand-function): New hook.
11631 (expand-abbrev): Use it.
11632 (abbrev-expand-functions): Mark obsolete.
11633 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11634 and :filter-return.
11636 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11638 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11639 and do not care about match data.
11641 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11644 completion tables when completing error conditions and
11645 `declare' arguments.
11646 (lisp-complete-symbol, field-complete): Mark as obsolete.
11647 (check-parens): Unmatched parens are user errors.
11648 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11650 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11652 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11653 command changed buffer (ie. `flyspell-pre-buffer' is not current
11654 buffer), which prevents making decisions based on invalid value of
11655 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11656 cause an error when `flyspell-pre-point' was nil after switching
11658 (flyspell-post-command-hook): No longer needs to change buffers when
11659 checking pre-word. While at it remove unnecessary progn.
11661 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11663 * textmodes/ispell.el (ispell-add-per-file-word-list):
11664 Fix `flyspell-correct-word-before-point' error when accepting
11665 words and `coment-padding' is an integer by using
11666 `comment-normalize-vars' (Bug #14214).
11668 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11670 New defun movement commands.
11671 * progmodes/python.el (python-nav--syntactically)
11672 (python-nav--forward-defun, python-nav-backward-defun)
11673 (python-nav-forward-defun): New functions.
11675 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11677 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11678 (python-syntax-context): Use named compiler-macro for backwards
11679 compatibility with Emacs 24.x.
11681 2013-04-17 Leo Liu <sdl.web@gmail.com>
11683 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11684 octave-hide-process-buffer.
11686 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11688 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11691 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11693 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11694 Fix adjustment of offset when receiving incomplete responses from GDB
11697 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11699 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11700 python-mode-abbrev-table.
11701 (python-skeleton-define): Adjust accordingly.
11702 (python-mode-abbrev-table): New table that inherits from it so that
11703 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11705 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11706 (abbrev-symbol): Use it.
11707 (abbrev--before-point): Use it since we already handle inheritance.
11709 2013-04-16 Leo Liu <sdl.web@gmail.com>
11711 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11712 binding to info-lookup-symbol.
11714 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11716 * minibuffer.el (completion--twq-all):
11717 * term/ns-win.el (ns-initialize-window-system):
11718 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11720 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11722 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11725 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11727 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11729 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11730 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11732 (ruby-end-of-defun): Remove the unused arg, change the docstring
11733 to reflect that this function is only used as the value of
11734 `end-of-defun-function'.
11735 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11736 to reflect an earlier change that beginning/end-of-defun functions
11737 jump between methods in a class definition, as well as top-level
11740 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11742 * minibuffer.el (minibuffer-complete): Don't just scroll
11743 a *Completions* that's been iconified.
11744 (minibuffer-force-complete): Make sure repetitions do cycle when going
11745 through completion-in-region -> minibuffer-complete.
11747 2013-04-15 Alan Mackenzie <acm@muc.de>
11749 Correct the placement of c-cpp-delimiters when there're #s not at
11752 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11753 place a submatch around the #.
11754 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11755 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11758 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11760 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11761 (advice--member-p): New arg `name'.
11762 (advice--add-function, advice-member-p): Use it (bug#14202).
11764 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11766 Reformulate java imenu-generic-expression.
11767 The old expression contained ill formed regexps.
11769 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11770 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11771 (cc-imenu-java-method-arg-regexp): New defconsts.
11772 (cc-imenu-java-build-type-args-regex): New defun.
11773 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11774 handling of spaces in the regexp.
11776 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11778 * textmodes/ispell.el (ispell-command-loop): Remove
11779 flyspell highlight of a word when ispell accepts it (bug #14178).
11781 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11783 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11784 uses code from the previous `ange-ftp-run-real-handler'.
11785 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11786 only in case that function exist. This is needed for proper
11787 unloading of Tramp.
11789 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11791 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11793 * textmodes/reftex.el (reftex-compile-variables): Use it.
11795 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11797 * files.el (normal-mode): Only use default major-mode if no other mode
11800 * emacs-lisp/trace.el (trace-values): New function.
11802 * files.el: Allow : in local variables (bug#14089).
11803 (hack-local-variable-regexp): New var.
11804 (hack-local-variables-prop-line, hack-local-variables): Use it.
11806 2013-04-13 Roland Winkler <winkler@gnu.org>
11808 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11809 data before it gets modified by bibtex-beginning-of-entry.
11811 2013-04-13 Roland Winkler <winkler@gnu.org>
11813 * textmodes/bibtex.el (bibtex-url): Doc fix.
11815 2013-04-13 Roland Winkler <winkler@gnu.org>
11817 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11818 does not visit a BibTeX file, exclude it from the list of buffers
11819 returned by bibtex-initialize.
11821 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11823 * window.el (split-window): Remove interactive form, since as a
11824 command this function is a special case of split-window-below.
11825 Correct doc string.
11827 2013-04-12 Roland Winkler <winkler@gnu.org>
11829 * faces.el (read-face-name): Do not override value of arg default.
11830 Allow single faces and strings as default values. Remove those
11831 elements from return value that are not faces.
11832 (describe-face): Simplify.
11833 (face-at-point): New optional args thing and multiple so that this
11834 function can provide the same functionality previously provided by
11836 (make-face-bold, make-face-unbold, make-face-italic)
11837 (make-face-unitalic, make-face-bold-italic, invert-face)
11838 (modify-face, read-face-and-attribute): Use face-at-point.
11840 * cus-edit.el (customize-face, customize-face-other-window)
11841 * cus-theme.el (custom-theme-add-face)
11842 * face-remap.el (buffer-face-set)
11843 * facemenu.el (facemenu-set-face): Use face-at-point.
11845 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11847 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11849 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11851 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11852 off leading { and trailing } from field values.
11854 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11856 * emacs-lisp/timer.el (timer--check): New function.
11857 (timer--time, timer-set-function, timer-event-handler): Use it.
11858 (timer-set-idle-time): Simplify.
11859 (timer--activate): CSE.
11860 (timer-event-handler): Give more info in error message.
11861 (internal-timer-start-idle): New function, moved from C.
11863 * mpc.el (mpc-proc): Add `restart' argument.
11864 (mpc-proc-cmd): Use it.
11865 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11866 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11869 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11871 * progmodes/sh-script.el: Implement `sh-mode' own
11872 `add-log-current-defun-function' (bug#14112).
11873 (sh-current-defun-name): New function.
11874 (sh-mode): Use the function.
11876 2013-04-09 Bastien Guerry <bzg@gnu.org>
11878 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11880 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11882 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11884 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11887 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11889 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11892 2013-04-07 Leo Liu <sdl.web@gmail.com>
11894 * pcmpl-x.el: New file.
11896 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11898 Do not set x-display-name until X connection is established.
11899 This is needed to prevent from weird situation described at
11900 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11901 * frame.el (make-frame): Set x-display-name after call to
11902 window system initialization function, not before.
11903 * term/x-win.el (x-initialize-window-system): Add optional
11904 display argument and use it.
11905 * term/w32-win.el (w32-initialize-window-system):
11906 * term/ns-win.el (ns-initialize-window-system):
11907 * term/pc-win.el (msdos-initialize-window-system):
11908 Add compatible optional display argument.
11910 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11912 * files.el (normal-backup-enable-predicate): On MS-Windows and
11913 MS-DOS compare truenames of temporary-file-directory and of the
11914 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11915 don't fail comparison by compare-strings. Also, compare file
11916 names case-insensitively on MS-Windows and MS-DOS.
11918 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11920 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11921 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11923 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11925 * whitespace.el (whitespace-color-on, whitespace-color-off):
11926 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11928 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11930 * ispell.el (ispell-set-spellchecker-params):
11931 Really set `ispell-args' for all equivs.
11933 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11935 * ido.el (ido-completions): Use extra elements of ido-decorations
11937 (ido-decorations): Update docstring.
11939 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11941 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11942 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11943 nil during initialization, in order not to miss changes since the
11944 file was opened. (Bug#14140)
11946 2013-04-05 Leo Liu <sdl.web@gmail.com>
11948 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11950 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11952 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11954 2013-04-04 Glenn Morris <rgm@gnu.org>
11956 * electric.el (electric-pair-inhibit-predicate): Add :version.
11958 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11960 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11961 when a package is required several times (bug#14082).
11963 2013-04-04 Roland Winkler <winkler@gnu.org>
11965 * faces.el (read-face-name): Behave as promised by the docstring.
11966 Assume that arg default is a list of faces.
11967 (describe-face): Call read-face-name with list of default faces.
11969 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11971 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11972 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11973 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11975 (bookmark-exit-hook-internal): Save even if list is empty.
11977 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11979 * emacs-lisp/package.el (package-pinned-packages): New var.
11980 (package--add-to-archive-contents): Obey it (bug#14118).
11982 2013-04-03 Alan Mackenzie <acm@muc.de>
11984 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11985 Also adapt to the new values of element 7 of a parse state.
11987 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11988 parameter `not-in-delimiter'. Handle being inside comment opener.
11989 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11990 character in case we're typing a '*' after a '/'.
11991 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11992 instead by passing the parameter to c-state-pp-to-literal.
11994 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11995 for elt. 7 of a parse state.
11997 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11999 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12000 * international/latin1-disp.el, international/mule-util.el:
12001 * language/cyril-util.el, language/european.el, language/ind-util.el:
12002 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12003 * language/tibetan.el, language/viet-util.el:
12004 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12006 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12008 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12009 (electric-pair-post-self-insert-function): Use it.
12010 (electric-pair-default-inhibit): New function, extracted from
12011 electric-pair-post-self-insert-function.
12013 2013-03-31 Roland Winkler <winkler@gnu.org>
12015 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12017 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12019 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12021 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12023 Un-indent after "pass" and "return" statements (Bug#13888)
12024 * progmodes/python.el (python-indent-block-enders): New var.
12025 (python-indent-calculate-indentation): Use it.
12027 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12029 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12030 defun. Defining it as defalias could introduce too eager
12031 byte-compiler optimization. (Bug#14030)
12033 2013-03-30 Chong Yidong <cyd@gnu.org>
12035 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12037 2013-03-30 Leo Liu <sdl.web@gmail.com>
12039 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12040 (kmacro-execute-from-register): Pass the keyboard macro to
12041 kmacro-call-macro or repeating won't work correctly.
12043 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12045 * progmodes/subword.el: Back to using `forward-symbol'.
12047 * subr.el (forward-whitespace, forward-symbol)
12048 (forward-same-syntax): Move from thingatpt.el.
12050 2013-03-29 Leo Liu <sdl.web@gmail.com>
12052 * kmacro.el (kmacro-to-register): New command.
12053 (kmacro-execute-from-register): New function.
12054 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12056 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12058 * mpc.el: Use defvar-local and setq-local.
12059 (mpc--proc-connect): Connection failures are not bugs.
12060 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12061 (mpc-volume-map): Bind to the up-events.
12063 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12065 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12066 instead of `forward-symbol'.
12068 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12070 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12071 (edebug--recursive-edit): Use it.
12072 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12073 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12075 2013-03-28 Leo Liu <sdl.web@gmail.com>
12077 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12079 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12081 * facemenu.el (list-colors-callback): New defvar.
12082 (list-colors-redisplay): New function.
12083 (list-colors-display): Install list-colors-redisplay as the
12084 revert-buffer-function. (Bug#14063)
12086 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12088 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12089 and suffixes don't overlap (bug#14061).
12091 * case-table.el: Use lexical-binding.
12092 (case-table-get-table): New function.
12093 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12095 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12097 * progmodes/subword.el: Add `superword-mode' to do word motion
12098 over symbol_words (parallels and leverages `subword-mode' which
12099 does word motion inside MixedCaseWords).
12101 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12103 * eshell/em-unix.el: Move su and sudo to...
12104 * eshell/em-tramp.el: ...Eshell tramp module.
12106 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12108 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12109 Change return value to be a sexp. Delay `get-buffer' to after
12110 restoring the desktop (bug#13951).
12112 2013-03-26 Leo Liu <sdl.web@gmail.com>
12114 * register.el: Move semantic tag handling back to
12115 cedet/semantic/senator.el. (Bug#14052)
12117 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12119 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12120 into the prompt either (bug#13963).
12122 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12124 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12125 part of "(error-foo)".
12127 2013-03-24 Juri Linkov <juri@jurta.org>
12129 * replace.el (list-matching-lines-prefix-face): New defcustom.
12130 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12131 `occur-engine' if `face-differs-from-default-p' returns t.
12132 (occur-engine): Add `,' inside backquote construct to evaluate
12133 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12134 Pass `prefix-face' to the functions `occur-context-lines' and
12135 `occur-engine-add-prefix'.
12136 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12137 `prefix-face' and propertize the prefix with `prefix-face'.
12140 2013-03-24 Leo Liu <sdl.web@gmail.com>
12142 * nxml/rng-valid.el (rng-validate-while-idle)
12143 (rng-validate-quick-while-idle): Guard against deleted buffer.
12146 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12147 is the last entry in kill-buffer-hook.
12149 * files.el (kill-buffer-hook): Doc fix.
12151 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12153 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12154 Make it safe-local.
12156 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12158 2013-03-23 Leo Liu <sdl.web@gmail.com>
12160 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12163 * nxml/rng-valid.el (rng-validate-mode)
12164 (rng-after-change-function, rng-do-some-validation):
12165 * nxml/rng-maint.el (rng-validate-buffer):
12166 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12167 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12168 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12169 (nxml-extend-after-change-region): Use with-silent-modifications.
12171 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12174 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12175 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12176 timer-idle-list. (Bug#13999)
12178 2013-03-23 Juri Linkov <juri@jurta.org>
12180 * info.el (info-index-match): New face.
12181 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12182 main pattern and add text properties with the new face to matches
12183 in index entries relative to the beginning of the index entry.
12186 2013-03-21 Eric Ludlam <zappo@gnu.org>
12188 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12189 Inhibit read only while inserting objects.
12191 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12193 * progmodes/cfengine.el: Update docs to mention
12194 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12195 symbol motion. Remove "_" from the word syntax.
12197 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12199 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12200 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12202 2013-03-20 Juri Linkov <juri@jurta.org>
12204 * info.el (Info-next-reference-or-link)
12205 (Info-prev-reference-or-link): New functions.
12206 (Info-next-reference, Info-prev-reference): Use them.
12207 (Info-try-follow-nearest-node): Handle footnote navigation.
12208 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12210 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12212 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12213 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12215 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12217 Suppress unnecessary non-ASCII chatter during build process.
12218 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12219 (batch-skkdic-convert): Suppress most of the chatter.
12220 It's not needed so much now that machines are faster,
12221 and its non-ASCII component was confusing; see Dmitry Gutov in
12222 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12224 2013-03-20 Leo Liu <sdl.web@gmail.com>
12226 * ido.el (ido-chop): Fix bug#10994.
12228 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12230 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12232 (whitespace-color-on, whitespace-color-off):
12233 Use `font-lock-fontify-buffer' (Bug#13817).
12235 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12237 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12238 remapping in mode-line.
12239 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12241 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12243 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12244 value for `whitespace-line' face (Bug#13875).
12245 (whitespace-font-lock-keywords): Change description.
12246 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12247 the constructed keywords instead.
12248 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12250 2013-03-19 Leo Liu <sdl.web@gmail.com>
12252 * progmodes/compile.el (compilation-display-error): New command.
12253 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12256 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12258 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12260 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12262 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12264 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12266 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12268 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12269 * net/tramp-gvfs.el (top):
12270 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12271 (tramp-handle-shell-command): Use it.
12272 (tramp-dissect-file-name): Raise an error when hostname is a
12273 method name, and neither method nor user is specified.
12275 * net/trampver.el: Update release number.
12277 2013-03-18 Leo Liu <sdl.web@gmail.com>
12279 Make sure eldoc can be turned off properly.
12280 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12282 (eldoc-display-message-p): Revert last change.
12283 (eldoc-display-message-no-interference-p)
12284 (eldoc-print-current-symbol-info): Tweak.
12286 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12288 * doc-view.el (doc-view-new-window-function): Check the new window
12289 overlay's display property instead the char property of the
12290 buffer's first char. Use `with-selected-window' instead of
12291 `save-window-excursion' with `select-window'.
12292 (doc-view-document->bitmap): Check the current doc-view overlay's
12293 display property instead the char property of the buffer's first char.
12295 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12297 Automate the build of ja-dic.el (Bug#13984).
12298 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12299 from the input, rather than assume that it's been done for us by the
12300 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12301 the current date into a ja-dic.el comment, as that complicates
12302 regression testing.
12304 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12306 * whitespace.el: Fix double evaluation.
12307 (whitespace-space, whitespace-hspace, whitespace-tab)
12308 (whitespace-newline, whitespace-trailing, whitespace-line)
12309 (whitespace-space-before-tab, whitespace-indentation)
12310 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12312 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12313 (whitespace-color-on): Use a single font-lock-add-keywords call.
12314 Fix double-evaluation of face variables.
12316 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12318 * net/tramp-adb.el (tramp-adb-parse-device-names):
12319 Use `start-process' instead of `call-process'. Otherwise, the
12320 function might be blocked under MS Windows. (Bug#13299)
12322 2013-03-17 Leo Liu <sdl.web@gmail.com>
12324 Extend eldoc to display info in the mode-line. (Bug#13978)
12325 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12326 (eldoc-mode-line-string): New variable.
12327 (eldoc-minibuffer-message): New function.
12328 (eldoc-message-function): New variable.
12329 (eldoc-message): Use it.
12330 (eldoc-display-message-p)
12331 (eldoc-display-message-no-interference-p):
12332 Support eldoc-post-insert-mode.
12334 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12335 (eval-expression): Run it.
12337 2013-03-17 Roland Winkler <winkler@gnu.org>
12339 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12340 strings in the list of return values.
12342 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12344 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12345 radix before checking for HMS forms.
12347 2013-03-16 Leo Liu <sdl.web@gmail.com>
12349 * progmodes/scheme.el: Add indentation and font-locking for λ.
12352 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12354 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12355 token before point (bug#13942).
12357 2013-03-16 Leo Liu <sdl.web@gmail.com>
12359 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12361 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12363 * startup.el (command-line-normalize-file-name): Fix handling of
12364 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12365 <xfq.free@gmail.com> in
12366 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12368 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12370 Sync with Tramp 2.2.7.
12372 * net/trampver.el: Update release number.
12374 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12376 * doc-view.el: Fix bug#13887.
12377 (doc-view-insert-image): Don't modify overlay associated to
12378 non-live windows, and implement horizontal centering of image in
12379 case it's smaller than the window.
12380 (doc-view-new-window-function): Force redisplay of new windows on
12383 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12385 * saveplace.el (save-place-alist-to-file): Don't sort
12386 `save-place-alist', just pretty-print it (bug#13882).
12388 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12390 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12391 Check whether `default-file-name-coding-system' is bound.
12392 It isn't in XEmacs.
12394 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12396 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12397 backquotes for `obsolete' (bug#13929).
12399 * international/mule.el (find-auto-coding): Include file name in
12400 obsolescence warning (bug#13922).
12402 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12404 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12405 for CFEngine 3-specific indentation.
12406 (cfengine3-indent-line): Use it. Fix up category regex.
12407 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12409 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12411 * type-break.el (type-break-file-name):
12412 * textmodes/remember.el (remember-data-file):
12413 * strokes.el (strokes-file):
12414 * shadowfile.el (shadow-initialize):
12415 * saveplace.el (save-place-file):
12416 * ps-bdf.el (bdf-cache-file):
12417 * progmodes/idlwave.el (idlwave-config-directory):
12418 * net/quickurl.el (quickurl-url-file):
12419 * international/kkc.el (kkc-init-file-name):
12420 * ido.el (ido-save-directory-list-file):
12421 * emulation/viper.el (viper-custom-file-name):
12422 * emulation/vip.el (vip-startup-file):
12423 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12424 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12426 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12428 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12429 * language/thai-word.el: Switch to UTF-8.
12431 See ChangeLog.16 for earlier changes.
12433 ;; Local Variables:
12437 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12439 This file is part of GNU Emacs.
12441 GNU Emacs is free software: you can redistribute it and/or modify
12442 it under the terms of the GNU General Public License as published by
12443 the Free Software Foundation, either version 3 of the License, or
12444 (at your option) any later version.
12446 GNU Emacs is distributed in the hope that it will be useful,
12447 but WITHOUT ANY WARRANTY; without even the implied warranty of
12448 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12449 GNU General Public License for more details.
12451 You should have received a copy of the GNU General Public License
12452 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.