eww: support disabled and readonly text
[emacs.git] / lisp / ChangeLog
blob0f6f824471d313ab523876e5e630a9b030803c08
1 2013-12-21  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3         * net/eww.el (eww-list-histories, eww-list-histories)
4         (eww-history-browse, eww-history-quit, eww-history-kill)
5         (eww-history-mode-map, eww-history-mode): New command and
6         functions to list browser histories.
7         (eww-form-text): Support text form with disabled
8         and readonly attributes.
10 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
15         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
16         Use `user-error'.
17         (eww-bookmark-mode-map): Add menu.
18         (eww-render, eww-mode): Use `setq-local'.
19         (eww-tool-bar-map): New variable.
20         (eww-mode): Set `tool-bar-map'.
21         (eww-view-source): Check for `html-mode' with `fboundp'.
23 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
25         * net/shr.el (shr--extract-best-source): Don't bug out on audio
26         elements with text inside.  Also remove debugging.
28 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
30         * cus-start.el (all): Add ns-use-srgb-colorspace.
32 2013-12-21  Chong Yidong  <cyd@gnu.org>
34         * custom.el (custom-theme-recalc-face): Do nothing if the face is
35         undefined.  Thus, theme settings for undefined faces do not take
36         effect until the faces are defined with defface, the same as with
37         theme variables.
39         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
40         (face-spec-reset-face): Don't assign extra properties in temacs.
41         (face-spec-recalc): Apply X resources too.
43 2013-12-21  Chong Yidong  <cyd@gnu.org>
45         * faces.el (face-spec-set):
46         * cus-face.el (custom-theme-set-faces, custom-set-faces):
47         * custom.el (defface): Doc fixes (Bug#16203).
49         * indent.el (indent-rigidly-map): Add docstring, and move commands
50         into named functions.
51         (indent-rigidly-left, indent-rigidly-right)
52         (indent-rigidly-left-to-tab-stop)
53         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
54         indentation direction based on bidi direction, and accumulate
55         sequential commands in a single undo boundary.
56         (indent-rigidly--pop-undo): New utility function.
58 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
60         * faces.el (read-face-name): Require crm.el when using crm-separator.
62 2013-12-20  Daniel Colascione  <dancol@dancol.org>
64         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
65         so that we don't reflow comments into the shebang line.
67 2013-12-20  Juri Linkov  <juri@jurta.org>
69         * saveplace.el (save-place-to-alist): Add `dired-filename' as
70         a position when `dired-directory' is non-nil.  Check integer
71         positions with `integerp'.
72         (toggle-save-place, save-places-to-alist): Add check for
73         `dired-directory'.
74         (save-place-find-file-hook): Check integer positions with
75         `integerp'.
76         (save-place-dired-hook): Use `dired-goto-file' when
77         `dired-filename' is found in the assoc list.  Check integer
78         positions with `integerp'.
79         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
81         * dired.el (dired-initial-position-hook): Rename back from
82         `dired-initial-point-hook'.
83         (dired-initial-position): Rename `dired-initial-point-hook' to
84         `dired-initial-position-hook'.
85         (dired-file-name-at-point): Doc fix.  (Bug#15329)
87 2013-12-20  Juri Linkov  <juri@jurta.org>
89         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
90         (read-regexp-suggestions): New function.
91         (read-regexp): Use `read-regexp-defaults-function' to get default values.
92         Use `read-regexp-suggestions'.  Add non-empty default to history
93         for empty input.
94         (occur-read-regexp-defaults-function): Remove function.
95         (occur-read-primary-args): Use `regexp-history-last' instead of
96         `occur-read-regexp-defaults-function'.
98         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
99         (hi-lock-line-face-buffer, hi-lock-face-buffer)
100         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
101         `hi-lock-read-regexp-defaults-function'.  Doc fix.
102         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
103         with `find-tag-default-as-symbol-regexp'.  Doc fix.
104         (hi-lock-read-regexp-defaults): Remove function.
105         (hi-lock-regexp-okay): Add check for null.
107         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
108         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
110         * subr.el (find-tag-default-as-symbol-regexp): New function.
111         (find-tag-default-as-regexp): Move symbol regexp formatting to
112         `find-tag-default-as-symbol-regexp'.
114 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
116         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
117         (Bug#14179)
119 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
121         * calendar/todo-mode.el: New implementation of item insertion
122         commands and key bindings.
123         (todo-key-prompt): New face.
124         (todo-insert-item): New command.
125         (todo-insert-item--parameters): New defconst, replacing defvar
126         todo-insertion-commands-args-genlist.
127         (todo-insert-item--param-key-alist): New defconst, replacing
128         defvar todo-insertion-commands-arg-key-list.
129         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
130         (todo-insert-item--argsleft, todo-insert-item--apply-args)
131         (todo-insert-item--next-param): New functions.
132         (todo-insert-item--args, todo-insert-item--argleft)
133         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
134         New variables.
135         (todo-key-bindings-t): Change binding of "i" from
136         todo-insertion-map to todo-insert-item.
137         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
138         (todo-insertion-command-name, todo-insertion-commands-names)
139         (todo-define-insertion-command, todo-insertion-commands)
140         (todo-insertion-key-bindings, todo-insertion-map): Remove.
142 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
144         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
145         (todo-toggle-item-highlighting): Use eval-and-compile instead of
146         eval-when-compile.
147         (todo-move-category): Allow choosing a non-existing todo file to
148         move the category to, and create that file.
149         (todo-default-priority): New user option.
150         (todo-set-item-priority): Use it.
151         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
152         (desktop-restore-file-buffer): Declare.
153         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
154         (todo-modes-set-2): Locally set desktop-save-buffer to
155         todo-desktop-save-buffer.
156         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
157         (auto-mode-alist): Add autoload cookie.
159 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
161         * emacs-lisp/subr-x.el: Renamed from helpers.el.
162         helpers.el was a poor choice of name.
163         (string-remove-prefix): New function.
164         (string-remove-suffix): New function.
166 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
168         Fix assignment for new window total sizes.
169         * window.el (window--pixel-to-size): Remove function.
170         (window--pixel-to-total-1, window--pixel-to-total):
171         Fix calculation of new total sizes.
173 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
175         * comint.el (comint-output-filter): Fix rear-nonsticky property
176         placement (Bug#16010).
178 2013-12-20  Chong Yidong  <cyd@gnu.org>
180         * faces.el (read-color): Minor fix for completion function.
182 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
184         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
185         New option.  (Bug#16182)
186         (ruby-smie--indent-to-stmt-p): Use it.
187         (ruby-smie-rules): Revert the logic in the handling of `when'.
188         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
189         (ruby-deep-arglist, ruby-deep-indent-paren)
190         (ruby-deep-indent-paren-style): Update docstrings to note that the
191         vars don't have any effect with SMIE.
193 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
195         * calc/calc.el (calc-enter, calc-pop): Use the variable
196         `calc-context-sensitive-enter'.
198 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
200         * net/shr.el (shr-insert): Protect against infloops in degenerate
201         tables.
203 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
205         * progmodes/octave.el (octave): Add link to manual and octave
206         homepage.
207         (octave-mode-menu): Link to octave-mode manual.
209 2013-12-20  Leo Liu  <sdl.web@gmail.com>
211         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
212         insertion using skeleton-end-newline.  (Bug#16138)
214 2013-12-20  Juri Linkov  <juri@jurta.org>
216         * replace.el (occur-engine): Use `add-face-text-property'
217         to add the face property to matches and titles.  (Bug#14645)
219         * hi-lock.el (hi-green): Use lighter color "light green" closer to
220         the palette of other hi-lock colors.
221         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
223 2013-12-19  Juri Linkov  <juri@jurta.org>
225         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
226         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
227         (minibuffer-history-symbol): Move variable declaration closer to
228         its usage.
230         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
231         (Bug#14785)
233 2013-12-19  Juri Linkov  <juri@jurta.org>
235         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
236         New function.
237         (log-edit-hook): Add it to :options.  (Bug#16170)
239 2013-12-19  Juri Linkov  <juri@jurta.org>
241         * simple.el (eval-expression-print-format): Don't check for
242         command names and the last command.  Always display additional
243         formats of the integer result in the echo area, and insert them
244         to the current buffer only with a zero prefix arg.
245         Display character when char-displayable-p is non-nil.
246         (eval-expression): With a zero prefix arg, set `print-length' and
247         `print-level' to nil, and insert the integer values from
248         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
250         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
251         `eval-last-sexp-arg-internal'.  Doc fix.
252         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
253         `eval-last-sexp-print-value'.  Doc fix.
254         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
255         Set `print-length' and `print-level' to nil when arg is zero.
256         (eval-last-sexp): Doc fix.
257         (eval-defun-2): Print the integer values from
258         `eval-expression-print-format' at the end.
260         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
261         values from `eval-expression-print-format' at the end.
263         * ielm.el (ielm-eval-input): Print the integer
264         values from `eval-expression-print-format' at the end.
266 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
268         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
269         2013-12-11T19:01:44Z!tzz@lifelogs.com.
271 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
273         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
274         (hl-line-highlight, global-hl-line-highlight): Use it.
275         (hl-line-overlay): Use defvar-local.
277 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
279         * term/ns-win.el: Require dnd.
280         (global-map): Remove drag items.
281         (ns-insert-text, ns-set-foreground-at-mouse)
282         (ns-set-background-at-mouse):
283         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
284         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
285         New functions.
287 2013-12-19  Glenn Morris  <rgm@gnu.org>
289         * emacs-lisp/ert.el (ert-select-tests):
290         Fix string/symbol mixup.  (Bug#16121)
292 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
294         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
295         keywords to their parent.
297 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
299         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
300         first arg to be a string (fixed dead code), or an operator symbol.
301         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
302         operator symbols.
303         (ruby-smie-rules): Remove parent token check in the `.' clause, it
304         did nothing.  Don't respond to `(:after ".")', it will be called
305         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
306         change anything.  Only return indentation for binary operators
307         when they are hanging.  De-dent opening paren when its parent is
308         `.', otherwise it looks bad when the dot is not at bol or eol
309         (bug#16182).
311 2013-12-19  Juri Linkov  <juri@jurta.org>
313         * replace.el (query-replace-read-args): Split a non-negative arg
314         and a negative arg into separate elements.
315         (query-replace, query-replace-regexp, replace-string)
316         (replace-regexp): Add arg `backward'.  Doc fix.
317         (replace-match-maybe-edit): When new arg `backward' is non-nil,
318         move point to the beginning of the match.
319         (replace-search, replace-highlight): Use new arg `backward'
320         to set the value of `isearch-forward'.
321         (perform-replace): Add arg `backward' and use it to perform
322         replacement backward.  (Bug#14979)
324         * isearch.el (isearch-query-replace): Use a negative prefix arg
325         to call `perform-replace' with a non-nil arg `backward'.
327 2013-12-18  Juri Linkov  <juri@jurta.org>
329         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
330         to the default list.  Move `log-edit-show-files' to the end.
331         Add more available functions to options.
332         (log-edit): Move default specific settings to
333         `log-edit-insert-message-template'.  Don't move point.
334         (log-edit-insert-message-template): New function.
335         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
336         (Bug#16170)
338 2013-12-18  Juri Linkov  <juri@jurta.org>
340         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
341         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
343 2013-12-18  Leo Liu  <sdl.web@gmail.com>
345         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
347 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
349         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
350         formats for displaying file sizes when the -s switch is given.
351         Instead, compute a separate format for displaying the size in
352         blocks, which is displayed in addition to the "regular" size.
353         When -h is given in addition to -s, produce size in blocks in
354         human-readable form as well.  (Bug#16179)
356 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
358         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
359         Reference tables with ~\ref{...} instead of only \ref{...}.
361 2013-12-18  Chong Yidong  <cyd@gnu.org>
363         * cus-edit.el (custom-magic-alist): Fix "themed" description
364         (Bug#14348).
366         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
367         is non-nil, do not create a new entry in the symbol's theme-value
368         or theme-face property; update theme-settings only (Bug#14664).
369         (custom-available-themes): Doc fix.
371         * cus-theme.el (custom-new-theme-mode-map): Add bindings
372         (Bug#15674).
374         * replace.el (occur-engine): Avoid infloop (Bug#7593).
376 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
378         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
379         (Bug#13914).
381 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
383         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
385 2013-12-18  Glenn Morris  <rgm@gnu.org>
387         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
388         * cus-start.el (load-prefer-newer): New option.
390 2013-12-18  Le Wang  <l26wang@gmail.com>
392         * comint.el (comint-previous-matching-input-from-input):
393         Retain point (Bug#13404).
395 2013-12-18  Chong Yidong  <cyd@gnu.org>
397         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
399 2013-12-18  Glenn Morris  <rgm@gnu.org>
401         * mail/emacsbug.el (report-emacs-bug):
402         Only mention enable-multibyte-characters if non-standard.
404 2013-12-17  Juri Linkov  <juri@jurta.org>
406         * arc-mode.el (archive-extract-by-file): Check if directory exists
407         before deletion to not show irrelevant errors if it doesn't exist.
409 2013-12-17  Juri Linkov  <juri@jurta.org>
411         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
412         (Bug#14751)
414         * net/eww.el (browse-web): Add alias to `eww'.
415         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
416         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
418         * net/browse-url.el (browse-url-browser-function): Move `eww'
419         closer to similar functions.
421         * startup.el (fancy-startup-screen, fancy-about-screen):
422         Set browse-url-browser-function to eww-browse-url locally.
423         (Bug#14751)
425 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
427         * window.el (window--pixel-to-total): Remove unused `mini' var.
428         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
429         (split-window): Remove unused `new' var.
430         (window--display-buffer): Remove unused `frame' and `delta' vars.
431         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
432         and display-width'.
434 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
436         * dired.el (dired-mark-pop-up):
437         * register.el (register-preview): Don't bind
438         split-height-threshold here since it's now done in
439         display-buffer-below-selected.
441 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
443         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
444         xterm-rgb-convert-to-16bit.
445         (rxvt-register-default-colors): Standardize with
446         xterm-register-default-colors (Bug#14078).
448 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
450         * simple.el (kill-region): Pass mark first, then point, so that
451         kill-append works right (Bug#12819).
452         (copy-region-as-kill, kill-ring-save): Likewise.
454 2013-12-17  Leo Liu  <sdl.web@gmail.com>
456         * net/rcirc.el (rcirc-add-face):
457         * eshell/em-prompt.el (eshell-emit-prompt):
458         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
459         (Bug#16167)
461 2013-12-17  Chong Yidong  <cyd@gnu.org>
463         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
464         Suggested by Xue Fuqiao.
466 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
468         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
470 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
472         * net/shr.el (shr-insert-document): Remove unused var
473         `shr-preliminary-table-render'.
474         (shr-rescale-image): Remove unused arg `force'.
475         (shr-put-image): Update calls accordingly.
476         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
478 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
480         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
481         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
482         :close-all, to see which indentation method to use (Bug#16116).
483         (smie-rules-function): Document the method :close-all.
485 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
487         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
489         * net/eww.el (eww-display-html): If we can't find the anchor we're
490         looking for, then go to point-min.
492 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
494         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
495         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
496         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
497         Expand dir too, in case it's relative.
499 2013-12-16  Juri Linkov  <juri@jurta.org>
501         * desktop.el (desktop-auto-save-timeout): Change default to
502         `auto-save-timeout'.  Doc fix.
503         (desktop-save): Skip the timestamp in desktop-saved-frameset
504         when checking for auto-save changes.
505         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
506         `desktop-auto-save' is called repeatedly by the idle timer.
507         (desktop-auto-save-set-timer): Replace `run-with-timer' with
508         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
509         (Bug#15331)
511 2013-12-16  Juri Linkov  <juri@jurta.org>
513         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
514         (Bug#16035)
515         (isearch-pre-command-hook): Check `this-command' for symbolp.
517 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
519         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
521 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
523         * progmodes/cfengine.el (cfengine3--current-word): Remove.
524         (cfengine3--current-function): Bring in the current-function
525         functionality from `cfengine3--current-word'.
526         (cfengine3-completion-function): Bring in the
527         bounds-of-current-word functionality from
528         `cfengine3--current-word'.
530 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
532         * window.el (display-buffer-below-selected):
533         Bind split-height-threshold to 0 as suggested by Juri Linkov.
535 2013-12-16  Leo Liu  <sdl.web@gmail.com>
537         * progmodes/compile.el (compile-goto-error): Do not push-mark.
538         Remove NOMSG arg and all uses changed.
540 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
542         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
543         (cua--deactivate-rectangle): Don't deactivate the mark.
544         (cua-set-rectangle-mark): Don't set mark-active since
545         cua--activate-rectangle already does it for us.
546         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
547         non-rectangular region.
549         * emulation/cua-base.el (cua-repeat-replace-region):
550         Use with-current-buffer.
552         * net/gnutls.el: Use cl-lib.
553         (gnutls-negotiate): `mapcan' -> cl-mapcan.
555 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
557         * emacs-lisp/package.el (package-built-in-p): Support both
558         built-in and the package.el converted package descriptions.
559         (package-show-package-list): Allow keywords.
560         (package-keyword-button-action): Use it instead of
561         `finder-list-matches'.
562         (package-menu-filter-interactive): Interactive filtering (by
563         keyword) function.
564         (package-menu--generate): Support keywords and change keymappings
565         and headers when they are given.
566         (package--has-keyword-p): Helper function.
567         (package-menu--refresh): Use it.
568         (package--mapc): Helper function.
569         (package-all-keywords): Use it.
570         (package-menu-mode-map): Set up menu items and keybindings to
571         provide a filtering UI.
573 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
575         * net/gnutls.el (gnutls-verify-error): New defcustom to control
576         the behavior when a certificate fails validation.  Defaults to
577         old behavior: never abort, just warn.
578         (gnutls-negotiate): Use it.
580 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
582         * window.el (display-buffer-below-selected): Never split window
583         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
585 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
587         * emacs-lisp/package.el (package--prepare-dependencies): New function.
588         (package-buffer-info): Use it (bug#15108).
590         * icomplete.el (icomplete-completions): Make sure the prefix is already
591         displayed elsewhere before hiding it.
593 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
595         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
596         open-paren tokens when preceded by a open-paren, too.
597         (ruby-smie-rules): Handle virtual indentation after open-paren
598         tokens specially.  If there is code between it and eol, return the
599         column where is starts (Bug#16118).
601 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
603         * progmodes/cfengine.el: Fix `add-hook' doc.
604         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
605         (cfengine3--current-word): Fix parameters.
606         (cfengine3-make-syntax-cache): Simplify further.
607         (cfengine3-completion-function, cfengine3--current-function):
608         Use `assq' for symbols.
609         (cfengine3--current-function): Fix `cfengine3--current-word' call.
611 2013-12-13  Glenn Morris  <rgm@gnu.org>
613         * loadup.el (load-path): Warn if site-load or site-init changes it.
614         No more need to reset it when bootstrapping.
616 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
618         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
619         locations for cf-promises.
620         (cfengine-mode-syntax-functions-regex): New caching variable.
621         (cfengine3-fallback-syntax): Fallback syntax for cases where
622         cf-promises doesn't run.
623         (cfengine3--current-word): Reimplement using
624         `cfengine-mode-syntax-functions-regex'.
625         (cfengine3-completion-function, cfengine3--current-function):
626         Use `cfengine3-make-syntax-cache' directly.
627         (cfengine3-clear-syntax-cache): New function.
628         (cfengine3-make-syntax-cache): Simplify and create
629         `cfengine-mode-syntax-functions-regex' on demand.
630         (cfengine3-format-function-docstring): Don't call
631         `cfengine3-make-syntax-cache' explicitly.
633 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
635         Fix windmove-find-other-window broken after pixelwise resizing
636         (Bug#16017).
637         * windmove.el (windmove-other-window-loc): Revert change from
638         2013-12-04.
639         (windmove-find-other-window): Call window-in-direction.
640         * window.el (window-in-direction): New arguments SIGN, WRAP and
641         MINI to emulate original windmove-find-other-window behavior.
643 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
645         * simple.el (blink-matching--overlay): New variable.
646         (blink-matching-open): Instead of moving point, highlight the
647         matching paren with an overlay
648         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
650         * faces.el (paren-showing-faces, show-paren-match)
651         (show-paren-mismatch): Move from paren.el.
653 2013-12-13  Leo Liu  <sdl.web@gmail.com>
655         * indent.el (indent-region): Disable progress reporter in
656         minibuffer.  (Bug#16108)
658         * bindings.el (visual-order-cursor-movement): Fix version.
660 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
662         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
663         Also match after beginning of line.
664         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
665         files.  Thanks to Russell Sim. (Bug#15378)
667 2013-12-13  Juri Linkov  <juri@jurta.org>
669         * simple.el <Keypad support>: Remove key bindings duplicated
670         with bindings.el.  (Bug#14397)
672 2013-12-13  Juri Linkov  <juri@jurta.org>
674         * comint.el (comint-mode-map): Replace `delete-char' with
675         `delete-forward-char'.  (Bug#16109)
677 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
679         * progmodes/python.el (python-indent-calculate-indentation):
680         Fix de-denters cornercase. (Bug#15731)
682 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
684         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
685         (advice--make): Pay attention to `depth'.
686         (advice--make-1): Don't autoload commands eagerly.
687         * emacs-lisp/elp.el (elp-instrument-function):
688         * emacs-lisp/trace.el (trace-function-internal):
689         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
691         * iswitchb.el (iswitchb-mode): Don't belittle ido.
693 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
695         * term/w32-win.el (w32-handle-dropped-file):
696         * startup.el (normal-top-level):
697         * net/browse-url.el (browse-url-file-url):
698         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
699         decode file names using 'utf-8' rather than
700         file-name-coding-system.
702 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
704         * progmodes/python.el (python-indent-context)
705         (python-indent-calculate-indentation): Fix auto-identation
706         behavior for comment blocks. (Bug#15916)
708 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
710         * progmodes/python.el (python-indent-calculate-indentation):
711         When determining indentation, don't treat "return", "pass", etc., as
712         operators when they are just string constituents.  (Bug#15812)
714 2013-12-12  Juri Linkov  <juri@jurta.org>
716         * uniquify.el (uniquify-buffer-name-style): Change default to
717         `post-forward-angle-brackets'.
719         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
720         `uniquify'.  Change default to `post-forward-angle-brackets'.
722 2013-12-11  Glenn Morris  <rgm@gnu.org>
724         * emacs-lisp/package.el (finder-list-matches):
725         Autoload rather than falsely declaring.
727 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
729         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
730         (eww-mode-map): Use them.
732 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
734         * window.el (display-buffer-in-side-window): Fix doc-string
735         (Bug#16115).
737 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
739         * vc/vc-git.el: Silence byte-compiler warnings.
740         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
741         (log-edit-set-header): Declare.
743 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
745         * Makefile.in (custom-deps, finder-data): Run output file names
746         through unmsys--file-name.  (Bug#16099)
748 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
750         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
751         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
753         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
754         instead of deleting the selection "by hand" (bug#16098).
755         Rely on insert-for-yank to yank rectangles.
756         (cua-highlight-region-shift-only): Mark obsolete.
757         (cua-mode): Don't enable/disable transient-mark-mode,
758         shift-select-mode (cua-mode works both with and without them), and
759         pc-selection-mode (obsolete).
760         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
761         (cua--deactivate-rectangle): Deactivate it.
763         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
764         (delete-selection-helper): Make sure yank starts at the top of the
765         deleted region.
766         (minibuffer-keyboard-quit): Use region-active-p.
768         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
770         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
771         to `delete' (bug#16109).
773 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
775         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
776         info manual and show keybindings and set `:group' keyword.
778 2013-12-11  Juri Linkov  <juri@jurta.org>
780         * delsel.el (delete-active-region): Let-bind `this-command'
781         to prevent `kill-region' from changing its original value.
782         (delete-selection-helper): Handle `overwrite-mode' for the type
783         `kill' exactly the same way as for the type `t'.
784         (insert-char, quoted-insert, reindent-then-newline-and-indent):
785         Support more commands.  (Bug#13312)
787 2013-12-11  Juri Linkov  <juri@jurta.org>
789         * bindings.el: Map kp keys to non-kp keys systematically
790         with basic modifiers control, meta and shift.  (Bug#14397)
792 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>  (tiny change)
794         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
795         "Close browser" menu items.  Fix wrong function of "List
796         bookmarks".
798 2013-12-11  Juri Linkov  <juri@jurta.org>
800         * misearch.el (multi-isearch-buffers): Set the value of
801         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
802         arg of isearch-forward to t.
803         (multi-isearch-buffers-regexp): Set the value of
804         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
805         arg of isearch-forward-regexp to t.
806         (multi-isearch-files): Set the value of
807         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
808         arg of isearch-forward to t.
809         (multi-isearch-files-regexp): Set the value of
810         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
811         arg of isearch-forward-regexp to t.  (Bug#16035)
813         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
814         arg of isearch-forward to t.
815         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
816         arg of isearch-forward-regexp to t.
817         (dired-isearch-filter-filenames): Remove unnecessary check for
818         `dired-isearch-filenames'.
820         * comint.el (comint-history-isearch-backward):
821         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
822         (comint-history-isearch-backward-regexp):
823         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
825 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
827         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
828         unmsys--file-name.  (Bug#16099)
830 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
832         * emacs-lisp/package.el (package-keyword-button-action):
833         Remove finder.el require dependency.
835 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
837         * emacs-lisp/package.el: Require finder.el.
838         (describe-package-1): Add keyword buttons.
839         (package-make-button): New convenience function.
840         (package-keyword-button-action): Keyword button action using
841         `finder-list-matches'.
843 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
845         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
846         last commit.
848 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
850         * autorevert.el (auto-revert-notify-add-watch): Do not handle
851         symlinked files.
853 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
855         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
856         after the end of a percent literal.
858 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
860         * progmodes/ruby-mode.el (ruby-forward-string): Document.
861         Handle caret-delimited strings (Bug#16079).
863 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
865         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
866         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
867         `ruby-parse-partial' (Bug#16078).
869 2013-12-09  Leo Liu  <sdl.web@gmail.com>
871         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
873 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
875         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
876         (js-switch-indent-offset): New option.
877         (js--proper-indentation): Use it.  And handle the case when
878         "default" is actually a key in an object literal.
879         (js--same-line): New function.
880         (js--multi-line-declaration-indentation): Use it.
881         (js--indent-in-array-comp, js--array-comp-indentation):
882         New functions.
883         (js--proper-indentation): Use them, to handle array comprehension
884         continuations.
886 2013-12-08  Leo Liu  <sdl.web@gmail.com>
888         * progmodes/flymake.el (flymake-highlight-line): Re-write.
889         (flymake-make-overlay): Remove arg MOUSE-FACE.
890         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
892 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
894         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
895         New function.
896         (redisplay-highlight-region-function): Use it.
898         * emulation/cua-base.el (cua--explicit-region-start)
899         (cua--last-region-shifted): Remove.
900         (cua--deactivate): Use deactivate-mark.
901         (cua--pre-command-handler-1): Don't handle shift-selection.
902         (cua--post-command-handler-1): Don't change transient-mark-mode.
903         (cua--select-keymaps): Use region-active-p rather than
904         cua--explicit-region-start or cua--last-region-shifted.
905         (cua-mode): Enable shift-select-mode.
907 2013-12-08  Leo Liu  <sdl.web@gmail.com>
909         * progmodes/flymake.el (flymake-popup-current-error-menu):
910         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
911         (flymake-posn-at-point-as-event, flymake-popup-menu)
912         (flymake-make-emacs-menu): Remove.  (Bug#16077)
914 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
916         * rect.el (rectangle-mark-mode): Activate mark even if
917         transient-mark-mode is off (bug#16066).
918         (rectangle--highlight-for-redisplay): Fix boundary condition when point
919         is > mark and at bolp.
921         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
922         (region-extract-function): Use it.
923         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
924         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
925         Delete functions.
926         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
927         kill-ring-save, kill-region, delete-char, delete-forward-char.
928         Ignore self-insert-iso.
930         * emulation/cua-gmrk.el (cua--init-global-mark):
931         Ignore `self-insert-iso'.
933         * emulation/cua-base.el (cua--prefix-copy-handler)
934         (cua--prefix-cut-handler): Rely on region-extract-function rather than
935         checking cua--rectangle.
936         (cua-delete-region): Use region-extract-function.
937         (cua-replace-region): Delete function.
938         (cua-copy-region, cua-cut-region): Obey region-extract-function.
939         (cua--pre-command-handler-1): Don't do the delete-selection thing.
940         (cua--self-insert-char-p): Ignore `self-insert-iso'.
941         (cua--init-keymaps): Don't remap delete-selection commands.
942         (cua-mode): Use delete-selection-mode instead of rolling our own
943         (bug#16085).
945         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
946         Obey region-extract-function.
948         Make registers and delete-selection-mode work on rectangles.
949         * register.el (describe-register-1): Don't modify the register's value.
950         (copy-to-register): Obey region-extract-function.
951         * delsel.el (delete-active-region): Obey region-extract-function.
953 2013-12-08  Leo Liu  <sdl.web@gmail.com>
955         * progmodes/flymake.el (flymake, flymake-error-bitmap)
956         (flymake-warning-bitmap, flymake-fringe-indicator-position)
957         (flymake-compilation-prevents-syntax-check)
958         (flymake-start-syntax-check-on-newline)
959         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
960         (flymake-start-syntax-check-on-find-file, flymake-log-level)
961         (flymake-xml-program, flymake-master-file-dirs)
962         (flymake-master-file-count-limit)
963         (flymake-allowed-file-name-masks): Relocate.
964         (flymake-makehash, flymake-float-time)
965         (flymake-replace-regexp-in-string, flymake-split-string)
966         (flymake-get-temp-dir): Remove.
967         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
968         (flymake-current-row, flymake-selected-frame)
969         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
970         related functions.  (Bug#16077)
972 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
974         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
976 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
978         * help-fns.el (describe-function-1): Use new advice-* functions
979         rather than old ad-* functions.  Fix function type description and
980         source links for advised functions and subrs.
982 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
984         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
986 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
988         * progmodes/compile.el (compilation-start):
989         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
991         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
992         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
994 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
996         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
997         Touch up the last change.
999 2013-12-06  Leo Liu  <sdl.web@gmail.com>
1001         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1002         (inferior-octave-startup): Always use "octave> " for prompt.
1003         (octave-goto-function-definition)
1004         (octave-sync-function-file-names)
1005         (octave-find-definition-default-filename): Remove redundant backquotes.
1007 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1009         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1010         syntax for `?'.
1011         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1012         where appropriate already.
1013         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1014         end of method names (Bug#15874).
1016 2013-12-06  Juri Linkov  <juri@jurta.org>
1018         * isearch.el (isearch--saved-overriding-local-map):
1019         New internal variable.
1020         (isearch-mode): Set it to the initial value of
1021         `overriding-terminal-local-map'.
1022         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1023         with `isearch--saved-overriding-local-map'.  (Bug#16035)
1025 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1027         * progmodes/octave.el (inferior-octave-completion-table):
1028         Turn back into function, use `completion-table-with-cache'
1029         (Bug#11906).  Update all references.
1031         * minibuffer.el (completion-table-with-cache): New function.
1033 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1035         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1037 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
1039         * net/eww.el (eww-current-source): New variable to store page
1040         source.
1041         (eww-display-html, eww-mode, eww-save-history)
1042         (eww-restore-history): Use it.
1043         (eww-view-source): New command to view page source.
1044         Opportunistically uses `html-mode' to highlight the buffer.
1045         (eww-mode-map): Install it.
1047 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
1049         * net/dbus.el (dbus-unregister-service)
1050         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1051         Fix docstring.
1052         (dbus-unregister-service): Skip :serial entries in
1053         `dbus-registered-objects-table'.
1054         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1056 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
1058         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1059         around keywords with extra `split-string' argument.
1061 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
1063         * windmove.el (windmove-other-window-loc): Handle navigation
1064         between windows (excluding the minibuffer window - Bug#16017).
1066 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
1068         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1069         in D-Bus type syntax.
1070         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1071         preserve unibyte strings.  (Bug#16048)
1073 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1075         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1076         Call force-mode-line-update is the proper buffer (bug#16042).
1078 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
1080         * vc/log-edit.el (log-edit-add-new-comment): Rename to
1081         `log-edit-remember-comment', make argument optional.  Adjust all
1082         callers.
1083         (log-edit-mode): Add `log-edit-remember-comment' to
1084         `kill-buffer-hook' locally.
1085         (log-edit-kill-buffer): Don't remember comment explicitly since
1086         the buffer is killed anyway.
1088 2013-12-04  Juri Linkov  <juri@jurta.org>
1090         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1091         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
1093 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
1095         * notifications.el (notifications-close-notification): Call the
1096         D-Bus method with ID being a `:uint32'.  (Bug#16030)
1098 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1100         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1102 2013-12-03  Juri Linkov  <juri@jurta.org>
1104         * progmodes/compile.el (compilation-start): Rename window alist
1105         entry `no-display-ok' to `allow-no-window'.
1107         * simple.el (shell-command): Add window alist entry
1108         `allow-no-window' to `display-buffer'.
1109         (async-shell-command): Doc fix.
1111         * window.el (display-buffer-no-window): New action function.
1112         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
1114 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1116         * vc/log-edit.el (log-edit-set-header): Extract from
1117         `log-edit-toggle-header'.
1118         (log-edit-extract-headers): Separate the summary, when extracted
1119         from header, from the rest of the message with an empty line.
1121         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1122         line, if present, to the Summary header.
1124 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1126         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1127         in current-buffer (bug#16029).
1129 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
1131         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1132         (debugger-mode-map): Bind it.
1133         (debugger--backtrace-base): New function.
1134         (debugger-eval-expression): Use it.
1135         (debugger-frame-number): Skip local vars when present.
1136         (debugger--locals-visible-p, debugger--insert-locals)
1137         (debugger--show-locals, debugger--hide-locals): New functions.
1139 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
1141         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1142         "LC_ALL".
1143         (tramp-get-remote-locale): New defun.
1144         (tramp-open-connection-setup-interactive-shell): Use it.
1146 2013-12-02  Leo Liu  <sdl.web@gmail.com>
1148         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
1150         * progmodes/sh-script.el (sh-shell-process):
1151         * progmodes/octave.el (inferior-octave-process-live-p):
1152         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1153         (gdb-inferior-io-sentinel):
1154         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1156 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1158         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1159         `save-selected-window' to `log-edit-hide-buf'.  This makes
1160         `log-edit-show-files' idempotent.
1161         (log-edit-show-files): Mark the new window as dedicated.
1163 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1165         * vc/log-edit.el (log-edit-mode-map): Add binding for
1166         `log-edit-kill-biffer'.
1167         (log-edit-hide-buf): Add a FIXME comment.
1168         (log-edit-add-new-comment): New function, extracted from
1169         `log-edit-done'.
1170         (log-edit-done, log-edit-add-to-changelog): Use it.
1171         (log-edit-kill-buffer): New command.
1173 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1175         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1176         instead of killing the buffer.
1178 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1180         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1182 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1184         * net/eww.el (eww-form-checkbox-selected-symbol)
1185         (eww-form-checkbox-symbol): New customizable variable.
1186         (eww-form-checkbox, eww-toggle-checkbox):
1187         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1189         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1190         (shr--get-media-pref, shr--extract-best-source): New function.
1191         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1192         no :src tag was specified.
1194         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1195         (eww-render): Handle `eww-use-external-browser-for-content-type'.
1196         Use \\` to match beginning of string instead of ^.
1197         (eww-browse-with-external-browser): Provide optional URL parameter.
1198         (eww-render): Set `eww-current-title' back to "".
1200         * net/shr.el (shr-tag-video): Display content for video if no
1201         poster is available.
1202         (shr-tag-audio): Add support for <audio> tag.
1204         * net/eww.el (eww-text-input-types): New const.
1205         (eww-process-text-input): Treat input types in
1206         `eww-text-input-types' as text.
1208         * net/shr.el (shr-tag-table): Fix comment typo.
1210 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1212         * net/eww.el (eww-follow-link): New command to avoid reloading
1213         pages when we follow #target links (bug#15243).
1214         (eww-quit): Special mode buffers shouldn't query before exiting.
1216 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1218         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1219         forms.
1221 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1223         * net/eww.el (eww-restore-history): Update the window title after
1224         moving in the history.
1225         (eww-current-dom): New variable used to save the current DOM.
1227 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
1229         * vc/log-edit.el (log-edit-mode-map): Add binding for
1230         `log-edit-beginning-of-line'.
1231         (log-edit-setup-add-author): New user option.
1232         (log-edit-beginning-of-line): New command.
1233         (log-edit): Move major mode call above the contents setup so that
1234         the local variable values are already applied.
1235         (log-edit): Only insert "Author: " when
1236         `log-edit-setup-add-author' is non-nil.
1237         (log-edit): When SETUP is non-nil, position point after ": "
1238         instead of point-min.
1240 2013-12-01  Glenn Morris  <rgm@gnu.org>
1242         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1244 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
1246         * startup.el (fancy-splash-frame): On MS-Windows, trigger
1247         redisplay to make sure the initial frame gets a chance to become
1248         visible.  (Bug#16014)
1250 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
1252         Support resizing frames and windows pixelwise.
1253         * cus-start.el (frame-resize-pixelwise)
1254         (window-resize-pixelwise): New entries.
1255         * emacs-lisp/debug.el (debug): Use window-total-height instead
1256         of window-total-size.
1257         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1258         * help.el (describe-bindings-internal): Call help-buffer
1259         (temp-buffer-max-width): New option.
1260         (resize-temp-buffer-window, help-window-setup)
1261         (with-help-window): Rewrite.
1262         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
1263         dragging dividers.
1264         * window.el (frame-char-size, window-min-pixel-height)
1265         (window-safe-min-pixel-height, window-safe-min-pixel-width)
1266         (window-min-pixel-width, window-safe-min-pixel-size)
1267         (window-combination-p, window-safe-min-size)
1268         (window-resizable-p, window--size-to-pixel)
1269         (window--pixel-to-size, window--resize-apply-p): New functions.
1270         (window-safe-min-height): Fix doc-string.
1271         (window-size, window-min-size, window--min-size-1)
1272         (window-sizable, window-sizable-p, window--min-delta-1)
1273         (window-min-delta, window--max-delta-1, window-max-delta)
1274         (window--resizable, window--resizable-p, window-resizable)
1275         (window-full-height-p, window-full-width-p, window-at-side-p)
1276         (window--in-direction-2, window-in-direction)
1277         (window--resize-reset-1, window--resize-mini-window)
1278         (window-resize, window-resize-no-error)
1279         (window--resize-child-windows-normal)
1280         (window--resize-child-windows, window--resize-siblings)
1281         (window--resize-this-window, window--resize-root-window)
1282         (window--resize-root-window-vertically)
1283         (adjust-window-trailing-edge, enlarge-window, shrink-window)
1284         (maximize-window, minimize-window, delete-window)
1285         (quit-restore-window, window-split-min-size, split-window)
1286         (balance-windows-2, balance-windows)
1287         (balance-windows-area-adjust, balance-windows-area)
1288         (window--state-get-1, window-state-get, window--state-put-1)
1289         (window--state-put-2, window-state-put)
1290         (display-buffer-record-window, window--display-buffer):
1291         Make functions handle pixelwise sizing of windows.
1292         (display-buffer--action-function-custom-type)
1293         (display-buffer-fallback-action):
1294         Add display-buffer-in-previous-window.
1295         (display-buffer-use-some-window): Resize window to height it had
1296         before.
1297         (fit-window-to-buffer-horizontally): New option.
1298         (fit-frame-to-buffer): Describe new values.
1299         (fit-frame-to-buffer-bottom-margin): Replace with
1300         fit-frame-to-buffer-margins.
1301         (window--sanitize-margin): New function.
1302         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1303         using window-text-pixel-size.
1305 2013-11-30  Glenn Morris  <rgm@gnu.org>
1307         * emacs-lisp/bytecomp.el (byte-compile-form):
1308         Make the `interactive-only' warning like the `obsolete' one.
1309         * comint.el (comint-run):
1310         * files.el (insert-file-literally, insert-file):
1311         * replace.el (replace-string, replace-regexp):
1312         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1313         (goto-line, insert-buffer, next-line, previous-line):
1314         Tweak `interactive-only' spec.
1316         Stop keeping (most) generated cedet grammar files in the repository.
1317         * Makefile.in (semantic): New.
1318         (compile-main): Depend on semantic.
1320 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1322         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1323         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1325         * uniquify.el (uniquify-buffer-name-style): Change default.
1327         * loadup.el: Preload "uniquify".
1329         * time.el (display-time-update): Update all mode lines (bug#15999).
1331         * electric.el (electric-indent-mode): Enable by default.
1332         * loadup.el: Preload "electric".
1334 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
1336         * emacs-lisp/helpers.el (string-empty-p): New function.
1337         (string-blank-p): New function.
1339 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
1341         * imenu.el (imenu--index-alist): Add missing dot to the docstring
1342         (Bug#14029).
1344 2013-11-29  Andreas Politz  <politza@fh-trier.de>
1345         * imenu.el (imenu--subalist-p): Don't error on non-conses and
1346         allow non-lambda lists as functions.
1347         (imenu--in-alist): Don't recurse into non-subalists.
1348         (imenu): Don't pass function itself as an argument (Bug#14029).
1350 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1352         * progmodes/python.el (python-mode-map): Remove binding for ":".
1353         (python-indent-electric-colon): Remove command.
1354         (python-indent-post-self-insert-function): Integrate the previous code
1355         of python-indent-electric-colon.  Make it conditional on
1356         electric-indent-mode.
1357         (python-mode): Add ?: to electric-indent-chars.
1358         Move python-indent-post-self-insert-function to the end of
1359         post-self-insert-hook.
1361 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1363         * doc-view.el (doc-view-goto-page): Update mode-line.
1365         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1367 2013-11-27  Glenn Morris  <rgm@gnu.org>
1369         * international/charprop.el, international/uni-bidi.el:
1370         * international/uni-category.el, international/uni-combining.el:
1371         * international/uni-comment.el, international/uni-decimal.el:
1372         * international/uni-decomposition.el, international/uni-digit.el:
1373         * international/uni-lowercase.el, international/uni-mirrored.el:
1374         * international/uni-name.el, international/uni-numeric.el:
1375         * international/uni-old-name.el, international/uni-titlecase.el:
1376         * international/uni-uppercase.el:
1377         Remove generated files from VCS repository.
1379 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
1381         * filenotify.el (file-notify-add-watch): Don't special-case
1382         w32notify when computing the directory to watch.
1384 2013-11-27  Glenn Morris  <rgm@gnu.org>
1386         Make bootstrap without generated uni-*.el files possible again.
1387         * loadup.el: Update command-line-args checking for unidata-gen.
1388         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1389         * composite.el, international/characters.el:
1390         Handle unicode tables being undefined.
1392         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1393         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1394         (compile-main): Depend on leim rule.
1395         (leim): New rule.
1396         * loadup.el: Move leim-list.el to leim/ subdirectory.
1397         * startup.el (normal-top-level): No more leim directory.
1398         * international/ja-dic-cnv.el (skkdic-convert):
1399         Disable version-control and autoloads in output files.
1400         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1401         Disable version-control and autoloads in output files.
1402         * leim/quail: Move here from ../leim.
1403         * leim/quail/hangul.el (hangul-input-method-activate):
1404         Add autoload cookie.
1405         (generated-autoload-load-name): Set file-local value.
1406         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1407         (generated-autoload-load-name): Set file-local value.
1409 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
1411         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1412         (eww-add-bookmark): Ask confirmation when add to bookmarks
1413         (eww-quit): Ask confirmation before quitting eww.
1415 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
1417         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1418         reading output from Diff on MS-Windows and MS-DOS.
1420 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
1422         * emacs-lisp/helpers.el (string-reverse): New function.
1424 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
1426         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1427         names on MS Windows, like "/[::1]:".
1429         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1430         SWITCHES.
1432 2013-11-26  Glenn Morris  <rgm@gnu.org>
1434         * progmodes/python.el (python-indent-guess-indent-offset):
1435         Avoid corner-case error.  (Bug#15975)
1437         Preload leim-list.el.  (Bug#4789)
1438         * loadup.el: Load leim-list.el when found.
1439         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1441 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
1443         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1445         * emacs-lisp/helpers.el (string-join): New function.
1447 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
1449         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1450         Mark as obsolete and replace it with a symbol property.
1451         (byte-compile-form): Use new 'interactive-only property.
1452         * comint.el, files.el, replace.el, simple.el:
1453         Apply new 'interactive-only properly.
1455 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
1457         * window.el (display-buffer-at-bottom): Make sure that
1458         split-window-sensibly creates the new window on bottom
1459         (Bug#15961).
1461 2013-11-23  David Kastrup  <dak@gnu.org>
1463         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1464         on the conflict markers when available.
1465         (smerge--get-marker): New function.
1466         (smerge-end-re, smerge-base-re): Add subgroup.
1468 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1470         * frame.el (handle-focus-in, handle-focus-out): Add missing
1471         interactive spec.
1473 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
1475         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1476         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1478 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1480         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
1481         (gomoku--last-pos): New var.
1482         (gomoku--intangible-chars): New const.
1483         (gomoku--intangible): New function.
1484         (gomoku-mode): Use it.  Derive from special-mode.
1485         (gomoku-move-up): Adjust line count.
1486         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1487         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1488         Simplify accordingly.
1490         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1491         Remove blink-cursor code.
1492         (blink-cursor-timer-function, blink-cursor-suspend):
1493         Don't special-case GUIs.
1494         (blink-cursor-mode): Use focus-in/out-hook.
1496 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
1498         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1499         work when annotation is invisible (Bug#13886).
1501 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
1503         * json.el (json-alist-p): Only return non-nil if the alist has
1504         simple keys (Bug#13518).
1506 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
1508         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1509         when control-statement is the first statement in a buffer (Bug#15956).
1511 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
1513         * imenu.el (imenu-generic-skip-comments-and-strings):
1514         New option (Bug#15560).
1515         (imenu--generic-function): Use it.
1517 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
1519         * minibuffer.el (completion--in-region-1): Scroll the correct
1520         window. (Bug#13898)
1522 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
1524         * emacs-lisp/helpers.el: Add some string helpers.
1525         (string-trim-left): Removes leading whitespace.
1526         (string-trim-right): Removes trailing whitespace.
1527         (string-trim): Removes leading and trailing whitespace.
1529         * subr.el (string-suffix-p): New function.
1531 2013-11-23  Glenn Morris  <rgm@gnu.org>
1533         * progmodes/python.el (python-shell-send-file):
1534         Add option to delete file when done.  (Bug#15647)
1535         (python-shell-send-string, python-shell-send-region): Use it.
1537 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
1539         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1540         to set buffer-read-only to t, never to nil.  (Bug#15938)
1542         * textmodes/tex-mode.el (latex-noindent-environments):
1543         Add safe-local-variable property.  (Bug#15936)
1545 2013-11-23  Glenn Morris  <rgm@gnu.org>
1547         * textmodes/enriched.el (enriched-mode): Doc fix.
1548         * emacs-lisp/authors.el (authors-renamed-files-alist):
1549         Add enriched.doc -> enriched.txt.
1551         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1553 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1555         * progmodes/octave.el (inferior-octave-startup): Spit out error
1556         message.
1558 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
1560         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1561         Improve docstring.
1562         Add :version.
1563         (ruby-encoding-magic-comment-style): Add :version.
1565 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1567         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1568         (Bug#15076)
1569         (octave-help-mode): Adapt to change to help-mode-finish to use
1570         derived-mode-p on 2013-09-17.
1571         (inferior-octave-prompt): Also match octave-gui.
1572         (octave-kill-process): Don't ask twice.  (Bug#10564)
1574 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1576         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1577         (inferior-octave-startup, inferior-octave-check-process)
1578         (inferior-octave-track-window-width-change)
1579         (octave-completion-at-point, octave-eldoc-function): Use it.
1580         (octave-kill-process): Provide confirmation.  (Bug#10564)
1582 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1584         * progmodes/octave.el (octave-mode, inferior-octave-mode):
1585         Fix obsolete variable comment-use-global-state.
1587 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1589         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1590         Add `octave-source-file'.
1591         (octave-source-file): New function.  (Bug#15935)
1593 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
1595         * net/eww.el (eww-local-regex): New variable.
1596         (eww): Use it to detect localhost and similar.
1598 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1600         Add completion for command `ag'.
1601         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1602         (pcomplete/ag): New function.
1603         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1605 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1607         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1608         (bug#14646).
1609         (make-obsolete): Remove interactive spec.
1611 2013-11-21  Glenn Morris  <rgm@gnu.org>
1613         * startup.el (command-line-1): Use path-separator with -L.
1615 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1617         * emacs-lisp/package.el (describe-package-1): Add package archive
1618         to shown fields.
1620 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1622         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1623         Change default to "# encoding: %s" to differentiate it from the
1624         default Ruby encoding comment template.
1626 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1628         * ses.el (ses-mode): Doc fix.  (Bug#14748)
1630 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1632         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1634 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1636         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1637         when rebase or bisect are in progress.
1639 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1641         * filenotify.el (file-notify-add-watch): Doc fix.
1643 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1645         * obsolete/rcompile.el: Mark obsolete.
1647         * progmodes/compile.el (compilation-start)
1648         (compilation-goto-locus, compilation-find-file):
1649         Pass no-display-ok and handle nil value from display-buffer.
1650         (Bug#13594)
1652         * window.el (display-buffer-alist, display-buffer): Document the
1653         new parameter no-display-ok.  Return either a window or nil
1654         but never a non-window value.
1656 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1658         * electric.el (electric-indent-mode-map): Remove.
1659         (electric-indent-mode): Change the global-map instead (bug#15915).
1661         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1662         Use add-function.
1664 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * emacs-lisp/nadvice.el (remove-function): Align with
1667         add-function's behavior.
1669         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1670         (gdb--string-regexp): New constant.
1671         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1672         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1673         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1674         submatch 1.
1675         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1676         Adjust use accordingly.
1677         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1679 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
1681         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1682         interpolation curlies (Bug#15914).
1684 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1686         * calc/calc.el (calc-context-sensitive-enter): New variable.
1687         (calc-enter): Use `calc-context-sensitive-enter'.
1689 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
1691         * progmodes/cfengine.el: Version bump.
1692         (cfengine-cf-promises): New defcustom to locate cf-promises.
1693         (cfengine3-vartypes): Add new "data" type.
1694         (cfengine3--current-word): New function to get current name-like
1695         word or its bounds.
1696         (cfengine3--current-function): New function to look up a CFEngine
1697         function's definition.
1698         (cfengine3-format-function-docstring): New function.
1699         (cfengine3-make-syntax-cache): New function.
1700         (cfengine3-documentation-function): New function: ElDoc glue.
1701         (cfengine3-completion-function): New function: completion glue.
1702         (cfengine3-mode): Set `compile-command',
1703         `eldoc-documentation-function', and add to
1704         `completion-at-point-functions'.
1706 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
1708         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1709         `tramp-current-connection'.
1711 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
1713         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1714         nil/self/true/false with "end of symbol".
1716 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
1718         * subr.el (version-regexp-alist): Fix a typo.
1720 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
1722         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1723         "en_US.utf8" and "LC_CTYPE" to "".
1724         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1725         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1727 2013-11-15  Leo Liu  <sdl.web@gmail.com>
1729         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
1731 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1733         * progmodes/gud.el (ctl-x-map):
1734         Remove C-x SPC binding.  (Bug#12342)
1735         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1737 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
1739         * subr.el (version-regexp-alist):
1740         Recognize hg, svn and darcs versions as snapshot versions.
1742         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1743         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1744         (ruby--encoding-comment-required-p): Extract from
1745         `ruby-mode-set-encoding'.
1746         (ruby-mode-set-encoding): Add the ability to always insert an
1747         utf-8 encoding comment.  Fix and simplify coding comment update
1748         logic.
1750 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
1752         * net/tramp-gvfs.el (top): Run init code only when
1753         `tramp-gvfs-enabled' is not nil.
1754         (tramp-gvfs-enabled): Check also :system bus.
1756 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         Sync with upstream verilog-mode revision 78e66ba.
1759         * progmodes/verilog-mode.el (verilog-end-of-defun)
1760         (verilog-type-completion, verilog-get-list): Remove unused funcs.
1761         (verilog-get-end-of-defun): Remove unused argument.
1762         (verilog-comment-depth): Remove unused local `e'.
1763         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1764         Don't pass arg to verilog-get-end-of-defun.
1766 2013-11-14  Glenn Morris  <rgm@gnu.org>
1768         * obsolete/assoc.el (aget): Prefix dynamic variable.
1770         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1772 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1774         * widget.el, hfy-cmap.el: Remove bogus package version number.
1776 2013-11-13  Glenn Morris  <rgm@gnu.org>
1778         * replace.el (replace-eval-replacement):
1779         Try to give more helpful error message.  (Bug#15836)
1781         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1782         (archive-7z-update): Avoid custom type mismatches.
1784         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1786 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
1788         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1789         address can be empty.
1791         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1792         Accept nil SWITCHES.
1793         (tramp-gvfs-handle-write-region): Implement APPEND.
1795 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
1797         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1798         binary "|" operator and closing block args delimiter.
1799         Remove FIXME comment referring to Ruby 1.8-only syntax.
1800         (ruby-smie--implicit-semi-p): Not after "|" operator.
1801         (ruby-smie--closing-pipe-p): New function.
1802         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1803         (ruby-smie-rules): Indent after "|".
1805 2013-11-12  Glenn Morris  <rgm@gnu.org>
1807         * ps-print.el (ps-face-attribute-list):
1808         Handle anonymous faces.  (Bug#15827)
1810 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
1812         * window.el (display-buffer-other-frame): Fix doc-string.
1813         (Bug#15868)
1815 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1817         * subr.el (force-mode-line-update): Delete, move to buffer.c.
1819 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
1821         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1822         (tramp-sh-handle-file-local-copy): Don't write a message when
1823         saving temporary files.
1825         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1826         both directories are remote.
1827         (tramp-smb-handle-directory-files): Do not return double entries.
1828         Do not expand full file names.
1829         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1830         (tramp-smb-handle-write-region): Implement APPEND.
1831         (tramp-smb-get-stat-capability): Fix a stupid bug.
1833 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1835         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1837 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1839         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1840         throwing error over malformed let/let* (bug#15814).
1842 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1844         * iswitchb.el (iswitchb-mode): Mark obsolete.
1846 2013-11-11  Glenn Morris  <rgm@gnu.org>
1848         * international/uni-bidi.el, international/uni-category.el:
1849         * international/uni-name.el, international/uni-numeric.el:
1850         Regenerate for Unicode 6.3.0.
1852 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1854         * net/tramp.el (tramp-methods):
1855         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1856         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1858 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1860         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1861         Force highlighting text after Summary keyword in doc face for rpm.
1863 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1865         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1866         available and the word has no wildcards, append one to the grep pattern.
1867         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1868         (ispell-complete-word): Call `ispell-lookup-words' with the value
1869         independent of `ispell-look-p'.
1871 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1873         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1874         Not after "||".
1875         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1876         their parent.
1878 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1881         (ruby-font-lock-keywords): Use backquote.
1883 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1885         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1886         (ruby-smie--backward-token): Only consider full-string matches.
1888 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1890         * faces.el (describe-face): Add distant-foreground.
1892 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1894         * progmodes/ruby-mode.el: Improve encoding comment handling.
1895         (ruby-encoding-magic-comment-style): New option.
1896         (ruby-custom-encoding-magic-comment-template): New option.
1897         (ruby--insert-coding-comment, ruby--detect-encoding):
1898         New functions extracted from `ruby-mode-set-encoding'.
1899         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1900         to control the style of the auto-inserted encoding comment.
1902 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1904         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1905         Use `smie-backward-sexp' with token argument.
1907 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1909         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1910         Remove instrumentation code.
1912 2013-11-08  Glenn Morris  <rgm@gnu.org>
1914         * progmodes/autoconf.el (autoconf-mode):
1915         Tweak comment-start-skip.  (Bug#15822)
1917 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1919         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1920         at bobp (bug#15826).
1921         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1923 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1925         * man.el (Man-start-calling): New macro, extracted from
1926         Man-getpage-in-background.
1927         (Man-getpage-in-background): Use it.
1928         (Man-update-manpage): New command.
1929         (Man-mode-map): Bind it.
1931 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1933         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1934         of "and", "or", "&&" and "||".
1935         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1936         argument.  Prohibit opening curly brace because it could only be a
1937         block opener in that position.
1938         (ruby-smie--forward-token, ruby-smie--backward-token):
1939         Separate "|" from "&" or "*" going after it.  That can happen in block
1940         arguments.
1941         (ruby-smie--indent-to-stmt): New function, seeks the end of
1942         previous statement or beginning of buffer.
1943         (ruby-smie-rules): Use it.
1944         (ruby-smie-rules): Check if there's a ":" before a curly block
1945         opener candidate; if there is, it's a hash.
1947 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1949         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1950         (cl--block-wrapper): Fix last accidental change.
1952 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1954         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1955         Instrument, in order to hunt failure on hydra.
1957 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1959         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1960         malformed bindings form (bug#15814).
1962 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1964         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1965         "." compared to " @ ".  This incidentally fixes some indentation
1966         examples with "do".
1967         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1968         (ruby-smie-grammar): New tokens: "and" and "or".
1969         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1970         Exclude "and" and "or".  Remove "do" in order to work around token
1971         priorities.
1972         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1973         beginning-of-buffer.
1975 2013-11-06  Glenn Morris  <rgm@gnu.org>
1977         * Makefile.in (setwins_almost, setwins_for_subdirs):
1978         Avoid accidental matches.
1980 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1982         * menu-bar.el (popup-menu): Use key-binding.
1984 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1986         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1987         menus, support also the menus produced by minor modes.
1988         (Bug#15817)
1990 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1992         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1993         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1995 2013-11-06  Glenn Morris  <rgm@gnu.org>
1997         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1998         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1999         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2001 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2003         * electric.el (electric-indent-just-newline): New command.
2004         (electric-indent-mode-map): New keymap.
2005         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2006         Re-add :group which weren't redundant.
2008         * electric.el (electric-indent-local-mode): New minor mode.
2009         (electric-indent-functions-without-reindent): New var.
2010         (electric-indent-post-self-insert-function): Use it.
2011         * emacs-lisp/gv.el (buffer-local-value): Add setter.
2013 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
2015         * international/quail.el (quail-help): Be more explicit about the
2016         meaning of the labels shown on the keys.  (Bug#15800)
2018         * startup.el (normal-top-level): Load the subdirs.el files before
2019         setting the locale environment.  (Bug#15805)
2021 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2023         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2024         via arguments so as to get the right ones (bug#15418).
2026         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2028 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
2030         Fix problems found while writing a test suite.
2032         * net/tramp-compat.el (tramp-compat-load): New defun.
2033         * net/tramp.el (tramp-handle-load): Use it.
2035         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2036         "(numberp ok-if-already-exists)" correctly.
2038 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
2040         * international/characters.el (glyphless-char-display-control):
2041         Add usage note.
2043 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
2045         * progmodes/python.el (python-mode):
2046         * progmodes/scheme.el (scheme-mode):
2047         * progmodes/prolog.el (prolog-mode):
2048         * progmodes/ruby-mode.el (ruby-mode):
2049         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2050         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2052 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2054         * rect.el (rectangle--highlight-for-redisplay):
2055         * emacs-lisp/smie.el (smie--next-indent-change):
2056         Use buffer-chars-modified-tick.
2058         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2060         * electric.el (electric-indent-post-self-insert-function):
2061         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2063 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
2065         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2067 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2069         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2070         (bug#15786).
2072 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2074         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
2076         * progmodes/python.el: Fix up last change.
2077         (python-shell--save-temp-file): New function.
2078         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
2079         `string' comes from the current buffer.
2080         (python-shell-send-string-no-output): Remove `msg' arg.
2081         (python--use-fake-loc): New var.
2082         (python-shell-buffer-substring): Obey it.  Try to compensate for the
2083         extra coding line added by python-shell--save-temp-file.
2084         (python-shell-send-region): Use python-shell--save-temp-file and
2085         python-shell-send-file directly.  Add `nomain' argument.
2086         (python-shell-send-buffer): Use python-shell-send-region.
2087         (python-electric-pair-string-delimiter): New function.
2088         (python-mode): Use it.
2090 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
2092         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2093         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2094         environment and decoding all of the default-directory's to here
2095         from command-line.
2096         (command-line): Decode also argv[0].
2098         * loadup.el: Error out if default-directory is a multibyte string
2099         when we are dumping.
2101         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
2103 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
2105         * emacs-lisp/package.el (package-menu-mode)
2106         (package-menu--print-info, package-menu--archive-predicate):
2107         Add Archive column to package list.
2109 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
2111         Fix problems found while writing a test suite.
2113         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2114         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2115         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2116         to nil when running original file name handler.  Otherwise,
2117         there are problems with constructs like "$$FOO".
2119         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2120         for `localname'.
2122 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
2124         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2126         * subr.el (version<, version<=, version=):
2127         Update docstrings with information for snapshot versions.
2129         * helpers.el: New library for misc helper functions.
2130         (hash-table-keys): New function returning a list of hash keys.
2131         (hash-table-values): New function returning a list of hash values.
2133 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
2135         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2136         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2138 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
2140         * textmodes/fill.el (fill-single-char-nobreak-p): New function
2141         checking whether point is after a 1-letter word.
2143 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2145         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2146         Don't infloop when expanding region over `multiline' syntax-type that
2147         begins a line (bug#15778).
2149 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2151         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2152         Make it into a proper minor mode.
2153         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2154         (rectangle-mark-mode-map): New keymap.
2155         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2157 2013-11-04  Glenn Morris  <rgm@gnu.org>
2159         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2161 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2163         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2164         (ruby-smie-rules): Use smie-rule-parent instead.
2166         * emacs-lisp/smie.el (smie-rule-parent): Always call
2167         smie-indent-virtual rather than only for hanging tokens.
2168         (smie--next-indent-change): New helper command.
2170 2013-11-03  Glenn Morris  <rgm@gnu.org>
2172         * Makefile.in (abs_srcdir): Remove.
2173         (emacs): Unset EMACSLOADPATH.
2175 2013-11-02  Glenn Morris  <rgm@gnu.org>
2177         * Makefile.in (EMACS): Use a relative filename.
2178         (abs_top_builddir): Remove.
2179         (custom-deps, finder-data, autoloads): Use --chdir.
2181         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2183         Use relative filenames in TAGS files.
2184         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2185         (lisptagsfiles4, TAGS): Use relative file names.
2186         (TAGS-LISP): Remove.
2187         (maintainer-clean): No more TAGS-LISP file.
2189         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2190         (lisptagsfiles4): Use absolute filenames again.
2191         (TAGS, TAGS-LISP): Not everything needs to run in one line.
2192         Remove all *loaddefs files, not just the first.  Remove esh-groups.
2193         (maintainer-clean): Delete TAGS, TAGS-LISP.
2195 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2197         * emacs-lisp/package.el (package-version-join):
2198         Recognize snapshot versions.
2200 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2202         * subr.el (version-regexp-alist): Add support for snapshot versions.
2204 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2206         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2207         New function, replacement for `smie-rule-parent' for when we want to
2208         skip over our direct parent if it's an assignment token..
2209         (ruby-smie-rules): Use it.
2211 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2213         * progmodes/ruby-mode.el Use `syntax-propertize-function'
2214         unconditionally.  Remove now unnecessary forward declarations.
2215         Remove XEmacs-specific setup.
2216         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2217         (ruby-font-lock-syntactic-keywords)
2218         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2219         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2220         (ruby-here-doc-end-syntax): Remove.
2221         (ruby-mode): Don't check whether `syntax-propertize-rules' is
2222         defined as function.
2224 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2226         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2228 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2230         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2231         table and abbrev table, `define-derived-mode' does that for us
2232         anyway.
2234 2013-11-01  Glenn Morris  <rgm@gnu.org>
2236         * Makefile.in: Remove manual mh-e dependencies (writing .elc
2237         files is atomic for some time, so no parallel compilation issues).
2239 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
2241         * faces.el (face-x-resources): Add :distant-foreground.
2242         (region): Use :distant-foreground for gtk and ns.
2244 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
2246         Allow multiple bibliographies when BibLaTeX is used rather than
2247         BibTeX.
2248         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2249         (reftex-locate-bibliography-files): Us it.
2251 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
2253         * image.el (image-type-header-regexps): Fix the 'pbm' part to
2254         allow comments in pbm files.
2256         * term/w32-win.el (dynamic-library-alist): Support newer versions
2257         of libjpeg starting with v7: look only for the DLL from the
2258         version against which Emacs was built.
2259         Support versions of libpng beyond 1.4.x.
2260         Support libtiff v4.x.
2262 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2264         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2265         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2266         Add property :safe.
2267         (ruby-deep-arglist): Add property :type.
2269 2013-10-31  Glenn Morris  <rgm@gnu.org>
2271         * Makefile.in (custom-deps, finder-data): No need to setq the target
2272         variables, we are in the right directory and the defaults work fine.
2274 2013-10-30  Glenn Morris  <rgm@gnu.org>
2276         * Makefile.in (autoloads): Do not use abs_lisp.
2278         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2279         `newline' does not respect `standard-output', so use `princ'.
2281 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
2283         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
2284         * buff-menu.el (Buffer-menu--unmark): New function.
2285         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2287 2013-10-30  Glenn Morris  <rgm@gnu.org>
2289         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2291         * emacs-lisp/package.el (lm-homepage): Declare.
2293         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2294         Fix doc typos.
2296         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2298         * Makefile.in (finder-data, autoloads, update-subdirs)
2299         (compile-main, compile-clean, compile-always, bootstrap-clean):
2300         Check return value of cd.
2301         (compile-calc): Remove.
2303 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2305         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2307         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2308         (byte-compile-and-folded): New function.
2309         (=, <, >, <=, >=): Use it.
2311         * dos-w32.el (minibuffer-history-case-insensitive-variables)
2312         (path-separator, null-device, buffer-file-coding-system)
2313         (lpr-headers-switches): Check system-type before modifying them.
2314         (find-buffer-file-type-coding-system): Mark obsolete.
2315         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2316         find-file-not-found-set-buffer-file-coding-system.
2317         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2318         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2319         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2320         (w32-direct-print-region-helper, w32-direct-print-region-function)
2321         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2322         * startup.el (normal-top-level-add-subdirs-to-load-path):
2323         * ps-print.el (ps-print-region-function):
2324         * lpr.el (print-region-function): Use new name.
2326         * subr.el (custom-declare-variable-early): Remove function.
2327         (custom-declare-variable-list): Remove var.
2328         (error, user-error): Remove `while' loop.
2329         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2330         (user-emacs-directory-warning, locate-user-emacs-file):
2331         Move to files.el.
2332         * simple.el (read-quoted-char-radix, read-quoted-char):
2333         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2334         Move from subr.el.
2335         * custom.el (custom-declare-variable-list): Don't process
2336         custom-declare-variable-list.
2338         * progmodes/python.el (python-shell-get-buffer): New function.
2339         (python-shell-get-process): Use it.
2340         (python-shell-send-string): Always use utf-8 and add a cookie to tell
2341         Python which encoding was used.  Don't split-string since we only care
2342         about the first line.  Return the temp-file, if applicable.
2343         (python-shell-send-region): Tell compile.el how to turn locations in
2344         the temp-file into locations in the source buffer.
2346 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2348         * subr.el (undefined): Add missing behavior from the C code for
2349         unbound keys.
2351         * rect.el: Use lexical-binding.  Add new rectangular region support.
2352         (rectangle-mark): New command.
2353         (rectangle--region): New var.
2354         (deactivate-mark-hook): Reset rectangle--region.
2355         (rectangle--extract-region, rectangle--insert-for-yank)
2356         (rectangle--highlight-for-redisplay)
2357         (rectangle--unhighlight-for-redisplay): New functions.
2358         (region-extract-function, redisplay-unhighlight-region-function)
2359         (redisplay-highlight-region-function): Use them to handle
2360         rectangular region.
2361         * simple.el (region-extract-function): New var.
2362         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2363         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2364         (kill-region): Replace obsolete `yank-handler' arg with `region'.
2365         (copy-region-as-kill, kill-ring-save): Add `region' argument.
2366         (redisplay-unhighlight-region-function)
2367         (redisplay-highlight-region-function): New vars.
2368         (redisplay--update-region-highlight): New function.
2369         (pre-redisplay-function): Use it.
2370         (exchange-point-and-mark): Don't deactivate the mark before
2371         reactivate-it anyway.
2372         * comint.el (comint-kill-region): Remove yank-handler argument.
2373         * delsel.el (delete-backward-char, backward-delete-char-untabify)
2374         (delete-char): Remove property, since it's now part of their
2375         default behavior.
2376         (self-insert-iso): Remove property since this command doesn't exist.
2378         * emacs-lisp/package.el (package--download-one-archive)
2379         (describe-package-1): Don't query the user about final newline.
2381 2013-10-29  Daniel Colascione  <dancol@dancol.org>
2383         * net/tramp.el (tramp-methods): Document new functionality.
2384         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2385         tramp-hostname-checker if method provides one instead of scanning
2386         argument list for "%h" to decide hostname acceptability.
2388 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
2390         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2391         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2392         Handle COPY-CONTENTS.  (Bug#15737)
2394 2013-10-28  Daiki Ueno  <ueno@gnu.org>
2396         * epa-file.el
2397         (epa-file-cache-passphrase-for-symmetric-encryption):
2398         Document that this option has no effect with GnuPG 2.0 (bug#15552).
2400 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
2402         * image.el (defimage):
2403         (image-load-path): Doc fixes.
2405 2013-10-27  Alan Mackenzie  <acm@muc.de>
2407         Indent statements in macros following "##" correctly.
2408         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2409         Modify the "#" arm of a cond form to handle "#" and "##" operators.
2411 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2413         * linum.el (linum-update-window): Fix boundary test (bug#13446).
2415 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
2417         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2418         after `=' is probably a new expression.
2420 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2422         * man.el (man-imenu-title): New option.
2423         (Man-mode-map): Add menu.  (Bug#15722)
2424         (Man-mode): Add imenu to menu.
2426 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
2428         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2429         specific in what the first arg can be: a non-keyword word,
2430         string/regexp/percent literal opener, opening paren, or unary
2431         operator followed directly by word.
2433 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2435         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2436         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2437         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2438         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2439         Remove vars, they do not apply any more.
2440         (prolog-mode-abbrev-table): Remove redundant declaration.
2441         (prolog-upper-case-string, prolog-lower-case-string): Remove.
2442         (prolog-use-smie): Remove.
2443         (prolog-smie-rules): Add indentation rule for the if-then-else layout
2444         supported by prolog-electric-if-then-else-flag.
2445         (prolog-mode-variables, prolog-menu): Use setq-local.
2446         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2447         Remove binding to `Backspace' since this key doesn't exist anyway.
2448         Remove bindings for electric self-inserting keys.
2449         (prog-mode): Assume it's defined.
2450         (prolog-post-self-insert): New function.
2451         (prolog-mode): Use it.
2452         (prolog-indent-line, prolog-indent-level)
2453         (prolog-find-indent-of-matching-paren)
2454         (prolog-indentation-level-of-line, prolog-goto-comment-column)
2455         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2456         (prolog-goto-next-paren, prolog-in-string-or-comment)
2457         (prolog-tokenize, prolog-inside-mline-comment)
2458         (prolog-find-start-of-mline-comment): Remove functions.
2459         (prolog-find-unmatched-paren, prolog-clause-end)
2460         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2461         (prolog-electric--if-then-else): Rename from
2462         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2463         (prolog-tokenize-searchkey): Remove const.
2464         (prolog-clause-info): Use forward-sexp.
2465         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2466         (prolog-electric-if-then-else): Remove commands.
2467         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2468         for use in post-self-insert-hook.
2469         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2470         for use in post-self-insert-hook.
2471         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2472         for use in post-self-insert-hook.
2473         (prolog-electric--underscore): Rename from prolog-electric--underscore;
2474         adapt it for use in post-self-insert-hook.
2476 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
2478         * emacs-lisp/ert.el (ert-run-tests-interactively):
2479         Use `completing-read'.  (Bug#9756)
2481 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
2483         * simple.el (line-move): Call line-move-1 instead of
2484         line-move-visual when the current window hscroll is zero, but
2485         temporary-goal-column indicates we will need to hscroll as result
2486         of the movement.  (Bug#15712)
2488 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
2490         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2491         capitalization.  Use :visible instead of :active.
2492         Fix `ruby-indent-exp' reference.  Add menu items for the generic
2493         commands that are used with SMIE.
2494         (ruby-do-end-to-brace): Insert space after `{'.
2496 2013-10-25  John Anthony  <john@jo.hnanthony.com>
2498         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
2500         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
2502 2013-10-25  Glenn Morris  <rgm@gnu.org>
2504         * vc/vc.el (vc-print-log): Don't use a working revision unless
2505         one was explicitly specified.  (Bug#15322)
2507 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2509         * subr.el (add-to-list): Preserve return value in compiler-macro
2510         (bug#15692).
2512 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2514         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2515         result.  Ask user to retry using '-all' flag.  (Bug#15701)
2517 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2519         * emacs-lisp/smie.el: New smie-config system.
2520         (smie-config): New defcustom.
2521         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2522         (smie-config-guess, smie-config-save): New commands.
2523         (smie-config--mode-local, smie-config--buffer-local)
2524         (smie-config--trace, smie-config--modefuns): New vars.
2525         (smie-config--advice, smie-config--mode-hook)
2526         (smie-config--setter, smie-config-local, smie-config--get-trace)
2527         (smie-config--guess-value, smie-config--guess): New functions.
2528         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2529         text properties.  Treat "string fence" syntax like string syntax.
2531         * progmodes/sh-script.el (sh-use-smie): Change default.
2532         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2533         (sh-var-value): Simplify by CSE.
2534         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2535         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2536         is used.
2537         (sh-guess-basic-offset): Use cl-incf.
2538         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2540 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
2542         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2543         (bug#15699).
2545 2013-10-24  Glenn Morris  <rgm@gnu.org>
2547         * Makefile.in (abs_top_srcdir): Remove.
2548         (update-subdirs): Use relative path to update-subdirs.
2550 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
2552         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2553         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2554         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2555         Call unmsys--file-name before expand-file-name, not after it.
2557 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
2559         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2560         (ert-test-skipped): New error.
2561         (ert-skip, ert-stats-skipped): New defuns.
2562         (ert--skip-unless): New macro.
2563         (ert-test-skipped): New struct.
2564         (ert--run-test-debugger, ert-test-result-type-p)
2565         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2566         (ert--stats-set-test-and-result, ert-char-for-test-result)
2567         (ert-string-for-test-result, ert-run-tests-batch)
2568         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2569         Handle skipped tests.  (Bug#9803)
2571 2013-10-24  Glenn Morris  <rgm@gnu.org>
2573         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2575         * Makefile.in (abs_top_srcdir): New, set by configure.
2576         (update-subdirs): Correct build-aux location.
2578 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
2580         * vc/vc.el (vc-print-root-log): Always set `default-directory'
2581         value, whether we could auto-deduce `backend', or not.
2583         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2584         with parameters" example.  Simplify the "is it block or is it
2585         hash" check, but also make it more thorough.
2587 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
2589         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
2591 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2593         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2594         { if it is hanging.
2596         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2597         :before ";".
2599 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2601         * progmodes/compile.el (compilation-directory-matcher)
2602         (compilation-page-delimiter):
2603         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2605 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2607         * ido.el (ido-tidy): Handle read-only text.
2609 2013-10-23  Glenn Morris  <rgm@gnu.org>
2611         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2612         (emacs, compile, compile-always):
2613         Quote entities that might contain whitespace.
2614         (custom-deps, finder-data, autoloads): Use abs_lisp.
2615         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2616         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2617         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2619 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2621         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2622         Use `following-char'.
2624 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2626         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2627         * progmodes/ruby-mode.el (ruby-smie-rules):
2628         Remove corresponding workaround.  Fix indentation rule of ";" so it
2629         also applies when ";" is the parent.
2631 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2633         * frame.el (display-screens, display-pixel-height)
2634         (display-pixel-width, display-mm-width, display-backing-store)
2635         (display-save-under, display-planes, display-color-cells)
2636         (display-visual-class, display-monitor-attributes-list):
2637         Mention the optional ‘display’ argument in doc strings.
2639 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2641         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2642         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2644 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2646         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2647         TODO.  Add "." after " @ ".
2648         (ruby-smie--at-dot-call): New function.  Checks if point at method
2649         call with explicit target.
2650         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2651         to the method name tokens when it precedes them.
2652         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2653         (ruby-smie-rules): Add rule for indentation before and after "."
2654         token.
2656 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2658         * textmodes/remember.el (remember-diary-extract-entries):
2659         Avoid add-to-list.
2661         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2662         an instruction.
2664 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2666         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2667         (ruby-smie--implicit-semi-p): Add new operator chars.
2669         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2670         `smie-down-list'.
2671         (ruby-smie--args-separator-p): Check that there's no newline
2672         between method call and its arguments.
2674 2013-10-20  Alan Mackenzie  <acm@muc.de>
2676         Allow comma separated lists after Java "implements".
2678         * progmodes/cc-engine.el (c-backward-over-enum-header):
2679         Parse commas.
2680         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2681         from a "disallowed" list in enum fontification.
2683 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
2685         * startup.el (default-frame-background-mode): Remove unused defvar.
2687         * progmodes/verilog-mode.el (verilog-mode): Don't set
2688         comment-indent-function globally.
2690 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
2692         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2693         Move Info menu item creation to ns-win.el.
2695         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2696         in menu bar.
2698         * menu-bar.el: Move GNUStep specific menus...
2700         * term/ns-win.el (ns-initialize-window-system): ... to here.
2702 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2704         * simple.el (newline): Only run post-self-insert-hook when
2705         called interactively.
2707 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
2709         * icomplete.el (icomplete-with-completion-tables): Add :version.
2711 2013-10-19  Alan Mackenzie  <acm@muc.de>
2713         Fix fontification bugs with constructors and const.
2715         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2716         CASE 2) Remove the check for the absence of a suffix construct
2717         after a function declaration with only types (no identifiers) in
2718         the parentheses.  Also, accept a function declaration with just a
2719         type inside the parentheses, if this type can be positively
2720         recognised as such, or if a prefix keyword like "explicit" nails
2721         down the construct as a declaration.
2723 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
2725         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2726         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
2727         the problem whereby selecting a menu item that leads to a
2728         minibuffer prompt moves the cursor out of the minibuffer window,
2729         making it hard to type at the prompt.  Suggested by Stefan Monnier
2730         <monnier@iro.umontreal.ca>.
2732 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
2734         * menu-bar.el: Don't make Services menu.
2736 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2738         * ffap.el: Handle "/usr/include/c++/<version>" directories.
2739         (ffap-alist): Use ffap-c++-mode for c++-mode.
2740         (ffap-c++-path): New variable.
2741         (ffap-c++-mode): New function.
2743 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
2745         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
2747 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
2749         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2750         introduced on 2013-09-08, which results in an infinite loop
2751         requesting a password.
2753 2013-10-18  Glenn Morris  <rgm@gnu.org>
2755         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2757 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
2759         Sync with upstream verilog-mode revision 1a6ecec7.
2760         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2761         (verilog-mode-release-date): Remove.
2762         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2763         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2764         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2765         (verilog-auto-tieoff-ignore-regexp)
2766         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2767         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2768         (verilog-signals-with, verilog-dir-cache-preserving)
2769         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2770         Doc fixes.
2771         (verilog-case-fold): New option, to control case folding in
2772         regexp searches, bug597.
2773         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2774         (verilog-string-match-fold, verilog-in-paren-count)
2775         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2776         (verilog-at-close-struct-p): New functions.
2777         (verilog-beg-block-re-ordered, verilog-extended-case-re)
2778         (verilog-forward-sexp, verilog-set-auto-endcomments):
2779         (verilog-leap-to-case-head): Handle "unique0" case.
2780         (verilog-in-constraint-re): New constant.
2781         (verilog-keywords, verilog-type-font-keywords):
2782         Add some SystemVerilog 1800-2012 keywords.
2783         (verilog-label-be): Remove unimplemented argument, bug669.
2784         (verilog-batch-execute-func): When batch expanding clear
2785         create-lockfiles to prevent spurious user locks when a file ends
2786         up not changing.
2787         (verilog-calculate-indent, verilog-calc-1)
2788         (verilog-at-close-constraint-p, verilog-at-constraint-p)
2789         (verilog-do-indent): Fix indentation of nested constraints
2790         and structures.
2791         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2792         (verilog-auto-inst-param): Use verilog-string-match-fold.
2793         (verilog-read-inst-module-matcher):
2794         Fix AUTOINST on gate primitives with #1.
2795         (verilog-read-decls): Fix double-declaring user-defined typed signals.
2796         Reads all user-defined typed variables.
2797         (verilog-read-defines): Fix reading definitions inside comments, bug647.
2798         (verilog-signals-matching-regexp)
2799         (verilog-signals-not-matching-regexp, verilog-auto):
2800         Respect verilog-case-fold.
2801         (verilog-diff-report): Fix line count.
2802         (verilog-auto-assign-modport): Remove unused local `modi'.
2803         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2804         better handle multidimensional arrays.
2805         Fix packed array ports misadding bit index in AUTOINST, bug637.
2806         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2807         to not double-declare existing outputs and inputs, respectively.
2808         (verilog-template-map): Bind U to verilog-sk-uvm-component.
2809         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2810         (verilog-sk-uvm-component): New skeleton.
2811         (verilog-submit-bug-report): Add verilog-case-fold,
2812         remove verilog-mode-release-date.
2814 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
2816         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2817         as before.
2819 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
2821         * textmodes/remember.el (remember): Set buffer-offer-save in
2822         remember buffers (bug#13566).
2824 2013-10-18  Daniel Colascione  <dancol@dancol.org>
2826         When evaluating forms in ielm, direct standard output to ielm
2827         buffer.  Add new ielm-return-for-effect command.  Remove trailing
2828         whitespace throughout.
2830         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2831         (ielm-return-for-effect): New command.
2832         (ielm-send-input): Accept optional `for-effect' parameter.
2833         (ielm-eval-input): Accept optional `for-effect' parameter.
2834         Bind `standard-output' to stream we create using
2835         `ielm-standard-output-impl'.  Suppress printing result when
2836         `for-effect'.
2837         (ielm-standard-output-impl): New function.
2838         (inferior-emacs-lisp-mode): Explain new features in documentation.
2840 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
2842         Code cleanup.
2844         * net/tramp.el (tramp-debug-message): Do not check for connection
2845         buffer.
2846         (tramp-message): Use "vector" connection property.
2848         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2849         (tramp-equal-remote, tramp-eshell-directory-change)
2850         * net/tramp-adb.el (tramp-adb-handle-copy-file)
2851         (tramp-adb-handle-rename-file)
2852         * net/tramp-cmds.el (tramp-list-remote-buffers)
2853         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2854         * net/tramp-compat.el (tramp-compat-process-running-p)
2855         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2856         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2857         (tramp-gvfs-handle-rename-file)
2858         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2859         (tramp-set-file-uid-gid)
2860         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2861         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2862         of `file-remote-p'.
2864         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2865         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2866         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2867         (tramp-gw-open-network-stream): Suppress unrelated traces.
2869         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2870         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2871         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2872         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2873         connection property.
2875         * net/tramp-cache.el (top): Suppress traces when reading
2876         persistency file.
2878         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2879         Refactor common code.  Improve debug message.
2880         (tramp-maybe-open-connection)
2881         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2882         connection buffer too early.
2884         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2885         from `tramp-smb-actions-with-acl'.
2886         (tramp-smb-actions-set-acl): New defconst.
2887         (tramp-smb-handle-copy-directory)
2888         (tramp-smb-action-get-acl): New defun, renamed from
2889         `tramp-smb-action-with-acl'.
2890         (tramp-smb-action-set-acl): New defun.
2891         (tramp-smb-handle-set-file-acl): Rewrite.
2893 2013-10-17  Glenn Morris  <rgm@gnu.org>
2895         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2897 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * skeleton.el (skeleton-newline): Remove.
2900         (skeleton-internal-1): Use (insert "\n") instead.
2902         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2903         let-bindings.
2905         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2906         forward-sexp-function while we redo its job (bug#15613).
2908 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2910         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2911         represented by lists.
2913 2013-10-16  Glenn Morris  <rgm@gnu.org>
2915         * tmm.el (tmm--history): New dynamic variable.
2916         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2918 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2920         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2921         (tramp-smb-errors): Add error messages.
2922         (tramp-smb-actions-with-acl): New defconst.
2923         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2924         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2925         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2926         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2927         (tramp-smb-get-stat-capability): Fix tests.
2929 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2931         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2932         (bug#15580).
2934 2013-10-16  Glenn Morris  <rgm@gnu.org>
2936         * ansi-color.el (ansi-color-drop-regexp):
2937         Add 1J, 1K, 2K.  (Bug#15617)
2939         * files.el (hack-local-variables--warned-lexical): New.
2940         (hack-local-variables):
2941         Warn about misplaced lexical-binding.  (Bug#15616)
2943         * net/eww.el (eww-render): Always set eww-current-url,
2944         and update header line.  (Bug#15622)
2945         (eww-display-html): ... Rather than just doing it here.
2947 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2949         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2950         menu navigations commands.
2952 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2954         * progmodes/subword.el (subword-capitalize): Be careful when
2955         the search for [[:alpha:]] fails (bug#15580).
2957 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2959         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2960         to commands that scroll the menu.
2962 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2964         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2965         Handle methods ending with `?' and `!'.
2967 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2969         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2970         `japanese-cp932' to `cp932' to fix the problem where saving a
2971         source file written in Shift_JIS twice would end up having
2972         `coding: japanese-cp932' which Ruby could not recognize.
2973         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2974         in `ruby-encoding-map'.
2975         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2976         doesn't need to be explicitly declared in magic comment.
2977         (ruby-encoding-map): Add type declaration for better customize UI.
2979 2013-10-13  Glenn Morris  <rgm@gnu.org>
2981         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2982         Occur buffers are read-only.  http://bugs.debian.org/720775
2984         * emacs-lisp/authors.el (authors-fixed-entries):
2985         Comment out old alpha stuff.
2987 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2989         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2990         to `after-save-hook' instead of `before-save-hook'.
2991         (ruby-mode-set-encoding): Use the value of coding system used to
2992         write the file.  Call `basic-save-buffer-1' after modifying the
2993         buffer.
2995 2013-10-13  Alan Mackenzie  <acm@muc.de>
2997         Fix indentation/fontification of Java enum with
2998         "implements"/generic.
3000         * progmodes/cc-engine.el (c-backward-over-enum-header):
3001         Extracted from the three other places and enhanced to handle generics.
3002         (c-inside-bracelist-p): Uses new function above.
3003         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3004         function above.
3005         (c-font-lock-enum-tail): Uses new function above.
3007 2013-10-13  Kenichi Handa  <handa@gnu.org>
3009         * international/mule-cmds.el (select-safe-coding-system): Remove a
3010         superfluous condition in chekcing whether a coding system is safe
3011         or not.
3013 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
3015         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
3017 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
3019         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
3021 2013-10-13  Glenn Morris  <rgm@gnu.org>
3023         * menu-bar.el (menu-bar-update-buffers):
3024         Unify Buffers menu prompt string.  (Bug#15576)
3026         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
3028         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3029         Add some entries.
3030         (authors-fixed-entries): Use accented form of name.
3032 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3034         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3035         method calls (bug#15594).
3036         (ruby-smie--args-separator-p): New function.
3037         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3038         recognize paren-free method calls.
3040         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3041         internals of universal-argument.
3043 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
3045         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3046         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3047         dropped menu on second mouse click on the menu bar.
3049 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3051         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3052         (explicit-shell-file-name): Declare.
3053         (sh--vars-before-point, sh--cmd-completion-table): New functions.
3054         (sh-completion-at-point-function): New function.
3055         (sh-mode): Use it.
3056         (sh-smie--keyword-p): Remove unused argument.
3057         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3058         vars.
3059         (sh-set-shell): Always setup SMIE, even if we use the
3060         old indentation code.
3062 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
3064         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3065         cases of ? and =.
3066         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
3067         predicate would return nil are almost non-existent.
3068         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3070         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3071         cache also after commands that modify the buffer but don't move
3072         point.
3074 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3076         * env.el (substitute-env-in-file-name): New function.
3077         (substitute-env-vars): Extend the meaning of the optional arg.
3079 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
3081         * term/w32-win.el (dynamic-library-alist): Define separate lists
3082         of GIF DLLs for versions before and after 5.0.0 of giflib.
3083         (Bug#15531)
3085 2013-10-10  João Távora  <joaotavora@gmail.com>
3087         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3088         not locked, use last revision and current source as
3089         defaults.  (Bug#15569)
3091 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
3093         * menu-bar.el (menu-bar-open): Don't use popup-menu if
3094         menu-bar is hidden.
3096 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
3098         * window.el (pop-to-buffer-same-window): Fix doc-string.
3099         (Bug#15492)
3101 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3103         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3105 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
3107         * calendar/icalendar.el (icalendar-import-file):
3108         Fix interactive spec.  (Bug#15482)
3110 2013-10-10  Glenn Morris  <rgm@gnu.org>
3112         * desktop.el (desktop-save): Default to saving in .emacs.d,
3113         since PWD is no longer in desktop-path by default.  (Bug#15319)
3115         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3116         now that text mode has a menu with the same entry.
3117         (menu-bar-text-mode-auto-fill): Remove now unused func.
3118         * textmodes/text-mode.el (text-mode-map):
3119         Use auto-fill help text from menu-bar.el.
3121 2013-10-10  John Anthony  <john@jo.hnanthony.com>
3123         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
3125 2013-10-09  Juri Linkov  <juri@jurta.org>
3127         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3128         instead of this-command-keys.  Add universal-argument-more and
3129         universal-argument-minus to the list of prefix commands.  (Bug#15568)
3131 2013-10-09  Glenn Morris  <rgm@gnu.org>
3133         * vc/vc-svn.el (vc-svn-create-repo):
3134         Expand paths in file://... url.  (Bug#15446)
3136         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3137         Add some entries.
3138         (authors): Remove unused local variables.
3140 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3142         * profiler.el: Create a more coherent calltree from partial backtraces.
3143         (profiler-format): Hide the tail with `invisible' so that C-s can still
3144         find the hidden elements.
3145         (profiler-calltree-depth): Don't recurse so enthusiastically.
3146         (profiler-function-equal): New hash-table-test.
3147         (profiler-calltree-build-unified): New function.
3148         (profiler-calltree-build): Use it.
3149         (profiler-report-make-name-part): Indent the calltree less.
3150         (profiler-report-mode): Add visibility specs for profiler-format.
3151         (profiler-report-expand-entry, profiler-report-toggle-entry):
3152         Expand the whole subtree when provided with a prefix arg.
3154 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
3156         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3157         iuwu-mod token.
3158         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3159         hanging iuwu-mod token.
3160         (ruby-smie--forward-token): Do not include a dot after a token in
3161         that token.
3162         (ruby-smie--backward-token): Likewise.
3164 2013-10-08  Juri Linkov  <juri@jurta.org>
3166         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3167         to isearch-other-control-char.
3168         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3169         and isearch-post-command-hook to post-command-hook.
3170         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3171         and isearch-post-command-hook from post-command-hook.
3172         (isearch-unread-key-sequence)
3173         (isearch-reread-key-sequence-naturally)
3174         (isearch-lookup-scroll-key, isearch-other-control-char)
3175         (isearch-other-meta-char): Remove functions.
3176         (isearch-pre-command-hook, isearch-post-command-hook):
3177         New functions based on isearch-other-meta-char rewritten
3178         relying on the new behavior of overriding-terminal-local-map
3179         that does not replace the local keymaps any more.  (Bug#15200)
3181 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
3183         Support menus on text-mode terminals.
3184         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3185         functionality.
3187         * tooltip.el (tooltip-mode): Don't error out on TTYs.
3189         * menu-bar.el (popup-menu, popup-menu-normalize-position):
3190         Move here from mouse.el.
3191         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3192         and arrow keys.
3193         (tty-menu-navigation-map): New map for TTY menu navigation.
3195         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3197         * frame.el (display-mouse-p): Report text-mode mouse as available
3198         on w32.
3199         (display-popup-menus-p): Report availability if mouse is
3200         available; don't condition on window-system.
3202         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3203         (tty-menu-selected-face): New faces.
3205 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3207         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3208         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3209         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3210         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3211         New constants.
3212         (lisp-mode-variables): New `elisp' argument.
3213         (emacs-lisp-mode): Use it.
3214         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3215         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3217         * indent.el: Use lexical-binding.
3218         (indent-region): Add progress reporter.
3219         (tab-stop-list): Make it implicitly extend to infinity by repeating the
3220         last step.
3221         (indent--next-tab-stop): New function to implement this behavior.
3222         (tab-to-tab-stop, move-to-tab-stop): Use it.
3224 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
3226         * indent.el (indent-rigidly--current-indentation): New function.
3227         (indent-rigidly-map): New var.
3228         (indent-rigidly): Use it to provide interactive mode (bug#8196).
3230 2013-10-08  Bastien Guerry  <bzg@gnu.org>
3232         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3234 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3236         * progmodes/perl-mode.el: Use lexical-binding.
3237         Remove redundant :group args.
3238         (perl-nochange): Change default to be closer to other major modes's
3239         standard behavior.
3240         (perl-indent-line): Don't consider text on current line as a
3241         valid beginning of function from which to indent.
3243         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3244         with more than one argument (bug#15538).
3246         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3248         * vc/pcvs.el: Use lexical-binding.
3249         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3250         environment of `eval'.
3251         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3252         than a list of expressions.  Adjust callers.
3253         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3255 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
3257         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3258         case of the dot in a chained method call being on the following line.
3260 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3262         * electric.el (electric-indent-inhibit): New var.
3263         (electric-indent-post-self-insert-function): Use it.
3264         * progmodes/python.el (python-mode): Set it.
3266         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3267         open braces.
3269         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3271         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3272         (css-mode): Use electric-indent-chars.
3274         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3275         (font-lock-beg, font-lock-end): Move before first use.
3276         (nxml-mode): Use syntax-propertize-function.
3277         (nxml-after-change, nxml-after-change1): Adjust accordingly.
3278         (nxml-extend-after-change-region): Remove.
3279         * nxml/xmltok.el: Use lexical-binding.
3280         (xmltok-save): Use `declare'.
3281         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3282         * nxml/nxml-util.el: Use lexical-binding.
3283         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3284         Use `declare'.
3285         * nxml/nxml-ns.el: Use lexical-binding.
3286         (nxml-ns-save): Use `declare'.
3287         (nxml-ns-prefixes-for): Avoid add-to-list.
3288         * nxml/rng-match.el: Use lexical-binding.
3289         (rng--ipattern): Use cl-defstruct.
3290         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3291         (rng-cons-group-after, rng-subst-group-after)
3292         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3293         Use closures instead of `(lambda...).
3295 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
3297         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3298         of BEG and END.
3300         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3301         Use `tramp-handle-insert-file-contents'.
3302         (tramp-gvfs-handle-insert-file-contents): Remove function.
3304         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3305         Use `save-restriction' in order to keep markers.
3307         * net/trampver.el: Update release number.
3309 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3311         * progmodes/compile.el (compilation-parse-errors):
3312         Use compilation--put-prop.
3313         (compilation--ensure-parse): Check compilation-multiline.
3315         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3317         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3318         lexical-binding.
3320         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3322         * progmodes/ruby-mode.el: Fix recently added tests.
3323         (ruby-smie-grammar): Add - and +.
3324         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3325         (ruby-smie--backward-id): New functions.
3326         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3327         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
3328         any more.
3330 2013-10-07  Leo Liu  <sdl.web@gmail.com>
3332         * register.el (register-preview-delay)
3333         (register-preview-functions): New variables.
3334         (register-read-with-preview, register-preview)
3335         (register-describe-oneline): New functions.
3336         (point-to-register, window-configuration-to-register)
3337         (frame-configuration-to-register, jump-to-register)
3338         (number-to-register, view-register, insert-register)
3339         (copy-to-register, append-to-register, prepend-to-register)
3340         (copy-rectangle-to-register): Use register-read-with-preview to
3341         read register.  (Bug#15525)
3343 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
3345         * net/network-stream.el (network-stream-open-starttls): Don't add
3346         --insecure if it's already present, because that gnutls-cli
3347         rejects getting that parameter twice.
3349 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
3351         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3352         keyword, too.
3354 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
3356         * newcomment.el (comment-use-global-state): Change default value
3357         to t, mark obsolete (Bug#15251).
3358         (comment-beginning): In addition to `comment-to-syntax', check the
3359         value of `comment-use-global-state'.
3361 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3363         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3364         (ruby-comment-column): Follow the global default, by default.
3365         (ruby-smie-grammar): Add assignment syntax.
3366         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3367         open-paren, a comma, or a \.
3368         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3369         and line continuations.
3370         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3371         followed by implicit semi-colons.  Add rule for string concatenation
3372         and for indentation at BOB.
3373         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3375         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3376         calling next-sexp, since next-token may have skipped chars which
3377         next-sexp doesn't know should be skipped!
3379 2013-10-05  Leo Liu  <sdl.web@gmail.com>
3381         * progmodes/octave.el (octave-send-region):
3382         Call compilation-forget-errors.
3384 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
3386         * vc/vc-svn.el (vc-svn-find-admin-dir):
3387         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3388         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3389         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3390         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3392 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3394         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3396 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3398         * subr.el (read-passwd): Hide chars even when called within a context
3399         where after-change-functions is disabled (bug#15501).
3400         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3401         until we removed ourself from overriding-terminal-local-map.
3403 2013-10-04  Leo Liu  <sdl.web@gmail.com>
3405         * progmodes/octave.el (inferior-octave-mode):
3406         Call compilation-forget-errors.
3408 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
3410         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3412 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
3414         * net/secrets.el (secrets-create-collection): Add optional
3415         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
3416         dbus-call-method argument.  (Bug#15516)
3418 2013-10-04  Leo Liu  <sdl.web@gmail.com>
3420         * progmodes/octave.el (inferior-octave-error-regexp-alist)
3421         (inferior-octave-compilation-font-lock-keywords): New variables.
3422         (compilation-error-regexp-alist)
3423         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3424         (inferior-octave-mode): Use compilation-shell-minor-mode.
3426 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
3428         * minibuffer.el (completion--replace): Be careful that `end' might be
3429         a marker.
3431 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3433         Add support for package signature checking.
3434         * emacs-lisp/package.el (url-http-file-exists-p)
3435         (epg-make-context, epg-context-set-home-directory)
3436         (epg-verify-string, epg-context-result-for)
3437         (epg-signature-status, epg-signature-to-string)
3438         (epg-check-configuration, epg-configuration)
3439         (epg-import-keys-from-file): Declare.
3440         (package-check-signature): New user option.
3441         (package-unsigned-archives): New user option.
3442         (package-desc): Add `signed' field.
3443         (package-load-descriptor): Set `signed' field if .signed file exists.
3444         (package--archive-file-exists-p): New function.
3445         (package--check-signature): New function.
3446         (package-install-from-archive): Check package signature.
3447         (package--download-one-archive): Check archive signature.
3448         (package-delete): Remove .signed file.
3449         (package-import-keyring): New command.
3450         (package-refresh-contents): Import default keyring.
3451         (package-desc-status): Add "unsigned" status.
3452         (describe-package-1, package-menu--print-info)
3453         (package-menu-mark-delete, package-menu--find-upgrades)
3454         (package-menu--status-predicate): Support "unsigned" status.
3456 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3458         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3459         the new compilation scheme using the new byte-codes.
3461         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3462         (byte-pophandler): New byte codes.
3463         (byte-goto-ops): Adjust accordingly.
3464         (byte-compile--use-old-handlers): New var.
3465         (byte-compile-catch): Use new byte codes depending on
3466         byte-compile--use-old-handlers.
3467         (byte-compile-condition-case--old): Rename from
3468         byte-compile-condition-case.
3469         (byte-compile-condition-case--new): New function.
3470         (byte-compile-condition-case): New function that dispatches depending
3471         on byte-compile--use-old-handlers.
3472         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3473         when we can.
3475         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3476         Optimize under `condition-case' and `catch' if
3477         byte-compile--use-old-handlers is nil.
3478         (disassemble-offset): Handle new bytecodes.
3480 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3482         * subr.el (error): Use `declare'.
3483         (decode-char, encode-char): Use advertised-calling-convention instead
3484         of the docstring to discourage use of the `restriction' arg.
3486 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3488         * epg.el (epg-verify-file): Add a comment saying that it does not
3489         notify verification error as a return value nor a signal.
3490         (epg-verify-string): Ditto.
3492 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3494         * progmodes/compile.el (compilation-start): Try globbing the arg to
3495         `cd' (bug#15417).
3497 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
3499         Sync with Tramp 2.2.8.
3501         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3502         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3503         * net/trampver.el: Update release number.
3505 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
3507         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3508         and default-process-coding-system for darwin only.
3510 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3512         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3514 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
3516         * vc/vc-git.el (vc-git-grep): Disable pager.
3518 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
3520         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3521         Use :url instead of :homepage, as per
3522         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3524         * newcomment.el (comment-beginning): When `comment-use-syntax' is
3525         non-nil, use `syntax-ppss' (Bug#15251).
3527 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3529         * progmodes/octave.el (inferior-octave-startup-file):
3530         Prefer ~/.emacs.d/init_octave.m.
3532 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
3534         * emacs-lisp/package.el (package-desc-from-define):
3535         Accept additional arguments as plist, convert them to an alist and store
3536         them in the `extras' slot.
3537         (package-generate-description-file): Convert extras alist back to
3538         plist and append to the `define-package' form arguments.
3539         (package--alist-to-plist): New function.
3540         (package--ac-desc): Add `extras' slot.
3541         (package--add-to-archive-contents): Check if the archive-contents
3542         vector is long enough, and if it is, pass its `extras' slot value
3543         to `package-desc-create'.
3544         (package-buffer-info): Call `lm-homepage', pass the returned value
3545         to `package-desc-from-define'.
3546         (describe-package-1): Render the homepage button (Bug#13291).
3548         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3549         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3551 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
3553         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3554         and default-process-coding-system to utf-8-unix (Bug#15402).
3556 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
3558         * subr.el (looking-back): Do not recommend using looking-back.
3560 2013-09-28  Alan Mackenzie  <acm@muc.de>
3562         Fix indentation/fontification of Java enum with "implements".
3564         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3565         regexp which matches "implements", etc., in Java.
3566         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3567         specifier clauses coming after "enum".
3568         * progmodes/cc-fonts.el (c-font-lock-declarations)
3569         (c-font-lock-enum-tail): Check for extra specifier clauses coming
3570         after "enum".
3572 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
3574         * faces.el (region): Change ns_selection_color to
3575         ns_selection_fg_color, add ns_selection_bg_color.
3577 2013-09-28  Leo Liu  <sdl.web@gmail.com>
3579         * progmodes/octave.el (inferior-octave-completion-table)
3580         (inferior-octave-completion-at-point): Minor tweaks.
3582         * textmodes/ispell.el (ispell-lookup-words): Rename from
3583         lookup-words.  (Bug#15460)
3584         (lookup-words): Obsolete.
3585         (ispell-complete-word, ispell-command-loop): All uses changed.
3587 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3589         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3590         (octave-mode-menu): Add octave-send-buffer.
3591         (octave-send-buffer): New function.
3593 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3595         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3596         octave-lookfor.
3597         (octave-mode-menu): Add octave-lookfor.
3598         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3599         octave-lookfor.
3600         (octave-lookfor): New function.
3602 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3604         * emacs-lisp/cl-macs.el:
3605         (cl--loop-destr-temps): Remove.
3606         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3607         its convention.
3608         (cl--loop-set-iterator-function): New function.
3609         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3610         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3611         Bind `it' with `let' instead of substituting it with `cl-subst'.
3612         (cl--unused-var-p): New function.
3613         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3614         Eliminate some unused variable warnings (bug#15326).
3616 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3618         * doc-view.el (doc-view-scale-reset): Rename from
3619         `doc-view-reset-zoom-level'.
3620         (doc-view-scale-adjust): New command.
3621         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3622         `doc-view-scale-adjust'.
3624 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3626         * doc-view.el (doc-view-reset-zoom-level): New command.
3627         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3628         zoom commands (bug#15466).
3630 2013-09-26  Kenichi Handa  <handa@gnu.org>
3632         * international/quail.el (quail-help): Make it not a command.
3634 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3636         * minibuffer.el (completion-all-sorted-completions): Make args
3637         optional as they are.
3639 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3641         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3642         specs are and that they're not evaluated.
3644 2013-09-24  Sam Steingold  <sds@gnu.org>
3646         * midnight.el (clean-buffer-list-kill-regexps)
3647         (clean-buffer-list-kill-buffer-names): Update for the new Man
3648         buffer naming which includes the object name.
3650 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3652         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3653         (eshell-parse-command, eshell-parse-pipeline): Use it since
3654         eshell-separate-commands requires a dynamic scoped var.
3655         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3657 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3659         * autoinsert.el (auto-insert-alist): Make the value of
3660         lexical-binding match its file setting.
3662 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3664         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3666         * autoarg.el (autoarg-kp-digit-argument):
3667         * electric.el (Electric-command-loop):
3668         * kmacro.el (kmacro-step-edit-insert):
3669         Do not set universal-argument-num-events.
3671 2013-09-22  Leo Liu  <sdl.web@gmail.com>
3673         * files.el (interpreter-mode-alist): Add octave.
3675 2013-09-21  Alan Mackenzie  <acm@muc.de>
3677         C++: fontify identifier in declaration following "public:" correctly.
3678         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3679         to match "public", etc.
3680         (c-decl-prefix-re): Add ":" into the C++ value.
3681         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3682         bit.  Add a check for a ":" preceded by "public", etc.
3684 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
3686         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3687         recognized by GDB 7.5 and later.
3689 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
3691         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3693 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3695         * subr.el (internal--call-interactively): New const.
3696         (called-interactively-p): Use it (bug#3984).
3698 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
3700         * vc/pcvs.el (cvs-mode-ignore):
3701         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3702         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3704 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3706         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
3707         (eshell-ls-orig-insert-directory): Remove.
3708         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
3709         (eshell-ls-use-in-dired): Use advice-add/remove.
3710         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3711         Add `orig-fun' arg for use in :around advice.
3712         Make it check (redundantly) eshell-ls-use-in-dired.
3714 2013-09-19  Glenn Morris  <rgm@gnu.org>
3716         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3718         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3720         * emacs-lisp/eieio.el (class-parent): Undo previous change.
3722 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
3724         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3725         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3726         (tramp-get-remote-python): New defuns.
3727         (tramp-get-remote-uid-with-perl)
3728         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
3729         contributed by yary <not.com@gmail.com> (tiny change).
3730         (tramp-get-remote-uid-with-python)
3731         (tramp-get-remote-gid-with-python): New defuns.  Python code
3732         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3733         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3735 2013-09-19  Glenn Morris  <rgm@gnu.org>
3737         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3739         * eshell/em-unix.el (eshell-remove-entries):
3740         Rename argument to avoid name-clash with global `top-level'.
3742         * eshell/esh-proc.el (eshell-kill-process-function):
3743         Remove eshell-reset-after-proc from eshell-kill-hook if present.
3744         (eshell-reset-after-proc): Remove unused arg `proc'.
3746         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3747         (directory-files-and-attributes): Mark unused arg.
3749         * eshell/em-unix.el (eshell-remove-entries):
3750         Remove unused arg `path'.  Update callers.
3752         * eshell/em-hist.el (eshell-hist-parse-arguments):
3753         Remove unused arg `silent'.  Update callers.
3755         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3756         Fix (f)boundp mix-up.
3758         * eshell/em-smart.el (eshell-smart-scroll-window)
3759         (eshell-disable-after-change):
3760         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3762 2013-09-18  Alan Mackenzie  <acm@muc.de>
3764         Fix fontification of type when followed by "const".
3765         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3766         "known" types from fontification.
3768 2013-09-18  Glenn Morris  <rgm@gnu.org>
3770         * emacs-lisp/chart.el (x-display-color-cells): Declare.
3771         (chart-face-list): Drop Emacsen without display-color-p.
3773         * net/eww.el (libxml-parse-html-region): Declare.
3774         (eww-display-html): Explicit error if no libxml2 support.
3776         * doc-view.el (doc-view-mode): Silence --without-x compilation.
3778         * image.el (image-type-from-buffer, image-multi-frame-p):
3779         Remove --without-x warning/error.
3781         * mouse.el (mouse-yank-primary):
3782         * term.el (term-mouse-paste):
3783         Reorder to silence --without-x compilation.
3785         * mpc.el (doc-view-mode): Silence --without-x compilation.
3787         * mail/rmailmm.el (rmail-mime-set-bulk-data):
3788         Silence --without-x compilation.
3790         * progmodes/gud.el (gud-find-file, gud-mode):
3791         Silence --without-x compilation.
3792         (tooltip-mode): Declare.
3794         * wdired.el (dired-backup-overwrite): Remove declaration.
3795         (wdired-mode-map): Add doc string.
3797         * custom.el (x-get-resource): Declare.
3799         * eshell/em-glob.el (ange-cache):
3800         * eshell/em-unix.el (ange-cache): Declare.
3802         * faces.el (x-display-list, x-open-connection, x-get-resource):
3803         Declare.
3805         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3806         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3807         Declare.
3809         * frame.el (x-display-grayscale-p, x-display-name): Declare.
3811         * net/gnutls.el (gnutls-log-level): Declare.
3813         * net/shr.el (image-size, image-animate): Declare.
3815         * simple.el (font-info): Declare.
3817         * subr.el (x-popup-dialog): Declare.
3819         * term/common-win.el (x-select-enable-primary)
3820         (x-last-selected-text-primary, x-last-selected-text-clipboard):
3821         Declare.
3823         * term/ns-win.el (x-handle-args): Declare.
3825         * term/x-win.el (x-select-enable-clipboard): Declare.
3827         * term/w32-win.el (create-default-fontset): Declare.
3829         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3830         Declare.
3832         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3833         (fit-frame-to-buffer): Explicit error if --without-x.
3834         (mouse-autoselect-window-select): Silence compiler.
3836         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3838         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3839         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3840         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3841         * eshell/esh-util.el (eshell-sublist):
3842         Remove unused local variables.
3844         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3846         * textmodes/two-column.el: Make 2C-split work for --without-x.
3847         (scroll-bar-columns): Autoload.
3848         (top-level): Require fringe when compiling.
3850 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3852         * subr.el (add-hook): Robustify to handle closure as well.
3854 2013-09-17  Glenn Morris  <rgm@gnu.org>
3856         * simple.el (messages-buffer-mode-map): Unbind "g".
3858 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3860         * help-mode.el (help-mode-finish): Use derived-mode-p.
3861         Remove obsolete highlighting.
3863         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3864         special-mode.
3865         (life): Let-bind inhibit-read-only.
3866         (life-setup): Avoid `setq'.  Use `life-mode'.
3868         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3869         which should not be needed any more.
3870         (package-menu-refresh, package-menu-describe-package): Use user-error.
3872         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3873         (eshell-post-rewrite-command-hook): Make obsolete.
3874         (eshell-parse-command): Simplify.
3875         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3876         (eshell--cmd): Declare.
3877         (eshell-parse-pipeline): Remove unused var `final-p'.
3878         Pass a dynvar to eshell-post-rewrite-command-hook.
3879         Implement the new eshell-post-rewrite-command-function.
3880         (eshell-invoke-directly): Remove unused arg `input'.
3881         * eshell/esh-io.el (eshell-io-initialize):
3882         Use eshell-post-rewrite-command-function (bug#15399).
3883         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3884         adjust to new calling convention.
3885         (eshell-create-handles): Rename args to avoid clashing with dynvar
3886         `standard-output'.
3888 2013-09-17  Glenn Morris  <rgm@gnu.org>
3890         * simple.el (messages-buffer-mode): New major mode.
3891         (messages-buffer): New function.
3892         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3893         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3894         (ert-run-test): Use `messages-buffer' function.
3895         (ert--force-message-log-buffer-truncation): Ignore read-only.
3896         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3897         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3899 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3901         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3903         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3905 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3907         * icomplete.el (icomplete-in-buffer): New var.
3908         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3909         vars and replace them with functions.
3910         (icomplete-minibuffer-setup): Adjust accordingly.
3911         (icomplete--completion-table, icomplete--completion-predicate)
3912         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3913         New functions.
3914         (icomplete-forward-completions, icomplete-backward-completions)
3915         (icomplete-simple-completing-p, icomplete-exhibit)
3916         (icomplete-completions): Use them.
3917         (icomplete--in-region-buffer): New var.
3918         (icomplete--in-region-setup): New function.
3919         (icomplete-mode): Use it.
3921         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3922         (bug#15379).
3923         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3924         return args and options.
3925         (eshell-eval-using-options): Use the new return value of
3926         eshell--do-opts to set the options's vars in their scope.
3927         (eshell--set-option): Rename from eshell-set-option.
3928         Add arg `opt-vals'.
3929         (eshell--process-option): Rename from eshell-process-option.
3930         Add arg `opt-vals'.
3931         (eshell--process-args): Use an `opt-vals' alist to store the options's
3932         values during their processing and return them additionally to the
3933         remaining args.
3935 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3937         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3938         continuation character an operator, as far as indentation is
3939         concerned (Bug#15369).
3941 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3943         * window.el (window--state-put-2): Don't process buffer state
3944         when buffer doesn't exist any more (Bug#15382).
3946 2013-09-15  Glenn Morris  <rgm@gnu.org>
3948         * eshell/em-unix.el (eshell/rm):
3949         Make -f ignore missing files.  (Bug#15373)
3951         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3952         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3953         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3955 2013-09-14  Glenn Morris  <rgm@gnu.org>
3957         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3959 2013-09-13  Glenn Morris  <rgm@gnu.org>
3961         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3962         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3964 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3966         * frame.el (x-focus-frame): Mark as declared in frame.c.
3968 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3970         * ls-lisp.el: Use advice-add.
3971         (original-insert-directory): Remove.
3972         (ls-lisp--insert-directory): Rename from insert-directory; add
3973         `orig-fun' argument.
3974         (insert-directory): Advise.
3976 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3978         * term.el (term-emulate-terminal): Decode the command string
3979         before passing it to term-command-hook.  (Bug#15337)
3981 2013-09-13  Glenn Morris  <rgm@gnu.org>
3983         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3985         * eshell/esh-ext.el (eshell-search-path): Declare.
3987         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3988         Otherwise an error occurs if eshell-dirs module not loaded.
3990         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3992 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3994         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3995         `tramp-check-proper-host'.  Check for a valid method name.
3997         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3998         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3999         * net/tramp-sh.el (tramp-maybe-open-connection):
4000         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4002         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4003         also for hash values.
4005 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4007         * term/ns-win.el (parameters): Don't declare as dynamic.
4008         (before-make-frame-hook): Don't add ineffective function.
4010         * eshell/*.el: Use lexical-binding (bug#15231).
4012 2013-09-12  Kenichi Handa  <handa@gnu.org>
4014         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4016 2013-09-12  Glenn Morris  <rgm@gnu.org>
4018         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4019         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4021         * subr.el (do-after-load-evaluation): Also give compiler warnings
4022         when obsolete files are used (except by obsolete files).
4024         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4025         in the status output, assume `filename' is the first.  (Bug#15322)
4027         * vc/vc.el (vc-deduce-fileset): Doc fix.
4029         * calc/calc-help.el (Info-goto-node):
4030         * progmodes/cperl-mode.el (Info-find-node):
4031         * vc/ediff.el (Info-goto-node): Update declarations.
4033         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4035         * vc/vc-bzr.el (vc-compilation-mode): Declare.
4036         (vc-bzr-pull): Require vc-dispatcher.
4037         * vc/vc-git.el (vc-compilation-mode): Declare.
4038         (vc-git-pull): Require vc-dispatcher.
4040         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4042         * progmodes/octave.el (help-button-action): Declare.
4044         * shell.el (shell-directory-tracker): Output error as a message
4045         rather than just returning it as a string.
4046         (shell-process-pushd): Remove useless use of message.
4048         * dframe.el (dframe-timer-fn):
4049         * files.el (dir-locals-read-from-file):
4050         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4051         (mpc-format):
4052         * reveal.el (reveal-post-command):
4053         * saveplace.el (load-save-place-alist-from-file):
4054         * shell.el (shell-resync-dirs):
4055         * w32-common-fns.el (x-get-selection-value):
4056         * emacs-lisp/copyright.el (copyright-find-copyright):
4057         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4058         * emulation/tpu-edt.el (tpu-copy-keyfile):
4059         * play/bubbles.el (bubbles--mark-neighbourhood):
4060         * progmodes/executable.el
4061         (executable-make-buffer-file-executable-if-script-p):
4062         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4064 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4066         Cleanup Eshell to rely less on dynamic scoping.
4067         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4068         last-value, and ext-command here.  Bind `args' closer to `body'.
4069         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4070         (eshell--args): Declare new dynamic var.
4071         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
4072         last-value, and ext-command.  Pass `args' to `body'.
4073         (eshell-process-args): Bind eshell--args.
4074         (eshell-set-option): Use eshell--args.
4075         * eshell/eshell.el (eshell): Use derived-mode-p.
4076         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4077         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4078         (eshell-glob-function): Declare.
4079         * eshell/esh-util.el: Require cl-lib.
4080         (eshell-read-hosts-file): Avoid add-to-list.
4081         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4082         `err'.
4083         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4084         Declare.
4085         (eshell/diff): Remove unused var `err'.
4086         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4087         `killflag'.
4088         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4089         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4090         first use.
4091         * eshell/em-glob.el (eshell-glob-matches, message-shown):
4092         Move declaration before first use.
4093         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4094         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4095         rely on cl-return.
4097 2013-09-12  Glenn Morris  <rgm@gnu.org>
4099         * term/ns-win.el (global-map): Remove binding for ispell-next,
4100         deleted 1999-05-29.  (Bug#15357)
4102 2013-09-11  Glenn Morris  <rgm@gnu.org>
4104         * echistory.el (electric-command-history): Remove call to deleted func.
4106         * play/landmark.el (landmark-mode): Fix typos.
4108         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4109         Check cvs-sort-ignore-file is bound.
4111         * savehist.el: No need for cl when compiling on Emacs.
4113 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4115         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4116         (bug#15338).
4117         (eshell-self-insert-command, eshell-send-invisible):
4118         Remove unused argument.
4119         (eshell-handle-control-codes): Remove unused var `orig'.
4120         Avoid delete-backward-char.
4122         * files.el (set-auto-mode): Simplify a bit further.
4124 2013-09-11  Glenn Morris  <rgm@gnu.org>
4126         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4127         (set-auto-mode): Don't regexp-quote elements.
4128         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4129         * progmodes/cc-mode.el (interpreter-mode-alist):
4130         * progmodes/ruby-mode.el (interpreter-mode-alist):
4131         Revert previous change.
4133 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4135         * play/snake.el (snake-mode):
4136         * play/mpuz.el (mpuz-mode):
4137         * play/landmark.el (lm-mode):
4138         * play/blackbox.el (blackbox-mode):
4139         * play/5x5.el (5x5-mode):
4140         * obsolete/options.el (Edit-options-mode):
4141         * net/quickurl.el (quickurl-list-mode):
4142         * net/newst-treeview.el (newsticker-treeview-mode):
4143         * mail/rmailsum.el (rmail-summary-mode):
4144         * mail/mspools.el (mspools-mode):
4145         * locate.el (locate-mode):
4146         * ibuffer.el (ibuffer-mode):
4147         * emulation/ws-mode.el (wordstar-mode):
4148         * emacs-lisp/debug.el (debugger-mode):
4149         * array.el (array-mode):
4150         * net/eudc.el (eudc-mode): Use define-derived-mode.
4151         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4152         Move initialization into declaration.
4153         (mairix-searches-mode): Use define-derived-mode.
4154         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4155         (eudc-edit-hotlist): Use dolist.
4156         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4157         (Man-mode): Use define-derived-mode.
4158         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4159         (Info-edit-mode): Use define-derived-mode.
4160         (Info-cease-edit): Use Info-mode.
4161         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4162         into declaration.
4163         (eshell-mode): Use define-derived-mode.
4164         * chistory.el (command-history-mode-map): Rename from
4165         command-history-map.
4166         (command-history-mode): Use define-derived-mode.
4167         (Command-history-setup): Remove function.
4168         * calc/calc.el (calc-trail-mode-map): New var.
4169         (calc-trail-mode): Use define-derived-mode.
4170         (calc-trail-buffer): Set calc-main-buffer manually.
4171         * bookmark.el (bookmark-insert-annotation): New function.
4172         (bookmark-edit-annotation): Use it.
4173         (bookmark-edit-annotation-mode): Make it a proper major mode.
4174         (bookmark-send-edited-annotation): Use derived-mode-p.
4175         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4176         closer to its ideal place.  Use \' to match EOS.
4178         * profiler.el (profiler-calltree-find): Use function-equal.
4180 2013-09-10  Glenn Morris  <rgm@gnu.org>
4182         * files.el (interpreter-mode-alist): Convert to regexps.
4183         (set-auto-mode): Adapt for this.  (Bug#15306)
4184         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4185         Comment out unused variable.
4186         * progmodes/cc-mode.el (interpreter-mode-alist):
4187         * progmodes/python.el (interpreter-mode-alist):
4188         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4189         * progmodes/sh-script.el (sh-set-shell):
4190         No longer use interpreter-mode-alist to get list of shells.
4192         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4194 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4196         * simple.el: Use set-temporary-overlay-map for universal-argument.
4197         (universal-argument-map): Don't use default-bindings (bug#15317).
4198         Bind switch-frame explicitly.  Replace universal-argument-minus with
4199         a conditional binding.
4200         (universal-argument-num-events, saved-overriding-map): Remove.
4201         (restore-overriding-map): Remove.
4202         (universal-argument--mode): Rename from save&set-overriding-map,
4203         and rewrite.
4204         (universal-argument, universal-argument-more, negative-argument)
4205         (digit-argument): Adjust accordingly.
4206         (universal-argument-minus): Remove.
4207         (universal-argument-other-key): Remove.
4209         * subr.el (with-demoted-errors): Add `format' argument.
4211 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
4213         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
4214         `tramp-cleanup-connection'.
4216         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4217         parameters KEEP-DEBUG and KEEP-PASSWORD.
4219         * net/tramp.el (tramp-file-name-handler):
4220         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4221         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4222         (tramp-maybe-open-connection):
4223         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4224         Use `tramp-cleanup-connection'.
4226         * net/tramp-sh.el (tramp-maybe-open-connection):
4227         Catch 'uname-changed inside the progress reporter.
4229 2013-09-10  Glenn Morris  <rgm@gnu.org>
4231         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
4233         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4234         returns "alternate access method" in mode (eg "-rw-r--r--.").
4236 2013-09-08  Glenn Morris  <rgm@gnu.org>
4238         * saveplace.el (load-save-place-alist-from-file):
4239         Demote errors.  (Bug#15305)
4241 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
4243         Improve compatibility with older Emacsen, and XEmacs.
4245         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4246         only if it is bound.  It isn't for XEmacs.
4247         (with-tramp-progress-reporter): Do not let-bind `result'.
4248         This yields to scoping errors in XEmacs.
4249         (tramp-handle-make-auto-save-file-name): New function, moved from
4250         tramp-sh.el.
4252         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4253         for `make-auto-save-file-name'.
4254         (tramp-adb--gnu-switches-to-ash):
4255         Use `tramp-compat-replace-regexp-in-string'.
4257         * net/tramp-cache.el (tramp-cache-print): Call
4258         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
4260         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4261         bound.  It isn't for XEmacs.
4263         * net/tramp-compat.el (tramp-compat-copy-file):
4264         Catch `wrong-number-of-arguments' error.
4265         (tramp-compat-replace-regexp-in-string): New defun.
4267         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4268         for `make-auto-save-file-name'.
4269         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4270         `copy-file'.
4271         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4272         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4273         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4275         * net/tramp-gw.el (tramp-gw-open-network-stream):
4276         Use `tramp-compat-replace-regexp-in-string'.
4278         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4279         Call `tramp-handle-make-auto-save-file-name'.
4280         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4281         (tramp-sh-file-gvfs-monitor-dir-process-filter)
4282         (tramp-sh-file-inotifywait-process-filter):
4283         Use `tramp-compat-replace-regexp-in-string'.
4284         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4286         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4287         for `make-auto-save-file-name'.
4288         (tramp-smb-handle-copy-directory):
4289         Call `tramp-compat-replace-regexp-in-string'.
4290         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4291         (tramp-smb-handle-copy-file): Improve error message.
4292         (tramp-smb-handle-rename-file): Rename directly only in case
4293         `newname' does not exist yet.  This is a restriction of smbclient.
4294         (tramp-smb-maybe-open-connection): Rerun the function only when
4295         `auth-sources' is non-nil.
4297 2013-09-08  Kenichi Handa  <handa@gnu.org>
4299         * international/characters.el: Set category "^" (Combining) for
4300         more characters.
4302 2013-09-07  Alan Mackenzie  <acm@muc.de>
4304         Correctly fontify Java class constructors.
4305         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4306         in Java Mode.
4307         (c-recognize-typeless-decls): Set the Java value to t.
4308         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4309         While handling a "(", add a check for, effectively, Java, and handle a
4310         "typeless" declaration there.
4312 2013-09-07  Roland Winkler  <winkler@gnu.org>
4314         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4315         field subtitle for entry type book.
4317 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4319         * minibuffer.el: Make minibuffer-complete call completion-in-region
4320         rather than other way around.
4321         (completion--some, completion-pcm--find-all-completions):
4322         Don't delay signals when debugging.
4323         (minibuffer-completion-contents): Beware fields within the
4324         minibuffer contents.
4325         (completion-all-sorted-completions): Use defvar-local.
4326         (completion--do-completion, completion--cache-all-sorted-completions)
4327         (completion-all-sorted-completions, minibuffer-force-complete):
4328         Add args `beg' and `end'.
4329         (completion--in-region-1): New fun, extracted from minibuffer-complete.
4330         (minibuffer-complete): Use completion-in-region.
4331         (completion-complete-and-exit): New fun, extracted from
4332         minibuffer-complete-and-exit.
4333         (minibuffer-complete-and-exit): Use it.
4334         (completion--complete-and-exit): Rename from
4335         minibuffer--complete-and-exit.
4336         (completion-in-region--single-word): New function, extracted from
4337         minibuffer-complete-word.
4338         (minibuffer-complete-word): Use it.
4339         (display-completion-list): Make `common-substring' argument obsolete.
4340         (completion--in-region): Call completion--in-region-1 instead of
4341         minibuffer-complete.
4342         (completion-help-at-point): Pass boundaries to
4343         minibuffer-completion-help as args rather than via an overlay.
4344         (completion-pcm--string->pattern): Use `any-delim'.
4345         (completion-pcm--optimize-pattern): New function.
4346         (completion-pcm--pattern->regex): Handle `any-delim'.
4347         * icomplete.el (icomplete-forward-completions)
4348         (icomplete-backward-completions, icomplete-completions):
4349         Adjust calls to completion-all-sorted-completions and
4350         completion--cache-all-sorted-completions.
4351         (icomplete-with-completion-tables): Default to t.
4352         * emacs-lisp/crm.el (crm--current-element): Rename from
4353         crm--select-current-element.  Don't put an overlay but return the
4354         boundaries instead.
4355         (crm--completion-command): Take two new args to bind to the boundaries.
4356         (crm-completion-help): Adjust accordingly.
4357         (crm-complete): Use completion-in-region.
4358         (crm-complete-word): Use completion-in-region--single-word.
4359         (crm-complete-and-exit): Use completion-complete-and-exit.
4361 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4363         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4364         than dynamically.
4366 2013-09-06  Juri Linkov  <juri@jurta.org>
4368         * info.el (Info-display-images-node): When image file doesn't exist
4369         display text version of the image if it's provided in the Info file.
4370         Otherwise, display the location of missing image from SRC attribute.
4371         Add help-echo text property from ALT attribute.  (Bug#15279)
4373 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4375         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4376         (edit-abbrevs-mode): Use define-derived-mode.
4378         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4379         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4380         that it's defined.
4381         (epa-key-list-mode, epa-key-mode, epa-info-mode):
4382         Use define-derived-mode.
4384         * epg.el (epg-start-encrypt): Minor CSE simplification.
4386 2013-09-06  William Xu  <william.xwl@gmail.com>
4388         * arc-mode.el: Add support for 7za (bug#15264).
4389         (archive-7z-program): New var.
4390         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4391         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4392         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4394 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
4396         Remove URL syntax.
4398         * net/tramp.el (tramp-syntax, tramp-prefix-format)
4399         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4400         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4401         (tramp-postfix-host-format, tramp-file-name-regexp)
4402         (tramp-completion-file-name-regexp)
4403         (tramp-completion-dissect-file-name)
4404         (tramp-handle-substitute-in-file-name): Remove 'url case.
4405         (tramp-file-name-regexp-url)
4406         (tramp-completion-file-name-regexp-url): Remove constants.
4408 2013-09-06  Glenn Morris  <rgm@gnu.org>
4410         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
4412 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
4414         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4415         keywords" below "here-doc beginnings" (Bug#15270).
4417 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4419         * subr.el (pop): Use `car-safe'.
4420         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4421         to detect unused `pop' return value.
4423         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4424         var `block-regexp'.
4425         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4426         (python-fill-string): Remove unused var `marker'.
4427         (python-skeleton-add-menu-items): Remove unused var `items'.
4429         * international/mule-cmds.el: Require CL.
4430         (find-coding-systems-for-charsets): Avoid add-to-list.
4431         (sanitize-coding-system-list): New function, extracted from
4432         select-safe-coding-system-interactively.
4433         (select-safe-coding-system-interactively): Use it.
4434         (read-input-method-name): Accept symbols for `default'.
4436         * emacs-lisp/advice.el (defadvice): Add indent rule.
4438 2013-09-05  Daniel Hackney  <dan@haxney.org>
4440         * dired-x.el:
4441         * net/ange-ftp.el:
4442         * net/browse-url.el:
4443         * net/dbus.el:
4444         * net/eudc.el:
4445         * net/eudcb-ldap.el:
4446         * net/eww.el:
4447         * net/imap.el:
4448         * printing.el:
4449         * vc/ediff-diff.el:
4450         * vc/ediff-init.el:
4451         * vc/ediff-merg.el:
4452         * vc/ediff-mult.el:
4453         * vc/ediff-util.el:
4454         * vc/ediff-wind.el:
4455         * vc/ediff.el:
4456         * vc/emerge.el:
4457         * vc/pcvs.el:
4458         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4459         byte compiler.  Remove some unused let-bound variables.
4461 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4463         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4464         a "ref-cell", since it gets better optimized (bug#14883).
4466 2013-09-05  Glenn Morris  <rgm@gnu.org>
4468         * progmodes/cc-awk.el (c-forward-sws): Declare.
4470 2013-09-04  Glenn Morris  <rgm@gnu.org>
4472         * generic-x.el [rul-generic-mode]: Require cc-mode.
4473         (c++-mode-syntax-table): Declare.
4474         (rul-generic-mode-syntax-table): Init in the defvar.
4476 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4478         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4479         (vc-do-command, vc-set-async-update):
4480         * vc/vc-mtn.el (vc-mtn-dir-status):
4481         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4482         (vc-hg-pull, vc-hg-merge-branch):
4483         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4484         (vc-git-merge-branch):
4485         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4486         (vc-cvs-dir-status-files):
4487         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4488         (vc-bzr-dir-status-files):
4489         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4490         * vc/vc-annotate.el: Use lexical-binding.
4491         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4492         (vc-sentinel-movepoint): Declare.
4493         (vc-annotate): Don't use `goto-line'.
4494         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4495         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4496         (vc-sentinel-movepoint): Declare.
4497         * vc/vc-svn.el: Use lexical-binding.
4498         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4499         * vc/vc-sccs.el:
4500         * vc/vc-rcs.el: Use lexical-binding.
4502         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4503         `deleted'.  Don't drop errors silently.
4505         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4507 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
4509         * vc/vc.el (vc-ignore): Rewrite.
4510         (vc-default-ignore): New function.
4511         (vc-default-ignore-completion-table): Use find-ignore-file.
4513         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4514         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4515         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4516         Remove.  Most code moved to vc.el.
4518 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4521         * net/tramp-smb.el (tramp-smb-get-file-entries):
4522         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4523         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4525         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4526         Update call to it.
4527         (eww-change-select): Remove unused var `properties'.
4528         (eww-make-unique-file-name): Remove unused var `base'.
4530         * finder.el (finder-compile-keywords): Don't mess with windows.
4532         * calculator.el (calculator-funcall): Fix typo in last change.
4534         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4536         * emacs-lisp/package.el (package-activate-1): Don't let a missing
4537         <pkg>-autoloads.el file stop us.
4539         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4540         warnings, and factor out common code.
4542 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
4544         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4545         two-character operators and whether the character preceding them
4546         changes their meaning (Bug#15208).
4548 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4550         Format code sent to Python shell for robustness.
4551         * progmodes/python.el (python-shell-buffer-substring):
4552         New function.
4553         (python-shell-send-region, python-shell-send-buffer): Use it.
4555 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
4557         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4558         * net/tramp.el (tramp-user-error): ... here.
4559         (tramp-find-method, tramp-check-proper-host)
4560         (tramp-dissect-file-name, tramp-debug-message)
4561         (tramp-handle-shell-command):
4562         * net/tramp-adb.el (tramp-adb-handle-shell-command):
4563         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4565         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4567 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
4569         * avoid.el (mouse-avoidance-point-position)
4570         (mouse-avoidance-too-close-p): Handle case where posn-at-point
4571         returns nil.
4573 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4575         * progmodes/python.el (python-shell-completion-get-completions):
4576         Drop use of deleted `comint-last-prompt-overlay'.
4577         (python-nav-if-name-main): New command.
4579 2013-09-01  Glenn Morris  <rgm@gnu.org>
4581         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4582         Avoid leading space in $wins.  Otherwise the sed command used by
4583         eg compile-main ends up containing "/*.el".  (Bug#15170)
4585         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
4587 2013-08-30  Glenn Morris  <rgm@gnu.org>
4589         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4590         Fix is-this-a-directory logic.  (Bug#15220)
4592 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4594         * textmodes/css-mode.el: Use SMIE.
4595         (css-smie-grammar): New var.
4596         (css-smie--forward-token, css-smie--backward-token)
4597         (css-smie-rules): New functions.
4598         (css-mode): Use them.
4599         (css-navigation-syntax-table): Remove var.
4600         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4601         (css-indent-calculate, css-indent-line): Remove functions.
4603         Misc changes to reduce use of `(lambda...); and other cleanups.
4604         * cus-edit.el: Use lexical-binding.
4605         (customize-push-and-save, customize-apropos)
4606         (custom-buffer-create-internal): Use closures.
4607         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4608         * progmodes/ada-xref.el: Use setq.
4609         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4610         * dframe.el: Use lexical-binding.
4611         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4612         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4613         * descr-text.el: Use lexical-binding.
4614         (describe-text-widget, describe-text-sexp, describe-property-list):
4615         Use closures.
4616         * comint.el (comint-history-isearch-push-state): Use a closure.
4617         * calculator.el: Use lexical-binding.
4618         (calculator-number-to-string): Make it work with lexical-binding.
4619         (calculator-funcall): Same and use cl-letf.
4621         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4622         (lisp--company-doc-string, lisp--company-location): New functions.
4623         (lisp-completion-at-point): Use them to improve Company support.
4625         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4626         params of lambda expressions.
4627         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4628         (ruby-smie--opening-pipe-p): New function.
4629         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4630         symbols and matched |...| for formal params.
4631         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4632         from being treated as hanging.  Handle "rescue".
4634 2013-08-29  Glenn Morris  <rgm@gnu.org>
4636         * progmodes/cc-engine.el (c-pull-open-brace):
4637         Move definition before use.
4639 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4641         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4642         are immutable.  Don't use `unsafe' any more.
4643         (cl--defsubst-expand): Don't substitute at the same time as keeping
4644         a residual unused let-binding.  Don't use `unsafe' any more.
4646 2013-08-29  Glenn Morris  <rgm@gnu.org>
4648         * calendar/cal-china.el (calendar-chinese-year-cache):
4649         Recenter on 2015.
4651         * nxml/nxml-util.el (nxml-debug-clear-inside):
4652         Use cl-loop rather than loop.
4654         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4656         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4658 2013-08-28  Glenn Morris  <rgm@gnu.org>
4660         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4662         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4664         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4666 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4668         * simple.el (repeat-complex-command--called-interactively-skip):
4669         New function.
4670         (repeat-complex-command): Use it (bug#14136).
4672         * progmodes/cc-mode.el: Minor cleanup of var declarations.
4673         (c-define-abbrev-table): Add `doc' argument.
4674         (c-mode-abbrev-table, c++-mode-abbrev-table)
4675         (objc-mode-abbrev-table, java-mode-abbrev-table)
4676         (idl-mode-abbrev-table, pike-mode-abbrev-table)
4677         (awk-mode-abbrev-table): Use it.
4678         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4679         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4680         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4681         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4682         Move initialization into the declaration; and remove any
4683         autoload cookie.
4685         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4686         and dynamic let binding.
4688         * vc/smerge-mode.el: Remove redundant :group args.
4690         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4691         to load-path.
4693 2013-08-28  Juri Linkov  <juri@jurta.org>
4695         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4696         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4697         (isearch-other-meta-char): Handle an undefined shifted printing
4698         character by downshifting it.  (Bug#15200)
4700 2013-08-28  Juri Linkov  <juri@jurta.org>
4702         * isearch.el (isearch-search): Change regexp error message for
4703         non-regexp searches.  (Bug#15166)
4705 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
4707         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4708         for portability to hosts where /bin/sh has problems.
4710 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4712         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4714 2013-08-27  Juri Linkov  <juri@jurta.org>
4716         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4717         in the keyboard macro.  (Bug#15126)
4719 2013-08-27  Juri Linkov  <juri@jurta.org>
4721         * isearch.el (isearch-quote-char): Comment out converting unibyte
4722         to multibyte, thus syncing with its `quoted-insert' counterpart.
4723         (Bug#15166)
4725 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
4727         * window.el (display-buffer-use-some-window): Add missing
4728         argument in call of get-largest-window (Bug#15185).
4729         Reported by Stephen Leake.
4731 2013-08-27  Glenn Morris  <rgm@gnu.org>
4733         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4735 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4737         * progmodes/python.el (python-font-lock-keywords): Don't return nil
4738         from a matcher-function unless there's no more matches (bug#15161).
4740 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4742         * minibuffer.el: Revert change from 2013-08-20.
4744         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4745         with text property `tramp-default', if appropriate.
4746         (tramp-check-proper-host): New defun.
4747         (tramp-dissect-file-name): Do not check hostname.  Revert change
4748         of 2013-03-18.
4749         (tramp-backtrace): Make VEC-OR-PROC optional.
4751         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4752         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4753         * net/tramp-sh.el (tramp-maybe-open-connection):
4754         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4755         Apply `tramp-check-proper-host'.
4757 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
4759         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4760         lambda expression in order to have `describe-variable' display it.
4762 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4764         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4765         BUF can be optional.  (Bug#15186)
4767 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
4769         * progmodes/flymake.el (flymake-get-real-file-name-function):
4770         Fix broken customization.  (Bug#15184)
4772 2013-08-25  Alan Mackenzie  <acm@muc.de>
4774         Improve indentation of bracelists defined by macros (without "=").
4776         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4777         expansion begins with "{", regard it as bracelist when it doesn't
4778         contain a ";".
4780         Parse C++ inher-intro when there's a template split over 2 lines.
4782         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4783         rigorously the search for "class" etc. followed by ":".
4785         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4786         random languages a regexp which never matches rather than nil.
4788         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4790         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4791         (c-awk-regexp-one-line-possibly-open-char-list-re)
4792         (c-awk-one-line-possibly-open-regexp-re)
4793         (c-awk-one-line-non-syn-ws*-re): Remove.
4794         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4795         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4796         (c-awk-space*-unclosed-regexp-/-re): New constants.
4797         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4798         aren't regexp delimiters.
4800         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4801         handling for a rare situation in AWK Mode involving unterminated
4802         strings/regexps.
4804 2013-08-23  Glenn Morris  <rgm@gnu.org>
4806         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4808         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4810         * files.el (create-file-buffer): If the result would begin with
4811         spaces, prepend a "|" instead of removing them.  (Bug#15162)
4813 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4815         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4816         text-properties (bug#15155).
4818         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4819         exist any more.
4820         (calc-keypad-redraw): Remove unused var `pad'.
4821         (calc-keypad-press): Remove unused var `menu'.
4823 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
4825         * window.el (display-buffer-pop-up-frame):
4826         Call pop-up-frame-function with BUFFER current so `make-frame' will
4827         use it as the new frame's buffer (Bug#15133).
4829 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4831         * calendar/timeclock.el: Minor cleanups.
4832         (timeclock-ask-before-exiting, timeclock-use-display-time):
4833         Use `symbol'.
4834         (timeclock-modeline-display): Define as alias before the
4835         actual definition.
4836         (timeclock-mode-line-display): Use define-minor-mode.
4837         (timeclock-day-list-template): Make it a function, add an argument.
4838         (timeclock-day-list-required, timeclock-day-list-length)
4839         (timeclock-day-list-debt, timeclock-day-list-span)
4840         (timeclock-day-list-break): Adjust calls accordingly.
4842 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4844         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4845         Use read--expression so that completion works again.
4847 2013-08-21  Sam Steingold  <sds@gnu.org>
4849         Add rudimentary inferior shell interaction
4850         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4851         (sh-set-shell): Reset it.
4852         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4853         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4855 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4857         * align.el: Use lexical-binding.
4858         (align-region): Simplify accordingly.
4860 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4862         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4864         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4865         `non-essential' up.
4867 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4869         * net/tramp.el:
4870         * net/tramp-adb.el:
4871         * net/tramp-cmds.el:
4872         * net/tramp-ftp.el:
4873         * net/tramp-gvfs.el:
4874         * net/tramp-gw.el:
4875         * net/tramp-sh.el: Don't wrap external variable declarations by
4876         `eval-when-compile'.
4878 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4880         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4881         now that Emacs supports ImageMagick animations.
4883 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4885         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4886         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4888 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4890         * window.el (mouse-autoselect-window-select): Do autoselect when
4891         mouse pointer is on margin.
4893 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4895         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4897 2013-08-16  Glenn Morris  <rgm@gnu.org>
4899         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4900         Handle "Remote Directory" response of some clients.  (Bug#15058)
4902         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4903         Tweak warning.  (Bug#14926)
4905         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4906         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4908         * image-mode.el (image-mode-map): Add menu items to reverse,
4909         increase, decrease, reset animation speed.
4910         (image--set-speed, image-increase-speed, image-decrease-speed)
4911         (image-reverse-speed, image-reset-speed): New functions.
4912         (image-mode-map): Add bindings for speed commands.
4914         * image.el (image-animate-get-speed, image-animate-set-speed):
4915         New functions.
4916         (image-animate-timeout): Respect image :speed property.
4918 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4920         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4921         previous line (bug#15101).
4922         (debugger-eval-expression, debugger-record-expression):
4923         Use read--expression (bug#15102).
4925 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4927         Remove byte compiler warnings, visible when compiling with
4928         `byte-compile-force-lexical-warnings' set to t.
4930         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4931         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4932         (tramp-handle-unhandled-file-name-directory)
4933         (tramp-handle-file-notify-add-watch, tramp-action-login)
4934         (tramp-action-succeed, tramp-action-permission-denied)
4935         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4936         arguments with "_".
4938         * net/tramp-adb.el (tramp-adb-parse-device-names)
4939         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4940         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4941         (tramp-adb-handle-file-truename): Remove unused arguments.
4943         * net/tramp-cache.el (tramp-flush-directory-property)
4944         (tramp-flush-connection-property, tramp-list-connections)
4945         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4947         * net/tramp-compat.el (tramp-compat-make-temp-file):
4948         Rename FILENAME to F.
4950         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4951         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4952         (tramp-zeroconf-parse-workstation-device-names)
4953         (tramp-zeroconf-parse-webdav-device-names)
4954         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4956         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4957         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4959         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4960         arguments.
4961         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4962         (tramp-sh-handle-insert-file-contents-literally)
4963         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4964         with "_".
4965         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4966         Remove unused variables.
4968         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4969         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4970         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4972         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4973         Make them a defconst.
4974         (tramp-uuencode-region): Remove unused variable.
4976 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4978         * frameset.el (frameset--prop-setter): New function.
4979         (frameset-prop): Add gv-setter declaration.
4980         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4981         parameter was already set in FILTERED.  Doc fix.
4982         (frameset--record-minibuffer-relationships): Allow saving a
4983         minibufferless frame without its corresponding minibuffer frame.
4984         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4985         frame, if the frame id matches.
4986         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4987         frames before orphaned ones.
4988         (frameset-restore): Warn about orphaned windows, instead of error out.
4990 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4992         * window.el (window-make-atom): Don't overwrite parameter
4993         already present.
4994         (display-buffer-in-atom-window): Handle special case where we
4995         split an already atomic window.
4996         (window--major-non-side-window, display-buffer-in-side-window)
4997         (window--side-check): Ignore minibuffer window when walking
4998         window tree.
4999         (window-deletable-p): Return 'frame only if no other frame uses
5000         our minibuffer window.
5001         (record-window-buffer): Run buffer-list-update-hook.
5002         (split-window): Make sure window--check-frame won't destroy an
5003         existing atomic window in case the new window gets nested
5004         inside.
5005         (display-buffer-at-bottom): Ignore minibuffer window when
5006         walking window tree.  Don't split a side window.
5007         (pop-to-buffer): Don't set-buffer here, the select-window call
5008         should do that.
5009         (mouse-autoselect-window-select): Autoselect only if we are in the
5010         text portion of the window.
5012 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5014         * net/shr.el (shr-parse-image-data): New function to grab both the
5015         data itself and the Content-Type.
5016         (shr-put-image): Use it.
5018         * net/eww.el (eww-display-image): Ditto.
5020         * image.el (image-content-type-suffixes): New variable.
5022 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5024         * progmodes/python.el (python-imenu--build-tree)
5025         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5027 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
5029         * simple.el (backward-word): Mention the optional argument.
5031 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5033         * frameset.el (frameset--make): Rename constructor from make-frameset.
5034         (frameset-p, frameset-valid-p): Don't autoload.
5035         (frameset-valid-p): Use normal accessors.
5037 2013-08-13  Glenn Morris  <rgm@gnu.org>
5039         * progmodes/compile.el (compile-command): Tweak example in doc.
5040         * obsolete/scribe.el (scribe-mode):
5041         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
5043         * mail/feedmail.el (feedmail-confirm-outgoing)
5044         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5046         * cus-start.el (truncate-partial-width-windows): Fix type.
5048         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5050         * net/shr.el (shr-table-horizontal-line): Fix custom type.
5052 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5054         * emacs-lisp/timer.el (timer--time-setter): New function.
5055         (timer--time): Use it as gv-setter.
5057         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5058         setter is not a symbol.
5060 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
5062         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5063         if sending fails.  This makes debugging easier.
5065 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
5067         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5068         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5069         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5071 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
5073         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5075 2013-08-12  Glenn Morris  <rgm@gnu.org>
5077         * format.el (format-annotate-function):
5078         Handle read-only text properties in the source.  (Bug#14887)
5080 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5082         * net/eww.el (eww-display-html): Ignore coding system errors.
5083         One web site uses "utf-8lias" as the coding system.
5085 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
5087         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5089 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
5091         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5092         (tutorial--detailed-help): Remove unused local variables.
5093         (tutorial--save-tutorial-to): Use ignore-errors.
5094         (help-with-tutorial): Use looking-at-p.
5096         * view.el (view-buffer-other-window, view-buffer-other-frame):
5097         Mark unused arguments.
5099         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5100         (woman-select-symbol-fonts, woman, woman-find-file)
5101         (woman-insert-file-contents, woman-non-underline-faces):
5102         Use string-match-p.
5103         (woman1-unquote): Move declaration.
5105         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5106         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
5107         argument.  Remove unused local variable.
5108         (xml-parse-elem-type): Use string-match-p.
5109         (xml-substitute-numeric-entities): Use ignore-errors.
5111         * calculator.el (calculator): Mark unused argument.
5112         (calculator-paste, calculator-quit, calculator-integer-p):
5113         Use ignore-errors.
5114         (calculator-string-to-number, calculator-decimal, calculator-exp)
5115         (calculator-op-or-exp): Use string-match-p.
5117         * dired.el (dired-buffer-more-recently-used-p): Declare.
5118         (dired-insert-set-properties, dired-insert-old-subdirs):
5119         Use ignore-errors.
5121         * dired-aux.el (dired-compress): Use ignore-errors.
5122         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5123         (dired-do-async-shell-command, dired-do-shell-command)
5124         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5125         (dired-insert-subdir-validate): Use string-match-p.
5126         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5127         (dired-add-entry): Use string-match-p, looking-at-p.
5128         (dired-insert-subdir-newpos): Remove unused local variable.
5130         * filenotify.el (file-notify-callback): Remove unused local variable.
5132         * filesets.el (filesets-error): Mark unused argument.
5133         (filesets-which-command-p, filesets-filter-dir-names)
5134         (filesets-directory-files, filesets-get-external-viewer)
5135         (filesets-ingroup-get-data): Use string-match-p.
5137         * find-file.el (ff-other-file-name, ff-other-file-name)
5138         (ff-find-the-other-file, ff-cc-hh-converter):
5139         Remove unused local variables.
5140         (ff-get-file-name): Use string-match-p.
5141         (ff-all-dirs-under): Use ignore-errors.
5143         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5144         (follow-select-if-visible): Remove unused local variable.
5146         * forms.el (read-file-filter): Move declaration.
5147         (forms--make-format, forms--make-parser, forms-insert-record):
5148         Quote function with #'.
5149         (forms--update): Use string-match-p.  Quote function with #'.
5151         * help-mode.el (help-dir-local-var-def): Mark unused argument.
5152         (help-make-xrefs): Use looking-at-p.
5153         (help-xref-on-pp): Use looking-at-p, ignore-errors.
5155         * ibuffer.el (ibuffer-ext-visible-p): Declare.
5156         (ibuffer-confirm-operation-on): Use string-match-p.
5158         * msb.el (msb-item-handler, msb-dired-item-handler):
5159         Mark unused arguments.
5161         * ses.el (ses-decode-cell-symbol)
5162         (ses-kill-override): Remove unused local variable.
5163         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5164         (ses-load): Use ignore-errors, looking-at-p.
5165         (ses-jump-safe): Use ignore-errors.
5166         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5168         * tabify.el (untabify, tabify): Mark unused arguments.
5170         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5171         Mark unused argument.
5172         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5173         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5175         * emacs-lisp/timer.el (timer--time): Define setter with
5176         gv-define-setter to avoid deprecation warning.
5178         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5179         (*record-cmpl-statistics-p*): Remove (was commented out).
5180         (cmpl-statistics-block): Remove (body was commented out).
5181         All callers changed.
5182         (add-completions-from-buffer, load-completions-from-file):
5183         Remove unused variables.
5185 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5187         * filecache.el (file-cache-delete-file-list):
5188         Print message only when told so.
5189         (file-cache-files-matching): Use #' in mapconcat argument.
5191         * ffap.el (ffap-url-at-point): Fix reference to variable
5192         thing-at-point-default-mail-uri-scheme.
5194 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5196         * subr.el (define-error): New function.
5197         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5198         error-file-not-found and define with define-error.
5199         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5200         and define with define-error.
5201         * userlock.el (file-locked, file-supersession):
5202         * simple.el (mark-inactive):
5203         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5204         * progmodes/ada-mode.el (ada-mode-errors):
5205         * play/life.el (life-extinct):
5206         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5207         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5208         * nxml/rng-util.el (rng-error):
5209         * nxml/rng-uri.el (rng-uri-error):
5210         * nxml/rng-match.el (rng-compile-error):
5211         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5212         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5213         * nxml/nxml-rap.el (nxml-scan-error):
5214         * nxml/nxml-outln.el (nxml-outline-error):
5215         * net/soap-client.el (soap-error):
5216         * net/gnutls.el (gnutls-error):
5217         * net/ange-ftp.el (ftp-error):
5218         * mpc.el (mpc-proc-error):
5219         * json.el (json-error, json-readtable-error, json-unknown-keyword)
5220         (json-number-format, json-string-escape, json-string-format)
5221         (json-key-format, json-object-format):
5222         * jka-compr.el (compression-error):
5223         * international/quail.el (quail-error):
5224         * international/kkc.el (kkc-error):
5225         * emacs-lisp/ert.el (ert-test-failed):
5226         * calc/calc.el (calc-error, inexact-result, math-overflow)
5227         (math-underflow):
5228         * bookmark.el (bookmark-error-no-filename):
5229         * epg.el (epg-error): Define with define-error.
5231         * time.el (display-time-event-handler)
5232         (display-time-next-load-average): Don't call sit-for since it seems
5233         unnecessary (bug#15045).
5235         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5236         Use #' instead of ' to quote functions.
5237         (checkdoc-output-mode): Use setq-local.
5238         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5239         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5240         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5241         (checkdoc-ispell, checkdoc-ispell-current-buffer)
5242         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5243         (checkdoc-ispell-message-text, checkdoc-ispell-start)
5244         (checkdoc-ispell-continue, checkdoc-ispell-comments)
5245         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5247         * ido.el (ido-completion-help): Fix up compiler warning.
5249 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5251         * frameset.el (frameset-p): Add autoload cookie.
5252         (frameset--jump-to-register): New function, based on code moved from
5253         register.el.
5254         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
5256         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5257         (frameset-restore, frameset-save, frameset-session-filter-alist):
5258         Remove declarations.
5259         (register-alist): Doc fix.
5260         (frameset-to-register): Move to frameset.el.
5261         (jump-to-register, describe-register-1): Remove frameset-specific code.
5263 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5265         * allout-widgets.el (allout-widgets-pre-command-business)
5266         (allout-widgets-post-command-business)
5267         (allout-widgets-after-change-handler)
5268         (allout-decorate-item-and-context, allout-set-boundary-marker)
5269         (allout-body-modification-handler)
5270         (allout-graphics-modification-handler): Mark ignored arguments.
5271         (allout-widgets-post-command-business)
5272         (allout-widgets-exposure-change-processor)
5273         (allout-widgets-exposure-undo-processor)
5274         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5275         (allout-parse-item-at-point, allout-decorate-item-guides)
5276         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5277         * allout.el (epa-passphrase-callback-function): Declare.
5278         (allout-overlay-insert-in-front-handler)
5279         (allout-overlay-interior-modification-handler)
5280         (allout-isearch-end-handler, allout-chart-siblings)
5281         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5282         (allout-yank-processing, allout-process-exposed)
5283         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5284         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5285         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5286         (lisp-indent-defform): Mark ignored arguments.
5287         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
5288         (calculate-lisp-indent): Remove unused variables.
5289         * international/characters.el (indian-2-column, arabic-2-column)
5290         (tibetan): Mark ignored arguments.
5291         (use-cjk-char-width-table): Mark ignored arguments.
5292         Remove unused variables.
5293         * international/fontset.el (build-default-fontset-data)
5294         (x-compose-font-name, create-fontset-from-fontset-spec):
5295         Mark ignored arguments.
5296         (fontset-plain-name): Remove unused variables.
5297         * international/mule.el (charset-id, charset-bytes, generic-char-p)
5298         (keyboard-coding-system): Mark ignored arguments.
5299         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
5300         * help.el (resize-temp-buffer-window):
5301         * window.el (display-buffer-in-major-side-window)
5302         (display-buffer-in-side-window, display-buffer-in-previous-window):
5303         Remove unused variables.
5304         * isearch.el (isearch-forward-symbol):
5305         * version.el (emacs-bzr-version-bzr):
5306         * international/mule-cmds.el (current-language-environment):
5307         * term/common-win.el (x-handle-iconic, x-handle-geometry)
5308         (x-handle-display):
5309         * term/pc-win.el (x-list-fonts, x-display-planes)
5310         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5311         (x-server-version, x-display-screens, x-display-mm-height)
5312         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5313         (x-selection-owner-p, x-own-selection-internal)
5314         (x-disown-selection-internal, x-get-selection-internal)
5315         (msdos-initialize-window-system):
5316         * term/tty-colors.el (tty-color-alist, tty-color-clear):
5317         * term/x-win.el (x-handle-no-bitmap-icon):
5318         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5319         (vc-default-find-file-hook, vc-default-extra-menu):
5320         Mark ignored arguments.
5322 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5324         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5325         break-condition in the context of the debugged code (bug#12685).
5327 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
5329         * comint.el:
5330         Do not use an overlay to highlight the last prompt.  (Bug#14744)
5331         (comint-mode): Make comint-last-prompt buffer local.
5332         (comint-last-prompt): New variable.
5333         (comint-last-prompt-overlay): Remove.  Superseded by
5334         comint-last-prompt.
5335         (comint-snapshot-last-prompt, comint-output-filter):
5336         Use comint-last-prompt.
5338 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5340         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
5341         (frameset-save): Check validity of the resulting frameset.
5343 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
5345         * ido.el (ido-record-command): Add doc string.
5347 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5349         * frameset.el (frameset): Do not disable creation of the default
5350         frameset-p predicate.  Doc fix.
5351         (frameset-valid-p): New function, copied from the old predicate-p.
5352         Add additional checks.
5353         (frameset-restore): Check with frameset-valid-p.
5354         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5355         (frameset-name, frameset-description, frameset-properties)
5356         (frameset-states): Add docstring.
5357         (frameset-session-filter-alist, frameset-persistent-filter-alist)
5358         (frameset-filter-alist): Doc fixes.
5360 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5362         * frameset.el (frameset-p, frameset-prop): Doc fixes.
5364 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5366         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5367         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5368         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5369         (byte-compile-normal-call): Remove obsolescence check.
5371 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5373         * frameset.el (frameset-restore): Doc fix.
5375         * register.el (frameset-frame-id, frameset-frame-with-id)
5376         (frameset-p, frameset-restore, frameset-save): Declare.
5377         (register-alist): Document framesets.
5378         (frameset-session-filter-alist): Declare.
5379         (frameset-to-register): New function.
5380         (jump-to-register): Implement jumping to framesets.  Doc fix.
5381         (describe-register-1): Describe framesets.
5383         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5385 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
5387         * desktop.el (desktop-save-frameset): Use new frameset-save args.
5388         Use lexical-binding.
5390         * frameset.el (frameset): Use type vector, not list (incompatible
5391         change).  Do not declare a new constructor, use the default one.
5392         Upgrade suggested properties `app', `name' and `desc' to slots `app',
5393         `name' and `description', respectively, and add read-only slot
5394         `timestamp'.  Doc fixes.
5395         (frameset-copy, frameset-persistent-filter-alist)
5396         (frameset-filter-alist, frameset-switch-to-gui-p)
5397         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5398         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5399         (frameset-filter-iconified, frameset-keep-original-display-p):
5400         Doc fixes.
5401         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5402         Rename from frameset-filter-(save|restore)-param.  All callers changed.
5403         Doc fix.
5404         (frameset-p): Adapt to change to vector and be more thorough.
5405         Change arg name to OBJECT.  Doc fix.
5406         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
5407         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5408         All callers changed.
5409         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5410         All callers changed.
5411         (frameset--record-minibuffer-relationships): Rename from
5412         frameset--process-minibuffer-frames.  All callers changed.
5413         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5414         Use new default constructor (again).  Doc fix.
5415         (frameset--find-frame-if): Rename from `frameset--find-frame.
5416         All callers changed.
5417         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5418         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5419         Doc fix.
5420         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5421         PARAMETERS and WINDOW-STATE, respectively.
5422         (frameset-restore): Add new keyword argument PREDICATE.
5423         Reset frameset--target-display to nil.  Doc fix.
5425 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5427         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5428         (bat-mode): Use it.
5429         (bat-mode-syntax-table): Mark \n as end-of-comment.
5430         (bat-font-lock-keywords): Remove comment rule.
5432         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
5433         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
5435         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5436         (byte-compile-callargs-warn): Use `push'.
5437         (byte-compile-arglist-warn): Ignore higher-order "calls".
5438         (byte-compile-file-form-autoload): Use `pcase'.
5439         (byte-compile-function-form): If quoting a symbol, check that it exists.
5441 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
5443         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5444         and add a few popular commands found in batch files.
5445         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5446         (dos-mode): Doc fixes.
5448 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5450         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5451         (dos-mode): Use setq-local.  Add space after "rem".
5452         (dos-mode-syntax-table): Don't use "w" for symbol chars.
5453         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5455 2013-08-07  Arni Magnusson  <arnima@hafro.is>
5457         * progmodes/dos.el: New file.
5458         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5459         dos-mode.
5461 2013-08-06  Glenn Morris  <rgm@gnu.org>
5463         * calendar/calendar.el: Add new faces, and day-header-array.
5464         (calendar-weekday-header, calendar-weekend-header)
5465         (calendar-month-header): New faces.
5466         (calendar-day-header-construct): New function.
5467         (calendar-day-header-width): Also :set calendar-day-header-array.
5468         (calendar-american-month-header, calendar-european-month-header)
5469         (calendar-iso-month-header): Use calendar- faces.
5470         (calendar-generate-month):
5471         Use calendar-day-header-array for day headers; apply faces to them.
5472         (calendar-mode): Check calendar-font-lock-keywords non-nil.
5473         (calendar-abbrev-construct): Add optional maxlen argument.
5474         (calendar-day-name-array): Doc fix.
5475         (calendar-day-name-array, calendar-abbrev-length)
5476         (calendar-day-abbrev-array):
5477         Also :set calendar-day-header-array, and maybe redraw.
5478         (calendar-day-header-array): New option.  (Bug#15007)
5479         (calendar-font-lock-keywords): Set to nil and make obsolete.
5480         (calendar-day-name): Add option to use header array.
5482 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5484         * net/shr.el (shr-render-td): Remove debugging.
5485         (shr-render-td): Make width computation consistent by defaulting
5486         all zero-width columns to 10 characters.  This may not be optimal,
5487         but it's at least consistent.
5488         (shr-make-table-1): Redo last change to fix the real problem in
5489         colspan handling.
5491 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5493         * files.el (cache-long-line-scans):
5494         Make obsolete alias to `cache-long-scans'.
5496 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5498         * frameset.el (frameset, frameset-filter-alist)
5499         (frameset-filter-params, frameset-save, frameset--reuse-frame)
5500         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5501         (frameset-compute-pos): Rename from frameset--compute-pos,
5502         and add docstring.
5503         (frameset-move-onscreen): Use frameset-compute-pos.
5504         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5506         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5507         Fix typos in docstrings.
5509 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5511         * frame.el (get-other-frame): Tiny cleanup.
5513 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5515         * vc/vc.el (vc-default-ignore-completion-table):
5516         Silence byte-compiler warning.
5518         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5519         slot , which can indeed be nil.
5520         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5521         Move entry for `left' from persistent to live filter alist.
5522         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5523         Doc fixes.
5524         (frameset-filter-params): When restoring a frame, copy items added to
5525         `filtered', to avoid unwittingly modifying the original parameters.
5526         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
5527         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5529         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5530         to use looking-at-p instead of looking-at.  (Bug#15028)
5532 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5534         Revert introduction of isearch-filter-predicates (bug#14714).
5535         Rely on add-function instead.
5536         * isearch.el (isearch-filter-predicates): Rename it back to
5537         isearch-filter-predicate.
5538         (isearch-message-prefix): Use advice-function-mapc and advice
5539         properties to get the isearch-message-prefix.
5540         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5541         instead of run-hook-with-args-until-failure.
5542         (isearch-filter-visible): Not obsolete any more.
5543         * loadup.el: Preload nadvice.
5544         * replace.el (perform-replace): Revert to funcall
5545         instead of run-hook-with-args-until-failure.
5546         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5547         * dired-aux.el (dired-isearch-filenames-mode): Rename from
5548         dired-isearch-filenames-toggle; make it into a proper minor mode.
5549         Use add/remove-function.
5550         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5551         Call the minor-mode rather than add/remove-hook.
5552         (dired-isearch-filter-filenames):
5553         Remove isearch-message-prefix property.
5554         * info.el (Info--search-loop): New function, extracted from Info-search.
5555         Funcall isearch-filter-predicate instead of
5556         run-hook-with-args-until-failure isearch-filter-predicates.
5557         (Info-search): Use it.
5558         (Info-mode): Use isearch-filter-predicate instead of
5559         isearch-filter-predicates.
5561 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5563         Do not call to `selected-window' where it is assumed by default.
5564         Affected functions are `window-minibuffer-p', `window-dedicated-p',
5565         `window-hscroll', `window-width', `window-height', `window-buffer',
5566         `window-frame', `window-start', `window-point', `next-window'
5567         and `window-display-table'.
5568         * abbrev.el (abbrev--default-expand):
5569         * bs.el (bs--show-with-configuration):
5570         * buff-menu.el (Buffer-menu-mouse-select):
5571         * calc/calc.el (calc):
5572         * calendar/calendar.el (calendar-generate-window):
5573         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5574         (diary-make-entry):
5575         * comint.el (send-invisible, comint-dynamic-complete-filename)
5576         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5577         * completion.el (complete):
5578         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5579         * disp-table.el (describe-current-display-table):
5580         * doc-view.el (doc-view-insert-image):
5581         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5582         * ehelp.el (with-electric-help):
5583         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5584         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5585         * emacs-lisp/helper.el (Helper-help-scroller):
5586         * emulation/cua-base.el (cua--post-command-handler-1):
5587         * eshell/esh-mode.el (eshell-output-filter):
5588         * ffap.el (ffap-gnus-wrapper):
5589         * help-macro.el (make-help-screen):
5590         * hilit-chg.el (highlight-compare-buffers):
5591         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5592         * hl-line.el (global-hl-line-highlight):
5593         * icomplete.el (icomplete-simple-completing-p):
5594         * isearch.el (isearch-done):
5595         * jit-lock.el (jit-lock-stealth-fontify):
5596         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5597         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5598         * mpc.el (mpc-tagbrowser, mpc):
5599         * net/rcirc.el (rcirc-any-buffer):
5600         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5601         * play/landmark.el (landmark-max-width, landmark-max-height):
5602         * play/zone.el (zone):
5603         * progmodes/compile.el (compilation-goto-locus):
5604         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5605         * progmodes/etags.el (find-tag-other-window):
5606         * progmodes/fortran.el (fortran-column-ruler):
5607         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5608         * progmodes/verilog-mode.el (verilog-point-text):
5609         * reposition.el (reposition-window):
5610         * rot13.el (toggle-rot13-mode):
5611         * server.el (server-switch-buffer):
5612         * shell.el (shell-dynamic-complete-command)
5613         (shell-dynamic-complete-environment-variable):
5614         * simple.el (insert-buffer, set-selective-display)
5615         (delete-completion-window):
5616         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5617         (speedbar-recenter):
5618         * startup.el (fancy-splash-head):
5619         * textmodes/ispell.el (ispell-command-loop):
5620         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5621         * tutorial.el (help-with-tutorial):
5622         * vc/add-log.el (add-change-log-entry):
5623         * vc/compare-w.el (compare-windows):
5624         * vc/ediff-help.el (ediff-indent-help-message):
5625         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5626         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5627         (ediff-setup-control-frame):
5628         * vc/emerge.el (emerge-position-region):
5629         * vc/pcvs-util.el (cvs-bury-buffer):
5630         * window.el (walk-windows, mouse-autoselect-window-select):
5631         * winner.el (winner-set-conf, winner-undo): Related users changed.
5633 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5635         * frameset.el (frameset--set-id): Doc fix.
5636         (frameset-frame-id, frameset-frame-id-equal-p)
5637         (frameset-locate-frame-id): New functions.
5638         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5639         (frameset-restore): Use them.
5641 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5643         Do not call to `selected-frame' where it is assumed by default.
5644         Affected functions are `raise-frame', `redraw-frame',
5645         `frame-first-window', `frame-terminal' and `delete-frame'.
5646         * calendar/appt.el (appt-disp-window):
5647         * epg.el (epg-wait-for-completion):
5648         * follow.el (follow-delete-other-windows-and-split)
5649         (follow-avoid-tail-recenter):
5650         * international/mule.el (set-terminal-coding-system):
5651         * mail/rmail.el (rmail-mail-return):
5652         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5653         * progmodes/f90.el (f90-add-imenu-menu):
5654         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5655         * server.el (server-switch-buffer):
5656         * simple.el (delete-completion-window):
5657         * talk.el (talk):
5658         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5659         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5660         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5661         * vc/ediff.el (ediff-documentation): Related users changed.
5662         * frame.el (selected-terminal): Remove the leftover.
5664 2013-08-05  Glenn Morris  <rgm@gnu.org>
5666         * calendar/calendar.el (calendar-generate-month):
5667         Fix for calendar-column-width != 1 + calendar-day-digit-width.
5668         (calendar-generate-month, calendar-font-lock-keywords):
5669         Fix for calendar-day-header-width > length of any day name.
5671 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5673         * desktop.el (desktop-clear): Use new name of sort predicate.
5675         * frameset.el (frameset): Add docstring.  Move :version property to its
5676         own `version' slot.
5677         (frameset-copy): Rename from copy-frameset.
5678         (frameset-p): Check more thoroughly.
5679         (frameset-prop): Do not check for :version, which is no longer a prop.
5680         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5681         Use new :never value instead of t.
5682         (frameset-filter-alist): Expand and clarify docstring.
5683         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5684         (frameset-filter-minibuffer, frameset-filter-save-param)
5685         (frameset-filter-restore-param, frameset-filter-iconified):
5686         Add pointer to docstring of frameset-filter-alist.
5687         (frameset-filter-params): Rename filter values to be more meaningful:
5688         :never instead of t, and reverse the meanings of :save and :restore.
5689         (frameset--process-minibuffer-frames): Clarify error message.
5690         (frameset-save): Avoid unnecessary and confusing call to framep.
5691         Use new BOA constructor for framesets.
5692         (frameset--reuse-list): Doc fix.
5693         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
5694         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5695         (frameset-minibufferless-first-p): Doc fix.
5696         Rename from frameset-sort-frames-for-deletion.
5697         (frameset-restore): Doc fixes.  Use new function names.
5698         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5700 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5702         * desktop.el (desktop-restore-forces-onscreen)
5703         (desktop-restore-reuses-frames): Document :keyword constant values.
5704         (desktop-filter-parameters-alist): Remove, now identical to
5705         frameset-filter-alist.
5706         (desktop--filter-tty*): Remove, moved to frameset.el.
5707         (desktop-save-frameset, desktop-restore-frameset):
5708         Do not pass :filters argument.
5710         * frameset.el (frameset-live-filter-alist)
5711         (frameset-persistent-filter-alist): New variables.
5712         (frameset-filter-alist): Use them.  Add autoload cookie.
5713         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5714         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5715         `frameset--id' (it's supposed to be internal to frameset.el).
5716         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
5717         (frameset--initial-params): New function.
5718         (frameset--get-frame): Use it.  Doc fix.
5719         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5720         Accept :all, not 'all.
5721         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5722         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
5723         with fbound symbols.  Fix frame id matching, and remove matching ids if
5724         the frame being restored is deleted.  Obey :delete.
5726 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5728         * subr.el (macrop): New function.
5729         (text-clone--maintaining): New var.
5730         (text-clone--maintain): Rename from text-clone-maintain.  Use it
5731         instead of inhibit-modification-hooks.
5733         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5734         a proxy, so as handle autoloads and redefinitions of the target.
5735         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5737         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5738         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
5739         (pcase--mutually-exclusive-p): New function.
5740         (pcase--split-consp): Use it.
5741         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
5742         mutually exclusive with the current predicate.
5744         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5745         (edebug-macrop): Remove.  Use `macrop' instead.
5746         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
5747         (ad-macro-p):
5748         * eshell/esh-cmd.el (eshell-macrop):
5749         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
5751 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5753         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5754         (advice-mapc): New function, using it.
5755         (advice-function-member-p): New function.
5756         (advice--normalize): Store the cdr in advice--saved-rewrite since
5757         that's the part that will be changed.
5758         (advice--symbol-function): New function.
5759         (advice-remove): Handle removal before the function is defined.
5760         Adjust to new advice--saved-rewrite.
5761         (advice-member-p): Use advice-function-member-p and
5762         advice--symbol-function.
5764 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5766         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5767         (frameset-filter-minibuffer): Doc fix.
5768         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
5769         (frameset--set-id, frameset--process-minibuffer-frames)
5770         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5771         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5773         * desktop.el (desktop-clear): Only delete frames when called
5774         interactively and desktop-restore-frames is non-nil.  Doc fix.
5775         (desktop-read): Set desktop-saved-frameset to nil.
5777 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
5779         * vc/vc.el (vc-ignore): Rewrite.
5780         (vc-default-ignore-completion-table):
5781         (vc--read-lines):
5782         (vc--add-line, vc--remove-regexp): New functions.
5784         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5785         (vc-svn-ignore-completion-table): New function.
5787         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5788         (vc-hg-ignore-completion-table):
5789         (vc-hg-find-ignore-file): New functions.
5791         * vc/vc-git.el (vc-git-ignore): Rewrite.
5792         (vc-git-ignore-completion-table):
5793         (vc-git-find-ignore-file): New functions.
5795         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5797         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5798         (vc-bzr-ignore-completion-table):
5799         (vc-bzr-find-ignore-file): New functions.
5801 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
5803         * frameset.el (frameset-prop): New function and setter.
5804         (frameset-save): Do not modify frame list passed by the caller.
5806 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5808         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5810 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5812         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5813         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5815         * custom.el (custom-initialize-default, custom-initialize-set)
5816         (custom-initialize-reset, custom-initialize-changed): Affect the
5817         toplevel-default-value (bug#6275, bug#14586).
5818         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5819         for bug#6275.
5821 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5823         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5824         Add cl-def* expressions.
5826         * frameset.el (frameset-filter-params): Fix order of arguments.
5828 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5830         Move code related to saving frames to frameset.el.
5831         * desktop.el: Require frameset.
5832         (desktop-restore-frames): Doc fix.
5833         (desktop-restore-reuses-frames): Rename from
5834         desktop-restoring-reuses-frames.
5835         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5836         (desktop-clear): Clear frames too.
5837         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5838         (desktop--filter-tty*, desktop-save, desktop-read):
5839         Use frameset functions.
5840         (desktop-before-saving-frames-functions, desktop--filter-*-color)
5841         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5842         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5843         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5844         (desktop--process-minibuffer-frames, desktop-save-frames)
5845         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5846         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5847         (desktop--sort-states, desktop-restoring-frames-p)
5848         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
5849         (desktop-restoring-frameset-p, desktop-restore-frameset)
5850         (desktop--check-dont-save, desktop-save-frameset): New functions.
5851         (desktop--app-id): New constant.
5852         (desktop-first-buffer, desktop-buffer-ok-count)
5853         (desktop-buffer-fail-count): Move before first use.
5854         * frameset.el: New file.
5856 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5858         * files.el: Use lexical-binding.
5859         (dir-locals-read-from-file): Remove unused `err' variable.
5860         (hack-dir-local-variables--warned-coding): New var.
5861         (hack-dir-local-variables): Use it to avoid repeated warnings.
5862         (make-backup-file-name--default-function): New function.
5863         (make-backup-file-name-function): Use it as default.
5864         (buffer-stale--default-function): New function.
5865         (buffer-stale-function): Use it as default.
5866         (revert-buffer-insert-file-contents--default-function): New function.
5867         (revert-buffer-insert-file-contents-function): Use it as default.
5868         (insert-directory): Avoid add-to-list.
5870         * autorevert.el (auto-revert-handler): Simplify.
5871         Use buffer-stale--default-function.
5873 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5875         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5877         * whitespace.el (whitespace-ensure-local-variables): New function.
5878         (whitespace-cleanup-region): Call it.
5879         (whitespace-turn-on): Call it.
5881 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5883         Complete file name handlers.
5885         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5886         (tramp-handle-verify-visited-file-modtime)
5887         (tramp-handle-file-notify-rm-watch): New functions.
5888         (tramp-call-process): Do not bind `default-directory'.
5890         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5891         Order alphabetically.
5892         [access-file, add-name-to-file, dired-call-process]:
5893         [dired-compress-file, file-acl, file-notify-rm-watch]:
5894         [file-ownership-preserved-p, file-selinux-context]:
5895         [make-directory-internal, make-symbolic-link, set-file-acl]:
5896         [set-file-selinux-context, set-visited-file-modtime]:
5897         [verify-visited-file-modtime]: Add handler.
5898         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5900         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5901         [file-notify-add-watch, file-notify-rm-watch]:
5902         [set-file-times, set-visited-file-modtime]:
5903         [verify-visited-file-modtime]: Add handler.
5904         (with-tramp-gvfs-error-message)
5905         (tramp-gvfs-handle-set-visited-file-modtime)
5906         (tramp-gvfs-fuse-file-name): Remove.
5907         (tramp-gvfs-handle-file-notify-add-watch)
5908         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5909         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5911         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5912         Order alphabetically.
5913         [file-notify-rm-watch ]: Use default Tramp handler.
5914         [executable-find]: Remove private handler.
5915         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5916         `default-directory'.
5917         (tramp-sh-handle-executable-find)
5918         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5919         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5920         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5921         Do not use `format' in `tramp-message'.
5923         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5924         [file-notify-rm-watch, set-visited-file-modtime]:
5925         [verify-visited-file-modtime]: Add handler.
5926         (tramp-smb-call-winexe): Do not bind `default-directory'.
5928 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5930         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5932 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5934         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5935         use it.
5936         (log-view-diff-changeset): Same.
5937         (log-view-diff-common): Call backend command `previous-revision'
5938         to find out the previous revision, in both cases.  Swap the
5939         variables `to' and `fr', so that `fr' usually refers to the
5940         earlier revision (Bug#14989).
5942 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5944         * ibuf-ext.el (ibuffer-filter-by-filename):
5945         Make it work with dired buffers too.
5947 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5949         * emacs-lisp/re-builder.el (reb-color-display-p):
5950         * files.el (save-buffers-kill-terminal):
5951         * net/browse-url.el (browse-url):
5952         * server.el (server-save-buffers-kill-terminal):
5953         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5954         Prefer nil to selected-frame for the first arg of frame-parameter.
5956 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5958         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5960 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5962         * minibuffer.el (completion--twq-all): Try and preserve each
5963         completion's case choice (bug#14907).
5965 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5967         * net/network-stream.el (open-network-stream): Mention the new
5968         :nogreeting parameter.
5969         (network-stream-open-starttls): Use the :nogreeting parameter
5970         (bug#14938).
5972         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5974         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5975         more natural than popping.
5977         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5978         (shr-urlify): Highlight under mouse.
5980 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5982         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5984         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5986         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5987         buffer for output.
5989         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5990         point-min==1.  Fix search string.  Fix parentheses missing.
5992         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5993         assume point-min==1.  Fix search string.  Fix parentheses missing.
5995         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5997         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5998         buffer for output.
6000 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
6002         * frame.el (frame-notice-user-settings): Avoid inflooping when the
6003         initial frame is minibuffer-less.  (Bug#14841)
6005 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
6007         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6008         option.
6010         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6011         (tramp-maybe-open-connection): Use it.
6013 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6015         * desktop.el (desktop--make-frame): Include `minibuffer' in the
6016         minimal set of parameters passed when creating a frame, because
6017         the minibuffer status of a frame cannot be changed later.
6019 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
6021         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6022         replace-regexp-in-string and inadvertent omissions in previous change.
6023         (todo-filter-items): Ensure only file names are comma-separated in
6024         name of filtered items buffer.
6026 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6028         * desktop.el: Optionally force offscreen frames back onscreen.
6029         (desktop-restoring-reuses-frames): New option.
6030         (desktop--compute-pos, desktop--move-onscreen): New functions.
6031         (desktop--make-frame): Use desktop--move-onscreen.
6033 2013-07-27  Alan Mackenzie  <acm@muc.de>
6035         Fontify a Java generic method as a function.
6036         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6037         value to t.
6039 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
6041         * calendar/todo-mode.el: Add command to rename todo files.
6042         (todo-rename-file): New command.
6043         (todo-key-bindings-t): Add key binding for it.  Change the
6044         bindings of todo-filter-regexp-items(-multifile) to use `x'
6045         instead of `r', since the latter is better suited to the new
6046         renaming command.
6048 2013-07-27  Alan Mackenzie  <acm@muc.de>
6050         Make Java try-with-resources statement parse properly.
6051         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6052         (c-block-stmt-1-2-key): New language constants/variables.
6053         * progmodes/cc-engine.el (c-beginning-of-statement-1)
6054         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6055         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6056         with c-block-stmt-1-2-key.
6058 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
6060         * desktop.el (desktop--make-frame): Apply most frame parameters after
6061         creating the frame to force (partially or totally) offscreen frames to
6062         be restored as such.
6064 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
6066         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6067         (Bug#14948)
6069 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6071         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6072         `base' arg of backtrace-frame.
6074 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
6076         * simple.el (list-processes): Doc fix.
6078 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6080         * desktop.el (desktop--select-frame):
6081         Try harder to reuse existing frames.
6083 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6085         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6086         (edebug-eval): Use backtrace-eval.
6087         (edebug--display, edebug--recursive-edit): Don't let-bind the
6088         edebug-outer-* vars that keep track of variables we locally let-bind.
6089         (edebug-outside-excursion): Don't restore outside values of locally
6090         let-bound vars.
6091         (edebug--display): Use user-error.
6092         (cl-lexical-debug, cl-debug-env): Remove.
6094 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6096         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6097         are restored to be sure that they are visible before deleting any
6098         remaining ones.
6100 2013-07-26  Matthias Meulien  <orontee@gmail.com>
6102         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6103         vc-print-root-log.  (Bug#14948)
6105 2013-07-26  Richard Stallman  <rms@gnu.org>
6107         Add aliases for encrypting mail.
6108         * epa.el (epa-mail-aliases): New option.
6109         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6110         Bind inhibit-read-only so read-only text doesn't ruin everything.
6111         (epa-mail-default-recipients): New subroutine broken out.
6112         Handle epa-mail-aliases.
6114 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6116         Add support for lexical variables to the debugger's `e' command.
6117         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6118         vars, except for debugger-outer-match-data.
6119         (debugger-frame-number): Move check for "on a function call" from
6120         callers into it.  Add `skip-base' argument.
6121         (debugger-frame, debugger-frame-clear): Simplify accordingly.
6122         (debugger-env-macro): Only reset the state stored in non-variables,
6123         i.e. current-buffer and match-data.
6124         (debugger-eval-expression): Rewrite using backtrace-eval.
6125         * subr.el (internal--called-interactively-p--get-frame): Remove.
6126         (called-interactively-p):
6127         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6128         `base' arg of backtrace-frame instead.
6130 2013-07-26  Glenn Morris  <rgm@gnu.org>
6132         * align.el (align-regexp): Doc fix.  (Bug#14857)
6133         (align-region): Explicit error if subexpression missing/does not match.
6135         * simple.el (global-visual-line-mode):
6136         Do not duplicate the mode lighter.  (Bug#14858)
6138 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
6140         * window.el (display-buffer): In display-buffer bind
6141         split-window-keep-point to t, bug#14829.
6143 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6145         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6146         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6147         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6148         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6149         Change accordingly.
6150         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6151         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6153 2013-07-25  Glenn Morris  <rgm@gnu.org>
6155         * dired-x.el (dired-mark-extension): Convert comment to doc string.
6157 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6159         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6160         parameter to modify-frame-parameters if the value has not changed;
6161         this is a workaround for bug#14949.
6162         (desktop--make-frame): On cl-delete-if call, check parameter name,
6163         not full parameter.
6165 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6167         * vc/vc.el (vc-ignore): New function.
6169         * vc/vc-svn.el (vc-svn-ignore): New function.
6171         * vc/vc-hg.el (vc-hg-ignore): New function.
6173         * vc/vc-git.el (vc-git-ignore): New function.
6175         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6176         (vc-dir-ignore): New function.
6178         * vc/vc-cvs.el (vc-cvs-ignore): New function.
6179         (cvs-append-to-ignore): Move here from pcvs.el.
6181         * vc/vc-bzr.el (vc-bzr-ignore): New function.
6183         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6185 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
6187         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6188         (desktop-restore-frames): Warn when deleting an existing frame failed.
6190 2013-07-24  Glenn Morris  <rgm@gnu.org>
6192         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
6194 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
6196         * filenotify.el (file-notify-supported-p):
6197         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6198         Remove functions.
6200         * autorevert.el (auto-revert-use-notify):
6201         (auto-revert-notify-add-watch):
6202         * net/tramp.el (tramp-file-name-for-operation):
6203         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6204         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6205         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6206         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6207         Remove `file-notify-supported-p' entry.
6209 2013-07-24  Glenn Morris  <rgm@gnu.org>
6211         * printing.el: Replace all uses of deleted ps-windows-system,
6212         ps-lp-system, ps-flatten-list with lpr- versions.
6214 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6216         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6217         checked with memq (bug#14935).
6219         * files.el (revert-buffer-function): Use a non-nil default.
6220         (revert-buffer-preserve-modes): Declare var to
6221         provide access to the `preserve-modes' argument.
6222         (revert-buffer): Let-bind it.
6223         (revert-buffer--default): New function, extracted from revert-buffer.
6225 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6227         * lpr.el: Signal print errors more prominently.
6228         (print-region-function): Don't default to nil.
6229         (lpr-print-region): New function, extracted from print-region-1.
6230         Check lpr's return value and signal an error in case of problem.
6231         (print-region-1): Use it.
6232         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
6233         versions instead.
6234         (ps-printer-name): Default to nil.
6235         (ps-printer-name-option): Default to lpr-printer-switch.
6236         (ps-print-region-function): Don't default to nil.
6237         (ps-postscript-code-directory): Simplify default.
6238         (ps-do-despool): Use lpr-print-region to properly check the outcome.
6239         (ps-string-list, ps-eval-switch, ps-flatten-list)
6240         (ps-flatten-list-1): Remove.
6241         (ps-multibyte-buffer): Avoid setq.
6242         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6243         (print-region-function, ps-print-region-function): Don't set them here.
6245 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
6247         * ido.el (ido-fractionp):
6248         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6249         (ido-max-file-prompt-width, ido-unc-hosts-cache)
6250         (ido-max-directory-size, ido-max-dir-file-cache)
6251         (ido-decorations): Doc fix.
6253         * ansi-color.el: Fix old URL.
6255 2013-07-23  Michael R. Mauger  <michael@mauger.com>
6257         * progmodes/sql.el: Version 3.3
6258         (sql-product-alist): Improve oracle :prompt-cont-regexp.
6259         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6260         (sql-interactive-remove-continuation-prompt): Rewrite, use
6261         functions above.  Fix continuation prompt and complete output line
6262         handling.
6263         (sql-redirect-one, sql-execute): Use `read-only-mode' on
6264         redirected output buffer.
6265         (sql-mode): Restore deleted code (Bug#13591).
6267 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6269         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6271 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
6273         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6275         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6276         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6277         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6279 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6281         * desktop.el (desktop-clear): Simplify; remove useless checks
6282         against invalid buffer names.
6283         (desktop-list*): Use cl-list*.
6284         (desktop-buffer-info, desktop-create-buffer): Simplify.
6286 2013-07-23  Leo Liu  <sdl.web@gmail.com>
6288         * bookmark.el (bookmark-make-record): Restore NAME as a default
6289         value.  (Bug#14933)
6291 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6293         * emacs-lisp/autoload.el (autoload--setup-output): New function,
6294         extracted from autoload--insert-text.
6295         (autoload--insert-text): Remove.
6296         (autoload--print-cookie-text): New function, extracted from
6297         autoload--insert-cookie-text.
6298         (autoload--insert-cookie-text): Remove.
6299         (autoload-generate-file-autoloads): Adjust calls accordingly.
6301         * winner.el (winner-hook-installed-p): Remove.
6302         (winner-mode): Simplify accordingly.
6304         * subr.el (add-to-list): Fix compiler-macro when `append' is
6305         not constant.  Don't use `cl-member' for the base case.
6307         * progmodes/subword.el: Fix boundary case (bug#13758).
6308         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
6309         own group.
6310         (subword-backward-regexp): Make it a constant.
6311         (subword-forward-internal): Don't treat a trailing capital as the
6312         beginning of a word.
6314 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
6316         * emacs-lisp/package.el (package-menu-mode): Don't modify the
6317         global value of tabulated-list-revert-hook (bug#14930).
6319 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
6321         * desktop.el: Require 'cl-lib.
6322         (desktop-before-saving-frames-functions): New hook.
6323         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6324         for frames being saved.  Rename from desktop--save-minibuffer-frames.
6325         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6326         Do not save frames with non-nil `desktop-dont-save' parameter.
6327         Filter out deleted frames.
6328         (desktop--find-frame): Use cl-find-if.
6329         (desktop--select-frame): Use cl-(first|second|third) to access values
6330         of desktop-mini.
6331         (desktop--make-frame): Use cl-delete-if.
6332         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6333         (desktop-restore-frames): Use cl-(first|second|third) to access values
6334         of desktop-mini.  Look for visible frame at the end, not while
6335         restoring frames.
6337         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6338         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6339         Use string-match-p, looking-at-p (bug#14927).
6341 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
6343         * desktop.el (desktop-saved-frame-states):
6344         Rename from desktop--saved-states; all users changed.
6345         (desktop-save-frames): Rename from desktop--save-frames.
6346         Do not save state to desktop file.
6347         (desktop-save): Save desktop-saved-frame-states to desktop file
6348         and reset to nil.
6349         (desktop-restoring-frames-p): New function.
6350         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
6351         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
6352         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
6354         * desktop.el: Correctly restore iconified frames.
6355         (desktop--filter-iconified-position): New function.
6356         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6358 2013-07-20  Glenn Morris  <rgm@gnu.org>
6360         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6361         Let `message' do the formatting.
6362         (def-gdb-preempt-display-buffer): Add explicit format.
6364         * image-dired.el (image-dired-track-original-file):
6365         Use with-current-buffer.
6366         (image-dired-track-thumbnail): Use with-current-buffer.
6367         Avoid changing point of wrong window.
6369         * image-dired.el (image-dired-track-original-file):
6370         Avoid changing point of wrong window.  (Bug#14909)
6372 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
6374         * progmodes/gdb-mi.el (gdb-done-or-error):
6375         Guard against "%" in gdb output.  (Bug#14127)
6377 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
6379         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6380         (Bug#14826)
6382         * international/mule.el (coding-system-iso-2022-flags): Fix last
6383         change.
6385 2013-07-20  Kenichi Handa  <handa@gnu.org>
6387         * international/mule.el (coding-system-iso-2022-flags):
6388         Add `8-bit-level-4'.  (Bug#8522)
6390 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6392         * net/shr.el (shr-mouse-browse-url): New command and keystroke
6393         (bug#14815).
6395         * net/eww.el (eww-process-text-input): Allow inputting when the
6396         point is at the start of the line, as the properties aren't
6397         front-sticky.
6399         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6400         degenerate widths.
6402 2013-07-19  Richard Stallman  <rms@gnu.org>
6404         * epa.el (epa-popup-info-window): Doc fix.
6406         * subr.el (split-string): New arg TRIM.
6408 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
6410         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6411         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6413 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
6415         * filenotify.el (file-notify--library): Rename from
6416         `file-notify-support'.  Do not autoload.  Adapt all uses.
6417         (file-notify-supported-p): New defun.
6419         * autorevert.el (auto-revert-use-notify):
6420         Use `file-notify-supported-p' instead of `file-notify-support'.
6421         Adapt docstring.
6422         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6424         * net/tramp.el (tramp-file-name-for-operation):
6425         Add `file-notify-supported-p'.
6427         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6428         New defun.
6429         (tramp-sh-file-name-handler-alist): Add it as handler for
6430         `file-notify-supported-p '.
6432         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6433         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6434         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6435         Add `ignore' as handler for `file-notify-*' functions.
6437 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
6439         * simple.el (line-move-partial, line-move): Don't start vscroll or
6440         scroll-up if the current line is not taller than the window.
6441         (Bug#14881)
6443 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
6445         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6446         highlight question marks in the method names as strings.
6447         (ruby-block-beg-keywords): Inline.
6448         (ruby-font-lock-keyword-beg-re): Extract from
6449         `ruby-font-lock-keywords'.
6451 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
6453         * frame.el (blink-cursor-blinks): New defcustom.
6454         (blink-cursor-blinks-done): New defvar.
6455         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6456         (blink-cursor-timer-function): Check if number of blinks has been
6457         done on X and NS.
6458         (blink-cursor-suspend, blink-cursor-check): New defuns.
6460 2013-07-15  Glenn Morris  <rgm@gnu.org>
6462         * edmacro.el (edmacro-format-keys): Fix previous change.
6464 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
6466         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6467         The hack didn't work outside English locales anyway.
6469 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
6471         * simple.el (define-alternatives): Rename from alternatives-define,
6472         per RMS' suggestion.
6474 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
6476         * desktop.el (desktop-restore-frames): Change default to t.
6477         (desktop-restore-in-current-display): Now offer more options.
6478         (desktop-restoring-reuses-frames): New customization option.
6479         (desktop--saved-states): Doc fix.
6480         (desktop-filter-parameters-alist): New variable, renamed and expanded
6481         from desktop--excluded-frame-parameters.
6482         (desktop--target-display): New variable.
6483         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6484         (desktop--filter-tty*, desktop--filter-*-color)
6485         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6486         (desktop--filter-save-desktop-parm)
6487         (desktop-restore-in-original-display-p): New functions.
6488         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6489         (desktop--save-minibuffer-frames): New function, inspired by a similar
6490         function from Martin Rudalics.
6491         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6492         (desktop--restore-in-this-display-p): Remove.
6493         (desktop--find-frame): Rename from desktop--find-frame-in-display
6494         and add predicate argument.
6495         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6496         (desktop--reuse-list): New variable.
6497         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6498         New functions.
6499         (desktop--restore-frames): Add support for "minibuffer-special" frames.
6501 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
6503         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6505 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
6507         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6508         Highlight conversion methods on Kernel.
6510 2013-07-13  Alan Mackenzie  <acm@muc.de>
6512         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6513         and comment it out.  This out-commenting enables certain C++
6514         declarations to be parsed correctly.
6516 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
6518         * international/mule.el (define-coding-system): Doc fix.
6520         * simple.el (default-font-height): Don't call font-info if the
6521         frame's default font didn't change since the frame was created.
6522         (Bug#14838)
6524 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6526         * ido.el (ido-read-file-name): Guard against non-symbol value.
6528 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6530         * progmodes/python.el (python-imenu--build-tree): Fix corner case
6531         in nested defuns.
6533 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6535         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6536         ido-set-matches call.  (Bug#6852)
6538 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
6540         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6541         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6542         Ruby 2.0.
6543         (ruby-font-lock-keywords): Distinguish calls to functions with
6544         module-like names from module references.  Highlight character
6545         literals.
6547 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
6549         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6550         (gdb-send): Handle continued commands.  (Bug#14847)
6552 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6554         * desktop.el (desktop--v2s): Remove unused local variable.
6555         (desktop-save-buffer): Make defvar-local; adjust docstring.
6556         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6557         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6559 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6561         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6563 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
6565         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6566         (Bug#14842)
6568 2013-07-12  Glenn Morris  <rgm@gnu.org>
6570         * doc-view.el: Require cl-lib at runtime too.
6571         (doc-view-remove-if): Remove.
6572         (doc-view-search-next-match, doc-view-search-previous-match):
6573         Use cl-remove-if.
6575         * edmacro.el: Require cl-lib at runtime too.
6576         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6577         (edmacro-mismatch, edmacro-subseq): Remove.
6579         * shadowfile.el: Require cl-lib.
6580         (shadow-remove-if): Remove.
6581         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6582         Use cl-remove-if.
6584         * wid-edit.el: Require cl-lib.
6585         (widget-choose): Use cl-remove-if.
6586         (widget-remove-if): Remove.
6588         * progmodes/ebrowse.el: Require cl-lib at runtime too.
6589         (ebrowse-delete-if-not): Remove.
6590         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6591         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6592         Use cl-delete-if-not.
6594 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6596         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6597         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6599 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6601         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6603 2013-07-11  Glenn Morris  <rgm@gnu.org>
6605         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6606         (edebug-gensym-index, edebug-gensym):
6607         Remove reimplementation of cl-gensym.
6608         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6610         * thumbs.el: Require cl-lib at run-time too.
6611         (thumbs-gensym-counter, thumbs-gensym):
6612         Remove reimplementation of cl-gensym.
6613         (thumbs-temp-file): Use cl-gensym.
6615         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6616         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6617         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6618         (ert--union, ert--gensym-counter, ert--gensym-counter)
6619         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6620         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6621         (ert-make-test-unbound, ert--expand-should-1)
6622         (ert--expand-should, ert--should-error-handle-error)
6623         (should-error, ert--explain-equal-rec)
6624         (ert--plist-difference-explanation, ert-select-tests)
6625         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6626         Use cl-lib functions rather than reimplementations.
6628 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
6630         * net/tramp.el (tramp-methods): Extend docstring.
6631         (tramp-connection-timeout): New defcustom.
6632         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6633         (with-tramp-progress-reporter): Simplify.
6634         (tramp-process-actions): Improve messages.
6636         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6637         * net/tramp-sh.el (tramp-maybe-open-connection):
6638         Use `tramp-connection-timeout'.
6639         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6640         (Bug#14808)
6642 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6644         * ido.el (ido-read-file-name): Conform to the requirements of
6645         read-file-name.  (Bug#11861)
6646         (ido-read-directory-name): Conform to the requirements of
6647         read-directory-name.
6649 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6651         * subr.el (delay-warning): New function.
6653 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6655         * simple.el (default-line-height): New function.
6656         (line-move-partial, line-move): Use it instead of computing the
6657         line height inline.
6658         (line-move-partial): Always compute ROWH.  If the last line is
6659         partially-visible, but its text is completely visible, allow
6660         cursor to enter such a partially-visible line.
6662 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6664         Improve error messages.  (Bug#14808)
6666         * net/tramp.el (tramp-current-connection): New defvar, moved from
6667         tramp-sh.el.
6668         (tramp-message-show-progress-reporter-message): Remove, not
6669         needed anymore.
6670         (tramp-error-with-buffer): Show message in minibuffer.
6671         Discard input before waiting.  Reset connection timestamp.
6672         (with-tramp-progress-reporter): Improve messages.
6673         (tramp-process-actions): Use progress reporter.  Delete process in
6674         case of error.  Improve messages.
6676         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6677         Call `tramp-error-with-buffer' with vector and buffer.
6678         (tramp-current-connection): Remove.
6679         (tramp-maybe-open-connection): The car of
6680         `tramp-current-connection' are the first 3 slots of the vector.
6682 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
6684         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6685         inside continued strings.
6687 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
6689         Timestamp fixes for undo (Bug#14824).
6690         * files.el (clear-visited-file-modtime): Move here from fileio.c.
6692 2013-07-10  Leo Liu  <sdl.web@gmail.com>
6694         * files.el (require-final-newline): Allow safe local value.
6695         (Bug#14834)
6697 2013-07-09  Leo Liu  <sdl.web@gmail.com>
6699         * ido.el (ido-read-directory-name): Handle fallback.
6700         (ido-read-file-name): Update DIR to ido-current-directory.
6701         (Bug#1516)
6702         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
6704 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
6706         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6707         "autoload".  Remove "warn lower camel case" section, previously
6708         commented out.  Highlight negation char.  Do not highlight the
6709         target in singleton method definitions.
6711 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * faces.el (tty-setup-hook): Declare the hook.
6715         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6716         and detect when a guard/pred depends on local vars (bug#14773).
6717         (pcase--u1): Adjust caller.
6719 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
6721         * simple.el (line-move-partial, line-move): Account for
6722         line-spacing.
6723         (line-move-partial): Avoid setting vscroll when the last
6724         partially-visible line in window is of default height.
6726 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6728         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6729         been used a while.
6731 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
6733         * subr.el (read-quoted-char): Remove unused local variable `char'.
6735 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6737         * ediff.el (ediff-version): Version update.
6738         (ediff-files-command, ediff3-files-command, ediff-merge-command)
6739         (ediff-merge-with-ancestor-command, ediff-directories-command)
6740         (ediff-directories3-command, ediff-merge-directories-command)
6741         (ediff-merge-directories-with-ancestor-command): New functions.
6742         All are command-line interfaces to ediff: to facilitate calling
6743         Emacs with the appropriate ediff functions invoked.
6745         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6746         (viper-save-kill-buffer): Check if buffer is modified.
6748         * viper.el (viper-version): Version update.
6749         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6751 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6753         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6754         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6755         (viper-intercept-ESC-key): Simplify.
6756         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6757         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6758         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6759         (viper-setup-ESC-to-escape): New functions.
6760         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6761         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
6763 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
6765         * simple.el (default-font-height, window-screen-lines):
6766         New functions.
6767         (line-move, line-move-partial): Use them instead of
6768         frame-char-height and window-text-height.  This makes scrolling
6769         text smoother when the buffer's default face uses a font that is
6770         different from the frame's default font.
6772 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
6774         * files.el (write-file): Do not display confirm dialog for NS,
6775         it does its own dialog, which can't be cancelled (Bug#14578).
6777 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
6779         * simple.el (line-move-partial): Adjust the row returned by
6780         posn-at-point for the current window-vscroll.  (Bug#14567)
6782 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
6784         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6785         (tramp-sh-file-inotifywait-process-filter): Handle file names with
6786         spaces.
6788 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
6790         * window.el (window-state-put-stale-windows): New variable.
6791         (window--state-put-2): Save list of windows without matching buffer.
6792         (window-state-put): Remove "bufferless" windows if possible.
6794 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6796         * simple.el (alternatives-define): Remove leftover :group keyword.
6797         Tweak docstring.
6799 2013-07-06  Leo Liu  <sdl.web@gmail.com>
6801         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6802         (ido-enable-virtual-buffers): New variable.
6803         (ido-buffer-internal, ido-toggle-virtual-buffers)
6804         (ido-make-buffer-list): Use it.
6805         (ido-exhibit): Support turning on and off virtual buffers
6806         automatically.
6808 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6810         * simple.el (alternatives-define): New macro.
6812 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6814         * subr.el (read-quoted-char): Use read-key.
6815         (sit-for): Let read-event decode tty input (bug#14782).
6817 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
6819         * calendar/todo-mode.el: Add handling of file deletion, both by
6820         mode command and externally.  Fix various related bugs.
6821         Clarify Commentary and improve some documentation strings and code.
6822         (todo-delete-file): New command.
6823         (todo-check-file): New function.
6824         (todo-show): Handle external deletion of the file we're trying to
6825         show (bug#14688).  Replace called-interactively-p by an optional
6826         prefix argument to avoid problematic interaction with catch form
6827         when byte compiled (bug#14702).
6828         (todo-quit): Handle external deletion of the archive's todo file.
6829         Make sure the buffer that was visiting the archive file is still
6830         live before trying to bury it.
6831         (todo-category-completions): Handle external deletion of any
6832         category completion files.
6833         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6834         of todo files, in case of external deletion.
6835         (todo-add-file): Replace unnecessary setq by let-binding.
6836         (todo-find-archive): Check whether there are any archives.
6837         Replace unnecessary setq by let-binding.
6838         (todo-archive-done-item): Use find-file-noselect to get the
6839         archive buffer whether or not the archive already exists.
6840         Remove superfluous code.  Use file size instead of buffer-file-name to
6841         check if the archive is new; if it is, update list of archives.
6842         (todo-default-todo-file): Allow nil to be a valid value for when
6843         there are no todo files.
6844         (todo-reevaluate-default-file-defcustom): Use corrected definition
6845         of todo-default-todo-file.
6846         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6847         (todo-delete-category, todo-show-categories-table)
6848         (todo-category-number): Clarify comment.
6849         (todo-filter-items): Clarify documentation string.
6850         (todo-show-current-file, todo-display-as-todo-file)
6851         (todo-reset-and-enable-done-separator): Tweak documentation string.
6852         (todo-done-separator): Make separator length window-width, since
6853         bug#2749 is now fixed.
6855 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6857         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6858         Support both "gvfs-monitor-dir" and "inotifywait".
6859         (tramp-sh-file-inotifywait-process-filter): Rename from
6860         `tramp-sh-file-notify-process-filter'.
6861         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6862         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6864 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6866         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6868 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6870         * frame.el (display-pixel-height, display-pixel-width)
6871         (display-mm-height, display-mm-width): Mention behavior on
6872         multi-monitor setups in docstrings.
6873         (w32-display-monitor-attributes-list): Declare function.
6874         (display-monitor-attributes-list): Use it.
6876 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6878         * filenotify.el: New package.
6880         * autorevert.el (top): Require filenotify.el.
6881         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6882         instead.
6883         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6884         (auto-revert-notify-handler): Use `file-notify-*' functions.
6886         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6888         * net/tramp.el (tramp-file-name-for-operation):
6889         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6891         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6892         for `file-notify-add-watch' and `file-notify-rm-watch'.
6893         (tramp-process-sentinel): Improve trace.
6894         (tramp-sh-handle-file-notify-add-watch)
6895         (tramp-sh-file-notify-process-filter)
6896         (tramp-sh-handle-file-notify-rm-watch)
6897         (tramp-get-remote-inotifywait): New defuns.
6899 2013-07-03  Juri Linkov  <juri@jurta.org>
6901         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6902         call of `occur-read-primary-args' to interactive spec.
6904         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6905         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6907 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6909         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6910         `Buffer-menu-multi-occur'.  Add it to the menu.
6911         (Buffer-menu-mode): Document it in docstring.
6912         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6914 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6916         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6917         keywords and built-ins.
6919 2013-07-03  Glenn Morris  <rgm@gnu.org>
6921         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6923         Make info-xref checks case-sensitive by default
6924         * info.el (Info-find-node, Info-find-in-tag-table)
6925         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6926         Add option for exact case matching of nodes.
6927         * info-xref.el (info-xref): New custom group.
6928         (info-xref-case-fold): New option.
6929         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6931 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6933         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6935 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6937         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6938         middle of block statement initially, lower the depth.  Remove
6939         FIXME comment, not longer valid.  Remove middle of block statement
6940         detection, no need to do that anymore since we've been using
6941         `ruby-parse-region' here.
6943 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6945         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6947 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6949         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6951 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6953         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6954         (desktop-restore-in-current-display): New customization option.
6955         (desktop--excluded-frame-parameters): Add `font'.
6956         (desktop--save-frames): Rename from desktop--save-windows.
6957         (desktop--restore-in-this-display-p): New function.
6958         (desktop--make-full-frame): Remove unwanted width/height from
6959         full(width|height) frames.
6960         (desktop--restore-frames): Rename from desktop--restore-windows.
6961         Obey desktop-restore-current-display.  Do not delete old frames or
6962         select a new frame unless we were able to restore at least one frame.
6964 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6966         * files.el (find-file-noselect): Simplify conditional expression.
6968         * remember.el (remember-append-to-file):
6969         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6971         Add `remember-notes' function to store random notes across Emacs
6972         restarts.
6973         * remember.el (remember-data-file): Add :set callback to affect
6974         notes buffer (if any).
6975         (remember-notes): New command.
6976         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6977         New defcustoms for the `remember-notes' function.
6978         (remember-notes-save-and-bury-buffer): New command.
6979         (remember-notes-mode-map): New variable.
6980         (remember-mode): New minor mode.
6981         (remember-notes--kill-buffer-query): New function.
6982         * startup.el (initial-buffer-choice): Add notes to custom type.
6984 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6986         * bindings.el (right-char, left-char): Don't call sit-for, this is
6987         no longer needed.  Use arithmetic comparison only for numerical
6988         arguments.
6990         * international/mule-cmds.el (select-safe-coding-system):
6991         Handle the case of FROM being a string correctly.  (Bug#14755)
6993 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6995         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6996         progression on degenerate tables.
6997         (shr-rescale-image): ImageMagick animated images currently don't work.
6999 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
7001         Some fixes and improvements for desktop frame restoration.
7002         It is still experimental and disabled by default.
7003         * desktop.el (desktop--save-windows): Put the selected frame at
7004         the head of the list.
7005         (desktop--make-full-frame): New function.
7006         (desktop--restore-windows): Try to re-select the frame that was
7007         selected upon saving.  Do not abort if some frames fail to restore,
7008         just show an error message and continue.  Set up maximized frames
7009         so they have default non-maximized dimensions.
7011 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
7013         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7014         Don't start heredoc inside a string or comment.
7016 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
7018         * bindings.el (visual-order-cursor-movement): New defcustom.
7019         (right-char, left-char): Provide visual-order cursor motion by
7020         calling move-point-visually.  Update the doc strings.
7022 2013-06-28  Kenichi Handa  <handa@gnu.org>
7024         * international/mule.el (define-coding-system): New coding system
7025         properties :inhibit-null-byte-detection,
7026         :inhibit-iso-escape-detection, and :prefer-utf-8.
7027         (set-buffer-file-coding-system): If :charset-list property of
7028         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7029         appropriate for setting.
7031         * international/mule-cmds.el (select-safe-coding-system):
7032         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7033         multibyte characters, return utf-8 (or one of its siblings).
7035         * international/mule-conf.el (prefer-utf-8): New coding system.
7036         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7037         files.
7039 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
7041         * net/shr.el (shr-render-region): New function.
7043         * net/eww.el: Autoload `eww-browse-url'.
7045 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
7047         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7048         Adapt to `package-desc-version' being a list.
7049         Use `package--ac-desc-version' to retrieve version from a package
7050         archive element.
7052 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
7054         New experimental feature to save&restore window and frame setup.
7055         * desktop.el (desktop-save-windows): New defcustom.
7056         (desktop--saved-states): New var.
7057         (desktop--excluded-frame-parameters): New defconst.
7058         (desktop--filter-frame-parms, desktop--find-frame-in-display)
7059         (desktop--restore-windows, desktop--save-windows): New functions.
7060         (desktop-save): Call `desktop--save-windows'.
7061         (desktop-read): Call `desktop--restore-windows'.
7063 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7065         * net/shr.el (add-face-text-property): Remove compat definition.
7067 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7069         * info.el (Info-try-follow-nearest-node): Move search for footnote
7070         above search for node name to prevent missing a footnote (bug#14717).
7072 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7074         * obsolete/otodo-mode.el: Add obsolescence info to file header.
7076 2013-06-27  Leo Liu  <sdl.web@gmail.com>
7078         * net/eww.el (eww-read-bookmarks): Check file size.
7080 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7082         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7083         advice--pending if newdef is nil or an autoload (bug#13820).
7084         (advice-mapc): New function.
7086 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7088         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7089         probably.
7090         (eww-mode-map): Add a menu bar.
7091         (eww-add-bookmark): New command.
7092         (eww-bookmark-mode): New mode and commands.
7093         (eww-add-bookmark): Remove newlines from the title.
7094         (eww-bookmark-browse): Don't bug out if it's the only window.
7096 2013-06-26  Glenn Morris  <rgm@gnu.org>
7098         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7099         (hfy-size): Handle ttys.  (Bug#14668)
7101         * info-xref.el: Update for Texinfo 5 change in *note format.
7102         (info-xref-node-re, info-xref-note-re): New constants.
7103         (info-xref-check-buffer): Use info-xref-note-re.
7105 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7107         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7109         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7110         nil terminate the loop (bug#14718).
7112 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7114         * net/eww.el: Rework history traversal.  When going forward/back,
7115         put these actions into the history, too, so that they can be
7116         replayed.
7117         (eww-render): Move the history reset to the correct buffer.
7119 2013-06-25  Juri Linkov  <juri@jurta.org>
7121         * files-x.el (modify-dir-local-variable): Change the header comment
7122         in the file with directory local variables.  (Bug#14692)
7124         * files-x.el (read-file-local-variable-value): Add `default'.
7125         (Bug#14710)
7127 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7129         * net/eww.el (eww-make-unique-file-name): Create a unique file
7130         name before saving to entering `y' accidentally asynchronously.
7132 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
7134         * net/eww.el (eww-download): New command and keystroke.
7136 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7138         * net/eww.el (eww-copy-page-url): Change name of command.
7140         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7141         be more consistent with Info and dired.
7143         * net/eww.el (eww-mode-map): Ditto.
7145 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7147         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
7148         packages from archives.
7149         (package-archive-contents): Change format; include obsolete packages.
7150         (package-desc): Use `dir' to mark builtin packages.
7151         (package--from-builtin): Set the `dir' field to `builtin'.
7152         (generated-autoload-file, version-control): Declare.
7153         (package-compute-transaction): Change first arg and return value to be
7154         lists of package-descs.  Adjust to new package-archive-contents format.
7155         (package--add-to-archive-contents): Adjust to new
7156         package-archive-contents format.
7157         (package-download-transaction): Arg is now a list of package-descs.
7158         (package-install): If `pkg' is a package name, pass it as
7159         a requirement, so it is subject to the usual (e.g. disabled) checks.
7160         (describe-package): Accept package-desc as well.
7161         (describe-package-1): Describe a specific package-desc.  Add links to
7162         other package-descs for the same package name.
7163         (package-menu-describe-package): Pass the actual package-desc.
7164         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7165         works correctly.
7166         (package-desc-status): New function.
7167         (package-menu--refresh): New function, extracted
7168         from package-menu--generate.
7169         (package-menu--generate): Use it.
7170         (package-delete): Update package-alist.
7171         (package-menu-execute): Don't call package-initialize.
7173         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7174         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7175         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7176         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7177         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7178         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7180 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
7182         * window.el (window--state-get-1): Workaround for bug#14527.
7183         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7185 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7187         * net/eww.el (eww-back-url): Implement the history by stashing all
7188         the data into a list.
7189         (eww-forward-url): Allow going forward in the history, too.
7191 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7193         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7194         for values and use read--expression for expressions (bug#14710).
7195         (read-file-local-variable): Avoid setq.
7196         (read-file-local-variable-mode): Use minor-mode-list.
7198 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7200         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7201         for DOI URLs.
7203 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7205         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7206         Update imenu-support when dialect changes.
7208 2013-06-25  Leo Liu  <sdl.web@gmail.com>
7210         * ido.el (ido-read-internal): Allow forward slash on windows.
7212 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7214         * net/eww.el (eww): Start of strings is \\`, not ^.
7216 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7218         * net/shr.el (shr-browse-url): Fix interactive spec.
7220         * net/eww.el (eww): Add a trailing slash to domain names.
7222 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
7224         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7226 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7228         * net/shr.el (shr-browse-url): Use an external browser if given a
7229         prefix.
7231         * net/eww.el (eww-external-browser): Move to shr.
7233 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7235         * net/eww.el (eww): Work more correctly for file: URLs.
7236         (eww-detect-charset): Allow quoted charsets.
7237         (eww-yank-page-url): New command and keystroke.
7239 2013-06-24  Daiki Ueno  <ueno@gnu.org>
7241         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7242         file name of gpg executable.
7243         (epg-context-program): New function.
7244         (epg-context-home-directory): New function.
7245         (epg-context-set-program): New function.
7246         (epg-context-set-home-directory): New function.
7247         (epg--start): Use `epg-context-program' instead of
7248         'epg-gpg-program'.
7249         (epg--list-keys-1): Likewise.
7251 2013-06-24  Leo Liu  <sdl.web@gmail.com>
7253         * ido.el (ido-read-internal): Fix bug#14620.
7255 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7257         * faces.el (face-documentation): Simplify.
7258         (read-face-attribute, tty-find-type, x-resolve-font-name):
7259         Use `string-match-p'.
7260         (list-faces-display): Use `string-match-p'.  Simplify.
7261         (face-spec-recalc): Check face to avoid face alias loops.
7262         (read-color): Use `string-match-p' and non-capturing parenthesis.
7264 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7266         * net/shr.el (shr-rescale-image): Use the new
7267         :max-width/:max-height functionality.
7269 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
7271         * net/eww.el (eww-search-prefix): New variable.
7272         (eww): Use it.
7273         (eww-external-browser): New variable.
7274         (eww-mode-map): New keystroke.
7275         (eww-browse-with-external-browser): New command.
7277         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7279 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7281         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7282         Don't skip aligning the next header field when padding is 0;
7283         otherwise, field width is not respected unless the title is as
7284         wide as the field.
7286 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7288         * emacs-lisp/package.el (package-el-version): Remove.
7289         (package-process-define-package): Fix inf-loop.
7290         (package-install): Allow symbols as arguments again.
7292 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7294         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7295         add some more keyword-like methods.
7296         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7298 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
7300         * bs.el (bs-buffer-show-mark): Make defvar-local.
7301         (bs-mode): Use setq-local.
7303         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7304         (emacs-lock--try-unlocking): Make defvar-local.
7306 2013-06-22  Glenn Morris  <rgm@gnu.org>
7308         * play/cookie1.el (cookie-apropos): Minor simplification.
7310         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7312 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7314         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7315         `regexp-opt', it breaks the build during dumping.
7317 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
7319         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7320         Highlight keyword-like methods on Kernel and Module with
7321         font-lock-builtin-face.
7322         (auto-mode-alist): Consolidate different entries into one regexp
7323         and add more *file-s.
7325 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
7327         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7329         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7330         (diary-entry): Use it in the action of this button type instead of
7331         diary-goto-entry.
7333         * calendar/todo-mode.el: New version.
7334         (todo-add-category): Append new category to end of file and give
7335         it the highest number, instead of putting it at the beginning and
7336         giving it 0.  Incorporate noninteractive functionality.
7337         (todo-forward-category): Adapt to 1-based category numbering.
7338         Allow skipping over archived categories.
7339         (todo-backward-category): Derive from todo-forward-category.
7340         (todo-backward-item, todo-forward-item): Make noninteractive and
7341         delegate interactive part to new commands.  Make sensitive to done items.
7342         (todo-categories): Make value an alist of category names and
7343         vectors of item counts.
7344         (todo-category-beg): Make a defconst.
7345         (todo-category-number): Use 1 instead of 0 as initial value.
7346         (todo-category-select): Make sensitive to overlays, optional item
7347         highlighting and done items.
7348         (todo-delete-item): Make sensitive to overlays and marked and done items.
7349         (todo-edit-item): Make sensitive to overlays and editing of
7350         date/time header optional.  Add format checks.
7351         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
7352         no-op if point is not on an item.  Advertise using todo-edit-quit.
7353         (todo-edit-mode): Make sensitive to new format, font-locking, and
7354         multiple todo files.
7355         (todo-insert-item, todo-insert-item-here): Derive from
7356         todo-basic-insert-item and extend functionality.
7357         (todo-item-end, todo-item-start): Make sensitive to done items.
7358         (todo-item-string): Don't return text properties.  Restore point.
7359         (todo-jump-to-category): Make sensitive to multiple todo files and
7360         todo archives.  Use extended category completion.
7361         (todo-lower-item, todo-raise-item): Rename to *-priority and
7362         derive from todo-set-item-priority.
7363         (todo-mode): Derive from special-mode.  Make sensitive to new
7364         format, font-locking and multiple todo files.  Make read-only.
7365         (todo-mode-map): Don't suppress digit keys, so they can supply
7366         prefix arguments.  Add many new key bindings.
7367         (todo-prefix): Insert as an overlay instead of file text.
7368         Change semantics from diary date expression to purely visual mark.
7369         (todo-print): Rename to todo-print-buffer.  Make buffer display
7370         features printable.  Remove option to restrict number of items
7371         printed.  Add option to print to file.
7372         (todo-print-function): Rename to todo-print-buffer-function.
7373         (todo-quit): Extend to handle exiting new todo modes.
7374         (todo-remove-item): Make sensitive to overlays.
7375         (todo-save): Extend to buffers of filtered items.
7376         (todo-show): Make sensitive to done items, multiple todo files and
7377         new todo modes.  Offer to convert legacy todo file before creating
7378         first new todo file.
7379         (todo-show-priorities): Rename to todo-top-priorities.
7380         Change semantics of value 0.
7381         (todo-top-priorities): Rename to todo-filter-top-priorities,
7382         derive from todo-filter-items and extend functionality.
7383         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7384         and extend functionality to other types of filtered items.
7385         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7386         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7387         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7388         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7389         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7390         (todo-edit-mode-hook, todo-entry-prefix-function)
7391         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7392         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7393         (todo-initials, todo-insert-threshold, todo-item-string-start)
7394         (todo-line-string, todo-menu, todo-mode-hook)
7395         (todo-more-important-p, todo-previous-answer, todo-previous-line)
7396         (todo-print-priorities, todo-remove-separator)
7397         (todo-save-top-priorities-too, todo-string-count-lines)
7398         (todo-string-multiline-p, todo-time-string-format)
7399         (todo-tmp-buffer-name): Remove.
7400         (todo-add-file, todo-archive-done-item, todo-choose-archive)
7401         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7402         (todo-edit-category-diary-inclusion)
7403         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7404         (todo-edit-file, todo-edit-item-date-day)
7405         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7406         (todo-edit-item-date-month, todo-edit-item-date-to-today)
7407         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7408         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7409         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7410         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7411         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7412         (todo-filter-top-priorities-multifile, todo-find-archive)
7413         (todo-find-filtered-items-file, todo-go-to-source-item)
7414         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7415         (todo-jump-to-archive-category, todo-lower-category)
7416         (todo-mark-category, todo-marked-item-p, todo-merge-category)
7417         (todo-move-category, todo-move-item, todo-next-button)
7418         (todo-next-item, todo-padded-string, todo-powerset)
7419         (todo-previous-button, todo-previous-item)
7420         (todo-print-buffer-to-file, todo-raise-category)
7421         (todo-rename-category, todo-repair-categories-sexp, todo-search)
7422         (todo-set-category-number, todo-set-item-priority)
7423         (todo-set-top-priorities-in-category)
7424         (todo-set-top-priorities-in-file, todo-show-categories-table)
7425         (todo-sort-categories-alphabetically-or-numerically)
7426         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7427         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7428         (todo-toggle-item-header, todo-toggle-item-highlighting)
7429         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7430         (todo-toggle-view-done-items, todo-toggle-view-done-only)
7431         (todo-unarchive-items, todo-unmark-category): New commands.
7432         (todo-absolute-file-name, todo-add-to-buffer-list)
7433         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7434         (todo-basic-insert-item, todo-category-completions)
7435         (todo-category-number, todo-category-string-matcher-1)
7436         (todo-category-string-matcher-2, todo-check-filtered-items-file)
7437         (todo-check-format, todo-clear-matches)
7438         (todo-comment-string-matcher, todo-convert-legacy-date-time)
7439         (todo-current-category, todo-date-string-matcher)
7440         (todo-define-insertion-command, todo-diary-expired-matcher)
7441         (todo-diary-goto-entry, todo-diary-item-p)
7442         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7443         (todo-display-categories, todo-display-sorted, todo-done-item-p)
7444         (todo-done-item-section-p, todo-done-separator)
7445         (todo-done-string-matcher, todo-files, todo-filter-items)
7446         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7447         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7448         (todo-insert-category-line, todo-insert-item-from-calendar)
7449         (todo-insert-sort-button, todo-insert-with-overlays)
7450         (todo-insertion-command-name, todo-insertion-key-bindings)
7451         (todo-label-to-key, todo-longest-category-name-length)
7452         (todo-make-categories-list, todo-mode-external-set)
7453         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7454         (todo-modes-set-3, todo-multiple-filter-files)
7455         (todo-nondiary-marker-matcher, todo-prefix-overlays)
7456         (todo-read-category, todo-read-date, todo-read-dayname)
7457         (todo-read-file-name, todo-read-time)
7458         (todo-reevaluate-category-completions-files-defcustom)
7459         (todo-reevaluate-default-file-defcustom)
7460         (todo-reevaluate-filelist-defcustoms)
7461         (todo-reevaluate-filter-files-defcustom)
7462         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7463         (todo-reset-done-separator, todo-reset-done-separator-string)
7464         (todo-reset-done-string, todo-reset-global-current-todo-file)
7465         (todo-reset-highlight-item, todo-reset-nondiary-marker)
7466         (todo-reset-prefix, todo-set-categories)
7467         (todo-set-date-from-calendar, todo-set-show-current-file)
7468         (todo-set-top-priorities, todo-short-file-name)
7469         (todo-show-current-file, todo-sort, todo-time-string-matcher)
7470         (todo-total-item-counts, todo-update-buffer-list)
7471         (todo-update-categories-display, todo-update-categories-sexp)
7472         (todo-update-count, todo-validate-name, todo-y-or-n-p):
7473         New functions.
7474         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7475         New major modes.
7476         (todo-categories, todo-display, todo-edit, todo-faces)
7477         (todo-filtered): New defgroups.
7478         (todo-archived-only, todo-button, todo-category-string, todo-date)
7479         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7480         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7481         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7482         (todo-add-item-if-new-category, todo-always-add-time-string)
7483         (todo-categories-align, todo-categories-archived-label)
7484         (todo-categories-category-label, todo-categories-diary-label)
7485         (todo-categories-done-label, todo-categories-number-separator)
7486         (todo-categories-todo-label, todo-categories-totals-label)
7487         (todo-category-completions-files, todo-completion-ignore-case)
7488         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7489         (todo-done-separator-string, todo-done-string)
7490         (todo-files-function, todo-filter-done-items, todo-filter-files)
7491         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7492         (todo-initial-category, todo-initial-file, todo-item-mark)
7493         (todo-legacy-date-time-regexp, todo-mode-line-function)
7494         (todo-nondiary-marker, todo-number-prefix)
7495         (todo-print-buffer-function, todo-show-current-file)
7496         (todo-show-done-only, todo-show-first, todo-show-with-done)
7497         (todo-skip-archived-categories, todo-top-priorities-overrides)
7498         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7499         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7500         New defcustoms.
7501         (todo-category-done, todo-date-pattern, todo-date-string-start)
7502         (todo-diary-items-buffer, todo-done-string-start)
7503         (todo-filtered-items-buffer, todo-item-start)
7504         (todo-month-abbrev-array, todo-month-name-array)
7505         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7506         (todo-top-priorities-buffer): New defconsts.
7507         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7508         (todo-categories-with-marks, todo-category-string-face)
7509         (todo-comment-face, todo-comment-string, todo-current-todo-file)
7510         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7511         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7512         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7513         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7514         (todo-font-lock-keywords, todo-global-current-todo-file)
7515         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7516         (todo-insertion-commands-args)
7517         (todo-insertion-commands-args-genlist)
7518         (todo-insertion-commands-names, todo-insertion-map)
7519         (todo-key-bindings-t, todo-key-bindings-t+a)
7520         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7521         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7522         (todo-nondiary-face, todo-print-buffer, todo-time-face)
7523         (todo-visited): New variables.
7525 2013-06-21  Glenn Morris  <rgm@gnu.org>
7527         * play/cookie1.el (cookie-apropos): Add optional display argument.
7528         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7529         (psychoanalyze-pinhead): Use cookie-doctor.
7531 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7533         * emacs-lisp/package.el (tar-get-file-descriptor)
7534         (tar--extract): Declare.
7536 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
7538         Extend flymake's warning predicate to be a function (bug#14217).
7539         * progmodes/flymake.el (flymake-warning-predicate): New.
7540         (flymake-parse-line): Use it.
7541         (flymake-warning-re): Make obsolete alias to
7542         `flymake-warning-predicate'.
7544 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7546         * emacs-lisp/package.el (package-alist): Include obsolete packages.
7547         (package-obsolete-list): Remove.
7548         (package-activate): Remove min-version argument.  Add `force' argument.
7549         Adjust to new package-alist format.
7550         (package-mark-obsolete): Remove.
7551         (package-unpack): Force reload of the package's autoloads.
7552         (package-installed-p): Check builtins if the installed package is not
7553         recent enough.
7554         (package-initialize): Don't reset package-obsolete-list.
7555         Don't specify which package version to activate.
7556         (package-process-define-package, describe-package-1)
7557         (package-menu--generate): Adjust to new package-alist format.
7559 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7561         * allout-widgets.el (allout-widgets-mode-off)
7562         (allout-widgets-mode-on, allout-widgets-pre-command-business)
7563         (allout-widgets-post-command-business)
7564         (allout-widgets-after-copy-or-kill-function)
7565         (allout-widgets-after-undo-function, allout-test-range-overlaps)
7566         (allout-decorate-item-and-context)
7567         (allout-graphics-modification-handler): Fix typos in docstrings.
7568         (allout-get-or-create-parent-widget): Use `looking-at-p'.
7570         * cmuscheme.el (scheme-start-file): Doc fix.
7571         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7572         (scheme-input-filter): Use `string-match-p'.
7574         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7576         * dired-x.el: Use Dired consistently in docstrings.
7578         * dired.el: Use Dired consistently in docstrings.
7579         (dired-readin, dired-mode): Use `setq-local'.
7580         (dired-switches-alist): Make defvar-local.
7581         (dired-buffers-for-dir): Use `zerop'.
7582         (dired-safe-switches-p, dired-switches-escape-p)
7583         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7584         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7585         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7586         (dired-goto-next-nontrivial-file): Use `string-match-p'.
7587         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7588         (dired-toggle-marks, dired-mark-files-containing-regexp)
7589         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7590         (dired-flag-auto-save-files, dired-flag-backup-files):
7591         Use `looking-at-p'.
7592         (dired-mark-files-regexp, dired-build-subdir-alist):
7593         Use `string-match-p', `looking-at-p'.
7595         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7596         (direct-print-region-helper): Use `string-match-p'.
7598 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7600         * comint.el (comint-redirect-results-list-from-process):
7601         Fix infinite loop.
7603 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7605         * net/eww.el (eww-update-header-line-format): Quote % characters.
7607 2013-06-21  Glenn Morris  <rgm@gnu.org>
7609         * play/cookie1.el (cookie): New custom group.
7610         (cookie-file): New option.
7611         (cookie-check-file): New function.
7612         (cookie): Make it interactive.  Make start and end messages optional.
7613         Interactively, display the result.  Default to cookie-file.
7614         (cookie-insert): Default to cookie-file.
7615         (cookie-snarf): Make start and end messages optional.
7616         Default to cookie-file.  Use with-temp-buffer.
7617         (cookie-read): Rename from read-cookie.
7618         Make start and end messages optional.  Default to cookie-file.
7619         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7620         Do not autoload it.
7621         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7622         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7624 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7626         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7628 2013-06-21  Glenn Morris  <rgm@gnu.org>
7630         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7632 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7633             Daniel Hackney  <dan@haxney.org>
7635         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7636         Consolidate the single-file vs tarball code.
7637         (package-desc-suffix): New function.
7638         (package-desc-full-name): Don't bother inlining it.
7639         (package-load-descriptor): Return the new package-desc.
7640         (package-mark-obsolete): Remove unused arg `package'.
7641         (package-unpack): Make it work for single files as well.
7642         Make it update package-alist.
7643         (package--make-autoloads-and-stuff): Rename from
7644         package--make-autoloads-and-compile.  Don't compile any more.
7645         (package--compile): New function.
7646         (package-generate-description-file): New function, extracted from
7647         package-unpack-single.
7648         (package-unpack-single): Remove.
7649         (package--with-work-buffer): Add indentation and debugging info.
7650         (package-download-single): Remove.
7651         (package-install-from-archive): Rename from package-download-tar, make
7652         it take a pkg-desc, and make it work for single files as well.
7653         (package-download-transaction): Simplify.
7654         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7655         external tar program.
7656         (package-install-from-buffer): Remove `pkg-desc' argument.
7657         Use package-tar-file-info for tar-mode buffers.
7658         (package-install-file): Simplify accordingly.
7659         (package-archive-base): Change to take a pkg-desc.
7660         * tar-mode.el (tar--check-descriptor): New function, extracted from
7661         tar-get-descriptor.
7662         (tar-get-descriptor): Use it.
7663         (tar-get-file-descriptor): New function.
7664         (tar--extract): New function, extracted from tar-extract.
7665         (tar--extract): Use it.
7666         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7667         case the summary uses non-ascii.  Adjust to new calling convention of
7668         package-tar-file-info.
7670 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7672         * comint.el (comint-redirect-results-list-from-process):
7673         Fix random delay.  (Bug#14681)
7675 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7677         * profiler.el (profiler-format-number): Use log, not log10.
7679 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7681         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7683 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7685         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7686         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7687         yet available.
7688         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7689         (AUTOGENEL): ... here.
7690         * emacs-lisp/cl-macs.el (cl--sublis): New function.
7691         (cl--defsubst-expand): Use it.
7693 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
7695         * subr.el (log10): Move here from C code, and declare as obsolete.
7696         All uses of (log10 X) replaced with (log X 10).
7698 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7700         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7701         Declare with `defvar-local'.
7702         (tabulated-list-use-header-line, tabulated-list-entries)
7703         (tabulated-list-padding, tabulated-list-printer)
7704         (tabulated-list-sort-key): Declare with `defvar-local'.
7705         (tabulated-list-init-header, tabulated-list-print-fake-header):
7706         Use `setq-local'.
7708 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
7710         * arc-mode.el (archive-mode): Add `archive-write-file' to
7711         `write-contents-functions' also for remote files.  (Bug#14652)
7713 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7715         * cus-edit.el (custom-commands): Fix typos.
7716         (custom-display): Fix tooltip text.
7717         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7718         Fix typos in docstrings.
7719         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7720         (custom-unlispify-menu-entry, custom-magic-value-create)
7721         (custom-add-see-also, custom-group-value-create): Use ?\s.
7722         (custom-guess-type, customize-apropos, editable-field)
7723         (custom-face-value-create): Use `string-match-p'.
7724         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7726         * custom.el (custom-load-symbol): Use `string-match-p'.
7728         * ansi-color.el: Convert to lexical binding.
7729         (ansi-colors): Fix URL.
7730         (ansi-color-context, ansi-color-context-region): Use defvar-local.
7731         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7732         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7734 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7736         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7738         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7740 2013-06-19  Tom Tromey  <tromey@redhat.com>
7742         * net/eww.el (eww-top-url): Remove.
7743         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7744         (eww-render): Set new variables.  Don't set eww-top-url.
7745         (eww-handle-link): Handle "prev", "home", and "contents".
7746         Downcase the rel text.
7747         (eww-top-url): Choose best top URL.
7749 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7751         * net/eww.el: Rewrite to implement form elements "by hand" instead of
7752         relying in widget.el.  Using widget.el leads to too many
7753         user interface inconsistencies.
7754         (eww-self-insert): Implement entering commands in text fields.
7755         (eww-process-text-input): New function to make text input field editing
7756         work.
7757         (eww-submit): Rewrite to use the new-style form methods.
7758         (eww-select-display): Display the correct selected item.
7759         (eww-change-select): Implement changing the select value.
7760         (eww-toggle-checkbox): Implement radio/checkboxes.
7761         (eww-update-field): Fix compilation error.
7762         (eww-tag-textarea): Implement <textarea>.
7764         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7765         we don't shadow mode-specific bindings.
7767         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7768         nothing to push.
7770         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7772 2013-06-19  Glenn Morris  <rgm@gnu.org>
7774         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7776 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7778         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7779         not needed.
7781         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7783 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7785         * net/browse-url.el (browse-url-browser-function):
7786         `eww-browse-url' has the right calling signature, `eww' does not.
7788 2013-06-19  Glenn Morris  <rgm@gnu.org>
7790         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7791         Only eval autoloaded macros.
7792         (byte-compile-autoload): Only give the macro warning for macros.
7794         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7795         (ps-underlined-faces): Declare.
7797         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7798         (speedbar-add-supported-extension): Declare.
7800         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7801         Don't include a date stamp in the header of the generated file;
7802         it leads to needless differences between output files.
7804 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7806         * net/secrets.el (secrets-struct-secret-content-type):
7807         Replace check of introspection data by a test call of "CreateItem".
7808         Some servers do not offer introspection.
7810 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7812         * electric.el (electric-pair-mode): Improve interaction with
7813         electric-layout-mode.
7814         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7815         (electric-pair-syntax): Use text-mode-syntax-table in comments
7816         and strings.
7817         (electric-pair--insert): New function.
7818         (electric-pair-post-self-insert-function): Use it and
7819         electric--after-char-pos.
7821 2013-06-19  Leo Liu  <sdl.web@gmail.com>
7823         * progmodes/octave.el (octave-help): Fix regexp.
7825 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7827         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7828         (shr-table-horizontal-line): Allow nil as a value, and change the
7829         default.
7830         (shr-insert-table-ruler): Respect the nil value.
7832 2013-06-18  Tom Tromey  <tromey@barimba>
7834         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7835         New defvars.
7836         (eww-open-file): New defun.
7837         (eww-render): Initialize new variables.
7838         (eww-display-html): Handle "link" and "a".
7839         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7840         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
7841         (eww-back-url): Rename from eww-previous-url.
7842         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7843         New defuns.
7845 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
7847         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7848         Distinguish ternary operator tokens from slash symbol and slash
7849         char literal.
7851 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7853         Convert symbol prettification into minor mode and global minor mode.
7855         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7856         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7857         (prettify-symbols--keywords): Rename from
7858         `prog-prettify-symbols-alist' and make a local defvar.
7859         (prettify-symbols--compose-symbol): Rename from
7860         `prog--prettify-font-lock-compose-symbol'.
7861         (prettify-symbols--make-keywords): Rename from
7862         `prog-prettify-font-lock-symbols-keywords' and simplify.
7863         (prog-prettify-install): Remove.
7864         (prettify-symbols-mode): New minor mode, based on
7865         `prog-prettify-install'.
7866         (turn-on-prettify-symbols-mode): New function.
7867         (global-prettify-symbols-mode): New globalized minor mode.
7869         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7870         * progmodes/cfengine.el (cfengine3-mode):
7871         * progmodes/perl-mode.el (perl-mode): Don't call
7872         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7874 2013-06-18  Juri Linkov  <juri@jurta.org>
7876         * files-x.el (modify-file-local-variable-message): New function.
7877         (modify-file-local-variable)
7878         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7879         and call `modify-file-local-variable-message' when it's non-nil.
7880         (add-file-local-variable, delete-file-local-variable)
7881         (add-file-local-variable-prop-line)
7882         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7883         and use it.  (Bug#9820)
7885 2013-06-18  Juri Linkov  <juri@jurta.org>
7887         * emulation/vi.el (vi-shell-op):
7888         * emulation/vip.el (vip-execute-com, ex-command):
7889         * emulation/viper-cmd.el (viper-exec-bang):
7890         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7891         the call of `shell-command-on-region'.  (Bug#14637)
7893         * simple.el (shell-command-on-region): Doc fix.
7895 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7897         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7898         (bug#14633).
7900 2013-06-18  Glenn Morris  <rgm@gnu.org>
7902         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7904         * newcomment.el (comment-search-forward, comment-search-backward):
7905         Doc fix.  (Bug#14376)
7907 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7909         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7910         (buffer-face-mode-invoke): Doc fix.
7912 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7914         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7915         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7917 2013-06-18  Glenn Morris  <rgm@gnu.org>
7919         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7920         Replace obsolete function generic-make-keywords with its expansion.
7922         * progmodes/python.el (ffap-alist): Declare.
7924         * textmodes/reftex.el (bibtex-mode-map): Declare.
7926 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7928         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7929         (package-unpack, package-unpack-single): Return the pkg-dir.
7930         (package-download-transaction): Use it to update package-alist.
7932 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7934         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7935         possible choice.
7937 2013-06-17  Juri Linkov  <juri@jurta.org>
7939         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7941 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7943         * emacs-lisp/package.el (package-load-descriptor):
7944         Remove `with-syntax-table' call, `read' doesn't need it.
7945         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7947 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7949         * startup.el (command-line): Expand package name returned by
7950         `package--description-file' (bug#14639).
7952 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7954         * emacs-lisp/package.el (package-load-descriptor): Do not call
7955         `emacs-lisp-mode', just use its syntax table.
7957 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7959         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7960         `font-lock-extra-managed-props' if any prettifying keyword is added.
7961         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7962         (prog-mode): Use `setq-local'.
7964 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7966         * international/characters.el (standard-case-table): Set syntax of ?»
7967         and ?« to punctuation.
7969 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7971         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7972         Save relevant match data before calling `syntax-ppss' (bug#14595).
7974 2013-06-15  Juri Linkov  <juri@jurta.org>
7976         * files-x.el (modify-file-local-variable-prop-line): Add local
7977         variables to the end of the existing comment on the first line.
7978         Use `file-auto-mode-skip' to skip interpreter magic line,
7979         and also skip XML declaration.
7981 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7983         * startup.el (package--builtin-versions): New var.
7984         (package-subdirectory-regexp): Remove.
7985         (package--description-file): Hard code its value instead.
7987         * emacs-lisp/package.el: Don't activate packages older than builtin.
7988         (package-obsolete-list): Rename from package-obsolete-alist, and make
7989         it into a simple list of package-desc.
7990         (package-strip-version): Remove.
7991         (package-built-in-p): Use package--builtin-versions.
7992         (package-mark-obsolete): Simplify.
7993         (package-process-define-package): Mark it obsolete if older than the
7994         builtin version.
7995         (package-handle-response): Use line-end-position.
7996         (package-read-archive-contents, package--download-one-archive):
7997         Simplify.
7998         (package--add-to-archive-contents): Skip if older than the builtin or
7999         installed version.
8000         (package-menu-describe-package): Fix last change.
8001         (package-list-unversioned): New var.
8002         (package-menu--generate): Use it.
8004         * emacs-lisp/autoload.el: Manage package--builtin-versions.
8005         (autoload--insert-text, autoload--insert-cookie-text): New functions.
8006         (autoload-builtin-package-versions): New variable.
8007         (autoload-generate-file-autoloads): Use them.
8008         Remove the list of autoloaded functions/macros from the
8009         (autoload...) comments.
8011         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8013 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
8015         * simple.el (line-move-partial): Don't jump to the next screen
8016         line as soon as it becomes visible.  Instead, continue enlarging
8017         the vscroll until the portion of a tall screen line that's left on
8018         display is about the height of the frame's default font.
8019         (Bug#14567)
8021 2013-06-15  Glenn Morris  <rgm@gnu.org>
8023         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8024         compilation-error-regexp-alist void, or local while let-bound.
8026         * progmodes/make-mode.el (makefile-mode-syntax-table):
8027         Treat "=" as punctuation.  (Bug#14614)
8029 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
8031         * help-fns.el (describe-variable):
8032         Add extra line for permanent-local variables.
8034 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
8036         * progmodes/scheme.el (scheme-font-lock-keywords-2):
8037         Add export, import, library.  (Bug#9164)
8038         (library): Set indent function.
8040 2013-06-14  Glenn Morris  <rgm@gnu.org>
8042         * term/xterm.el (xterm--query):
8043         Stop after first matching handler.  (Bug#14615)
8045 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
8047         Add support for dired in saveplace.
8048         * dired.el (dired-initial-position-hook): New variable.
8049         (dired-initial-position): Call hook to place cursor position.
8050         * saveplace.el (save-place-to-alist): Add dired position.
8051         (save-place-dired-hook): New function.
8053 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8055         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8056         through a symbol rather than letrec.
8058         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
8059         (package-desc): Add `dir' field.
8060         (package-desc-full-name): New function.
8061         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
8062         (package-maybe-load-descriptor): Remove.
8063         (package-load-all-descriptors): Just call package-load-descriptor.
8064         (package--disabled-p): New function.
8065         (package-desc-vers, package-desc-doc): Remove aliases.
8066         (package--dir): Remove function.
8067         (package-activate): Check if a package is disabled.
8068         (package-process-define-package): New function, extracted from
8069         define-package.
8070         (define-package): Turn into a place holder.
8071         (package-unpack-single, package-tar-file-info):
8072         Use package--description-file.
8073         (package-compute-transaction): Use package--disabled-p.
8074         (package-download-transaction): Don't call
8075         package-maybe-load-descriptor since they're all loaded anyway.
8076         (package-install): Change argument to be a pkg-desc.
8077         (package-delete): Use a single pkg-desc argument.
8078         (describe-package-1): Use package-desc-dir instead of package--dir.
8079         Use package-desc property instead of package-symbol.
8080         (package-install-button-action): Adjust accordingly.
8081         (package--push): Rewrite.
8082         (package-menu--print-info): Adjust accordingly.  Change the ID format
8083         to be a pkg-desc.
8084         (package-menu-describe-package, package-menu-get-status)
8085         (package-menu--find-upgrades, package-menu-mark-upgrades)
8086         (package-menu-execute, package-menu--name-predicate):
8087         Adjust accordingly.
8088         * startup.el (package--description-file): New function.
8089         (command-line): Use it.
8090         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8091         Use package-desc-version.
8093         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8094         (byte-compile-preprocess): Use it.
8095         (byte-compile-file-form-defalias): Try a bit harder to use macros we
8096         can't quite recognize.
8097         (byte-compile-add-to-list): Remove.
8098         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8099         (cconv-closure-convert): Add assertion.
8101         * emacs-lisp/map-ynp.el: Use lexical-binding.
8102         (map-y-or-n-p): Remove unused vars `tail' and `object'.
8103         Factor out some repeated code.
8105 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8107         * subr.el (with-eval-after-load): New macro.
8108         (eval-after-load): Allow form to be a function.
8109         take advantage of lexical-binding.
8110         (do-after-load-evaluation): Use dolist and adjust to new format.
8111         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8113 2013-06-13  Juri Linkov  <juri@jurta.org>
8115         * replace.el (perform-replace): Display "symbol " and other search
8116         modes from `isearch-message-prefix' in the *Help* buffer.
8118         * isearch.el (isearch-query-replace): Add " symbol" and other
8119         possible search modes from `isearch-message-prefix' to the prompt.
8120         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8121         when reading a regexp to collect.
8123 2013-06-13  Juri Linkov  <juri@jurta.org>
8125         * isearch.el (word-search-regexp): Match whitespace if the search
8126         string begins or ends in whitespace.  The LAX arg is applied to
8127         both ends of the search string.  Use `regexp-quote' and explicit
8128         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
8129         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8130         boundaries are replaced with symbol boundaries, and characters
8131         between symbols match non-word non-symbol syntax.  (Bug#14602)
8133 2013-06-13  Juri Linkov  <juri@jurta.org>
8135         * isearch.el (isearch-del-char): Don't exceed the length of
8136         `isearch-string' by the prefix arg.  (Bug#14563)
8138 2013-06-13  Juri Linkov  <juri@jurta.org>
8140         * isearch.el (isearch-yank-word, isearch-yank-line)
8141         (isearch-char-by-name, isearch-quote-char)
8142         (isearch-printing-char, isearch-process-search-char):
8143         Add optional count prefix arg.  (Bug#14563)
8145         * international/isearch-x.el
8146         (isearch-process-search-multibyte-characters):
8147         Add optional count prefix arg.
8149 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8151         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8152         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8153         lexical-binding.
8155 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
8157         * subr.el (set-temporary-overlay-map): Add on-exit argument.
8159 2013-06-13  Glenn Morris  <rgm@gnu.org>
8161         * startup.el (tty-handle-args):
8162         Don't just discard "--" and anything after.  (Bug#14608)
8164         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8166 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
8168         Implement changes in Secret Service API.  Make it backward compatible.
8169         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8170         (secrets-create-item): Use it.  Prefix properties with interface.
8172 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
8174         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
8175         (term-emulate-terminal): Respect term-suppress-hard-newline.
8177 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
8179         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8180         Only remove a `thumb-file' overlay.  (Bug#14548)
8182 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
8184         * mail/reporter.el (reporter-submit-bug-report):
8185         Handle missing package-name.  (Bug#14600)
8187 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8189         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8190         (reftex-citation-prompt, reftex-default-bibliography)
8191         (reftex-bib-or-thebib, reftex-get-bibfile-list)
8192         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8193         (reftex-bib-sort-author, reftex-bib-sort-year)
8194         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8195         (reftex-extract-bib-entries-from-thebibliography)
8196         (reftex-get-bibkey-default, reftex-get-bib-names)
8197         (reftex-parse-bibtex-entry, reftex-get-bib-field)
8198         (reftex-format-bib-entry, reftex-parse-bibitem)
8199         (reftex-format-bibitem, reftex-do-citation)
8200         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8201         (reftex-restrict-bib-matches, reftex-extract-bib-file)
8202         (reftex-insert-bib-matches, reftex-format-citation)
8203         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8204         (reftex-create-bibtex-file): Add docstrings, mostly by converting
8205         existing comments into docstrings.
8207 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8209         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8211 2013-06-12  Andreas Schwab  <schwab@suse.de>
8213         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8214         for auto-save files.
8216 2013-06-12  Glenn Morris  <rgm@gnu.org>
8218         * ido.el (ido-delete-ignored-files): Remove.
8219         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8220         Go back to calling ido-ignore-item-p directly.
8222 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
8224         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8226         * ido.el (ido-delete-ignored-files): New function,
8227         split from ido-make-file-list-1.
8228         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
8229         (ido-make-file-list-1): Use ido-delete-ignored-files.
8231 2013-06-12  Leo Liu  <sdl.web@gmail.com>
8233         * progmodes/octave.el (inferior-octave-startup)
8234         (inferior-octave-completion-table)
8235         (inferior-octave-track-window-width-change)
8236         (octave-eldoc-function-signatures, octave-help)
8237         (octave-find-definition): Use single quoted strings.
8238         (inferior-octave-startup-args): Change default value.
8239         (inferior-octave-startup): Do not hard code "-i" and
8240         "--no-line-editing".
8241         (inferior-octave-resync-dirs): Add optional arg NOERROR.
8242         (inferior-octave-directory-tracker): Use it.
8243         (octave-goto-function-definition): Robustify.
8244         (octave-help): Support highlighting operators in 'See also'.
8245         (octave-find-definition): Find subfunctions only in Octave mode.
8247 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8249         * help-fns.el (help-fns--compiler-macro): If the handler function is
8250         named, then put a link to it.
8251         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8252         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8253         (cl-typep): Use it.
8254         (cl-eval-when): Simplify debug spec.
8255         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
8256         compiler-macro function instead of setting `compiler-macro-file'.
8258 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8260         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8261         * vc/vc-hooks.el (vc-stay-local): Doc fix.
8263 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8264             Daniel Hackney  <dan@haxney.org>
8266         First part of Daniel Hackney's patch to package.el.
8267         * emacs-lisp/package.el: Use defstruct.
8268         (package-desc): New, main struct.
8269         (package--bi-desc, package--ac-desc): New structs, used to describe the
8270         format in external files.
8271         (package-desc-vers): Replace with package-desc-version accessor.
8272         (package-desc-doc): Replace with package-desc-summary accessor.
8273         (package-activate-1): Remove `package' arg since the pkg-vec now
8274         includes the name.
8275         (define-package): Use package-desc-from-define.
8276         (package-unpack-single): Change file-name arg to be a symbol.
8277         (package--add-to-archive-contents): Use package-desc-create and new
8278         accessor functions to package--ac-desc.
8279         (package-buffer-info, package-tar-file-info): Return a package-desc.
8280         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
8281         arg to be a package-desc.
8282         (package-install-file): Adjust accordingly.  Use \' to match EOS.
8283         (package--from-builtin): New function.
8284         (describe-package-1, package-menu--generate): Use it.
8285         (package--make-autoloads-and-compile): Change name arg to be a symbol.
8286         (package-generate-autoloads): Idem and return the name of the file.
8287         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8288         Change pkg-info arg to be a package-desc.
8289         Use package-make-ac-desc.
8290         (package-upload-file): Use \' to match EOS.
8291         * finder.el (finder-compile-keywords): Use package-make-builtin.
8293 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8295         * vc/vc.el (vc-deduce-fileset): Change error message.
8296         (vc-read-backend): New function.
8297         (vc-next-action): Use it.
8299         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8301         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8302         (prolog-font-lock-keywords): Use regexp-opt instead.
8303         Don't manually highlight strings.
8304         (prolog-mode-variables): Simplify comment-start-skip.
8305         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
8307         * emacs-lisp/generic.el (generic--normalise-comments)
8308         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8309         (generic-mode-set-comments): Use them.
8310         (generic-bracket-support): Use setq-local.
8311         (generic-make-keywords-list): Declare obsolete.
8313 2013-06-11  Glenn Morris  <rgm@gnu.org>
8315         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8316         Prettify after setting font-lock-defaults.  (Bug#14574)
8318 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
8320         * replace.el (query-replace, occur-read-regexp-defaults-function)
8321         (replace-search):
8322         * subr.el (declare-function, number-sequence, local-set-key)
8323         (substitute-key-definition, locate-user-emacs-file)
8324         (with-silent-modifications, split-string, eval-after-load):
8325         Fix typos, remove unneeded backslashes and reflow some docstrings.
8327 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8329         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8330         default for Elisp files.
8332 2013-06-11  Glenn Morris  <rgm@gnu.org>
8334         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8335         although define-derived-mode was doing this anyway.  (Bug#14583)
8337 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
8339         * allout.el (allout-encryption-plaintext-sanitization-regexps):
8340         Fix make-variable-buffer-local call to refer to the correct variable.
8342 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
8344         * eshell/em-term.el (eshell-visual-commands)
8345         (eshell-visual-subcommands, eshell-visual-options):
8346         Add summary line to docstrings.  Add cross-references.
8348 2013-06-10  Glenn Morris  <rgm@gnu.org>
8350         * epa.el (epa-read-file-name): New function.  (Bug#14510)
8351         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
8353 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8355         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8356         output redirection to be ignored with visual commands.
8358 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8360         * eshell/em-term.el (eshell-visual-command-p): New function.
8361         (eshell-term-initialize): Move long lambda to separate function
8362         eshell-visual-command-p.
8363         * eshell/em-dirs.el (eshell-dirs-initialise):
8364         * eshell/em-script.el (eshell-script-initialize):
8365         Add missing #' to lambda.
8367 2013-06-08  Leo Liu  <sdl.web@gmail.com>
8369         * progmodes/octave.el (octave-add-log-current-defun): New function.
8370         (octave-mode): Set add-log-current-defun-function.
8371         (octave-goto-function-definition): Do not move point if not found.
8372         (octave-find-definition): Enhance to try subfunctions first.
8374 2013-06-08  Glenn Morris  <rgm@gnu.org>
8376         * emacs-lisp/bytecomp.el (byte-compile-char-before)
8377         (byte-compile-backward-char, byte-compile-backward-word):
8378         Improve previous change, to handle non-explicit nil.
8380 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8382         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8383         (smie--opener/closer-at-point): New function.
8384         (smie--matching-block-data): Use it.  Don't match from right after an
8385         opener or right before a closer.  Obey smie-blink-matching-inners.
8386         Don't signal a mismatch for repeated inners like "switch..case..case".
8388 2013-06-07  Leo Liu  <sdl.web@gmail.com>
8390         * progmodes/octave.el (octave-mode): Set comment-use-global-state
8391         to t.  (Bug#14303)
8392         (octave-function-header-regexp): Fix.  (Bug#14570)
8393         (octave-help-mode-finish-hook, octave-help-mode-finish):
8394         Remove.  Just use temp-buffer-show-hook.
8396         * newcomment.el (comment-search-backward): Revert last change.
8397         (Bug#14434)
8399         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8401 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
8403         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8404         through xargs, to avoid failure due to MS-Windows limitations on
8405         command-line length.
8407 2013-06-06  Glenn Morris  <rgm@gnu.org>
8409         * font-lock.el (lisp-font-lock-keywords-2):
8410         Treat user-error like error.
8412         * emacs-lisp/bytecomp.el (byte-compile-char-before)
8413         (byte-compile-backward-char, byte-compile-backward-word):
8414         Handle explicit nil arguments.  (Bug#14565)
8416 2013-06-05  Alan Mackenzie  <acm@muc.de>
8418         * isearch.el (isearch-allow-prefix): New user option.
8419         (isearch-other-meta-char): Don't exit isearch when a prefix
8420         argument is typed whilst `isearch-allow-prefix' is non-nil.
8421         (Bug#9706)
8423 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8425         * autorevert.el (auto-revert-notify-handler): Use memq.
8426         Hide assertion failure.
8428         * skeleton.el: Use cl-lib.
8429         (skeleton-further-elements): Use defvar-local.
8430         (skeleton-insert): Use cl-progv.
8432 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8434         * progmodes/prog-mode.el (prog-prettify-symbols)
8435         (prog-prettify-install): Update docstrings.
8437 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8439         * simple.el: Move all the prog-mode code to prog-mode.el.
8440         * progmodes/prog-mode.el: New file.
8441         * loadup.el: Add prog-mode.el.
8443 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8445         * simple.el (prog-prettify-symbols): Add version.
8446         (prog-prettify-install): Add convenience function to prettify symbols.
8448         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8449         (perl--augmented-font-lock-keywords-1)
8450         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8451         variables and use it.
8453         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8454         (cfengine3-mode): Remove unneeded variable and use it.
8456         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8457         (lisp--augmented-font-lock-keywords-1)
8458         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8459         Remove unneeded variables and use it.
8461 2013-06-05  João Távora  <joaotavora@gmail.com>
8463         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8464         to point when opening the connection.  (Bug#14380)
8466 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8468         * subr.el (load-history-regexp, load-history-filename-element)
8469         (eval-after-load, after-load-functions, do-after-load-evaluation)
8470         (eval-next-after-load, display-delayed-warnings)
8471         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8472         definition of save-match-data.
8473         (overriding-local-map): Remove accidental obsolescence declaration.
8475         * emacs-lisp/edebug.el (edebug-result): Move before first use.
8477 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8479         Generalize symbol prettify support to prog-mode and implement it
8480         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8481         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8482         (prog--prettify-font-lock-compose-symbol)
8483         (prog-prettify-font-lock-symbols-keywords): New variables and
8484         functions to support symbol prettification.
8485         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8486         (lisp--augmented-font-lock-keywords-1)
8487         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8488         (lisp--prettify-symbols-alist): Implement prettify of lambda.
8489         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8490         (cfengine3--prettify-symbols-alist, cfengine3-mode):
8491         Implement prettify of -> => :: strings.
8492         * progmodes/perl-mode.el (perl-prettify-symbols)
8493         (perl--font-lock-compose-symbol)
8494         (perl--font-lock-symbols-keywords): Move to prog-mode.
8495         (perl--prettify-symbols-alist): Prettify -> => :: strings.
8496         (perl-font-lock-keywords-1)
8497         (perl-font-lock-keywords-2): Remove explicit prettify support.
8498         (perl--augmented-font-lock-keywords)
8499         (perl--augmented-font-lock-keywords-1)
8500         (perl--augmented-font-lock-keywords-2, perl-mode):
8501         Implement prettify support.
8503 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8505         Re-implement smie matching block highlight using
8506         show-paren-data-function.  (Bug#14395)
8507         * emacs-lisp/smie.el (smie-matching-block-highlight)
8508         (smie--highlight-matching-block-overlay)
8509         (smie--highlight-matching-block-lastpos)
8510         (smie-highlight-matching-block)
8511         (smie-highlight-matching-block-mode): Remove.
8512         (smie--matching-block-data-cache): New variable.
8513         (smie--matching-block-data): New function.
8514         (smie-setup): Use smie--matching-block-data for
8515         show-paren-data-function.
8517         * progmodes/octave.el (octave-mode-menu): Fix.
8518         (octave-find-definition): Skip garbage lines.
8520 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8522         Fix compilation error with simultaneous dynamic+lexical scoping.
8523         Add warning when a defvar appears after the first let-binding.
8524         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8525         (byte-compile-close-variables): Initialize it.
8526         (byte-compile--declare-var): New function.
8527         (byte-compile-file-form-defvar)
8528         (byte-compile-file-form-define-abbrev-table)
8529         (byte-compile-file-form-custom-declare-variable): Use it.
8530         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
8531         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8532         (byte-compile-bind): Handle dynamic bindings that shadow
8533         lexical bindings.
8534         (byte-compile-unbind): Make arg non-optional.
8535         (byte-compile-let): Simplify.
8536         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8537         (cconv--analyse-function, cconv-analyse-form): Populate it.
8538         Protect byte-compile-bound-variables to limit the scope of defvars.
8539         (cconv-analyse-form): Add missing rule for (defvar <foo>).
8540         Remove unneeded rule for `declare'.
8542         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8543         so as to avoid depending on cl-adjoin at run-time.
8544         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8546         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8547         (macroexp--warn-and-return): Use it.
8549 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8551         * lisp/subr.el: Convert to lexical binding.
8552         (overriding-local-map): Make obsolete.
8553         (add-to-list): Doc fix.  Add compiler macro.
8554         (read-key): Swap values of local maps.
8556 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8558         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8560 2013-06-04  Leo Liu  <sdl.web@gmail.com>
8562         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8563         (compilation-auto-jump): Suppress the "Mark set" message to give
8564         way to exit message.
8566 2013-06-04  Alan Mackenzie  <acm@muc.de>
8568         Remove faulty optimisation from indentation calculation.
8569         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8570         search limit based on 2000 characters back from indent-point.
8572 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8574         * eshell/em-term.el (cl-lib): Require `cl-lib'.
8576 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8578         * emacs-lisp/lisp.el: Use lexical-binding.
8579         (lisp--local-variables-1, lisp--local-variables): New functions.
8580         (lisp--local-variables-completion-table): New var.
8581         (lisp-completion-at-point): Use it complete let-bound vars.
8583         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8584         eagerly (bug#14422).
8586 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
8588         * autorevert.el (auto-revert-notify-enabled)
8589         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8590         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8591         (auto-revert-notify-handler): Handle also gfilenotify.
8593         * subr.el (file-notify-handle-event): New defun.  Replacing ...
8594         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8595         Remove.
8597 2013-06-03  Juri Linkov  <juri@jurta.org>
8599         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8600         `M-s h .'.  (Bug#14427)
8602         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8603         command `hi-lock-face-symbol-at-point'.
8604         (hi-lock-face-symbol-at-point): New command.
8605         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8606         (hi-lock-menu): Add `highlight-symbol-at-point'.
8607         (hi-lock-mode): Doc fix.
8609         * isearch.el (isearch-forward-symbol-at-point): New command.
8610         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8611         (isearch-highlight-regexp): Add a regexp which matches
8612         words/symbols for word/symbol mode.
8614         * subr.el (find-tag-default-bounds): New function with the body
8615         mostly moved from `find-tag-default'.
8616         (find-tag-default): Move most code to `find-tag-default-bounds',
8617         call it and apply `buffer-substring-no-properties' afterwards.
8619 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8621         * eshell/em-term.el (eshell-term-initialize):
8622         Use `cl-intersection' rather than `intersection'.
8624 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8626         * vc/log-view.el: Doc fix.
8627         (log-view-mode-map): Copy keymap from `special-mode-map'.
8629 2013-06-02  Eric Ludlam  <zappo@gnu.org>
8631         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8632         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8633         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8634         (eieio-unbound, eieio-default-superclass)
8635         (eieio--define-field-accessors, method-static, method-before)
8636         (method-primary, method-after, method-num-lists)
8637         (method-generic-before, method-generic-primary)
8638         (method-generic-after, method-num-slots)
8639         (eieio-specialized-key-to-generic-key)
8640         (eieio--check-type, class-v, class-p)
8641         (eieio-class-name, define-obsolete-function-alias)
8642         (eieio-class-parents-fast, eieio-class-children-fast)
8643         (same-class-fast-p, class-constructor, generic-p)
8644         (generic-primary-only-p, generic-primary-only-one-p)
8645         (class-option-assoc, class-option, eieio-object-p)
8646         (class-abstract-p, class-method-invocation-order)
8647         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8648         (eieio-class-un-autoload, eieio-defclass)
8649         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8650         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8651         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8652         (eieio-defgeneric-reset-generic-form)
8653         (eieio-defgeneric-form-primary-only)
8654         (eieio-defgeneric-reset-generic-form-primary-only)
8655         (eieio-defgeneric-form-primary-only-one)
8656         (eieio-defgeneric-reset-generic-form-primary-only-one)
8657         (eieio-unbind-method-implementations)
8658         (eieio--defmethod, eieio--typep)
8659         (eieio-perform-slot-validation, eieio-validate-slot-value)
8660         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8661         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8662         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8663         (eieio-slot-name-index, eieio-class-slot-name-index)
8664         (eieio-set-defaults, eieio-initarg-to-attribute)
8665         (eieio-attribute-to-initarg, eieio-c3-candidate)
8666         (eieio-c3-merge-lists, eieio-class-precedence-c3)
8667         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8668         (eieio-class-precedence-list, eieio-generic-call-methodname)
8669         (eieio-generic-call-arglst, eieio-generic-call-key)
8670         (eieio-generic-call-next-method-list)
8671         (eieio-pre-method-execution-functions, eieio-generic-call)
8672         (eieio-generic-call-primary-only, eieiomt-method-list)
8673         (eieiomt-optimizing-obarray, eieiomt-install)
8674         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8675         (eieio-generic-form, eieio-defmethod, make-obsolete)
8676         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8677         (defclass): Remove `eval-and-compile' from macro.
8678         (call-next-method, shared-initialize): Instead of using
8679         `scoped-class' variable, use new eieio--scoped-class, and
8680         eieio--with-scoped-class.
8681         (initialize-instance): Rename local variable 'scoped-class' to
8682         'this-class' to remove ambiguitity from old global.
8684         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
8685         eieio.el.
8686         (eieio--scoped-class-stack): New variable.
8687         (eieio--scoped-class): New fcn.
8688         (eieio--with-scoped-class): New scoping macro.
8689         (eieio-defclass): Use pushnew instead of add-to-list.
8690         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8691         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8692         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8693         `scoped-class' variable, use new eieio--scoped-class, and
8694         eieio--with-scoped-class.
8696         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8698 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
8700         * eshell/esh-ext.el (eshell-external-command): Pass args to
8701         `eshell-find-interpreter'.
8702         (eshell-find-interpreter): Add new second parameter ARGS.
8704         * eshell/em-script.el (eshell-script-initialize): Add second arg
8705         to the function added as MATCH to `eshell-interpreter-alist'.
8707         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8708         the function added as MATCH to `eshell-interpreter-alist'.
8710         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8711         (eshell-visual-options): New defcustom.
8712         (eshell-escape-control-x): Adapt docstring.
8713         (eshell-term-initialize): Test `eshell-visual-subcommands' and
8714         `eshell-visual-options' in addition to `eshell-visual-commands'.
8715         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8717 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8719         * progmodes/python.el (python-indent-block-enders): Add break,
8720         continue and raise keywords.
8722 2013-06-01  Glenn Morris  <rgm@gnu.org>
8724         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8726         Plain (f)boundp silences compilation warnings since Emacs 22.1.
8727         * progmodes/cc-cmds.el (delete-forward-p):
8728         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8729         * progmodes/cc-engine.el (buffer-syntactic-context):
8730         * progmodes/cc-fonts.el (face-property-instance):
8731         * progmodes/cc-mode.el (set-keymap-parents):
8732         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8733         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8734         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8735         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8736         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8738         * progmodes/cc-vars.el (other): Emacs has this widget since
8739         at least 21.1, so don't (re)define it.
8741         * eshell/em-cmpl.el (eshell-cmpl-initialize):
8742         Replace the obsolete alias pcomplete-arg-quote-list.
8744 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8746         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8747         punctuation syntax.
8748         (inferior-octave-minimal-columns)
8749         (inferior-octave-last-column-width): New variables.
8750         (inferior-octave-track-window-width-change): New function.
8751         (inferior-octave-mode): Adjust column width so that Octave output,
8752         for example from 'ls', can fit into the window nicely.
8754 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8756         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8757         Highlight expansions inside regexp literals.
8759 2013-05-31  Glenn Morris  <rgm@gnu.org>
8761         * obsolete/sym-comp.el (symbol-complete):
8762         Replace obsolete completion-annotate-function.
8764         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8766 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8768         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8769         New function, checks if point is inside a literal that allows
8770         expression expansion.
8771         (ruby-syntax-propertize-expansion): Use it.
8772         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8773         around the body.
8775 2013-05-30  Juri Linkov  <juri@jurta.org>
8777         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8778         to "\M-si".
8779         (isearch-invisible): New variable.
8780         (isearch-forward): Doc fix.
8781         (isearch-mode): Set `isearch-invisible'
8782         to the value of `search-invisible'.
8783         (isearch-toggle-case-fold): Doc fix.
8784         (isearch-toggle-invisible): New command.
8785         (isearch-query-replace): Let-bind `search-invisible'
8786         to the value of `isearch-invisible'.
8787         (isearch-search): Use `isearch-invisible' instead of
8788         `search-invisible'.  Let-bind `search-invisible'
8789         to the value of `isearch-invisible'.  (Bug#11378)
8791 2013-05-30  Juri Linkov  <juri@jurta.org>
8793         * replace.el (perform-replace): Avoid `isearch-range-invisible'
8794         call when `query-flag' is nil and `search-invisible' is non-nil.
8795         (Bug#11746)
8797 2013-05-30  Glenn Morris  <rgm@gnu.org>
8799         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8801         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8802         (cc-require): Suppress spurious "noruntime" warnings.
8803         (cc-require-when-compile): Use fboundp, for sake of compiler.
8805         * progmodes/cc-mode.el: Move load of cc-vars before that of
8806         cc-langs (which in turn loads cc-vars), to quieten compiler.
8808 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8810         * paren.el: Simplify the code.
8811         (show-paren-mode): Always start the timer.
8812         (show-paren--idle-timer): Rename from show-paren-idle-timer.
8813         (show-paren--overlay, show-paren--overlay-1): Rename from
8814         show-paren-overlay and show-paren-overlay-1, and initialize to an
8815         overlay rather than to nil.
8816         (show-paren-function): Misc cleanup and simplifications.
8818 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8820         * paren.el (show-paren-data-function): New hook.
8821         (show-paren--default): New function, extracted from show-paren-function.
8822         (show-paren-function): Use show-paren-data-function.
8824 2013-05-30  Glenn Morris  <rgm@gnu.org>
8826         * ielm.el (ielm-map, ielm-complete-symbol):
8827         Use completion-at-point rather than obsolete functions.
8828         (inferior-emacs-lisp-mode): Doc fix.
8829         Set completion-at-point-functions, rather than
8830         comint-dynamic-complete-functions.
8832         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8833         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8834         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8836         * image.el (image-animated-p): Tweak definition.
8838         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8839         (rlogin-process-connection-type): Tweak default.  Add set-after.
8840         (rlogin-host): Doc fix.
8841         (rlogin): Tweak prompt.
8842         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8844         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8845         * progmodes/tcl.el (inferior-tcl-mode-map):
8846         Use completion-at-point rather than obsolete alias.
8848         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8850         * minibuffer.el (read-file-name-completion-ignore-case):
8851         Move before completion--in-region, for eager macro expansion.
8853 2013-05-29  Juri Linkov  <juri@jurta.org>
8855         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8856         for total count of matching lines.  Add `global-matches' for total
8857         count of matches.  Rename `matches' to `lines' for count of
8858         matching lines.  Add `matches' for count of matches.
8859         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8860         to `prev-line' for line number of prev match endpt.
8861         Increment `matches' for every match.  Print the number of
8862         matching lines in the header.
8863         (occur-context-lines): Rename `lines' to `curr-line'.
8864         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8866 2013-05-29  Juri Linkov  <juri@jurta.org>
8868         * replace.el (perform-replace): Add `skip-read-only-count',
8869         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8870         Increment them for corresponding conditions and report the number
8871         of skipped occurrences in the final message.  (Bug#11746)
8872         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8873         (replace-string, replace-regexp): Doc fix.
8875 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8877         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8879         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8880         prog-mode-map (bug#14504).
8882 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8884         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8885         (octave-help): Small simplification.
8887         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8888         off the highlight first.
8890 2013-05-29  Glenn Morris  <rgm@gnu.org>
8892         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8893         Handle idlwave-last-system-routine-info-cons-cell being nil.
8895         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8896         (idlwave-write-paths): Simplify via with-temp-buffer.
8898         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8899         * emulation/cua-rect.el: Also load cua-base at run time.
8901         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8902         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8903         (cperl-imenu-on-info): Require imenu.
8905 2013-05-28  Alan Mackenzie  <acm@muc.de>
8907         Handle "capitalised keywords" correctly.
8908         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8910 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8912         * eshell/em-unix.el: Add -r option to cp.
8914 2013-05-28  Glenn Morris  <rgm@gnu.org>
8916         * vc/vc-arch.el (vc-exec-after): Declare.
8917         (vc-switches): Autoload.
8918         * vc/vc-bzr.el: No need to require vc when compiling.
8919         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8920         (vc-resynch-buffer, vc-dir-refresh): Declare.
8921         (vc-setup-buffer, vc-switches): Autoload.
8922         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8923         (vc-resynch-buffer): Declare.
8924         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8925         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8926         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8927         (grep-read-regexp, grep-read-files, grep-expand-template)
8928         (vc-dir-refresh): Declare.
8929         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8930         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8931         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8932         * vc/vc-mtn.el (vc-exec-after): Declare.
8933         (vc-switches): Autoload.
8934         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8935         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8936         (vc-file-tree-walk): Declare.
8937         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8938         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8939         (vc-tag-precondition, vc-rename-master): Autoload.
8940         * vc/vc-svn.el (vc-exec-after): Declare.
8941         (vc-switches, vc-setup-buffer): Autoload.
8942         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8943         Autoload.
8944         (vc-resynch-buffer): Declare.
8946         * obsolete/fast-lock.el (byte-compile-warnings):
8947         Don't warn about obsolete features in this obsolete file.
8949         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8950         Move definition before use.
8952         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8953         (dun-unix-verbs): Remove dun-zippy.
8954         (dun-zippy): Remove function.
8956         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8958 2013-05-27  Juri Linkov  <juri@jurta.org>
8960         * replace.el (replace-search): New function with code moved out
8961         from `perform-replace'.
8962         (replace-highlight, replace-dehighlight): Move function definitions
8963         up closer to `replace-search'.  (Bug#11746)
8965 2013-05-27  Juri Linkov  <juri@jurta.org>
8967         * replace.el (perform-replace): Ignore invisible matches.
8968         In addition to checking `query-replace-skip-read-only', also
8969         filter out matches by calling `run-hook-with-args-until-failure'
8970         on `isearch-filter-predicates', and also check `search-invisible'
8971         for t or call `isearch-range-invisible'.
8972         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8974 2013-05-27  Juri Linkov  <juri@jurta.org>
8976         * isearch.el (isearch-filter-predicates): Rename from
8977         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8978         (isearch-message-prefix): Display text from the property
8979         `isearch-message-prefix' of the currently active filters.
8980         (isearch-search): Don't compare `isearch-filter-predicate' with
8981         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8982         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8983         or call `isearch-range-invisible'.
8984         (isearch-filter-visible): Make obsolete.
8985         (isearch-lazy-highlight-search):
8986         Call `run-hook-with-args-until-failure' on
8987         `isearch-filter-predicates' and use `isearch-range-invisible'.
8989         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8990         `isearch-filter-predicates' instead of `funcall'ing
8991         `isearch-filter-predicate'.
8992         (Info-mode): Set `Info-isearch-filter' to
8993         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8995         * dired-aux.el (dired-isearch-filter-predicate-orig):
8996         Remove variable.
8997         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8998         (dired-isearch-filenames-end): Add and remove
8999         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9000         instead of changing the value of `isearch-filter-predicate'.
9001         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9002         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9003         Put property `isearch-message-prefix' to "filename " on
9004         `dired-isearch-filter-filenames'.
9006         * wdired.el (wdired-change-to-wdired-mode):
9007         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9008         locally instead of changing `isearch-filter-predicate'.
9009         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9011 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
9013         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9014         return the commit hash (Bug#14459).  Also set the
9015         `vc-git-detached' property.
9016         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9017         (vc-git-mode-line-string): Use the same help-echo format whether
9018         in detached mode or not, because we know the actual revision now.
9019         When in detached mode, shorten the revision to 7 chars.
9021 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9023         * emacs-lisp/easy-mmode.el (define-minor-mode):
9024         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9025         mode hook and provide a docstring.
9027 2013-05-27  Alan Mackenzie  <acm@muc.de>
9029         Remove spurious syntax-table text properties inserted by C-y.
9030         * progmodes/cc-mode.el (c-after-change): Also clear hard
9031         syntax-table property with value nil.
9033 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
9035         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9036         when reading the events; the buffer layout shall not be changed.
9038 2013-05-27  Leo Liu  <sdl.web@gmail.com>
9040         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9041         New variable.
9042         (inferior-octave-directory-tracker): Automatically re-sync
9043         default-directory.
9044         (octave-help): Improve handling of 'See also'.
9046 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9048         * doc-view.el: Minor naming convention tweaks.
9049         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9051         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9052         even if there's no `display' property yet (bug#14435).
9054 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
9056         * subr.el (unmsys--file-name): Rename from reveal-filename.
9058         * Makefile.in (custom-deps, finder-data, autoloads)
9059         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9060         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9061         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9063 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9065         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9066         error-completion on the first 2 args of condition-case (bug#14446).
9067         Don't burp at EOB.
9069 2013-05-25  Leo Liu  <sdl.web@gmail.com>
9071         * comint.el (comint-previous-matching-input): Do not flood the
9072         *Messages* buffer with trivial messages.
9074 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9076         * progmodes/flymake.el (flymake-nop): Don't return a string.
9077         (flymake-set-at): Fix typo.
9079         * simple.el (read--expression): New function, extracted from
9080         eval-expression.  Set completion-at-point-functions (bug#14465).
9081         (eval-expression, eval-minibuffer): Use it.
9083 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
9085         * progmodes/flymake.el (flymake-save-buffer-in-file)
9086         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9087         (flymake-selected-frame, flymake-log, flymake-ins-after)
9088         (flymake-set-at, flymake-get-buildfile-from-cache)
9089         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9090         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9091         Refine the doc string.
9092         (flymake-get-file-name-mode-and-masks): Reformat.
9093         (flymake-get-real-file-name-function): Fix a minor bug.
9095 2013-05-24  Juri Linkov  <juri@jurta.org>
9097         * progmodes/grep.el (grep-mode-font-lock-keywords):
9098         Support =linenumber= format used by git-grep for lines with
9099         function names.  (Bug#13549)
9101 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9103         * progmodes/octave.el (octave-smie-rules): Return nil rather than
9104         0 after a semi-colon; it works better for smie-auto-fill.
9105         (octave--indent-new-comment-line): New function.
9106         (octave-indent-new-comment-line): Use it (indirectly).
9107         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
9108         modify comment-line-break-function.
9110         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9111         (smie-setup): Use add-function to set it.
9113 2013-05-24  Sam Steingold  <sds@gnu.org>
9115         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9116         argument (before the `interactive' argument).
9118 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9120         * image-mode.el (image-mode-winprops): Add winprops to
9121         image-mode-winprops-alist before running
9122         image-mode-new-window-functions.
9123         * doc-view.el (doc-view-new-window-function): Don't delay
9124         doc-view-goto-page via timers (bug#14435).
9126 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
9128         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
9129         (doc-view-desktop-save-buffer): New function.
9130         (doc-view-restore-desktop-buffer): New function.
9131         (desktop-buffer-mode-handlers):
9132         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9133         handler.
9134         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9135         `desktop-save-buffer' function.
9137 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
9139         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9140         (tramp-gvfs-file-name-handler): Raise a user error when
9141         `tramp-gvfs-enabled' is nil.
9142         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9143         Do not raise a user error when loading package.  (Bug#14447)
9145         * net/xesam.el: Move to obsolete/.
9147 2013-05-24  Glenn Morris  <rgm@gnu.org>
9149         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9151         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9153         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9154         (Info-find-node, Man-getpage-in-background): Declare.
9156         * mail/unrmail.el (unrmail):
9157         Replace obsolete detect-coding-with-priority.
9159         * net/socks.el (socks-split-string): Use this rather than split-string.
9160         (socks-nslookup-host): Update for above change.
9161         (dynamic-choice, s5-dynamic-choice-match)
9162         (s5-dynamic-choice-match-inline, s5-widget-value-create):
9163         Comment out unused code.
9165         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9166         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9167         (gud-tooltip-echo-area): Make obsolete.
9168         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9170         * progmodes/js.el (js--optimize-arglist): Declare.
9172         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9174         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9175         (ediff-window-C): Declare.
9177         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9178         Tweak requires to silence compiler.
9180         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9181         (he-search-string, he-tried-table, he-expand-list)
9182         (he-init-string, he-string-member, he-substitute-string)
9183         (he-reset-string): Declare.
9185         * obsolete/options.el (list-options): Use custom-variable-p,
9186         rather than obsolete alias.
9188 2013-05-23  Sam Steingold  <sds@gnu.org>
9190         * simple.el (shell-command-on-region): Pass the `replace' argument
9191         down to `call-process-region' to comply with the doc as reported on
9192         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9194 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9196         * emacs-lisp/smie.el (smie-indent-forward-token)
9197         (smie-indent-backward-token): Handle string tokens (bug#14381).
9199 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9201         * ielm.el (ielm-menu): New menu.
9202         (inferior-emacs-lisp-mode): Set comment-start.
9204 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9206         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9207         Fix deactivate action.
9209         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9210         Add cleveref macros.
9212         * lisp/textmodes/reftex-parse.el
9213         (reftex-locate-bibliography-files): Accept options for
9214         bibliography commands.
9215         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9216         Add addbibresource.  Basic Biblatex support.
9218 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
9220         * net/tramp-gvfs.el (top):
9221         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9222         when loading package.  (Bug#14447)
9224 2013-05-23  Glenn Morris  <rgm@gnu.org>
9226         * progmodes/js.el: No need to load comint when compiling.
9227         (ring-insert, comint-send-string, comint-send-input)
9228         (comint-last-input-end, ido-chop): Declare.
9230         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9231         * vc/ediff-mult.el: Adjust requires.
9232         (ediff-directories-internal, ediff-directory-revisions-internal)
9233         (ediff-patch-file-internal): Declare.
9234         * vc/ediff-ptch.el: Adjust requires.
9235         (ediff-use-last-dir, ediff-buffers-internal): Declare.
9236         (ediff-find-file): Autoload.
9237         * vc/ediff-util.el: No need to load ediff when compiling.
9238         (ediff-regions-internal): Declare.
9239         * vc/ediff-wind.el: Adjust requires.
9240         (ediff-compute-toolbar-width): Define when compiling.
9241         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9242         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9243         (dired-get-filename, dired-get-marked-files)
9244         (ediff-last-dir-patch, ediff-patch-default-directory)
9245         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9246         (ediff-patch-buffer-internal): Declare.
9248         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9249         (ispell-process, ispell-buffer-local-words, lm-summary)
9250         (lm-section-start, lm-section-end): Declare.
9251         (checkdoc-ispell-init): Simplify.
9253         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9254         (he-string-member, he-reset-string, he-substitute-string): Declare.
9256         * eshell/em-ls.el: Adjust requires.
9257         (eshell-glob-regexp): Declare.
9258         * eshell/em-tramp.el: Adjust requires.
9259         (eshell-parse-command): Autoload.
9260         * eshell/em-xtra.el: Adjust requires.
9261         (eshell-parse-command): Autoload.
9262         * eshell/esh-ext.el: Adjust requires.
9263         (eshell-parse-command, eshell-close-handles): Autoload.
9264         * eshell/esh-io.el: Adjust requires.
9265         (eshell-output-filter): Autoload.
9266         * eshell/esh-util.el: No need to load tramp when compiling.
9267         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9268         Declare.
9269         (eshell-parse-ange-ls): Require ange-ftp and tramp.
9270         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9271         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9272         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9273         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9274         * eshell/esh-opt.el, eshell/esh-proc.el:
9275         * eshell/esh-var.el: Adjust requires.
9276         * eshell/eshell.el: Do not require esh-util twice.
9277         (eshell-add-input-to-history): Declare.
9278         (eshell-command): Check history module is active before using it.
9280         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9282 2013-05-22  Leo Liu  <sdl.web@gmail.com>
9284         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9286 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
9288         * autorevert.el (auto-revert-notify-add-watch)
9289         (auto-revert-notify-handler): Add `attrib' for the inotify case,
9290         it indicates changes in file modification time.
9292 2013-05-22  Glenn Morris  <rgm@gnu.org>
9294         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9295         Always delete the autoloaded function from the noruntime and
9296         unresolved functions lists.
9298         * allout.el: No need to load epa, epg, overlay when compiling.
9299         (epg-context-set-passphrase-callback, epg-list-keys)
9300         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9301         (epg-key-user-id-list): Declare.
9303         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9304         (viper-set-parsing-style-toggling-macro)
9305         (viper-set-emacs-state-searchstyle-macros):
9306         Use called-interactively-p on Emacs.
9307         (viper-looking-back): Make it an obsolete alias.  Update callers.
9308         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9309         Use looking-back rather than viper-looking-back.
9310         (viper-tmp-insert-at-eob, viper-enlarge-region)
9311         (viper-read-string-with-history, viper-register-to-point)
9312         (viper-append-to-register, viper-change-state-to-vi)
9313         (viper-backward-char-carefully, viper-forward-char-carefully)
9314         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9315         (viper-change-state-to-emacs): Declare.
9316         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9317         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9318         * emulation/viper-mous.el: Do not load viper-cmd.
9319         (viper-backward-char-carefully, viper-forward-char-carefully)
9320         (viper-forward-word, viper-adjust-window): Declare.
9322         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9324         * progmodes/idlw-help.el (idlwave-help-fontify):
9325         Use called-interactively-p.
9327         * term/w32console.el (w32-get-console-codepage)
9328         (w32-get-console-output-codepage): Declare.
9330         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9331         Remove unnecessary declarations.
9332         (dframe-message): Doc fix.
9334         * info.el (dframe-select-attached-frame, dframe-current-frame):
9335         Declare.
9337         * speedbar.el (speedbar-message): Make it an obsolete alias.
9338         Update all callers.
9339         (speedbar-with-attached-buffer)
9340         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9341         (speedbar-with-writable): Use backquote.
9342         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9343         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9344         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9345         rather than speedbar- aliases.
9346         * mail/rmail.el: Load dframe rather than speedbar when compiling.
9347         (speedbar-make-specialized-keymap, speedbar-insert-button)
9348         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9349         (speedbar-do-function-pointer): Declare.
9350         (rmail-speedbar-button, rmail-speedbar-find-file)
9351         (rmail-speedbar-move-message):
9352         Use dframe-with-attached-buffer rather than speedbar- alias.
9353         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9354         (dframe-message, speedbar-make-specialized-keymap)
9355         (speedbar-add-expansion-list, speedbar-mode-functions-list)
9356         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9357         (speedbar-insert-button, dframe-select-attached-frame)
9358         (dframe-maybee-jump-to-attached-frame)
9359         (speedbar-change-initial-expansion-list)
9360         (speedbar-previously-used-expansion-list-name): Declare.
9361         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9362         Use dframe-message, dframe-with-attached-buffer rather than
9363         speedbar- aliases.
9364         (gud-sentinel): Silence compiler.
9365         * progmodes/vhdl-mode.el (speedbar-refresh)
9366         (speedbar-do-function-pointer, speedbar-add-supported-extension)
9367         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9368         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9369         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9370         (speedbar-file-lists, speedbar-make-tag-line)
9371         (speedbar-line-directory, speedbar-goto-this-file)
9372         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9373         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9374         (speedbar-make-button, speedbar-reset-scanners)
9375         (speedbar-files-item-info, speedbar-line-text)
9376         (speedbar-find-file-in-frame, speedbar-set-timer)
9377         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9378         (speedbar-with-writable): Do not (re)define it.
9379         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9380         rather than speedbar- alias.
9382 2013-05-21  Leo Liu  <sdl.web@gmail.com>
9384         * progmodes/octave.el (octave-mode-menu): Update and re-organize
9385         menu items.
9386         (octave-mode): Tweak fill-nobreak-predicate.
9387         (inferior-octave-startup): Check process to avoid infinite loop.
9388         (inferior-octave): Pop to buffer first to show abornmal process
9389         exit information.
9391 2013-05-21  Glenn Morris  <rgm@gnu.org>
9393         * printing.el (pr-menu-bar): Define when compiling.
9395 2013-05-21  Leo Liu  <sdl.web@gmail.com>
9397         * progmodes/octave.el (octave-auto-fill): Remove.
9398         (octave-indent-new-comment-line): Improve.
9399         (octave-mode): Use auto fill mode through
9400         comment-line-break-function and fill-nobreak-predicate.
9401         (octave-goto-function-definition): Support DEFUN_DLD.
9402         (octave-beginning-of-defun): Small tweak.
9403         (octave-help): Show parent directory.
9405 2013-05-21  Glenn Morris  <rgm@gnu.org>
9407         * files.el (dired-unmark):
9408         * progmodes/gud.el (gdb-input): Update declarations.
9410         * calculator.el (electric, ehelp): No need to load when compiling.
9411         (Electric-command-loop, electric-describe-mode): Declare.
9413         * doc-view.el (doc-view-current-converter-processes): Move before use.
9415         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9416         Move MODE-set-explicitly definition before use.
9418         * international/mule-diag.el (mule-diag):
9419         Don't use obsolete window-system-version.
9421         * mail/feedmail.el (smtpmail): No need to load when compiling.
9422         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9424         * mail/mail-utils.el (rfc822): No need to load when compiling.
9425         (rfc822-addresses): Autoload it.
9426         (mail-strip-quoted-names): Trivial simplification.
9428         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9429         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9431         * net/snmp-mode.el (tempo): Don't duplicate requires.
9433         * progmodes/prolog.el (info): No need to load when compiling.
9434         (comint): Require before shell requires it.
9435         (Info-goto-node): Autoload it.
9436         (Info-follow-nearest-node): Declare.
9437         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9439         * textmodes/artist.el (picture-mode-exit): Declare.
9441         * textmodes/reftex-parse.el (reftex-parse-from-file):
9442         Trivial rewrite so the compiler can parse it better.
9444 2013-05-20  Leo Liu  <sdl.web@gmail.com>
9446         * progmodes/octave.el (octave-help-mode-map)
9447         (octave-help-mode-finish-hook): New variables.
9448         (octave-help-mode, octave-help-mode-finish): New functions.
9449         (octave-help): Use octave-help-mode.
9451 2013-05-20  Glenn Morris  <rgm@gnu.org>
9453         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
9455 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
9457         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9458         start at point, so that expansion starting right after opening
9459         slash in a regexp is recognized.
9460         (ruby-syntax-before-regexp-re): New defvar, extracted from
9461         ruby-syntax-propertize-function.  Since the value of this regexp
9462         is looked up at runtime now, we should be able to turn
9463         `ruby-syntax-methods-before-regexp' into a defcustom later.
9464         (ruby-syntax-propertize-function): Split regexp matching into two
9465         parts, for opening and closing slashes.  That allows us to skip
9466         over string interpolations and support multiline regexps.
9467         Don't call `ruby-syntax-propertize-expansions', instead use another rule
9468         for them, which calls `ruby-syntax-propertize-expansion'.
9469         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9470         call to `ruby-syntax-propertize-function'.
9471         (ruby-syntax-propertize-expansion): Extracted from
9472         `ruby-syntax-propertize-expansions'.  Handles one expansion.
9473         (ruby-syntax-propertize-percent-literal): Leave point right after
9474         the percent symbol, so that the expression expansion rule can
9475         propertize the contents.
9476         (ruby-syntax-propertize-heredoc): Leave point at bol following the
9477         heredoc openers.
9478         (ruby-syntax-propertize-expansions): Remove.
9480 2013-05-18  Juri Linkov  <juri@jurta.org>
9482         * man.el (Man-default-man-entry): Remove `-' from the end
9483         of the default value.  (Bug#14400)
9485 2013-05-18  Glenn Morris  <rgm@gnu.org>
9487         * comint.el (comint-password-prompt-regexp):
9488         Allow "password for XXX" where XXX contains colons (eg https://...).
9490 2013-05-18  Leo Liu  <sdl.web@gmail.com>
9492         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9493         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
9494         (octave-source-directories): Don't check process.
9495         (octave-source-directories, octave-find-definition): Doc fix.
9497 2013-05-18  Glenn Morris  <rgm@gnu.org>
9499         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9500         Remove backspace/delete bindings.  (Bug#14392)
9502         * cus-dep.el (custom-make-dependencies): Sort the output.
9503         (custom-versions-load-alist): Convert comment to doc.
9505 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9507         * newcomment.el (comment-search-backward): Stricter in finding
9508         comment start.  (Bug#14303)
9510         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9511         (octave-comment-start-skip): Properly anchored.
9513 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9515         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9516         Clean up when turned off.  (Bug#14395)
9517         (smie--highlight-matching-block-overlay): No longer buffer-local.
9518         (smie-highlight-matching-block): Adjust.
9520 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
9522         Doc string fix for "nanoseconds" (Bug#14406).
9523         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9524         Fix doc string typo that had "nanoseconds" instead of "microseconds".
9526 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9528         * calc/calc-units.el (math-extract-units): Preserve powers
9529         of units.
9531 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9533         * subr.el (delete-consecutive-dups): New function.
9534         * ido.el (ido-set-matches-1): Use it.
9535         * progmodes/octave.el (inferior-octave-completion-table): Use it.
9536         * ido.el (ido-remove-consecutive-dups): Remove.
9538 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9540         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9541         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9542         regexp-opt's `words'.
9544 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9546         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9547         (smie--highlight-matching-block-overlay)
9548         (smie--highlight-matching-block-lastpos)
9549         (smie--highlight-matching-block-timer): New variables.
9550         (smie-highlight-matching-block): New function.
9551         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
9552         (smie-setup): Conditionally enable smie-blink-matching-open.
9554 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
9556         Sync with upstream verilog-mode r840.
9557         * progmodes/verilog-mode.el (verilog-mode-version)
9558         (verilog-mode-release-date): Update.
9559         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9560         (verilog-sig-tieoff): Fix string error on
9561         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
9562         (verilog-read-decls): Fix parameters confusing
9563         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
9565 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
9567         * subr.el (reveal-filename): New function.
9569         * loadup.el: Compute Emacs executable versions on MS-Windows,
9570         where executables have the .exe extension.  Add a hard link
9571         emacs-XX.YY.ZZ.exe on MS-Windows.
9573         * Makefile.in (XARGS_LIMIT): New variable.
9574         (custom-deps, finder-data, autoloads)
9575         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9576         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9577         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9578         (compile-main): Limit xargs according to $(XARGS_LIMIT).
9580 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9582         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9583         (octave-mode-menu, octave-mode-map): Remove its uses.
9585 2013-05-16  Reto Zimmermann  <reto@gnu.org>
9587         Sync with upstream vhdl mode v3.34.2.
9588         * progmodes/vhdl-mode.el: Use `push' throughout.
9589         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9590         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9591         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
9592         (vhdl-actual-generic-name): New option to derive actual generic name.
9593         (vhdl-port-paste-signals): Replace formal by actual generics.
9594         (vhdl-beautify): New name for old group vhdl-align.  Update users.
9595         (vhdl-beautify-options): New option.
9596         (vhdl-last-input-event): New compat alias.  Use throughout.
9597         (vhdl-goto-line): Replace user level function `goto-line'.
9598         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9599         vhdl-fix-statement-buffer.
9600         (vhdl-create-mode-menu): Add some entries.
9601         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9602         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9603         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9604         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9605         to force statements on one line.
9606         (vhdl-remove-trailing-spaces-region):
9607         New, split from vhdl-remove-trailing-spaces.
9608         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9609         Respect vhdl-beautify-options.
9610         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9611         (vhdl-update-sensitivity-list): Not add with index if exists without.
9612         Not include array index with signal.  Ignore keywords in comments.
9613         (vhdl-get-visible-signals): Regexp tweaks.
9614         (vhdl-template-component-inst): Handle empty library.
9615         (vhdl-template-type): Add template for 'enum' type.
9616         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9617         Use vhdl-replace-string.
9618         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9619         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9620         (vhdl-speedbar-initialize): Update for above name change.
9621         (vhdl-compose-wire-components): Fix in handling of constants.
9622         (vhdl-error-regexp-emacs-alist): New variable.
9623         (vhdl-error-regexp-add-emacs): New function;
9624         adds support for new compile.el (Emacs 22+)
9625         (vhdl-generate-makefile-1): Change target order for single lib. units.
9626         Allow use of absolute file names.
9628 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9630         * simple.el (prog-indent-sexp): Indent enclosing defun.
9632 2013-05-15  Glenn Morris  <rgm@gnu.org>
9634         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9635         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9636         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9637         (whitespace-highlight): Move to whitespace group.
9639         * comint.el (comint-source):
9640         * pcmpl-linux.el (pcmpl-linux):
9641         * shell.el (shell-faces):
9642         * eshell/esh-opt.el (eshell-opt):
9643         * international/ccl.el (ccl): Remove empty custom groups.
9645         * completion.el (dynamic-completion-mode):
9646         * jit-lock.el (jit-lock-debug-mode):
9647         * minibuffer.el (completion-in-region-mode):
9648         * type-break.el (type-break-mode-line-message-mode)
9649         (type-break-query-mode):
9650         * emulation/tpu-edt.el (tpu-edt-mode):
9651         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9652         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9653         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9655         * term/xterm.el (xterm): Change parent group to terminals.
9657         * master.el (master): Remove empty custom group.
9658         (master-mode): Remove unused :group argument.
9659         * textmodes/refill.el (refill): Remove empty custom group.
9660         (refill-mode): Remove unused :group argument.
9662         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9664         * cus-dep.el: Provide a feature.
9665         (custom-make-dependencies): Ignore dotfiles (dir-locals).
9666         Don't mistakenly ignore files whose basenames match a basename
9667         from preloaded-file-list (eg cedet/ede/simple.el).
9668         Add a fallback method for getting :group.
9670 2013-05-15  Juri Linkov  <juri@jurta.org>
9672         * isearch.el (isearch-char-by-name): Rename from
9673         `isearch-insert-char-by-name'.  Doc fix.
9674         (isearch-forward): Mention `isearch-char-by-name' in
9675         the docstring.  (Bug#13348)
9677         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9678         `exit-minibuffer' instead of
9679         `isearch-nonincremental-exit-minibuffer'.
9680         (isearch-edit-string): Remove mention of
9681         `isearch-nonincremental-exit-minibuffer' from docstring.
9682         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9683         (isearch-forward-exit-minibuffer)
9684         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
9686 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9688         * loadup.el: Just use unversioned DOC.
9690         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9691         literals as extending to EOB.
9692         (nxml-last-fontify-end): Remove unused variable.
9693         (nxml-after-change1): Use with-silent-modifications.
9694         (nxml-extend-after-change-region): Simplify.
9695         (nxml-extend-after-change-region1): Remove function.
9696         (nxml-after-change1): Don't adjust for dependent regions.
9697         (nxml-fontify-matcher): Simplify.
9698         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9699         (xmltok-add-dependent): Remove function.
9700         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9701         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9702         (xmltok-scan-prolog-after-processing-instruction-open): Treat
9703         unclosed <[[, <?, comment, and other literals as extending to EOB.
9704         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9705         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9706         Remove functions.
9707         (rng-do-some-validation-1): Don't mark dependent regions.
9708         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9709         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9710         (nxml-clear-dependent-regions): Remove functions.
9711         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9712         (nxml-ensure-scan-up-to-date):
9713         Don't clear&mark dependent regions.
9715 2013-05-15  Leo Liu  <sdl.web@gmail.com>
9717         * progmodes/octave.el (octave-goto-function-definition):
9718         Improve and fix callers.
9720 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9722         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9723         the setter (bug#14387).
9725         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9726         surrounding group (bug#14402).
9728 2013-05-14  Juri Linkov  <juri@jurta.org>
9730         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9731         (Bug#14390)
9733 2013-05-14  Glenn Morris  <rgm@gnu.org>
9735         * progmodes/f90.el (f90-imenu-generic-expression):
9736         Fix typo in 2013-05-08 change.  (Bug#14402)
9738 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9740         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9741         Remove signals for which replies are never received.
9743 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9745         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9746         (gdb-handler-alist, gdb-handler-number): Remove variables.
9747         (gdb-handler-list): New variable.
9748         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9749         (gdb-pending-handler-p, gdb-handle-reply)
9750         (gdb-remove-all-pending-triggers): New functions.
9751         (gdb-discard-unordered-replies): New defcustom.
9752         (gdb-handler): New defstruct.
9753         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
9754         instead of gdb-pending-triggers.  Update docstring.
9755         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
9756         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9757         (gdb-var-update-handler, def-gdb-auto-update-trigger)
9758         (def-gdb-auto-update-handler, gdb-get-changed-registers)
9759         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9760         (gdb-frame-handler): Pending triggers are now automatically managed.
9761         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9762         Remove argument.
9763         (gdb-input): Automatically handles pending triggers.  Update docstring.
9764         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9765         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9766         Update comments.
9767         (gdb-done-or-error): Now use gdb-handle-reply.
9769 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9771         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9772         gdb-debug-log.
9774 2013-05-14  Glenn Morris  <rgm@gnu.org>
9776         * subr.el (user-emacs-directory-warning): New option.
9777         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
9779 2013-05-14  Leo Liu  <sdl.web@gmail.com>
9781         * progmodes/octave.el (octave-font-lock-keywords): Fix error
9782         during redisplay.
9783         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9784         (octave-font-lock-texinfo-comment): Fix invalid search bound
9785         error: wrong side of point.
9787 2013-05-14  Glenn Morris  <rgm@gnu.org>
9789         * progmodes/flymake.el (flymake-xml-program): New option.
9790         (flymake-xml-init): Use it.
9792         * term/xterm.el: Provide a feature.
9794         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
9796 2013-05-13  Glenn Morris  <rgm@gnu.org>
9798         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9799         Add compat aliases as a hack workaround.  (Bug#14384)
9801 2013-05-13  Leo Liu  <sdl.web@gmail.com>
9803         * progmodes/octave.el (octave-indent-comment): Fix indentation for
9804         ###, and %!.
9805         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9806         C-M-q.
9807         (octave-comment-start-skip): Include %!.
9808         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9810 2013-05-12  Leo Liu  <sdl.web@gmail.com>
9812         * progmodes/octave.el (inferior-octave-startup): Store the value
9813         of __octave_srcdir__ for octave-source-directories.
9814         (inferior-octave-check-process): New function refactored out of
9815         inferior-octave-send-list-and-digest.
9816         (octave-source-directories)
9817         (octave-find-definition-filename-function): New variables.
9818         (octave-source-directories)
9819         (octave-find-definition-default-filename): New functions.
9820         (octave-find-definition): Improve to find functions implemented in C++.
9822 2013-05-12  Glenn Morris  <rgm@gnu.org>
9824         * calendar/diary-lib.el (diary-outlook-format-1):
9825         Don't include dayname in the output.  (Bug#14349)
9827 2013-05-11  Glenn Morris  <rgm@gnu.org>
9829         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9831         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9832         Treat cc-provide like provide.
9834 2013-05-11  Kevin Ryde  <user42@zip.com.au>
9836         * cus-dep.el (custom-make-dependencies):
9837         Use generated-autoload-load-name for the sake of files such
9838         such cedet/semantic/bovine/c.el, where the base file name
9839         is not in load-path.  (Bug#5277)
9841 2013-05-11  Glenn Morris  <rgm@gnu.org>
9843         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9844         Provide features.
9846 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9848         * progmodes/octave.el (octave-indent-comment): Improve.
9849         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9850         (octave-eldoc-function-signatures, octave-eldoc-function):
9851         New functions.
9852         (octave-mode, inferior-octave-mode): Add eldoc support.
9854 2013-05-11  Richard Stallman  <rms@gnu.org>
9856         * epa.el (epa-decrypt-file): Take output file name as argument
9857         and read it using `interactive'.
9859 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9861         * progmodes/octave.el (octave-beginning-of-line)
9862         (octave-end-of-line): Check before using up-list because it jumps
9863         out of more syntactic contructs since moving to smie.
9864         (octave-indent-comment): New function.
9865         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9866         (octave-begin-keywords, octave-end-keywords)
9867         (octave-reserved-words, octave-smie-bnf-table)
9868         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9870 2013-05-11  Glenn Morris  <rgm@gnu.org>
9872         * faces.el (internal-face-x-get-resource):
9873         * frame.el (ns-display-monitor-attributes-list):
9874         * calc/calc-aent.el (math-to-radians-2):
9875         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9876         Fix declarations.
9878         * calc/calc-menu.el: Make it loadable in isolation.
9880         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9881         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9882         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9883         (eudc-bbdb-query-internal): Require 'bbdb.
9885         * lpr.el (lpr-headers-switches):
9886         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9888         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9890         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9892         * term.el (term-set-escape-char): Make it idempotent.
9894 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9896         * progmodes/octave.el (inferior-octave-completion-table):
9897         No longer a function and all uses changed.  Use cache to speed up
9898         completion due to bug#11906.
9899         (octave-beginning-of-defun): Re-write to be more general.
9901 2013-05-10  Glenn Morris  <rgm@gnu.org>
9903         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9905 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9907         * comint.el (comint-redirect-send-command-to-process): Use :around
9908         rather than :override for comint-redirect-filter.
9909         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9910         Call it instead of comint-redirect-original-filter-function (which
9911         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9913 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9915         * frame.el (display-monitor-attributes-list): Add NS case.
9916         (ns-display-monitor-attributes-list): Declare.
9918 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9920         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9922 2013-05-09  Glenn Morris  <rgm@gnu.org>
9924         * international/fontset.el (vertical-centering-font-regexp):
9925         Set standard-value.
9927         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9929         * bookmark.el (bookmark-search-delay):
9930         * cus-start.el (vertical-centering-font-regexp):
9931         * ps-mule.el (ps-mule-font-info-database-default):
9932         * ps-print.el (ps-default-fg, ps-default-bg):
9933         * type-break.el (type-break-good-break-interval):
9934         * whitespace.el (whitespace-indentation-regexp)
9935         (whitespace-space-after-tab-regexp):
9936         * emacs-lisp/testcover.el (testcover-1value-functions)
9937         (testcover-noreturn-functions, testcover-progn-functions)
9938         (testcover-prog1-functions):
9939         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9940         * eshell/em-glob.el (eshell-glob-translate-alist):
9941         * play/tetris.el (tetris-tty-colors):
9942         * progmodes/cpp.el (cpp-face-default-list):
9943         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9944         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9945         (idlwave-help-browser-generic-args):
9946         * progmodes/make-mode.el (makefile-special-targets-list):
9947         * progmodes/python.el (python-shell-virtualenv-path):
9948         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9949         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9950         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9951         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9952         * textmodes/reftex-vars.el (reftex-format-label-function):
9953         * textmodes/remember.el (remember-diary-file): Fix custom types.
9955         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9956         Add :version.
9958 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9960         * progmodes/octave.el (inferior-octave-completion-at-point):
9961         Restore file completion.  (Bug#14300)
9962         (inferior-octave-startup): Fix incorrect highlighting for the
9963         first prompt.
9965 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9967         * progmodes/ruby-mode.el: First cut at SMIE support.
9968         (ruby-use-smie): New var.
9969         (ruby-smie-grammar): New constant.
9970         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9971         (ruby-smie--forward-token, ruby-smie--backward-token)
9972         (ruby-smie-rules): New functions.
9973         (ruby-mode-variables): Setup SMIE if applicable.
9975 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9977         * simple.el (line-move-visual): Signal beginning/end of buffer
9978         only if vertical-motion moved less than it was requested.  Avoids
9979         silly incorrect error messages when there are display strings with
9980         multiple newlines at EOL.
9982 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9984         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9985         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9986         (prolog-char-quote-workaround):
9987         * progmodes/cperl-mode.el (cperl-under-as-char):
9988         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9989         Mark as obsolete.
9990         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9991         their declaration.
9992         (vhdl-mode-syntax-table-init): Remove.
9994         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9995         last change.
9997         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9998         syntax for "_".
9999         (ld-script-font-lock-keywords):
10000         Change regexps to use things like \_< and \_>.
10002         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10003         Change all regexps to use things like \_< and \_>.
10005         * progmodes/autoconf.el (autoconf-definition-regexp)
10006         (autoconf-font-lock-keywords, autoconf-current-defun-function):
10007         Handle a _ with symbol syntax.
10008         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10010         * progmodes/ada-mode.el (ada-mode-abbrev-table):
10011         Consolidate declaration.
10012         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10013         the declaration.
10014         (ada-create-syntax-table): Remove.
10015         (ada-capitalize-word): Don't mess with the syntax of "_" since it
10016         already has the right syntax nowadays.
10017         (ada-goto-next-word): Don't change the syntax of "_".
10019         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10020         with-wrapper-hook.
10022 2013-05-08  Sam Steingold  <sds@gnu.org>
10024         * thingatpt.el (thing-at-point): Accept optional second argument
10025         NO-PROPERTIES to strip the text properties from the return value.
10026         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10027         to `thing-at-point' instead of stripping the properties ourselves.
10028         Also, when `thing-at-point' fails to find a url, prepend "http://"
10029         to the filename at point on the assumption that the user is
10030         pointing at something like gnu.org/gnu.
10032 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
10034         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10035         * faces.el (crm-separator):
10036         Silence byte-compiler.
10038         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10039         (tool-bar-map): Remove unneeded defvars.
10041 2013-05-08  Leo Liu  <sdl.web@gmail.com>
10043         Re-work a fix for bug#10994 based on Le Wang's patch.
10044         * ido.el (ido-remove-consecutive-dups): New helper.
10045         (ido-completing-read): Use it.
10046         (ido-chop): Revert fix for bug#10994.
10048 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
10050         * cus-edit.el (custom-save-variables):
10051         Pretty-print long values.  (Bug#14187)
10053 2013-05-08  Glenn Morris  <rgm@gnu.org>
10055         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10056         (m4-mode-syntax-table): Init in the defvar.
10057         (m4-mode-abbrev-table): Let define-derived-mode define it.
10059 2013-05-08  Tom Tromey  <tromey@redhat.com>
10061         * progmodes/m4-mode.el (m4-mode-syntax-table):
10062         Do not treat "_" as word constituent.  (Bug#14167)
10064 2013-05-07  Glenn Morris  <rgm@gnu.org>
10066         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10067         Remove explicit eshell-isearch-cancel-map.
10069         * progmodes/f90.el (f90-smart-end-names): New option.
10070         (f90-smart-end): Doc fix.
10071         (f90-end-block-optional-name): New constant.
10072         (f90-block-match): Respect f90-smart-end-names.
10074 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10076         * progmodes/octave.el (octave-smie-forward-token): Be more careful
10077         about implicit semi-colons (bug#14218).
10079 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10081         * frame.el (display-monitor-attributes-list)
10082         (frame-monitor-attributes): New functions.
10084 2013-05-06  Leo Liu  <sdl.web@gmail.com>
10086         * progmodes/octave.el (octave-syntax-propertize-function): Change
10087         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
10088         (octave-font-lock-keywords): Use octave-operator-regexp.
10089         (octave-completion-at-point): Rename from
10090         octave-completion-at-point-function.
10091         (inferior-octave-directory-tracker): Robustify.
10092         (octave-text-functions): Remove and fix its uses.  No such things
10093         any more.
10095 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10097         * emacs-lisp/trace.el (trace--display-buffer): New function.
10098         (trace-make-advice): Use it.
10100 2013-05-06  Juri Linkov  <juri@jurta.org>
10102         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
10103         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10104         Doc fix.
10105         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10106         in the help string.  (Bug#12985)
10108 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
10110         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
10112 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10114         * progmodes/perl-mode.el: Add support for here documents.
10115         (perl-syntax-propertize-function): Match here-doc markers.
10116         (perl-syntax-propertize-special-constructs): Find their end.
10117         (perl-imenu-generic-expression): Use [:alnum:].
10119         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10120         (advice--add-function): Refresh the advice if already present
10121         (bug#14317).
10123 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
10125         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
10127 2013-05-06  Glenn Morris  <rgm@gnu.org>
10129         * w32-fns.el (w32-charset-info-alist): Declare.
10131         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10132         of its defcustom properties.
10133         (eshell-cmpl-initialize): No need to load pcomplete.
10135         * generic-x.el: No need to require comint when compiling.
10137         * net/eudc-export.el: Make it loadable without bbdb.
10138         (top-level): Use require rather than load-library.
10139         (eudc-create-bbdb-record, eudc-bbdbify-phone)
10140         (eudc-batch-export-records-to-bbdb)
10141         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10142         Require bbdb.
10144 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10146         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10147         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10148         some tweaks, instead.
10150 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10152         * progmodes/octave.el (octave-font-lock-keywords)
10153         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10154         (inferior-octave-send-list-and-digest): Improve error message.
10155         (octave-mode, inferior-octave-mode): Use setq-local.
10156         (octave-help): Set info-lookup-mode.
10158 2013-05-05  Richard Stallman  <rms@gnu.org>
10160         * vc/compare-w.el (compare-windows-whitespace):
10161         Treat no-break space as whitespace.
10163         * mail/rmailsum.el (rmail-summary-rmail-update):
10164         Detect empty summary and don't change selected message.
10165         (rmail-summary-goto-msg): Likewise.
10167         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10168         Doc fixes, rename args.
10170 2013-05-05  Alan Mackenzie  <acm@muc.de>
10172         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10174 2013-05-05  Juri Linkov  <juri@jurta.org>
10176         * info.el (Info-read-subfile): Use (point-min) instead of (point)
10177         to not add the length of the summary segment to the return value.
10178         (Bug#14125)
10180 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10182         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10183         (inferior-octave-output-filter): Remove.
10184         (octave-send-region, inferior-octave-startup): Fix callers.
10185         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10186         (octave-binary-file-extensions): New user variable.
10187         (octave-find-definition): Confirm if opening binary files.
10188         (octave-help-file): Use octave-find-definition to get the binary
10189         confirmation.
10190         (octave-help): Adjust for octave-help-file change.
10192 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10194         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10195         Merge the two entries that handle function definitions.
10196         (pascal--syntax-propertize): New const.
10197         (pascal-mode): Use it.  Use setq-local.
10199 2013-05-04  Glenn Morris  <rgm@gnu.org>
10201         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10202         (diary-from-outlook): Respect diary-from-outlook-function.
10204 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10206         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10207         Move the declaration from C.
10208         (read-minibuffer, eval-minibuffer): Move from C.
10209         (completion-setup-function): Avoid minibuffer-completion-contents.
10211 2013-05-03  Leo Liu  <sdl.web@gmail.com>
10213         * progmodes/octave.el (octave-font-lock-keywords): Do not
10214         dehighlight 'end' in comments or strings.
10215         (octave-completing-read, octave-goto-function-definition):
10216         New helpers.
10217         (octave-help-buffer): New user variable.
10218         (octave-help-file, octave-help-function): New button types.
10219         (octave-help): New command and bind it to C-h ;.
10220         (octave-find-definition): New command and bind it to M-.
10221         (user-error): Alias to error if not defined.
10223 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10225         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10226         for \.  (bug#14332)
10227         (octave-font-lock-keywords): Include [ and {.
10229 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10231         * progmodes/octave.el (inferior-octave-startup-file): Change default.
10232         (inferior-octave): Remove calling comint-mode and return the buffer.
10233         (inferior-octave-startup): Cosmetic changes.
10235 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10237         * progmodes/octave.el (octave-syntax-propertize-function):
10238         Include the case when ' is at line beginning.  (Bug#14336)
10240 2013-05-02  Glenn Morris  <rgm@gnu.org>
10242         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10243         * desktop.el (vc-dir-mode): Just autoload it here.
10245 2013-05-02  Alan Mackenzie  <acm@muc.de>
10247         Eliminate variable c-standard-font-lock-fontify-region-function.
10248         * progmodes/cc-mode.el
10249         (c-standard-font-lock-fontify-region-function): Remove.
10250         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10252 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10254         * progmodes/octave.el: Compatible with older emacs-24 releases.
10255         (inferior-octave-has-built-in-variables): Remove.  Built-in
10256         variables were removed from Octave in 2007.
10257         (inferior-octave-startup): Fix uses.
10258         (comint-line-beginning-position): Remove compatibility code for
10259         emacs 21.
10261 2013-05-01  Juri Linkov  <juri@jurta.org>
10263         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
10265 2013-05-01  Juri Linkov  <juri@jurta.org>
10267         * comint.el (comint-previous-matching-input): Don't print message
10268         "History item: %d" when `isearch-mode' is active.
10269         (comint-history-isearch-message): Print message "History item: %d"
10270         when `comint-input-ring-index' is not empty and this function is
10271         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
10273 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10275         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10276         definitions.  Use completion-at-point to insert keywords.
10277         (octave-abbrev-start): Remove.
10278         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10280 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10282         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10283         change.
10285 2013-04-30  Alan Mackenzie  <acm@muc.de>
10287         Handle arbitrarily long C++ member initialisation lists.
10288         * progmodes/cc-engine.el (c-back-over-member-initializers):
10289         new function.
10290         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10291         (most) member init lists.
10293 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10295         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10296         variable.
10298 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10300         * progmodes/octave.el (octave-variables): Remove.  No builtin
10301         variables any more.  All converted to functions.
10302         (octave-font-lock-keywords, octave-completion-at-point-function):
10303         Fix uses.
10304         (octave-font-lock-texinfo-comment): New user variable.
10305         (octave-texinfo-font-lock-keywords): New variable for texinfo
10306         comment block.
10307         (octave-function-comment-block): New face.
10308         (octave-font-lock-texinfo-comment): New function.
10309         (octave-mode): Font lock texinfo comment block.
10311 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10313         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10314         indexing expression.
10315         (octave-continuation-string): Do not use \.
10316         (inferior-octave-complete-impossible): Remove.
10317         (inferior-octave-completion-table)
10318         (inferior-octave-completion-at-point): Remove its uses.
10319         (inferior-octave-startup): completion_matches was introduced to
10320         Octave in 1996 so safe to assume it.
10321         (octave-function-file-comment): Improve to follow how Octave does it.
10322         (octave-update-function-file-comment): Tweak.
10324 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10326         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10327         (inferior-octave-startup): Remove inferior-octave-startup-hook.
10328         (octave-function-file-comment): Fix typo.
10329         (octave-sync-function-file-names): Use read-char-choice.
10331 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
10333         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10334         to t for the less important warnings.
10336 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
10338         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
10340 2013-04-27  Glenn Morris  <rgm@gnu.org>
10342         * vc/log-view.el (log-view-current-entry):
10343         Treat "---" separator lines as part of the following rev.  (Bug#14169)
10345 2013-04-27  Juri Linkov  <juri@jurta.org>
10347         * subr.el (read-number): Doc fix about using it by interactive
10348         code letter `n'.  (Bug#14254)
10350 2013-04-27  Juri Linkov  <juri@jurta.org>
10352         * desktop.el (desktop-auto-save-timeout): New option.
10353         (desktop-file-checksum): New variable.
10354         (desktop-save): Add optional arg `auto-save' and don't auto-save
10355         if nothing changed.
10356         (desktop-auto-save-timer): New variable.
10357         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10358         (after-init-hook): Call `desktop-auto-save-set-timer'.
10359         Suggested by Reuben Thomas <rrt@sc3d.org> in
10360         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10362 2013-04-27  Leo Liu  <sdl.web@gmail.com>
10364         * progmodes/octave.el (octave-function-file-p)
10365         (octave-skip-comment-forward, octave-function-file-comment)
10366         (octave-update-function-file-comment): New functions.
10367         (octave-mode-map): Bind C-c ; to
10368         octave-update-function-file-comment.
10369         (octave-mode-menu): Add octave-update-function-file-comment.
10370         (octave-mode, inferior-octave-mode): Fix doc-string.
10371         (octave-insert-defun): Conform to Octave's coding convention.
10372         (Bug#14285)
10374         * files.el (basic-save-buffer): Don't let errors in
10375         before-save-hook prevent saving buffer.
10377 2013-04-20  Roland Winkler  <winkler@gnu.org>
10379         * faces.el (read-face-name): Use completing-read if arg multiple
10380         is nil.
10382 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
10384         * ls-lisp.el (ls-lisp-insert-directory): If no files are
10385         displayed, move point to after the totals line.
10386         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10387         for the details.
10389 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10391         * emacs-lisp/package.el (package-autoload-ensure-default-file):
10392         Add current dir to the load-path.
10393         (package-generate-autoloads): Don't rely on
10394         autoload-ensure-default-file.
10396 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
10398         * textmodes/remember.el (remember-store-in-files): Document that
10399         the file name format is passed to `format-time-string'.
10401 2013-04-26  Leo Liu  <sdl.web@gmail.com>
10403         * progmodes/octave.el (octave-sync-function-file-names): New function.
10404         (octave-mode): Use it in before-save-hook.
10406 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10408         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10409         (bug#14274).
10411         * progmodes/octave.el (octave-smie-forward-token): Properly skip
10412         \n and comment, even if it's not an implicit ; (bug#14218).
10414 2013-04-26  Glenn Morris  <rgm@gnu.org>
10416         * subr.el (read-number): Once more use `read' rather than
10417         `string-to-number', to trap non-numeric input.  (Bug#14254)
10419 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
10421         * emacs-lisp/syntax.el (syntax-propertize-multiline):
10422         Use `syntax-multiline' text property consistently instead of
10423         `font-lock-multiline'.  (Bug#14237)
10425 2013-04-26  Glenn Morris  <rgm@gnu.org>
10427         * emacs-lisp/shadow.el (list-load-path-shadows):
10428         No longer necessary to check for duplicate simple.el, since
10429         2012-07-07 change to init_lread to not include installation lisp
10430         directories in load-path when running uninstalled.  (Bug#14270)
10432 2013-04-26  Leo Liu  <sdl.web@gmail.com>
10434         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10435         (octave-mode, inferior-octave-mode): Use setq-local.
10436         (octave-not-in-string-or-comment-p): Rename to
10437         octave-in-string-or-comment-p.
10438         (octave-in-comment-p, octave-in-string-p)
10439         (octave-in-string-or-comment-p): Replace defsubst with defun.
10441 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
10443         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10445 2013-04-25  Bastien Guerry  <bzg@gnu.org>
10447         * textmodes/remember.el (remember-data-directory)
10448         (remember-directory-file-name-format): Fix custom types.
10450 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10452         * progmodes/octave.el (octave-completion-at-point-function):
10453         Make use of inferior octave process.
10454         (octave-initialize-completions): Remove.
10455         (inferior-octave-completion-table): New function.
10456         (inferior-octave-completion-at-point): Use it.
10457         (octave-completion-alist): Remove.
10459 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10461         * progmodes/opascal.el: Use font-lock and syntax-propertize.
10462         (opascal-mode-syntax-table): New var.
10463         (opascal-literal-kind, opascal-is-literal-end)
10464         (opascal-literal-token-at): Rewrite.
10465         (opascal--literal-start-re, opascal-font-lock-keywords)
10466         (opascal--syntax-propertize): New constants.
10467         (opascal-font-lock-defaults): Adjust.
10468         (opascal-mode): Use them.  Set comment-<foo> variables as well.
10469         (delphi-comment-face, opascal-comment-face, delphi-string-face)
10470         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10471         (delphi-other-face, opascal-other-face): Remove face variables.
10472         (opascal-save-state): Remove macro.
10473         (opascal-fontifying-progress-step): Remove constant.
10474         (opascal--ignore-changes): Remove var.
10475         (opascal-set-token-property, opascal-parse-next-literal)
10476         (opascal-is-stable-literal, opascal-complete-literal)
10477         (opascal-is-literal-start, opascal-face-of)
10478         (opascal-parse-region, opascal-parse-region-until-stable)
10479         (opascal-fontify-region, opascal-after-change)
10480         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10481         (opascal-debug-parse-region, opascal-debug-parse-window)
10482         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10483         (opascal-debug-fontify-buffer): Remove.
10484         (opascal-debug-mode-map): Adjust accordingly.
10486 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10488         Merge octave-mod.el and octave-inf.el into octave.el with some
10489         cleanups.
10490         * progmodes/octave.el: New file renamed from octave-mod.el.
10491         * progmodes/octave-inf.el: Merged into octave.el.
10492         * progmodes/octave-mod.el: Renamed to octave.el.
10494 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
10496         * textmodes/reftex-vars.el
10497         (reftex-label-ignored-macros-and-environments): New defcustom.
10499         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10501 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10503         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10504         (smie-indent-keyword): Improve the check to ensure that the next
10505         comment is really on the same line.
10506         (smie-indent-comment): Don't align with a subsequent closer (or eob).
10508         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10509         semi-colons if the line is not otherwise empty (bug#14218).
10511 2013-04-25  Glenn Morris  <rgm@gnu.org>
10513         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10515 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10517         * progmodes/opascal.el (opascal-set-token-property): Rename from
10518         opascal-set-text-properties and only set `token' (bug#14134).
10519         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10520         (opascal-literal-text-properties): Remove.
10521         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10522         Adjust callers.
10524 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
10526         * textmodes/remember.el (remember-handler-functions): Add an
10527         option for a new handler `remember-store-in-files'.
10528         (remember-data-directory, remember-directory-file-name-format):
10529         New options.
10530         (remember-store-in-files): New function to store remember notes
10531         as separate files within a directory.
10533 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
10535         * progmodes/compile.el (compilation-next-error-function):
10536         Pass "formats" to compilation-find-file (bug#11777).
10538 2013-04-24  Glenn Morris  <rgm@gnu.org>
10540         * vc/vc-bzr.el (vc-bzr-print-log):
10541         * vc/vc-hg.el (vc-hg-print-log):
10542         * vc/vc-svn.el (vc-svn-print-log):
10543         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
10545         * vc/vc-bzr.el (vc-bzr-print-log):
10546         * vc/vc-cvs.el (vc-cvs-print-log):
10547         * vc/vc-git.el (vc-git-print-log):
10548         * vc/vc-hg.el (vc-hg-print-log):
10549         * vc/vc-mtn.el (vc-mtn-print-log):
10550         * vc/vc-rcs.el (vc-rcs-print-log):
10551         * vc/vc-sccs.el (vc-sccs-print-log):
10552         * vc/vc-svn.el (vc-svn-print-log):
10553         * vc/vc.el (vc-print-log-internal): Doc fixes.
10555 2013-04-23  Glenn Morris  <rgm@gnu.org>
10557         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10558         Remove venerable code attempting to avoid substitute-command-keys.
10560 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
10562         * textmodes/reftex-vars.el (reftex-label-regexps):
10563         Call `reftex-compile-variables' after changes to this variable.
10565 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10567         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10568         Use lexical-binding.
10569         (jit-lock-force-redisplay): Use markers, check buffer's continued
10570         existence and beware narrowed buffers.
10571         (jit-lock-fontify-now): Adjust call accordingly.
10573 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10575         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10576         to avoid misleading the user.
10578 2013-04-22  Leo Liu  <sdl.web@gmail.com>
10580         * info-look.el: Prefer latex2e.info.  (Bug#14240)
10582 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
10584         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
10586         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10587         * net/tramp.el (tramp-call-process): ... here.
10588         (tramp-set-completion-function, tramp-parse-putty):
10589         * net/tramp-adb.el (tramp-adb-execute-adb-command):
10590         * net/tramp-gvfs.el (tramp-gvfs-send-command):
10591         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10592         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10593         (tramp-call-local-coding-command): Use `tramp-call-process'
10594         instead of `tramp-compat-call-process'.
10596         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10597         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10598         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10599         (tramp-find-inline-compress): Improve traces.
10600         (tramp-maybe-send-script): Check for Perl binary.
10601         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10603 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10605         * epg.el (epg-context-pinentry-mode): New function.
10606         (epg-context-set-pinentry-mode): New function.
10607         (epg--start): Pass --pinentry-mode option to gpg command.
10609 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10611         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10612         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10613         `completion-at-point'.  (Bug#13774)
10615         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10616         default key binding for `describe-distribution' has been moved to
10617         `C-h C-o'.  (Bug#13970)
10619 2013-04-21  Glenn Morris  <rgm@gnu.org>
10621         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10622         Add doc strings.
10623         (vc-print-log): Clarify interactive prompt.
10625 2013-04-20  Glenn Morris  <rgm@gnu.org>
10627         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10628         No longer include timestamp etc information.
10630 2013-04-20  Roland Winkler  <winkler@gnu.org>
10632         * faces.el (read-face-name): Bug fix, return just one face if arg
10633         multiple is nil.  (Bug#14209)
10635 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10637         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10638         (remove-function): Autoload.
10640         * comint.el (comint-redirect-original-filter-function): Remove.
10641         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10642         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10643         (vc-cvs-annotate-command):
10644         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10645         * progmodes/prolog.el (prolog-consult-compile):
10646         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10647         Use add/remove-function instead.
10648         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10649         (gud-tooltip-process-output, gud-tooltip-tips):
10650         Use add/remove-function instead.
10651         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10652         (scheme-interaction-mode, exit-scheme-interaction-mode):
10653         Use add/remove-function instead.
10655         * vc/vc-dispatcher.el: Use lexical-binding.
10656         (vc--process-sentinel): Rename from vc-process-sentinel.
10657         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10658         and vc-sentinel-commands any more.
10659         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10660         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10662 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10664         * progmodes/sh-script.el (sh-imenu-generic-expression):
10665         Handle function names with a single character.   (Bug#14111)
10667 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
10669         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10670         for subroutines defined in an eval (bug#14182).
10672 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10674         * bookmark.el (bookmark-completing-read): Improve handling of empty
10675         string (bug#14176).
10677 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10679         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10681 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10683         New faster Imenu implementation (bug#14058).
10684         * progmodes/python.el:
10685         (python-imenu-prev-index-position):
10686         (python-imenu-format-item-label-function)
10687         (python-imenu-format-parent-item-label-function)
10688         (python-imenu-format-parent-item-jump-label-function):
10689         New vars.
10690         (python-imenu-format-item-label)
10691         (python-imenu-format-parent-item-label)
10692         (python-imenu-format-parent-item-jump-label)
10693         (python-imenu--put-parent, python-imenu--build-tree)
10694         (python-imenu-create-index, python-imenu-create-flat-index)
10695         (python-util-popn): New functions.
10696         (python-mode): Set imenu-create-index-function to
10697         python-imenu-create-index.
10699 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10701         * winner.el (winner-active-region): Use region-active-p, activate-mark
10702         and deactivate-mark (bug#14225).
10704         * simple.el (deactivate-mark): Don't inline it.
10706 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
10708         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10710 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
10712         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10713         file extensions from the archive-mode entry in order to prefer
10714         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10716 2013-04-18  Leo Liu  <sdl.web@gmail.com>
10718         * bindings.el (help-event-list): Add ?\?.
10720 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10722         * subr.el (with-wrapper-hook): Declare obsolete.
10723         * simple.el (filter-buffer-substring-function): New hook.
10724         (filter-buffer-substring): Use it.
10725         (filter-buffer-substring-functions): Mark obsolete.
10726         * minibuffer.el (completion-in-region-function): New hook.
10727         (completion-in-region): Use it.
10728         (completion-in-region-functions): Mark obsolete.
10729         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10730         * abbrev.el (abbrev-expand-function): New hook.
10731         (expand-abbrev): Use it.
10732         (abbrev-expand-functions): Mark obsolete.
10733         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10734         and :filter-return.
10736 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10738         * progmodes/python.el (python-nav--syntactically): Fix cornercases
10739         and do not care about match data.
10741 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10743         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10744         completion tables when completing error conditions and
10745         `declare' arguments.
10746         (lisp-complete-symbol, field-complete): Mark as obsolete.
10747         (check-parens): Unmatched parens are user errors.
10748         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10750 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
10752         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10753         command changed buffer (ie. `flyspell-pre-buffer' is not current
10754         buffer), which prevents making decisions based on invalid value of
10755         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
10756         cause an error when `flyspell-pre-point' was nil after switching
10757         buffers.
10758         (flyspell-post-command-hook): No longer needs to change buffers when
10759         checking pre-word.  While at it remove unnecessary progn.
10761 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
10763         * textmodes/ispell.el (ispell-add-per-file-word-list):
10764         Fix `flyspell-correct-word-before-point' error when accepting
10765         words and `coment-padding' is an integer by using
10766         `comment-normalize-vars' (Bug #14214).
10768 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10770         New defun movement commands.
10771         * progmodes/python.el (python-nav--syntactically)
10772         (python-nav--forward-defun, python-nav-backward-defun)
10773         (python-nav-forward-defun): New functions.
10775 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10777         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10778         (python-syntax-context): Use named compiler-macro for backwards
10779         compatibility with Emacs 24.x.
10781 2013-04-17  Leo Liu  <sdl.web@gmail.com>
10783         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10784         octave-hide-process-buffer.
10786 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10788         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10789         (bug#14216).
10791 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
10793         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10794         Fix adjustment of offset when receiving incomplete responses from GDB
10795         (bug#14129).
10797 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10799         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10800         python-mode-abbrev-table.
10801         (python-skeleton-define): Adjust accordingly.
10802         (python-mode-abbrev-table): New table that inherits from it so that
10803         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10805         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10806         (abbrev-symbol): Use it.
10807         (abbrev--before-point): Use it since we already handle inheritance.
10809 2013-04-16  Leo Liu  <sdl.web@gmail.com>
10811         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10812         binding to info-lookup-symbol.
10814 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
10816         * minibuffer.el (completion--twq-all):
10817         * term/ns-win.el (ns-initialize-window-system):
10818         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10820 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10822         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10823         global bindings.
10825         * doc-view.el (doc-view-start-process): Handle url-handler directories.
10827 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
10829         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10830         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10831         to nil.
10832         (ruby-end-of-defun): Remove the unused arg, change the docstring
10833         to reflect that this function is only used as the value of
10834         `end-of-defun-function'.
10835         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10836         to reflect an earlier change that beginning/end-of-defun functions
10837         jump between methods in a class definition, as well as top-level
10838         functions.
10840 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10842         * minibuffer.el (minibuffer-complete): Don't just scroll
10843         a *Completions* that's been iconified.
10844         (minibuffer-force-complete): Make sure repetitions do cycle when going
10845         through completion-in-region -> minibuffer-complete.
10847 2013-04-15  Alan Mackenzie  <acm@muc.de>
10849         Correct the placement of c-cpp-delimiters when there're #s not at
10850         col 0.
10852         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10853         place a submatch around the #.
10854         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10855         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10856         on the #, not BOL.
10858 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10860         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10861         (advice--member-p): New arg `name'.
10862         (advice--add-function, advice-member-p): Use it (bug#14202).
10864 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10866         Reformulate java imenu-generic-expression.
10867         The old expression contained ill formed regexps.
10869         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10870         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10871         (cc-imenu-java-method-arg-regexp): New defconsts.
10872         (cc-imenu-java-build-type-args-regex): New defun.
10873         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10874         handling of spaces in the regexp.
10876 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10878         * textmodes/ispell.el (ispell-command-loop): Remove
10879         flyspell highlight of a word when ispell accepts it (bug #14178).
10881 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10883         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10884         uses code from the previous `ange-ftp-run-real-handler'.
10885         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10886         only in case that function exist.  This is needed for proper
10887         unloading of Tramp.
10889 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10891         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10893         * textmodes/reftex.el (reftex-compile-variables): Use it.
10895 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10897         * files.el (normal-mode): Only use default major-mode if no other mode
10898         was specified.
10900         * emacs-lisp/trace.el (trace-values): New function.
10902         * files.el: Allow : in local variables (bug#14089).
10903         (hack-local-variable-regexp): New var.
10904         (hack-local-variables-prop-line, hack-local-variables): Use it.
10906 2013-04-13  Roland Winkler  <winkler@gnu.org>
10908         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10909         data before it gets modified by bibtex-beginning-of-entry.
10911 2013-04-13  Roland Winkler  <winkler@gnu.org>
10913         * textmodes/bibtex.el (bibtex-url): Doc fix.
10915 2013-04-13  Roland Winkler  <winkler@gnu.org>
10917         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10918         does not visit a BibTeX file, exclude it from the list of buffers
10919         returned by bibtex-initialize.
10921 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10923         * window.el (split-window): Remove interactive form, since as a
10924         command this function is a special case of split-window-below.
10925         Correct doc string.
10927 2013-04-12  Roland Winkler  <winkler@gnu.org>
10929         * faces.el (read-face-name): Do not override value of arg default.
10930         Allow single faces and strings as default values.  Remove those
10931         elements from return value that are not faces.
10932         (describe-face): Simplify.
10933         (face-at-point): New optional args thing and multiple so that this
10934         function can provide the same functionality previously provided by
10935         read-face-name.
10936         (make-face-bold, make-face-unbold, make-face-italic)
10937         (make-face-unitalic, make-face-bold-italic, invert-face)
10938         (modify-face, read-face-and-attribute): Use face-at-point.
10940         * cus-edit.el (customize-face, customize-face-other-window)
10941         * cus-theme.el (custom-theme-add-face)
10942         * face-remap.el (buffer-face-set)
10943         * facemenu.el (facemenu-set-face): Use face-at-point.
10945 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10947         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10949 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10951         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10952         off leading { and trailing } from field values.
10954 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10956         * emacs-lisp/timer.el (timer--check): New function.
10957         (timer--time, timer-set-function, timer-event-handler): Use it.
10958         (timer-set-idle-time): Simplify.
10959         (timer--activate): CSE.
10960         (timer-event-handler): Give more info in error message.
10961         (internal-timer-start-idle): New function, moved from C.
10963         * mpc.el (mpc-proc): Add `restart' argument.
10964         (mpc-proc-cmd): Use it.
10965         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10966         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10967         less often.
10969 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10971         * progmodes/sh-script.el: Implement `sh-mode' own
10972         `add-log-current-defun-function' (bug#14112).
10973         (sh-current-defun-name): New function.
10974         (sh-mode): Use the function.
10976 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10978         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10980 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10982         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10984         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10985         timer (bug#14156).
10987 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10989         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10990         declaration.
10992 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10994         * pcmpl-x.el: New file.
10996 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10998         Do not set x-display-name until X connection is established.
10999         This is needed to prevent from weird situation described at
11000         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11001         * frame.el (make-frame): Set x-display-name after call to
11002         window system initialization function, not before.
11003         * term/x-win.el (x-initialize-window-system): Add optional
11004         display argument and use it.
11005         * term/w32-win.el (w32-initialize-window-system):
11006         * term/ns-win.el (ns-initialize-window-system):
11007         * term/pc-win.el (msdos-initialize-window-system):
11008         Add compatible optional display argument.
11010 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
11012         * files.el (normal-backup-enable-predicate): On MS-Windows and
11013         MS-DOS compare truenames of temporary-file-directory and of the
11014         file, so that 8+3 aliases (usually found in $TEMP on Windows)
11015         don't fail comparison by compare-strings.  Also, compare file
11016         names case-insensitively on MS-Windows and MS-DOS.
11018 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11020         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11021         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11023 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
11025         * whitespace.el (whitespace-color-on, whitespace-color-off):
11026         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11028 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
11030         * ispell.el (ispell-set-spellchecker-params):
11031         Really set `ispell-args' for all equivs.
11033 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11035         * ido.el (ido-completions): Use extra elements of ido-decorations
11036         (bug#14143).
11037         (ido-decorations): Update docstring.
11039 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
11041         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11042         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11043         nil during initialization, in order not to miss changes since the
11044         file was opened.  (Bug#14140)
11046 2013-04-05  Leo Liu  <sdl.web@gmail.com>
11048         * kmacro.el (kmacro-call-macro): Fix bug#14135.
11050 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
11052         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11054 2013-04-04  Glenn Morris  <rgm@gnu.org>
11056         * electric.el (electric-pair-inhibit-predicate): Add :version.
11058 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11060         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11061         when a package is required several times (bug#14082).
11063 2013-04-04  Roland Winkler  <winkler@gnu.org>
11065         * faces.el (read-face-name): Behave as promised by the docstring.
11066         Assume that arg default is a list of faces.
11067         (describe-face): Call read-face-name with list of default faces.
11069 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11071         * bookmark.el: Fix deletion of bookmarks (bug#13972).
11072         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11073         (bookmark-bmenu-execute-deletions): Only skip first line if it's
11074         the header.
11075         (bookmark-exit-hook-internal): Save even if list is empty.
11077 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
11079         * emacs-lisp/package.el (package-pinned-packages): New var.
11080         (package--add-to-archive-contents): Obey it (bug#14118).
11082 2013-04-03  Alan Mackenzie  <acm@muc.de>
11084         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11085         Also adapt to the new values of element 7 of a parse state.
11087         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11088         parameter `not-in-delimiter'.  Handle being inside comment opener.
11089         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11090         character in case we're typing a '*' after a '/'.
11091         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11092         instead by passing the parameter to c-state-pp-to-literal.
11094         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11095         for elt. 7 of a parse state.
11097 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
11099         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11100         * international/latin1-disp.el, international/mule-util.el:
11101         * language/cyril-util.el, language/european.el, language/ind-util.el:
11102         * language/lao-util.el, language/thai.el, language/tibet-util.el:
11103         * language/tibetan.el, language/viet-util.el:
11104         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11106 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11108         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11109         (electric-pair-post-self-insert-function): Use it.
11110         (electric-pair-default-inhibit): New function, extracted from
11111         electric-pair-post-self-insert-function.
11113 2013-03-31  Roland Winkler  <winkler@gnu.org>
11115         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11117 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11119         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11121 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
11123         Un-indent after "pass" and "return" statements (Bug#13888)
11124         * progmodes/python.el (python-indent-block-enders): New var.
11125         (python-indent-calculate-indentation): Use it.
11127 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
11129         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11130         defun.  Defining it as defalias could introduce too eager
11131         byte-compiler optimization.  (Bug#14030)
11133 2013-03-30  Chong Yidong  <cyd@gnu.org>
11135         * iswitchb.el (iswitchb-read-buffer): Fix typo.
11137 2013-03-30  Leo Liu  <sdl.web@gmail.com>
11139         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11140         (kmacro-execute-from-register): Pass the keyboard macro to
11141         kmacro-call-macro or repeating won't work correctly.
11143 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
11145         * progmodes/subword.el: Back to using `forward-symbol'.
11147         * subr.el (forward-whitespace, forward-symbol)
11148         (forward-same-syntax): Move from thingatpt.el.
11150 2013-03-29  Leo Liu  <sdl.web@gmail.com>
11152         * kmacro.el (kmacro-to-register): New command.
11153         (kmacro-execute-from-register): New function.
11154         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
11156 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11158         * mpc.el: Use defvar-local and setq-local.
11159         (mpc--proc-connect): Connection failures are not bugs.
11160         (mpc-mode-map): `follow-link' only applies to the buffer's content.
11161         (mpc-volume-map): Bind to the up-events.
11163 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
11165         * progmodes/subword.el (superword-mode): Use `forward-sexp'
11166         instead of `forward-symbol'.
11168 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11170         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11171         (edebug--recursive-edit): Use it.
11172         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11173         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11175 2013-03-28  Leo Liu  <sdl.web@gmail.com>
11177         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
11179 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
11181         * facemenu.el (list-colors-callback): New defvar.
11182         (list-colors-redisplay): New function.
11183         (list-colors-display): Install list-colors-redisplay as the
11184         revert-buffer-function.  (Bug#14063)
11186 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11188         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11189         and suffixes don't overlap (bug#14061).
11191         * case-table.el: Use lexical-binding.
11192         (case-table-get-table): New function.
11193         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
11195 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
11197         * progmodes/subword.el: Add `superword-mode' to do word motion
11198         over symbol_words (parallels and leverages `subword-mode' which
11199         does word motion inside MixedCaseWords).
11201 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
11203         * eshell/em-unix.el: Move su and sudo to...
11204         * eshell/em-tramp.el: ...Eshell tramp module.
11206 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11208         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11209         Change return value to be a sexp.  Delay `get-buffer' to after
11210         restoring the desktop (bug#13951).
11212 2013-03-26  Leo Liu  <sdl.web@gmail.com>
11214         * register.el: Move semantic tag handling back to
11215         cedet/semantic/senator.el.  (Bug#14052)
11217 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11219         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11220         into the prompt either (bug#13963).
11222 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11224         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11225         part of "(error-foo)".
11227 2013-03-24  Juri Linkov  <juri@jurta.org>
11229         * replace.el (list-matching-lines-prefix-face): New defcustom.
11230         (occur-1): Pass `list-matching-lines-prefix-face' to the function
11231         `occur-engine' if `face-differs-from-default-p' returns t.
11232         (occur-engine): Add `,' inside backquote construct to evaluate
11233         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
11234         Pass `prefix-face' to the functions `occur-context-lines' and
11235         `occur-engine-add-prefix'.
11236         (occur-engine-add-prefix, occur-context-lines): Add optional arg
11237         `prefix-face' and propertize the prefix with `prefix-face'.
11238         (Bug#14017)
11240 2013-03-24  Leo Liu  <sdl.web@gmail.com>
11242         * nxml/rng-valid.el (rng-validate-while-idle)
11243         (rng-validate-quick-while-idle): Guard against deleted buffer.
11244         (Bug#13999)
11246         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11247         is the last entry in kill-buffer-hook.
11249         * files.el (kill-buffer-hook): Doc fix.
11251 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
11253         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11254         Make it safe-local.
11256         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11258 2013-03-23  Leo Liu  <sdl.web@gmail.com>
11260         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11261         Remove.
11263         * nxml/rng-valid.el (rng-validate-mode)
11264         (rng-after-change-function, rng-do-some-validation):
11265         * nxml/rng-maint.el (rng-validate-buffer):
11266         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11267         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11268         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11269         (nxml-extend-after-change-region): Use with-silent-modifications.
11271         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11272         timer-idle-list.
11274         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11275         (rng-next-error-1, rng-previous-error-1): Do not let-bind
11276         timer-idle-list.  (Bug#13999)
11278 2013-03-23  Juri Linkov  <juri@jurta.org>
11280         * info.el (info-index-match): New face.
11281         (Info-index, Info-apropos-matches): Add a nested subgroup to the
11282         main pattern and add text properties with the new face to matches
11283         in index entries relative to the beginning of the index entry.
11284         (Bug#14015)
11286 2013-03-21  Eric Ludlam  <zappo@gnu.org>
11288         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11289         Inhibit read only while inserting objects.
11291 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
11293         * progmodes/cfengine.el: Update docs to mention
11294         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
11295         symbol motion.  Remove "_" from the word syntax.
11297 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
11299         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11300         syntax for both `cfengine2-mode' and `cfengine3-mode'.
11302 2013-03-20  Juri Linkov  <juri@jurta.org>
11304         * info.el (Info-next-reference-or-link)
11305         (Info-prev-reference-or-link): New functions.
11306         (Info-next-reference, Info-prev-reference): Use them.
11307         (Info-try-follow-nearest-node): Handle footnote navigation.
11308         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
11310 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11312         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11313         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11315 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
11317         Suppress unnecessary non-ASCII chatter during build process.
11318         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11319         (batch-skkdic-convert): Suppress most of the chatter.
11320         It's not needed so much now that machines are faster,
11321         and its non-ASCII component was confusing; see Dmitry Gutov in
11322         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11324 2013-03-20  Leo Liu  <sdl.web@gmail.com>
11326         * ido.el (ido-chop): Fix bug#10994.
11328 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11330         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11331         Remove vars.
11332         (whitespace-color-on, whitespace-color-off):
11333         Use `font-lock-fontify-buffer' (Bug#13817).
11335 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11337         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11338         remapping in mode-line.
11339         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11341 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11343         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11344         value for `whitespace-line' face (Bug#13875).
11345         (whitespace-font-lock-keywords): Change description.
11346         (whitespace-color-on): Don't save `font-lock-keywords' value, save
11347         the constructed keywords instead.
11348         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11350 2013-03-19  Leo Liu  <sdl.web@gmail.com>
11352         * progmodes/compile.el (compilation-display-error): New command.
11353         (compilation-mode-map, compilation-minor-mode-map): Bind it to
11354         C-o.  (Bug#13992)
11356 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
11358         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11360 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
11362         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11364 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
11366         * net/tramp-compat.el (tramp-compat-user-error): New defun.
11368         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11369         * net/tramp-gvfs.el (top):
11370         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11371         (tramp-handle-shell-command): Use it.
11372         (tramp-dissect-file-name): Raise an error when hostname is a
11373         method name, and neither method nor user is specified.
11375         * net/trampver.el: Update release number.
11377 2013-03-18  Leo Liu  <sdl.web@gmail.com>
11379         Make sure eldoc can be turned off properly.
11380         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11381         eldoc-mode.
11382         (eldoc-display-message-p): Revert last change.
11383         (eldoc-display-message-no-interference-p)
11384         (eldoc-print-current-symbol-info): Tweak.
11386 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
11388         * doc-view.el (doc-view-new-window-function): Check the new window
11389         overlay's display property instead the char property of the
11390         buffer's first char.  Use `with-selected-window' instead of
11391         `save-window-excursion' with `select-window'.
11392         (doc-view-document->bitmap): Check the current doc-view overlay's
11393         display property instead the char property of the buffer's first char.
11395 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
11397         Automate the build of ja-dic.el (Bug#13984).
11398         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11399         from the input, rather than assume that it's been done for us by the
11400         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
11401         the current date into a ja-dic.el comment, as that complicates
11402         regression testing.
11404 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11406         * whitespace.el: Fix double evaluation.
11407         (whitespace-space, whitespace-hspace, whitespace-tab)
11408         (whitespace-newline, whitespace-trailing, whitespace-line)
11409         (whitespace-space-before-tab, whitespace-indentation)
11410         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11411         obsolete defvars.
11412         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11413         (whitespace-color-on): Use a single font-lock-add-keywords call.
11414         Fix double-evaluation of face variables.
11416 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
11418         * net/tramp-adb.el (tramp-adb-parse-device-names):
11419         Use `start-process' instead of `call-process'.  Otherwise, the
11420         function might be blocked under MS Windows.  (Bug#13299)
11422 2013-03-17  Leo Liu  <sdl.web@gmail.com>
11424         Extend eldoc to display info in the mode-line.  (Bug#13978)
11425         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11426         (eldoc-mode-line-string): New variable.
11427         (eldoc-minibuffer-message): New function.
11428         (eldoc-message-function): New variable.
11429         (eldoc-message): Use it.
11430         (eldoc-display-message-p)
11431         (eldoc-display-message-no-interference-p):
11432         Support eldoc-post-insert-mode.
11434         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11435         (eval-expression): Run it.
11437 2013-03-17  Roland Winkler  <winkler@gnu.org>
11439         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11440         strings in the list of return values.
11442 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11444         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11445         radix before checking for HMS forms.
11447 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11449         * progmodes/scheme.el: Add indentation and font-locking for λ.
11450         (Bug#13975)
11452 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11454         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11455         token before point (bug#13942).
11457 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11459         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
11461 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
11463         * startup.el (command-line-normalize-file-name): Fix handling of
11464         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
11465         <xfq.free@gmail.com> in
11466         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11468 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
11470         Sync with Tramp 2.2.7.
11472         * net/trampver.el: Update release number.
11474 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
11476         * doc-view.el: Fix bug#13887.
11477         (doc-view-insert-image): Don't modify overlay associated to
11478         non-live windows, and implement horizontal centering of image in
11479         case it's smaller than the window.
11480         (doc-view-new-window-function): Force redisplay of new windows on
11481         doc-view buffers.
11483 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
11485         * saveplace.el (save-place-alist-to-file): Don't sort
11486         `save-place-alist', just pretty-print it (bug#13882).
11488 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
11490         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11491         Check whether `default-file-name-coding-system' is bound.
11492         It isn't in XEmacs.
11494 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11496         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11497         backquotes for `obsolete' (bug#13929).
11499         * international/mule.el (find-auto-coding): Include file name in
11500         obsolescence warning (bug#13922).
11502 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
11504         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11505         for CFEngine 3-specific indentation.
11506         (cfengine3-indent-line): Use it.  Fix up category regex.
11507         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11509 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11511         * type-break.el (type-break-file-name):
11512         * textmodes/remember.el (remember-data-file):
11513         * strokes.el (strokes-file):
11514         * shadowfile.el (shadow-initialize):
11515         * saveplace.el (save-place-file):
11516         * ps-bdf.el (bdf-cache-file):
11517         * progmodes/idlwave.el (idlwave-config-directory):
11518         * net/quickurl.el (quickurl-url-file):
11519         * international/kkc.el (kkc-init-file-name):
11520         * ido.el (ido-save-directory-list-file):
11521         * emulation/viper.el (viper-custom-file-name):
11522         * emulation/vip.el (vip-startup-file):
11523         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11524         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11526 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
11528         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11529         * language/thai-word.el: Switch to UTF-8.
11531 See ChangeLog.16 for earlier changes.
11533 ;; Local Variables:
11534 ;; coding: utf-8
11535 ;; End:
11537   Copyright (C) 2011-2013 Free Software Foundation, Inc.
11539   This file is part of GNU Emacs.
11541   GNU Emacs is free software: you can redistribute it and/or modify
11542   it under the terms of the GNU General Public License as published by
11543   the Free Software Foundation, either version 3 of the License, or
11544   (at your option) any later version.
11546   GNU Emacs is distributed in the hope that it will be useful,
11547   but WITHOUT ANY WARRANTY; without even the implied warranty of
11548   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11549   GNU General Public License for more details.
11551   You should have received a copy of the GNU General Public License
11552   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.