1 2014-01-08 David Engster <deng@randomsample.de>
3 * help-fns.el (help-fns-describe-function-functions): New
4 variable to call functions for augmenting help buffers.
5 (describe-function-1): Remove explicit calls to
6 `help-fns--compiler-macro', `help-fns--parent-mode' and
7 `help-fns--obsolete'. Put them in above new variable instead, and
8 call them through `run-hook-with-args'.
9 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
10 `eieio-describe-class'. Not meant for interactive use anymore,
11 but to augment existing help buffers. Remove optional second
12 argument. Create proper button for file location. Rewrite
13 function to use `insert' instead of `princ' and `prin1' where
15 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
16 (eieio-method-def, eieio-class-def): Move further up.
17 (describe-method, describe-generic, eieio-describe-method): Remove
19 (eieio-help-constructor, eieio-help-generic): Rename from
20 `eieio-describe-constructor' and `eieio-describe-generic', resp.
21 Rewrite to use `insert' in the current buffer and use proper help
23 (eieio-help-find-method-definition)
24 (eieio-help-find-class-definition): Also accept symbols as
26 (eieio-help-mode-augmentation-maybee): Remove.
27 (eieio-describe-class-sb): Use `describe-function'.
28 * emacs-lisp/eieio.el (help-fns-describe-function-functions): Add
29 `eieio-help-generic' and `eieio-help-constructor'.
31 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
34 * language/china-util.el (hz-ascii-designation):
35 Rename from hz-ascii-designnation.
36 (hz-ascii-designation): Rename from hz-ascii-designnation.
39 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
41 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
44 2014-01-08 Bastien Guerry <bzg@gnu.org>
46 * emacs-lisp/package.el (package-delete):
47 Correctly delete the package from package-alist.
49 2014-01-08 Daiki Ueno <ueno@gnu.org>
51 * emacs-lisp/package.el (url-recreate-url): Declare.
52 (url-http-target-url): Declare.
53 (package-handle-response): Include requested URL in the error message.
54 (package--check-signature): Don't re-signal errors from
55 package--with-work-buffer. Suggested by Stefan Monnier.
57 2014-01-07 Bastien Guerry <bzg@gnu.org>
59 * minibuffer.el (completion--try-word-completion): When both a
60 hyphen and a space are possible candidates for the character
61 following a word, display both candidates. (Bug#15980)
63 2014-01-07 Martin Rudalics <rudalics@gmx.at>
65 * window.el (balance-windows-2): While rounding don't give a
66 window more than the remainder. Bug#16351, Bug#16383.
68 2014-01-07 Glenn Morris <rgm@gnu.org>
70 * menu-bar.el (menu-bar-help-extra-packages): Remove.
71 (menu-bar-help-menu): Use view-external-packages instead.
73 2014-01-07 Bastien Guerry <bzg@gnu.org>
75 * emacs-lisp/package.el (package-delete): Also delete the package
76 name from `package-alist', not its description only.
78 2014-01-07 Glenn Morris <rgm@gnu.org>
80 * help.el (view-external-packages):
81 * menu-bar.el (menu-bar-help-extra-packages):
82 Visit efaq.info rather than etc/MORE.STUFF.
84 2014-01-07 Juri Linkov <juri@jurta.org>
86 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
87 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
89 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
90 that shadows RET. (Bug#16342)
92 2014-01-07 Chong Yidong <cyd@gnu.org>
94 * isearch.el (isearch-yank-char, isearch-yank-word)
95 (isearch-yank-line): Doc fix.
97 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
99 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
100 * emacs-lisp/elint.el (elint-find-builtins):
101 * emacs-lisp/eldoc.el (eldoc-symbol-function):
102 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
103 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
104 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
105 * apropos.el (apropos-safe-documentation):
106 * subr.el (symbol-file): Remove redundant fboundp.
107 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
109 2014-01-06 Bastien Guerry <bzg@gnu.org>
111 * hl-line.el (global-hl-line-overlay): Make a local variable.
112 (global-hl-line-overlays): New variable to store all overlays.
113 (global-hl-line-mode): Don't delete overlays from the current
114 buffer when `global-hl-line-sticky-flag' is non-nil.
115 (global-hl-line-highlight): Add new overlays to
116 `global-hl-line-overlays'.
117 (global-hl-line-unhighlight-all): New function to delete all
118 overlays when turning off `global-hl-line-mode'.
119 This fixes Bug#16183.
121 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
123 * subr.el (set-transient-map): Fix nested case and docstring.
125 2014-01-06 Tassilo Horn <tsdh@gnu.org>
127 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
130 2014-01-06 Daniel Colascione <dancol@dancol.org>
132 Fix defun navigation in vc log view.
134 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
135 like `beginning-of-defun'.
136 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
137 log-view-end-of-defun to log-view-end-of-defun-1. Replace
138 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
139 (log-view-extract-comment): Call `log-view-current-entry' directly
140 instead of relying on broken `log-view-beginning-of-defun' behavior.
142 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
145 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
146 * emacs-lisp/debug.el (cancel-debug-on-entry):
147 * epg.el (epg-error-to-string):
148 * files.el (recover-file):
149 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
150 * mail/emacsbug.el (report-emacs-bug-hook):
151 * mail/sendmail.el (mail-recover):
152 * ses.el (ses-yank-resize):
153 * term/ns-win.el (ns-print-buffer):
154 Spelling fixes in diagnostics, mostly for "canceled" with one L.
155 * epg.el (epg-key-capability-alist): Rename from misspelled version.
157 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
159 2014-01-06 Leo Liu <sdl.web@gmail.com>
161 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
162 to avoid shadowning global key. (Bug#16354)
164 2014-01-06 Daniel Colascione <dancol@dancol.org>
166 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
169 2014-01-05 Martin Rudalics <rudalics@gmx.at>
171 * window.el (balance-windows): Add mising t to fix Bug#16351.
173 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
175 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
177 (shr-insert): If we have a word that's longer than `shr-width',
178 break after it anyway. Otherwise we'll do no breaking once we get
181 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
183 * net/eww.el (eww): Support single/double quote for search.
184 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
185 (eww-history-quit): Delete and use quit-window.
186 (eww-history-kill): Delete, because it doesn't work well and
188 (eww-history-mode-map): Delete some keys and add easy-menu.
190 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
192 Fix misspelling of 'chinese' in rx (Bug#16237).
193 * emacs-lisp/rx.el (rx-categories): Correct spelling of
196 Change subword regexps back to vars (Bug#16296).
197 * progmodes/subword.el (subword-forward-regexp)
198 (subword-backward-regexp): Change these back to variables.
200 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
202 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
203 syntax-begin-function (bug#16247).
205 2014-01-03 Chong Yidong <cyd@gnu.org>
207 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
208 (advice--docstring): Delete variable.
209 (advice--make-1): Leave the docstring empty.
210 (advice-add): Use function-documentation for advised docstring.
212 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
213 Ignore function-documentation property when getting documentation.
214 (ad-activate-advised-definition): Use function-documentation
215 generate the docstring.
216 (ad-make-advised-definition): Don't call
217 ad-make-advised-definition-docstring.
218 (ad-make-advised-definition-docstring, ad-advised-definition-p):
221 * progmodes/sql.el (sql-help): Use function-documentation instead
222 of dynamic-docstring-function property. No need to autoload now.
223 (sql--help-docstring): New variable.
224 (sql--make-help-docstring): Use it.
226 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
228 * ielm.el (ielm-tab): Retarget.
229 (ielm-map): Use ielm-tab for tab.
230 (ielm-complete-filename): Use comint-filename-completion.
231 (ielm-complete-symbol): Remove.
232 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
233 remove ielm-tab from completion-at-point-functions (bug#16224).
235 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
236 Beware signals raised by predicates (bug#16201).
238 2014-01-02 Richard Stallman <rms@gnu.org>
240 * dired-aux.el (dired-do-print): Handle printer-name.
242 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
243 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
244 (rmail-epa-decrypt): Turn off mime processing.
246 * mail/rmail.el (rmail-make-in-reply-to-field):
247 Add parens in message-id.
249 * mail/rmail.el (rmail-get-coding-function): Variable.
250 (rmail-get-coding-system): Use it.
252 2013-12-31 Eli Zaretskii <eliz@gnu.org>
254 * international/mule-conf.el: Unify the charset indian-is13194.
255 (indian-is13194): Specify unify-map.
257 2013-12-31 Leo Liu <sdl.web@gmail.com>
259 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
261 2013-12-30 Daniel Colascione <dancol@dancol.org>
263 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
264 of printing a useless when we resume from sleep.
266 * progmodes/sh-script.el
267 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
268 in indentation code. (Bug#16233)
270 2013-12-28 João Távora <joaotavora@gmail.com>
272 * elec-pair.el (electric-pair-post-self-insert-function):
273 Don't open extra newlines at beginning of buffer. (Bug#16272)
275 2013-12-28 Eli Zaretskii <eliz@gnu.org>
277 * frame.el (window-system-for-display): Don't allow to create a
278 GUI frame from a -nw session on MS-Windows. (Bug#14739)
280 2013-12-28 Glenn Morris <rgm@gnu.org>
282 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
285 * apropos.el (apropos-match-face):
286 * calculator.el (calculator-displayer):
287 * dabbrev.el (dabbrev-search-these-buffers-only):
288 * face-remap.el (buffer-face-mode-face):
289 * simple.el (yank-handled-properties):
290 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
291 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
292 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
293 (hashcash-double-spend-database):
294 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
295 (ruby-deep-indent-paren-style):
296 * textmodes/flyspell.el (flyspell-auto-correct-binding):
297 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
298 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
299 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
300 Specify custom types.
302 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
303 * bookmark.el (bookmark-bmenu-use-header-line):
304 * doc-view.el (doc-view-scale-internally):
305 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
306 * register.el (register-preview-delay):
307 * net/shr.el (shr-bullet):
308 * progmodes/cfengine.el (cfengine-cf-promises)
309 (cfengine-parameters-indent):
310 * progmodes/octave.el (inferior-octave-error-regexp-alist):
311 * textmodes/reftex-vars.el (reftex-label-regexps):
312 * vc/log-edit.el (log-edit-setup-add-author): Add version.
314 * net/tls.el (tls-certtool-program): Fix default value.
316 * desktop.el (desktop-restore-in-current-display):
317 * newcomment.el (comment-empty-lines):
318 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
319 (idlwave-pad-keyword):
320 * progmodes/tcl.el (tcl-tab-always-indent):
321 * textmodes/reftex-vars.el (reftex-index-default-tag):
322 * elec-pair.el (electric-pair-skip-whitespace):
323 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
325 * emacs-lisp/authors.el (authors-ignored-files)
326 (authors-valid-file-names, authors-renamed-files-alist): Additions.
328 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
330 * shell.el (shell-dynamic-complete-command): Doc fix.
331 (shell--command-completion-data): Shell completion now matches
332 executable filenames from the current buffer's directory, on
333 systems in which this behavior is the default (windows-nt, ms-dos).
335 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
337 * net/shr.el (shr-insert): Don't infloop if the width is zero.
339 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
341 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
344 * electric.el: Move all electric-pair-* to elec-pair.el.
345 * elec-pair.el: New file, split from electric.el.
347 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
349 * net/shr.el (shr-find-fill-point): Don't try to fill if the
350 indentation level is larger than the width, because that will
352 (shr-insert): Fill repeatedly long texts, so that Japanese is
353 formatted correctly (bug#16263).
354 (shr-find-fill-point): Off by one error in comparison with the
357 2013-12-26 João Távora <joaotavora@gmail.com>
359 * electric.el (electric-pair-mode): More flexible engine for skip-
360 and inhibit predicates, new options for pairing-related functionality.
361 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
362 if that keeps or improves their balance in buffers.
363 (electric-pair-delete-adjacent-pairs): Delete the pair when
364 backspacing over adjacent matched delimiters.
365 (electric-pair-open-extra-newline): Open extra newline when
366 inserting newlines between adjacent matched delimiters.
367 (electric--sort-post-self-insertion-hook):
368 Sort post-self-insert-hook according to priority values when
369 minor-modes are activated.
370 * simple.el (newline-and-indent): Call newline with interactive
372 (blink-paren-post-self-insert-function): Set priority to 100.
373 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
374 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
375 comments. Locally set electric-pair-skip-whitespace to 'chomp and
376 electric-pair-open-newline-between-pairs to nil.
378 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
380 * progmodes/python.el: Use lexical-binding.
381 (python-nav-beginning-of-defun): Stop searching ASAP.
383 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
385 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
386 Fix interactive spec. Doc fix. (Bug#15754)
388 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
390 * emacs-lisp/byte-run.el (eval-when-compile):
391 * progmodes/cc-defs.el (cc-eval-when-compile):
392 Fix edebug spec (bug#16184).
394 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
396 * net/shr.el (shr-visit-file): Remove debugging function.
397 (shr-insert): Don't infloop if we can't find a good place to break
398 the line (bug#16256).
400 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
402 * progmodes/python.el:
403 (python-nav--lisp-forward-sexp): New function.
404 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
405 python-nav-lisp-forward-sexp-safe.
406 (python-nav--forward-sexp): New argument SAFE allows switching
407 forward sexp movement behavior for parens.
408 (python-nav-forward-sexp): Throw errors on unterminated parens
410 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
411 (python-nav-backward-sexp-safe): New functions.
412 (python-shell-buffer-substring):
413 Use `python-nav-forward-sexp-safe'.
415 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
417 * net/shr.el (shr-find-fill-point): Don't break lines before a
419 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
420 (shr-find-fill-point): Remove the special checks for the quotation
421 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
423 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
425 * net/eww.el (eww-form-textarea): Use a different face for
426 textareas than text input since they have different keymaps
429 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
431 * progmodes/python.el (python-nav-beginning-of-statement):
432 Speed up (Bug#15295).
434 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
436 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
437 the window configuration.
439 2013-12-24 Eli Zaretskii <eliz@gnu.org>
441 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
442 we run on MS-Windows or MS-DOS.
444 2013-12-24 Martin Rudalics <rudalics@gmx.at>
446 * window.el (balance-windows-area): Call window-size instead of
447 window-height and window-width. Bug#16241.
449 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
451 * net/eww.el (eww-bookmark-quit): Remove.
452 (eww-bookmark-browse): Restore the window configuration when you
453 choose a bookmark (bug#16144).
455 2013-12-24 Daniel Colascione <dancol@dancol.org>
457 * icomplete.el: Remove redundant :group arguments to `defcustom'
459 (icomplete-show-matches-on-no-input): New customizable variable.
460 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
461 we have something to show.
462 (icomplete-exhibit): Compute completions even if we have no user input.
464 2013-12-23 Daniel Colascione <dancol@dancol.org>
466 * icomplete.el: Move `provide' to end of file.
468 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
470 * net/gnutls.el (gnutls-verify-error): Add version tag.
472 2013-12-23 Chong Yidong <cyd@gnu.org>
474 * subr.el (set-transient-map): Rename from
475 set-temporary-overlay-map. Doc fix.
477 * face-remap.el (text-scale-adjust):
478 * indent.el (indent-rigidly):
479 * kmacro.el (kmacro-call-macro):
480 * minibuffer.el (minibuffer-force-complete):
481 * repeat.el (repeat):
482 * simple.el (universal-argument--mode):
483 * calendar/todo-mode.el (todo-insert-item--next-param):
484 * progmodes/f90.el (f90-abbrev-start): Callers changed.
486 * indent.el (indent-rigidly): Use substitute-command-keys.
488 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
490 * net/eww.el (eww-tag-select): Add text-property to jump to next
492 (eww): Add non-supported ftp error.
494 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
496 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
497 comments. Handle electric indent after typing `?' and `!'.
499 2013-12-22 Chong Yidong <cyd@gnu.org>
501 * faces.el (face-spec-recalc): If the theme specs are not
502 applicable to a frame, fall back on the defface spec.
503 This prevents themes from obliterating faces on low-color terminals.
505 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
507 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
508 after `{'. We need it after block openers, and it doesn't seem
509 to hurt after hash openers.
511 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
513 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
514 extracted from `ruby-smie-rules'.
515 (ruby--electric-indent-chars): New variable.
516 (ruby--electric-indent-p): New function.
517 (ruby-mode): Use `electric-indent-functions' instead of
518 `electric-indent-chars'.
520 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
522 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
524 (ruby-smie-rules): Indent plus one level after `=>'.
526 2013-12-21 Richard Stallman <rms@gnu.org>
528 * simple.el (newline): Doc fix.
530 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
532 * net/eww.el (eww-list-histories, eww-list-histories)
533 (eww-history-browse, eww-history-quit, eww-history-kill)
534 (eww-history-mode-map, eww-history-mode): New command and
535 functions to list browser histories.
536 (eww-form-text): Support text form with disabled
537 and readonly attributes.
538 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
540 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
542 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
543 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
544 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
545 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
547 (eww-bookmark-mode-map): Add menu.
548 (eww-render, eww-mode): Use `setq-local'.
549 (eww-tool-bar-map): New variable.
550 (eww-mode): Set `tool-bar-map'.
551 (eww-view-source): Check for `html-mode' with `fboundp'.
553 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
555 * net/shr.el (shr--extract-best-source): Don't bug out on audio
556 elements with text inside. Also remove debugging.
558 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
560 * cus-start.el (all): Add ns-use-srgb-colorspace.
562 2013-12-21 Chong Yidong <cyd@gnu.org>
564 * custom.el (custom-theme-recalc-face): Do nothing if the face is
565 undefined. Thus, theme settings for undefined faces do not take
566 effect until the faces are defined with defface, the same as with
569 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
570 (face-spec-reset-face): Don't assign extra properties in temacs.
571 (face-spec-recalc): Apply X resources too.
573 2013-12-21 Chong Yidong <cyd@gnu.org>
575 * faces.el (face-spec-set):
576 * cus-face.el (custom-theme-set-faces, custom-set-faces):
577 * custom.el (defface): Doc fixes (Bug#16203).
579 * indent.el (indent-rigidly-map): Add docstring, and move commands
580 into named functions.
581 (indent-rigidly-left, indent-rigidly-right)
582 (indent-rigidly-left-to-tab-stop)
583 (indent-rigidly-right-to-tab-stop): New functions. Decide on
584 indentation direction based on bidi direction, and accumulate
585 sequential commands in a single undo boundary.
586 (indent-rigidly--pop-undo): New utility function.
588 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
590 * faces.el (read-face-name): Require crm.el when using crm-separator.
592 2013-12-20 Daniel Colascione <dancol@dancol.org>
594 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
595 so that we don't reflow comments into the shebang line.
597 2013-12-20 Juri Linkov <juri@jurta.org>
599 * saveplace.el (save-place-to-alist): Add `dired-filename' as
600 a position when `dired-directory' is non-nil. Check integer
601 positions with `integerp'.
602 (toggle-save-place, save-places-to-alist): Add check for
604 (save-place-find-file-hook): Check integer positions with
606 (save-place-dired-hook): Use `dired-goto-file' when
607 `dired-filename' is found in the assoc list. Check integer
608 positions with `integerp'.
609 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
611 * dired.el (dired-initial-position-hook): Rename back from
612 `dired-initial-point-hook'.
613 (dired-initial-position): Rename `dired-initial-point-hook' to
614 `dired-initial-position-hook'.
615 (dired-file-name-at-point): Doc fix. (Bug#15329)
617 2013-12-20 Juri Linkov <juri@jurta.org>
619 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
620 (read-regexp-suggestions): New function.
621 (read-regexp): Use `read-regexp-defaults-function' to get default values.
622 Use `read-regexp-suggestions'. Add non-empty default to history
624 (occur-read-regexp-defaults-function): Remove function.
625 (occur-read-primary-args): Use `regexp-history-last' instead of
626 `occur-read-regexp-defaults-function'.
628 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
629 (hi-lock-line-face-buffer, hi-lock-face-buffer)
630 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
631 `hi-lock-read-regexp-defaults-function'. Doc fix.
632 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
633 with `find-tag-default-as-symbol-regexp'. Doc fix.
634 (hi-lock-read-regexp-defaults): Remove function.
635 (hi-lock-regexp-okay): Add check for null.
637 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
638 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
640 * subr.el (find-tag-default-as-symbol-regexp): New function.
641 (find-tag-default-as-regexp): Move symbol regexp formatting to
642 `find-tag-default-as-symbol-regexp'.
644 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
646 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
649 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
651 * calendar/todo-mode.el: New implementation of item insertion
652 commands and key bindings.
653 (todo-key-prompt): New face.
654 (todo-insert-item): New command.
655 (todo-insert-item--parameters): New defconst, replacing defvar
656 todo-insertion-commands-args-genlist.
657 (todo-insert-item--param-key-alist): New defconst, replacing
658 defvar todo-insertion-commands-arg-key-list.
659 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
660 (todo-insert-item--argsleft, todo-insert-item--apply-args)
661 (todo-insert-item--next-param): New functions.
662 (todo-insert-item--args, todo-insert-item--argleft)
663 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
665 (todo-key-bindings-t): Change binding of "i" from
666 todo-insertion-map to todo-insert-item.
667 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
668 (todo-insertion-command-name, todo-insertion-commands-names)
669 (todo-define-insertion-command, todo-insertion-commands)
670 (todo-insertion-key-bindings, todo-insertion-map): Remove.
672 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
674 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
675 (todo-toggle-item-highlighting): Use eval-and-compile instead of
677 (todo-move-category): Allow choosing a non-existing todo file to
678 move the category to, and create that file.
679 (todo-default-priority): New user option.
680 (todo-set-item-priority): Use it.
681 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
682 (desktop-restore-file-buffer): Declare.
683 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
684 (todo-modes-set-2): Locally set desktop-save-buffer to
685 todo-desktop-save-buffer.
686 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
687 (auto-mode-alist): Add autoload cookie.
689 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
691 * emacs-lisp/subr-x.el: Renamed from helpers.el.
692 helpers.el was a poor choice of name.
693 (string-remove-prefix): New function.
694 (string-remove-suffix): New function.
696 2013-12-20 Martin Rudalics <rudalics@gmx.at>
698 Fix assignment for new window total sizes.
699 * window.el (window--pixel-to-size): Remove function.
700 (window--pixel-to-total-1, window--pixel-to-total):
701 Fix calculation of new total sizes.
703 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
705 * comint.el (comint-output-filter): Fix rear-nonsticky property
706 placement (Bug#16010).
708 2013-12-20 Chong Yidong <cyd@gnu.org>
710 * faces.el (read-color): Minor fix for completion function.
712 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
714 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
715 New option. (Bug#16182)
716 (ruby-smie--indent-to-stmt-p): Use it.
717 (ruby-smie-rules): Revert the logic in the handling of `when'.
718 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
719 (ruby-deep-arglist, ruby-deep-indent-paren)
720 (ruby-deep-indent-paren-style): Update docstrings to note that the
721 vars don't have any effect with SMIE.
723 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
725 * calc/calc.el (calc-enter, calc-pop): Use the variable
726 `calc-context-sensitive-enter'.
728 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
730 * net/shr.el (shr-insert): Protect against infloops in degenerate
733 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
735 * progmodes/octave.el (octave): Add link to manual and octave
737 (octave-mode-menu): Link to octave-mode manual.
739 2013-12-20 Leo Liu <sdl.web@gmail.com>
741 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
742 insertion using skeleton-end-newline. (Bug#16138)
744 2013-12-20 Juri Linkov <juri@jurta.org>
746 * replace.el (occur-engine): Use `add-face-text-property'
747 to add the face property to matches and titles. (Bug#14645)
749 * hi-lock.el (hi-green): Use lighter color "light green" closer to
750 the palette of other hi-lock colors.
751 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
753 2013-12-19 Juri Linkov <juri@jurta.org>
755 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
756 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
757 (minibuffer-history-symbol): Move variable declaration closer to
760 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
763 2013-12-19 Juri Linkov <juri@jurta.org>
765 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
767 (log-edit-hook): Add it to :options. (Bug#16170)
769 2013-12-19 Juri Linkov <juri@jurta.org>
771 * simple.el (eval-expression-print-format): Don't check for
772 command names and the last command. Always display additional
773 formats of the integer result in the echo area, and insert them
774 to the current buffer only with a zero prefix arg.
775 Display character when char-displayable-p is non-nil.
776 (eval-expression): With a zero prefix arg, set `print-length' and
777 `print-level' to nil, and insert the integer values from
778 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
780 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
781 `eval-last-sexp-arg-internal'. Doc fix.
782 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
783 `eval-last-sexp-print-value'. Doc fix.
784 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
785 Set `print-length' and `print-level' to nil when arg is zero.
786 (eval-last-sexp): Doc fix.
787 (eval-defun-2): Print the integer values from
788 `eval-expression-print-format' at the end.
790 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
791 values from `eval-expression-print-format' at the end.
793 * ielm.el (ielm-eval-input): Print the integer
794 values from `eval-expression-print-format' at the end.
796 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
798 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
799 2013-12-11T19:01:44Z!tzz@lifelogs.com.
801 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
803 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
804 (hl-line-highlight, global-hl-line-highlight): Use it.
805 (hl-line-overlay): Use defvar-local.
807 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
809 * term/ns-win.el: Require dnd.
810 (global-map): Remove drag items.
811 (ns-insert-text, ns-set-foreground-at-mouse)
812 (ns-set-background-at-mouse):
813 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
814 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
817 2013-12-19 Glenn Morris <rgm@gnu.org>
819 * emacs-lisp/ert.el (ert-select-tests):
820 Fix string/symbol mixup. (Bug#16121)
822 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
824 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
825 keywords to their parent.
827 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
829 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
830 first arg to be a string (fixed dead code), or an operator symbol.
831 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
833 (ruby-smie-rules): Remove parent token check in the `.' clause, it
834 did nothing. Don't respond to `(:after ".")', it will be called
835 with :before anyway. Remove the ` @ ' rule, it didn't seem to
836 change anything. Only return indentation for binary operators
837 when they are hanging. De-dent opening paren when its parent is
838 `.', otherwise it looks bad when the dot is not at bol or eol
841 2013-12-19 Juri Linkov <juri@jurta.org>
843 * replace.el (query-replace-read-args): Split a non-negative arg
844 and a negative arg into separate elements.
845 (query-replace, query-replace-regexp, replace-string)
846 (replace-regexp): Add arg `backward'. Doc fix.
847 (replace-match-maybe-edit): When new arg `backward' is non-nil,
848 move point to the beginning of the match.
849 (replace-search, replace-highlight): Use new arg `backward'
850 to set the value of `isearch-forward'.
851 (perform-replace): Add arg `backward' and use it to perform
852 replacement backward. (Bug#14979)
854 * isearch.el (isearch-query-replace): Use a negative prefix arg
855 to call `perform-replace' with a non-nil arg `backward'.
857 2013-12-18 Juri Linkov <juri@jurta.org>
859 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
860 to the default list. Move `log-edit-show-files' to the end.
861 Add more available functions to options.
862 (log-edit): Move default specific settings to
863 `log-edit-insert-message-template'. Don't move point.
864 (log-edit-insert-message-template): New function.
865 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
868 2013-12-18 Juri Linkov <juri@jurta.org>
870 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
871 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
873 2013-12-18 Leo Liu <sdl.web@gmail.com>
875 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
878 2013-12-18 Eli Zaretskii <eliz@gnu.org>
880 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
881 formats for displaying file sizes when the -s switch is given.
882 Instead, compute a separate format for displaying the size in
883 blocks, which is displayed in addition to the "regular" size.
884 When -h is given in addition to -s, produce size in blocks in
885 human-readable form as well. (Bug#16179)
887 2013-12-18 Tassilo Horn <tsdh@gnu.org>
889 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
890 Reference tables with ~\ref{...} instead of only \ref{...}.
892 2013-12-18 Chong Yidong <cyd@gnu.org>
894 * cus-edit.el (custom-magic-alist): Fix "themed" description
897 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
898 is non-nil, do not create a new entry in the symbol's theme-value
899 or theme-face property; update theme-settings only (Bug#14664).
900 (custom-available-themes): Doc fix.
902 * cus-theme.el (custom-new-theme-mode-map): Add bindings
905 * replace.el (occur-engine): Avoid infloop (Bug#7593).
907 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
909 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
912 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
914 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
916 2013-12-18 Glenn Morris <rgm@gnu.org>
918 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
919 * cus-start.el (load-prefer-newer): New option.
921 2013-12-18 Le Wang <l26wang@gmail.com>
923 * comint.el (comint-previous-matching-input-from-input):
924 Retain point (Bug#13404).
926 2013-12-18 Chong Yidong <cyd@gnu.org>
928 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
930 2013-12-18 Glenn Morris <rgm@gnu.org>
932 * mail/emacsbug.el (report-emacs-bug):
933 Only mention enable-multibyte-characters if non-standard.
935 2013-12-17 Juri Linkov <juri@jurta.org>
937 * arc-mode.el (archive-extract-by-file): Check if directory exists
938 before deletion to not show irrelevant errors if it doesn't exist.
940 2013-12-17 Juri Linkov <juri@jurta.org>
942 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
945 * net/eww.el (browse-web): Add alias to `eww'.
946 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
947 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
949 * net/browse-url.el (browse-url-browser-function): Move `eww'
950 closer to similar functions.
952 * startup.el (fancy-startup-screen, fancy-about-screen):
953 Set browse-url-browser-function to eww-browse-url locally.
956 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
958 * window.el (window--pixel-to-total): Remove unused `mini' var.
959 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
960 (split-window): Remove unused `new' var.
961 (window--display-buffer): Remove unused `frame' and `delta' vars.
962 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
965 2013-12-17 Martin Rudalics <rudalics@gmx.at>
967 * dired.el (dired-mark-pop-up):
968 * register.el (register-preview): Don't bind
969 split-height-threshold here since it's now done in
970 display-buffer-below-selected.
972 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
974 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
975 xterm-rgb-convert-to-16bit.
976 (rxvt-register-default-colors): Standardize with
977 xterm-register-default-colors (Bug#14078).
979 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
981 * simple.el (kill-region): Pass mark first, then point, so that
982 kill-append works right (Bug#12819).
983 (copy-region-as-kill, kill-ring-save): Likewise.
985 2013-12-17 Leo Liu <sdl.web@gmail.com>
987 * net/rcirc.el (rcirc-add-face):
988 * eshell/em-prompt.el (eshell-emit-prompt):
989 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
992 2013-12-17 Chong Yidong <cyd@gnu.org>
994 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
995 Suggested by Xue Fuqiao.
997 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
999 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1001 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1003 * net/shr.el (shr-insert-document): Remove unused var
1004 `shr-preliminary-table-render'.
1005 (shr-rescale-image): Remove unused arg `force'.
1006 (shr-put-image): Update calls accordingly.
1007 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1009 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1011 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1012 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1013 :close-all, to see which indentation method to use (Bug#16116).
1014 (smie-rules-function): Document the method :close-all.
1016 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1018 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1020 * net/eww.el (eww-display-html): If we can't find the anchor we're
1021 looking for, then go to point-min.
1023 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1025 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1026 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1027 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1028 Expand dir too, in case it's relative.
1030 2013-12-16 Juri Linkov <juri@jurta.org>
1032 * desktop.el (desktop-auto-save-timeout): Change default to
1033 `auto-save-timeout'. Doc fix.
1034 (desktop-save): Skip the timestamp in desktop-saved-frameset
1035 when checking for auto-save changes.
1036 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1037 `desktop-auto-save' is called repeatedly by the idle timer.
1038 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1039 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1042 2013-12-16 Juri Linkov <juri@jurta.org>
1044 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1046 (isearch-pre-command-hook): Check `this-command' for symbolp.
1048 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1052 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1054 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1055 (cfengine3--current-function): Bring in the current-function
1056 functionality from `cfengine3--current-word'.
1057 (cfengine3-completion-function): Bring in the
1058 bounds-of-current-word functionality from
1059 `cfengine3--current-word'.
1061 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1063 * window.el (display-buffer-below-selected):
1064 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1066 2013-12-16 Leo Liu <sdl.web@gmail.com>
1068 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1069 Remove NOMSG arg and all uses changed.
1071 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1073 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1074 (cua--deactivate-rectangle): Don't deactivate the mark.
1075 (cua-set-rectangle-mark): Don't set mark-active since
1076 cua--activate-rectangle already does it for us.
1077 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1078 non-rectangular region.
1080 * emulation/cua-base.el (cua-repeat-replace-region):
1081 Use with-current-buffer.
1083 * net/gnutls.el: Use cl-lib.
1084 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1086 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1088 * emacs-lisp/package.el (package-built-in-p): Support both
1089 built-in and the package.el converted package descriptions.
1090 (package-show-package-list): Allow keywords.
1091 (package-keyword-button-action): Use it instead of
1092 `finder-list-matches'.
1093 (package-menu-filter-interactive): Interactive filtering (by
1095 (package-menu--generate): Support keywords and change keymappings
1096 and headers when they are given.
1097 (package--has-keyword-p): Helper function.
1098 (package-menu--refresh): Use it.
1099 (package--mapc): Helper function.
1100 (package-all-keywords): Use it.
1101 (package-menu-mode-map): Set up menu items and keybindings to
1102 provide a filtering UI.
1104 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1106 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1107 the behavior when a certificate fails validation. Defaults to
1108 old behavior: never abort, just warn.
1109 (gnutls-negotiate): Use it.
1111 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1113 * window.el (display-buffer-below-selected): Never split window
1114 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1116 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1118 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1119 (package-buffer-info): Use it (bug#15108).
1121 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * icomplete.el (icomplete-completions): Make sure the prefix is already
1124 displayed elsewhere before hiding it (bug#16219).
1126 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1128 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1129 open-paren tokens when preceded by a open-paren, too.
1130 (ruby-smie-rules): Handle virtual indentation after open-paren
1131 tokens specially. If there is code between it and eol, return the
1132 column where is starts (Bug#16118).
1134 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1136 * progmodes/cfengine.el: Fix `add-hook' doc.
1137 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1138 (cfengine3--current-word): Fix parameters.
1139 (cfengine3-make-syntax-cache): Simplify further.
1140 (cfengine3-completion-function, cfengine3--current-function):
1141 Use `assq' for symbols.
1142 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1144 2013-12-13 Glenn Morris <rgm@gnu.org>
1146 * loadup.el (load-path): Warn if site-load or site-init changes it.
1147 No more need to reset it when bootstrapping.
1149 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1151 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1152 locations for cf-promises.
1153 (cfengine-mode-syntax-functions-regex): New caching variable.
1154 (cfengine3-fallback-syntax): Fallback syntax for cases where
1155 cf-promises doesn't run.
1156 (cfengine3--current-word): Reimplement using
1157 `cfengine-mode-syntax-functions-regex'.
1158 (cfengine3-completion-function, cfengine3--current-function):
1159 Use `cfengine3-make-syntax-cache' directly.
1160 (cfengine3-clear-syntax-cache): New function.
1161 (cfengine3-make-syntax-cache): Simplify and create
1162 `cfengine-mode-syntax-functions-regex' on demand.
1163 (cfengine3-format-function-docstring): Don't call
1164 `cfengine3-make-syntax-cache' explicitly.
1166 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1168 Fix windmove-find-other-window broken after pixelwise resizing
1170 * windmove.el (windmove-other-window-loc): Revert change from
1172 (windmove-find-other-window): Call window-in-direction.
1173 * window.el (window-in-direction): New arguments SIGN, WRAP and
1174 MINI to emulate original windmove-find-other-window behavior.
1176 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1178 * simple.el (blink-matching--overlay): New variable.
1179 (blink-matching-open): Instead of moving point, highlight the
1180 matching paren with an overlay
1181 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1183 * faces.el (paren-showing-faces, show-paren-match)
1184 (show-paren-mismatch): Move from paren.el.
1186 2013-12-13 Leo Liu <sdl.web@gmail.com>
1188 * indent.el (indent-region): Disable progress reporter in
1189 minibuffer. (Bug#16108)
1191 * bindings.el (visual-order-cursor-movement): Fix version.
1193 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1195 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1196 Also match after beginning of line.
1197 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1198 files. Thanks to Russell Sim. (Bug#15378)
1200 2013-12-13 Juri Linkov <juri@jurta.org>
1202 * simple.el <Keypad support>: Remove key bindings duplicated
1203 with bindings.el. (Bug#14397)
1205 2013-12-13 Juri Linkov <juri@jurta.org>
1207 * comint.el (comint-mode-map): Replace `delete-char' with
1208 `delete-forward-char'. (Bug#16109)
1210 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1212 * progmodes/python.el (python-indent-calculate-indentation):
1213 Fix de-denters cornercase. (Bug#15731)
1215 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1217 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1218 (advice--make): Pay attention to `depth'.
1219 (advice--make-1): Don't autoload commands eagerly.
1220 * emacs-lisp/elp.el (elp-instrument-function):
1221 * emacs-lisp/trace.el (trace-function-internal):
1222 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1224 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1226 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1228 * term/w32-win.el (w32-handle-dropped-file):
1229 * startup.el (normal-top-level):
1230 * net/browse-url.el (browse-url-file-url):
1231 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1232 decode file names using 'utf-8' rather than
1233 file-name-coding-system.
1235 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1237 * progmodes/python.el (python-indent-context)
1238 (python-indent-calculate-indentation): Fix auto-identation
1239 behavior for comment blocks. (Bug#15916)
1241 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1243 * progmodes/python.el (python-indent-calculate-indentation):
1244 When determining indentation, don't treat "return", "pass", etc., as
1245 operators when they are just string constituents. (Bug#15812)
1247 2013-12-12 Juri Linkov <juri@jurta.org>
1249 * uniquify.el (uniquify-buffer-name-style): Change default to
1250 `post-forward-angle-brackets'.
1252 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1253 `uniquify'. Change default to `post-forward-angle-brackets'.
1255 2013-12-11 Glenn Morris <rgm@gnu.org>
1257 * emacs-lisp/package.el (finder-list-matches):
1258 Autoload rather than falsely declaring.
1260 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1262 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1263 (eww-mode-map): Use them.
1265 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1267 * window.el (display-buffer-in-side-window): Fix doc-string
1270 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1272 * vc/vc-git.el: Silence byte-compiler warnings.
1273 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1274 (log-edit-set-header): Declare.
1276 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1278 * Makefile.in (custom-deps, finder-data): Run output file names
1279 through unmsys--file-name. (Bug#16099)
1281 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1283 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1284 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1286 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1287 instead of deleting the selection "by hand" (bug#16098).
1288 Rely on insert-for-yank to yank rectangles.
1289 (cua-highlight-region-shift-only): Mark obsolete.
1290 (cua-mode): Don't enable/disable transient-mark-mode,
1291 shift-select-mode (cua-mode works both with and without them), and
1292 pc-selection-mode (obsolete).
1293 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1294 (cua--deactivate-rectangle): Deactivate it.
1296 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1297 (delete-selection-helper): Make sure yank starts at the top of the
1299 (minibuffer-keyboard-quit): Use region-active-p.
1301 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1303 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1304 to `delete' (bug#16109).
1306 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1308 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1309 info manual and show keybindings and set `:group' keyword.
1311 2013-12-11 Juri Linkov <juri@jurta.org>
1313 * delsel.el (delete-active-region): Let-bind `this-command'
1314 to prevent `kill-region' from changing its original value.
1315 (delete-selection-helper): Handle `overwrite-mode' for the type
1316 `kill' exactly the same way as for the type `t'.
1317 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1318 Support more commands. (Bug#13312)
1320 2013-12-11 Juri Linkov <juri@jurta.org>
1322 * bindings.el: Map kp keys to non-kp keys systematically
1323 with basic modifiers control, meta and shift. (Bug#14397)
1325 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1327 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1328 "Close browser" menu items. Fix wrong function of "List
1331 2013-12-11 Juri Linkov <juri@jurta.org>
1333 * misearch.el (multi-isearch-buffers): Set the value of
1334 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1335 arg of isearch-forward to t.
1336 (multi-isearch-buffers-regexp): Set the value of
1337 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1338 arg of isearch-forward-regexp to t.
1339 (multi-isearch-files): Set the value of
1340 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1341 arg of isearch-forward to t.
1342 (multi-isearch-files-regexp): Set the value of
1343 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1344 arg of isearch-forward-regexp to t. (Bug#16035)
1346 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1347 arg of isearch-forward to t.
1348 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1349 arg of isearch-forward-regexp to t.
1350 (dired-isearch-filter-filenames): Remove unnecessary check for
1351 `dired-isearch-filenames'.
1353 * comint.el (comint-history-isearch-backward):
1354 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1355 (comint-history-isearch-backward-regexp):
1356 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1358 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1360 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1361 unmsys--file-name. (Bug#16099)
1363 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1365 * emacs-lisp/package.el (package-keyword-button-action):
1366 Remove finder.el require dependency.
1368 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1370 * emacs-lisp/package.el: Require finder.el.
1371 (describe-package-1): Add keyword buttons.
1372 (package-make-button): New convenience function.
1373 (package-keyword-button-action): Keyword button action using
1374 `finder-list-matches'.
1376 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1378 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1381 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1383 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1386 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1388 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1389 after the end of a percent literal.
1391 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1393 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1394 Handle caret-delimited strings (Bug#16079).
1396 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1398 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1399 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1400 `ruby-parse-partial' (Bug#16078).
1402 2013-12-09 Leo Liu <sdl.web@gmail.com>
1404 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1406 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1408 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1409 (js-switch-indent-offset): New option.
1410 (js--proper-indentation): Use it. And handle the case when
1411 "default" is actually a key in an object literal.
1412 (js--same-line): New function.
1413 (js--multi-line-declaration-indentation): Use it.
1414 (js--indent-in-array-comp, js--array-comp-indentation):
1416 (js--proper-indentation): Use them, to handle array comprehension
1419 2013-12-08 Leo Liu <sdl.web@gmail.com>
1421 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1422 (flymake-make-overlay): Remove arg MOUSE-FACE.
1423 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1425 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1429 (redisplay-highlight-region-function): Use it.
1431 * emulation/cua-base.el (cua--explicit-region-start)
1432 (cua--last-region-shifted): Remove.
1433 (cua--deactivate): Use deactivate-mark.
1434 (cua--pre-command-handler-1): Don't handle shift-selection.
1435 (cua--post-command-handler-1): Don't change transient-mark-mode.
1436 (cua--select-keymaps): Use region-active-p rather than
1437 cua--explicit-region-start or cua--last-region-shifted.
1438 (cua-mode): Enable shift-select-mode.
1440 2013-12-08 Leo Liu <sdl.web@gmail.com>
1442 * progmodes/flymake.el (flymake-popup-current-error-menu):
1443 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1444 (flymake-posn-at-point-as-event, flymake-popup-menu)
1445 (flymake-make-emacs-menu): Remove. (Bug#16077)
1447 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1449 * rect.el (rectangle-mark-mode): Activate mark even if
1450 transient-mark-mode is off (bug#16066).
1451 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1452 is > mark and at bolp.
1454 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1455 (region-extract-function): Use it.
1456 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1457 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1459 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1460 kill-ring-save, kill-region, delete-char, delete-forward-char.
1461 Ignore self-insert-iso.
1463 * emulation/cua-gmrk.el (cua--init-global-mark):
1464 Ignore `self-insert-iso'.
1466 * emulation/cua-base.el (cua--prefix-copy-handler)
1467 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1468 checking cua--rectangle.
1469 (cua-delete-region): Use region-extract-function.
1470 (cua-replace-region): Delete function.
1471 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1472 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1473 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1474 (cua--init-keymaps): Don't remap delete-selection commands.
1475 (cua-mode): Use delete-selection-mode instead of rolling our own
1478 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1479 Obey region-extract-function.
1481 Make registers and delete-selection-mode work on rectangles.
1482 * register.el (describe-register-1): Don't modify the register's value.
1483 (copy-to-register): Obey region-extract-function.
1484 * delsel.el (delete-active-region): Obey region-extract-function.
1486 2013-12-08 Leo Liu <sdl.web@gmail.com>
1488 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1489 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1490 (flymake-compilation-prevents-syntax-check)
1491 (flymake-start-syntax-check-on-newline)
1492 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1493 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1494 (flymake-xml-program, flymake-master-file-dirs)
1495 (flymake-master-file-count-limit)
1496 (flymake-allowed-file-name-masks): Relocate.
1497 (flymake-makehash, flymake-float-time)
1498 (flymake-replace-regexp-in-string, flymake-split-string)
1499 (flymake-get-temp-dir): Remove.
1500 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1501 (flymake-current-row, flymake-selected-frame)
1502 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1503 related functions. (Bug#16077)
1505 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1507 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1509 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1511 * help-fns.el (describe-function-1): Use new advice-* functions
1512 rather than old ad-* functions. Fix function type description and
1513 source links for advised functions and subrs.
1515 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1517 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1519 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1521 * progmodes/compile.el (compilation-start):
1522 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1524 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1525 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1527 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1529 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1530 Touch up the last change.
1532 2013-12-06 Leo Liu <sdl.web@gmail.com>
1534 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1535 (inferior-octave-startup): Always use "octave> " for prompt.
1536 (octave-goto-function-definition)
1537 (octave-sync-function-file-names)
1538 (octave-find-definition-default-filename): Remove redundant backquotes.
1540 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1542 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1544 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1545 where appropriate already.
1546 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1547 end of method names (Bug#15874).
1549 2013-12-06 Juri Linkov <juri@jurta.org>
1551 * isearch.el (isearch--saved-overriding-local-map):
1552 New internal variable.
1553 (isearch-mode): Set it to the initial value of
1554 `overriding-terminal-local-map'.
1555 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1556 with `isearch--saved-overriding-local-map'. (Bug#16035)
1558 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1560 * progmodes/octave.el (inferior-octave-completion-table):
1561 Turn back into function, use `completion-table-with-cache'
1562 (Bug#11906). Update all references.
1564 * minibuffer.el (completion-table-with-cache): New function.
1566 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1568 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1570 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1572 * net/eww.el (eww-current-source): New variable to store page
1574 (eww-display-html, eww-mode, eww-save-history)
1575 (eww-restore-history): Use it.
1576 (eww-view-source): New command to view page source.
1577 Opportunistically uses `html-mode' to highlight the buffer.
1578 (eww-mode-map): Install it.
1580 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1582 * net/dbus.el (dbus-unregister-service)
1583 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1585 (dbus-unregister-service): Skip :serial entries in
1586 `dbus-registered-objects-table'.
1587 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1589 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1591 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1592 around keywords with extra `split-string' argument.
1594 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1596 * windmove.el (windmove-other-window-loc): Handle navigation
1597 between windows (excluding the minibuffer window - Bug#16017).
1599 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1601 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1602 in D-Bus type syntax.
1603 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1604 preserve unibyte strings. (Bug#16048)
1606 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1608 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1609 Call force-mode-line-update is the proper buffer (bug#16042).
1611 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1613 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1614 `log-edit-remember-comment', make argument optional. Adjust all
1616 (log-edit-mode): Add `log-edit-remember-comment' to
1617 `kill-buffer-hook' locally.
1618 (log-edit-kill-buffer): Don't remember comment explicitly since
1619 the buffer is killed anyway.
1621 2013-12-04 Juri Linkov <juri@jurta.org>
1623 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1624 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1626 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1628 * notifications.el (notifications-close-notification): Call the
1629 D-Bus method with ID being a `:uint32'. (Bug#16030)
1631 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1633 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1635 2013-12-03 Juri Linkov <juri@jurta.org>
1637 * progmodes/compile.el (compilation-start): Rename window alist
1638 entry `no-display-ok' to `allow-no-window'.
1640 * simple.el (shell-command): Add window alist entry
1641 `allow-no-window' to `display-buffer'.
1642 (async-shell-command): Doc fix.
1644 * window.el (display-buffer-no-window): New action function.
1645 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1647 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1649 * vc/log-edit.el (log-edit-set-header): Extract from
1650 `log-edit-toggle-header'.
1651 (log-edit-extract-headers): Separate the summary, when extracted
1652 from header, from the rest of the message with an empty line.
1654 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1655 line, if present, to the Summary header.
1657 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1659 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1660 in current-buffer (bug#16029).
1662 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1664 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1665 (debugger-mode-map): Bind it.
1666 (debugger--backtrace-base): New function.
1667 (debugger-eval-expression): Use it.
1668 (debugger-frame-number): Skip local vars when present.
1669 (debugger--locals-visible-p, debugger--insert-locals)
1670 (debugger--show-locals, debugger--hide-locals): New functions.
1672 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1674 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1676 (tramp-get-remote-locale): New defun.
1677 (tramp-open-connection-setup-interactive-shell): Use it.
1679 2013-12-02 Leo Liu <sdl.web@gmail.com>
1681 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1683 * progmodes/sh-script.el (sh-shell-process):
1684 * progmodes/octave.el (inferior-octave-process-live-p):
1685 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1686 (gdb-inferior-io-sentinel):
1687 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1689 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1691 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1692 `save-selected-window' to `log-edit-hide-buf'. This makes
1693 `log-edit-show-files' idempotent.
1694 (log-edit-show-files): Mark the new window as dedicated.
1696 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1698 * vc/log-edit.el (log-edit-mode-map): Add binding for
1699 `log-edit-kill-biffer'.
1700 (log-edit-hide-buf): Add a FIXME comment.
1701 (log-edit-add-new-comment): New function, extracted from
1703 (log-edit-done, log-edit-add-to-changelog): Use it.
1704 (log-edit-kill-buffer): New command.
1706 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1708 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1709 instead of killing the buffer.
1711 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1713 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1715 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1717 * net/eww.el (eww-form-checkbox-selected-symbol)
1718 (eww-form-checkbox-symbol): New customizable variable.
1719 (eww-form-checkbox, eww-toggle-checkbox):
1720 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1722 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1723 (shr--get-media-pref, shr--extract-best-source): New function.
1724 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1725 no :src tag was specified.
1727 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1728 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1729 Use \\` to match beginning of string instead of ^.
1730 (eww-browse-with-external-browser): Provide optional URL parameter.
1731 (eww-render): Set `eww-current-title' back to "".
1733 * net/shr.el (shr-tag-video): Display content for video if no
1734 poster is available.
1735 (shr-tag-audio): Add support for <audio> tag.
1737 * net/eww.el (eww-text-input-types): New const.
1738 (eww-process-text-input): Treat input types in
1739 `eww-text-input-types' as text.
1741 * net/shr.el (shr-tag-table): Fix comment typo.
1743 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1745 * net/eww.el (eww-follow-link): New command to avoid reloading
1746 pages when we follow #target links (bug#15243).
1747 (eww-quit): Special mode buffers shouldn't query before exiting.
1749 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1751 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1754 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1756 * net/eww.el (eww-restore-history): Update the window title after
1757 moving in the history.
1758 (eww-current-dom): New variable used to save the current DOM.
1760 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1762 * vc/log-edit.el (log-edit-mode-map): Add binding for
1763 `log-edit-beginning-of-line'.
1764 (log-edit-setup-add-author): New user option.
1765 (log-edit-beginning-of-line): New command.
1766 (log-edit): Move major mode call above the contents setup so that
1767 the local variable values are already applied.
1768 (log-edit): Only insert "Author: " when
1769 `log-edit-setup-add-author' is non-nil.
1770 (log-edit): When SETUP is non-nil, position point after ": "
1771 instead of point-min.
1773 2013-12-01 Glenn Morris <rgm@gnu.org>
1775 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1777 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1779 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1780 redisplay to make sure the initial frame gets a chance to become
1781 visible. (Bug#16014)
1783 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1785 Support resizing frames and windows pixelwise.
1786 * cus-start.el (frame-resize-pixelwise)
1787 (window-resize-pixelwise): New entries.
1788 * emacs-lisp/debug.el (debug): Use window-total-height instead
1789 of window-total-size.
1790 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1791 * help.el (describe-bindings-internal): Call help-buffer
1792 (temp-buffer-max-width): New option.
1793 (resize-temp-buffer-window, help-window-setup)
1794 (with-help-window): Rewrite.
1795 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1797 * window.el (frame-char-size, window-min-pixel-height)
1798 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1799 (window-min-pixel-width, window-safe-min-pixel-size)
1800 (window-combination-p, window-safe-min-size)
1801 (window-resizable-p, window--size-to-pixel)
1802 (window--pixel-to-size, window--resize-apply-p): New functions.
1803 (window-safe-min-height): Fix doc-string.
1804 (window-size, window-min-size, window--min-size-1)
1805 (window-sizable, window-sizable-p, window--min-delta-1)
1806 (window-min-delta, window--max-delta-1, window-max-delta)
1807 (window--resizable, window--resizable-p, window-resizable)
1808 (window-full-height-p, window-full-width-p, window-at-side-p)
1809 (window--in-direction-2, window-in-direction)
1810 (window--resize-reset-1, window--resize-mini-window)
1811 (window-resize, window-resize-no-error)
1812 (window--resize-child-windows-normal)
1813 (window--resize-child-windows, window--resize-siblings)
1814 (window--resize-this-window, window--resize-root-window)
1815 (window--resize-root-window-vertically)
1816 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1817 (maximize-window, minimize-window, delete-window)
1818 (quit-restore-window, window-split-min-size, split-window)
1819 (balance-windows-2, balance-windows)
1820 (balance-windows-area-adjust, balance-windows-area)
1821 (window--state-get-1, window-state-get, window--state-put-1)
1822 (window--state-put-2, window-state-put)
1823 (display-buffer-record-window, window--display-buffer):
1824 Make functions handle pixelwise sizing of windows.
1825 (display-buffer--action-function-custom-type)
1826 (display-buffer-fallback-action):
1827 Add display-buffer-in-previous-window.
1828 (display-buffer-use-some-window): Resize window to height it had
1830 (fit-window-to-buffer-horizontally): New option.
1831 (fit-frame-to-buffer): Describe new values.
1832 (fit-frame-to-buffer-bottom-margin): Replace with
1833 fit-frame-to-buffer-margins.
1834 (window--sanitize-margin): New function.
1835 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1836 using window-text-pixel-size.
1838 2013-11-30 Glenn Morris <rgm@gnu.org>
1840 * emacs-lisp/bytecomp.el (byte-compile-form):
1841 Make the `interactive-only' warning like the `obsolete' one.
1842 * comint.el (comint-run):
1843 * files.el (insert-file-literally, insert-file):
1844 * replace.el (replace-string, replace-regexp):
1845 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1846 (goto-line, insert-buffer, next-line, previous-line):
1847 Tweak `interactive-only' spec.
1849 Stop keeping (most) generated cedet grammar files in the repository.
1850 * Makefile.in (semantic): New.
1851 (compile-main): Depend on semantic.
1853 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1855 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1856 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1858 * uniquify.el (uniquify-buffer-name-style): Change default.
1860 * loadup.el: Preload "uniquify".
1862 * time.el (display-time-update): Update all mode lines (bug#15999).
1864 * electric.el (electric-indent-mode): Enable by default.
1865 * loadup.el: Preload "electric".
1867 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1869 * emacs-lisp/helpers.el (string-empty-p): New function.
1870 (string-blank-p): New function.
1872 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1874 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1877 2013-11-29 Andreas Politz <politza@fh-trier.de>
1878 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1879 allow non-lambda lists as functions.
1880 (imenu--in-alist): Don't recurse into non-subalists.
1881 (imenu): Don't pass function itself as an argument (Bug#14029).
1883 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1885 * progmodes/python.el (python-mode-map): Remove binding for ":".
1886 (python-indent-electric-colon): Remove command.
1887 (python-indent-post-self-insert-function): Integrate the previous code
1888 of python-indent-electric-colon. Make it conditional on
1889 electric-indent-mode.
1890 (python-mode): Add ?: to electric-indent-chars.
1891 Move python-indent-post-self-insert-function to the end of
1892 post-self-insert-hook.
1894 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1896 * doc-view.el (doc-view-goto-page): Update mode-line.
1898 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1900 2013-11-27 Glenn Morris <rgm@gnu.org>
1902 * international/charprop.el, international/uni-bidi.el:
1903 * international/uni-category.el, international/uni-combining.el:
1904 * international/uni-comment.el, international/uni-decimal.el:
1905 * international/uni-decomposition.el, international/uni-digit.el:
1906 * international/uni-lowercase.el, international/uni-mirrored.el:
1907 * international/uni-name.el, international/uni-numeric.el:
1908 * international/uni-old-name.el, international/uni-titlecase.el:
1909 * international/uni-uppercase.el:
1910 Remove generated files from VCS repository.
1912 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1914 * filenotify.el (file-notify-add-watch): Don't special-case
1915 w32notify when computing the directory to watch.
1917 2013-11-27 Glenn Morris <rgm@gnu.org>
1919 Make bootstrap without generated uni-*.el files possible again.
1920 * loadup.el: Update command-line-args checking for unidata-gen.
1921 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1922 * composite.el, international/characters.el:
1923 Handle unicode tables being undefined.
1925 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1926 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1927 (compile-main): Depend on leim rule.
1929 * loadup.el: Move leim-list.el to leim/ subdirectory.
1930 * startup.el (normal-top-level): No more leim directory.
1931 * international/ja-dic-cnv.el (skkdic-convert):
1932 Disable version-control and autoloads in output files.
1933 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1934 Disable version-control and autoloads in output files.
1935 * leim/quail: Move here from ../leim.
1936 * leim/quail/hangul.el (hangul-input-method-activate):
1937 Add autoload cookie.
1938 (generated-autoload-load-name): Set file-local value.
1939 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1940 (generated-autoload-load-name): Set file-local value.
1942 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1944 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1945 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1946 (eww-quit): Ask confirmation before quitting eww.
1948 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1950 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1951 reading output from Diff on MS-Windows and MS-DOS.
1953 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1955 * emacs-lisp/helpers.el (string-reverse): New function.
1957 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1959 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1960 names on MS Windows, like "/[::1]:".
1962 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1965 2013-11-26 Glenn Morris <rgm@gnu.org>
1967 * progmodes/python.el (python-indent-guess-indent-offset):
1968 Avoid corner-case error. (Bug#15975)
1970 Preload leim-list.el. (Bug#4789)
1971 * loadup.el: Load leim-list.el when found.
1972 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1974 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1976 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1978 * emacs-lisp/helpers.el (string-join): New function.
1980 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1982 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1983 Mark as obsolete and replace it with a symbol property.
1984 (byte-compile-form): Use new 'interactive-only property.
1985 * comint.el, files.el, replace.el, simple.el:
1986 Apply new 'interactive-only properly.
1988 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1990 * window.el (display-buffer-at-bottom): Make sure that
1991 split-window-sensibly creates the new window on bottom
1994 2013-11-23 David Kastrup <dak@gnu.org>
1996 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1997 on the conflict markers when available.
1998 (smerge--get-marker): New function.
1999 (smerge-end-re, smerge-base-re): Add subgroup.
2001 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2003 * frame.el (handle-focus-in, handle-focus-out): Add missing
2006 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2008 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2009 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2011 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2014 (gomoku--last-pos): New var.
2015 (gomoku--intangible-chars): New const.
2016 (gomoku--intangible): New function.
2017 (gomoku-mode): Use it. Derive from special-mode.
2018 (gomoku-move-up): Adjust line count.
2019 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2020 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2021 Simplify accordingly.
2023 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2024 Remove blink-cursor code.
2025 (blink-cursor-timer-function, blink-cursor-suspend):
2026 Don't special-case GUIs.
2027 (blink-cursor-mode): Use focus-in/out-hook.
2029 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2031 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2032 work when annotation is invisible (Bug#13886).
2034 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2036 * json.el (json-alist-p): Only return non-nil if the alist has
2037 simple keys (Bug#13518).
2039 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2041 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2042 when control-statement is the first statement in a buffer (Bug#15956).
2044 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2046 * imenu.el (imenu-generic-skip-comments-and-strings):
2047 New option (Bug#15560).
2048 (imenu--generic-function): Use it.
2050 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2052 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2055 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2057 * emacs-lisp/helpers.el: Add some string helpers.
2058 (string-trim-left): Removes leading whitespace.
2059 (string-trim-right): Removes trailing whitespace.
2060 (string-trim): Removes leading and trailing whitespace.
2062 * subr.el (string-suffix-p): New function.
2064 2013-11-23 Glenn Morris <rgm@gnu.org>
2066 * progmodes/python.el (python-shell-send-file):
2067 Add option to delete file when done. (Bug#15647)
2068 (python-shell-send-string, python-shell-send-region): Use it.
2070 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2072 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2073 to set buffer-read-only to t, never to nil. (Bug#15938)
2075 * textmodes/tex-mode.el (latex-noindent-environments):
2076 Add safe-local-variable property. (Bug#15936)
2078 2013-11-23 Glenn Morris <rgm@gnu.org>
2080 * textmodes/enriched.el (enriched-mode): Doc fix.
2081 * emacs-lisp/authors.el (authors-renamed-files-alist):
2082 Add enriched.doc -> enriched.txt.
2084 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2086 2013-11-22 Leo Liu <sdl.web@gmail.com>
2088 * progmodes/octave.el (inferior-octave-startup): Spit out error
2091 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2093 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2096 (ruby-encoding-magic-comment-style): Add :version.
2098 2013-11-22 Leo Liu <sdl.web@gmail.com>
2100 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2102 (octave-help-mode): Adapt to change to help-mode-finish to use
2103 derived-mode-p on 2013-09-17.
2104 (inferior-octave-prompt): Also match octave-gui.
2105 (octave-kill-process): Don't ask twice. (Bug#10564)
2107 2013-11-22 Leo Liu <sdl.web@gmail.com>
2109 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2110 (inferior-octave-startup, inferior-octave-check-process)
2111 (inferior-octave-track-window-width-change)
2112 (octave-completion-at-point, octave-eldoc-function): Use it.
2113 (octave-kill-process): Provide confirmation. (Bug#10564)
2115 2013-11-21 Leo Liu <sdl.web@gmail.com>
2117 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2118 Fix obsolete variable comment-use-global-state.
2120 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2122 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2123 Add `octave-source-file'.
2124 (octave-source-file): New function. (Bug#15935)
2126 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2128 * net/eww.el (eww-local-regex): New variable.
2129 (eww): Use it to detect localhost and similar.
2131 2013-11-21 Leo Liu <sdl.web@gmail.com>
2133 Add completion for command `ag'.
2134 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2135 (pcomplete/ag): New function.
2136 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2138 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2142 (make-obsolete): Remove interactive spec.
2144 2013-11-21 Glenn Morris <rgm@gnu.org>
2146 * startup.el (command-line-1): Use path-separator with -L.
2148 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2150 * emacs-lisp/package.el (describe-package-1): Add package archive
2153 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2155 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2156 Change default to "# encoding: %s" to differentiate it from the
2157 default Ruby encoding comment template.
2159 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2161 * ses.el (ses-mode): Doc fix. (Bug#14748)
2163 2013-11-20 Leo Liu <sdl.web@gmail.com>
2165 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2167 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2169 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2170 when rebase or bisect are in progress.
2172 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2174 * filenotify.el (file-notify-add-watch): Doc fix.
2176 2013-11-19 Leo Liu <sdl.web@gmail.com>
2178 * obsolete/rcompile.el: Mark obsolete.
2180 * progmodes/compile.el (compilation-start)
2181 (compilation-goto-locus, compilation-find-file):
2182 Pass no-display-ok and handle nil value from display-buffer.
2185 * window.el (display-buffer-alist, display-buffer): Document the
2186 new parameter no-display-ok. Return either a window or nil
2187 but never a non-window value.
2189 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2191 * electric.el (electric-indent-mode-map): Remove.
2192 (electric-indent-mode): Change the global-map instead (bug#15915).
2194 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2197 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * emacs-lisp/nadvice.el (remove-function): Align with
2200 add-function's behavior.
2202 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2203 (gdb--string-regexp): New constant.
2204 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2205 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2206 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2208 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2209 Adjust use accordingly.
2210 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2212 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2214 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2215 interpolation curlies (Bug#15914).
2217 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2219 * calc/calc.el (calc-context-sensitive-enter): New variable.
2220 (calc-enter): Use `calc-context-sensitive-enter'.
2222 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2224 * progmodes/cfengine.el: Version bump.
2225 (cfengine-cf-promises): New defcustom to locate cf-promises.
2226 (cfengine3-vartypes): Add new "data" type.
2227 (cfengine3--current-word): New function to get current name-like
2229 (cfengine3--current-function): New function to look up a CFEngine
2230 function's definition.
2231 (cfengine3-format-function-docstring): New function.
2232 (cfengine3-make-syntax-cache): New function.
2233 (cfengine3-documentation-function): New function: ElDoc glue.
2234 (cfengine3-completion-function): New function: completion glue.
2235 (cfengine3-mode): Set `compile-command',
2236 `eldoc-documentation-function', and add to
2237 `completion-at-point-functions'.
2239 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2241 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2242 `tramp-current-connection'.
2244 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2246 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2247 nil/self/true/false with "end of symbol".
2249 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2251 * subr.el (version-regexp-alist): Fix a typo.
2253 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2255 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2256 "en_US.utf8" and "LC_CTYPE" to "".
2257 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2258 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2260 2013-11-15 Leo Liu <sdl.web@gmail.com>
2262 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2264 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * progmodes/gud.el (ctl-x-map):
2267 Remove C-x SPC binding. (Bug#12342)
2268 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2270 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2272 * subr.el (version-regexp-alist):
2273 Recognize hg, svn and darcs versions as snapshot versions.
2275 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2276 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2277 (ruby--encoding-comment-required-p): Extract from
2278 `ruby-mode-set-encoding'.
2279 (ruby-mode-set-encoding): Add the ability to always insert an
2280 utf-8 encoding comment. Fix and simplify coding comment update
2283 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2285 * net/tramp-gvfs.el (top): Run init code only when
2286 `tramp-gvfs-enabled' is not nil.
2287 (tramp-gvfs-enabled): Check also :system bus.
2289 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2291 Sync with upstream verilog-mode revision 78e66ba.
2292 * progmodes/verilog-mode.el (verilog-end-of-defun)
2293 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2294 (verilog-get-end-of-defun): Remove unused argument.
2295 (verilog-comment-depth): Remove unused local `e'.
2296 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2297 Don't pass arg to verilog-get-end-of-defun.
2299 2013-11-14 Glenn Morris <rgm@gnu.org>
2301 * obsolete/assoc.el (aget): Prefix dynamic variable.
2303 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2305 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * widget.el, hfy-cmap.el: Remove bogus package version number.
2309 2013-11-13 Glenn Morris <rgm@gnu.org>
2311 * replace.el (replace-eval-replacement):
2312 Try to give more helpful error message. (Bug#15836)
2314 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2315 (archive-7z-update): Avoid custom type mismatches.
2317 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2319 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2321 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2322 address can be empty.
2324 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2325 Accept nil SWITCHES.
2326 (tramp-gvfs-handle-write-region): Implement APPEND.
2328 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2330 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2331 binary "|" operator and closing block args delimiter.
2332 Remove FIXME comment referring to Ruby 1.8-only syntax.
2333 (ruby-smie--implicit-semi-p): Not after "|" operator.
2334 (ruby-smie--closing-pipe-p): New function.
2335 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2336 (ruby-smie-rules): Indent after "|".
2338 2013-11-12 Glenn Morris <rgm@gnu.org>
2340 * ps-print.el (ps-face-attribute-list):
2341 Handle anonymous faces. (Bug#15827)
2343 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2345 * window.el (display-buffer-other-frame): Fix doc-string.
2348 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2350 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2352 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2354 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2355 (tramp-sh-handle-file-local-copy): Don't write a message when
2356 saving temporary files.
2358 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2359 both directories are remote.
2360 (tramp-smb-handle-directory-files): Do not return double entries.
2361 Do not expand full file names.
2362 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2363 (tramp-smb-handle-write-region): Implement APPEND.
2364 (tramp-smb-get-stat-capability): Fix a stupid bug.
2366 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2370 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2372 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2373 throwing error over malformed let/let* (bug#15814).
2375 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2377 * iswitchb.el (iswitchb-mode): Mark obsolete.
2379 2013-11-11 Glenn Morris <rgm@gnu.org>
2381 * international/uni-bidi.el, international/uni-category.el:
2382 * international/uni-name.el, international/uni-numeric.el:
2383 Regenerate for Unicode 6.3.0.
2385 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2387 * net/tramp.el (tramp-methods):
2388 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2389 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2391 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2393 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2394 Force highlighting text after Summary keyword in doc face for rpm.
2396 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2398 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2399 available and the word has no wildcards, append one to the grep pattern.
2400 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2401 (ispell-complete-word): Call `ispell-lookup-words' with the value
2402 independent of `ispell-look-p'.
2404 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2406 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2408 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2411 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2413 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2414 (ruby-font-lock-keywords): Use backquote.
2416 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2418 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2419 (ruby-smie--backward-token): Only consider full-string matches.
2421 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2423 * faces.el (describe-face): Add distant-foreground.
2425 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2427 * progmodes/ruby-mode.el: Improve encoding comment handling.
2428 (ruby-encoding-magic-comment-style): New option.
2429 (ruby-custom-encoding-magic-comment-template): New option.
2430 (ruby--insert-coding-comment, ruby--detect-encoding):
2431 New functions extracted from `ruby-mode-set-encoding'.
2432 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2433 to control the style of the auto-inserted encoding comment.
2435 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2437 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2438 Use `smie-backward-sexp' with token argument.
2440 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2442 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2443 Remove instrumentation code.
2445 2013-11-08 Glenn Morris <rgm@gnu.org>
2447 * progmodes/autoconf.el (autoconf-mode):
2448 Tweak comment-start-skip. (Bug#15822)
2450 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2452 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2453 at bobp (bug#15826).
2454 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2456 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2458 * man.el (Man-start-calling): New macro, extracted from
2459 Man-getpage-in-background.
2460 (Man-getpage-in-background): Use it.
2461 (Man-update-manpage): New command.
2462 (Man-mode-map): Bind it.
2464 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2466 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2467 of "and", "or", "&&" and "||".
2468 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2469 argument. Prohibit opening curly brace because it could only be a
2470 block opener in that position.
2471 (ruby-smie--forward-token, ruby-smie--backward-token):
2472 Separate "|" from "&" or "*" going after it. That can happen in block
2474 (ruby-smie--indent-to-stmt): New function, seeks the end of
2475 previous statement or beginning of buffer.
2476 (ruby-smie-rules): Use it.
2477 (ruby-smie-rules): Check if there's a ":" before a curly block
2478 opener candidate; if there is, it's a hash.
2480 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2482 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2483 (cl--block-wrapper): Fix last accidental change.
2485 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2487 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2488 Instrument, in order to hunt failure on hydra.
2490 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2492 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2493 malformed bindings form (bug#15814).
2495 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2497 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2498 "." compared to " @ ". This incidentally fixes some indentation
2500 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2501 (ruby-smie-grammar): New tokens: "and" and "or".
2502 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2503 Exclude "and" and "or". Remove "do" in order to work around token
2505 (ruby-smie-rules): Add all infix tokens. Handle the case of
2506 beginning-of-buffer.
2508 2013-11-06 Glenn Morris <rgm@gnu.org>
2510 * Makefile.in (setwins_almost, setwins_for_subdirs):
2511 Avoid accidental matches.
2513 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * menu-bar.el (popup-menu): Use key-binding.
2517 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2519 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2520 menus, support also the menus produced by minor modes.
2523 2013-11-06 Leo Liu <sdl.web@gmail.com>
2525 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2526 DISTANCE to bound the search. All uses changed. (Bug#15808)
2528 2013-11-06 Glenn Morris <rgm@gnu.org>
2530 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2531 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2532 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2534 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * electric.el (electric-indent-just-newline): New command.
2537 (electric-indent-mode-map): New keymap.
2538 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2539 Re-add :group which weren't redundant.
2541 * electric.el (electric-indent-local-mode): New minor mode.
2542 (electric-indent-functions-without-reindent): New var.
2543 (electric-indent-post-self-insert-function): Use it.
2544 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2546 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2548 * international/quail.el (quail-help): Be more explicit about the
2549 meaning of the labels shown on the keys. (Bug#15800)
2551 * startup.el (normal-top-level): Load the subdirs.el files before
2552 setting the locale environment. (Bug#15805)
2554 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2557 via arguments so as to get the right ones (bug#15418).
2559 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2561 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2563 Fix problems found while writing a test suite.
2565 * net/tramp-compat.el (tramp-compat-load): New defun.
2566 * net/tramp.el (tramp-handle-load): Use it.
2568 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2569 "(numberp ok-if-already-exists)" correctly.
2571 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2573 * international/characters.el (glyphless-char-display-control):
2576 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2578 * progmodes/python.el (python-mode):
2579 * progmodes/scheme.el (scheme-mode):
2580 * progmodes/prolog.el (prolog-mode):
2581 * progmodes/ruby-mode.el (ruby-mode):
2582 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2583 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2585 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * rect.el (rectangle--highlight-for-redisplay):
2588 * emacs-lisp/smie.el (smie--next-indent-change):
2589 Use buffer-chars-modified-tick.
2591 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2593 * electric.el (electric-indent-post-self-insert-function):
2594 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2596 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2598 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2600 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2602 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2605 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2609 * progmodes/python.el: Fix up last change.
2610 (python-shell--save-temp-file): New function.
2611 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2612 `string' comes from the current buffer.
2613 (python-shell-send-string-no-output): Remove `msg' arg.
2614 (python--use-fake-loc): New var.
2615 (python-shell-buffer-substring): Obey it. Try to compensate for the
2616 extra coding line added by python-shell--save-temp-file.
2617 (python-shell-send-region): Use python-shell--save-temp-file and
2618 python-shell-send-file directly. Add `nomain' argument.
2619 (python-shell-send-buffer): Use python-shell-send-region.
2620 (python-electric-pair-string-delimiter): New function.
2621 (python-mode): Use it.
2623 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2625 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2626 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2627 environment and decoding all of the default-directory's to here
2629 (command-line): Decode also argv[0].
2631 * loadup.el: Error out if default-directory is a multibyte string
2632 when we are dumping.
2634 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2636 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2638 * emacs-lisp/package.el (package-menu-mode)
2639 (package-menu--print-info, package-menu--archive-predicate):
2640 Add Archive column to package list.
2642 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2644 Fix problems found while writing a test suite.
2646 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2647 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2648 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2649 to nil when running original file name handler. Otherwise,
2650 there are problems with constructs like "$$FOO".
2652 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2655 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2657 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2659 * subr.el (version<, version<=, version=):
2660 Update docstrings with information for snapshot versions.
2662 * helpers.el: New library for misc helper functions.
2663 (hash-table-keys): New function returning a list of hash keys.
2664 (hash-table-values): New function returning a list of hash values.
2666 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2668 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2669 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2671 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2673 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2674 checking whether point is after a 1-letter word.
2676 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2678 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2679 Don't infloop when expanding region over `multiline' syntax-type that
2680 begins a line (bug#15778).
2682 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2684 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2685 Make it into a proper minor mode.
2686 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2687 (rectangle-mark-mode-map): New keymap.
2688 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2690 2013-11-04 Glenn Morris <rgm@gnu.org>
2692 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2694 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2696 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2697 (ruby-smie-rules): Use smie-rule-parent instead.
2699 * emacs-lisp/smie.el (smie-rule-parent): Always call
2700 smie-indent-virtual rather than only for hanging tokens.
2701 (smie--next-indent-change): New helper command.
2703 2013-11-03 Glenn Morris <rgm@gnu.org>
2705 * Makefile.in (abs_srcdir): Remove.
2706 (emacs): Unset EMACSLOADPATH.
2708 2013-11-02 Glenn Morris <rgm@gnu.org>
2710 * Makefile.in (EMACS): Use a relative filename.
2711 (abs_top_builddir): Remove.
2712 (custom-deps, finder-data, autoloads): Use --chdir.
2714 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2716 Use relative filenames in TAGS files.
2717 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2718 (lisptagsfiles4, TAGS): Use relative file names.
2719 (TAGS-LISP): Remove.
2720 (maintainer-clean): No more TAGS-LISP file.
2722 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2723 (lisptagsfiles4): Use absolute filenames again.
2724 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2725 Remove all *loaddefs files, not just the first. Remove esh-groups.
2726 (maintainer-clean): Delete TAGS, TAGS-LISP.
2728 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2730 * emacs-lisp/package.el (package-version-join):
2731 Recognize snapshot versions.
2733 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2735 * subr.el (version-regexp-alist): Add support for snapshot versions.
2737 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2739 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2740 New function, replacement for `smie-rule-parent' for when we want to
2741 skip over our direct parent if it's an assignment token..
2742 (ruby-smie-rules): Use it.
2744 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2746 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2747 unconditionally. Remove now unnecessary forward declarations.
2748 Remove XEmacs-specific setup.
2749 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2750 (ruby-font-lock-syntactic-keywords)
2751 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2752 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2753 (ruby-here-doc-end-syntax): Remove.
2754 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2755 defined as function.
2757 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2759 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2761 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2763 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2764 table and abbrev table, `define-derived-mode' does that for us
2767 2013-11-01 Glenn Morris <rgm@gnu.org>
2769 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2770 files is atomic for some time, so no parallel compilation issues).
2772 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2774 * faces.el (face-x-resources): Add :distant-foreground.
2775 (region): Use :distant-foreground for gtk and ns.
2777 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2779 Allow multiple bibliographies when BibLaTeX is used rather than
2781 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2782 (reftex-locate-bibliography-files): Us it.
2784 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2786 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2787 allow comments in pbm files.
2789 * term/w32-win.el (dynamic-library-alist): Support newer versions
2790 of libjpeg starting with v7: look only for the DLL from the
2791 version against which Emacs was built.
2792 Support versions of libpng beyond 1.4.x.
2793 Support libtiff v4.x.
2795 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2797 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2798 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2800 (ruby-deep-arglist): Add property :type.
2802 2013-10-31 Glenn Morris <rgm@gnu.org>
2804 * Makefile.in (custom-deps, finder-data): No need to setq the target
2805 variables, we are in the right directory and the defaults work fine.
2807 2013-10-30 Glenn Morris <rgm@gnu.org>
2809 * Makefile.in (autoloads): Do not use abs_lisp.
2811 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2812 `newline' does not respect `standard-output', so use `princ'.
2814 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2816 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2817 * buff-menu.el (Buffer-menu--unmark): New function.
2818 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2820 2013-10-30 Glenn Morris <rgm@gnu.org>
2822 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2824 * emacs-lisp/package.el (lm-homepage): Declare.
2826 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2829 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2831 * Makefile.in (finder-data, autoloads, update-subdirs)
2832 (compile-main, compile-clean, compile-always, bootstrap-clean):
2833 Check return value of cd.
2834 (compile-calc): Remove.
2836 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2840 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2841 (byte-compile-and-folded): New function.
2842 (=, <, >, <=, >=): Use it.
2844 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2845 (path-separator, null-device, buffer-file-coding-system)
2846 (lpr-headers-switches): Check system-type before modifying them.
2847 (find-buffer-file-type-coding-system): Mark obsolete.
2848 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2849 find-file-not-found-set-buffer-file-coding-system.
2850 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2851 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2852 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2853 (w32-direct-print-region-helper, w32-direct-print-region-function)
2854 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2855 * startup.el (normal-top-level-add-subdirs-to-load-path):
2856 * ps-print.el (ps-print-region-function):
2857 * lpr.el (print-region-function): Use new name.
2859 * subr.el (custom-declare-variable-early): Remove function.
2860 (custom-declare-variable-list): Remove var.
2861 (error, user-error): Remove `while' loop.
2862 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2863 (user-emacs-directory-warning, locate-user-emacs-file):
2865 * simple.el (read-quoted-char-radix, read-quoted-char):
2866 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2868 * custom.el (custom-declare-variable-list): Don't process
2869 custom-declare-variable-list.
2871 * progmodes/python.el (python-shell-get-buffer): New function.
2872 (python-shell-get-process): Use it.
2873 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2874 Python which encoding was used. Don't split-string since we only care
2875 about the first line. Return the temp-file, if applicable.
2876 (python-shell-send-region): Tell compile.el how to turn locations in
2877 the temp-file into locations in the source buffer.
2879 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * subr.el (undefined): Add missing behavior from the C code for
2884 * rect.el: Use lexical-binding. Add new rectangular region support.
2885 (rectangle-mark): New command.
2886 (rectangle--region): New var.
2887 (deactivate-mark-hook): Reset rectangle--region.
2888 (rectangle--extract-region, rectangle--insert-for-yank)
2889 (rectangle--highlight-for-redisplay)
2890 (rectangle--unhighlight-for-redisplay): New functions.
2891 (region-extract-function, redisplay-unhighlight-region-function)
2892 (redisplay-highlight-region-function): Use them to handle
2894 * simple.el (region-extract-function): New var.
2895 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2896 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2897 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2898 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2899 (redisplay-unhighlight-region-function)
2900 (redisplay-highlight-region-function): New vars.
2901 (redisplay--update-region-highlight): New function.
2902 (pre-redisplay-function): Use it.
2903 (exchange-point-and-mark): Don't deactivate the mark before
2904 reactivate-it anyway.
2905 * comint.el (comint-kill-region): Remove yank-handler argument.
2906 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2907 (delete-char): Remove property, since it's now part of their
2909 (self-insert-iso): Remove property since this command doesn't exist.
2911 * emacs-lisp/package.el (package--download-one-archive)
2912 (describe-package-1): Don't query the user about final newline.
2914 2013-10-29 Daniel Colascione <dancol@dancol.org>
2916 * net/tramp.el (tramp-methods): Document new functionality.
2917 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2918 tramp-hostname-checker if method provides one instead of scanning
2919 argument list for "%h" to decide hostname acceptability.
2921 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2923 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2924 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2925 Handle COPY-CONTENTS. (Bug#15737)
2927 2013-10-28 Daiki Ueno <ueno@gnu.org>
2930 (epa-file-cache-passphrase-for-symmetric-encryption):
2931 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2933 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2935 * image.el (defimage):
2936 (image-load-path): Doc fixes.
2938 2013-10-27 Alan Mackenzie <acm@muc.de>
2940 Indent statements in macros following "##" correctly.
2941 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2942 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2944 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2946 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2948 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2950 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2951 after `=' is probably a new expression.
2953 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2955 * man.el (man-imenu-title): New option.
2956 (Man-mode-map): Add menu. (Bug#15722)
2957 (Man-mode): Add imenu to menu.
2959 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2961 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2962 specific in what the first arg can be: a non-keyword word,
2963 string/regexp/percent literal opener, opening paren, or unary
2964 operator followed directly by word.
2966 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2969 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2970 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2971 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2972 Remove vars, they do not apply any more.
2973 (prolog-mode-abbrev-table): Remove redundant declaration.
2974 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2975 (prolog-use-smie): Remove.
2976 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2977 supported by prolog-electric-if-then-else-flag.
2978 (prolog-mode-variables, prolog-menu): Use setq-local.
2979 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2980 Remove binding to `Backspace' since this key doesn't exist anyway.
2981 Remove bindings for electric self-inserting keys.
2982 (prog-mode): Assume it's defined.
2983 (prolog-post-self-insert): New function.
2984 (prolog-mode): Use it.
2985 (prolog-indent-line, prolog-indent-level)
2986 (prolog-find-indent-of-matching-paren)
2987 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2988 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2989 (prolog-goto-next-paren, prolog-in-string-or-comment)
2990 (prolog-tokenize, prolog-inside-mline-comment)
2991 (prolog-find-start-of-mline-comment): Remove functions.
2992 (prolog-find-unmatched-paren, prolog-clause-end)
2993 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2994 (prolog-electric--if-then-else): Rename from
2995 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2996 (prolog-tokenize-searchkey): Remove const.
2997 (prolog-clause-info): Use forward-sexp.
2998 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2999 (prolog-electric-if-then-else): Remove commands.
3000 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3001 for use in post-self-insert-hook.
3002 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3003 for use in post-self-insert-hook.
3004 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3005 for use in post-self-insert-hook.
3006 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3007 adapt it for use in post-self-insert-hook.
3009 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3011 * emacs-lisp/ert.el (ert-run-tests-interactively):
3012 Use `completing-read'. (Bug#9756)
3014 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3016 * simple.el (line-move): Call line-move-1 instead of
3017 line-move-visual when the current window hscroll is zero, but
3018 temporary-goal-column indicates we will need to hscroll as result
3019 of the movement. (Bug#15712)
3021 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3023 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3024 capitalization. Use :visible instead of :active.
3025 Fix `ruby-indent-exp' reference. Add menu items for the generic
3026 commands that are used with SMIE.
3027 (ruby-do-end-to-brace): Insert space after `{'.
3029 2013-10-25 John Anthony <john@jo.hnanthony.com>
3031 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3033 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3035 2013-10-25 Glenn Morris <rgm@gnu.org>
3037 * vc/vc.el (vc-print-log): Don't use a working revision unless
3038 one was explicitly specified. (Bug#15322)
3040 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * subr.el (add-to-list): Preserve return value in compiler-macro
3045 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3047 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3048 result. Ask user to retry using '-all' flag. (Bug#15701)
3050 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3052 * emacs-lisp/smie.el: New smie-config system.
3053 (smie-config): New defcustom.
3054 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3055 (smie-config-guess, smie-config-save): New commands.
3056 (smie-config--mode-local, smie-config--buffer-local)
3057 (smie-config--trace, smie-config--modefuns): New vars.
3058 (smie-config--advice, smie-config--mode-hook)
3059 (smie-config--setter, smie-config-local, smie-config--get-trace)
3060 (smie-config--guess-value, smie-config--guess): New functions.
3061 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3062 text properties. Treat "string fence" syntax like string syntax.
3064 * progmodes/sh-script.el (sh-use-smie): Change default.
3065 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3066 (sh-var-value): Simplify by CSE.
3067 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3068 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3070 (sh-guess-basic-offset): Use cl-incf.
3071 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3073 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3075 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3078 2013-10-24 Glenn Morris <rgm@gnu.org>
3080 * Makefile.in (abs_top_srcdir): Remove.
3081 (update-subdirs): Use relative path to update-subdirs.
3083 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3085 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3086 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3087 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3088 Call unmsys--file-name before expand-file-name, not after it.
3090 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3092 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3093 (ert-test-skipped): New error.
3094 (ert-skip, ert-stats-skipped): New defuns.
3095 (ert--skip-unless): New macro.
3096 (ert-test-skipped): New struct.
3097 (ert--run-test-debugger, ert-test-result-type-p)
3098 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3099 (ert--stats-set-test-and-result, ert-char-for-test-result)
3100 (ert-string-for-test-result, ert-run-tests-batch)
3101 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3102 Handle skipped tests. (Bug#9803)
3104 2013-10-24 Glenn Morris <rgm@gnu.org>
3106 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3108 * Makefile.in (abs_top_srcdir): New, set by configure.
3109 (update-subdirs): Correct build-aux location.
3111 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3113 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3114 value, whether we could auto-deduce `backend', or not.
3116 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3117 with parameters" example. Simplify the "is it block or is it
3118 hash" check, but also make it more thorough.
3120 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3122 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3124 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3129 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3132 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3134 * progmodes/compile.el (compilation-directory-matcher)
3135 (compilation-page-delimiter):
3136 Support GNU Make-4.0 directory quoting. (Bug#15678)
3138 2013-10-23 Leo Liu <sdl.web@gmail.com>
3140 * ido.el (ido-tidy): Handle read-only text.
3142 2013-10-23 Glenn Morris <rgm@gnu.org>
3144 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3145 (emacs, compile, compile-always):
3146 Quote entities that might contain whitespace.
3147 (custom-deps, finder-data, autoloads): Use abs_lisp.
3148 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3149 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3150 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3152 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3154 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3155 Use `following-char'.
3157 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3159 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3160 * progmodes/ruby-mode.el (ruby-smie-rules):
3161 Remove corresponding workaround. Fix indentation rule of ";" so it
3162 also applies when ";" is the parent.
3164 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3166 * frame.el (display-screens, display-pixel-height)
3167 (display-pixel-width, display-mm-width, display-backing-store)
3168 (display-save-under, display-planes, display-color-cells)
3169 (display-visual-class, display-monitor-attributes-list):
3170 Mention the optional ‘display’ argument in doc strings.
3172 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3174 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3175 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3177 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3179 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3180 TODO. Add "." after " @ ".
3181 (ruby-smie--at-dot-call): New function. Checks if point at method
3182 call with explicit target.
3183 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3184 to the method name tokens when it precedes them.
3185 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3186 (ruby-smie-rules): Add rule for indentation before and after "."
3189 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3191 * textmodes/remember.el (remember-diary-extract-entries):
3194 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3197 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3199 * progmodes/ruby-mode.el (ruby-smie-grammar):
3200 Add (almost) all infix operators.
3201 (ruby-smie--implicit-semi-p): Add new operator chars.
3203 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3205 (ruby-smie--args-separator-p): Check that there's no newline
3206 between method call and its arguments.
3208 2013-10-20 Alan Mackenzie <acm@muc.de>
3210 Allow comma separated lists after Java "implements".
3212 * progmodes/cc-engine.el (c-backward-over-enum-header):
3214 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3215 from a "disallowed" list in enum fontification.
3217 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3219 * startup.el (default-frame-background-mode): Remove unused defvar.
3221 * progmodes/verilog-mode.el (verilog-mode): Don't set
3222 comment-indent-function globally.
3224 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3226 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3227 Move Info menu item creation to ns-win.el.
3229 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3232 * menu-bar.el: Move GNUStep specific menus...
3234 * term/ns-win.el (ns-initialize-window-system): ... to here.
3236 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3238 * simple.el (newline): Only run post-self-insert-hook when
3239 called interactively.
3241 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3243 * icomplete.el (icomplete-with-completion-tables): Add :version.
3245 2013-10-19 Alan Mackenzie <acm@muc.de>
3247 Fix fontification bugs with constructors and const.
3249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3250 CASE 2) Remove the check for the absence of a suffix construct
3251 after a function declaration with only types (no identifiers) in
3252 the parentheses. Also, accept a function declaration with just a
3253 type inside the parentheses, if this type can be positively
3254 recognised as such, or if a prefix keyword like "explicit" nails
3255 down the construct as a declaration.
3257 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3259 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3260 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3261 the problem whereby selecting a menu item that leads to a
3262 minibuffer prompt moves the cursor out of the minibuffer window,
3263 making it hard to type at the prompt. Suggested by Stefan Monnier
3264 <monnier@iro.umontreal.ca>.
3266 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3268 * menu-bar.el: Don't make Services menu.
3270 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3272 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3273 (ffap-alist): Use ffap-c++-mode for c++-mode.
3274 (ffap-c++-path): New variable.
3275 (ffap-c++-mode): New function.
3277 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3279 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3281 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3283 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3284 introduced on 2013-09-08, which results in an infinite loop
3285 requesting a password.
3287 2013-10-18 Glenn Morris <rgm@gnu.org>
3289 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3291 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3293 Sync with upstream verilog-mode revision 1a6ecec7.
3294 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3295 (verilog-mode-release-date): Remove.
3296 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3297 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3298 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3299 (verilog-auto-tieoff-ignore-regexp)
3300 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3301 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3302 (verilog-signals-with, verilog-dir-cache-preserving)
3303 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3305 (verilog-case-fold): New option, to control case folding in
3306 regexp searches, bug597.
3307 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3308 (verilog-string-match-fold, verilog-in-paren-count)
3309 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3310 (verilog-at-close-struct-p): New functions.
3311 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3312 (verilog-forward-sexp, verilog-set-auto-endcomments):
3313 (verilog-leap-to-case-head): Handle "unique0" case.
3314 (verilog-in-constraint-re): New constant.
3315 (verilog-keywords, verilog-type-font-keywords):
3316 Add some SystemVerilog 1800-2012 keywords.
3317 (verilog-label-be): Remove unimplemented argument, bug669.
3318 (verilog-batch-execute-func): When batch expanding clear
3319 create-lockfiles to prevent spurious user locks when a file ends
3321 (verilog-calculate-indent, verilog-calc-1)
3322 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3323 (verilog-do-indent): Fix indentation of nested constraints
3325 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3326 (verilog-auto-inst-param): Use verilog-string-match-fold.
3327 (verilog-read-inst-module-matcher):
3328 Fix AUTOINST on gate primitives with #1.
3329 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3330 Reads all user-defined typed variables.
3331 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3332 (verilog-signals-matching-regexp)
3333 (verilog-signals-not-matching-regexp, verilog-auto):
3334 Respect verilog-case-fold.
3335 (verilog-diff-report): Fix line count.
3336 (verilog-auto-assign-modport): Remove unused local `modi'.
3337 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3338 better handle multidimensional arrays.
3339 Fix packed array ports misadding bit index in AUTOINST, bug637.
3340 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3341 to not double-declare existing outputs and inputs, respectively.
3342 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3343 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3344 (verilog-sk-uvm-component): New skeleton.
3345 (verilog-submit-bug-report): Add verilog-case-fold,
3346 remove verilog-mode-release-date.
3348 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3350 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3353 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3355 * textmodes/remember.el (remember): Set buffer-offer-save in
3356 remember buffers (bug#13566).
3358 2013-10-18 Daniel Colascione <dancol@dancol.org>
3360 When evaluating forms in ielm, direct standard output to ielm
3361 buffer. Add new ielm-return-for-effect command. Remove trailing
3362 whitespace throughout.
3364 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3365 (ielm-return-for-effect): New command.
3366 (ielm-send-input): Accept optional `for-effect' parameter.
3367 (ielm-eval-input): Accept optional `for-effect' parameter.
3368 Bind `standard-output' to stream we create using
3369 `ielm-standard-output-impl'. Suppress printing result when
3371 (ielm-standard-output-impl): New function.
3372 (inferior-emacs-lisp-mode): Explain new features in documentation.
3374 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3378 * net/tramp.el (tramp-debug-message): Do not check for connection
3380 (tramp-message): Use "vector" connection property.
3382 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3383 (tramp-equal-remote, tramp-eshell-directory-change)
3384 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3385 (tramp-adb-handle-rename-file)
3386 * net/tramp-cmds.el (tramp-list-remote-buffers)
3387 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3388 * net/tramp-compat.el (tramp-compat-process-running-p)
3389 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3390 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3391 (tramp-gvfs-handle-rename-file)
3392 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3393 (tramp-set-file-uid-gid)
3394 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3395 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3398 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3399 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3400 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3401 (tramp-gw-open-network-stream): Suppress unrelated traces.
3403 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3404 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3405 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3406 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3407 connection property.
3409 * net/tramp-cache.el (top): Suppress traces when reading
3412 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3413 Refactor common code. Improve debug message.
3414 (tramp-maybe-open-connection)
3415 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3416 connection buffer too early.
3418 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3419 from `tramp-smb-actions-with-acl'.
3420 (tramp-smb-actions-set-acl): New defconst.
3421 (tramp-smb-handle-copy-directory)
3422 (tramp-smb-action-get-acl): New defun, renamed from
3423 `tramp-smb-action-with-acl'.
3424 (tramp-smb-action-set-acl): New defun.
3425 (tramp-smb-handle-set-file-acl): Rewrite.
3427 2013-10-17 Glenn Morris <rgm@gnu.org>
3429 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3431 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3433 * skeleton.el (skeleton-newline): Remove.
3434 (skeleton-internal-1): Use (insert "\n") instead.
3436 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3439 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3440 forward-sexp-function while we redo its job (bug#15613).
3442 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3444 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3445 represented by lists.
3447 2013-10-16 Glenn Morris <rgm@gnu.org>
3449 * tmm.el (tmm--history): New dynamic variable.
3450 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3452 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3454 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3455 (tramp-smb-errors): Add error messages.
3456 (tramp-smb-actions-with-acl): New defconst.
3457 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3458 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3459 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3460 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3461 (tramp-smb-get-stat-capability): Fix tests.
3463 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3465 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3468 2013-10-16 Glenn Morris <rgm@gnu.org>
3470 * ansi-color.el (ansi-color-drop-regexp):
3471 Add 1J, 1K, 2K. (Bug#15617)
3473 * files.el (hack-local-variables--warned-lexical): New.
3474 (hack-local-variables):
3475 Warn about misplaced lexical-binding. (Bug#15616)
3477 * net/eww.el (eww-render): Always set eww-current-url,
3478 and update header line. (Bug#15622)
3479 (eww-display-html): ... Rather than just doing it here.
3481 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3483 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3484 menu navigations commands.
3486 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3488 * progmodes/subword.el (subword-capitalize): Be careful when
3489 the search for [[:alpha:]] fails (bug#15580).
3491 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3493 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3494 to commands that scroll the menu.
3496 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3498 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3499 Handle methods ending with `?' and `!'.
3501 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3503 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3504 `japanese-cp932' to `cp932' to fix the problem where saving a
3505 source file written in Shift_JIS twice would end up having
3506 `coding: japanese-cp932' which Ruby could not recognize.
3507 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3508 in `ruby-encoding-map'.
3509 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3510 doesn't need to be explicitly declared in magic comment.
3511 (ruby-encoding-map): Add type declaration for better customize UI.
3513 2013-10-13 Glenn Morris <rgm@gnu.org>
3515 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3516 Occur buffers are read-only. http://bugs.debian.org/720775
3518 * emacs-lisp/authors.el (authors-fixed-entries):
3519 Comment out old alpha stuff.
3521 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3523 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3524 to `after-save-hook' instead of `before-save-hook'.
3525 (ruby-mode-set-encoding): Use the value of coding system used to
3526 write the file. Call `basic-save-buffer-1' after modifying the
3529 2013-10-13 Alan Mackenzie <acm@muc.de>
3531 Fix indentation/fontification of Java enum with
3532 "implements"/generic.
3534 * progmodes/cc-engine.el (c-backward-over-enum-header):
3535 Extracted from the three other places and enhanced to handle generics.
3536 (c-inside-bracelist-p): Uses new function above.
3537 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3539 (c-font-lock-enum-tail): Uses new function above.
3541 2013-10-13 Kenichi Handa <handa@gnu.org>
3543 * international/mule-cmds.el (select-safe-coding-system): Remove a
3544 superfluous condition in chekcing whether a coding system is safe
3547 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3549 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3551 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3553 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3555 2013-10-13 Glenn Morris <rgm@gnu.org>
3557 * menu-bar.el (menu-bar-update-buffers):
3558 Unify Buffers menu prompt string. (Bug#15576)
3560 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3562 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3564 (authors-fixed-entries): Use accented form of name.
3566 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3568 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3569 method calls (bug#15594).
3570 (ruby-smie--args-separator-p): New function.
3571 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3572 recognize paren-free method calls.
3574 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3575 internals of universal-argument.
3577 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3579 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3580 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3581 dropped menu on second mouse click on the menu bar.
3583 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3586 (explicit-shell-file-name): Declare.
3587 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3588 (sh-completion-at-point-function): New function.
3590 (sh-smie--keyword-p): Remove unused argument.
3591 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3593 (sh-set-shell): Always setup SMIE, even if we use the
3594 old indentation code.
3596 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3598 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3600 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3601 predicate would return nil are almost non-existent.
3602 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3604 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3605 cache also after commands that modify the buffer but don't move
3608 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3610 * env.el (substitute-env-in-file-name): New function.
3611 (substitute-env-vars): Extend the meaning of the optional arg.
3613 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3615 * term/w32-win.el (dynamic-library-alist): Define separate lists
3616 of GIF DLLs for versions before and after 5.0.0 of giflib.
3619 2013-10-10 João Távora <joaotavora@gmail.com>
3621 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3622 not locked, use last revision and current source as
3623 defaults. (Bug#15569)
3625 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3627 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3630 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3632 * window.el (pop-to-buffer-same-window): Fix doc-string.
3635 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3639 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3641 * calendar/icalendar.el (icalendar-import-file):
3642 Fix interactive spec. (Bug#15482)
3644 2013-10-10 Glenn Morris <rgm@gnu.org>
3646 * desktop.el (desktop-save): Default to saving in .emacs.d,
3647 since PWD is no longer in desktop-path by default. (Bug#15319)
3649 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3650 now that text mode has a menu with the same entry.
3651 (menu-bar-text-mode-auto-fill): Remove now unused func.
3652 * textmodes/text-mode.el (text-mode-map):
3653 Use auto-fill help text from menu-bar.el.
3655 2013-10-10 John Anthony <john@jo.hnanthony.com>
3657 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3659 2013-10-09 Juri Linkov <juri@jurta.org>
3661 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3662 instead of this-command-keys. Add universal-argument-more and
3663 universal-argument-minus to the list of prefix commands. (Bug#15568)
3665 2013-10-09 Glenn Morris <rgm@gnu.org>
3667 * vc/vc-svn.el (vc-svn-create-repo):
3668 Expand paths in file://... url. (Bug#15446)
3670 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3672 (authors): Remove unused local variables.
3674 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3676 * profiler.el: Create a more coherent calltree from partial backtraces.
3677 (profiler-format): Hide the tail with `invisible' so that C-s can still
3678 find the hidden elements.
3679 (profiler-calltree-depth): Don't recurse so enthusiastically.
3680 (profiler-function-equal): New hash-table-test.
3681 (profiler-calltree-build-unified): New function.
3682 (profiler-calltree-build): Use it.
3683 (profiler-report-make-name-part): Indent the calltree less.
3684 (profiler-report-mode): Add visibility specs for profiler-format.
3685 (profiler-report-expand-entry, profiler-report-toggle-entry):
3686 Expand the whole subtree when provided with a prefix arg.
3688 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3690 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3692 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3693 hanging iuwu-mod token.
3694 (ruby-smie--forward-token): Do not include a dot after a token in
3696 (ruby-smie--backward-token): Likewise.
3698 2013-10-08 Juri Linkov <juri@jurta.org>
3700 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3701 to isearch-other-control-char.
3702 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3703 and isearch-post-command-hook to post-command-hook.
3704 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3705 and isearch-post-command-hook from post-command-hook.
3706 (isearch-unread-key-sequence)
3707 (isearch-reread-key-sequence-naturally)
3708 (isearch-lookup-scroll-key, isearch-other-control-char)
3709 (isearch-other-meta-char): Remove functions.
3710 (isearch-pre-command-hook, isearch-post-command-hook):
3711 New functions based on isearch-other-meta-char rewritten
3712 relying on the new behavior of overriding-terminal-local-map
3713 that does not replace the local keymaps any more. (Bug#15200)
3715 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3717 Support menus on text-mode terminals.
3718 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3721 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3723 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3724 Move here from mouse.el.
3725 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3727 (tty-menu-navigation-map): New map for TTY menu navigation.
3729 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3731 * frame.el (display-mouse-p): Report text-mode mouse as available
3733 (display-popup-menus-p): Report availability if mouse is
3734 available; don't condition on window-system.
3736 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3737 (tty-menu-selected-face): New faces.
3739 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3741 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3742 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3743 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3744 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3746 (lisp-mode-variables): New `elisp' argument.
3747 (emacs-lisp-mode): Use it.
3748 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3749 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3751 * indent.el: Use lexical-binding.
3752 (indent-region): Add progress reporter.
3753 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3755 (indent--next-tab-stop): New function to implement this behavior.
3756 (tab-to-tab-stop, move-to-tab-stop): Use it.
3758 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3760 * indent.el (indent-rigidly--current-indentation): New function.
3761 (indent-rigidly-map): New var.
3762 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3764 2013-10-08 Bastien Guerry <bzg@gnu.org>
3766 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3768 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * progmodes/perl-mode.el: Use lexical-binding.
3771 Remove redundant :group args.
3772 (perl-nochange): Change default to be closer to other major modes's
3774 (perl-indent-line): Don't consider text on current line as a
3775 valid beginning of function from which to indent.
3777 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3778 with more than one argument (bug#15538).
3780 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3782 * vc/pcvs.el: Use lexical-binding.
3783 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3784 environment of `eval'.
3785 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3786 than a list of expressions. Adjust callers.
3787 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3789 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3791 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3792 case of the dot in a chained method call being on the following line.
3794 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3796 * electric.el (electric-indent-inhibit): New var.
3797 (electric-indent-post-self-insert-function): Use it.
3798 * progmodes/python.el (python-mode): Set it.
3800 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3803 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3805 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3806 (css-mode): Use electric-indent-chars.
3808 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3809 (font-lock-beg, font-lock-end): Move before first use.
3810 (nxml-mode): Use syntax-propertize-function.
3811 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3812 (nxml-extend-after-change-region): Remove.
3813 * nxml/xmltok.el: Use lexical-binding.
3814 (xmltok-save): Use `declare'.
3815 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3816 * nxml/nxml-util.el: Use lexical-binding.
3817 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3819 * nxml/nxml-ns.el: Use lexical-binding.
3820 (nxml-ns-save): Use `declare'.
3821 (nxml-ns-prefixes-for): Avoid add-to-list.
3822 * nxml/rng-match.el: Use lexical-binding.
3823 (rng--ipattern): Use cl-defstruct.
3824 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3825 (rng-cons-group-after, rng-subst-group-after)
3826 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3827 Use closures instead of `(lambda...).
3829 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3831 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3835 Use `tramp-handle-insert-file-contents'.
3836 (tramp-gvfs-handle-insert-file-contents): Remove function.
3838 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3839 Use `save-restriction' in order to keep markers.
3841 * net/trampver.el: Update release number.
3843 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * progmodes/compile.el (compilation-parse-errors):
3846 Use compilation--put-prop.
3847 (compilation--ensure-parse): Check compilation-multiline.
3849 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3851 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3854 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3856 * progmodes/ruby-mode.el: Fix recently added tests.
3857 (ruby-smie-grammar): Add - and +.
3858 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3859 (ruby-smie--backward-id): New functions.
3860 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3861 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3864 2013-10-07 Leo Liu <sdl.web@gmail.com>
3866 * register.el (register-preview-delay)
3867 (register-preview-functions): New variables.
3868 (register-read-with-preview, register-preview)
3869 (register-describe-oneline): New functions.
3870 (point-to-register, window-configuration-to-register)
3871 (frame-configuration-to-register, jump-to-register)
3872 (number-to-register, view-register, insert-register)
3873 (copy-to-register, append-to-register, prepend-to-register)
3874 (copy-rectangle-to-register): Use register-read-with-preview to
3875 read register. (Bug#15525)
3877 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3879 * net/network-stream.el (network-stream-open-starttls): Don't add
3880 --insecure if it's already present, because that gnutls-cli
3881 rejects getting that parameter twice.
3883 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3885 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3888 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3890 * newcomment.el (comment-use-global-state): Change default value
3891 to t, mark obsolete (Bug#15251).
3892 (comment-beginning): In addition to `comment-to-syntax', check the
3893 value of `comment-use-global-state'.
3895 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3897 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3898 (ruby-comment-column): Follow the global default, by default.
3899 (ruby-smie-grammar): Add assignment syntax.
3900 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3901 open-paren, a comma, or a \.
3902 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3903 and line continuations.
3904 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3905 followed by implicit semi-colons. Add rule for string concatenation
3906 and for indentation at BOB.
3907 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3909 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3910 calling next-sexp, since next-token may have skipped chars which
3911 next-sexp doesn't know should be skipped!
3913 2013-10-05 Leo Liu <sdl.web@gmail.com>
3915 * progmodes/octave.el (octave-send-region):
3916 Call compilation-forget-errors.
3918 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3920 * vc/vc-svn.el (vc-svn-find-admin-dir):
3921 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3922 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3923 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3924 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3926 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3928 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3930 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3932 * subr.el (read-passwd): Hide chars even when called within a context
3933 where after-change-functions is disabled (bug#15501).
3934 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3935 until we removed ourself from overriding-terminal-local-map.
3937 2013-10-04 Leo Liu <sdl.web@gmail.com>
3939 * progmodes/octave.el (inferior-octave-mode):
3940 Call compilation-forget-errors.
3942 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3944 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3946 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3948 * net/secrets.el (secrets-create-collection): Add optional
3949 argument ALIAS. Use proper Label keyword. Append ALIAS as
3950 dbus-call-method argument. (Bug#15516)
3952 2013-10-04 Leo Liu <sdl.web@gmail.com>
3954 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3955 (inferior-octave-compilation-font-lock-keywords): New variables.
3956 (compilation-error-regexp-alist)
3957 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3958 (inferior-octave-mode): Use compilation-shell-minor-mode.
3960 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3962 * minibuffer.el (completion--replace): Be careful that `end' might be
3965 2013-10-03 Daiki Ueno <ueno@gnu.org>
3967 Add support for package signature checking.
3968 * emacs-lisp/package.el (url-http-file-exists-p)
3969 (epg-make-context, epg-context-set-home-directory)
3970 (epg-verify-string, epg-context-result-for)
3971 (epg-signature-status, epg-signature-to-string)
3972 (epg-check-configuration, epg-configuration)
3973 (epg-import-keys-from-file): Declare.
3974 (package-check-signature): New user option.
3975 (package-unsigned-archives): New user option.
3976 (package-desc): Add `signed' field.
3977 (package-load-descriptor): Set `signed' field if .signed file exists.
3978 (package--archive-file-exists-p): New function.
3979 (package--check-signature): New function.
3980 (package-install-from-archive): Check package signature.
3981 (package--download-one-archive): Check archive signature.
3982 (package-delete): Remove .signed file.
3983 (package-import-keyring): New command.
3984 (package-refresh-contents): Import default keyring.
3985 (package-desc-status): Add "unsigned" status.
3986 (describe-package-1, package-menu--print-info)
3987 (package-menu-mark-delete, package-menu--find-upgrades)
3988 (package-menu--status-predicate): Support "unsigned" status.
3990 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3992 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3993 the new compilation scheme using the new byte-codes.
3995 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3996 (byte-pophandler): New byte codes.
3997 (byte-goto-ops): Adjust accordingly.
3998 (byte-compile--use-old-handlers): New var.
3999 (byte-compile-catch): Use new byte codes depending on
4000 byte-compile--use-old-handlers.
4001 (byte-compile-condition-case--old): Rename from
4002 byte-compile-condition-case.
4003 (byte-compile-condition-case--new): New function.
4004 (byte-compile-condition-case): New function that dispatches depending
4005 on byte-compile--use-old-handlers.
4006 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4009 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4010 Optimize under `condition-case' and `catch' if
4011 byte-compile--use-old-handlers is nil.
4012 (disassemble-offset): Handle new bytecodes.
4014 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * subr.el (error): Use `declare'.
4017 (decode-char, encode-char): Use advertised-calling-convention instead
4018 of the docstring to discourage use of the `restriction' arg.
4020 2013-10-03 Daiki Ueno <ueno@gnu.org>
4022 * epg.el (epg-verify-file): Add a comment saying that it does not
4023 notify verification error as a return value nor a signal.
4024 (epg-verify-string): Ditto.
4026 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4028 * progmodes/compile.el (compilation-start): Try globbing the arg to
4031 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4033 Sync with Tramp 2.2.8.
4035 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4036 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4037 * net/trampver.el: Update release number.
4039 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4041 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4042 and default-process-coding-system for darwin only.
4044 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4048 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4050 * vc/vc-git.el (vc-git-grep): Disable pager.
4052 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4054 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4055 Use :url instead of :homepage, as per
4056 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4058 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4059 non-nil, use `syntax-ppss' (Bug#15251).
4061 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4063 * progmodes/octave.el (inferior-octave-startup-file):
4064 Prefer ~/.emacs.d/init_octave.m.
4066 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4068 * emacs-lisp/package.el (package-desc-from-define):
4069 Accept additional arguments as plist, convert them to an alist and store
4070 them in the `extras' slot.
4071 (package-generate-description-file): Convert extras alist back to
4072 plist and append to the `define-package' form arguments.
4073 (package--alist-to-plist): New function.
4074 (package--ac-desc): Add `extras' slot.
4075 (package--add-to-archive-contents): Check if the archive-contents
4076 vector is long enough, and if it is, pass its `extras' slot value
4077 to `package-desc-create'.
4078 (package-buffer-info): Call `lm-homepage', pass the returned value
4079 to `package-desc-from-define'.
4080 (describe-package-1): Render the homepage button (Bug#13291).
4082 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4083 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4085 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4087 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4088 and default-process-coding-system to utf-8-unix (Bug#15402).
4090 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4092 * subr.el (looking-back): Do not recommend using looking-back.
4094 2013-09-28 Alan Mackenzie <acm@muc.de>
4096 Fix indentation/fontification of Java enum with "implements".
4098 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4099 regexp which matches "implements", etc., in Java.
4100 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4101 specifier clauses coming after "enum".
4102 * progmodes/cc-fonts.el (c-font-lock-declarations)
4103 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4106 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4108 * faces.el (region): Change ns_selection_color to
4109 ns_selection_fg_color, add ns_selection_bg_color.
4111 2013-09-28 Leo Liu <sdl.web@gmail.com>
4113 * progmodes/octave.el (inferior-octave-completion-table)
4114 (inferior-octave-completion-at-point): Minor tweaks.
4116 * textmodes/ispell.el (ispell-lookup-words): Rename from
4117 lookup-words. (Bug#15460)
4118 (lookup-words): Obsolete.
4119 (ispell-complete-word, ispell-command-loop): All uses changed.
4121 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4123 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4124 (octave-mode-menu): Add octave-send-buffer.
4125 (octave-send-buffer): New function.
4127 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4129 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4131 (octave-mode-menu): Add octave-lookfor.
4132 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4134 (octave-lookfor): New function.
4136 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4138 * emacs-lisp/cl-macs.el:
4139 (cl--loop-destr-temps): Remove.
4140 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4142 (cl--loop-set-iterator-function): New function.
4143 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4144 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4145 Bind `it' with `let' instead of substituting it with `cl-subst'.
4146 (cl--unused-var-p): New function.
4147 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4148 Eliminate some unused variable warnings (bug#15326).
4150 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4152 * doc-view.el (doc-view-scale-reset): Rename from
4153 `doc-view-reset-zoom-level'.
4154 (doc-view-scale-adjust): New command.
4155 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4156 `doc-view-scale-adjust'.
4158 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4160 * doc-view.el (doc-view-reset-zoom-level): New command.
4161 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4162 zoom commands (bug#15466).
4164 2013-09-26 Kenichi Handa <handa@gnu.org>
4166 * international/quail.el (quail-help): Make it not a command.
4168 2013-09-26 Leo Liu <sdl.web@gmail.com>
4170 * minibuffer.el (completion-all-sorted-completions): Make args
4171 optional as they are.
4173 2013-09-25 Daniel Colascione <dancol@dancol.org>
4175 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4176 specs are and that they're not evaluated.
4178 2013-09-24 Sam Steingold <sds@gnu.org>
4180 * midnight.el (clean-buffer-list-kill-regexps)
4181 (clean-buffer-list-kill-buffer-names): Update for the new Man
4182 buffer naming which includes the object name.
4184 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4187 (eshell-parse-command, eshell-parse-pipeline): Use it since
4188 eshell-separate-commands requires a dynamic scoped var.
4189 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4191 2013-09-23 Leo Liu <sdl.web@gmail.com>
4193 * autoinsert.el (auto-insert-alist): Make the value of
4194 lexical-binding match its file setting.
4196 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4198 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4200 * autoarg.el (autoarg-kp-digit-argument):
4201 * electric.el (Electric-command-loop):
4202 * kmacro.el (kmacro-step-edit-insert):
4203 Do not set universal-argument-num-events.
4205 2013-09-22 Leo Liu <sdl.web@gmail.com>
4207 * files.el (interpreter-mode-alist): Add octave.
4209 2013-09-21 Alan Mackenzie <acm@muc.de>
4211 C++: fontify identifier in declaration following "public:" correctly.
4212 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4213 to match "public", etc.
4214 (c-decl-prefix-re): Add ":" into the C++ value.
4215 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4216 bit. Add a check for a ":" preceded by "public", etc.
4218 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4220 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4221 recognized by GDB 7.5 and later.
4223 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4225 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4227 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * subr.el (internal--call-interactively): New const.
4230 (called-interactively-p): Use it (bug#3984).
4232 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4234 * vc/pcvs.el (cvs-mode-ignore):
4235 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4236 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4238 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4240 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4241 (eshell-ls-orig-insert-directory): Remove.
4242 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4243 (eshell-ls-use-in-dired): Use advice-add/remove.
4244 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4245 Add `orig-fun' arg for use in :around advice.
4246 Make it check (redundantly) eshell-ls-use-in-dired.
4248 2013-09-19 Glenn Morris <rgm@gnu.org>
4250 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4252 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4254 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4256 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4258 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4259 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4260 (tramp-get-remote-python): New defuns.
4261 (tramp-get-remote-uid-with-perl)
4262 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4263 contributed by yary <not.com@gmail.com> (tiny change).
4264 (tramp-get-remote-uid-with-python)
4265 (tramp-get-remote-gid-with-python): New defuns. Python code
4266 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4267 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4269 2013-09-19 Glenn Morris <rgm@gnu.org>
4271 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4273 * eshell/em-unix.el (eshell-remove-entries):
4274 Rename argument to avoid name-clash with global `top-level'.
4276 * eshell/esh-proc.el (eshell-kill-process-function):
4277 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4278 (eshell-reset-after-proc): Remove unused arg `proc'.
4280 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4281 (directory-files-and-attributes): Mark unused arg.
4283 * eshell/em-unix.el (eshell-remove-entries):
4284 Remove unused arg `path'. Update callers.
4286 * eshell/em-hist.el (eshell-hist-parse-arguments):
4287 Remove unused arg `silent'. Update callers.
4289 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4290 Fix (f)boundp mix-up.
4292 * eshell/em-smart.el (eshell-smart-scroll-window)
4293 (eshell-disable-after-change):
4294 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4296 2013-09-18 Alan Mackenzie <acm@muc.de>
4298 Fix fontification of type when followed by "const".
4299 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4300 "known" types from fontification.
4302 2013-09-18 Glenn Morris <rgm@gnu.org>
4304 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4305 (chart-face-list): Drop Emacsen without display-color-p.
4307 * net/eww.el (libxml-parse-html-region): Declare.
4308 (eww-display-html): Explicit error if no libxml2 support.
4310 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4312 * image.el (image-type-from-buffer, image-multi-frame-p):
4313 Remove --without-x warning/error.
4315 * mouse.el (mouse-yank-primary):
4316 * term.el (term-mouse-paste):
4317 Reorder to silence --without-x compilation.
4319 * mpc.el (doc-view-mode): Silence --without-x compilation.
4321 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4322 Silence --without-x compilation.
4324 * progmodes/gud.el (gud-find-file, gud-mode):
4325 Silence --without-x compilation.
4326 (tooltip-mode): Declare.
4328 * wdired.el (dired-backup-overwrite): Remove declaration.
4329 (wdired-mode-map): Add doc string.
4331 * custom.el (x-get-resource): Declare.
4333 * eshell/em-glob.el (ange-cache):
4334 * eshell/em-unix.el (ange-cache): Declare.
4336 * faces.el (x-display-list, x-open-connection, x-get-resource):
4339 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4340 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4343 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4345 * net/gnutls.el (gnutls-log-level): Declare.
4347 * net/shr.el (image-size, image-animate): Declare.
4349 * simple.el (font-info): Declare.
4351 * subr.el (x-popup-dialog): Declare.
4353 * term/common-win.el (x-select-enable-primary)
4354 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4357 * term/ns-win.el (x-handle-args): Declare.
4359 * term/x-win.el (x-select-enable-clipboard): Declare.
4361 * term/w32-win.el (create-default-fontset): Declare.
4363 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4366 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4367 (fit-frame-to-buffer): Explicit error if --without-x.
4368 (mouse-autoselect-window-select): Silence compiler.
4370 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4372 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4373 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4374 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4375 * eshell/esh-util.el (eshell-sublist):
4376 Remove unused local variables.
4378 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4380 * textmodes/two-column.el: Make 2C-split work for --without-x.
4381 (scroll-bar-columns): Autoload.
4382 (top-level): Require fringe when compiling.
4384 2013-09-18 Leo Liu <sdl.web@gmail.com>
4386 * subr.el (add-hook): Robustify to handle closure as well.
4388 2013-09-17 Glenn Morris <rgm@gnu.org>
4390 * simple.el (messages-buffer-mode-map): Unbind "g".
4392 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4394 * help-mode.el (help-mode-finish): Use derived-mode-p.
4395 Remove obsolete highlighting.
4397 * play/life.el (life-mode): Use define-derived-mode. Derive from
4399 (life): Let-bind inhibit-read-only.
4400 (life-setup): Avoid `setq'. Use `life-mode'.
4402 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4403 which should not be needed any more.
4404 (package-menu-refresh, package-menu-describe-package): Use user-error.
4406 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4407 (eshell-post-rewrite-command-hook): Make obsolete.
4408 (eshell-parse-command): Simplify.
4409 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4410 (eshell--cmd): Declare.
4411 (eshell-parse-pipeline): Remove unused var `final-p'.
4412 Pass a dynvar to eshell-post-rewrite-command-hook.
4413 Implement the new eshell-post-rewrite-command-function.
4414 (eshell-invoke-directly): Remove unused arg `input'.
4415 * eshell/esh-io.el (eshell-io-initialize):
4416 Use eshell-post-rewrite-command-function (bug#15399).
4417 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4418 adjust to new calling convention.
4419 (eshell-create-handles): Rename args to avoid clashing with dynvar
4422 2013-09-17 Glenn Morris <rgm@gnu.org>
4424 * simple.el (messages-buffer-mode): New major mode.
4425 (messages-buffer): New function.
4426 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4427 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4428 (ert-run-test): Use `messages-buffer' function.
4429 (ert--force-message-log-buffer-truncation): Ignore read-only.
4430 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4431 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4433 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4437 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4439 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * icomplete.el (icomplete-in-buffer): New var.
4442 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4443 vars and replace them with functions.
4444 (icomplete-minibuffer-setup): Adjust accordingly.
4445 (icomplete--completion-table, icomplete--completion-predicate)
4446 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4448 (icomplete-forward-completions, icomplete-backward-completions)
4449 (icomplete-simple-completing-p, icomplete-exhibit)
4450 (icomplete-completions): Use them.
4451 (icomplete--in-region-buffer): New var.
4452 (icomplete--in-region-setup): New function.
4453 (icomplete-mode): Use it.
4455 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4457 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4458 return args and options.
4459 (eshell-eval-using-options): Use the new return value of
4460 eshell--do-opts to set the options's vars in their scope.
4461 (eshell--set-option): Rename from eshell-set-option.
4463 (eshell--process-option): Rename from eshell-process-option.
4465 (eshell--process-args): Use an `opt-vals' alist to store the options's
4466 values during their processing and return them additionally to the
4469 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4471 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4472 continuation character an operator, as far as indentation is
4473 concerned (Bug#15369).
4475 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4477 * window.el (window--state-put-2): Don't process buffer state
4478 when buffer doesn't exist any more (Bug#15382).
4480 2013-09-15 Glenn Morris <rgm@gnu.org>
4482 * eshell/em-unix.el (eshell/rm):
4483 Make -f ignore missing files. (Bug#15373)
4485 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4486 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4487 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4489 2013-09-14 Glenn Morris <rgm@gnu.org>
4491 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4493 2013-09-13 Glenn Morris <rgm@gnu.org>
4495 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4496 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4498 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4500 * frame.el (x-focus-frame): Mark as declared in frame.c.
4502 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * ls-lisp.el: Use advice-add.
4505 (original-insert-directory): Remove.
4506 (ls-lisp--insert-directory): Rename from insert-directory; add
4507 `orig-fun' argument.
4508 (insert-directory): Advise.
4510 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4512 * term.el (term-emulate-terminal): Decode the command string
4513 before passing it to term-command-hook. (Bug#15337)
4515 2013-09-13 Glenn Morris <rgm@gnu.org>
4517 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4519 * eshell/esh-ext.el (eshell-search-path): Declare.
4521 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4522 Otherwise an error occurs if eshell-dirs module not loaded.
4524 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4526 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4528 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4529 `tramp-check-proper-host'. Check for a valid method name.
4531 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4532 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4533 * net/tramp-sh.el (tramp-maybe-open-connection):
4534 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4536 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4537 also for hash values.
4539 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4541 * term/ns-win.el (parameters): Don't declare as dynamic.
4542 (before-make-frame-hook): Don't add ineffective function.
4544 * eshell/*.el: Use lexical-binding (bug#15231).
4546 2013-09-12 Kenichi Handa <handa@gnu.org>
4548 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4550 2013-09-12 Glenn Morris <rgm@gnu.org>
4552 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4553 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4555 * subr.el (do-after-load-evaluation): Also give compiler warnings
4556 when obsolete files are used (except by obsolete files).
4558 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4559 in the status output, assume `filename' is the first. (Bug#15322)
4561 * vc/vc.el (vc-deduce-fileset): Doc fix.
4563 * calc/calc-help.el (Info-goto-node):
4564 * progmodes/cperl-mode.el (Info-find-node):
4565 * vc/ediff.el (Info-goto-node): Update declarations.
4567 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4569 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4570 (vc-bzr-pull): Require vc-dispatcher.
4571 * vc/vc-git.el (vc-compilation-mode): Declare.
4572 (vc-git-pull): Require vc-dispatcher.
4574 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4576 * progmodes/octave.el (help-button-action): Declare.
4578 * shell.el (shell-directory-tracker): Output error as a message
4579 rather than just returning it as a string.
4580 (shell-process-pushd): Remove useless use of message.
4582 * dframe.el (dframe-timer-fn):
4583 * files.el (dir-locals-read-from-file):
4584 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4586 * reveal.el (reveal-post-command):
4587 * saveplace.el (load-save-place-alist-from-file):
4588 * shell.el (shell-resync-dirs):
4589 * w32-common-fns.el (x-get-selection-value):
4590 * emacs-lisp/copyright.el (copyright-find-copyright):
4591 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4592 * emulation/tpu-edt.el (tpu-copy-keyfile):
4593 * play/bubbles.el (bubbles--mark-neighbourhood):
4594 * progmodes/executable.el
4595 (executable-make-buffer-file-executable-if-script-p):
4596 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4598 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4600 Cleanup Eshell to rely less on dynamic scoping.
4601 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4602 last-value, and ext-command here. Bind `args' closer to `body'.
4603 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4604 (eshell--args): Declare new dynamic var.
4605 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4606 last-value, and ext-command. Pass `args' to `body'.
4607 (eshell-process-args): Bind eshell--args.
4608 (eshell-set-option): Use eshell--args.
4609 * eshell/eshell.el (eshell): Use derived-mode-p.
4610 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4611 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4612 (eshell-glob-function): Declare.
4613 * eshell/esh-util.el: Require cl-lib.
4614 (eshell-read-hosts-file): Avoid add-to-list.
4615 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4617 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4619 (eshell/diff): Remove unused var `err'.
4620 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4622 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4623 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4625 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4626 Move declaration before first use.
4627 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4628 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4631 2013-09-12 Glenn Morris <rgm@gnu.org>
4633 * term/ns-win.el (global-map): Remove binding for ispell-next,
4634 deleted 1999-05-29. (Bug#15357)
4636 2013-09-11 Glenn Morris <rgm@gnu.org>
4638 * echistory.el (electric-command-history): Remove call to deleted func.
4640 * play/landmark.el (landmark-mode): Fix typos.
4642 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4643 Check cvs-sort-ignore-file is bound.
4645 * savehist.el: No need for cl when compiling on Emacs.
4647 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4649 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4651 (eshell-self-insert-command, eshell-send-invisible):
4652 Remove unused argument.
4653 (eshell-handle-control-codes): Remove unused var `orig'.
4654 Avoid delete-backward-char.
4656 * files.el (set-auto-mode): Simplify a bit further.
4658 2013-09-11 Glenn Morris <rgm@gnu.org>
4660 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4661 (set-auto-mode): Don't regexp-quote elements.
4662 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4663 * progmodes/cc-mode.el (interpreter-mode-alist):
4664 * progmodes/ruby-mode.el (interpreter-mode-alist):
4665 Revert previous change.
4667 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * play/snake.el (snake-mode):
4670 * play/mpuz.el (mpuz-mode):
4671 * play/landmark.el (lm-mode):
4672 * play/blackbox.el (blackbox-mode):
4673 * play/5x5.el (5x5-mode):
4674 * obsolete/options.el (Edit-options-mode):
4675 * net/quickurl.el (quickurl-list-mode):
4676 * net/newst-treeview.el (newsticker-treeview-mode):
4677 * mail/rmailsum.el (rmail-summary-mode):
4678 * mail/mspools.el (mspools-mode):
4679 * locate.el (locate-mode):
4680 * ibuffer.el (ibuffer-mode):
4681 * emulation/ws-mode.el (wordstar-mode):
4682 * emacs-lisp/debug.el (debugger-mode):
4683 * array.el (array-mode):
4684 * net/eudc.el (eudc-mode): Use define-derived-mode.
4685 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4686 Move initialization into declaration.
4687 (mairix-searches-mode): Use define-derived-mode.
4688 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4689 (eudc-edit-hotlist): Use dolist.
4690 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4691 (Man-mode): Use define-derived-mode.
4692 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4693 (Info-edit-mode): Use define-derived-mode.
4694 (Info-cease-edit): Use Info-mode.
4695 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4697 (eshell-mode): Use define-derived-mode.
4698 * chistory.el (command-history-mode-map): Rename from
4699 command-history-map.
4700 (command-history-mode): Use define-derived-mode.
4701 (Command-history-setup): Remove function.
4702 * calc/calc.el (calc-trail-mode-map): New var.
4703 (calc-trail-mode): Use define-derived-mode.
4704 (calc-trail-buffer): Set calc-main-buffer manually.
4705 * bookmark.el (bookmark-insert-annotation): New function.
4706 (bookmark-edit-annotation): Use it.
4707 (bookmark-edit-annotation-mode): Make it a proper major mode.
4708 (bookmark-send-edited-annotation): Use derived-mode-p.
4709 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4710 closer to its ideal place. Use \' to match EOS.
4712 * profiler.el (profiler-calltree-find): Use function-equal.
4714 2013-09-10 Glenn Morris <rgm@gnu.org>
4716 * files.el (interpreter-mode-alist): Convert to regexps.
4717 (set-auto-mode): Adapt for this. (Bug#15306)
4718 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4719 Comment out unused variable.
4720 * progmodes/cc-mode.el (interpreter-mode-alist):
4721 * progmodes/python.el (interpreter-mode-alist):
4722 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4723 * progmodes/sh-script.el (sh-set-shell):
4724 No longer use interpreter-mode-alist to get list of shells.
4726 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4728 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4730 * simple.el: Use set-temporary-overlay-map for universal-argument.
4731 (universal-argument-map): Don't use default-bindings (bug#15317).
4732 Bind switch-frame explicitly. Replace universal-argument-minus with
4733 a conditional binding.
4734 (universal-argument-num-events, saved-overriding-map): Remove.
4735 (restore-overriding-map): Remove.
4736 (universal-argument--mode): Rename from save&set-overriding-map,
4738 (universal-argument, universal-argument-more, negative-argument)
4739 (digit-argument): Adjust accordingly.
4740 (universal-argument-minus): Remove.
4741 (universal-argument-other-key): Remove.
4743 * subr.el (with-demoted-errors): Add `format' argument.
4745 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4747 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4748 `tramp-cleanup-connection'.
4750 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4751 parameters KEEP-DEBUG and KEEP-PASSWORD.
4753 * net/tramp.el (tramp-file-name-handler):
4754 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4755 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4756 (tramp-maybe-open-connection):
4757 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4758 Use `tramp-cleanup-connection'.
4760 * net/tramp-sh.el (tramp-maybe-open-connection):
4761 Catch 'uname-changed inside the progress reporter.
4763 2013-09-10 Glenn Morris <rgm@gnu.org>
4765 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4767 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4768 returns "alternate access method" in mode (eg "-rw-r--r--.").
4770 2013-09-08 Glenn Morris <rgm@gnu.org>
4772 * saveplace.el (load-save-place-alist-from-file):
4773 Demote errors. (Bug#15305)
4775 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4777 Improve compatibility with older Emacsen, and XEmacs.
4779 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4780 only if it is bound. It isn't for XEmacs.
4781 (with-tramp-progress-reporter): Do not let-bind `result'.
4782 This yields to scoping errors in XEmacs.
4783 (tramp-handle-make-auto-save-file-name): New function, moved from
4786 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4787 for `make-auto-save-file-name'.
4788 (tramp-adb--gnu-switches-to-ash):
4789 Use `tramp-compat-replace-regexp-in-string'.
4791 * net/tramp-cache.el (tramp-cache-print): Call
4792 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4794 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4795 bound. It isn't for XEmacs.
4797 * net/tramp-compat.el (tramp-compat-copy-file):
4798 Catch `wrong-number-of-arguments' error.
4799 (tramp-compat-replace-regexp-in-string): New defun.
4801 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4802 for `make-auto-save-file-name'.
4803 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4805 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4806 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4807 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4809 * net/tramp-gw.el (tramp-gw-open-network-stream):
4810 Use `tramp-compat-replace-regexp-in-string'.
4812 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4813 Call `tramp-handle-make-auto-save-file-name'.
4814 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4815 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4816 (tramp-sh-file-inotifywait-process-filter):
4817 Use `tramp-compat-replace-regexp-in-string'.
4818 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4820 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4821 for `make-auto-save-file-name'.
4822 (tramp-smb-handle-copy-directory):
4823 Call `tramp-compat-replace-regexp-in-string'.
4824 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4825 (tramp-smb-handle-copy-file): Improve error message.
4826 (tramp-smb-handle-rename-file): Rename directly only in case
4827 `newname' does not exist yet. This is a restriction of smbclient.
4828 (tramp-smb-maybe-open-connection): Rerun the function only when
4829 `auth-sources' is non-nil.
4831 2013-09-08 Kenichi Handa <handa@gnu.org>
4833 * international/characters.el: Set category "^" (Combining) for
4836 2013-09-07 Alan Mackenzie <acm@muc.de>
4838 Correctly fontify Java class constructors.
4839 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4841 (c-recognize-typeless-decls): Set the Java value to t.
4842 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4843 While handling a "(", add a check for, effectively, Java, and handle a
4844 "typeless" declaration there.
4846 2013-09-07 Roland Winkler <winkler@gnu.org>
4848 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4849 field subtitle for entry type book.
4851 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4853 * minibuffer.el: Make minibuffer-complete call completion-in-region
4854 rather than other way around.
4855 (completion--some, completion-pcm--find-all-completions):
4856 Don't delay signals when debugging.
4857 (minibuffer-completion-contents): Beware fields within the
4858 minibuffer contents.
4859 (completion-all-sorted-completions): Use defvar-local.
4860 (completion--do-completion, completion--cache-all-sorted-completions)
4861 (completion-all-sorted-completions, minibuffer-force-complete):
4862 Add args `beg' and `end'.
4863 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4864 (minibuffer-complete): Use completion-in-region.
4865 (completion-complete-and-exit): New fun, extracted from
4866 minibuffer-complete-and-exit.
4867 (minibuffer-complete-and-exit): Use it.
4868 (completion--complete-and-exit): Rename from
4869 minibuffer--complete-and-exit.
4870 (completion-in-region--single-word): New function, extracted from
4871 minibuffer-complete-word.
4872 (minibuffer-complete-word): Use it.
4873 (display-completion-list): Make `common-substring' argument obsolete.
4874 (completion--in-region): Call completion--in-region-1 instead of
4875 minibuffer-complete.
4876 (completion-help-at-point): Pass boundaries to
4877 minibuffer-completion-help as args rather than via an overlay.
4878 (completion-pcm--string->pattern): Use `any-delim'.
4879 (completion-pcm--optimize-pattern): New function.
4880 (completion-pcm--pattern->regex): Handle `any-delim'.
4881 * icomplete.el (icomplete-forward-completions)
4882 (icomplete-backward-completions, icomplete-completions):
4883 Adjust calls to completion-all-sorted-completions and
4884 completion--cache-all-sorted-completions.
4885 (icomplete-with-completion-tables): Default to t.
4886 * emacs-lisp/crm.el (crm--current-element): Rename from
4887 crm--select-current-element. Don't put an overlay but return the
4889 (crm--completion-command): Take two new args to bind to the boundaries.
4890 (crm-completion-help): Adjust accordingly.
4891 (crm-complete): Use completion-in-region.
4892 (crm-complete-word): Use completion-in-region--single-word.
4893 (crm-complete-and-exit): Use completion-complete-and-exit.
4895 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4897 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4900 2013-09-06 Juri Linkov <juri@jurta.org>
4902 * info.el (Info-display-images-node): When image file doesn't exist
4903 display text version of the image if it's provided in the Info file.
4904 Otherwise, display the location of missing image from SRC attribute.
4905 Add help-echo text property from ALT attribute. (Bug#15279)
4907 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4909 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4910 (edit-abbrevs-mode): Use define-derived-mode.
4912 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4913 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4915 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4916 Use define-derived-mode.
4918 * epg.el (epg-start-encrypt): Minor CSE simplification.
4920 2013-09-06 William Xu <william.xwl@gmail.com>
4922 * arc-mode.el: Add support for 7za (bug#15264).
4923 (archive-7z-program): New var.
4924 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4925 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4926 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4928 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4932 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4933 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4934 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4935 (tramp-postfix-host-format, tramp-file-name-regexp)
4936 (tramp-completion-file-name-regexp)
4937 (tramp-completion-dissect-file-name)
4938 (tramp-handle-substitute-in-file-name): Remove 'url case.
4939 (tramp-file-name-regexp-url)
4940 (tramp-completion-file-name-regexp-url): Remove constants.
4942 2013-09-06 Glenn Morris <rgm@gnu.org>
4944 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4946 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4948 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4949 keywords" below "here-doc beginnings" (Bug#15270).
4951 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4953 * subr.el (pop): Use `car-safe'.
4954 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4955 to detect unused `pop' return value.
4957 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4959 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4960 (python-fill-string): Remove unused var `marker'.
4961 (python-skeleton-add-menu-items): Remove unused var `items'.
4963 * international/mule-cmds.el: Require CL.
4964 (find-coding-systems-for-charsets): Avoid add-to-list.
4965 (sanitize-coding-system-list): New function, extracted from
4966 select-safe-coding-system-interactively.
4967 (select-safe-coding-system-interactively): Use it.
4968 (read-input-method-name): Accept symbols for `default'.
4970 * emacs-lisp/advice.el (defadvice): Add indent rule.
4972 2013-09-05 Daniel Hackney <dan@haxney.org>
4976 * net/browse-url.el:
4979 * net/eudcb-ldap.el:
4992 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4993 byte compiler. Remove some unused let-bound variables.
4995 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4998 a "ref-cell", since it gets better optimized (bug#14883).
5000 2013-09-05 Glenn Morris <rgm@gnu.org>
5002 * progmodes/cc-awk.el (c-forward-sws): Declare.
5004 2013-09-04 Glenn Morris <rgm@gnu.org>
5006 * generic-x.el [rul-generic-mode]: Require cc-mode.
5007 (c++-mode-syntax-table): Declare.
5008 (rul-generic-mode-syntax-table): Init in the defvar.
5010 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5012 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5013 (vc-do-command, vc-set-async-update):
5014 * vc/vc-mtn.el (vc-mtn-dir-status):
5015 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5016 (vc-hg-pull, vc-hg-merge-branch):
5017 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5018 (vc-git-merge-branch):
5019 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5020 (vc-cvs-dir-status-files):
5021 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5022 (vc-bzr-dir-status-files):
5023 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5024 * vc/vc-annotate.el: Use lexical-binding.
5025 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5026 (vc-sentinel-movepoint): Declare.
5027 (vc-annotate): Don't use `goto-line'.
5028 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5029 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5030 (vc-sentinel-movepoint): Declare.
5031 * vc/vc-svn.el: Use lexical-binding.
5032 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5034 * vc/vc-rcs.el: Use lexical-binding.
5036 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5037 `deleted'. Don't drop errors silently.
5039 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5041 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5043 * vc/vc.el (vc-ignore): Rewrite.
5044 (vc-default-ignore): New function.
5045 (vc-default-ignore-completion-table): Use find-ignore-file.
5047 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5048 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5049 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5050 Remove. Most code moved to vc.el.
5052 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5055 * net/tramp-smb.el (tramp-smb-get-file-entries):
5056 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5057 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5059 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5061 (eww-change-select): Remove unused var `properties'.
5062 (eww-make-unique-file-name): Remove unused var `base'.
5064 * finder.el (finder-compile-keywords): Don't mess with windows.
5066 * calculator.el (calculator-funcall): Fix typo in last change.
5068 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5070 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5071 <pkg>-autoloads.el file stop us.
5073 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5074 warnings, and factor out common code.
5076 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5078 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5079 two-character operators and whether the character preceding them
5080 changes their meaning (Bug#15208).
5082 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5084 Format code sent to Python shell for robustness.
5085 * progmodes/python.el (python-shell-buffer-substring):
5087 (python-shell-send-region, python-shell-send-buffer): Use it.
5089 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5091 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5092 * net/tramp.el (tramp-user-error): ... here.
5093 (tramp-find-method, tramp-check-proper-host)
5094 (tramp-dissect-file-name, tramp-debug-message)
5095 (tramp-handle-shell-command):
5096 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5099 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5101 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5103 * avoid.el (mouse-avoidance-point-position)
5104 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5107 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5109 * progmodes/python.el (python-shell-completion-get-completions):
5110 Drop use of deleted `comint-last-prompt-overlay'.
5111 (python-nav-if-name-main): New command.
5113 2013-09-01 Glenn Morris <rgm@gnu.org>
5115 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5116 Avoid leading space in $wins. Otherwise the sed command used by
5117 eg compile-main ends up containing "/*.el". (Bug#15170)
5119 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5121 2013-08-30 Glenn Morris <rgm@gnu.org>
5123 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5124 Fix is-this-a-directory logic. (Bug#15220)
5126 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * textmodes/css-mode.el: Use SMIE.
5129 (css-smie-grammar): New var.
5130 (css-smie--forward-token, css-smie--backward-token)
5131 (css-smie-rules): New functions.
5132 (css-mode): Use them.
5133 (css-navigation-syntax-table): Remove var.
5134 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5135 (css-indent-calculate, css-indent-line): Remove functions.
5137 Misc changes to reduce use of `(lambda...); and other cleanups.
5138 * cus-edit.el: Use lexical-binding.
5139 (customize-push-and-save, customize-apropos)
5140 (custom-buffer-create-internal): Use closures.
5141 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5142 * progmodes/ada-xref.el: Use setq.
5143 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5144 * dframe.el: Use lexical-binding.
5145 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5146 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5147 * descr-text.el: Use lexical-binding.
5148 (describe-text-widget, describe-text-sexp, describe-property-list):
5150 * comint.el (comint-history-isearch-push-state): Use a closure.
5151 * calculator.el: Use lexical-binding.
5152 (calculator-number-to-string): Make it work with lexical-binding.
5153 (calculator-funcall): Same and use cl-letf.
5155 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5156 (lisp--company-doc-string, lisp--company-location): New functions.
5157 (lisp-completion-at-point): Use them to improve Company support.
5159 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5160 params of lambda expressions.
5161 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5162 (ruby-smie--opening-pipe-p): New function.
5163 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5164 symbols and matched |...| for formal params.
5165 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5166 from being treated as hanging. Handle "rescue".
5168 2013-08-29 Glenn Morris <rgm@gnu.org>
5170 * progmodes/cc-engine.el (c-pull-open-brace):
5171 Move definition before use.
5173 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5175 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5176 are immutable. Don't use `unsafe' any more.
5177 (cl--defsubst-expand): Don't substitute at the same time as keeping
5178 a residual unused let-binding. Don't use `unsafe' any more.
5180 2013-08-29 Glenn Morris <rgm@gnu.org>
5182 * calendar/cal-china.el (calendar-chinese-year-cache):
5185 * nxml/nxml-util.el (nxml-debug-clear-inside):
5186 Use cl-loop rather than loop.
5188 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5190 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5192 2013-08-28 Glenn Morris <rgm@gnu.org>
5194 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5196 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5198 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5200 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * simple.el (repeat-complex-command--called-interactively-skip):
5204 (repeat-complex-command): Use it (bug#14136).
5206 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5207 (c-define-abbrev-table): Add `doc' argument.
5208 (c-mode-abbrev-table, c++-mode-abbrev-table)
5209 (objc-mode-abbrev-table, java-mode-abbrev-table)
5210 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5211 (awk-mode-abbrev-table): Use it.
5212 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5213 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5214 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5215 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5216 Move initialization into the declaration; and remove any
5219 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5220 and dynamic let binding.
5222 * vc/smerge-mode.el: Remove redundant :group args.
5224 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5227 2013-08-28 Juri Linkov <juri@jurta.org>
5229 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5230 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5231 (isearch-other-meta-char): Handle an undefined shifted printing
5232 character by downshifting it. (Bug#15200)
5234 2013-08-28 Juri Linkov <juri@jurta.org>
5236 * isearch.el (isearch-search): Change regexp error message for
5237 non-regexp searches. (Bug#15166)
5239 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5241 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5242 for portability to hosts where /bin/sh has problems.
5244 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5246 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5248 2013-08-27 Juri Linkov <juri@jurta.org>
5250 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5251 in the keyboard macro. (Bug#15126)
5253 2013-08-27 Juri Linkov <juri@jurta.org>
5255 * isearch.el (isearch-quote-char): Comment out converting unibyte
5256 to multibyte, thus syncing with its `quoted-insert' counterpart.
5259 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5261 * window.el (display-buffer-use-some-window): Add missing
5262 argument in call of get-largest-window (Bug#15185).
5263 Reported by Stephen Leake.
5265 2013-08-27 Glenn Morris <rgm@gnu.org>
5267 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5269 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5271 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5272 from a matcher-function unless there's no more matches (bug#15161).
5274 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5276 * minibuffer.el: Revert change from 2013-08-20.
5278 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5279 with text property `tramp-default', if appropriate.
5280 (tramp-check-proper-host): New defun.
5281 (tramp-dissect-file-name): Do not check hostname. Revert change
5283 (tramp-backtrace): Make VEC-OR-PROC optional.
5285 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5286 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5287 * net/tramp-sh.el (tramp-maybe-open-connection):
5288 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5289 Apply `tramp-check-proper-host'.
5291 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5293 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5294 lambda expression in order to have `describe-variable' display it.
5296 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5298 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5299 BUF can be optional. (Bug#15186)
5301 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5303 * progmodes/flymake.el (flymake-get-real-file-name-function):
5304 Fix broken customization. (Bug#15184)
5306 2013-08-25 Alan Mackenzie <acm@muc.de>
5308 Improve indentation of bracelists defined by macros (without "=").
5310 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5311 expansion begins with "{", regard it as bracelist when it doesn't
5314 Parse C++ inher-intro when there's a template split over 2 lines.
5316 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5317 rigorously the search for "class" etc. followed by ":".
5319 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5320 random languages a regexp which never matches rather than nil.
5322 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5324 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5325 (c-awk-regexp-one-line-possibly-open-char-list-re)
5326 (c-awk-one-line-possibly-open-regexp-re)
5327 (c-awk-one-line-non-syn-ws*-re): Remove.
5328 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5329 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5330 (c-awk-space*-unclosed-regexp-/-re): New constants.
5331 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5332 aren't regexp delimiters.
5334 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5335 handling for a rare situation in AWK Mode involving unterminated
5338 2013-08-23 Glenn Morris <rgm@gnu.org>
5340 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5342 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5344 * files.el (create-file-buffer): If the result would begin with
5345 spaces, prepend a "|" instead of removing them. (Bug#15162)
5347 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5349 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5350 text-properties (bug#15155).
5352 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5354 (calc-keypad-redraw): Remove unused var `pad'.
5355 (calc-keypad-press): Remove unused var `menu'.
5357 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5359 * window.el (display-buffer-pop-up-frame):
5360 Call pop-up-frame-function with BUFFER current so `make-frame' will
5361 use it as the new frame's buffer (Bug#15133).
5363 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5365 * calendar/timeclock.el: Minor cleanups.
5366 (timeclock-ask-before-exiting, timeclock-use-display-time):
5368 (timeclock-modeline-display): Define as alias before the
5370 (timeclock-mode-line-display): Use define-minor-mode.
5371 (timeclock-day-list-template): Make it a function, add an argument.
5372 (timeclock-day-list-required, timeclock-day-list-length)
5373 (timeclock-day-list-debt, timeclock-day-list-span)
5374 (timeclock-day-list-break): Adjust calls accordingly.
5376 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5379 Use read--expression so that completion works again.
5381 2013-08-21 Sam Steingold <sds@gnu.org>
5383 Add rudimentary inferior shell interaction
5384 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5385 (sh-set-shell): Reset it.
5386 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5387 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5389 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5391 * align.el: Use lexical-binding.
5392 (align-region): Simplify accordingly.
5394 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5396 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5398 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5401 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5405 * net/tramp-cmds.el:
5407 * net/tramp-gvfs.el:
5409 * net/tramp-sh.el: Don't wrap external variable declarations by
5410 `eval-when-compile'.
5412 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5414 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5415 now that Emacs supports ImageMagick animations.
5417 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5419 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5420 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5422 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5424 * window.el (mouse-autoselect-window-select): Do autoselect when
5425 mouse pointer is on margin.
5427 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5429 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5431 2013-08-16 Glenn Morris <rgm@gnu.org>
5433 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5434 Handle "Remote Directory" response of some clients. (Bug#15058)
5436 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5437 Tweak warning. (Bug#14926)
5439 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5440 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5442 * image-mode.el (image-mode-map): Add menu items to reverse,
5443 increase, decrease, reset animation speed.
5444 (image--set-speed, image-increase-speed, image-decrease-speed)
5445 (image-reverse-speed, image-reset-speed): New functions.
5446 (image-mode-map): Add bindings for speed commands.
5448 * image.el (image-animate-get-speed, image-animate-set-speed):
5450 (image-animate-timeout): Respect image :speed property.
5452 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5455 previous line (bug#15101).
5456 (debugger-eval-expression, debugger-record-expression):
5457 Use read--expression (bug#15102).
5459 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5461 Remove byte compiler warnings, visible when compiling with
5462 `byte-compile-force-lexical-warnings' set to t.
5464 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5465 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5466 (tramp-handle-unhandled-file-name-directory)
5467 (tramp-handle-file-notify-add-watch, tramp-action-login)
5468 (tramp-action-succeed, tramp-action-permission-denied)
5469 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5472 * net/tramp-adb.el (tramp-adb-parse-device-names)
5473 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5474 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5475 (tramp-adb-handle-file-truename): Remove unused arguments.
5477 * net/tramp-cache.el (tramp-flush-directory-property)
5478 (tramp-flush-connection-property, tramp-list-connections)
5479 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5481 * net/tramp-compat.el (tramp-compat-make-temp-file):
5482 Rename FILENAME to F.
5484 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5485 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5486 (tramp-zeroconf-parse-workstation-device-names)
5487 (tramp-zeroconf-parse-webdav-device-names)
5488 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5490 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5491 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5493 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5495 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5496 (tramp-sh-handle-insert-file-contents-literally)
5497 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5499 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5500 Remove unused variables.
5502 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5503 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5504 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5506 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5507 Make them a defconst.
5508 (tramp-uuencode-region): Remove unused variable.
5510 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5512 * frameset.el (frameset--prop-setter): New function.
5513 (frameset-prop): Add gv-setter declaration.
5514 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5515 parameter was already set in FILTERED. Doc fix.
5516 (frameset--record-minibuffer-relationships): Allow saving a
5517 minibufferless frame without its corresponding minibuffer frame.
5518 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5519 frame, if the frame id matches.
5520 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5521 frames before orphaned ones.
5522 (frameset-restore): Warn about orphaned windows, instead of error out.
5524 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5526 * window.el (window-make-atom): Don't overwrite parameter
5528 (display-buffer-in-atom-window): Handle special case where we
5529 split an already atomic window.
5530 (window--major-non-side-window, display-buffer-in-side-window)
5531 (window--side-check): Ignore minibuffer window when walking
5533 (window-deletable-p): Return 'frame only if no other frame uses
5534 our minibuffer window.
5535 (record-window-buffer): Run buffer-list-update-hook.
5536 (split-window): Make sure window--check-frame won't destroy an
5537 existing atomic window in case the new window gets nested
5539 (display-buffer-at-bottom): Ignore minibuffer window when
5540 walking window tree. Don't split a side window.
5541 (pop-to-buffer): Don't set-buffer here, the select-window call
5543 (mouse-autoselect-window-select): Autoselect only if we are in the
5544 text portion of the window.
5546 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5548 * net/shr.el (shr-parse-image-data): New function to grab both the
5549 data itself and the Content-Type.
5550 (shr-put-image): Use it.
5552 * net/eww.el (eww-display-image): Ditto.
5554 * image.el (image-content-type-suffixes): New variable.
5556 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5558 * progmodes/python.el (python-imenu--build-tree)
5559 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5561 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5563 * simple.el (backward-word): Mention the optional argument.
5565 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5567 * frameset.el (frameset--make): Rename constructor from make-frameset.
5568 (frameset-p, frameset-valid-p): Don't autoload.
5569 (frameset-valid-p): Use normal accessors.
5571 2013-08-13 Glenn Morris <rgm@gnu.org>
5573 * progmodes/compile.el (compile-command): Tweak example in doc.
5574 * obsolete/scribe.el (scribe-mode):
5575 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5577 * mail/feedmail.el (feedmail-confirm-outgoing)
5578 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5580 * cus-start.el (truncate-partial-width-windows): Fix type.
5582 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5584 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5586 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5588 * emacs-lisp/timer.el (timer--time-setter): New function.
5589 (timer--time): Use it as gv-setter.
5591 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5592 setter is not a symbol.
5594 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5596 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5597 if sending fails. This makes debugging easier.
5599 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5601 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5602 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5603 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5605 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5607 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5609 2013-08-12 Glenn Morris <rgm@gnu.org>
5611 * format.el (format-annotate-function):
5612 Handle read-only text properties in the source. (Bug#14887)
5614 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5616 * net/eww.el (eww-display-html): Ignore coding system errors.
5617 One web site uses "utf-8lias" as the coding system.
5619 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5621 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5623 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5625 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5626 (tutorial--detailed-help): Remove unused local variables.
5627 (tutorial--save-tutorial-to): Use ignore-errors.
5628 (help-with-tutorial): Use looking-at-p.
5630 * view.el (view-buffer-other-window, view-buffer-other-frame):
5631 Mark unused arguments.
5633 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5634 (woman-select-symbol-fonts, woman, woman-find-file)
5635 (woman-insert-file-contents, woman-non-underline-faces):
5637 (woman1-unquote): Move declaration.
5639 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5640 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5641 argument. Remove unused local variable.
5642 (xml-parse-elem-type): Use string-match-p.
5643 (xml-substitute-numeric-entities): Use ignore-errors.
5645 * calculator.el (calculator): Mark unused argument.
5646 (calculator-paste, calculator-quit, calculator-integer-p):
5648 (calculator-string-to-number, calculator-decimal, calculator-exp)
5649 (calculator-op-or-exp): Use string-match-p.
5651 * dired.el (dired-buffer-more-recently-used-p): Declare.
5652 (dired-insert-set-properties, dired-insert-old-subdirs):
5655 * dired-aux.el (dired-compress): Use ignore-errors.
5656 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5657 (dired-do-async-shell-command, dired-do-shell-command)
5658 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5659 (dired-insert-subdir-validate): Use string-match-p.
5660 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5661 (dired-add-entry): Use string-match-p, looking-at-p.
5662 (dired-insert-subdir-newpos): Remove unused local variable.
5664 * filenotify.el (file-notify-callback): Remove unused local variable.
5666 * filesets.el (filesets-error): Mark unused argument.
5667 (filesets-which-command-p, filesets-filter-dir-names)
5668 (filesets-directory-files, filesets-get-external-viewer)
5669 (filesets-ingroup-get-data): Use string-match-p.
5671 * find-file.el (ff-other-file-name, ff-other-file-name)
5672 (ff-find-the-other-file, ff-cc-hh-converter):
5673 Remove unused local variables.
5674 (ff-get-file-name): Use string-match-p.
5675 (ff-all-dirs-under): Use ignore-errors.
5677 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5678 (follow-select-if-visible): Remove unused local variable.
5680 * forms.el (read-file-filter): Move declaration.
5681 (forms--make-format, forms--make-parser, forms-insert-record):
5682 Quote function with #'.
5683 (forms--update): Use string-match-p. Quote function with #'.
5685 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5686 (help-make-xrefs): Use looking-at-p.
5687 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5689 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5690 (ibuffer-confirm-operation-on): Use string-match-p.
5692 * msb.el (msb-item-handler, msb-dired-item-handler):
5693 Mark unused arguments.
5695 * ses.el (ses-decode-cell-symbol)
5696 (ses-kill-override): Remove unused local variable.
5697 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5698 (ses-load): Use ignore-errors, looking-at-p.
5699 (ses-jump-safe): Use ignore-errors.
5700 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5702 * tabify.el (untabify, tabify): Mark unused arguments.
5704 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5705 Mark unused argument.
5706 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5707 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5709 * emacs-lisp/timer.el (timer--time): Define setter with
5710 gv-define-setter to avoid deprecation warning.
5712 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5713 (*record-cmpl-statistics-p*): Remove (was commented out).
5714 (cmpl-statistics-block): Remove (body was commented out).
5715 All callers changed.
5716 (add-completions-from-buffer, load-completions-from-file):
5717 Remove unused variables.
5719 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5721 * filecache.el (file-cache-delete-file-list):
5722 Print message only when told so.
5723 (file-cache-files-matching): Use #' in mapconcat argument.
5725 * ffap.el (ffap-url-at-point): Fix reference to variable
5726 thing-at-point-default-mail-uri-scheme.
5728 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5730 * subr.el (define-error): New function.
5731 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5732 error-file-not-found and define with define-error.
5733 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5734 and define with define-error.
5735 * userlock.el (file-locked, file-supersession):
5736 * simple.el (mark-inactive):
5737 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5738 * progmodes/ada-mode.el (ada-mode-errors):
5739 * play/life.el (life-extinct):
5740 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5741 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5742 * nxml/rng-util.el (rng-error):
5743 * nxml/rng-uri.el (rng-uri-error):
5744 * nxml/rng-match.el (rng-compile-error):
5745 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5746 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5747 * nxml/nxml-rap.el (nxml-scan-error):
5748 * nxml/nxml-outln.el (nxml-outline-error):
5749 * net/soap-client.el (soap-error):
5750 * net/gnutls.el (gnutls-error):
5751 * net/ange-ftp.el (ftp-error):
5752 * mpc.el (mpc-proc-error):
5753 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5754 (json-number-format, json-string-escape, json-string-format)
5755 (json-key-format, json-object-format):
5756 * jka-compr.el (compression-error):
5757 * international/quail.el (quail-error):
5758 * international/kkc.el (kkc-error):
5759 * emacs-lisp/ert.el (ert-test-failed):
5760 * calc/calc.el (calc-error, inexact-result, math-overflow)
5762 * bookmark.el (bookmark-error-no-filename):
5763 * epg.el (epg-error): Define with define-error.
5765 * time.el (display-time-event-handler)
5766 (display-time-next-load-average): Don't call sit-for since it seems
5767 unnecessary (bug#15045).
5769 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5770 Use #' instead of ' to quote functions.
5771 (checkdoc-output-mode): Use setq-local.
5772 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5773 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5774 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5775 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5776 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5777 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5778 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5779 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5781 * ido.el (ido-completion-help): Fix up compiler warning.
5783 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5785 * frameset.el (frameset-p): Add autoload cookie.
5786 (frameset--jump-to-register): New function, based on code moved from
5788 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5790 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5791 (frameset-restore, frameset-save, frameset-session-filter-alist):
5792 Remove declarations.
5793 (register-alist): Doc fix.
5794 (frameset-to-register): Move to frameset.el.
5795 (jump-to-register, describe-register-1): Remove frameset-specific code.
5797 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5799 * allout-widgets.el (allout-widgets-pre-command-business)
5800 (allout-widgets-post-command-business)
5801 (allout-widgets-after-change-handler)
5802 (allout-decorate-item-and-context, allout-set-boundary-marker)
5803 (allout-body-modification-handler)
5804 (allout-graphics-modification-handler): Mark ignored arguments.
5805 (allout-widgets-post-command-business)
5806 (allout-widgets-exposure-change-processor)
5807 (allout-widgets-exposure-undo-processor)
5808 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5809 (allout-parse-item-at-point, allout-decorate-item-guides)
5810 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5811 * allout.el (epa-passphrase-callback-function): Declare.
5812 (allout-overlay-insert-in-front-handler)
5813 (allout-overlay-interior-modification-handler)
5814 (allout-isearch-end-handler, allout-chart-siblings)
5815 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5816 (allout-yank-processing, allout-process-exposed)
5817 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5818 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5819 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5820 (lisp-indent-defform): Mark ignored arguments.
5821 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5822 (calculate-lisp-indent): Remove unused variables.
5823 * international/characters.el (indian-2-column, arabic-2-column)
5824 (tibetan): Mark ignored arguments.
5825 (use-cjk-char-width-table): Mark ignored arguments.
5826 Remove unused variables.
5827 * international/fontset.el (build-default-fontset-data)
5828 (x-compose-font-name, create-fontset-from-fontset-spec):
5829 Mark ignored arguments.
5830 (fontset-plain-name): Remove unused variables.
5831 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5832 (keyboard-coding-system): Mark ignored arguments.
5833 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5834 * help.el (resize-temp-buffer-window):
5835 * window.el (display-buffer-in-major-side-window)
5836 (display-buffer-in-side-window, display-buffer-in-previous-window):
5837 Remove unused variables.
5838 * isearch.el (isearch-forward-symbol):
5839 * version.el (emacs-bzr-version-bzr):
5840 * international/mule-cmds.el (current-language-environment):
5841 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5843 * term/pc-win.el (x-list-fonts, x-display-planes)
5844 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5845 (x-server-version, x-display-screens, x-display-mm-height)
5846 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5847 (x-selection-owner-p, x-own-selection-internal)
5848 (x-disown-selection-internal, x-get-selection-internal)
5849 (msdos-initialize-window-system):
5850 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5851 * term/x-win.el (x-handle-no-bitmap-icon):
5852 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5853 (vc-default-find-file-hook, vc-default-extra-menu):
5854 Mark ignored arguments.
5856 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5858 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5859 break-condition in the context of the debugged code (bug#12685).
5861 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5864 Do not use an overlay to highlight the last prompt. (Bug#14744)
5865 (comint-mode): Make comint-last-prompt buffer local.
5866 (comint-last-prompt): New variable.
5867 (comint-last-prompt-overlay): Remove. Superseded by
5869 (comint-snapshot-last-prompt, comint-output-filter):
5870 Use comint-last-prompt.
5872 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5874 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5875 (frameset-save): Check validity of the resulting frameset.
5877 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5879 * ido.el (ido-record-command): Add doc string.
5881 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5883 * frameset.el (frameset): Do not disable creation of the default
5884 frameset-p predicate. Doc fix.
5885 (frameset-valid-p): New function, copied from the old predicate-p.
5886 Add additional checks.
5887 (frameset-restore): Check with frameset-valid-p.
5888 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5889 (frameset-name, frameset-description, frameset-properties)
5890 (frameset-states): Add docstring.
5891 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5892 (frameset-filter-alist): Doc fixes.
5894 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5896 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5898 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5900 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5901 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5902 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5903 (byte-compile-normal-call): Remove obsolescence check.
5905 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5907 * frameset.el (frameset-restore): Doc fix.
5909 * register.el (frameset-frame-id, frameset-frame-with-id)
5910 (frameset-p, frameset-restore, frameset-save): Declare.
5911 (register-alist): Document framesets.
5912 (frameset-session-filter-alist): Declare.
5913 (frameset-to-register): New function.
5914 (jump-to-register): Implement jumping to framesets. Doc fix.
5915 (describe-register-1): Describe framesets.
5917 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5919 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5921 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5922 Use lexical-binding.
5924 * frameset.el (frameset): Use type vector, not list (incompatible
5925 change). Do not declare a new constructor, use the default one.
5926 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5927 `name' and `description', respectively, and add read-only slot
5928 `timestamp'. Doc fixes.
5929 (frameset-copy, frameset-persistent-filter-alist)
5930 (frameset-filter-alist, frameset-switch-to-gui-p)
5931 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5932 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5933 (frameset-filter-iconified, frameset-keep-original-display-p):
5935 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5936 Rename from frameset-filter-(save|restore)-param. All callers changed.
5938 (frameset-p): Adapt to change to vector and be more thorough.
5939 Change arg name to OBJECT. Doc fix.
5940 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5941 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5942 All callers changed.
5943 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5944 All callers changed.
5945 (frameset--record-minibuffer-relationships): Rename from
5946 frameset--process-minibuffer-frames. All callers changed.
5947 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5948 Use new default constructor (again). Doc fix.
5949 (frameset--find-frame-if): Rename from `frameset--find-frame.
5950 All callers changed.
5951 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5952 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5954 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5955 PARAMETERS and WINDOW-STATE, respectively.
5956 (frameset-restore): Add new keyword argument PREDICATE.
5957 Reset frameset--target-display to nil. Doc fix.
5959 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5961 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5963 (bat-mode-syntax-table): Mark \n as end-of-comment.
5964 (bat-font-lock-keywords): Remove comment rule.
5966 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5967 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5969 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5970 (byte-compile-callargs-warn): Use `push'.
5971 (byte-compile-arglist-warn): Ignore higher-order "calls".
5972 (byte-compile-file-form-autoload): Use `pcase'.
5973 (byte-compile-function-form): If quoting a symbol, check that it exists.
5975 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5977 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5978 and add a few popular commands found in batch files.
5979 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5980 (dos-mode): Doc fixes.
5982 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5985 (dos-mode): Use setq-local. Add space after "rem".
5986 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5987 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5989 2013-08-07 Arni Magnusson <arnima@hafro.is>
5991 * progmodes/dos.el: New file.
5992 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5995 2013-08-06 Glenn Morris <rgm@gnu.org>
5997 * calendar/calendar.el: Add new faces, and day-header-array.
5998 (calendar-weekday-header, calendar-weekend-header)
5999 (calendar-month-header): New faces.
6000 (calendar-day-header-construct): New function.
6001 (calendar-day-header-width): Also :set calendar-day-header-array.
6002 (calendar-american-month-header, calendar-european-month-header)
6003 (calendar-iso-month-header): Use calendar- faces.
6004 (calendar-generate-month):
6005 Use calendar-day-header-array for day headers; apply faces to them.
6006 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6007 (calendar-abbrev-construct): Add optional maxlen argument.
6008 (calendar-day-name-array): Doc fix.
6009 (calendar-day-name-array, calendar-abbrev-length)
6010 (calendar-day-abbrev-array):
6011 Also :set calendar-day-header-array, and maybe redraw.
6012 (calendar-day-header-array): New option. (Bug#15007)
6013 (calendar-font-lock-keywords): Set to nil and make obsolete.
6014 (calendar-day-name): Add option to use header array.
6016 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6018 * net/shr.el (shr-render-td): Remove debugging.
6019 (shr-render-td): Make width computation consistent by defaulting
6020 all zero-width columns to 10 characters. This may not be optimal,
6021 but it's at least consistent.
6022 (shr-make-table-1): Redo last change to fix the real problem in
6025 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6027 * files.el (cache-long-line-scans):
6028 Make obsolete alias to `cache-long-scans'.
6030 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6032 * frameset.el (frameset, frameset-filter-alist)
6033 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6034 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6035 (frameset-compute-pos): Rename from frameset--compute-pos,
6037 (frameset-move-onscreen): Use frameset-compute-pos.
6038 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6040 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6041 Fix typos in docstrings.
6043 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6045 * frame.el (get-other-frame): Tiny cleanup.
6047 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6049 * vc/vc.el (vc-default-ignore-completion-table):
6050 Silence byte-compiler warning.
6052 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6053 slot , which can indeed be nil.
6054 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6055 Move entry for `left' from persistent to live filter alist.
6056 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6058 (frameset-filter-params): When restoring a frame, copy items added to
6059 `filtered', to avoid unwittingly modifying the original parameters.
6060 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6061 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6063 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6064 to use looking-at-p instead of looking-at. (Bug#15028)
6066 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6068 Revert introduction of isearch-filter-predicates (bug#14714).
6069 Rely on add-function instead.
6070 * isearch.el (isearch-filter-predicates): Rename it back to
6071 isearch-filter-predicate.
6072 (isearch-message-prefix): Use advice-function-mapc and advice
6073 properties to get the isearch-message-prefix.
6074 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6075 instead of run-hook-with-args-until-failure.
6076 (isearch-filter-visible): Not obsolete any more.
6077 * loadup.el: Preload nadvice.
6078 * replace.el (perform-replace): Revert to funcall
6079 instead of run-hook-with-args-until-failure.
6080 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6081 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6082 dired-isearch-filenames-toggle; make it into a proper minor mode.
6083 Use add/remove-function.
6084 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6085 Call the minor-mode rather than add/remove-hook.
6086 (dired-isearch-filter-filenames):
6087 Remove isearch-message-prefix property.
6088 * info.el (Info--search-loop): New function, extracted from Info-search.
6089 Funcall isearch-filter-predicate instead of
6090 run-hook-with-args-until-failure isearch-filter-predicates.
6091 (Info-search): Use it.
6092 (Info-mode): Use isearch-filter-predicate instead of
6093 isearch-filter-predicates.
6095 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6097 Do not call to `selected-window' where it is assumed by default.
6098 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6099 `window-hscroll', `window-width', `window-height', `window-buffer',
6100 `window-frame', `window-start', `window-point', `next-window'
6101 and `window-display-table'.
6102 * abbrev.el (abbrev--default-expand):
6103 * bs.el (bs--show-with-configuration):
6104 * buff-menu.el (Buffer-menu-mouse-select):
6105 * calc/calc.el (calc):
6106 * calendar/calendar.el (calendar-generate-window):
6107 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6109 * comint.el (send-invisible, comint-dynamic-complete-filename)
6110 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6111 * completion.el (complete):
6112 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6113 * disp-table.el (describe-current-display-table):
6114 * doc-view.el (doc-view-insert-image):
6115 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6116 * ehelp.el (with-electric-help):
6117 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6118 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6119 * emacs-lisp/helper.el (Helper-help-scroller):
6120 * emulation/cua-base.el (cua--post-command-handler-1):
6121 * eshell/esh-mode.el (eshell-output-filter):
6122 * ffap.el (ffap-gnus-wrapper):
6123 * help-macro.el (make-help-screen):
6124 * hilit-chg.el (highlight-compare-buffers):
6125 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6126 * hl-line.el (global-hl-line-highlight):
6127 * icomplete.el (icomplete-simple-completing-p):
6128 * isearch.el (isearch-done):
6129 * jit-lock.el (jit-lock-stealth-fontify):
6130 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6131 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6132 * mpc.el (mpc-tagbrowser, mpc):
6133 * net/rcirc.el (rcirc-any-buffer):
6134 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6135 * play/landmark.el (landmark-max-width, landmark-max-height):
6136 * play/zone.el (zone):
6137 * progmodes/compile.el (compilation-goto-locus):
6138 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6139 * progmodes/etags.el (find-tag-other-window):
6140 * progmodes/fortran.el (fortran-column-ruler):
6141 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6142 * progmodes/verilog-mode.el (verilog-point-text):
6143 * reposition.el (reposition-window):
6144 * rot13.el (toggle-rot13-mode):
6145 * server.el (server-switch-buffer):
6146 * shell.el (shell-dynamic-complete-command)
6147 (shell-dynamic-complete-environment-variable):
6148 * simple.el (insert-buffer, set-selective-display)
6149 (delete-completion-window):
6150 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6151 (speedbar-recenter):
6152 * startup.el (fancy-splash-head):
6153 * textmodes/ispell.el (ispell-command-loop):
6154 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6155 * tutorial.el (help-with-tutorial):
6156 * vc/add-log.el (add-change-log-entry):
6157 * vc/compare-w.el (compare-windows):
6158 * vc/ediff-help.el (ediff-indent-help-message):
6159 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6160 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6161 (ediff-setup-control-frame):
6162 * vc/emerge.el (emerge-position-region):
6163 * vc/pcvs-util.el (cvs-bury-buffer):
6164 * window.el (walk-windows, mouse-autoselect-window-select):
6165 * winner.el (winner-set-conf, winner-undo): Related users changed.
6167 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6169 * frameset.el (frameset--set-id): Doc fix.
6170 (frameset-frame-id, frameset-frame-id-equal-p)
6171 (frameset-locate-frame-id): New functions.
6172 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6173 (frameset-restore): Use them.
6175 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6177 Do not call to `selected-frame' where it is assumed by default.
6178 Affected functions are `raise-frame', `redraw-frame',
6179 `frame-first-window', `frame-terminal' and `delete-frame'.
6180 * calendar/appt.el (appt-disp-window):
6181 * epg.el (epg-wait-for-completion):
6182 * follow.el (follow-delete-other-windows-and-split)
6183 (follow-avoid-tail-recenter):
6184 * international/mule.el (set-terminal-coding-system):
6185 * mail/rmail.el (rmail-mail-return):
6186 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6187 * progmodes/f90.el (f90-add-imenu-menu):
6188 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6189 * server.el (server-switch-buffer):
6190 * simple.el (delete-completion-window):
6192 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6193 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6194 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6195 * vc/ediff.el (ediff-documentation): Related users changed.
6196 * frame.el (selected-terminal): Remove the leftover.
6198 2013-08-05 Glenn Morris <rgm@gnu.org>
6200 * calendar/calendar.el (calendar-generate-month):
6201 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6202 (calendar-generate-month, calendar-font-lock-keywords):
6203 Fix for calendar-day-header-width > length of any day name.
6205 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6207 * desktop.el (desktop-clear): Use new name of sort predicate.
6209 * frameset.el (frameset): Add docstring. Move :version property to its
6211 (frameset-copy): Rename from copy-frameset.
6212 (frameset-p): Check more thoroughly.
6213 (frameset-prop): Do not check for :version, which is no longer a prop.
6214 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6215 Use new :never value instead of t.
6216 (frameset-filter-alist): Expand and clarify docstring.
6217 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6218 (frameset-filter-minibuffer, frameset-filter-save-param)
6219 (frameset-filter-restore-param, frameset-filter-iconified):
6220 Add pointer to docstring of frameset-filter-alist.
6221 (frameset-filter-params): Rename filter values to be more meaningful:
6222 :never instead of t, and reverse the meanings of :save and :restore.
6223 (frameset--process-minibuffer-frames): Clarify error message.
6224 (frameset-save): Avoid unnecessary and confusing call to framep.
6225 Use new BOA constructor for framesets.
6226 (frameset--reuse-list): Doc fix.
6227 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6228 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6229 (frameset-minibufferless-first-p): Doc fix.
6230 Rename from frameset-sort-frames-for-deletion.
6231 (frameset-restore): Doc fixes. Use new function names.
6232 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6234 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6236 * desktop.el (desktop-restore-forces-onscreen)
6237 (desktop-restore-reuses-frames): Document :keyword constant values.
6238 (desktop-filter-parameters-alist): Remove, now identical to
6239 frameset-filter-alist.
6240 (desktop--filter-tty*): Remove, moved to frameset.el.
6241 (desktop-save-frameset, desktop-restore-frameset):
6242 Do not pass :filters argument.
6244 * frameset.el (frameset-live-filter-alist)
6245 (frameset-persistent-filter-alist): New variables.
6246 (frameset-filter-alist): Use them. Add autoload cookie.
6247 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6248 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6249 `frameset--id' (it's supposed to be internal to frameset.el).
6250 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6251 (frameset--initial-params): New function.
6252 (frameset--get-frame): Use it. Doc fix.
6253 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6254 Accept :all, not 'all.
6255 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6256 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6257 with fbound symbols. Fix frame id matching, and remove matching ids if
6258 the frame being restored is deleted. Obey :delete.
6260 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6262 * subr.el (macrop): New function.
6263 (text-clone--maintaining): New var.
6264 (text-clone--maintain): Rename from text-clone-maintain. Use it
6265 instead of inhibit-modification-hooks.
6267 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6268 a proxy, so as handle autoloads and redefinitions of the target.
6269 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6271 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6272 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6273 (pcase--mutually-exclusive-p): New function.
6274 (pcase--split-consp): Use it.
6275 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6276 mutually exclusive with the current predicate.
6278 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6279 (edebug-macrop): Remove. Use `macrop' instead.
6280 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6282 * eshell/esh-cmd.el (eshell-macrop):
6283 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6285 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6287 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6288 (advice-mapc): New function, using it.
6289 (advice-function-member-p): New function.
6290 (advice--normalize): Store the cdr in advice--saved-rewrite since
6291 that's the part that will be changed.
6292 (advice--symbol-function): New function.
6293 (advice-remove): Handle removal before the function is defined.
6294 Adjust to new advice--saved-rewrite.
6295 (advice-member-p): Use advice-function-member-p and
6296 advice--symbol-function.
6298 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6300 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6301 (frameset-filter-minibuffer): Doc fix.
6302 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6303 (frameset--set-id, frameset--process-minibuffer-frames)
6304 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6305 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6307 * desktop.el (desktop-clear): Only delete frames when called
6308 interactively and desktop-restore-frames is non-nil. Doc fix.
6309 (desktop-read): Set desktop-saved-frameset to nil.
6311 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6313 * vc/vc.el (vc-ignore): Rewrite.
6314 (vc-default-ignore-completion-table):
6316 (vc--add-line, vc--remove-regexp): New functions.
6318 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6319 (vc-svn-ignore-completion-table): New function.
6321 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6322 (vc-hg-ignore-completion-table):
6323 (vc-hg-find-ignore-file): New functions.
6325 * vc/vc-git.el (vc-git-ignore): Rewrite.
6326 (vc-git-ignore-completion-table):
6327 (vc-git-find-ignore-file): New functions.
6329 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6331 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6332 (vc-bzr-ignore-completion-table):
6333 (vc-bzr-find-ignore-file): New functions.
6335 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6337 * frameset.el (frameset-prop): New function and setter.
6338 (frameset-save): Do not modify frame list passed by the caller.
6340 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6342 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6344 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6346 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6347 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6349 * custom.el (custom-initialize-default, custom-initialize-set)
6350 (custom-initialize-reset, custom-initialize-changed): Affect the
6351 toplevel-default-value (bug#6275, bug#14586).
6352 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6355 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6357 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6358 Add cl-def* expressions.
6360 * frameset.el (frameset-filter-params): Fix order of arguments.
6362 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6364 Move code related to saving frames to frameset.el.
6365 * desktop.el: Require frameset.
6366 (desktop-restore-frames): Doc fix.
6367 (desktop-restore-reuses-frames): Rename from
6368 desktop-restoring-reuses-frames.
6369 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6370 (desktop-clear): Clear frames too.
6371 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6372 (desktop--filter-tty*, desktop-save, desktop-read):
6373 Use frameset functions.
6374 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6375 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6376 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6377 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6378 (desktop--process-minibuffer-frames, desktop-save-frames)
6379 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6380 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6381 (desktop--sort-states, desktop-restoring-frames-p)
6382 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6383 (desktop-restoring-frameset-p, desktop-restore-frameset)
6384 (desktop--check-dont-save, desktop-save-frameset): New functions.
6385 (desktop--app-id): New constant.
6386 (desktop-first-buffer, desktop-buffer-ok-count)
6387 (desktop-buffer-fail-count): Move before first use.
6388 * frameset.el: New file.
6390 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6392 * files.el: Use lexical-binding.
6393 (dir-locals-read-from-file): Remove unused `err' variable.
6394 (hack-dir-local-variables--warned-coding): New var.
6395 (hack-dir-local-variables): Use it to avoid repeated warnings.
6396 (make-backup-file-name--default-function): New function.
6397 (make-backup-file-name-function): Use it as default.
6398 (buffer-stale--default-function): New function.
6399 (buffer-stale-function): Use it as default.
6400 (revert-buffer-insert-file-contents--default-function): New function.
6401 (revert-buffer-insert-file-contents-function): Use it as default.
6402 (insert-directory): Avoid add-to-list.
6404 * autorevert.el (auto-revert-handler): Simplify.
6405 Use buffer-stale--default-function.
6407 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6409 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6411 * whitespace.el (whitespace-ensure-local-variables): New function.
6412 (whitespace-cleanup-region): Call it.
6413 (whitespace-turn-on): Call it.
6415 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6417 Complete file name handlers.
6419 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6420 (tramp-handle-verify-visited-file-modtime)
6421 (tramp-handle-file-notify-rm-watch): New functions.
6422 (tramp-call-process): Do not bind `default-directory'.
6424 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6425 Order alphabetically.
6426 [access-file, add-name-to-file, dired-call-process]:
6427 [dired-compress-file, file-acl, file-notify-rm-watch]:
6428 [file-ownership-preserved-p, file-selinux-context]:
6429 [make-directory-internal, make-symbolic-link, set-file-acl]:
6430 [set-file-selinux-context, set-visited-file-modtime]:
6431 [verify-visited-file-modtime]: Add handler.
6432 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6434 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6435 [file-notify-add-watch, file-notify-rm-watch]:
6436 [set-file-times, set-visited-file-modtime]:
6437 [verify-visited-file-modtime]: Add handler.
6438 (with-tramp-gvfs-error-message)
6439 (tramp-gvfs-handle-set-visited-file-modtime)
6440 (tramp-gvfs-fuse-file-name): Remove.
6441 (tramp-gvfs-handle-file-notify-add-watch)
6442 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6443 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6445 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6446 Order alphabetically.
6447 [file-notify-rm-watch ]: Use default Tramp handler.
6448 [executable-find]: Remove private handler.
6449 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6450 `default-directory'.
6451 (tramp-sh-handle-executable-find)
6452 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6453 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6454 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6455 Do not use `format' in `tramp-message'.
6457 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6458 [file-notify-rm-watch, set-visited-file-modtime]:
6459 [verify-visited-file-modtime]: Add handler.
6460 (tramp-smb-call-winexe): Do not bind `default-directory'.
6462 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6464 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6466 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6468 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6470 (log-view-diff-changeset): Same.
6471 (log-view-diff-common): Call backend command `previous-revision'
6472 to find out the previous revision, in both cases. Swap the
6473 variables `to' and `fr', so that `fr' usually refers to the
6474 earlier revision (Bug#14989).
6476 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6478 * ibuf-ext.el (ibuffer-filter-by-filename):
6479 Make it work with dired buffers too.
6481 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6483 * emacs-lisp/re-builder.el (reb-color-display-p):
6484 * files.el (save-buffers-kill-terminal):
6485 * net/browse-url.el (browse-url):
6486 * server.el (server-save-buffers-kill-terminal):
6487 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6488 Prefer nil to selected-frame for the first arg of frame-parameter.
6490 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6492 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6494 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6496 * minibuffer.el (completion--twq-all): Try and preserve each
6497 completion's case choice (bug#14907).
6499 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501 * net/network-stream.el (open-network-stream): Mention the new
6502 :nogreeting parameter.
6503 (network-stream-open-starttls): Use the :nogreeting parameter
6506 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6508 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6509 more natural than popping.
6511 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6512 (shr-urlify): Highlight under mouse.
6514 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6516 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6518 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6520 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6523 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6524 point-min==1. Fix search string. Fix parentheses missing.
6526 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6527 assume point-min==1. Fix search string. Fix parentheses missing.
6529 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6531 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6534 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6536 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6537 initial frame is minibuffer-less. (Bug#14841)
6539 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6541 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6544 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6545 (tramp-maybe-open-connection): Use it.
6547 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6549 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6550 minimal set of parameters passed when creating a frame, because
6551 the minibuffer status of a frame cannot be changed later.
6553 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6555 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6556 replace-regexp-in-string and inadvertent omissions in previous change.
6557 (todo-filter-items): Ensure only file names are comma-separated in
6558 name of filtered items buffer.
6560 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6562 * desktop.el: Optionally force offscreen frames back onscreen.
6563 (desktop-restoring-reuses-frames): New option.
6564 (desktop--compute-pos, desktop--move-onscreen): New functions.
6565 (desktop--make-frame): Use desktop--move-onscreen.
6567 2013-07-27 Alan Mackenzie <acm@muc.de>
6569 Fontify a Java generic method as a function.
6570 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6573 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6575 * calendar/todo-mode.el: Add command to rename todo files.
6576 (todo-rename-file): New command.
6577 (todo-key-bindings-t): Add key binding for it. Change the
6578 bindings of todo-filter-regexp-items(-multifile) to use `x'
6579 instead of `r', since the latter is better suited to the new
6582 2013-07-27 Alan Mackenzie <acm@muc.de>
6584 Make Java try-with-resources statement parse properly.
6585 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6586 (c-block-stmt-1-2-key): New language constants/variables.
6587 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6588 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6589 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6590 with c-block-stmt-1-2-key.
6592 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6594 * desktop.el (desktop--make-frame): Apply most frame parameters after
6595 creating the frame to force (partially or totally) offscreen frames to
6596 be restored as such.
6598 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6600 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6603 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6606 `base' arg of backtrace-frame.
6608 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6610 * simple.el (list-processes): Doc fix.
6612 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6614 * desktop.el (desktop--select-frame):
6615 Try harder to reuse existing frames.
6617 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6619 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6620 (edebug-eval): Use backtrace-eval.
6621 (edebug--display, edebug--recursive-edit): Don't let-bind the
6622 edebug-outer-* vars that keep track of variables we locally let-bind.
6623 (edebug-outside-excursion): Don't restore outside values of locally
6625 (edebug--display): Use user-error.
6626 (cl-lexical-debug, cl-debug-env): Remove.
6628 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6630 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6631 are restored to be sure that they are visible before deleting any
6634 2013-07-26 Matthias Meulien <orontee@gmail.com>
6636 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6637 vc-print-root-log. (Bug#14948)
6639 2013-07-26 Richard Stallman <rms@gnu.org>
6641 Add aliases for encrypting mail.
6642 * epa.el (epa-mail-aliases): New option.
6643 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6644 Bind inhibit-read-only so read-only text doesn't ruin everything.
6645 (epa-mail-default-recipients): New subroutine broken out.
6646 Handle epa-mail-aliases.
6648 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6650 Add support for lexical variables to the debugger's `e' command.
6651 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6652 vars, except for debugger-outer-match-data.
6653 (debugger-frame-number): Move check for "on a function call" from
6654 callers into it. Add `skip-base' argument.
6655 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6656 (debugger-env-macro): Only reset the state stored in non-variables,
6657 i.e. current-buffer and match-data.
6658 (debugger-eval-expression): Rewrite using backtrace-eval.
6659 * subr.el (internal--called-interactively-p--get-frame): Remove.
6660 (called-interactively-p):
6661 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6662 `base' arg of backtrace-frame instead.
6664 2013-07-26 Glenn Morris <rgm@gnu.org>
6666 * align.el (align-regexp): Doc fix. (Bug#14857)
6667 (align-region): Explicit error if subexpression missing/does not match.
6669 * simple.el (global-visual-line-mode):
6670 Do not duplicate the mode lighter. (Bug#14858)
6672 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6674 * window.el (display-buffer): In display-buffer bind
6675 split-window-keep-point to t, bug#14829.
6677 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6679 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6680 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6681 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6682 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6684 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6685 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6687 2013-07-25 Glenn Morris <rgm@gnu.org>
6689 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6691 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6693 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6694 parameter to modify-frame-parameters if the value has not changed;
6695 this is a workaround for bug#14949.
6696 (desktop--make-frame): On cl-delete-if call, check parameter name,
6699 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6701 * vc/vc.el (vc-ignore): New function.
6703 * vc/vc-svn.el (vc-svn-ignore): New function.
6705 * vc/vc-hg.el (vc-hg-ignore): New function.
6707 * vc/vc-git.el (vc-git-ignore): New function.
6709 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6710 (vc-dir-ignore): New function.
6712 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6713 (cvs-append-to-ignore): Move here from pcvs.el.
6715 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6717 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6719 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6721 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6722 (desktop-restore-frames): Warn when deleting an existing frame failed.
6724 2013-07-24 Glenn Morris <rgm@gnu.org>
6726 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6728 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6730 * filenotify.el (file-notify-supported-p):
6731 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6734 * autorevert.el (auto-revert-use-notify):
6735 (auto-revert-notify-add-watch):
6736 * net/tramp.el (tramp-file-name-for-operation):
6737 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6738 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6739 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6740 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6741 Remove `file-notify-supported-p' entry.
6743 2013-07-24 Glenn Morris <rgm@gnu.org>
6745 * printing.el: Replace all uses of deleted ps-windows-system,
6746 ps-lp-system, ps-flatten-list with lpr- versions.
6748 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6750 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6751 checked with memq (bug#14935).
6753 * files.el (revert-buffer-function): Use a non-nil default.
6754 (revert-buffer-preserve-modes): Declare var to
6755 provide access to the `preserve-modes' argument.
6756 (revert-buffer): Let-bind it.
6757 (revert-buffer--default): New function, extracted from revert-buffer.
6759 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6761 * lpr.el: Signal print errors more prominently.
6762 (print-region-function): Don't default to nil.
6763 (lpr-print-region): New function, extracted from print-region-1.
6764 Check lpr's return value and signal an error in case of problem.
6765 (print-region-1): Use it.
6766 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6768 (ps-printer-name): Default to nil.
6769 (ps-printer-name-option): Default to lpr-printer-switch.
6770 (ps-print-region-function): Don't default to nil.
6771 (ps-postscript-code-directory): Simplify default.
6772 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6773 (ps-string-list, ps-eval-switch, ps-flatten-list)
6774 (ps-flatten-list-1): Remove.
6775 (ps-multibyte-buffer): Avoid setq.
6776 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6777 (print-region-function, ps-print-region-function): Don't set them here.
6779 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6781 * ido.el (ido-fractionp):
6782 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6783 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6784 (ido-max-directory-size, ido-max-dir-file-cache)
6785 (ido-decorations): Doc fix.
6787 * ansi-color.el: Fix old URL.
6789 2013-07-23 Michael R. Mauger <michael@mauger.com>
6791 * progmodes/sql.el: Version 3.3
6792 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6793 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6794 (sql-interactive-remove-continuation-prompt): Rewrite, use
6795 functions above. Fix continuation prompt and complete output line
6797 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6798 redirected output buffer.
6799 (sql-mode): Restore deleted code (Bug#13591).
6801 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6803 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6805 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6807 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6809 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6810 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6811 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6813 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6815 * desktop.el (desktop-clear): Simplify; remove useless checks
6816 against invalid buffer names.
6817 (desktop-list*): Use cl-list*.
6818 (desktop-buffer-info, desktop-create-buffer): Simplify.
6820 2013-07-23 Leo Liu <sdl.web@gmail.com>
6822 * bookmark.el (bookmark-make-record): Restore NAME as a default
6825 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6827 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6828 extracted from autoload--insert-text.
6829 (autoload--insert-text): Remove.
6830 (autoload--print-cookie-text): New function, extracted from
6831 autoload--insert-cookie-text.
6832 (autoload--insert-cookie-text): Remove.
6833 (autoload-generate-file-autoloads): Adjust calls accordingly.
6835 * winner.el (winner-hook-installed-p): Remove.
6836 (winner-mode): Simplify accordingly.
6838 * subr.el (add-to-list): Fix compiler-macro when `append' is
6839 not constant. Don't use `cl-member' for the base case.
6841 * progmodes/subword.el: Fix boundary case (bug#13758).
6842 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6844 (subword-backward-regexp): Make it a constant.
6845 (subword-forward-internal): Don't treat a trailing capital as the
6846 beginning of a word.
6848 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6850 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6851 global value of tabulated-list-revert-hook (bug#14930).
6853 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6855 * desktop.el: Require 'cl-lib.
6856 (desktop-before-saving-frames-functions): New hook.
6857 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6858 for frames being saved. Rename from desktop--save-minibuffer-frames.
6859 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6860 Do not save frames with non-nil `desktop-dont-save' parameter.
6861 Filter out deleted frames.
6862 (desktop--find-frame): Use cl-find-if.
6863 (desktop--select-frame): Use cl-(first|second|third) to access values
6865 (desktop--make-frame): Use cl-delete-if.
6866 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6867 (desktop-restore-frames): Use cl-(first|second|third) to access values
6868 of desktop-mini. Look for visible frame at the end, not while
6871 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6872 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6873 Use string-match-p, looking-at-p (bug#14927).
6875 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6877 * desktop.el (desktop-saved-frame-states):
6878 Rename from desktop--saved-states; all users changed.
6879 (desktop-save-frames): Rename from desktop--save-frames.
6880 Do not save state to desktop file.
6881 (desktop-save): Save desktop-saved-frame-states to desktop file
6883 (desktop-restoring-frames-p): New function.
6884 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6885 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6886 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6888 * desktop.el: Correctly restore iconified frames.
6889 (desktop--filter-iconified-position): New function.
6890 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6892 2013-07-20 Glenn Morris <rgm@gnu.org>
6894 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6895 Let `message' do the formatting.
6896 (def-gdb-preempt-display-buffer): Add explicit format.
6898 * image-dired.el (image-dired-track-original-file):
6899 Use with-current-buffer.
6900 (image-dired-track-thumbnail): Use with-current-buffer.
6901 Avoid changing point of wrong window.
6903 * image-dired.el (image-dired-track-original-file):
6904 Avoid changing point of wrong window. (Bug#14909)
6906 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6908 * progmodes/gdb-mi.el (gdb-done-or-error):
6909 Guard against "%" in gdb output. (Bug#14127)
6911 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6913 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6916 * international/mule.el (coding-system-iso-2022-flags): Fix last
6919 2013-07-20 Kenichi Handa <handa@gnu.org>
6921 * international/mule.el (coding-system-iso-2022-flags):
6922 Add `8-bit-level-4'. (Bug#8522)
6924 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6926 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6929 * net/eww.el (eww-process-text-input): Allow inputting when the
6930 point is at the start of the line, as the properties aren't
6933 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6936 2013-07-19 Richard Stallman <rms@gnu.org>
6938 * epa.el (epa-popup-info-window): Doc fix.
6940 * subr.el (split-string): New arg TRIM.
6942 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6944 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6945 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6947 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6949 * filenotify.el (file-notify--library): Rename from
6950 `file-notify-support'. Do not autoload. Adapt all uses.
6951 (file-notify-supported-p): New defun.
6953 * autorevert.el (auto-revert-use-notify):
6954 Use `file-notify-supported-p' instead of `file-notify-support'.
6956 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6958 * net/tramp.el (tramp-file-name-for-operation):
6959 Add `file-notify-supported-p'.
6961 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6963 (tramp-sh-file-name-handler-alist): Add it as handler for
6964 `file-notify-supported-p '.
6966 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6967 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6969 Add `ignore' as handler for `file-notify-*' functions.
6971 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6973 * simple.el (line-move-partial, line-move): Don't start vscroll or
6974 scroll-up if the current line is not taller than the window.
6977 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6979 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6980 highlight question marks in the method names as strings.
6981 (ruby-block-beg-keywords): Inline.
6982 (ruby-font-lock-keyword-beg-re): Extract from
6983 `ruby-font-lock-keywords'.
6985 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6987 * frame.el (blink-cursor-blinks): New defcustom.
6988 (blink-cursor-blinks-done): New defvar.
6989 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6990 (blink-cursor-timer-function): Check if number of blinks has been
6992 (blink-cursor-suspend, blink-cursor-check): New defuns.
6994 2013-07-15 Glenn Morris <rgm@gnu.org>
6996 * edmacro.el (edmacro-format-keys): Fix previous change.
6998 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7000 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7001 The hack didn't work outside English locales anyway.
7003 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7005 * simple.el (define-alternatives): Rename from alternatives-define,
7006 per RMS' suggestion.
7008 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7010 * desktop.el (desktop-restore-frames): Change default to t.
7011 (desktop-restore-in-current-display): Now offer more options.
7012 (desktop-restoring-reuses-frames): New customization option.
7013 (desktop--saved-states): Doc fix.
7014 (desktop-filter-parameters-alist): New variable, renamed and expanded
7015 from desktop--excluded-frame-parameters.
7016 (desktop--target-display): New variable.
7017 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7018 (desktop--filter-tty*, desktop--filter-*-color)
7019 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7020 (desktop--filter-save-desktop-parm)
7021 (desktop-restore-in-original-display-p): New functions.
7022 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7023 (desktop--save-minibuffer-frames): New function, inspired by a similar
7024 function from Martin Rudalics.
7025 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7026 (desktop--restore-in-this-display-p): Remove.
7027 (desktop--find-frame): Rename from desktop--find-frame-in-display
7028 and add predicate argument.
7029 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7030 (desktop--reuse-list): New variable.
7031 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7033 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7035 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7037 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7039 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7041 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7042 Highlight conversion methods on Kernel.
7044 2013-07-13 Alan Mackenzie <acm@muc.de>
7046 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7047 and comment it out. This out-commenting enables certain C++
7048 declarations to be parsed correctly.
7050 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7052 * international/mule.el (define-coding-system): Doc fix.
7054 * simple.el (default-font-height): Don't call font-info if the
7055 frame's default font didn't change since the frame was created.
7058 2013-07-13 Leo Liu <sdl.web@gmail.com>
7060 * ido.el (ido-read-file-name): Guard against non-symbol value.
7062 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7064 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7067 2013-07-13 Leo Liu <sdl.web@gmail.com>
7069 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7070 ido-set-matches call. (Bug#6852)
7072 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7074 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7075 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7077 (ruby-font-lock-keywords): Distinguish calls to functions with
7078 module-like names from module references. Highlight character
7081 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7083 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7084 (gdb-send): Handle continued commands. (Bug#14847)
7086 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7088 * desktop.el (desktop--v2s): Remove unused local variable.
7089 (desktop-save-buffer): Make defvar-local; adjust docstring.
7090 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7091 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7093 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7095 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7097 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7099 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7102 2013-07-12 Glenn Morris <rgm@gnu.org>
7104 * doc-view.el: Require cl-lib at runtime too.
7105 (doc-view-remove-if): Remove.
7106 (doc-view-search-next-match, doc-view-search-previous-match):
7109 * edmacro.el: Require cl-lib at runtime too.
7110 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7111 (edmacro-mismatch, edmacro-subseq): Remove.
7113 * shadowfile.el: Require cl-lib.
7114 (shadow-remove-if): Remove.
7115 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7118 * wid-edit.el: Require cl-lib.
7119 (widget-choose): Use cl-remove-if.
7120 (widget-remove-if): Remove.
7122 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7123 (ebrowse-delete-if-not): Remove.
7124 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7125 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7126 Use cl-delete-if-not.
7128 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7130 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7131 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7133 2013-07-12 Leo Liu <sdl.web@gmail.com>
7135 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7137 2013-07-11 Glenn Morris <rgm@gnu.org>
7139 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7140 (edebug-gensym-index, edebug-gensym):
7141 Remove reimplementation of cl-gensym.
7142 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7144 * thumbs.el: Require cl-lib at run-time too.
7145 (thumbs-gensym-counter, thumbs-gensym):
7146 Remove reimplementation of cl-gensym.
7147 (thumbs-temp-file): Use cl-gensym.
7149 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7150 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7151 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7152 (ert--union, ert--gensym-counter, ert--gensym-counter)
7153 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7154 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7155 (ert-make-test-unbound, ert--expand-should-1)
7156 (ert--expand-should, ert--should-error-handle-error)
7157 (should-error, ert--explain-equal-rec)
7158 (ert--plist-difference-explanation, ert-select-tests)
7159 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7160 Use cl-lib functions rather than reimplementations.
7162 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7164 * net/tramp.el (tramp-methods): Extend docstring.
7165 (tramp-connection-timeout): New defcustom.
7166 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7167 (with-tramp-progress-reporter): Simplify.
7168 (tramp-process-actions): Improve messages.
7170 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7171 * net/tramp-sh.el (tramp-maybe-open-connection):
7172 Use `tramp-connection-timeout'.
7173 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7176 2013-07-11 Leo Liu <sdl.web@gmail.com>
7178 * ido.el (ido-read-file-name): Conform to the requirements of
7179 read-file-name. (Bug#11861)
7180 (ido-read-directory-name): Conform to the requirements of
7181 read-directory-name.
7183 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7185 * subr.el (delay-warning): New function.
7187 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7189 * simple.el (default-line-height): New function.
7190 (line-move-partial, line-move): Use it instead of computing the
7192 (line-move-partial): Always compute ROWH. If the last line is
7193 partially-visible, but its text is completely visible, allow
7194 cursor to enter such a partially-visible line.
7196 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7198 Improve error messages. (Bug#14808)
7200 * net/tramp.el (tramp-current-connection): New defvar, moved from
7202 (tramp-message-show-progress-reporter-message): Remove, not
7204 (tramp-error-with-buffer): Show message in minibuffer.
7205 Discard input before waiting. Reset connection timestamp.
7206 (with-tramp-progress-reporter): Improve messages.
7207 (tramp-process-actions): Use progress reporter. Delete process in
7208 case of error. Improve messages.
7210 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7211 Call `tramp-error-with-buffer' with vector and buffer.
7212 (tramp-current-connection): Remove.
7213 (tramp-maybe-open-connection): The car of
7214 `tramp-current-connection' are the first 3 slots of the vector.
7216 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7218 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7219 inside continued strings.
7221 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7223 Timestamp fixes for undo (Bug#14824).
7224 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7226 2013-07-10 Leo Liu <sdl.web@gmail.com>
7228 * files.el (require-final-newline): Allow safe local value.
7231 2013-07-09 Leo Liu <sdl.web@gmail.com>
7233 * ido.el (ido-read-directory-name): Handle fallback.
7234 (ido-read-file-name): Update DIR to ido-current-directory.
7236 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7238 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7240 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7241 "autoload". Remove "warn lower camel case" section, previously
7242 commented out. Highlight negation char. Do not highlight the
7243 target in singleton method definitions.
7245 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * faces.el (tty-setup-hook): Declare the hook.
7249 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7250 and detect when a guard/pred depends on local vars (bug#14773).
7251 (pcase--u1): Adjust caller.
7253 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7255 * simple.el (line-move-partial, line-move): Account for
7257 (line-move-partial): Avoid setting vscroll when the last
7258 partially-visible line in window is of default height.
7260 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7262 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7265 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7267 * subr.el (read-quoted-char): Remove unused local variable `char'.
7269 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7271 * ediff.el (ediff-version): Version update.
7272 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7273 (ediff-merge-with-ancestor-command, ediff-directories-command)
7274 (ediff-directories3-command, ediff-merge-directories-command)
7275 (ediff-merge-directories-with-ancestor-command): New functions.
7276 All are command-line interfaces to ediff: to facilitate calling
7277 Emacs with the appropriate ediff functions invoked.
7279 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7280 (viper-save-kill-buffer): Check if buffer is modified.
7282 * viper.el (viper-version): Version update.
7283 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7285 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7287 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7288 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7289 (viper-intercept-ESC-key): Simplify.
7290 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7291 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7292 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7293 (viper-setup-ESC-to-escape): New functions.
7294 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7295 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7297 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7299 * simple.el (default-font-height, window-screen-lines):
7301 (line-move, line-move-partial): Use them instead of
7302 frame-char-height and window-text-height. This makes scrolling
7303 text smoother when the buffer's default face uses a font that is
7304 different from the frame's default font.
7306 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7308 * files.el (write-file): Do not display confirm dialog for NS,
7309 it does its own dialog, which can't be canceled (Bug#14578).
7311 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7313 * simple.el (line-move-partial): Adjust the row returned by
7314 posn-at-point for the current window-vscroll. (Bug#14567)
7316 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7318 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7319 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7322 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7324 * window.el (window-state-put-stale-windows): New variable.
7325 (window--state-put-2): Save list of windows without matching buffer.
7326 (window-state-put): Remove "bufferless" windows if possible.
7328 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7330 * simple.el (alternatives-define): Remove leftover :group keyword.
7333 2013-07-06 Leo Liu <sdl.web@gmail.com>
7335 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7336 (ido-enable-virtual-buffers): New variable.
7337 (ido-buffer-internal, ido-toggle-virtual-buffers)
7338 (ido-make-buffer-list): Use it.
7339 (ido-exhibit): Support turning on and off virtual buffers
7342 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7344 * simple.el (alternatives-define): New macro.
7346 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7348 * subr.el (read-quoted-char): Use read-key.
7349 (sit-for): Let read-event decode tty input (bug#14782).
7351 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7353 * calendar/todo-mode.el: Add handling of file deletion, both by
7354 mode command and externally. Fix various related bugs.
7355 Clarify Commentary and improve some documentation strings and code.
7356 (todo-delete-file): New command.
7357 (todo-check-file): New function.
7358 (todo-show): Handle external deletion of the file we're trying to
7359 show (bug#14688). Replace called-interactively-p by an optional
7360 prefix argument to avoid problematic interaction with catch form
7361 when byte compiled (bug#14702).
7362 (todo-quit): Handle external deletion of the archive's todo file.
7363 Make sure the buffer that was visiting the archive file is still
7364 live before trying to bury it.
7365 (todo-category-completions): Handle external deletion of any
7366 category completion files.
7367 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7368 of todo files, in case of external deletion.
7369 (todo-add-file): Replace unnecessary setq by let-binding.
7370 (todo-find-archive): Check whether there are any archives.
7371 Replace unnecessary setq by let-binding.
7372 (todo-archive-done-item): Use find-file-noselect to get the
7373 archive buffer whether or not the archive already exists.
7374 Remove superfluous code. Use file size instead of buffer-file-name to
7375 check if the archive is new; if it is, update list of archives.
7376 (todo-default-todo-file): Allow nil to be a valid value for when
7377 there are no todo files.
7378 (todo-reevaluate-default-file-defcustom): Use corrected definition
7379 of todo-default-todo-file.
7380 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7381 (todo-delete-category, todo-show-categories-table)
7382 (todo-category-number): Clarify comment.
7383 (todo-filter-items): Clarify documentation string.
7384 (todo-show-current-file, todo-display-as-todo-file)
7385 (todo-reset-and-enable-done-separator): Tweak documentation string.
7386 (todo-done-separator): Make separator length window-width, since
7387 bug#2749 is now fixed.
7389 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7391 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7392 Support both "gvfs-monitor-dir" and "inotifywait".
7393 (tramp-sh-file-inotifywait-process-filter): Rename from
7394 `tramp-sh-file-notify-process-filter'.
7395 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7396 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7398 2013-07-05 Leo Liu <sdl.web@gmail.com>
7400 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7402 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7404 * frame.el (display-pixel-height, display-pixel-width)
7405 (display-mm-height, display-mm-width): Mention behavior on
7406 multi-monitor setups in docstrings.
7407 (w32-display-monitor-attributes-list): Declare function.
7408 (display-monitor-attributes-list): Use it.
7410 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7412 * filenotify.el: New package.
7414 * autorevert.el (top): Require filenotify.el.
7415 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7417 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7418 (auto-revert-notify-handler): Use `file-notify-*' functions.
7420 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7422 * net/tramp.el (tramp-file-name-for-operation):
7423 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7425 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7426 for `file-notify-add-watch' and `file-notify-rm-watch'.
7427 (tramp-process-sentinel): Improve trace.
7428 (tramp-sh-handle-file-notify-add-watch)
7429 (tramp-sh-file-notify-process-filter)
7430 (tramp-sh-handle-file-notify-rm-watch)
7431 (tramp-get-remote-inotifywait): New defuns.
7433 2013-07-03 Juri Linkov <juri@jurta.org>
7435 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7436 call of `occur-read-primary-args' to interactive spec.
7438 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7439 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7441 2013-07-03 Matthias Meulien <orontee@gmail.com>
7443 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7444 `Buffer-menu-multi-occur'. Add it to the menu.
7445 (Buffer-menu-mode): Document it in docstring.
7446 (Buffer-menu-multi-occur): New command. (Bug#14673)
7448 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7450 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7451 keywords and built-ins.
7453 2013-07-03 Glenn Morris <rgm@gnu.org>
7455 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7457 Make info-xref checks case-sensitive by default
7458 * info.el (Info-find-node, Info-find-in-tag-table)
7459 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7460 Add option for exact case matching of nodes.
7461 * info-xref.el (info-xref): New custom group.
7462 (info-xref-case-fold): New option.
7463 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7465 2013-07-03 Leo Liu <sdl.web@gmail.com>
7467 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7469 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7471 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7472 middle of block statement initially, lower the depth. Remove
7473 FIXME comment, not longer valid. Remove middle of block statement
7474 detection, no need to do that anymore since we've been using
7475 `ruby-parse-region' here.
7477 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7479 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7481 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7483 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7485 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7487 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7488 (desktop-restore-in-current-display): New customization option.
7489 (desktop--excluded-frame-parameters): Add `font'.
7490 (desktop--save-frames): Rename from desktop--save-windows.
7491 (desktop--restore-in-this-display-p): New function.
7492 (desktop--make-full-frame): Remove unwanted width/height from
7493 full(width|height) frames.
7494 (desktop--restore-frames): Rename from desktop--restore-windows.
7495 Obey desktop-restore-current-display. Do not delete old frames or
7496 select a new frame unless we were able to restore at least one frame.
7498 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7500 * files.el (find-file-noselect): Simplify conditional expression.
7502 * remember.el (remember-append-to-file):
7503 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7505 Add `remember-notes' function to store random notes across Emacs
7507 * remember.el (remember-data-file): Add :set callback to affect
7508 notes buffer (if any).
7509 (remember-notes): New command.
7510 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7511 New defcustoms for the `remember-notes' function.
7512 (remember-notes-save-and-bury-buffer): New command.
7513 (remember-notes-mode-map): New variable.
7514 (remember-mode): New minor mode.
7515 (remember-notes--kill-buffer-query): New function.
7516 * startup.el (initial-buffer-choice): Add notes to custom type.
7518 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7520 * bindings.el (right-char, left-char): Don't call sit-for, this is
7521 no longer needed. Use arithmetic comparison only for numerical
7524 * international/mule-cmds.el (select-safe-coding-system):
7525 Handle the case of FROM being a string correctly. (Bug#14755)
7527 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7529 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7530 progression on degenerate tables.
7531 (shr-rescale-image): ImageMagick animated images currently don't work.
7533 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7535 Some fixes and improvements for desktop frame restoration.
7536 It is still experimental and disabled by default.
7537 * desktop.el (desktop--save-windows): Put the selected frame at
7538 the head of the list.
7539 (desktop--make-full-frame): New function.
7540 (desktop--restore-windows): Try to re-select the frame that was
7541 selected upon saving. Do not abort if some frames fail to restore,
7542 just show an error message and continue. Set up maximized frames
7543 so they have default non-maximized dimensions.
7545 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7547 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7548 Don't start heredoc inside a string or comment.
7550 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7552 * bindings.el (visual-order-cursor-movement): New defcustom.
7553 (right-char, left-char): Provide visual-order cursor motion by
7554 calling move-point-visually. Update the doc strings.
7556 2013-06-28 Kenichi Handa <handa@gnu.org>
7558 * international/mule.el (define-coding-system): New coding system
7559 properties :inhibit-null-byte-detection,
7560 :inhibit-iso-escape-detection, and :prefer-utf-8.
7561 (set-buffer-file-coding-system): If :charset-list property of
7562 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7563 appropriate for setting.
7565 * international/mule-cmds.el (select-safe-coding-system):
7566 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7567 multibyte characters, return utf-8 (or one of its siblings).
7569 * international/mule-conf.el (prefer-utf-8): New coding system.
7570 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7573 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7575 * net/shr.el (shr-render-region): New function.
7577 * net/eww.el: Autoload `eww-browse-url'.
7579 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7581 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7582 Adapt to `package-desc-version' being a list.
7583 Use `package--ac-desc-version' to retrieve version from a package
7586 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7588 New experimental feature to save&restore window and frame setup.
7589 * desktop.el (desktop-save-windows): New defcustom.
7590 (desktop--saved-states): New var.
7591 (desktop--excluded-frame-parameters): New defconst.
7592 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7593 (desktop--restore-windows, desktop--save-windows): New functions.
7594 (desktop-save): Call `desktop--save-windows'.
7595 (desktop-read): Call `desktop--restore-windows'.
7597 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7599 * net/shr.el (add-face-text-property): Remove compat definition.
7601 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7603 * info.el (Info-try-follow-nearest-node): Move search for footnote
7604 above search for node name to prevent missing a footnote (bug#14717).
7606 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7608 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7610 2013-06-27 Leo Liu <sdl.web@gmail.com>
7612 * net/eww.el (eww-read-bookmarks): Check file size.
7614 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7616 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7617 advice--pending if newdef is nil or an autoload (bug#13820).
7618 (advice-mapc): New function.
7620 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7622 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7624 (eww-mode-map): Add a menu bar.
7625 (eww-add-bookmark): New command.
7626 (eww-bookmark-mode): New mode and commands.
7627 (eww-add-bookmark): Remove newlines from the title.
7628 (eww-bookmark-browse): Don't bug out if it's the only window.
7630 2013-06-26 Glenn Morris <rgm@gnu.org>
7632 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7633 (hfy-size): Handle ttys. (Bug#14668)
7635 * info-xref.el: Update for Texinfo 5 change in *note format.
7636 (info-xref-node-re, info-xref-note-re): New constants.
7637 (info-xref-check-buffer): Use info-xref-note-re.
7639 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7641 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7643 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7644 nil terminate the loop (bug#14718).
7646 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7648 * net/eww.el: Rework history traversal. When going forward/back,
7649 put these actions into the history, too, so that they can be
7651 (eww-render): Move the history reset to the correct buffer.
7653 2013-06-25 Juri Linkov <juri@jurta.org>
7655 * files-x.el (modify-dir-local-variable): Change the header comment
7656 in the file with directory local variables. (Bug#14692)
7658 * files-x.el (read-file-local-variable-value): Add `default'.
7661 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7663 * net/eww.el (eww-make-unique-file-name): Create a unique file
7664 name before saving to entering `y' accidentally asynchronously.
7666 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7668 * net/eww.el (eww-download): New command and keystroke.
7670 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7672 * net/eww.el (eww-copy-page-url): Change name of command.
7674 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7675 be more consistent with Info and dired.
7677 * net/eww.el (eww-mode-map): Ditto.
7679 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7681 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7682 packages from archives.
7683 (package-archive-contents): Change format; include obsolete packages.
7684 (package-desc): Use `dir' to mark builtin packages.
7685 (package--from-builtin): Set the `dir' field to `builtin'.
7686 (generated-autoload-file, version-control): Declare.
7687 (package-compute-transaction): Change first arg and return value to be
7688 lists of package-descs. Adjust to new package-archive-contents format.
7689 (package--add-to-archive-contents): Adjust to new
7690 package-archive-contents format.
7691 (package-download-transaction): Arg is now a list of package-descs.
7692 (package-install): If `pkg' is a package name, pass it as
7693 a requirement, so it is subject to the usual (e.g. disabled) checks.
7694 (describe-package): Accept package-desc as well.
7695 (describe-package-1): Describe a specific package-desc. Add links to
7696 other package-descs for the same package name.
7697 (package-menu-describe-package): Pass the actual package-desc.
7698 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7700 (package-desc-status): New function.
7701 (package-menu--refresh): New function, extracted
7702 from package-menu--generate.
7703 (package-menu--generate): Use it.
7704 (package-delete): Update package-alist.
7705 (package-menu-execute): Don't call package-initialize.
7707 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7708 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7709 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7710 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7711 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7712 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7714 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7716 * window.el (window--state-get-1): Workaround for bug#14527.
7717 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7719 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7721 * net/eww.el (eww-back-url): Implement the history by stashing all
7722 the data into a list.
7723 (eww-forward-url): Allow going forward in the history, too.
7725 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7727 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7728 for values and use read--expression for expressions (bug#14710).
7729 (read-file-local-variable): Avoid setq.
7730 (read-file-local-variable-mode): Use minor-mode-list.
7732 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7734 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7737 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7739 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7740 Update imenu-support when dialect changes.
7742 2013-06-25 Leo Liu <sdl.web@gmail.com>
7744 * ido.el (ido-read-internal): Allow forward slash on windows.
7746 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748 * net/eww.el (eww): Start of strings is \\`, not ^.
7750 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7752 * net/shr.el (shr-browse-url): Fix interactive spec.
7754 * net/eww.el (eww): Add a trailing slash to domain names.
7756 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7758 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7760 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7762 * net/shr.el (shr-browse-url): Use an external browser if given a
7765 * net/eww.el (eww-external-browser): Move to shr.
7767 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7769 * net/eww.el (eww): Work more correctly for file: URLs.
7770 (eww-detect-charset): Allow quoted charsets.
7771 (eww-yank-page-url): New command and keystroke.
7773 2013-06-24 Daiki Ueno <ueno@gnu.org>
7775 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7776 file name of gpg executable.
7777 (epg-context-program): New function.
7778 (epg-context-home-directory): New function.
7779 (epg-context-set-program): New function.
7780 (epg-context-set-home-directory): New function.
7781 (epg--start): Use `epg-context-program' instead of
7783 (epg--list-keys-1): Likewise.
7785 2013-06-24 Leo Liu <sdl.web@gmail.com>
7787 * ido.el (ido-read-internal): Fix bug#14620.
7789 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7791 * faces.el (face-documentation): Simplify.
7792 (read-face-attribute, tty-find-type, x-resolve-font-name):
7793 Use `string-match-p'.
7794 (list-faces-display): Use `string-match-p'. Simplify.
7795 (face-spec-recalc): Check face to avoid face alias loops.
7796 (read-color): Use `string-match-p' and non-capturing parenthesis.
7798 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7800 * net/shr.el (shr-rescale-image): Use the new
7801 :max-width/:max-height functionality.
7803 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7805 * net/eww.el (eww-search-prefix): New variable.
7807 (eww-external-browser): New variable.
7808 (eww-mode-map): New keystroke.
7809 (eww-browse-with-external-browser): New command.
7811 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7813 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7815 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7816 Don't skip aligning the next header field when padding is 0;
7817 otherwise, field width is not respected unless the title is as
7820 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7822 * emacs-lisp/package.el (package-el-version): Remove.
7823 (package-process-define-package): Fix inf-loop.
7824 (package-install): Allow symbols as arguments again.
7826 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7828 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7829 add some more keyword-like methods.
7830 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7832 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7834 * bs.el (bs-buffer-show-mark): Make defvar-local.
7835 (bs-mode): Use setq-local.
7837 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7838 (emacs-lock--try-unlocking): Make defvar-local.
7840 2013-06-22 Glenn Morris <rgm@gnu.org>
7842 * play/cookie1.el (cookie-apropos): Minor simplification.
7844 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7846 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7848 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7849 `regexp-opt', it breaks the build during dumping.
7851 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7853 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7854 Highlight keyword-like methods on Kernel and Module with
7855 font-lock-builtin-face.
7856 (auto-mode-alist): Consolidate different entries into one regexp
7857 and add more *file-s.
7859 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7861 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7863 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7864 (diary-entry): Use it in the action of this button type instead of
7867 * calendar/todo-mode.el: New version.
7868 (todo-add-category): Append new category to end of file and give
7869 it the highest number, instead of putting it at the beginning and
7870 giving it 0. Incorporate noninteractive functionality.
7871 (todo-forward-category): Adapt to 1-based category numbering.
7872 Allow skipping over archived categories.
7873 (todo-backward-category): Derive from todo-forward-category.
7874 (todo-backward-item, todo-forward-item): Make noninteractive and
7875 delegate interactive part to new commands. Make sensitive to done items.
7876 (todo-categories): Make value an alist of category names and
7877 vectors of item counts.
7878 (todo-category-beg): Make a defconst.
7879 (todo-category-number): Use 1 instead of 0 as initial value.
7880 (todo-category-select): Make sensitive to overlays, optional item
7881 highlighting and done items.
7882 (todo-delete-item): Make sensitive to overlays and marked and done items.
7883 (todo-edit-item): Make sensitive to overlays and editing of
7884 date/time header optional. Add format checks.
7885 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7886 no-op if point is not on an item. Advertise using todo-edit-quit.
7887 (todo-edit-mode): Make sensitive to new format, font-locking, and
7888 multiple todo files.
7889 (todo-insert-item, todo-insert-item-here): Derive from
7890 todo-basic-insert-item and extend functionality.
7891 (todo-item-end, todo-item-start): Make sensitive to done items.
7892 (todo-item-string): Don't return text properties. Restore point.
7893 (todo-jump-to-category): Make sensitive to multiple todo files and
7894 todo archives. Use extended category completion.
7895 (todo-lower-item, todo-raise-item): Rename to *-priority and
7896 derive from todo-set-item-priority.
7897 (todo-mode): Derive from special-mode. Make sensitive to new
7898 format, font-locking and multiple todo files. Make read-only.
7899 (todo-mode-map): Don't suppress digit keys, so they can supply
7900 prefix arguments. Add many new key bindings.
7901 (todo-prefix): Insert as an overlay instead of file text.
7902 Change semantics from diary date expression to purely visual mark.
7903 (todo-print): Rename to todo-print-buffer. Make buffer display
7904 features printable. Remove option to restrict number of items
7905 printed. Add option to print to file.
7906 (todo-print-function): Rename to todo-print-buffer-function.
7907 (todo-quit): Extend to handle exiting new todo modes.
7908 (todo-remove-item): Make sensitive to overlays.
7909 (todo-save): Extend to buffers of filtered items.
7910 (todo-show): Make sensitive to done items, multiple todo files and
7911 new todo modes. Offer to convert legacy todo file before creating
7912 first new todo file.
7913 (todo-show-priorities): Rename to todo-top-priorities.
7914 Change semantics of value 0.
7915 (todo-top-priorities): Rename to todo-filter-top-priorities,
7916 derive from todo-filter-items and extend functionality.
7917 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7918 and extend functionality to other types of filtered items.
7919 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7920 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7921 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7922 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7923 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7924 (todo-edit-mode-hook, todo-entry-prefix-function)
7925 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7926 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7927 (todo-initials, todo-insert-threshold, todo-item-string-start)
7928 (todo-line-string, todo-menu, todo-mode-hook)
7929 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7930 (todo-print-priorities, todo-remove-separator)
7931 (todo-save-top-priorities-too, todo-string-count-lines)
7932 (todo-string-multiline-p, todo-time-string-format)
7933 (todo-tmp-buffer-name): Remove.
7934 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7935 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7936 (todo-edit-category-diary-inclusion)
7937 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7938 (todo-edit-file, todo-edit-item-date-day)
7939 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7940 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7941 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7942 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7943 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7944 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7945 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7946 (todo-filter-top-priorities-multifile, todo-find-archive)
7947 (todo-find-filtered-items-file, todo-go-to-source-item)
7948 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7949 (todo-jump-to-archive-category, todo-lower-category)
7950 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7951 (todo-move-category, todo-move-item, todo-next-button)
7952 (todo-next-item, todo-padded-string, todo-powerset)
7953 (todo-previous-button, todo-previous-item)
7954 (todo-print-buffer-to-file, todo-raise-category)
7955 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7956 (todo-set-category-number, todo-set-item-priority)
7957 (todo-set-top-priorities-in-category)
7958 (todo-set-top-priorities-in-file, todo-show-categories-table)
7959 (todo-sort-categories-alphabetically-or-numerically)
7960 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7961 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7962 (todo-toggle-item-header, todo-toggle-item-highlighting)
7963 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7964 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7965 (todo-unarchive-items, todo-unmark-category): New commands.
7966 (todo-absolute-file-name, todo-add-to-buffer-list)
7967 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7968 (todo-basic-insert-item, todo-category-completions)
7969 (todo-category-number, todo-category-string-matcher-1)
7970 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7971 (todo-check-format, todo-clear-matches)
7972 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7973 (todo-current-category, todo-date-string-matcher)
7974 (todo-define-insertion-command, todo-diary-expired-matcher)
7975 (todo-diary-goto-entry, todo-diary-item-p)
7976 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7977 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7978 (todo-done-item-section-p, todo-done-separator)
7979 (todo-done-string-matcher, todo-files, todo-filter-items)
7980 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7981 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7982 (todo-insert-category-line, todo-insert-item-from-calendar)
7983 (todo-insert-sort-button, todo-insert-with-overlays)
7984 (todo-insertion-command-name, todo-insertion-key-bindings)
7985 (todo-label-to-key, todo-longest-category-name-length)
7986 (todo-make-categories-list, todo-mode-external-set)
7987 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7988 (todo-modes-set-3, todo-multiple-filter-files)
7989 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7990 (todo-read-category, todo-read-date, todo-read-dayname)
7991 (todo-read-file-name, todo-read-time)
7992 (todo-reevaluate-category-completions-files-defcustom)
7993 (todo-reevaluate-default-file-defcustom)
7994 (todo-reevaluate-filelist-defcustoms)
7995 (todo-reevaluate-filter-files-defcustom)
7996 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7997 (todo-reset-done-separator, todo-reset-done-separator-string)
7998 (todo-reset-done-string, todo-reset-global-current-todo-file)
7999 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8000 (todo-reset-prefix, todo-set-categories)
8001 (todo-set-date-from-calendar, todo-set-show-current-file)
8002 (todo-set-top-priorities, todo-short-file-name)
8003 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8004 (todo-total-item-counts, todo-update-buffer-list)
8005 (todo-update-categories-display, todo-update-categories-sexp)
8006 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8008 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8010 (todo-categories, todo-display, todo-edit, todo-faces)
8011 (todo-filtered): New defgroups.
8012 (todo-archived-only, todo-button, todo-category-string, todo-date)
8013 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8014 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8015 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8016 (todo-add-item-if-new-category, todo-always-add-time-string)
8017 (todo-categories-align, todo-categories-archived-label)
8018 (todo-categories-category-label, todo-categories-diary-label)
8019 (todo-categories-done-label, todo-categories-number-separator)
8020 (todo-categories-todo-label, todo-categories-totals-label)
8021 (todo-category-completions-files, todo-completion-ignore-case)
8022 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8023 (todo-done-separator-string, todo-done-string)
8024 (todo-files-function, todo-filter-done-items, todo-filter-files)
8025 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8026 (todo-initial-category, todo-initial-file, todo-item-mark)
8027 (todo-legacy-date-time-regexp, todo-mode-line-function)
8028 (todo-nondiary-marker, todo-number-prefix)
8029 (todo-print-buffer-function, todo-show-current-file)
8030 (todo-show-done-only, todo-show-first, todo-show-with-done)
8031 (todo-skip-archived-categories, todo-top-priorities-overrides)
8032 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8033 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8035 (todo-category-done, todo-date-pattern, todo-date-string-start)
8036 (todo-diary-items-buffer, todo-done-string-start)
8037 (todo-filtered-items-buffer, todo-item-start)
8038 (todo-month-abbrev-array, todo-month-name-array)
8039 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8040 (todo-top-priorities-buffer): New defconsts.
8041 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8042 (todo-categories-with-marks, todo-category-string-face)
8043 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8044 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8045 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8046 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8047 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8048 (todo-font-lock-keywords, todo-global-current-todo-file)
8049 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8050 (todo-insertion-commands-args)
8051 (todo-insertion-commands-args-genlist)
8052 (todo-insertion-commands-names, todo-insertion-map)
8053 (todo-key-bindings-t, todo-key-bindings-t+a)
8054 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8055 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8056 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8057 (todo-visited): New variables.
8059 2013-06-21 Glenn Morris <rgm@gnu.org>
8061 * play/cookie1.el (cookie-apropos): Add optional display argument.
8062 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8063 (psychoanalyze-pinhead): Use cookie-doctor.
8065 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8067 * emacs-lisp/package.el (tar-get-file-descriptor)
8068 (tar--extract): Declare.
8070 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8072 Extend flymake's warning predicate to be a function (bug#14217).
8073 * progmodes/flymake.el (flymake-warning-predicate): New.
8074 (flymake-parse-line): Use it.
8075 (flymake-warning-re): Make obsolete alias to
8076 `flymake-warning-predicate'.
8078 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8080 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8081 (package-obsolete-list): Remove.
8082 (package-activate): Remove min-version argument. Add `force' argument.
8083 Adjust to new package-alist format.
8084 (package-mark-obsolete): Remove.
8085 (package-unpack): Force reload of the package's autoloads.
8086 (package-installed-p): Check builtins if the installed package is not
8088 (package-initialize): Don't reset package-obsolete-list.
8089 Don't specify which package version to activate.
8090 (package-process-define-package, describe-package-1)
8091 (package-menu--generate): Adjust to new package-alist format.
8093 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8095 * allout-widgets.el (allout-widgets-mode-off)
8096 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8097 (allout-widgets-post-command-business)
8098 (allout-widgets-after-copy-or-kill-function)
8099 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8100 (allout-decorate-item-and-context)
8101 (allout-graphics-modification-handler): Fix typos in docstrings.
8102 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8104 * cmuscheme.el (scheme-start-file): Doc fix.
8105 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8106 (scheme-input-filter): Use `string-match-p'.
8108 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8110 * dired-x.el: Use Dired consistently in docstrings.
8112 * dired.el: Use Dired consistently in docstrings.
8113 (dired-readin, dired-mode): Use `setq-local'.
8114 (dired-switches-alist): Make defvar-local.
8115 (dired-buffers-for-dir): Use `zerop'.
8116 (dired-safe-switches-p, dired-switches-escape-p)
8117 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8118 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8119 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8120 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8121 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8122 (dired-toggle-marks, dired-mark-files-containing-regexp)
8123 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8124 (dired-flag-auto-save-files, dired-flag-backup-files):
8126 (dired-mark-files-regexp, dired-build-subdir-alist):
8127 Use `string-match-p', `looking-at-p'.
8129 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8130 (direct-print-region-helper): Use `string-match-p'.
8132 2013-06-21 Leo Liu <sdl.web@gmail.com>
8134 * comint.el (comint-redirect-results-list-from-process):
8137 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8139 * net/eww.el (eww-update-header-line-format): Quote % characters.
8141 2013-06-21 Glenn Morris <rgm@gnu.org>
8143 * play/cookie1.el (cookie): New custom group.
8144 (cookie-file): New option.
8145 (cookie-check-file): New function.
8146 (cookie): Make it interactive. Make start and end messages optional.
8147 Interactively, display the result. Default to cookie-file.
8148 (cookie-insert): Default to cookie-file.
8149 (cookie-snarf): Make start and end messages optional.
8150 Default to cookie-file. Use with-temp-buffer.
8151 (cookie-read): Rename from read-cookie.
8152 Make start and end messages optional. Default to cookie-file.
8153 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8155 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8156 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8158 2013-06-21 Leo Liu <sdl.web@gmail.com>
8160 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8162 2013-06-21 Glenn Morris <rgm@gnu.org>
8164 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8166 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8167 Daniel Hackney <dan@haxney.org>
8169 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8170 Consolidate the single-file vs tarball code.
8171 (package-desc-suffix): New function.
8172 (package-desc-full-name): Don't bother inlining it.
8173 (package-load-descriptor): Return the new package-desc.
8174 (package-mark-obsolete): Remove unused arg `package'.
8175 (package-unpack): Make it work for single files as well.
8176 Make it update package-alist.
8177 (package--make-autoloads-and-stuff): Rename from
8178 package--make-autoloads-and-compile. Don't compile any more.
8179 (package--compile): New function.
8180 (package-generate-description-file): New function, extracted from
8181 package-unpack-single.
8182 (package-unpack-single): Remove.
8183 (package--with-work-buffer): Add indentation and debugging info.
8184 (package-download-single): Remove.
8185 (package-install-from-archive): Rename from package-download-tar, make
8186 it take a pkg-desc, and make it work for single files as well.
8187 (package-download-transaction): Simplify.
8188 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8189 external tar program.
8190 (package-install-from-buffer): Remove `pkg-desc' argument.
8191 Use package-tar-file-info for tar-mode buffers.
8192 (package-install-file): Simplify accordingly.
8193 (package-archive-base): Change to take a pkg-desc.
8194 * tar-mode.el (tar--check-descriptor): New function, extracted from
8196 (tar-get-descriptor): Use it.
8197 (tar-get-file-descriptor): New function.
8198 (tar--extract): New function, extracted from tar-extract.
8199 (tar--extract): Use it.
8200 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8201 case the summary uses non-ascii. Adjust to new calling convention of
8202 package-tar-file-info.
8204 2013-06-21 Leo Liu <sdl.web@gmail.com>
8206 * comint.el (comint-redirect-results-list-from-process):
8207 Fix random delay. (Bug#14681)
8209 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8211 * profiler.el (profiler-format-number): Use log, not log10.
8213 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8215 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8217 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8219 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8220 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8222 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8223 (AUTOGENEL): ... here.
8224 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8225 (cl--defsubst-expand): Use it.
8227 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8229 * subr.el (log10): Move here from C code, and declare as obsolete.
8230 All uses of (log10 X) replaced with (log X 10).
8232 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8234 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8235 Declare with `defvar-local'.
8236 (tabulated-list-use-header-line, tabulated-list-entries)
8237 (tabulated-list-padding, tabulated-list-printer)
8238 (tabulated-list-sort-key): Declare with `defvar-local'.
8239 (tabulated-list-init-header, tabulated-list-print-fake-header):
8242 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8244 * arc-mode.el (archive-mode): Add `archive-write-file' to
8245 `write-contents-functions' also for remote files. (Bug#14652)
8247 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8249 * cus-edit.el (custom-commands): Fix typos.
8250 (custom-display): Fix tooltip text.
8251 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8252 Fix typos in docstrings.
8253 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8254 (custom-unlispify-menu-entry, custom-magic-value-create)
8255 (custom-add-see-also, custom-group-value-create): Use ?\s.
8256 (custom-guess-type, customize-apropos, editable-field)
8257 (custom-face-value-create): Use `string-match-p'.
8258 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8260 * custom.el (custom-load-symbol): Use `string-match-p'.
8262 * ansi-color.el: Convert to lexical binding.
8263 (ansi-colors): Fix URL.
8264 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8265 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8266 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8268 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8270 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8272 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8274 2013-06-19 Tom Tromey <tromey@redhat.com>
8276 * net/eww.el (eww-top-url): Remove.
8277 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8278 (eww-render): Set new variables. Don't set eww-top-url.
8279 (eww-handle-link): Handle "prev", "home", and "contents".
8280 Downcase the rel text.
8281 (eww-top-url): Choose best top URL.
8283 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8285 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8286 relying in widget.el. Using widget.el leads to too many
8287 user interface inconsistencies.
8288 (eww-self-insert): Implement entering commands in text fields.
8289 (eww-process-text-input): New function to make text input field editing
8291 (eww-submit): Rewrite to use the new-style form methods.
8292 (eww-select-display): Display the correct selected item.
8293 (eww-change-select): Implement changing the select value.
8294 (eww-toggle-checkbox): Implement radio/checkboxes.
8295 (eww-update-field): Fix compilation error.
8296 (eww-tag-textarea): Implement <textarea>.
8298 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8299 we don't shadow mode-specific bindings.
8301 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8304 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8306 2013-06-19 Glenn Morris <rgm@gnu.org>
8308 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8310 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8312 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8315 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8317 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8319 * net/browse-url.el (browse-url-browser-function):
8320 `eww-browse-url' has the right calling signature, `eww' does not.
8322 2013-06-19 Glenn Morris <rgm@gnu.org>
8324 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8325 Only eval autoloaded macros.
8326 (byte-compile-autoload): Only give the macro warning for macros.
8328 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8329 (ps-underlined-faces): Declare.
8331 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8332 (speedbar-add-supported-extension): Declare.
8334 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8335 Don't include a date stamp in the header of the generated file;
8336 it leads to needless differences between output files.
8338 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8340 * net/secrets.el (secrets-struct-secret-content-type):
8341 Replace check of introspection data by a test call of "CreateItem".
8342 Some servers do not offer introspection.
8344 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8346 * electric.el (electric-pair-mode): Improve interaction with
8347 electric-layout-mode.
8348 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8349 (electric-pair-syntax): Use text-mode-syntax-table in comments
8351 (electric-pair--insert): New function.
8352 (electric-pair-post-self-insert-function): Use it and
8353 electric--after-char-pos.
8355 2013-06-19 Leo Liu <sdl.web@gmail.com>
8357 * progmodes/octave.el (octave-help): Fix regexp.
8359 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8361 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8362 (shr-table-horizontal-line): Allow nil as a value, and change the
8364 (shr-insert-table-ruler): Respect the nil value.
8366 2013-06-18 Tom Tromey <tromey@barimba>
8368 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8370 (eww-open-file): New defun.
8371 (eww-render): Initialize new variables.
8372 (eww-display-html): Handle "link" and "a".
8373 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8374 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8375 (eww-back-url): Rename from eww-previous-url.
8376 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8379 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8381 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8382 Distinguish ternary operator tokens from slash symbol and slash
8385 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8387 Convert symbol prettification into minor mode and global minor mode.
8389 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8390 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8391 (prettify-symbols--keywords): Rename from
8392 `prog-prettify-symbols-alist' and make a local defvar.
8393 (prettify-symbols--compose-symbol): Rename from
8394 `prog--prettify-font-lock-compose-symbol'.
8395 (prettify-symbols--make-keywords): Rename from
8396 `prog-prettify-font-lock-symbols-keywords' and simplify.
8397 (prog-prettify-install): Remove.
8398 (prettify-symbols-mode): New minor mode, based on
8399 `prog-prettify-install'.
8400 (turn-on-prettify-symbols-mode): New function.
8401 (global-prettify-symbols-mode): New globalized minor mode.
8403 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8404 * progmodes/cfengine.el (cfengine3-mode):
8405 * progmodes/perl-mode.el (perl-mode): Don't call
8406 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8408 2013-06-18 Juri Linkov <juri@jurta.org>
8410 * files-x.el (modify-file-local-variable-message): New function.
8411 (modify-file-local-variable)
8412 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8413 and call `modify-file-local-variable-message' when it's non-nil.
8414 (add-file-local-variable, delete-file-local-variable)
8415 (add-file-local-variable-prop-line)
8416 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8417 and use it. (Bug#9820)
8419 2013-06-18 Juri Linkov <juri@jurta.org>
8421 * emulation/vi.el (vi-shell-op):
8422 * emulation/vip.el (vip-execute-com, ex-command):
8423 * emulation/viper-cmd.el (viper-exec-bang):
8424 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8425 the call of `shell-command-on-region'. (Bug#14637)
8427 * simple.el (shell-command-on-region): Doc fix.
8429 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8434 2013-06-18 Glenn Morris <rgm@gnu.org>
8436 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8438 * newcomment.el (comment-search-forward, comment-search-backward):
8439 Doc fix. (Bug#14376)
8441 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8443 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8444 (buffer-face-mode-invoke): Doc fix.
8446 2013-06-18 Matthias Meulien <orontee@gmail.com>
8448 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8449 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8451 2013-06-18 Glenn Morris <rgm@gnu.org>
8453 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8454 Replace obsolete function generic-make-keywords with its expansion.
8456 * progmodes/python.el (ffap-alist): Declare.
8458 * textmodes/reftex.el (bibtex-mode-map): Declare.
8460 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8462 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8463 (package-unpack, package-unpack-single): Return the pkg-dir.
8464 (package-download-transaction): Use it to update package-alist.
8466 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8468 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8471 2013-06-17 Juri Linkov <juri@jurta.org>
8473 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8475 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8477 * emacs-lisp/package.el (package-load-descriptor):
8478 Remove `with-syntax-table' call, `read' doesn't need it.
8479 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8481 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8483 * startup.el (command-line): Expand package name returned by
8484 `package--description-file' (bug#14639).
8486 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8488 * emacs-lisp/package.el (package-load-descriptor): Do not call
8489 `emacs-lisp-mode', just use its syntax table.
8491 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8493 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8494 `font-lock-extra-managed-props' if any prettifying keyword is added.
8495 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8496 (prog-mode): Use `setq-local'.
8498 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8500 * international/characters.el (standard-case-table): Set syntax of ?»
8501 and ?« to punctuation.
8503 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8505 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8506 Save relevant match data before calling `syntax-ppss' (bug#14595).
8508 2013-06-15 Juri Linkov <juri@jurta.org>
8510 * files-x.el (modify-file-local-variable-prop-line): Add local
8511 variables to the end of the existing comment on the first line.
8512 Use `file-auto-mode-skip' to skip interpreter magic line,
8513 and also skip XML declaration.
8515 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8517 * startup.el (package--builtin-versions): New var.
8518 (package-subdirectory-regexp): Remove.
8519 (package--description-file): Hard code its value instead.
8521 * emacs-lisp/package.el: Don't activate packages older than builtin.
8522 (package-obsolete-list): Rename from package-obsolete-alist, and make
8523 it into a simple list of package-desc.
8524 (package-strip-version): Remove.
8525 (package-built-in-p): Use package--builtin-versions.
8526 (package-mark-obsolete): Simplify.
8527 (package-process-define-package): Mark it obsolete if older than the
8529 (package-handle-response): Use line-end-position.
8530 (package-read-archive-contents, package--download-one-archive):
8532 (package--add-to-archive-contents): Skip if older than the builtin or
8534 (package-menu-describe-package): Fix last change.
8535 (package-list-unversioned): New var.
8536 (package-menu--generate): Use it.
8538 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8539 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8540 (autoload-builtin-package-versions): New variable.
8541 (autoload-generate-file-autoloads): Use them.
8542 Remove the list of autoloaded functions/macros from the
8543 (autoload...) comments.
8545 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8547 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8549 * simple.el (line-move-partial): Don't jump to the next screen
8550 line as soon as it becomes visible. Instead, continue enlarging
8551 the vscroll until the portion of a tall screen line that's left on
8552 display is about the height of the frame's default font.
8555 2013-06-15 Glenn Morris <rgm@gnu.org>
8557 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8558 compilation-error-regexp-alist void, or local while let-bound.
8560 * progmodes/make-mode.el (makefile-mode-syntax-table):
8561 Treat "=" as punctuation. (Bug#14614)
8563 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8565 * help-fns.el (describe-variable):
8566 Add extra line for permanent-local variables.
8568 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8570 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8571 Add export, import, library. (Bug#9164)
8572 (library): Set indent function.
8574 2013-06-14 Glenn Morris <rgm@gnu.org>
8576 * term/xterm.el (xterm--query):
8577 Stop after first matching handler. (Bug#14615)
8579 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8581 Add support for dired in saveplace.
8582 * dired.el (dired-initial-position-hook): New variable.
8583 (dired-initial-position): Call hook to place cursor position.
8584 * saveplace.el (save-place-to-alist): Add dired position.
8585 (save-place-dired-hook): New function.
8587 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8589 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8590 through a symbol rather than letrec.
8592 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8593 (package-desc): Add `dir' field.
8594 (package-desc-full-name): New function.
8595 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8596 (package-maybe-load-descriptor): Remove.
8597 (package-load-all-descriptors): Just call package-load-descriptor.
8598 (package--disabled-p): New function.
8599 (package-desc-vers, package-desc-doc): Remove aliases.
8600 (package--dir): Remove function.
8601 (package-activate): Check if a package is disabled.
8602 (package-process-define-package): New function, extracted from
8604 (define-package): Turn into a place holder.
8605 (package-unpack-single, package-tar-file-info):
8606 Use package--description-file.
8607 (package-compute-transaction): Use package--disabled-p.
8608 (package-download-transaction): Don't call
8609 package-maybe-load-descriptor since they're all loaded anyway.
8610 (package-install): Change argument to be a pkg-desc.
8611 (package-delete): Use a single pkg-desc argument.
8612 (describe-package-1): Use package-desc-dir instead of package--dir.
8613 Use package-desc property instead of package-symbol.
8614 (package-install-button-action): Adjust accordingly.
8615 (package--push): Rewrite.
8616 (package-menu--print-info): Adjust accordingly. Change the ID format
8618 (package-menu-describe-package, package-menu-get-status)
8619 (package-menu--find-upgrades, package-menu-mark-upgrades)
8620 (package-menu-execute, package-menu--name-predicate):
8622 * startup.el (package--description-file): New function.
8623 (command-line): Use it.
8624 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8625 Use package-desc-version.
8627 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8628 (byte-compile-preprocess): Use it.
8629 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8630 can't quite recognize.
8631 (byte-compile-add-to-list): Remove.
8632 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8633 (cconv-closure-convert): Add assertion.
8635 * emacs-lisp/map-ynp.el: Use lexical-binding.
8636 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8637 Factor out some repeated code.
8639 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * subr.el (with-eval-after-load): New macro.
8642 (eval-after-load): Allow form to be a function.
8643 take advantage of lexical-binding.
8644 (do-after-load-evaluation): Use dolist and adjust to new format.
8645 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8647 2013-06-13 Juri Linkov <juri@jurta.org>
8649 * replace.el (perform-replace): Display "symbol " and other search
8650 modes from `isearch-message-prefix' in the *Help* buffer.
8652 * isearch.el (isearch-query-replace): Add " symbol" and other
8653 possible search modes from `isearch-message-prefix' to the prompt.
8654 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8655 when reading a regexp to collect.
8657 2013-06-13 Juri Linkov <juri@jurta.org>
8659 * isearch.el (word-search-regexp): Match whitespace if the search
8660 string begins or ends in whitespace. The LAX arg is applied to
8661 both ends of the search string. Use `regexp-quote' and explicit
8662 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8663 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8664 boundaries are replaced with symbol boundaries, and characters
8665 between symbols match non-word non-symbol syntax. (Bug#14602)
8667 2013-06-13 Juri Linkov <juri@jurta.org>
8669 * isearch.el (isearch-del-char): Don't exceed the length of
8670 `isearch-string' by the prefix arg. (Bug#14563)
8672 2013-06-13 Juri Linkov <juri@jurta.org>
8674 * isearch.el (isearch-yank-word, isearch-yank-line)
8675 (isearch-char-by-name, isearch-quote-char)
8676 (isearch-printing-char, isearch-process-search-char):
8677 Add optional count prefix arg. (Bug#14563)
8679 * international/isearch-x.el
8680 (isearch-process-search-multibyte-characters):
8681 Add optional count prefix arg.
8683 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8685 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8686 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8689 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8691 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8693 2013-06-13 Glenn Morris <rgm@gnu.org>
8695 * startup.el (tty-handle-args):
8696 Don't just discard "--" and anything after. (Bug#14608)
8698 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8700 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8702 Implement changes in Secret Service API. Make it backward compatible.
8703 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8704 (secrets-create-item): Use it. Prefix properties with interface.
8706 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8708 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8709 (term-emulate-terminal): Respect term-suppress-hard-newline.
8711 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8713 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8714 Only remove a `thumb-file' overlay. (Bug#14548)
8716 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8718 * mail/reporter.el (reporter-submit-bug-report):
8719 Handle missing package-name. (Bug#14600)
8721 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8723 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8724 (reftex-citation-prompt, reftex-default-bibliography)
8725 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8726 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8727 (reftex-bib-sort-author, reftex-bib-sort-year)
8728 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8729 (reftex-extract-bib-entries-from-thebibliography)
8730 (reftex-get-bibkey-default, reftex-get-bib-names)
8731 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8732 (reftex-format-bib-entry, reftex-parse-bibitem)
8733 (reftex-format-bibitem, reftex-do-citation)
8734 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8735 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8736 (reftex-insert-bib-matches, reftex-format-citation)
8737 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8738 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8739 existing comments into docstrings.
8741 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8743 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8745 2013-06-12 Andreas Schwab <schwab@suse.de>
8747 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8748 for auto-save files.
8750 2013-06-12 Glenn Morris <rgm@gnu.org>
8752 * ido.el (ido-delete-ignored-files): Remove.
8753 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8754 Go back to calling ido-ignore-item-p directly.
8756 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8758 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8760 * ido.el (ido-delete-ignored-files): New function,
8761 split from ido-make-file-list-1.
8762 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8763 (ido-make-file-list-1): Use ido-delete-ignored-files.
8765 2013-06-12 Leo Liu <sdl.web@gmail.com>
8767 * progmodes/octave.el (inferior-octave-startup)
8768 (inferior-octave-completion-table)
8769 (inferior-octave-track-window-width-change)
8770 (octave-eldoc-function-signatures, octave-help)
8771 (octave-find-definition): Use single quoted strings.
8772 (inferior-octave-startup-args): Change default value.
8773 (inferior-octave-startup): Do not hard code "-i" and
8774 "--no-line-editing".
8775 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8776 (inferior-octave-directory-tracker): Use it.
8777 (octave-goto-function-definition): Robustify.
8778 (octave-help): Support highlighting operators in 'See also'.
8779 (octave-find-definition): Find subfunctions only in Octave mode.
8781 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8783 * help-fns.el (help-fns--compiler-macro): If the handler function is
8784 named, then put a link to it.
8785 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8786 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8788 (cl-eval-when): Simplify debug spec.
8789 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8790 compiler-macro function instead of setting `compiler-macro-file'.
8792 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8794 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8795 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8797 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8798 Daniel Hackney <dan@haxney.org>
8800 First part of Daniel Hackney's patch to package.el.
8801 * emacs-lisp/package.el: Use defstruct.
8802 (package-desc): New, main struct.
8803 (package--bi-desc, package--ac-desc): New structs, used to describe the
8804 format in external files.
8805 (package-desc-vers): Replace with package-desc-version accessor.
8806 (package-desc-doc): Replace with package-desc-summary accessor.
8807 (package-activate-1): Remove `package' arg since the pkg-vec now
8809 (define-package): Use package-desc-from-define.
8810 (package-unpack-single): Change file-name arg to be a symbol.
8811 (package--add-to-archive-contents): Use package-desc-create and new
8812 accessor functions to package--ac-desc.
8813 (package-buffer-info, package-tar-file-info): Return a package-desc.
8814 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8815 arg to be a package-desc.
8816 (package-install-file): Adjust accordingly. Use \' to match EOS.
8817 (package--from-builtin): New function.
8818 (describe-package-1, package-menu--generate): Use it.
8819 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8820 (package-generate-autoloads): Idem and return the name of the file.
8821 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8822 Change pkg-info arg to be a package-desc.
8823 Use package-make-ac-desc.
8824 (package-upload-file): Use \' to match EOS.
8825 * finder.el (finder-compile-keywords): Use package-make-builtin.
8827 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8829 * vc/vc.el (vc-deduce-fileset): Change error message.
8830 (vc-read-backend): New function.
8831 (vc-next-action): Use it.
8833 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8835 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8836 (prolog-font-lock-keywords): Use regexp-opt instead.
8837 Don't manually highlight strings.
8838 (prolog-mode-variables): Simplify comment-start-skip.
8839 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8841 * emacs-lisp/generic.el (generic--normalise-comments)
8842 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8843 (generic-mode-set-comments): Use them.
8844 (generic-bracket-support): Use setq-local.
8845 (generic-make-keywords-list): Declare obsolete.
8847 2013-06-11 Glenn Morris <rgm@gnu.org>
8849 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8850 Prettify after setting font-lock-defaults. (Bug#14574)
8852 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8854 * replace.el (query-replace, occur-read-regexp-defaults-function)
8856 * subr.el (declare-function, number-sequence, local-set-key)
8857 (substitute-key-definition, locate-user-emacs-file)
8858 (with-silent-modifications, split-string, eval-after-load):
8859 Fix typos, remove unneeded backslashes and reflow some docstrings.
8861 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8863 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8864 default for Elisp files.
8866 2013-06-11 Glenn Morris <rgm@gnu.org>
8868 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8869 although define-derived-mode was doing this anyway. (Bug#14583)
8871 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8873 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8874 Fix make-variable-buffer-local call to refer to the correct variable.
8876 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8878 * eshell/em-term.el (eshell-visual-commands)
8879 (eshell-visual-subcommands, eshell-visual-options):
8880 Add summary line to docstrings. Add cross-references.
8882 2013-06-10 Glenn Morris <rgm@gnu.org>
8884 * epa.el (epa-read-file-name): New function. (Bug#14510)
8885 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8887 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8889 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8890 output redirection to be ignored with visual commands.
8892 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8894 * eshell/em-term.el (eshell-visual-command-p): New function.
8895 (eshell-term-initialize): Move long lambda to separate function
8896 eshell-visual-command-p.
8897 * eshell/em-dirs.el (eshell-dirs-initialise):
8898 * eshell/em-script.el (eshell-script-initialize):
8899 Add missing #' to lambda.
8901 2013-06-08 Leo Liu <sdl.web@gmail.com>
8903 * progmodes/octave.el (octave-add-log-current-defun): New function.
8904 (octave-mode): Set add-log-current-defun-function.
8905 (octave-goto-function-definition): Do not move point if not found.
8906 (octave-find-definition): Enhance to try subfunctions first.
8908 2013-06-08 Glenn Morris <rgm@gnu.org>
8910 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8911 (byte-compile-backward-char, byte-compile-backward-word):
8912 Improve previous change, to handle non-explicit nil.
8914 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8916 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8917 (smie--opener/closer-at-point): New function.
8918 (smie--matching-block-data): Use it. Don't match from right after an
8919 opener or right before a closer. Obey smie-blink-matching-inners.
8920 Don't signal a mismatch for repeated inners like "switch..case..case".
8922 2013-06-07 Leo Liu <sdl.web@gmail.com>
8924 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8926 (octave-function-header-regexp): Fix. (Bug#14570)
8927 (octave-help-mode-finish-hook, octave-help-mode-finish):
8928 Remove. Just use temp-buffer-show-hook.
8930 * newcomment.el (comment-search-backward): Revert last change.
8933 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8935 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8937 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8938 through xargs, to avoid failure due to MS-Windows limitations on
8939 command-line length.
8941 2013-06-06 Glenn Morris <rgm@gnu.org>
8943 * font-lock.el (lisp-font-lock-keywords-2):
8944 Treat user-error like error.
8946 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8947 (byte-compile-backward-char, byte-compile-backward-word):
8948 Handle explicit nil arguments. (Bug#14565)
8950 2013-06-05 Alan Mackenzie <acm@muc.de>
8952 * isearch.el (isearch-allow-prefix): New user option.
8953 (isearch-other-meta-char): Don't exit isearch when a prefix
8954 argument is typed whilst `isearch-allow-prefix' is non-nil.
8957 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8959 * autorevert.el (auto-revert-notify-handler): Use memq.
8960 Hide assertion failure.
8962 * skeleton.el: Use cl-lib.
8963 (skeleton-further-elements): Use defvar-local.
8964 (skeleton-insert): Use cl-progv.
8966 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8968 * progmodes/prog-mode.el (prog-prettify-symbols)
8969 (prog-prettify-install): Update docstrings.
8971 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8973 * simple.el: Move all the prog-mode code to prog-mode.el.
8974 * progmodes/prog-mode.el: New file.
8975 * loadup.el: Add prog-mode.el.
8977 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8979 * simple.el (prog-prettify-symbols): Add version.
8980 (prog-prettify-install): Add convenience function to prettify symbols.
8982 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8983 (perl--augmented-font-lock-keywords-1)
8984 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8985 variables and use it.
8987 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8988 (cfengine3-mode): Remove unneeded variable and use it.
8990 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8991 (lisp--augmented-font-lock-keywords-1)
8992 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8993 Remove unneeded variables and use it.
8995 2013-06-05 João Távora <joaotavora@gmail.com>
8997 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8998 to point when opening the connection. (Bug#14380)
9000 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9002 * subr.el (load-history-regexp, load-history-filename-element)
9003 (eval-after-load, after-load-functions, do-after-load-evaluation)
9004 (eval-next-after-load, display-delayed-warnings)
9005 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9006 definition of save-match-data.
9007 (overriding-local-map): Remove accidental obsolescence declaration.
9009 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9011 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9013 Generalize symbol prettify support to prog-mode and implement it
9014 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9015 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9016 (prog--prettify-font-lock-compose-symbol)
9017 (prog-prettify-font-lock-symbols-keywords): New variables and
9018 functions to support symbol prettification.
9019 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9020 (lisp--augmented-font-lock-keywords-1)
9021 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9022 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9023 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9024 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9025 Implement prettify of -> => :: strings.
9026 * progmodes/perl-mode.el (perl-prettify-symbols)
9027 (perl--font-lock-compose-symbol)
9028 (perl--font-lock-symbols-keywords): Move to prog-mode.
9029 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9030 (perl-font-lock-keywords-1)
9031 (perl-font-lock-keywords-2): Remove explicit prettify support.
9032 (perl--augmented-font-lock-keywords)
9033 (perl--augmented-font-lock-keywords-1)
9034 (perl--augmented-font-lock-keywords-2, perl-mode):
9035 Implement prettify support.
9037 2013-06-05 Leo Liu <sdl.web@gmail.com>
9039 Re-implement smie matching block highlight using
9040 show-paren-data-function. (Bug#14395)
9041 * emacs-lisp/smie.el (smie-matching-block-highlight)
9042 (smie--highlight-matching-block-overlay)
9043 (smie--highlight-matching-block-lastpos)
9044 (smie-highlight-matching-block)
9045 (smie-highlight-matching-block-mode): Remove.
9046 (smie--matching-block-data-cache): New variable.
9047 (smie--matching-block-data): New function.
9048 (smie-setup): Use smie--matching-block-data for
9049 show-paren-data-function.
9051 * progmodes/octave.el (octave-mode-menu): Fix.
9052 (octave-find-definition): Skip garbage lines.
9054 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9056 Fix compilation error with simultaneous dynamic+lexical scoping.
9057 Add warning when a defvar appears after the first let-binding.
9058 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9059 (byte-compile-close-variables): Initialize it.
9060 (byte-compile--declare-var): New function.
9061 (byte-compile-file-form-defvar)
9062 (byte-compile-file-form-define-abbrev-table)
9063 (byte-compile-file-form-custom-declare-variable): Use it.
9064 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9065 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9066 (byte-compile-bind): Handle dynamic bindings that shadow
9068 (byte-compile-unbind): Make arg non-optional.
9069 (byte-compile-let): Simplify.
9070 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9071 (cconv--analyse-function, cconv-analyse-form): Populate it.
9072 Protect byte-compile-bound-variables to limit the scope of defvars.
9073 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9074 Remove unneeded rule for `declare'.
9076 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9077 so as to avoid depending on cl-adjoin at run-time.
9078 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9080 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9081 (macroexp--warn-and-return): Use it.
9083 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9085 * lisp/subr.el: Convert to lexical binding.
9086 (overriding-local-map): Make obsolete.
9087 (add-to-list): Doc fix. Add compiler macro.
9088 (read-key): Swap values of local maps.
9090 2013-06-05 Leo Liu <sdl.web@gmail.com>
9092 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9094 2013-06-04 Leo Liu <sdl.web@gmail.com>
9096 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9097 (compilation-auto-jump): Suppress the "Mark set" message to give
9098 way to exit message.
9100 2013-06-04 Alan Mackenzie <acm@muc.de>
9102 Remove faulty optimisation from indentation calculation.
9103 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9104 search limit based on 2000 characters back from indent-point.
9106 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9108 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9110 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9112 * emacs-lisp/lisp.el: Use lexical-binding.
9113 (lisp--local-variables-1, lisp--local-variables): New functions.
9114 (lisp--local-variables-completion-table): New var.
9115 (lisp-completion-at-point): Use it complete let-bound vars.
9117 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9118 eagerly (bug#14422).
9120 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9122 * autorevert.el (auto-revert-notify-enabled)
9123 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9124 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9125 (auto-revert-notify-handler): Handle also gfilenotify.
9127 * subr.el (file-notify-handle-event): New defun. Replacing ...
9128 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9131 2013-06-03 Juri Linkov <juri@jurta.org>
9133 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9134 `M-s h .'. (Bug#14427)
9136 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9137 command `hi-lock-face-symbol-at-point'.
9138 (hi-lock-face-symbol-at-point): New command.
9139 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9140 (hi-lock-menu): Add `highlight-symbol-at-point'.
9141 (hi-lock-mode): Doc fix.
9143 * isearch.el (isearch-forward-symbol-at-point): New command.
9144 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9145 (isearch-highlight-regexp): Add a regexp which matches
9146 words/symbols for word/symbol mode.
9148 * subr.el (find-tag-default-bounds): New function with the body
9149 mostly moved from `find-tag-default'.
9150 (find-tag-default): Move most code to `find-tag-default-bounds',
9151 call it and apply `buffer-substring-no-properties' afterwards.
9153 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9155 * eshell/em-term.el (eshell-term-initialize):
9156 Use `cl-intersection' rather than `intersection'.
9158 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9160 * vc/log-view.el: Doc fix.
9161 (log-view-mode-map): Copy keymap from `special-mode-map'.
9163 2013-06-02 Eric Ludlam <zappo@gnu.org>
9165 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9166 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9167 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9168 (eieio-unbound, eieio-default-superclass)
9169 (eieio--define-field-accessors, method-static, method-before)
9170 (method-primary, method-after, method-num-lists)
9171 (method-generic-before, method-generic-primary)
9172 (method-generic-after, method-num-slots)
9173 (eieio-specialized-key-to-generic-key)
9174 (eieio--check-type, class-v, class-p)
9175 (eieio-class-name, define-obsolete-function-alias)
9176 (eieio-class-parents-fast, eieio-class-children-fast)
9177 (same-class-fast-p, class-constructor, generic-p)
9178 (generic-primary-only-p, generic-primary-only-one-p)
9179 (class-option-assoc, class-option, eieio-object-p)
9180 (class-abstract-p, class-method-invocation-order)
9181 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9182 (eieio-class-un-autoload, eieio-defclass)
9183 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9184 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9185 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9186 (eieio-defgeneric-reset-generic-form)
9187 (eieio-defgeneric-form-primary-only)
9188 (eieio-defgeneric-reset-generic-form-primary-only)
9189 (eieio-defgeneric-form-primary-only-one)
9190 (eieio-defgeneric-reset-generic-form-primary-only-one)
9191 (eieio-unbind-method-implementations)
9192 (eieio--defmethod, eieio--typep)
9193 (eieio-perform-slot-validation, eieio-validate-slot-value)
9194 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9195 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9196 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9197 (eieio-slot-name-index, eieio-class-slot-name-index)
9198 (eieio-set-defaults, eieio-initarg-to-attribute)
9199 (eieio-attribute-to-initarg, eieio-c3-candidate)
9200 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9201 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9202 (eieio-class-precedence-list, eieio-generic-call-methodname)
9203 (eieio-generic-call-arglst, eieio-generic-call-key)
9204 (eieio-generic-call-next-method-list)
9205 (eieio-pre-method-execution-functions, eieio-generic-call)
9206 (eieio-generic-call-primary-only, eieiomt-method-list)
9207 (eieiomt-optimizing-obarray, eieiomt-install)
9208 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9209 (eieio-generic-form, eieio-defmethod, make-obsolete)
9210 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9211 (defclass): Remove `eval-and-compile' from macro.
9212 (call-next-method, shared-initialize): Instead of using
9213 `scoped-class' variable, use new eieio--scoped-class, and
9214 eieio--with-scoped-class.
9215 (initialize-instance): Rename local variable 'scoped-class' to
9216 'this-class' to remove ambiguitity from old global.
9218 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9220 (eieio--scoped-class-stack): New variable.
9221 (eieio--scoped-class): New fcn.
9222 (eieio--with-scoped-class): New scoping macro.
9223 (eieio-defclass): Use pushnew instead of add-to-list.
9224 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9225 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9226 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9227 `scoped-class' variable, use new eieio--scoped-class, and
9228 eieio--with-scoped-class.
9230 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9232 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9234 * eshell/esh-ext.el (eshell-external-command): Pass args to
9235 `eshell-find-interpreter'.
9236 (eshell-find-interpreter): Add new second parameter ARGS.
9238 * eshell/em-script.el (eshell-script-initialize): Add second arg
9239 to the function added as MATCH to `eshell-interpreter-alist'.
9241 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9242 the function added as MATCH to `eshell-interpreter-alist'.
9244 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9245 (eshell-visual-options): New defcustom.
9246 (eshell-escape-control-x): Adapt docstring.
9247 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9248 `eshell-visual-options' in addition to `eshell-visual-commands'.
9249 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9251 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9253 * progmodes/python.el (python-indent-block-enders): Add break,
9254 continue and raise keywords.
9256 2013-06-01 Glenn Morris <rgm@gnu.org>
9258 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9260 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9261 * progmodes/cc-cmds.el (delete-forward-p):
9262 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9263 * progmodes/cc-engine.el (buffer-syntactic-context):
9264 * progmodes/cc-fonts.el (face-property-instance):
9265 * progmodes/cc-mode.el (set-keymap-parents):
9266 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9267 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9268 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9269 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9270 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9272 * progmodes/cc-vars.el (other): Emacs has this widget since
9273 at least 21.1, so don't (re)define it.
9275 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9276 Replace the obsolete alias pcomplete-arg-quote-list.
9278 2013-06-01 Leo Liu <sdl.web@gmail.com>
9280 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9282 (inferior-octave-minimal-columns)
9283 (inferior-octave-last-column-width): New variables.
9284 (inferior-octave-track-window-width-change): New function.
9285 (inferior-octave-mode): Adjust column width so that Octave output,
9286 for example from 'ls', can fit into the window nicely.
9288 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9290 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9291 Highlight expansions inside regexp literals.
9293 2013-05-31 Glenn Morris <rgm@gnu.org>
9295 * obsolete/sym-comp.el (symbol-complete):
9296 Replace obsolete completion-annotate-function.
9298 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9300 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9302 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9303 New function, checks if point is inside a literal that allows
9304 expression expansion.
9305 (ruby-syntax-propertize-expansion): Use it.
9306 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9309 2013-05-30 Juri Linkov <juri@jurta.org>
9311 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9313 (isearch-invisible): New variable.
9314 (isearch-forward): Doc fix.
9315 (isearch-mode): Set `isearch-invisible'
9316 to the value of `search-invisible'.
9317 (isearch-toggle-case-fold): Doc fix.
9318 (isearch-toggle-invisible): New command.
9319 (isearch-query-replace): Let-bind `search-invisible'
9320 to the value of `isearch-invisible'.
9321 (isearch-search): Use `isearch-invisible' instead of
9322 `search-invisible'. Let-bind `search-invisible'
9323 to the value of `isearch-invisible'. (Bug#11378)
9325 2013-05-30 Juri Linkov <juri@jurta.org>
9327 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9328 call when `query-flag' is nil and `search-invisible' is non-nil.
9331 2013-05-30 Glenn Morris <rgm@gnu.org>
9333 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9335 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9336 (cc-require): Suppress spurious "noruntime" warnings.
9337 (cc-require-when-compile): Use fboundp, for sake of compiler.
9339 * progmodes/cc-mode.el: Move load of cc-vars before that of
9340 cc-langs (which in turn loads cc-vars), to quieten compiler.
9342 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9344 * paren.el: Simplify the code.
9345 (show-paren-mode): Always start the timer.
9346 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9347 (show-paren--overlay, show-paren--overlay-1): Rename from
9348 show-paren-overlay and show-paren-overlay-1, and initialize to an
9349 overlay rather than to nil.
9350 (show-paren-function): Misc cleanup and simplifications.
9352 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * paren.el (show-paren-data-function): New hook.
9355 (show-paren--default): New function, extracted from show-paren-function.
9356 (show-paren-function): Use show-paren-data-function.
9358 2013-05-30 Glenn Morris <rgm@gnu.org>
9360 * ielm.el (ielm-map, ielm-complete-symbol):
9361 Use completion-at-point rather than obsolete functions.
9362 (inferior-emacs-lisp-mode): Doc fix.
9363 Set completion-at-point-functions, rather than
9364 comint-dynamic-complete-functions.
9366 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9367 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9368 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9370 * image.el (image-animated-p): Tweak definition.
9372 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9373 (rlogin-process-connection-type): Tweak default. Add set-after.
9374 (rlogin-host): Doc fix.
9375 (rlogin): Tweak prompt.
9376 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9378 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9379 * progmodes/tcl.el (inferior-tcl-mode-map):
9380 Use completion-at-point rather than obsolete alias.
9382 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9384 * minibuffer.el (read-file-name-completion-ignore-case):
9385 Move before completion--in-region, for eager macro expansion.
9387 2013-05-29 Juri Linkov <juri@jurta.org>
9389 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9390 for total count of matching lines. Add `global-matches' for total
9391 count of matches. Rename `matches' to `lines' for count of
9392 matching lines. Add `matches' for count of matches.
9393 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9394 to `prev-line' for line number of prev match endpt.
9395 Increment `matches' for every match. Print the number of
9396 matching lines in the header.
9397 (occur-context-lines): Rename `lines' to `curr-line'.
9398 Rename `prev-lines' to `prev-line'. (Bug#14017)
9400 2013-05-29 Juri Linkov <juri@jurta.org>
9402 * replace.el (perform-replace): Add `skip-read-only-count',
9403 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9404 Increment them for corresponding conditions and report the number
9405 of skipped occurrences in the final message. (Bug#11746)
9406 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9407 (replace-string, replace-regexp): Doc fix.
9409 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9411 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9413 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9414 prog-mode-map (bug#14504).
9416 2013-05-29 Leo Liu <sdl.web@gmail.com>
9418 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9419 (octave-help): Small simplification.
9421 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9422 off the highlight first.
9424 2013-05-29 Glenn Morris <rgm@gnu.org>
9426 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9427 Handle idlwave-last-system-routine-info-cons-cell being nil.
9429 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9430 (idlwave-write-paths): Simplify via with-temp-buffer.
9432 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9433 * emulation/cua-rect.el: Also load cua-base at run time.
9435 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9436 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9437 (cperl-imenu-on-info): Require imenu.
9439 2013-05-28 Alan Mackenzie <acm@muc.de>
9441 Handle "capitalised keywords" correctly.
9442 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9444 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9446 * eshell/em-unix.el: Add -r option to cp.
9448 2013-05-28 Glenn Morris <rgm@gnu.org>
9450 * vc/vc-arch.el (vc-exec-after): Declare.
9451 (vc-switches): Autoload.
9452 * vc/vc-bzr.el: No need to require vc when compiling.
9453 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9454 (vc-resynch-buffer, vc-dir-refresh): Declare.
9455 (vc-setup-buffer, vc-switches): Autoload.
9456 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9457 (vc-resynch-buffer): Declare.
9458 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9459 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9460 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9461 (grep-read-regexp, grep-read-files, grep-expand-template)
9462 (vc-dir-refresh): Declare.
9463 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9464 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9465 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9466 * vc/vc-mtn.el (vc-exec-after): Declare.
9467 (vc-switches): Autoload.
9468 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9469 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9470 (vc-file-tree-walk): Declare.
9471 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9472 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9473 (vc-tag-precondition, vc-rename-master): Autoload.
9474 * vc/vc-svn.el (vc-exec-after): Declare.
9475 (vc-switches, vc-setup-buffer): Autoload.
9476 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9478 (vc-resynch-buffer): Declare.
9480 * obsolete/fast-lock.el (byte-compile-warnings):
9481 Don't warn about obsolete features in this obsolete file.
9483 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9484 Move definition before use.
9486 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9487 (dun-unix-verbs): Remove dun-zippy.
9488 (dun-zippy): Remove function.
9490 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9492 2013-05-27 Juri Linkov <juri@jurta.org>
9494 * replace.el (replace-search): New function with code moved out
9495 from `perform-replace'.
9496 (replace-highlight, replace-dehighlight): Move function definitions
9497 up closer to `replace-search'. (Bug#11746)
9499 2013-05-27 Juri Linkov <juri@jurta.org>
9501 * replace.el (perform-replace): Ignore invisible matches.
9502 In addition to checking `query-replace-skip-read-only', also
9503 filter out matches by calling `run-hook-with-args-until-failure'
9504 on `isearch-filter-predicates', and also check `search-invisible'
9505 for t or call `isearch-range-invisible'.
9506 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9508 2013-05-27 Juri Linkov <juri@jurta.org>
9510 * isearch.el (isearch-filter-predicates): Rename from
9511 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9512 (isearch-message-prefix): Display text from the property
9513 `isearch-message-prefix' of the currently active filters.
9514 (isearch-search): Don't compare `isearch-filter-predicate' with
9515 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9516 on `isearch-filter-predicates'. Also check `search-invisible' for t
9517 or call `isearch-range-invisible'.
9518 (isearch-filter-visible): Make obsolete.
9519 (isearch-lazy-highlight-search):
9520 Call `run-hook-with-args-until-failure' on
9521 `isearch-filter-predicates' and use `isearch-range-invisible'.
9523 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9524 `isearch-filter-predicates' instead of `funcall'ing
9525 `isearch-filter-predicate'.
9526 (Info-mode): Set `Info-isearch-filter' to
9527 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9529 * dired-aux.el (dired-isearch-filter-predicate-orig):
9531 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9532 (dired-isearch-filenames-end): Add and remove
9533 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9534 instead of changing the value of `isearch-filter-predicate'.
9535 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9536 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9537 Put property `isearch-message-prefix' to "filename " on
9538 `dired-isearch-filter-filenames'.
9540 * wdired.el (wdired-change-to-wdired-mode):
9541 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9542 locally instead of changing `isearch-filter-predicate'.
9543 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9545 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9547 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9548 return the commit hash (Bug#14459). Also set the
9549 `vc-git-detached' property.
9550 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9551 (vc-git-mode-line-string): Use the same help-echo format whether
9552 in detached mode or not, because we know the actual revision now.
9553 When in detached mode, shorten the revision to 7 chars.
9555 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * emacs-lisp/easy-mmode.el (define-minor-mode):
9558 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9559 mode hook and provide a docstring.
9561 2013-05-27 Alan Mackenzie <acm@muc.de>
9563 Remove spurious syntax-table text properties inserted by C-y.
9564 * progmodes/cc-mode.el (c-after-change): Also clear hard
9565 syntax-table property with value nil.
9567 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9569 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9570 when reading the events; the buffer layout shall not be changed.
9572 2013-05-27 Leo Liu <sdl.web@gmail.com>
9574 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9576 (inferior-octave-directory-tracker): Automatically re-sync
9578 (octave-help): Improve handling of 'See also'.
9580 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9582 * doc-view.el: Minor naming convention tweaks.
9583 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9585 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9586 even if there's no `display' property yet (bug#14435).
9588 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9590 * subr.el (unmsys--file-name): Rename from reveal-filename.
9592 * Makefile.in (custom-deps, finder-data, autoloads)
9593 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9594 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9595 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9597 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9599 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9600 error-completion on the first 2 args of condition-case (bug#14446).
9603 2013-05-25 Leo Liu <sdl.web@gmail.com>
9605 * comint.el (comint-previous-matching-input): Do not flood the
9606 *Messages* buffer with trivial messages.
9608 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9610 * progmodes/flymake.el (flymake-nop): Don't return a string.
9611 (flymake-set-at): Fix typo.
9613 * simple.el (read--expression): New function, extracted from
9614 eval-expression. Set completion-at-point-functions (bug#14465).
9615 (eval-expression, eval-minibuffer): Use it.
9617 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9619 * progmodes/flymake.el (flymake-save-buffer-in-file)
9620 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9621 (flymake-selected-frame, flymake-log, flymake-ins-after)
9622 (flymake-set-at, flymake-get-buildfile-from-cache)
9623 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9624 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9625 Refine the doc string.
9626 (flymake-get-file-name-mode-and-masks): Reformat.
9627 (flymake-get-real-file-name-function): Fix a minor bug.
9629 2013-05-24 Juri Linkov <juri@jurta.org>
9631 * progmodes/grep.el (grep-mode-font-lock-keywords):
9632 Support =linenumber= format used by git-grep for lines with
9633 function names. (Bug#13549)
9635 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9637 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9638 0 after a semi-colon; it works better for smie-auto-fill.
9639 (octave--indent-new-comment-line): New function.
9640 (octave-indent-new-comment-line): Use it (indirectly).
9641 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9642 modify comment-line-break-function.
9644 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9645 (smie-setup): Use add-function to set it.
9647 2013-05-24 Sam Steingold <sds@gnu.org>
9649 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9650 argument (before the `interactive' argument).
9652 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9654 * image-mode.el (image-mode-winprops): Add winprops to
9655 image-mode-winprops-alist before running
9656 image-mode-new-window-functions.
9657 * doc-view.el (doc-view-new-window-function): Don't delay
9658 doc-view-goto-page via timers (bug#14435).
9660 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9662 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9663 (doc-view-desktop-save-buffer): New function.
9664 (doc-view-restore-desktop-buffer): New function.
9665 (desktop-buffer-mode-handlers):
9666 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9668 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9669 `desktop-save-buffer' function.
9671 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9673 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9674 (tramp-gvfs-file-name-handler): Raise a user error when
9675 `tramp-gvfs-enabled' is nil.
9676 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9677 Do not raise a user error when loading package. (Bug#14447)
9679 * net/xesam.el: Move to obsolete/.
9681 2013-05-24 Glenn Morris <rgm@gnu.org>
9683 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9685 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9687 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9688 (Info-find-node, Man-getpage-in-background): Declare.
9690 * mail/unrmail.el (unrmail):
9691 Replace obsolete detect-coding-with-priority.
9693 * net/socks.el (socks-split-string): Use this rather than split-string.
9694 (socks-nslookup-host): Update for above change.
9695 (dynamic-choice, s5-dynamic-choice-match)
9696 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9697 Comment out unused code.
9699 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9700 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9701 (gud-tooltip-echo-area): Make obsolete.
9702 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9704 * progmodes/js.el (js--optimize-arglist): Declare.
9706 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9708 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9709 (ediff-window-C): Declare.
9711 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9712 Tweak requires to silence compiler.
9714 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9715 (he-search-string, he-tried-table, he-expand-list)
9716 (he-init-string, he-string-member, he-substitute-string)
9717 (he-reset-string): Declare.
9719 * obsolete/options.el (list-options): Use custom-variable-p,
9720 rather than obsolete alias.
9722 2013-05-23 Sam Steingold <sds@gnu.org>
9724 * simple.el (shell-command-on-region): Pass the `replace' argument
9725 down to `call-process-region' to comply with the doc as reported on
9726 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9728 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * emacs-lisp/smie.el (smie-indent-forward-token)
9731 (smie-indent-backward-token): Handle string tokens (bug#14381).
9733 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9735 * ielm.el (ielm-menu): New menu.
9736 (inferior-emacs-lisp-mode): Set comment-start.
9738 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9740 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9741 Fix deactivate action.
9743 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9744 Add cleveref macros.
9746 * lisp/textmodes/reftex-parse.el
9747 (reftex-locate-bibliography-files): Accept options for
9748 bibliography commands.
9749 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9750 Add addbibresource. Basic Biblatex support.
9752 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9754 * net/tramp-gvfs.el (top):
9755 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9756 when loading package. (Bug#14447)
9758 2013-05-23 Glenn Morris <rgm@gnu.org>
9760 * progmodes/js.el: No need to load comint when compiling.
9761 (ring-insert, comint-send-string, comint-send-input)
9762 (comint-last-input-end, ido-chop): Declare.
9764 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9765 * vc/ediff-mult.el: Adjust requires.
9766 (ediff-directories-internal, ediff-directory-revisions-internal)
9767 (ediff-patch-file-internal): Declare.
9768 * vc/ediff-ptch.el: Adjust requires.
9769 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9770 (ediff-find-file): Autoload.
9771 * vc/ediff-util.el: No need to load ediff when compiling.
9772 (ediff-regions-internal): Declare.
9773 * vc/ediff-wind.el: Adjust requires.
9774 (ediff-compute-toolbar-width): Define when compiling.
9775 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9776 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9777 (dired-get-filename, dired-get-marked-files)
9778 (ediff-last-dir-patch, ediff-patch-default-directory)
9779 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9780 (ediff-patch-buffer-internal): Declare.
9782 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9783 (ispell-process, ispell-buffer-local-words, lm-summary)
9784 (lm-section-start, lm-section-end): Declare.
9785 (checkdoc-ispell-init): Simplify.
9787 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9788 (he-string-member, he-reset-string, he-substitute-string): Declare.
9790 * eshell/em-ls.el: Adjust requires.
9791 (eshell-glob-regexp): Declare.
9792 * eshell/em-tramp.el: Adjust requires.
9793 (eshell-parse-command): Autoload.
9794 * eshell/em-xtra.el: Adjust requires.
9795 (eshell-parse-command): Autoload.
9796 * eshell/esh-ext.el: Adjust requires.
9797 (eshell-parse-command, eshell-close-handles): Autoload.
9798 * eshell/esh-io.el: Adjust requires.
9799 (eshell-output-filter): Autoload.
9800 * eshell/esh-util.el: No need to load tramp when compiling.
9801 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9803 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9804 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9805 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9806 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9807 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9808 * eshell/esh-opt.el, eshell/esh-proc.el:
9809 * eshell/esh-var.el: Adjust requires.
9810 * eshell/eshell.el: Do not require esh-util twice.
9811 (eshell-add-input-to-history): Declare.
9812 (eshell-command): Check history module is active before using it.
9814 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9816 2013-05-22 Leo Liu <sdl.web@gmail.com>
9818 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9820 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9822 * autorevert.el (auto-revert-notify-add-watch)
9823 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9824 it indicates changes in file modification time.
9826 2013-05-22 Glenn Morris <rgm@gnu.org>
9828 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9829 Always delete the autoloaded function from the noruntime and
9830 unresolved functions lists.
9832 * allout.el: No need to load epa, epg, overlay when compiling.
9833 (epg-context-set-passphrase-callback, epg-list-keys)
9834 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9835 (epg-key-user-id-list): Declare.
9837 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9838 (viper-set-parsing-style-toggling-macro)
9839 (viper-set-emacs-state-searchstyle-macros):
9840 Use called-interactively-p on Emacs.
9841 (viper-looking-back): Make it an obsolete alias. Update callers.
9842 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9843 Use looking-back rather than viper-looking-back.
9844 (viper-tmp-insert-at-eob, viper-enlarge-region)
9845 (viper-read-string-with-history, viper-register-to-point)
9846 (viper-append-to-register, viper-change-state-to-vi)
9847 (viper-backward-char-carefully, viper-forward-char-carefully)
9848 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9849 (viper-change-state-to-emacs): Declare.
9850 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9851 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9852 * emulation/viper-mous.el: Do not load viper-cmd.
9853 (viper-backward-char-carefully, viper-forward-char-carefully)
9854 (viper-forward-word, viper-adjust-window): Declare.
9856 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9858 * progmodes/idlw-help.el (idlwave-help-fontify):
9859 Use called-interactively-p.
9861 * term/w32console.el (w32-get-console-codepage)
9862 (w32-get-console-output-codepage): Declare.
9864 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9865 Remove unnecessary declarations.
9866 (dframe-message): Doc fix.
9868 * info.el (dframe-select-attached-frame, dframe-current-frame):
9871 * speedbar.el (speedbar-message): Make it an obsolete alias.
9873 (speedbar-with-attached-buffer)
9874 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9875 (speedbar-with-writable): Use backquote.
9876 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9877 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9878 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9879 rather than speedbar- aliases.
9880 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9881 (speedbar-make-specialized-keymap, speedbar-insert-button)
9882 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9883 (speedbar-do-function-pointer): Declare.
9884 (rmail-speedbar-button, rmail-speedbar-find-file)
9885 (rmail-speedbar-move-message):
9886 Use dframe-with-attached-buffer rather than speedbar- alias.
9887 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9888 (dframe-message, speedbar-make-specialized-keymap)
9889 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9890 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9891 (speedbar-insert-button, dframe-select-attached-frame)
9892 (dframe-maybee-jump-to-attached-frame)
9893 (speedbar-change-initial-expansion-list)
9894 (speedbar-previously-used-expansion-list-name): Declare.
9895 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9896 Use dframe-message, dframe-with-attached-buffer rather than
9898 (gud-sentinel): Silence compiler.
9899 * progmodes/vhdl-mode.el (speedbar-refresh)
9900 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9901 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9902 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9903 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9904 (speedbar-file-lists, speedbar-make-tag-line)
9905 (speedbar-line-directory, speedbar-goto-this-file)
9906 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9907 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9908 (speedbar-make-button, speedbar-reset-scanners)
9909 (speedbar-files-item-info, speedbar-line-text)
9910 (speedbar-find-file-in-frame, speedbar-set-timer)
9911 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9912 (speedbar-with-writable): Do not (re)define it.
9913 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9914 rather than speedbar- alias.
9916 2013-05-21 Leo Liu <sdl.web@gmail.com>
9918 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9920 (octave-mode): Tweak fill-nobreak-predicate.
9921 (inferior-octave-startup): Check process to avoid infinite loop.
9922 (inferior-octave): Pop to buffer first to show abornmal process
9925 2013-05-21 Glenn Morris <rgm@gnu.org>
9927 * printing.el (pr-menu-bar): Define when compiling.
9929 2013-05-21 Leo Liu <sdl.web@gmail.com>
9931 * progmodes/octave.el (octave-auto-fill): Remove.
9932 (octave-indent-new-comment-line): Improve.
9933 (octave-mode): Use auto fill mode through
9934 comment-line-break-function and fill-nobreak-predicate.
9935 (octave-goto-function-definition): Support DEFUN_DLD.
9936 (octave-beginning-of-defun): Small tweak.
9937 (octave-help): Show parent directory.
9939 2013-05-21 Glenn Morris <rgm@gnu.org>
9941 * files.el (dired-unmark):
9942 * progmodes/gud.el (gdb-input): Update declarations.
9944 * calculator.el (electric, ehelp): No need to load when compiling.
9945 (Electric-command-loop, electric-describe-mode): Declare.
9947 * doc-view.el (doc-view-current-converter-processes): Move before use.
9949 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9950 Move MODE-set-explicitly definition before use.
9952 * international/mule-diag.el (mule-diag):
9953 Don't use obsolete window-system-version.
9955 * mail/feedmail.el (smtpmail): No need to load when compiling.
9956 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9958 * mail/mail-utils.el (rfc822): No need to load when compiling.
9959 (rfc822-addresses): Autoload it.
9960 (mail-strip-quoted-names): Trivial simplification.
9962 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9963 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9965 * net/snmp-mode.el (tempo): Don't duplicate requires.
9967 * progmodes/prolog.el (info): No need to load when compiling.
9968 (comint): Require before shell requires it.
9969 (Info-goto-node): Autoload it.
9970 (Info-follow-nearest-node): Declare.
9971 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9973 * textmodes/artist.el (picture-mode-exit): Declare.
9975 * textmodes/reftex-parse.el (reftex-parse-from-file):
9976 Trivial rewrite so the compiler can parse it better.
9978 2013-05-20 Leo Liu <sdl.web@gmail.com>
9980 * progmodes/octave.el (octave-help-mode-map)
9981 (octave-help-mode-finish-hook): New variables.
9982 (octave-help-mode, octave-help-mode-finish): New functions.
9983 (octave-help): Use octave-help-mode.
9985 2013-05-20 Glenn Morris <rgm@gnu.org>
9987 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9989 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9991 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9992 start at point, so that expansion starting right after opening
9993 slash in a regexp is recognized.
9994 (ruby-syntax-before-regexp-re): New defvar, extracted from
9995 ruby-syntax-propertize-function. Since the value of this regexp
9996 is looked up at runtime now, we should be able to turn
9997 `ruby-syntax-methods-before-regexp' into a defcustom later.
9998 (ruby-syntax-propertize-function): Split regexp matching into two
9999 parts, for opening and closing slashes. That allows us to skip
10000 over string interpolations and support multiline regexps.
10001 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10002 for them, which calls `ruby-syntax-propertize-expansion'.
10003 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10004 call to `ruby-syntax-propertize-function'.
10005 (ruby-syntax-propertize-expansion): Extracted from
10006 `ruby-syntax-propertize-expansions'. Handles one expansion.
10007 (ruby-syntax-propertize-percent-literal): Leave point right after
10008 the percent symbol, so that the expression expansion rule can
10009 propertize the contents.
10010 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10012 (ruby-syntax-propertize-expansions): Remove.
10014 2013-05-18 Juri Linkov <juri@jurta.org>
10016 * man.el (Man-default-man-entry): Remove `-' from the end
10017 of the default value. (Bug#14400)
10019 2013-05-18 Glenn Morris <rgm@gnu.org>
10021 * comint.el (comint-password-prompt-regexp):
10022 Allow "password for XXX" where XXX contains colons (eg https://...).
10024 2013-05-18 Leo Liu <sdl.web@gmail.com>
10026 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10027 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10028 (octave-source-directories): Don't check process.
10029 (octave-source-directories, octave-find-definition): Doc fix.
10031 2013-05-18 Glenn Morris <rgm@gnu.org>
10033 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10034 Remove backspace/delete bindings. (Bug#14392)
10036 * cus-dep.el (custom-make-dependencies): Sort the output.
10037 (custom-versions-load-alist): Convert comment to doc.
10039 2013-05-17 Leo Liu <sdl.web@gmail.com>
10041 * newcomment.el (comment-search-backward): Stricter in finding
10042 comment start. (Bug#14303)
10044 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10045 (octave-comment-start-skip): Properly anchored.
10047 2013-05-17 Leo Liu <sdl.web@gmail.com>
10049 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10050 Clean up when turned off. (Bug#14395)
10051 (smie--highlight-matching-block-overlay): No longer buffer-local.
10052 (smie-highlight-matching-block): Adjust.
10054 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10056 Doc string fix for "nanoseconds" (Bug#14406).
10057 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10058 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10060 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10062 * calc/calc-units.el (math-extract-units): Preserve powers
10065 2013-05-17 Leo Liu <sdl.web@gmail.com>
10067 * subr.el (delete-consecutive-dups): New function.
10068 * ido.el (ido-set-matches-1): Use it.
10069 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10070 * ido.el (ido-remove-consecutive-dups): Remove.
10072 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10074 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10075 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10076 regexp-opt's `words'.
10078 2013-05-16 Leo Liu <sdl.web@gmail.com>
10080 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10081 (smie--highlight-matching-block-overlay)
10082 (smie--highlight-matching-block-lastpos)
10083 (smie--highlight-matching-block-timer): New variables.
10084 (smie-highlight-matching-block): New function.
10085 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10086 (smie-setup): Conditionally enable smie-blink-matching-open.
10088 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10090 Sync with upstream verilog-mode r840.
10091 * progmodes/verilog-mode.el (verilog-mode-version)
10092 (verilog-mode-release-date): Update.
10093 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10094 (verilog-sig-tieoff): Fix string error on
10095 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10096 (verilog-read-decls): Fix parameters confusing
10097 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10099 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10101 * subr.el (reveal-filename): New function.
10103 * loadup.el: Compute Emacs executable versions on MS-Windows,
10104 where executables have the .exe extension. Add a hard link
10105 emacs-XX.YY.ZZ.exe on MS-Windows.
10107 * Makefile.in (XARGS_LIMIT): New variable.
10108 (custom-deps, finder-data, autoloads)
10109 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10110 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10111 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10112 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10114 2013-05-16 Leo Liu <sdl.web@gmail.com>
10116 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10117 (octave-mode-menu, octave-mode-map): Remove its uses.
10119 2013-05-16 Reto Zimmermann <reto@gnu.org>
10121 Sync with upstream vhdl mode v3.34.2.
10122 * progmodes/vhdl-mode.el: Use `push' throughout.
10123 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10124 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10125 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10126 (vhdl-actual-generic-name): New option to derive actual generic name.
10127 (vhdl-port-paste-signals): Replace formal by actual generics.
10128 (vhdl-beautify): New name for old group vhdl-align. Update users.
10129 (vhdl-beautify-options): New option.
10130 (vhdl-last-input-event): New compat alias. Use throughout.
10131 (vhdl-goto-line): Replace user level function `goto-line'.
10132 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10133 vhdl-fix-statement-buffer.
10134 (vhdl-create-mode-menu): Add some entries.
10135 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10136 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10137 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10138 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10139 to force statements on one line.
10140 (vhdl-remove-trailing-spaces-region):
10141 New, split from vhdl-remove-trailing-spaces.
10142 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10143 Respect vhdl-beautify-options.
10144 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10145 (vhdl-update-sensitivity-list): Not add with index if exists without.
10146 Not include array index with signal. Ignore keywords in comments.
10147 (vhdl-get-visible-signals): Regexp tweaks.
10148 (vhdl-template-component-inst): Handle empty library.
10149 (vhdl-template-type): Add template for 'enum' type.
10150 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10151 Use vhdl-replace-string.
10152 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10153 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10154 (vhdl-speedbar-initialize): Update for above name change.
10155 (vhdl-compose-wire-components): Fix in handling of constants.
10156 (vhdl-error-regexp-emacs-alist): New variable.
10157 (vhdl-error-regexp-add-emacs): New function;
10158 adds support for new compile.el (Emacs 22+)
10159 (vhdl-generate-makefile-1): Change target order for single lib. units.
10160 Allow use of absolute file names.
10162 2013-05-16 Leo Liu <sdl.web@gmail.com>
10164 * simple.el (prog-indent-sexp): Indent enclosing defun.
10166 2013-05-15 Glenn Morris <rgm@gnu.org>
10168 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10169 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10170 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10171 (whitespace-highlight): Move to whitespace group.
10173 * comint.el (comint-source):
10174 * pcmpl-linux.el (pcmpl-linux):
10175 * shell.el (shell-faces):
10176 * eshell/esh-opt.el (eshell-opt):
10177 * international/ccl.el (ccl): Remove empty custom groups.
10179 * completion.el (dynamic-completion-mode):
10180 * jit-lock.el (jit-lock-debug-mode):
10181 * minibuffer.el (completion-in-region-mode):
10182 * type-break.el (type-break-mode-line-message-mode)
10183 (type-break-query-mode):
10184 * emulation/tpu-edt.el (tpu-edt-mode):
10185 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10186 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10187 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10189 * term/xterm.el (xterm): Change parent group to terminals.
10191 * master.el (master): Remove empty custom group.
10192 (master-mode): Remove unused :group argument.
10193 * textmodes/refill.el (refill): Remove empty custom group.
10194 (refill-mode): Remove unused :group argument.
10196 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10198 * cus-dep.el: Provide a feature.
10199 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10200 Don't mistakenly ignore files whose basenames match a basename
10201 from preloaded-file-list (eg cedet/ede/simple.el).
10202 Add a fallback method for getting :group.
10204 2013-05-15 Juri Linkov <juri@jurta.org>
10206 * isearch.el (isearch-char-by-name): Rename from
10207 `isearch-insert-char-by-name'. Doc fix.
10208 (isearch-forward): Mention `isearch-char-by-name' in
10209 the docstring. (Bug#13348)
10211 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10212 `exit-minibuffer' instead of
10213 `isearch-nonincremental-exit-minibuffer'.
10214 (isearch-edit-string): Remove mention of
10215 `isearch-nonincremental-exit-minibuffer' from docstring.
10216 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10217 (isearch-forward-exit-minibuffer)
10218 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10220 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10222 * loadup.el: Just use unversioned DOC.
10224 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10225 literals as extending to EOB.
10226 (nxml-last-fontify-end): Remove unused variable.
10227 (nxml-after-change1): Use with-silent-modifications.
10228 (nxml-extend-after-change-region): Simplify.
10229 (nxml-extend-after-change-region1): Remove function.
10230 (nxml-after-change1): Don't adjust for dependent regions.
10231 (nxml-fontify-matcher): Simplify.
10232 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10233 (xmltok-add-dependent): Remove function.
10234 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10235 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10236 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10237 unclosed <[[, <?, comment, and other literals as extending to EOB.
10238 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10239 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10241 (rng-do-some-validation-1): Don't mark dependent regions.
10242 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10243 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10244 (nxml-clear-dependent-regions): Remove functions.
10245 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10246 (nxml-ensure-scan-up-to-date):
10247 Don't clear&mark dependent regions.
10249 2013-05-15 Leo Liu <sdl.web@gmail.com>
10251 * progmodes/octave.el (octave-goto-function-definition):
10252 Improve and fix callers.
10254 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10257 the setter (bug#14387).
10259 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10260 surrounding group (bug#14402).
10262 2013-05-14 Juri Linkov <juri@jurta.org>
10264 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10267 2013-05-14 Glenn Morris <rgm@gnu.org>
10269 * progmodes/f90.el (f90-imenu-generic-expression):
10270 Fix typo in 2013-05-08 change. (Bug#14402)
10272 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10274 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10275 Remove signals for which replies are never received.
10277 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10279 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10280 (gdb-handler-alist, gdb-handler-number): Remove variables.
10281 (gdb-handler-list): New variable.
10282 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10283 (gdb-pending-handler-p, gdb-handle-reply)
10284 (gdb-remove-all-pending-triggers): New functions.
10285 (gdb-discard-unordered-replies): New defcustom.
10286 (gdb-handler): New defstruct.
10287 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10288 instead of gdb-pending-triggers. Update docstring.
10289 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10290 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10291 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10292 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10293 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10294 (gdb-frame-handler): Pending triggers are now automatically managed.
10295 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10297 (gdb-input): Automatically handles pending triggers. Update docstring.
10298 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10299 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10301 (gdb-done-or-error): Now use gdb-handle-reply.
10303 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10305 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10308 2013-05-14 Glenn Morris <rgm@gnu.org>
10310 * subr.el (user-emacs-directory-warning): New option.
10311 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10313 2013-05-14 Leo Liu <sdl.web@gmail.com>
10315 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10317 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10318 (octave-font-lock-texinfo-comment): Fix invalid search bound
10319 error: wrong side of point.
10321 2013-05-14 Glenn Morris <rgm@gnu.org>
10323 * progmodes/flymake.el (flymake-xml-program): New option.
10324 (flymake-xml-init): Use it.
10326 * term/xterm.el: Provide a feature.
10328 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10330 2013-05-13 Glenn Morris <rgm@gnu.org>
10332 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10333 Add compat aliases as a hack workaround. (Bug#14384)
10335 2013-05-13 Leo Liu <sdl.web@gmail.com>
10337 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10339 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10341 (octave-comment-start-skip): Include %!.
10342 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10344 2013-05-12 Leo Liu <sdl.web@gmail.com>
10346 * progmodes/octave.el (inferior-octave-startup): Store the value
10347 of __octave_srcdir__ for octave-source-directories.
10348 (inferior-octave-check-process): New function refactored out of
10349 inferior-octave-send-list-and-digest.
10350 (octave-source-directories)
10351 (octave-find-definition-filename-function): New variables.
10352 (octave-source-directories)
10353 (octave-find-definition-default-filename): New functions.
10354 (octave-find-definition): Improve to find functions implemented in C++.
10356 2013-05-12 Glenn Morris <rgm@gnu.org>
10358 * calendar/diary-lib.el (diary-outlook-format-1):
10359 Don't include dayname in the output. (Bug#14349)
10361 2013-05-11 Glenn Morris <rgm@gnu.org>
10363 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10365 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10366 Treat cc-provide like provide.
10368 2013-05-11 Kevin Ryde <user42@zip.com.au>
10370 * cus-dep.el (custom-make-dependencies):
10371 Use generated-autoload-load-name for the sake of files such
10372 such cedet/semantic/bovine/c.el, where the base file name
10373 is not in load-path. (Bug#5277)
10375 2013-05-11 Glenn Morris <rgm@gnu.org>
10377 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10380 2013-05-11 Leo Liu <sdl.web@gmail.com>
10382 * progmodes/octave.el (octave-indent-comment): Improve.
10383 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10384 (octave-eldoc-function-signatures, octave-eldoc-function):
10386 (octave-mode, inferior-octave-mode): Add eldoc support.
10388 2013-05-11 Richard Stallman <rms@gnu.org>
10390 * epa.el (epa-decrypt-file): Take output file name as argument
10391 and read it using `interactive'.
10393 2013-05-11 Leo Liu <sdl.web@gmail.com>
10395 * progmodes/octave.el (octave-beginning-of-line)
10396 (octave-end-of-line): Check before using up-list because it jumps
10397 out of more syntactic contructs since moving to smie.
10398 (octave-indent-comment): New function.
10399 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10400 (octave-begin-keywords, octave-end-keywords)
10401 (octave-reserved-words, octave-smie-bnf-table)
10402 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10404 2013-05-11 Glenn Morris <rgm@gnu.org>
10406 * faces.el (internal-face-x-get-resource):
10407 * frame.el (ns-display-monitor-attributes-list):
10408 * calc/calc-aent.el (math-to-radians-2):
10409 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10412 * calc/calc-menu.el: Make it loadable in isolation.
10414 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10415 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10416 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10417 (eudc-bbdb-query-internal): Require 'bbdb.
10419 * lpr.el (lpr-headers-switches):
10420 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10422 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10424 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10426 * term.el (term-set-escape-char): Make it idempotent.
10428 2013-05-10 Leo Liu <sdl.web@gmail.com>
10430 * progmodes/octave.el (inferior-octave-completion-table):
10431 No longer a function and all uses changed. Use cache to speed up
10432 completion due to bug#11906.
10433 (octave-beginning-of-defun): Re-write to be more general.
10435 2013-05-10 Glenn Morris <rgm@gnu.org>
10437 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10439 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10441 * comint.el (comint-redirect-send-command-to-process): Use :around
10442 rather than :override for comint-redirect-filter.
10443 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10444 Call it instead of comint-redirect-original-filter-function (which
10445 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10447 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10449 * frame.el (display-monitor-attributes-list): Add NS case.
10450 (ns-display-monitor-attributes-list): Declare.
10452 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10454 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10456 2013-05-09 Glenn Morris <rgm@gnu.org>
10458 * international/fontset.el (vertical-centering-font-regexp):
10459 Set standard-value.
10461 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10463 * bookmark.el (bookmark-search-delay):
10464 * cus-start.el (vertical-centering-font-regexp):
10465 * ps-mule.el (ps-mule-font-info-database-default):
10466 * ps-print.el (ps-default-fg, ps-default-bg):
10467 * type-break.el (type-break-good-break-interval):
10468 * whitespace.el (whitespace-indentation-regexp)
10469 (whitespace-space-after-tab-regexp):
10470 * emacs-lisp/testcover.el (testcover-1value-functions)
10471 (testcover-noreturn-functions, testcover-progn-functions)
10472 (testcover-prog1-functions):
10473 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10474 * eshell/em-glob.el (eshell-glob-translate-alist):
10475 * play/tetris.el (tetris-tty-colors):
10476 * progmodes/cpp.el (cpp-face-default-list):
10477 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10478 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10479 (idlwave-help-browser-generic-args):
10480 * progmodes/make-mode.el (makefile-special-targets-list):
10481 * progmodes/python.el (python-shell-virtualenv-path):
10482 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10483 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10484 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10485 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10486 * textmodes/reftex-vars.el (reftex-format-label-function):
10487 * textmodes/remember.el (remember-diary-file): Fix custom types.
10489 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10492 2013-05-09 Leo Liu <sdl.web@gmail.com>
10494 * progmodes/octave.el (inferior-octave-completion-at-point):
10495 Restore file completion. (Bug#14300)
10496 (inferior-octave-startup): Fix incorrect highlighting for the
10499 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10501 * progmodes/ruby-mode.el: First cut at SMIE support.
10502 (ruby-use-smie): New var.
10503 (ruby-smie-grammar): New constant.
10504 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10505 (ruby-smie--forward-token, ruby-smie--backward-token)
10506 (ruby-smie-rules): New functions.
10507 (ruby-mode-variables): Setup SMIE if applicable.
10509 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10511 * simple.el (line-move-visual): Signal beginning/end of buffer
10512 only if vertical-motion moved less than it was requested. Avoids
10513 silly incorrect error messages when there are display strings with
10514 multiple newlines at EOL.
10516 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10519 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10520 (prolog-char-quote-workaround):
10521 * progmodes/cperl-mode.el (cperl-under-as-char):
10522 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10524 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10526 (vhdl-mode-syntax-table-init): Remove.
10528 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10531 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10533 (ld-script-font-lock-keywords):
10534 Change regexps to use things like \_< and \_>.
10536 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10537 Change all regexps to use things like \_< and \_>.
10539 * progmodes/autoconf.el (autoconf-definition-regexp)
10540 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10541 Handle a _ with symbol syntax.
10542 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10544 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10545 Consolidate declaration.
10546 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10548 (ada-create-syntax-table): Remove.
10549 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10550 already has the right syntax nowadays.
10551 (ada-goto-next-word): Don't change the syntax of "_".
10553 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10556 2013-05-08 Sam Steingold <sds@gnu.org>
10558 * thingatpt.el (thing-at-point): Accept optional second argument
10559 NO-PROPERTIES to strip the text properties from the return value.
10560 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10561 to `thing-at-point' instead of stripping the properties ourselves.
10562 Also, when `thing-at-point' fails to find a url, prepend "http://"
10563 to the filename at point on the assumption that the user is
10564 pointing at something like gnu.org/gnu.
10566 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10568 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10569 * faces.el (crm-separator):
10570 Silence byte-compiler.
10572 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10573 (tool-bar-map): Remove unneeded defvars.
10575 2013-05-08 Leo Liu <sdl.web@gmail.com>
10577 Re-work a fix for bug#10994 based on Le Wang's patch.
10578 * ido.el (ido-remove-consecutive-dups): New helper.
10579 (ido-completing-read): Use it.
10580 (ido-chop): Revert fix for bug#10994.
10582 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10584 * cus-edit.el (custom-save-variables):
10585 Pretty-print long values. (Bug#14187)
10587 2013-05-08 Glenn Morris <rgm@gnu.org>
10589 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10590 (m4-mode-syntax-table): Init in the defvar.
10591 (m4-mode-abbrev-table): Let define-derived-mode define it.
10593 2013-05-08 Tom Tromey <tromey@redhat.com>
10595 * progmodes/m4-mode.el (m4-mode-syntax-table):
10596 Do not treat "_" as word constituent. (Bug#14167)
10598 2013-05-07 Glenn Morris <rgm@gnu.org>
10600 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10601 Remove explicit eshell-isearch-cancel-map.
10603 * progmodes/f90.el (f90-smart-end-names): New option.
10604 (f90-smart-end): Doc fix.
10605 (f90-end-block-optional-name): New constant.
10606 (f90-block-match): Respect f90-smart-end-names.
10608 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10611 about implicit semi-colons (bug#14218).
10613 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10615 * frame.el (display-monitor-attributes-list)
10616 (frame-monitor-attributes): New functions.
10618 2013-05-06 Leo Liu <sdl.web@gmail.com>
10620 * progmodes/octave.el (octave-syntax-propertize-function): Change
10621 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10622 (octave-font-lock-keywords): Use octave-operator-regexp.
10623 (octave-completion-at-point): Rename from
10624 octave-completion-at-point-function.
10625 (inferior-octave-directory-tracker): Robustify.
10626 (octave-text-functions): Remove and fix its uses. No such things
10629 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10631 * emacs-lisp/trace.el (trace--display-buffer): New function.
10632 (trace-make-advice): Use it.
10634 2013-05-06 Juri Linkov <juri@jurta.org>
10636 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10637 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10639 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10640 in the help string. (Bug#12985)
10642 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10644 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10646 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * progmodes/perl-mode.el: Add support for here documents.
10649 (perl-syntax-propertize-function): Match here-doc markers.
10650 (perl-syntax-propertize-special-constructs): Find their end.
10651 (perl-imenu-generic-expression): Use [:alnum:].
10653 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10654 (advice--add-function): Refresh the advice if already present
10657 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10659 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10661 2013-05-06 Glenn Morris <rgm@gnu.org>
10663 * w32-fns.el (w32-charset-info-alist): Declare.
10665 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10666 of its defcustom properties.
10667 (eshell-cmpl-initialize): No need to load pcomplete.
10669 * generic-x.el: No need to require comint when compiling.
10671 * net/eudc-export.el: Make it loadable without bbdb.
10672 (top-level): Use require rather than load-library.
10673 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10674 (eudc-batch-export-records-to-bbdb)
10675 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10678 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10681 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10682 some tweaks, instead.
10684 2013-05-05 Leo Liu <sdl.web@gmail.com>
10686 * progmodes/octave.el (octave-font-lock-keywords)
10687 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10688 (inferior-octave-send-list-and-digest): Improve error message.
10689 (octave-mode, inferior-octave-mode): Use setq-local.
10690 (octave-help): Set info-lookup-mode.
10692 2013-05-05 Richard Stallman <rms@gnu.org>
10694 * vc/compare-w.el (compare-windows-whitespace):
10695 Treat no-break space as whitespace.
10697 * mail/rmailsum.el (rmail-summary-rmail-update):
10698 Detect empty summary and don't change selected message.
10699 (rmail-summary-goto-msg): Likewise.
10701 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10702 Doc fixes, rename args.
10704 2013-05-05 Alan Mackenzie <acm@muc.de>
10706 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10708 2013-05-05 Juri Linkov <juri@jurta.org>
10710 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10711 to not add the length of the summary segment to the return value.
10714 2013-05-05 Leo Liu <sdl.web@gmail.com>
10716 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10717 (inferior-octave-output-filter): Remove.
10718 (octave-send-region, inferior-octave-startup): Fix callers.
10719 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10720 (octave-binary-file-extensions): New user variable.
10721 (octave-find-definition): Confirm if opening binary files.
10722 (octave-help-file): Use octave-find-definition to get the binary
10724 (octave-help): Adjust for octave-help-file change.
10726 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10728 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10729 Merge the two entries that handle function definitions.
10730 (pascal--syntax-propertize): New const.
10731 (pascal-mode): Use it. Use setq-local.
10733 2013-05-04 Glenn Morris <rgm@gnu.org>
10735 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10736 (diary-from-outlook): Respect diary-from-outlook-function.
10738 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10740 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10741 Move the declaration from C.
10742 (read-minibuffer, eval-minibuffer): Move from C.
10743 (completion-setup-function): Avoid minibuffer-completion-contents.
10745 2013-05-03 Leo Liu <sdl.web@gmail.com>
10747 * progmodes/octave.el (octave-font-lock-keywords): Do not
10748 dehighlight 'end' in comments or strings.
10749 (octave-completing-read, octave-goto-function-definition):
10751 (octave-help-buffer): New user variable.
10752 (octave-help-file, octave-help-function): New button types.
10753 (octave-help): New command and bind it to C-h ;.
10754 (octave-find-definition): New command and bind it to M-.
10755 (user-error): Alias to error if not defined.
10757 2013-05-02 Leo Liu <sdl.web@gmail.com>
10759 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10761 (octave-font-lock-keywords): Include [ and {.
10763 2013-05-02 Leo Liu <sdl.web@gmail.com>
10765 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10766 (inferior-octave): Remove calling comint-mode and return the buffer.
10767 (inferior-octave-startup): Cosmetic changes.
10769 2013-05-02 Leo Liu <sdl.web@gmail.com>
10771 * progmodes/octave.el (octave-syntax-propertize-function):
10772 Include the case when ' is at line beginning. (Bug#14336)
10774 2013-05-02 Glenn Morris <rgm@gnu.org>
10776 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10777 * desktop.el (vc-dir-mode): Just autoload it here.
10779 2013-05-02 Alan Mackenzie <acm@muc.de>
10781 Eliminate variable c-standard-font-lock-fontify-region-function.
10782 * progmodes/cc-mode.el
10783 (c-standard-font-lock-fontify-region-function): Remove.
10784 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10786 2013-05-01 Leo Liu <sdl.web@gmail.com>
10788 * progmodes/octave.el: Compatible with older emacs-24 releases.
10789 (inferior-octave-has-built-in-variables): Remove. Built-in
10790 variables were removed from Octave in 2007.
10791 (inferior-octave-startup): Fix uses.
10792 (comint-line-beginning-position): Remove compatibility code for
10795 2013-05-01 Juri Linkov <juri@jurta.org>
10797 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10799 2013-05-01 Juri Linkov <juri@jurta.org>
10801 * comint.el (comint-previous-matching-input): Don't print message
10802 "History item: %d" when `isearch-mode' is active.
10803 (comint-history-isearch-message): Print message "History item: %d"
10804 when `comint-input-ring-index' is not empty and this function is
10805 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10807 2013-05-01 Leo Liu <sdl.web@gmail.com>
10809 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10810 definitions. Use completion-at-point to insert keywords.
10811 (octave-abbrev-start): Remove.
10812 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10814 2013-04-30 Leo Liu <sdl.web@gmail.com>
10816 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10819 2013-04-30 Alan Mackenzie <acm@muc.de>
10821 Handle arbitrarily long C++ member initialisation lists.
10822 * progmodes/cc-engine.el (c-back-over-member-initializers):
10824 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10825 (most) member init lists.
10827 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10829 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10832 2013-04-30 Leo Liu <sdl.web@gmail.com>
10834 * progmodes/octave.el (octave-variables): Remove. No builtin
10835 variables any more. All converted to functions.
10836 (octave-font-lock-keywords, octave-completion-at-point-function):
10838 (octave-font-lock-texinfo-comment): New user variable.
10839 (octave-texinfo-font-lock-keywords): New variable for texinfo
10841 (octave-function-comment-block): New face.
10842 (octave-font-lock-texinfo-comment): New function.
10843 (octave-mode): Font lock texinfo comment block.
10845 2013-04-29 Leo Liu <sdl.web@gmail.com>
10847 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10848 indexing expression.
10849 (octave-continuation-string): Do not use \.
10850 (inferior-octave-complete-impossible): Remove.
10851 (inferior-octave-completion-table)
10852 (inferior-octave-completion-at-point): Remove its uses.
10853 (inferior-octave-startup): completion_matches was introduced to
10854 Octave in 1996 so safe to assume it.
10855 (octave-function-file-comment): Improve to follow how Octave does it.
10856 (octave-update-function-file-comment): Tweak.
10858 2013-04-29 Leo Liu <sdl.web@gmail.com>
10860 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10861 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10862 (octave-function-file-comment): Fix typo.
10863 (octave-sync-function-file-names): Use read-char-choice.
10865 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10867 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10868 to t for the less important warnings.
10870 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10872 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10874 2013-04-27 Glenn Morris <rgm@gnu.org>
10876 * vc/log-view.el (log-view-current-entry):
10877 Treat "---" separator lines as part of the following rev. (Bug#14169)
10879 2013-04-27 Juri Linkov <juri@jurta.org>
10881 * subr.el (read-number): Doc fix about using it by interactive
10882 code letter `n'. (Bug#14254)
10884 2013-04-27 Juri Linkov <juri@jurta.org>
10886 * desktop.el (desktop-auto-save-timeout): New option.
10887 (desktop-file-checksum): New variable.
10888 (desktop-save): Add optional arg `auto-save' and don't auto-save
10889 if nothing changed.
10890 (desktop-auto-save-timer): New variable.
10891 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10892 (after-init-hook): Call `desktop-auto-save-set-timer'.
10893 Suggested by Reuben Thomas <rrt@sc3d.org> in
10894 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10896 2013-04-27 Leo Liu <sdl.web@gmail.com>
10898 * progmodes/octave.el (octave-function-file-p)
10899 (octave-skip-comment-forward, octave-function-file-comment)
10900 (octave-update-function-file-comment): New functions.
10901 (octave-mode-map): Bind C-c ; to
10902 octave-update-function-file-comment.
10903 (octave-mode-menu): Add octave-update-function-file-comment.
10904 (octave-mode, inferior-octave-mode): Fix doc-string.
10905 (octave-insert-defun): Conform to Octave's coding convention.
10908 * files.el (basic-save-buffer): Don't let errors in
10909 before-save-hook prevent saving buffer.
10911 2013-04-20 Roland Winkler <winkler@gnu.org>
10913 * faces.el (read-face-name): Use completing-read if arg multiple
10916 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10918 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10919 displayed, move point to after the totals line.
10920 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10923 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10925 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10926 Add current dir to the load-path.
10927 (package-generate-autoloads): Don't rely on
10928 autoload-ensure-default-file.
10930 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10932 * textmodes/remember.el (remember-store-in-files): Document that
10933 the file name format is passed to `format-time-string'.
10935 2013-04-26 Leo Liu <sdl.web@gmail.com>
10937 * progmodes/octave.el (octave-sync-function-file-names): New function.
10938 (octave-mode): Use it in before-save-hook.
10940 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10945 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10946 \n and comment, even if it's not an implicit ; (bug#14218).
10948 2013-04-26 Glenn Morris <rgm@gnu.org>
10950 * subr.el (read-number): Once more use `read' rather than
10951 `string-to-number', to trap non-numeric input. (Bug#14254)
10953 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10955 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10956 Use `syntax-multiline' text property consistently instead of
10957 `font-lock-multiline'. (Bug#14237)
10959 2013-04-26 Glenn Morris <rgm@gnu.org>
10961 * emacs-lisp/shadow.el (list-load-path-shadows):
10962 No longer necessary to check for duplicate simple.el, since
10963 2012-07-07 change to init_lread to not include installation lisp
10964 directories in load-path when running uninstalled. (Bug#14270)
10966 2013-04-26 Leo Liu <sdl.web@gmail.com>
10968 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10969 (octave-mode, inferior-octave-mode): Use setq-local.
10970 (octave-not-in-string-or-comment-p): Rename to
10971 octave-in-string-or-comment-p.
10972 (octave-in-comment-p, octave-in-string-p)
10973 (octave-in-string-or-comment-p): Replace defsubst with defun.
10975 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10977 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10979 2013-04-25 Bastien Guerry <bzg@gnu.org>
10981 * textmodes/remember.el (remember-data-directory)
10982 (remember-directory-file-name-format): Fix custom types.
10984 2013-04-25 Leo Liu <sdl.web@gmail.com>
10986 * progmodes/octave.el (octave-completion-at-point-function):
10987 Make use of inferior octave process.
10988 (octave-initialize-completions): Remove.
10989 (inferior-octave-completion-table): New function.
10990 (inferior-octave-completion-at-point): Use it.
10991 (octave-completion-alist): Remove.
10993 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10995 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10996 (opascal-mode-syntax-table): New var.
10997 (opascal-literal-kind, opascal-is-literal-end)
10998 (opascal-literal-token-at): Rewrite.
10999 (opascal--literal-start-re, opascal-font-lock-keywords)
11000 (opascal--syntax-propertize): New constants.
11001 (opascal-font-lock-defaults): Adjust.
11002 (opascal-mode): Use them. Set comment-<foo> variables as well.
11003 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11004 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11005 (delphi-other-face, opascal-other-face): Remove face variables.
11006 (opascal-save-state): Remove macro.
11007 (opascal-fontifying-progress-step): Remove constant.
11008 (opascal--ignore-changes): Remove var.
11009 (opascal-set-token-property, opascal-parse-next-literal)
11010 (opascal-is-stable-literal, opascal-complete-literal)
11011 (opascal-is-literal-start, opascal-face-of)
11012 (opascal-parse-region, opascal-parse-region-until-stable)
11013 (opascal-fontify-region, opascal-after-change)
11014 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11015 (opascal-debug-parse-region, opascal-debug-parse-window)
11016 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11017 (opascal-debug-fontify-buffer): Remove.
11018 (opascal-debug-mode-map): Adjust accordingly.
11020 2013-04-25 Leo Liu <sdl.web@gmail.com>
11022 Merge octave-mod.el and octave-inf.el into octave.el with some
11024 * progmodes/octave.el: New file renamed from octave-mod.el.
11025 * progmodes/octave-inf.el: Merged into octave.el.
11026 * progmodes/octave-mod.el: Renamed to octave.el.
11028 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11030 * textmodes/reftex-vars.el
11031 (reftex-label-ignored-macros-and-environments): New defcustom.
11033 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11035 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11037 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11038 (smie-indent-keyword): Improve the check to ensure that the next
11039 comment is really on the same line.
11040 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11042 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11043 semi-colons if the line is not otherwise empty (bug#14218).
11045 2013-04-25 Glenn Morris <rgm@gnu.org>
11047 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11049 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11051 * progmodes/opascal.el (opascal-set-token-property): Rename from
11052 opascal-set-text-properties and only set `token' (bug#14134).
11053 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11054 (opascal-literal-text-properties): Remove.
11055 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11058 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11060 * textmodes/remember.el (remember-handler-functions): Add an
11061 option for a new handler `remember-store-in-files'.
11062 (remember-data-directory, remember-directory-file-name-format):
11064 (remember-store-in-files): New function to store remember notes
11065 as separate files within a directory.
11067 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11069 * progmodes/compile.el (compilation-next-error-function):
11070 Pass "formats" to compilation-find-file (bug#11777).
11072 2013-04-24 Glenn Morris <rgm@gnu.org>
11074 * vc/vc-bzr.el (vc-bzr-print-log):
11075 * vc/vc-hg.el (vc-hg-print-log):
11076 * vc/vc-svn.el (vc-svn-print-log):
11077 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11079 * vc/vc-bzr.el (vc-bzr-print-log):
11080 * vc/vc-cvs.el (vc-cvs-print-log):
11081 * vc/vc-git.el (vc-git-print-log):
11082 * vc/vc-hg.el (vc-hg-print-log):
11083 * vc/vc-mtn.el (vc-mtn-print-log):
11084 * vc/vc-rcs.el (vc-rcs-print-log):
11085 * vc/vc-sccs.el (vc-sccs-print-log):
11086 * vc/vc-svn.el (vc-svn-print-log):
11087 * vc/vc.el (vc-print-log-internal): Doc fixes.
11089 2013-04-23 Glenn Morris <rgm@gnu.org>
11091 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11092 Remove venerable code attempting to avoid substitute-command-keys.
11094 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11096 * textmodes/reftex-vars.el (reftex-label-regexps):
11097 Call `reftex-compile-variables' after changes to this variable.
11099 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11101 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11102 Use lexical-binding.
11103 (jit-lock-force-redisplay): Use markers, check buffer's continued
11104 existence and beware narrowed buffers.
11105 (jit-lock-fontify-now): Adjust call accordingly.
11107 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11109 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11110 to avoid misleading the user.
11112 2013-04-22 Leo Liu <sdl.web@gmail.com>
11114 * info-look.el: Prefer latex2e.info. (Bug#14240)
11116 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11118 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11120 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11121 * net/tramp.el (tramp-call-process): ... here.
11122 (tramp-set-completion-function, tramp-parse-putty):
11123 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11124 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11125 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11126 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11127 (tramp-call-local-coding-command): Use `tramp-call-process'
11128 instead of `tramp-compat-call-process'.
11130 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11131 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11132 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11133 (tramp-find-inline-compress): Improve traces.
11134 (tramp-maybe-send-script): Check for Perl binary.
11135 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11137 2013-04-22 Daiki Ueno <ueno@gnu.org>
11139 * epg.el (epg-context-pinentry-mode): New function.
11140 (epg-context-set-pinentry-mode): New function.
11141 (epg--start): Pass --pinentry-mode option to gpg command.
11143 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11145 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11146 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11147 `completion-at-point'. (Bug#13774)
11149 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11150 default key binding for `describe-distribution' has been moved to
11151 `C-h C-o'. (Bug#13970)
11153 2013-04-21 Glenn Morris <rgm@gnu.org>
11155 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11157 (vc-print-log): Clarify interactive prompt.
11159 2013-04-20 Glenn Morris <rgm@gnu.org>
11161 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11162 No longer include timestamp etc information.
11164 2013-04-20 Roland Winkler <winkler@gnu.org>
11166 * faces.el (read-face-name): Bug fix, return just one face if arg
11167 multiple is nil. (Bug#14209)
11169 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11171 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11172 (remove-function): Autoload.
11174 * comint.el (comint-redirect-original-filter-function): Remove.
11175 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11176 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11177 (vc-cvs-annotate-command):
11178 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11179 * progmodes/prolog.el (prolog-consult-compile):
11180 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11181 Use add/remove-function instead.
11182 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11183 (gud-tooltip-process-output, gud-tooltip-tips):
11184 Use add/remove-function instead.
11185 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11186 (scheme-interaction-mode, exit-scheme-interaction-mode):
11187 Use add/remove-function instead.
11189 * vc/vc-dispatcher.el: Use lexical-binding.
11190 (vc--process-sentinel): Rename from vc-process-sentinel.
11191 Change last arg to be the code to run. Don't use vc-previous-sentinel
11192 and vc-sentinel-commands any more.
11193 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11194 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11196 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11198 * progmodes/sh-script.el (sh-imenu-generic-expression):
11199 Handle function names with a single character. (Bug#14111)
11201 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11203 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11204 for subroutines defined in an eval (bug#14182).
11206 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11208 * bookmark.el (bookmark-completing-read): Improve handling of empty
11209 string (bug#14176).
11211 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11213 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11215 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11217 New faster Imenu implementation (bug#14058).
11218 * progmodes/python.el:
11219 (python-imenu-prev-index-position):
11220 (python-imenu-format-item-label-function)
11221 (python-imenu-format-parent-item-label-function)
11222 (python-imenu-format-parent-item-jump-label-function):
11224 (python-imenu-format-item-label)
11225 (python-imenu-format-parent-item-label)
11226 (python-imenu-format-parent-item-jump-label)
11227 (python-imenu--put-parent, python-imenu--build-tree)
11228 (python-imenu-create-index, python-imenu-create-flat-index)
11229 (python-util-popn): New functions.
11230 (python-mode): Set imenu-create-index-function to
11231 python-imenu-create-index.
11233 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11235 * winner.el (winner-active-region): Use region-active-p, activate-mark
11236 and deactivate-mark (bug#14225).
11238 * simple.el (deactivate-mark): Don't inline it.
11240 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11242 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11244 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11246 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11247 file extensions from the archive-mode entry in order to prefer
11248 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11250 2013-04-18 Leo Liu <sdl.web@gmail.com>
11252 * bindings.el (help-event-list): Add ?\?.
11254 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * subr.el (with-wrapper-hook): Declare obsolete.
11257 * simple.el (filter-buffer-substring-function): New hook.
11258 (filter-buffer-substring): Use it.
11259 (filter-buffer-substring-functions): Mark obsolete.
11260 * minibuffer.el (completion-in-region-function): New hook.
11261 (completion-in-region): Use it.
11262 (completion-in-region-functions): Mark obsolete.
11263 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11264 * abbrev.el (abbrev-expand-function): New hook.
11265 (expand-abbrev): Use it.
11266 (abbrev-expand-functions): Mark obsolete.
11267 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11268 and :filter-return.
11270 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11272 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11273 and do not care about match data.
11275 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11277 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11278 completion tables when completing error conditions and
11279 `declare' arguments.
11280 (lisp-complete-symbol, field-complete): Mark as obsolete.
11281 (check-parens): Unmatched parens are user errors.
11282 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11284 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11286 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11287 command changed buffer (ie. `flyspell-pre-buffer' is not current
11288 buffer), which prevents making decisions based on invalid value of
11289 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11290 cause an error when `flyspell-pre-point' was nil after switching
11292 (flyspell-post-command-hook): No longer needs to change buffers when
11293 checking pre-word. While at it remove unnecessary progn.
11295 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11297 * textmodes/ispell.el (ispell-add-per-file-word-list):
11298 Fix `flyspell-correct-word-before-point' error when accepting
11299 words and `coment-padding' is an integer by using
11300 `comment-normalize-vars' (Bug #14214).
11302 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11304 New defun movement commands.
11305 * progmodes/python.el (python-nav--syntactically)
11306 (python-nav--forward-defun, python-nav-backward-defun)
11307 (python-nav-forward-defun): New functions.
11309 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11311 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11312 (python-syntax-context): Use named compiler-macro for backwards
11313 compatibility with Emacs 24.x.
11315 2013-04-17 Leo Liu <sdl.web@gmail.com>
11317 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11318 octave-hide-process-buffer.
11320 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11322 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11325 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11327 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11328 Fix adjustment of offset when receiving incomplete responses from GDB
11331 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11333 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11334 python-mode-abbrev-table.
11335 (python-skeleton-define): Adjust accordingly.
11336 (python-mode-abbrev-table): New table that inherits from it so that
11337 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11339 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11340 (abbrev-symbol): Use it.
11341 (abbrev--before-point): Use it since we already handle inheritance.
11343 2013-04-16 Leo Liu <sdl.web@gmail.com>
11345 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11346 binding to info-lookup-symbol.
11348 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11350 * minibuffer.el (completion--twq-all):
11351 * term/ns-win.el (ns-initialize-window-system):
11352 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11354 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11356 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11359 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11361 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11363 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11364 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11366 (ruby-end-of-defun): Remove the unused arg, change the docstring
11367 to reflect that this function is only used as the value of
11368 `end-of-defun-function'.
11369 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11370 to reflect an earlier change that beginning/end-of-defun functions
11371 jump between methods in a class definition, as well as top-level
11374 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11376 * minibuffer.el (minibuffer-complete): Don't just scroll
11377 a *Completions* that's been iconified.
11378 (minibuffer-force-complete): Make sure repetitions do cycle when going
11379 through completion-in-region -> minibuffer-complete.
11381 2013-04-15 Alan Mackenzie <acm@muc.de>
11383 Correct the placement of c-cpp-delimiters when there're #s not at
11386 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11387 place a submatch around the #.
11388 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11389 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11392 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11394 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11395 (advice--member-p): New arg `name'.
11396 (advice--add-function, advice-member-p): Use it (bug#14202).
11398 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11400 Reformulate java imenu-generic-expression.
11401 The old expression contained ill formed regexps.
11403 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11404 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11405 (cc-imenu-java-method-arg-regexp): New defconsts.
11406 (cc-imenu-java-build-type-args-regex): New defun.
11407 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11408 handling of spaces in the regexp.
11410 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11412 * textmodes/ispell.el (ispell-command-loop): Remove
11413 flyspell highlight of a word when ispell accepts it (bug #14178).
11415 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11417 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11418 uses code from the previous `ange-ftp-run-real-handler'.
11419 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11420 only in case that function exist. This is needed for proper
11421 unloading of Tramp.
11423 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11425 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11427 * textmodes/reftex.el (reftex-compile-variables): Use it.
11429 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11431 * files.el (normal-mode): Only use default major-mode if no other mode
11434 * emacs-lisp/trace.el (trace-values): New function.
11436 * files.el: Allow : in local variables (bug#14089).
11437 (hack-local-variable-regexp): New var.
11438 (hack-local-variables-prop-line, hack-local-variables): Use it.
11440 2013-04-13 Roland Winkler <winkler@gnu.org>
11442 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11443 data before it gets modified by bibtex-beginning-of-entry.
11445 2013-04-13 Roland Winkler <winkler@gnu.org>
11447 * textmodes/bibtex.el (bibtex-url): Doc fix.
11449 2013-04-13 Roland Winkler <winkler@gnu.org>
11451 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11452 does not visit a BibTeX file, exclude it from the list of buffers
11453 returned by bibtex-initialize.
11455 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11457 * window.el (split-window): Remove interactive form, since as a
11458 command this function is a special case of split-window-below.
11459 Correct doc string.
11461 2013-04-12 Roland Winkler <winkler@gnu.org>
11463 * faces.el (read-face-name): Do not override value of arg default.
11464 Allow single faces and strings as default values. Remove those
11465 elements from return value that are not faces.
11466 (describe-face): Simplify.
11467 (face-at-point): New optional args thing and multiple so that this
11468 function can provide the same functionality previously provided by
11470 (make-face-bold, make-face-unbold, make-face-italic)
11471 (make-face-unitalic, make-face-bold-italic, invert-face)
11472 (modify-face, read-face-and-attribute): Use face-at-point.
11474 * cus-edit.el (customize-face, customize-face-other-window)
11475 * cus-theme.el (custom-theme-add-face)
11476 * face-remap.el (buffer-face-set)
11477 * facemenu.el (facemenu-set-face): Use face-at-point.
11479 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11481 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11483 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11485 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11486 off leading { and trailing } from field values.
11488 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11490 * emacs-lisp/timer.el (timer--check): New function.
11491 (timer--time, timer-set-function, timer-event-handler): Use it.
11492 (timer-set-idle-time): Simplify.
11493 (timer--activate): CSE.
11494 (timer-event-handler): Give more info in error message.
11495 (internal-timer-start-idle): New function, moved from C.
11497 * mpc.el (mpc-proc): Add `restart' argument.
11498 (mpc-proc-cmd): Use it.
11499 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11500 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11503 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11505 * progmodes/sh-script.el: Implement `sh-mode' own
11506 `add-log-current-defun-function' (bug#14112).
11507 (sh-current-defun-name): New function.
11508 (sh-mode): Use the function.
11510 2013-04-09 Bastien Guerry <bzg@gnu.org>
11512 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11514 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11518 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11521 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11523 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11526 2013-04-07 Leo Liu <sdl.web@gmail.com>
11528 * pcmpl-x.el: New file.
11530 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11532 Do not set x-display-name until X connection is established.
11533 This is needed to prevent from weird situation described at
11534 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11535 * frame.el (make-frame): Set x-display-name after call to
11536 window system initialization function, not before.
11537 * term/x-win.el (x-initialize-window-system): Add optional
11538 display argument and use it.
11539 * term/w32-win.el (w32-initialize-window-system):
11540 * term/ns-win.el (ns-initialize-window-system):
11541 * term/pc-win.el (msdos-initialize-window-system):
11542 Add compatible optional display argument.
11544 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11546 * files.el (normal-backup-enable-predicate): On MS-Windows and
11547 MS-DOS compare truenames of temporary-file-directory and of the
11548 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11549 don't fail comparison by compare-strings. Also, compare file
11550 names case-insensitively on MS-Windows and MS-DOS.
11552 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11555 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11557 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11559 * whitespace.el (whitespace-color-on, whitespace-color-off):
11560 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11562 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11564 * ispell.el (ispell-set-spellchecker-params):
11565 Really set `ispell-args' for all equivs.
11567 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11569 * ido.el (ido-completions): Use extra elements of ido-decorations
11571 (ido-decorations): Update docstring.
11573 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11575 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11576 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11577 nil during initialization, in order not to miss changes since the
11578 file was opened. (Bug#14140)
11580 2013-04-05 Leo Liu <sdl.web@gmail.com>
11582 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11584 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11586 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11588 2013-04-04 Glenn Morris <rgm@gnu.org>
11590 * electric.el (electric-pair-inhibit-predicate): Add :version.
11592 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11594 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11595 when a package is required several times (bug#14082).
11597 2013-04-04 Roland Winkler <winkler@gnu.org>
11599 * faces.el (read-face-name): Behave as promised by the docstring.
11600 Assume that arg default is a list of faces.
11601 (describe-face): Call read-face-name with list of default faces.
11603 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11605 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11606 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11607 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11609 (bookmark-exit-hook-internal): Save even if list is empty.
11611 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11613 * emacs-lisp/package.el (package-pinned-packages): New var.
11614 (package--add-to-archive-contents): Obey it (bug#14118).
11616 2013-04-03 Alan Mackenzie <acm@muc.de>
11618 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11619 Also adapt to the new values of element 7 of a parse state.
11621 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11622 parameter `not-in-delimiter'. Handle being inside comment opener.
11623 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11624 character in case we're typing a '*' after a '/'.
11625 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11626 instead by passing the parameter to c-state-pp-to-literal.
11628 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11629 for elt. 7 of a parse state.
11631 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11633 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11634 * international/latin1-disp.el, international/mule-util.el:
11635 * language/cyril-util.el, language/european.el, language/ind-util.el:
11636 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11637 * language/tibetan.el, language/viet-util.el:
11638 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11640 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11642 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11643 (electric-pair-post-self-insert-function): Use it.
11644 (electric-pair-default-inhibit): New function, extracted from
11645 electric-pair-post-self-insert-function.
11647 2013-03-31 Roland Winkler <winkler@gnu.org>
11649 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11651 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11653 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11655 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11657 Un-indent after "pass" and "return" statements (Bug#13888)
11658 * progmodes/python.el (python-indent-block-enders): New var.
11659 (python-indent-calculate-indentation): Use it.
11661 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11663 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11664 defun. Defining it as defalias could introduce too eager
11665 byte-compiler optimization. (Bug#14030)
11667 2013-03-30 Chong Yidong <cyd@gnu.org>
11669 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11671 2013-03-30 Leo Liu <sdl.web@gmail.com>
11673 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11674 (kmacro-execute-from-register): Pass the keyboard macro to
11675 kmacro-call-macro or repeating won't work correctly.
11677 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11679 * progmodes/subword.el: Back to using `forward-symbol'.
11681 * subr.el (forward-whitespace, forward-symbol)
11682 (forward-same-syntax): Move from thingatpt.el.
11684 2013-03-29 Leo Liu <sdl.web@gmail.com>
11686 * kmacro.el (kmacro-to-register): New command.
11687 (kmacro-execute-from-register): New function.
11688 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11690 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11692 * mpc.el: Use defvar-local and setq-local.
11693 (mpc--proc-connect): Connection failures are not bugs.
11694 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11695 (mpc-volume-map): Bind to the up-events.
11697 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11699 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11700 instead of `forward-symbol'.
11702 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11704 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11705 (edebug--recursive-edit): Use it.
11706 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11707 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11709 2013-03-28 Leo Liu <sdl.web@gmail.com>
11711 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11713 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11715 * facemenu.el (list-colors-callback): New defvar.
11716 (list-colors-redisplay): New function.
11717 (list-colors-display): Install list-colors-redisplay as the
11718 revert-buffer-function. (Bug#14063)
11720 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11722 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11723 and suffixes don't overlap (bug#14061).
11725 * case-table.el: Use lexical-binding.
11726 (case-table-get-table): New function.
11727 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11729 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11731 * progmodes/subword.el: Add `superword-mode' to do word motion
11732 over symbol_words (parallels and leverages `subword-mode' which
11733 does word motion inside MixedCaseWords).
11735 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11737 * eshell/em-unix.el: Move su and sudo to...
11738 * eshell/em-tramp.el: ...Eshell tramp module.
11740 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11742 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11743 Change return value to be a sexp. Delay `get-buffer' to after
11744 restoring the desktop (bug#13951).
11746 2013-03-26 Leo Liu <sdl.web@gmail.com>
11748 * register.el: Move semantic tag handling back to
11749 cedet/semantic/senator.el. (Bug#14052)
11751 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11753 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11754 into the prompt either (bug#13963).
11756 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11758 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11759 part of "(error-foo)".
11761 2013-03-24 Juri Linkov <juri@jurta.org>
11763 * replace.el (list-matching-lines-prefix-face): New defcustom.
11764 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11765 `occur-engine' if `face-differs-from-default-p' returns t.
11766 (occur-engine): Add `,' inside backquote construct to evaluate
11767 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11768 Pass `prefix-face' to the functions `occur-context-lines' and
11769 `occur-engine-add-prefix'.
11770 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11771 `prefix-face' and propertize the prefix with `prefix-face'.
11774 2013-03-24 Leo Liu <sdl.web@gmail.com>
11776 * nxml/rng-valid.el (rng-validate-while-idle)
11777 (rng-validate-quick-while-idle): Guard against deleted buffer.
11780 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11781 is the last entry in kill-buffer-hook.
11783 * files.el (kill-buffer-hook): Doc fix.
11785 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11787 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11788 Make it safe-local.
11790 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11792 2013-03-23 Leo Liu <sdl.web@gmail.com>
11794 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11797 * nxml/rng-valid.el (rng-validate-mode)
11798 (rng-after-change-function, rng-do-some-validation):
11799 * nxml/rng-maint.el (rng-validate-buffer):
11800 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11801 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11802 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11803 (nxml-extend-after-change-region): Use with-silent-modifications.
11805 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11808 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11809 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11810 timer-idle-list. (Bug#13999)
11812 2013-03-23 Juri Linkov <juri@jurta.org>
11814 * info.el (info-index-match): New face.
11815 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11816 main pattern and add text properties with the new face to matches
11817 in index entries relative to the beginning of the index entry.
11820 2013-03-21 Eric Ludlam <zappo@gnu.org>
11822 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11823 Inhibit read only while inserting objects.
11825 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11827 * progmodes/cfengine.el: Update docs to mention
11828 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11829 symbol motion. Remove "_" from the word syntax.
11831 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11833 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11834 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11836 2013-03-20 Juri Linkov <juri@jurta.org>
11838 * info.el (Info-next-reference-or-link)
11839 (Info-prev-reference-or-link): New functions.
11840 (Info-next-reference, Info-prev-reference): Use them.
11841 (Info-try-follow-nearest-node): Handle footnote navigation.
11842 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11844 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11847 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11849 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11851 Suppress unnecessary non-ASCII chatter during build process.
11852 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11853 (batch-skkdic-convert): Suppress most of the chatter.
11854 It's not needed so much now that machines are faster,
11855 and its non-ASCII component was confusing; see Dmitry Gutov in
11856 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11858 2013-03-20 Leo Liu <sdl.web@gmail.com>
11860 * ido.el (ido-chop): Fix bug#10994.
11862 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11864 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11866 (whitespace-color-on, whitespace-color-off):
11867 Use `font-lock-fontify-buffer' (Bug#13817).
11869 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11871 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11872 remapping in mode-line.
11873 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11875 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11877 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11878 value for `whitespace-line' face (Bug#13875).
11879 (whitespace-font-lock-keywords): Change description.
11880 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11881 the constructed keywords instead.
11882 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11884 2013-03-19 Leo Liu <sdl.web@gmail.com>
11886 * progmodes/compile.el (compilation-display-error): New command.
11887 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11890 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11892 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11894 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11896 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11898 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11900 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11902 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11903 * net/tramp-gvfs.el (top):
11904 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11905 (tramp-handle-shell-command): Use it.
11906 (tramp-dissect-file-name): Raise an error when hostname is a
11907 method name, and neither method nor user is specified.
11909 * net/trampver.el: Update release number.
11911 2013-03-18 Leo Liu <sdl.web@gmail.com>
11913 Make sure eldoc can be turned off properly.
11914 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11916 (eldoc-display-message-p): Revert last change.
11917 (eldoc-display-message-no-interference-p)
11918 (eldoc-print-current-symbol-info): Tweak.
11920 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11922 * doc-view.el (doc-view-new-window-function): Check the new window
11923 overlay's display property instead the char property of the
11924 buffer's first char. Use `with-selected-window' instead of
11925 `save-window-excursion' with `select-window'.
11926 (doc-view-document->bitmap): Check the current doc-view overlay's
11927 display property instead the char property of the buffer's first char.
11929 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11931 Automate the build of ja-dic.el (Bug#13984).
11932 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11933 from the input, rather than assume that it's been done for us by the
11934 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11935 the current date into a ja-dic.el comment, as that complicates
11936 regression testing.
11938 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11940 * whitespace.el: Fix double evaluation.
11941 (whitespace-space, whitespace-hspace, whitespace-tab)
11942 (whitespace-newline, whitespace-trailing, whitespace-line)
11943 (whitespace-space-before-tab, whitespace-indentation)
11944 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11946 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11947 (whitespace-color-on): Use a single font-lock-add-keywords call.
11948 Fix double-evaluation of face variables.
11950 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11952 * net/tramp-adb.el (tramp-adb-parse-device-names):
11953 Use `start-process' instead of `call-process'. Otherwise, the
11954 function might be blocked under MS Windows. (Bug#13299)
11956 2013-03-17 Leo Liu <sdl.web@gmail.com>
11958 Extend eldoc to display info in the mode-line. (Bug#13978)
11959 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11960 (eldoc-mode-line-string): New variable.
11961 (eldoc-minibuffer-message): New function.
11962 (eldoc-message-function): New variable.
11963 (eldoc-message): Use it.
11964 (eldoc-display-message-p)
11965 (eldoc-display-message-no-interference-p):
11966 Support eldoc-post-insert-mode.
11968 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11969 (eval-expression): Run it.
11971 2013-03-17 Roland Winkler <winkler@gnu.org>
11973 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11974 strings in the list of return values.
11976 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11978 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11979 radix before checking for HMS forms.
11981 2013-03-16 Leo Liu <sdl.web@gmail.com>
11983 * progmodes/scheme.el: Add indentation and font-locking for λ.
11986 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11988 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11989 token before point (bug#13942).
11991 2013-03-16 Leo Liu <sdl.web@gmail.com>
11993 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11995 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11997 * startup.el (command-line-normalize-file-name): Fix handling of
11998 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11999 <xfq.free@gmail.com> in
12000 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12002 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12004 Sync with Tramp 2.2.7.
12006 * net/trampver.el: Update release number.
12008 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12010 * doc-view.el: Fix bug#13887.
12011 (doc-view-insert-image): Don't modify overlay associated to
12012 non-live windows, and implement horizontal centering of image in
12013 case it's smaller than the window.
12014 (doc-view-new-window-function): Force redisplay of new windows on
12017 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12019 * saveplace.el (save-place-alist-to-file): Don't sort
12020 `save-place-alist', just pretty-print it (bug#13882).
12022 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12024 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12025 Check whether `default-file-name-coding-system' is bound.
12026 It isn't in XEmacs.
12028 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12030 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12031 backquotes for `obsolete' (bug#13929).
12033 * international/mule.el (find-auto-coding): Include file name in
12034 obsolescence warning (bug#13922).
12036 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12038 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12039 for CFEngine 3-specific indentation.
12040 (cfengine3-indent-line): Use it. Fix up category regex.
12041 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12043 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12045 * type-break.el (type-break-file-name):
12046 * textmodes/remember.el (remember-data-file):
12047 * strokes.el (strokes-file):
12048 * shadowfile.el (shadow-initialize):
12049 * saveplace.el (save-place-file):
12050 * ps-bdf.el (bdf-cache-file):
12051 * progmodes/idlwave.el (idlwave-config-directory):
12052 * net/quickurl.el (quickurl-url-file):
12053 * international/kkc.el (kkc-init-file-name):
12054 * ido.el (ido-save-directory-list-file):
12055 * emulation/viper.el (viper-custom-file-name):
12056 * emulation/vip.el (vip-startup-file):
12057 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12058 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12060 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12062 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12063 * language/thai-word.el: Switch to UTF-8.
12065 See ChangeLog.16 for earlier changes.
12067 ;; Local Variables:
12071 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12073 This file is part of GNU Emacs.
12075 GNU Emacs is free software: you can redistribute it and/or modify
12076 it under the terms of the GNU General Public License as published by
12077 the Free Software Foundation, either version 3 of the License, or
12078 (at your option) any later version.
12080 GNU Emacs is distributed in the hope that it will be useful,
12081 but WITHOUT ANY WARRANTY; without even the implied warranty of
12082 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12083 GNU General Public License for more details.
12085 You should have received a copy of the GNU General Public License
12086 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.