(elisp--xref-identifier-file): Skip features that have no sources
[emacs.git] / lisp / ChangeLog
blob7678116f576bf71e94b0887013ce66a62c3275a7
1 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3         * progmodes/elisp-mode.el (elisp--xref-identifier-file):
4         Skip features that have no sources.
6         * simple.el (execute-extended-command):
7         When `suggest-key-bindings' is nil, don't.
9 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11         python.el: Enhance shell user interaction and deprecate
12         python-shell-get-or-create-process.
14         * progmodes/python.el
15         (python-shell-get-process-or-error): New function.
16         (python-shell-with-shell-buffer): Use it.
17         (python-shell-send-string, python-shell-send-region)
18         (python-shell-send-buffer, python-shell-send-defun)
19         (python-shell-send-file, python-shell-switch-to-shell): Use it.
20         Add argument MSG to display user-friendly message when no process
21         is running.
22         (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
23         (python-shell-make-comint): Rename argument SHOW from POP.  Use
24         display-buffer instead of pop-to-buffer.
25         (run-python): Doc fix.  Return process.
26         (python-shell-get-or-create-process): Make obsolete.
28 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
30         * progmodes/python.el (python-shell-buffer-substring): Handle
31         cornercase when region sent starts at point-min.
33 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
35         * language/misc-lang.el (composition-function-table): Add Syriac
36         characters and also ZWJ/ZWNJ.  See
37         http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
38         for the details.
40 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
42         python.el: Fix message when sending region.
44         * progmodes/python.el (python-shell-send-region): Rename argument
45         send-main from nomain.  Fix message.
46         (python-shell-send-buffer): Rename argument send-main from arg.
48 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
50         python.el: Cleanup temp files even with eval errors.
52         * progmodes/python.el (python-shell-send-file): Make file-name
53         mandatory.  Fix temp file removal in the majority of cases.
55 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
57         python.el: Handle file encoding for shell.
59         * progmodes/python.el (python-rx-constituents): Add coding-cookie.
60         (python-shell--save-temp-file): Write file with proper encoding.
61         (python-shell-buffer-substring): Add coding cookie for detected
62         encoding to generated content.  Fix blank lines when removing
63         if-name-main block.
64         (python-shell-send-file): Handle file encoding.
65         (python-info-encoding-from-cookie)
66         (python-info-encoding): New functions.
68 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
70         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
71         Use `tramp-rsh-end-of-line', it ought to be more robust.
73 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
75         * progmodes/js.el (js-syntax-propertize): "return" can't be divided
76         (bug#19397).
78 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
80         * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
82         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
83         as end-of-line delimeter for passwords, when running on MS Windows.
85 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
87         * progmodes/sh-script.el (sh-set-shell): Don't change the global value
88         of indent-line-function (bug#19433).
90 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
92         Fix line numbers on Python shell.
93         * progmodes/python.el (python-shell--save-temp-file): Do not
94         append coding cookie.
95         (python-shell-send-string): Generalize for
96         python-shell-send-region.
97         (python--use-fake-loc): Delete var.
98         (python-shell-buffer-substring): Cleanup fake-loc logic.
99         (python-shell-send-region): Remove fake-loc logic, simplify.
101 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
103         * progmodes/python.el (python-indent-post-self-insert-function):
104         Make colon to re-indent only for dedenters, handling
105         multiline-statements gracefully.
107 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
109         * net/tramp.el (tramp-handle-insert-file-contents):
110         Set `find-file-not-found-functions' in case of errors.  (Bug#18623)
112 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
114         * net/tramp-sh.el (tramp-send-command-and-read): New optional
115         arg MARKER.
116         (tramp-get-remote-path): Use it.
118 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
120         * lisp/subr.el (redisplay-dont-pause): Mark as obsolete.
122 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
124         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
125         (tramp-accept-process-output): Use nil as argument for
126         `accept-process-output', when there is a gateway prepended.
128         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
129         wrong debug buffer.
130         (tramp-gw-open-connection): Set process coding system 'binary.
131         (tramp-gw-open-network-stream): Handle HTTP error 403.
133         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
134         wrong debug buffer.
135         (tramp-maybe-open-connection): Set connection property "gateway".
137 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
139         * subr.el (sit-for): Tweak docstring (bug#19381).
141 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
143         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
144         stage to after `diff-index' (bug#19386).
146 2014-12-27  João Távora  <joaotavora@gmail.com>
148         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
149         `electric-pair-mode' (bug#19356).
151 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
153         elisp-xref-find: Don't create buffers eagerly.
155         * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
156         into `elisp--company-location'.
157         (elisp--identifier-completion-table): Rename to
158         `elisp--identifier-completion-table', and do not include just any
159         symbols with a property list.
160         (elisp-completion-at-point): Revert the 2014-12-25 change.
161         (elisp--xref-identifier-file): New function.
162         (elisp--xref-find-definitions): Use it.
164         * emacs-lisp/find-func.el (find-function-library): New function,
165         extracted from `find-function-noselect'.
167         * progmodes/xref.el (xref-elisp-location): New class.
168         (xref-make-elisp-location): New function.
169         (xref-location-marker): New implementation.
171 2014-12-27  Juri Linkov  <juri@linkov.net>
173         * minibuffer.el (minibuffer-completion-help):
174         Use shrink-window-if-larger-than-buffer in window-height
175         when temp-buffer-resize-mode is nil.
177         * window.el (with-displayed-buffer-window): Remove window-height
178         from the action alist in the temp-buffer-window-show call
179         when window-height is handled explicitly afterwards (bug#19355).
181 2014-12-27  Juri Linkov  <juri@linkov.net>
183         Support subdirectories when saving places in dired.
184         * saveplace.el (toggle-save-place, save-place-to-alist)
185         (save-places-to-alist, save-place-dired-hook):
186         Use dired-current-directory instead of dired-directory (bug#19436).
187         (save-place-dired-hook): Add check for alist to make the new
188         format future-proof to allow other possible formats.
190 2014-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
192         python.el: Generate clearer shell buffer names.
194         * progmodes/python.el (python-shell-get-process-name)
195         (python-shell-internal-get-process-name): Use `buffer-name`.
196         (python-shell-internal-get-or-create-process): Simplify.
198 2014-12-26  Dmitry Gutov  <dgutov@yandex.ru>
200         Add basic xref apropos implementation to elisp-mode.
202         * progmodes/elisp-mode.el (elisp--xref-find-definitions):
203         Filter out nil results.
204         (elisp--xref-find-apropos): New function.
205         (elisp-xref-find): Use it.
207         * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
209 2014-12-25  Filipp Gunbin  <fgunbin@fastmail.fm>
211         * dired-aux.el (dired-maybe-insert-subdir): Make
212         dired-maybe-insert-subdir always skip trivial files.
214 2014-12-25  Helmut Eller  <eller.helmut@gmail.com>
215             Dmitry Gutov  <dgutov@yandex.ru>
217         Consolidate cross-referencing commands.
219         Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
220         `C-x 5 .' from etags.el to xref.el.
222         * progmodes/xref.el: New file.
224         * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
225         (elisp--identifier-location): New function, extracted from
226         `elisp--company-location'.
227         (elisp--company-location): Use it.
228         (elisp--identifier-completion-table): New variable.
229         (elisp-completion-at-point): Use it.
230         (emacs-lisp-mode): Set the local values of `xref-find-function'
231         and `xref-identifier-completion-table-function'.
232         (elisp-xref-find, elisp--xref-find-definitions)
233         (elisp--xref-identifier-completion-table): New functions.
235         * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
236         favor of `xref--marker-ring'.
237         (tags-lazy-completion-table): Autoload.
238         (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
239         (find-tag-noselect): Use `xref-push-marker-stack'.
240         (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
241         (etags--xref-limit): New constant.
242         (etags-xref-find, etags--xref-find-definitions): New functions.
244 2014-12-25  Martin Rudalics  <rudalics@gmx.at>
246         * cus-start.el (resize-mini-windows): Make it customizable.
248 2014-12-24  Stephen Leake  <stephen_leake@stephe-leake.org>
250         * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
251         to (info "(emacs)Contributing").  (Bug#19299)
253 2014-12-24  Martin Rudalics  <rudalics@gmx.at>
255         * window.el (mouse-autoselect-window-position-1): New variable.
256         (mouse-autoselect-window-cancel)
257         (mouse-autoselect-window-select, handle-select-window): With
258         delayed autoselection select window only if mouse moves after
259         selecting its frame.
261 2014-12-24  Michael Albinus  <michael.albinus@gmx.de>
263         * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
264         remote file names.  (Bug#18782)
266 2014-12-23  Sam Steingold  <sds@gnu.org>
268         * shell.el (shell-display-buffer-actions): New user option.
269         (shell): Pass it to `pop-to-buffer' instead of hard-coding
270         `pop-to-buffer-same-window'.
272 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
274         * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
275         (js-syntax-propertize-regexp): Use it to recognize "slash in
276         a character class" (bug#19397).
278 2014-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
280         * completion.el: Use post-self-insert-hook (bug#19400).
281         (completion-separator-self-insert-command)
282         (completion-separator-self-insert-autofilling): Remove.
283         (completion-separator-chars): New var.
284         (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
285         of changing the keymap.
286         (completion--post-self-insert): New function.
287         (dynamic-completion-mode): Use it instead of rebinding keys.
288         (cmpl--completion-string): Rename from completion-string.
289         (add-completion-to-head, delete-completion): Let-bind it explicitly.
291 2014-12-22  Bozhidar Batsov  <bozhidar@batsov.com>
293         * progmodes/ruby-mode.el (ruby--string-region): Simplify code
294         by leveraging `syntax-ppss'.
296 2014-12-22  Artur Malabarba  <bruce.connor.am@gmail.com>
298         * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
300 2014-12-20  Michael Albinus  <michael.albinus@gmx.de>
302         * net/tramp-sh.el (tramp-histfile-override): Add :version.
304 2014-12-20  Teodor Zlatanov  <tzz@lifelogs.com>
306         * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
308 2014-12-19  Artur Malabarba  <bruce.connor.am@gmail.com>
310         * let-alist.el (let-alist): Enable access to deeper alists by
311         using dots inside the dotted symbols.
313 2014-12-19  Alan Mackenzie  <acm@muc.de>
315         Make C++11 uniform init syntax work.
316         New keywords "final" and "override"
317         * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
318         New function.
319         (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
320         new function.
321         * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
322         carefully for "are we at a declarator?" using
323         c-back-over-member-initializers.
324         * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
325         and "override" in the C++ value.
327 2014-12-19  Martin Rudalics  <rudalics@gmx.at>
329         * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
331 2014-12-21  Lars Ingebrigtsen  <larsi@gnus.org>
333         * net/nsm.el (nsm-save-host): Don't save the host name twice
334         (bug#19269).
336 2014-12-18  Sam Steingold  <sds@gnu.org>
338         Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
339         * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
340         (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
341         * menu-bar.el (menu-bar-buffer-vector): Extract from
342         `menu-bar-update-buffers'.
343         (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
344         (buffer-menu-open): New user command, bound globally to C-f10,
345         provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
346         (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
347         convert the value returned by `mouse-buffer-menu-map' to a list
348         acceptable to `popup-menu' for `buffer-menu-open'.
350 2014-12-18  Artur Malabarba  <bruce.connor.am@gmail.com>
352         * let-alist.el (let-alist): Evaluate the `alist' argument only
353         once.
355 2014-12-18  Sam Steingold  <sds@gnu.org>
357         * emacs-lisp/package.el: Avoid compilation warning by declaring
358         the `find-library-name' function.
359         (package-activate-1): Fix the `with-demoted-errors' calls:
360         the first argument must be a string literal.
362 2014-12-18  Martin Rudalics  <rudalics@gmx.at>
364         Add code for "preserving" window sizes.
365         * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
366         `preserve-size' t.
367         (dired-mark-pop-up): Preserve size of window showing marked
368         files.
369         * electric.el (Electric-pop-up-window):
370         * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
371         with `preserve-size' t.
372         * minibuffer.el (minibuffer-completion-help): Use
373         `resize-temp-buffer-window' instead of `fit-window-to-buffer'
374         (Bug#19355).  Preserve size of completions window.
375         * register.el (register-preview): Preserve size of register
376         preview window.
377         * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
378         with `preserve-size' t (Bug#1291).
379         * window.el (with-displayed-buffer-window): Add calls to
380         `window-preserve-size'.
381         (window-min-pixel-size, window--preservable-size)
382         (window-preserve-size, window-preserved-size)
383         (window--preserve-size, window--min-size-ignore-p): New
384         functions.
385         (window-min-size, window-min-delta, window--resizable)
386         (window--resize-this-window, split-window-below)
387         (split-window-right): Amend doc-string.
388         (window--min-size-1, window-sizable, window--size-fixed-1)
389         (window-size-fixed-p, window--min-delta-1)
390         (frame-windows-min-size, window--max-delta-1, window-resize)
391         (window--resize-child-windows, window--resize-siblings)
392         (enlarge-window, shrink-window, split-window): Handle preserving
393         window sizes.
394         (adjust-window-trailing-edge): Handle preserving window
395         sizes.  Signal user-error instead of an error when there's no
396         window above or below.
397         (window--state-put-2): Handle horizontal scroll bars.
398         (window--display-buffer): Call `preserve-size' if asked for.
399         (display-buffer): Mention `preserve-size' alist member in
400         doc-string.
401         (fit-window-to-buffer): New argument PRESERVE-SIZE.
402         * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
403         scroll bar on ispell's windows.  Don't count window lines and
404         don't deal with dedicated windows.
405         (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
406         do the window handling.
407         (ispell-adjusted-window-height, ispell-overlay-window): Remove.
408         (ispell-display-buffer): New function to reuse, create and fit
409         window to ispell's buffers.  (Bug#3413)
411 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
413         * emacs-lisp/package.el (package-activate): Do not re-activate or
414         reload the dependencies (bug#19390).
416 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
418         * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
419         (c-update-modeline):
420         * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
421         * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
422         (c-mode-base-map): Use c-subword-mode.
424 2014-12-18  Eli Zaretskii  <eliz@gnu.org>
426         * international/mule-diag.el (describe-font-internal):
427         Display additional info returned by font-info.
429         * linum.el (linum--face-width): Rename from linum--face-height,
430         and use the new functionality of font-info.
431         (linum-update-window): Use linum--face-width and frame-char-width,
432         instead of approximating with height.
434 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
436         * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
437         change (bug#19387).  Use `apply' on `vc-dir-command'  (bug#19405).
439         * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
440         and a docstring.
441         (package-activate): Call itself on dependencies on PACKAGE with
442         the same FORCE argument.  Pass FORCE as RELOAD into
443         `package-activate-1'  (bug#19390).
445 2014-12-17  Sam Steingold  <sds@gnu.org>
447         * emacs-lisp/package.el (package--list-loaded-files):
448         Handle `(nil ...)' elements in `load-history'.
450 2014-12-17  Teodor Zlatanov  <tzz@lifelogs.com>
452         * net/tramp-sh.el (tramp-histfile-override): New variable.
453         (tramp-open-shell, tramp-maybe-open-connection): Use it.
455 2014-12-17  Dmitry Gutov  <dgutov@yandex.ru>
457         * vc/vc.el: Improve `dir-status-files' description.
459         * emacs-lisp/package.el (package--list-loaded-files): Don't call
460         file-truename on load-history elements (bug#19390).
462 2014-12-16  Nicolas Petton <petton.nicolas@gmail.com>
464         * emacs-lisp/seq.el: New file.
466 2014-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
468         * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
469         is 0 and there is no input pending.
471 2014-12-15  Juri Linkov  <juri@linkov.net>
473         * replace.el (query-replace-read-from): Use query-replace-compile-replacement
474         only on the return value (bug#19383).
476 2014-12-15  Juri Linkov  <juri@linkov.net>
478         * isearch.el (isearch-lazy-highlight-search): Extend the bound of
479         the wrapped search by the length of the search string to be able
480         to lazy-highlight the whole search string at point (bug#19353).
482 2014-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
484         * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
486 2014-12-14  Alan Mackenzie  <acm@muc.de>
488         * lisp/cus-start.el (all): Add fast-but-imprecise-scrolling.
490 2014-12-14  Artur Malabarba  <bruce.connor.am@gmail.com>
492         * let-alist.el: Add lexical binding.
494 2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)
496         * emacs-lisp/package.el (package-menu-mode): Use an extra column
497         for the "Version" column, to accomodate date-and-time-based
498         versions.
500 2014-12-14  Cameron Desautels  <camdez@gmail.com>
502         * cus-edit.el (custom-unsaved-options): New function, extracted
503         from `customize-unsaved'.
504         (custom-unsaved): Use it.
505         (custom-prompt-customize-unsaved-options): New function.
506         (Bug#19328)
508 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
510         * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
512 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
514         Move ASYNC argument to the `diff' VC command to the fifth
515         position, for better compatibility with existing third-party code,
516         and document it.
518         * vc/vc.el (vc-diff-internal): Pass `async' argument to the
519         backend `diff' command in the last position.
521         * vc/vc-svn.el (vc-svn-diff):
522         * vc/vc-src.el (vc-src-diff):
523         * vc/vc-sccs.el (vc-sccs-diff):
524         * vc/vc-rcs.el (vc-rcs-diff):
525         * vc/vc-mtn.el (vc-mtn-diff):
526         * vc/vc-hg.el (vc-hg-diff):
527         * vc/vc-git.el (vc-git-diff):
528         * vc/vc-dav.el (vc-dav-diff):
529         * vc/vc-cvs.el (vc-cvs-diff):
530         * vc/vc-bzr.el (vc-bzr-diff):
531         * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
533 2014-12-14  Paul Eggert  <eggert@cs.ucla.edu>
535         * emacs-lisp/cconv.el (cconv--analyze-use):
536         Rename from cconv--analyse-use.
537         (cconv--analyze-function): Rename from cconv--analyse-function.
538         (cconv-analyze-form): Rename from cconv-analyse-form.
540 2014-12-13  Andreas Schwab  <schwab@linux-m68k.org>
542         * net/shr.el (shr-next-link): Don't error out at eob.
544 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
546         * isearch.el (isearch-open-necessary-overlays): Open overlay
547         ending at point (bug#19333).
549 2014-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
551         * net/shr.el (shr-fold-text): New function.
552         (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
553         alt/title texts.
554         (shr-fold-text): Inhibit state from being altered.
556         * files.el (directory-files-recursively): Really check whether
557         files are symlinks.
558         (directory-name-p): New function.
559         (directory-files-recursively): Use it.
561 2014-12-13  Artur Malabarba  <bruce.connor.am@gmail.com>
563         * emacs-lisp/package.el (package--list-loaded-files): New function
564         to list files in a given directory which correspond to already
565         loaded files.
566         (package-activate-1): Reload files given by `package--list-loaded-files'.
567         Fix bug#10125, bug#18443, and bug#18448.
569 2014-12-13  Eric S. Raymond  <esr@snark.thyrsus.com>
571         * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
573 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
575         * simple.el (password-word-equivalents): Add "passcode", used for
576         numeric secrets like PINs or RSA tokens.
578 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
580         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
581         order to determine `tramp-own-remote-path'.
583 2014-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
585         * progmodes/python.el (python-shell-parse-command):
586         Quote `python-shell-interpreter`.  (Bug#19289)
588 2014-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
590         * progmodes/python.el (python-indent-line): Use `noindent' in strings.
591         (python-indent-levels): Document extra value.
592         (python-indent-calculate-indentation): Return `noindent' in strings.
593         (python-indent-post-self-insert-function)
594         (python-indent-calculate-levels): Handle new value.
596 2014-12-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
598         * net/network-stream.el (network-stream-open-starttls): No need to
599         check for the availability of `gnutls-available-p'.
601         * files.el (directory-files-recursively): Don't follow symlinks to
602         other directories.
604 2014-12-12  Eric S. Raymond  <esr@snark.thyrsus.com>
606         * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
607         * vc/vc.el: latest-on-branch-p is no longer a public method.
609         * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
610         * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
611         Remove `rollback' method, to be replaced in the future by uncommit.
613 2014-12-11  Michael Albinus  <michael.albinus@gmx.de>
615         * vc/vc-hg.el (vc-hg-state): Make FILE absolute.  Handle the case
616         that there is empty output.
618 2014-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
620         * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
621         (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
623 2014-12-10  Artur Malabarba  <bruce.connor.am@gmail.com>
625         * let-alist.el: Add new package and macro.
627 2014-12-10  Eric S. Raymond  <esr@snark.thyrsus.com>
629         * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
630         * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
631         it's a shoot-self-in-foot archaism.  Workfiles are always kept.
633 2014-12-10  Rasmus Pank Roulund  <emacs@pank.eu>
635         * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
636         trouble with ls over ftp.  These flags result in ls returning no
637         output, causing Tramp-breakage.  (bug#19192)
639 2014-12-10  Andreas Schwab  <schwab@suse.de>
641         * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
643 2014-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
645         * files.el (directory-files-recursively):
646         Use `file-name-all-completions' instead of `directory-files' for
647         greater speed.
649         * net/shr.el (shr-tag-object): Don't bug out on text elements in
650         <object>.
652 2014-12-09  Bozhidar Batsov  <bozhidar@batsov.com>
654         * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
655         and Puppetfile.
656         (ruby-toggle-string-quotes): New command that allows you to quickly
657         toggle between single-quoted and double-quoted string literals.
659 2014-12-09  Eric S. Raymond  <esr@snark.thyrsus.com>
661         * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
662         list, avoids problems witt names containing hyphens.
664 2014-12-09  Wilson Snyder  <wsnyder@wsnyder.org>
666         Sync with upstream verilog-mode revision aa4b777.
667         * progmodes/verilog-mode.el (verilog-mode-version): Update.
668         (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
669         (verilog-set-auto-endcomments): Automatically comment property/
670         endproperty blocks to match other similar blocks like sequence/
671         endsequence, function/endfunction, etc.  Reported by Alex Reed.
672         (verilog-set-auto-endcomments): Fix end comments for functions of
673         type void, etc.  Detect the function- or task-name when
674         auto-commenting blocks that lack an explicit portlist.
675         Reported by Alex Reed.
676         (verilog-nameable-item-re): Fix nameable items that can have an
677         end-identifier to include endchecker, endgroup, endprogram,
678         endproperty, and endsequence.  Reported by Alex Reed.
679         (verilog-preprocessor-re, verilog-beg-of-statement):
680         Fix indentation of property/endproperty around pre-processor
681         directives.  Reported by Alex Reed.
682         (verilog-label-be): When auto-commenting a buffer, consider
683         auto-comments on all known keywords (not just a subset thereof).
684         Reported by Alex Reed.
685         (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
686         Reported by Alex Reed.
687         (verilog-beg-of-statement-1, verilog-at-constraint-p):
688         Fix hanging with many curly-bracket pairs, bug663.
689         (verilog-do-indent): Fix electric tab deleting form-feeds.
690         Note caused by indent-line-to deleting tabls pre 24.5.
691         (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
692         (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
693         (verilog-read-always-signals, verilog-auto-sense-sigs)
694         (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
695         bug844.  Reported by Greg Hilton.
697 2014-12-09  Alex Reed  <acreed4@gmail.com>  (tiny change)
699         * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
700         Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
701         'foreach', and 'do' keywords.
702         (verilog-endcomment-reason-re, verilog-beg-of-statement):
703         Fix labeling do-while blocks, bug842.
704         (verilog-backward-token): Fix indenting sensitivity lists with
705         named events, bug840.
707 2014-12-09  Reto Zimmermann  <reto@gnu.org>
709         Sync with upstream vhdl mode v3.36.1.
710         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
711         (vhdl-compiler-alist): Anchor all error regexps.
712         (vhdl-compile-use-local-error-regexp): Change default to nil.
713         (vhdl-asort, vhdl-anot-head-p): Remove.
714         (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
715         Remove optional argument of vhdl-aget and update all callers.
716         (vhdl-import-project): Also set `vhdl-compiler'.
718 2014-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
720         * files.el (find-files): New function.
722         * net/shr.el (shr-dom-print): Don't print comments.
723         (shr-tag-svg): Give inline SVG images the right type.
725         * net/eww.el (eww-update-header-line-format): Mark valid/invalid
726         certificates in the header line.
727         (eww-invalid-certificate, eww-valid-certificate): New faces.
729 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
731         * progmodes/python.el (inferior-python-mode):
732         Set `comint-prompt-read-only` to `t` only locally.
734 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
736         * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
737         (nsm-format-certificate): Include more data about the connection.
738         (nsm-query): Fill the text to that it looks nicer.
739         (nsm-check-protocol): Also warn if using SSL3 or older.
741 2014-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
743         * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
745         * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
747         * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
749         * info.el (Info-mode-map): Remove left-over binding.
751         * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
752         (avl-tree--root): Remove redundant defsetf.
754 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
756         * net/nsm.el (network-security-level): Remove the detailed
757         description, which was already outdated, and refer the users to
758         the manual.
759         (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
760         (bug#19153).
762 2014-12-06  Andrey Kotlarski  <m00naticus@gmail.com>
764         * net/eww.el (eww-buffers-mode): New major mode.
765         (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
766         (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
767         New commands/functions (bug#19131).
769 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
771         * net/gnutls.el (gnutls-negotiate): Ignore files found via
772         'file-name-handler-alist' since the gnutls library can't use those
773         (bug#15866).
775 2014-12-08  Dmitry Gutov  <dgutov@yandex.ru>
777         * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
778         when FILES is non-nil (bug#19304).
780 2014-12-08  Eric S. Raymond  <esr@snark.thyrsus.com>
782         * vc/vc-arch.el: Move to obsolete directory so a test framework
783         won't trip over bit-rot in it.  There has been no Arch snapshot
784         for nine years.
786 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
788         * net/eww.el (eww-follow-link): Revert prefix behaviour to
789         previous behavior.
790         (eww-copy-page-url): Add doc string.
792 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
794         * net/eww.el (eww): Move history recording here...
795         (eww-browse-url): ... from here (bug#19253).
797         * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
798         iterating over possible buffer names.)
800 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
802         * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
803         (eww-current-buffer): Compilation fix for bug#18550 patch.
805 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
807         * net/eww.el (eww-list-histories): Restore the history in the
808         correct buffer (bug#18550).
810 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
812         * net/eww.el (eww-bookmark-prepare): Display URLs in first by
813         displaying shortened titles first (bug#16398).
815 2014-12-07  Tom Willemse  <tom@ryuslash.org>  (tiny change)
817         * progmodes/python.el: Recognize docstrings.
818         (python-docstring-at-p, python-font-lock-syntactic-face-function):
819         New functions.
820         (python-mode): Use them.
822 2014-12-06  Ulf Jasper  <ulf.jasper@web.de>
824         * net/newst-treeview.el (newsticker--treeview-list-add-item)
825         (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
826         (newsticker--treeview-create-groups-menu)
827         (newsticker--treeview-create-tree-menu): Remove.
828         (newsticker--treeview-tree-open-menu): New.
829         (newsticker-treeview-tree-click): Pass event to
830         `newsticker-treeview-tree-do-click'.
831         (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
833 2014-12-05  Juri Linkov  <juri@linkov.net>
835         * comint.el (comint-history-isearch-search)
836         (comint-history-isearch-wrap): Use field-beginning instead of
837         comint-line-beginning-position.
838         (comint-send-input): Go to the end of the field instead of the end
839         of the line to accept whole multi-line input.
840         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
842 2014-12-05  Juri Linkov  <juri@linkov.net>
844         * minibuffer.el (minibuffer-completion-help):
845         Compare selected-window with minibuffer-window to check whether
846         completions should be displayed near the minibuffer.  (Bug#17809)
847         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
849 2014-12-05  Michael Albinus  <michael.albinus@gmx.de>
851         * vc/vc-mtn.el (vc-mtn-root):
852         * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
854 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
856         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
857         of the whole pipe when indenting an opening keyword after a |.
858         Generalize this treatment to opening keywords like "while" (bug#18031).
860 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
862         * simple.el (newline): Place the hook buffer-locally,
863         to make sure it's first.
865         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
866         Fix handling of symbols with different syntax at beginning/end or with
867         symbol rather than word syntax.
869 2014-12-05  Eli Zaretskii  <eliz@gnu.org>
871         * simple.el (line-move): If noninteractive, call line-move-1, not
872         forward-line, since the former is compatible with line-move-visual
873         both in terms of the column to which it moves and the return
874         value.  (Bug#19211)
876 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
878         * vc/ediff-init.el (ediff-odd-p): Remove.
879         (ediff-background-face): Use cl-oddp instead.
880         (ediff-buffer-live-p): Make it a defsubst.
882         * tooltip.el (tooltip-region-active-p): Remove.
884         * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
885         (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
887         * fringe.el (fringe-bitmap-p): Make it a plain function.
889         * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
890         (class-p, generic-p, eieio-object-p, class-abstract-p):
891         Make them defsubst, so as to avoid corner case problems where
892         the arg might be evaluated in the condition-case, or it can't be passed
893         to higher-order functions like `cl-some'.
895 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
897         * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
898         and remove old menu-related code.
900 2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
902         * net/eww.el (eww-display-pdf): Let mailcap determine how to
903         display PDF files (bug#19270).
905 2014-12-05  Juri Linkov  <juri@linkov.net>
907         Compare with the most recent window by default.
908         * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
909         (compare-windows-get-recent-window)
910         (compare-windows-get-next-window): New functions.
911         (compare-windows, compare-windows-sync-default-function):
912         Use `compare-windows-get-window-function' instead of `next-window'.
913         (compare-windows): Add diff/match messages with region boundaries.
914         (Bug#19170)
916 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
918         * subr.el (filter): Remove.  Use `cl-remove-if-not' or `seq-filter'.
920 2014-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
922         * net/shr.el (shr--extract-best-source): Ignore non-text children.
924 2014-12-04  Eli Zaretskii  <eliz@gnu.org>
926         Implement copying of a buffer portion while preserving visual order.
927         * simple.el (bidi-directional-controls-chars)
928         (bidi-directional-non-controls-chars): New variables.
929         (squeeze-bidi-context-1, squeeze-bidi-context)
930         (line-substring-with-bidi-context)
931         (buffer-substring-with-bidi-context): New functions.
933         * files.el (file-tree-walk): Doc fix.
935 2014-12-04  Rupert Swarbrick  <ruperts@broadcom.com> (tiny change)
936             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
938         * autoinsert.el (auto-insert-alist): Update C/C++ header and
939         program support to match more extensions.  Replace non-alnum
940         characters when generating include guards (headers) and check for
941         more extensions when generating includes (programs)
942         (bug#19254).
944 2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
946         * files.el (file-tree-walk): Fix docstring.
948 2014-12-03  Karl Fogel  <kfogel@red-bean.com>
950         Fix bug whereby saving files hung in VC hook.
952         Saving a buffer visiting a file under SVN control would hang if
953         the remote repository were unreachable, because the VC hooks tried
954         to run "svn status -u" on the file, where the "-u" tells svn to
955         get update information from the remote repository.
956         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
958         * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
959         argument and always pass "-v" to "svn status", never "-u".
961 2014-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
963         * emacs-lisp/inline.el: Fix up copyright header.
964         (inline-quote, inline-const-p, inline-const-val, inline-error):
965         Silence compiler warnings.
966         (inline-letevals): Fix edebug spec.
967         (inline--testconst-p): Consider lambda expressions as const-p.
968         (inline--getconst-val): Use inline--testconst-p.
970         * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
971         and change default to stay in the minibuffer when called from
972         the minibuffer (bug#19250).
973         (lazy-completion-table): Use this new argument to preserve the
974         old behavior.
976         * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
977         incorrect lexical elements (bug#19250).
979 2014-12-03  A. N. Other  <none@example.com>
981         * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
983 2014-12-02  Glenn Morris  <rgm@gnu.org>
985         * whitespace.el (whitespace-big-indent-regexp): Add :version.
987 2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
989         * subr.el (filter): New macro.  Because it's just silly for a Lisp
990         not to have this in 2014.  And VC needs it.
992         * vc.el: All backends: API simplification: Abolish dir-status.
993         It's replaced by dir-status-files.
995         * vc.el: All backends: API simplification: Remove 4th
996         'default-state' argument from vc-dir-status files and its backend
997         methods - no backend method ever set it.  It was used only in the
998         fallback method to to set a default of 'up-to-date, though a
999         convoluted call chain obscured this.
1001         * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
1003         * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
1004         improving behavior on directories using multiple file-oriented VCSes.
1006         * vc/vc.el: All backends: API simplification; clear-headers
1007         is no longer a public method.  It is now local to the one place
1008         it's used, in the RCS steal-lock method.
1010 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
1012         * vc/vc.el: In all backends: API simplification; could-register
1013         is no longer a public method.  (vc-cvs.el still has a private
1014         implementation.)
1016         * vc/vc.el: In all backends: API cleanup; the backend diff method
1017         takes an explicit async flag.  This eliminates a particularly ugly
1018         global.
1020         * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
1021         VC randomly/unpredictably fails without it; cause not yet established.
1023 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1025         Merge some of the differences from the standalone CC-mode.
1026         The main change is to only use the `category' text-property only when
1027         available.  For that many calls are changed to use c-get-char-property,
1028         c-next-single-property-change, c-sc-scan-lists,
1029         c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
1031         * progmodes/cc-mode.el (c-just-done-before-change): New var.
1032         (c-basic-common-init): Initialize it.
1033         (c-common-init): Only use mode-require-final-newline when available.
1034         (c-before-change): Check and set c-just-done-before-change.
1035         (c-after-change): Re-set c-just-done-before-change.
1036         (c-advise-fl-for-region): New macro.
1037         (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
1038         (font-lock-after-change-function, jit-lock-after-change):
1039         Advise if needed.
1041         * progmodes/cc-langs.el (c-modified-constant): New lang var.
1042         (c-known-type-key): Don't make a list just to throw it away.
1044         * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
1045         Handle the case where categories are not available.
1046         (c-record-parse-state-state, c-replay-parse-state-state):
1047         Handle marker values.
1048         (c-before-change-check-<>-operators): Look for the `syntax-table'
1049         property rather than for the corresponding `category'.
1050         (c-looking-at-decl-block): Remove unused var
1051         `c-disallow-comma-in-<>-arglists'.
1052         (c-forward-<>-arglist-recur): Remove unused var
1053         `orig-record-found-types'.
1055         * progmodes/cc-defs.el (c-version): Bump up to 5.33.
1056         (c-use-category): New const.
1057         (c-next-single-property-change): New macro.
1058         (c-region-is-active-p): Prefer region-active-p when available.
1059         (c-search-backward-char-property): Fix old min/max typo; probably
1060         a copy/paste error.
1061         (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
1062         Turn them into macros that obey c-use-category.
1063         (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
1064         (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
1065         (c-sc-scan-lists, c-sc-parse-partial-sexp)
1066         (c-looking-at-non-alphnumspace): New macros.
1067         (c-sc-parse-partial-sexp-no-category): New function.
1068         (c-emacs-features): Add `category-properties' element.
1070         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1071         (c-backward-into-nomenclature): Use cc-subword if subword-mode is
1072         not available.
1073         (c-beginning-of-defun, c-end-of-defun, c-mark-function)
1074         (c-indent-line-or-region): Use c-region-is-active-p.
1076         * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
1077         (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
1078         (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
1079         (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
1080         (cc-bytecomp-obsolete-fun): Delete unused functions.
1082         * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
1084 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1086         * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
1087         dom.el changes.
1089 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1091         * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
1092         current "project" rather than just the current directory.
1093         * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
1094         the file names make sense.
1096         * vc/smerge-mode.el (smerge-swap): New command.
1098         * vc/diff-mode.el (diff-kill-applied-hunks): New command.
1100 2014-12-01  Ulf Jasper  <ulf.jasper@web.de>
1102         * net/newst-treeview.el (newsticker--treeview-item-show):
1103         Check window liveliness before measuring its width.
1105         * net/newst-backend.el (newsticker--get-news-by-url-callback):
1106         Pass correct status to `newsticker--sentinel-work'.
1107         (newsticker--sentinel-work): Use "newsticker--download-error" as
1108         guid in order to prevent multiple "Could not download..."
1109         messages.  Fixes bug#19166.
1111 2014-12-01  Ivan Shmakov  <ivan@siamics.net>
1113         * net/eww.el (eww-render): Call `eww-after-render-hook' in the
1114         correct buffer (bug#19225).
1116 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1118         * net/nsm.el (network-security-level): Change the default to `medium'.
1120         * net/eww.el (eww): Leave point in a place that doesn't cause
1121         scrolling when displaying "Loading...".
1123 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
1125         * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
1126         backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
1127         'merge-branch'.  Prompting for merge revisions is pushed down to
1128         the back ends; this fixes a layering violation that caused bad
1129         behavior with SVN.
1131         * vc/vc.el, vc-hooks.el: All backends: API simplification;
1132         vc-stay-local-p and repository-hostname are no longer public
1133         methods.  Only the CVS and SVN backends used these, and the SVN
1134         support was conditioned out because svn status -v is too slow.
1135         The CVS back end retains this machinery and the vc-stay-local
1136         configuration variable now only affects it.
1138 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1140         * emacs-lisp/inline.el: New file.
1142 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
1144         * vc/vc.el, vc-hooks.el: All backends: API simplification;
1145         vc-state-heuristic is no longer a public method, having been
1146         removed where it is redundant, unnecessary, or known buggy.
1147         This eliminated all backends except CVS.  Eliminates bug#7850.
1149         * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
1150         Eliminate vc-mistrust-permissions.  It was only relevant to the
1151         RCS and SCCS back ends and defaulted to t.  Code now always
1152         mistrusts permissions - by actual measurement the effect on
1153         performance is negligible.  As a side effect bug#11490 is now
1154         irrelevant.
1156         * vc/vc.el, vc-hooks.el: All backends: API simplification;
1157         vc-workfile-unchanged-p is no longer a public method (but the RCS
1158         and SCCS back ends retain it as a private method used in state
1159         computation).  This method was redundant with vc-state and usually
1160         implemented as a trivial call to same.  Fixes the failure mode
1161         described in bug#694.
1163         * vc/vc.el: All backends: API simplification; init-revision is
1164         gone, and vc-registered functions no longer take an
1165         initial-revision argument.
1167 2014-11-29  Glenn Morris  <rgm@gnu.org>
1169         * vc/vc-src.el (vc-src, vc-src-diff-switches)
1170         (vc-src-master-templates): Fix :version tags.
1172 2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
1174         * outline.el (outline-move-subtree-down): Refactor and improve code.
1176 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
1177             Stefan Monnier  <monnier@iro.umontreal.ca>
1179         * outline.el (outline-move-subtree-down): Make sure we can move
1180         forward to find the end of the subtree and the insertion point
1181         (bug#19102).
1183 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1185         * progmodes/python.el (python-shell-completion-setup-code):
1186         Use __builtin__ module (or builtins in Python 3) and catch all errors
1187         when importing readline and rlcompleter.
1189 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
1191         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
1192         (todo-revert-buffer): New function.
1193         (todo-modes-set-1): Use it as the buffer-local value of
1194         revert-buffer-function.
1196 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
1198         * calendar/todo-mode.el (todo-mode): If called interactively, just
1199         display a message saying to call todo-show to enter Todo mode
1200         (Bug#19112).
1202 2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
1204         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
1205         (Bug#18579)
1207         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
1208         files.  (Bug#18579)
1210 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
1212         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
1213         remote `buffer-file-name'.
1215 2014-11-29  Leo Liu  <sdl.web@gmail.com>
1217         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
1219 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1221         Set PYTHONUNBUFFERED on shell startup.
1223         * progmodes/python.el (python-shell-unbuffered): New var.
1224         (python-shell-calculate-process-environment): Use it.
1226 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
1228         * net/tramp.el (tramp-action-password): Clean password on subsequent
1229         attempts even if there was no wrong password indication.  (Bug#19047)
1231         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
1232         fallback.
1233         (tramp-open-connection-setup-interactive-shell): No need to check
1234         for nil as `tramp-get-remote-locale' return value.
1236 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
1238         * vc/vc-git.el (vc-git-command, vc-git--call):
1239         Bind coding-system-for-read and coding-system-for-write to
1240         vc-git-commits-coding-system.
1241         (vc-git-previous-revision): Use "~1" instead of "^", since the
1242         latter is a special character for MS-Windows system shells.
1244 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
1246         Improve XEmacs compatibility.
1248         * net/tramp.el (tramp-autoload-file-name-handler):
1249         Wrap `temporary-file-directory' by `symbol-value', it doesn't
1250         exist in XEmacs.
1251         (tramp-read-passwd): Don't use `with-timeout-suspend' and
1252         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
1253         (tramp-time-less-p, tramp-time-subtract): Remove functions.
1254         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
1255         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
1256         * net/tramp-cache.el (tramp-get-file-property):
1257         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
1258         Use `time-less-p' and `time-subtract, respectively.
1260         * net/tramp-adb.el (top): Do not require time-date.el.
1262         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
1264         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1265         Check, whether `utf-8' is a valid coding system.
1267 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
1269         * vc/vc.el (vc-retrieve-tag): Doc fix.
1271 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1273         * simple.el (execute-extended-command--shorter): Fix the "M-p" case
1274         (bug#19152).
1276 2014-11-28  Martin Rudalics  <rudalics@gmx.at>
1278         Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
1279         * help.el (help-window-old-frame): New variable.
1280         (help-window-select): Default to nil (Bug#11039).
1281         Rewrite doc-string.
1282         (help-window-setup): When the help window appears on another
1283         frame and `help-window-select' is non-nil, give that frame input
1284         focus too (Bug#19012).
1285         (with-help-window): Store selected frame in
1286         help-window-old-frame.
1288 2014-11-28  Ulf Jasper  <ulf.jasper@web.de>
1290         * net/newst-treeview.el (newsticker--treeview-load): Take care of
1291         nil value for `newsticker-groups-filename'.
1293 2014-11-28  Daiki Ueno  <ueno@gnu.org>
1295         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1296         (epa-sign-region, epa-encrypt-region):
1297         Use `epg-context-set-{passphrase,progress}-callback', instead of
1298         `setf'.  This partially reverts commit 9e48a95c (bug#19150).
1299         Reported by José A. Romero L.
1301 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1303         * net/eww.el (eww-restore-history):
1304         Bind `inhibit-modification-hooks' instead of `after-change-functions'.
1306 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
1308         * net/newst-backend.el (newsticker--parse-atom-1.0):
1309         Handle embedded (x)html in summary node.
1311 2014-11-27  Sam Steingold  <sds@gnu.org>
1313         * menu-bar.el (menu-bar-open): When everything else fails,
1314         use (mouse-menu-bar-map).
1316 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
1318         * net/newst-treeview.el (newsticker-groups-filename):
1319         Change default value to nil.  Point out that variable is obsolete in doc
1320         string.
1321         (newsticker--treeview-load): Change wording of the questions the
1322         user is asked when `newsticker-groups-filename' is found to be
1323         used and we offer to read and remove the groups file.  (Bug#19165)
1325 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1327         * net/eww.el (eww): Record the new URL immediately, so that if the
1328         HTTP fetch fails, we have the right URL in the buffer.
1329         (eww-process-text-input): Don't shorten the input field if
1330         deleting at the last character (bug#19085).
1331         (eww-restore-history): Inhibit change functions while restoring
1332         the history.
1333         (eww-process-text-input): Fix deletion at the start of the field, too.
1334         (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
1335         (eww-process-text-input): Try to keep track of the size more reliably.
1337         * dom.el (dom-pp): New function.
1339 2014-11-27  Eli Zaretskii  <eliz@gnu.org>
1341         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
1342         Don't assume --long is the default for "bzr log", always specify
1343         it explicitly, in case the user defined an alias for 'log' that
1344         uses some other format.
1346 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1348         * progmodes/python.el (python-eldoc--get-doc-at-point):
1349         Strip shell output before returning.  (bug#18794)
1351 2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
1353         Fix indentation before `!=' and after `+='.  Originally reported
1354         in https://github.com/mooz/js2-mode/issues/174.
1355         * progmodes/js.el (js--indent-operator-re): Make assignments and
1356         (in)equality operator a separate case.
1357         (js--continued-expression-p): Escape the second `+' in the regexp.
1359 2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1361         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
1363 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1365         * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
1366         when querying about new certificates.
1368         * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
1370         * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
1371         can be strings.
1372         (dom-elements): Protect against non-text nodes.
1373         (dom-non-text-children): New function.
1375         * net/eww.el (eww-tag-title): Use `dom-text'.
1377 2014-11-26  Sam Steingold  <sds@gnu.org>
1379         * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
1381 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1383         * net/eww.el (eww-highest-readability): More dom.el fixes.
1385 2014-11-26  Ulf Jasper  <ulf.jasper@web.de>
1387         * net/newst-backend.el (newsticker--parse-generic-items):
1388         Take care of UIDs when adding elements to cache.
1390 2014-11-26  Alan Mackenzie  <acm@muc.de>
1392         Remove spurious reference to symbol category_properties.
1393         * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
1395 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1397         * net/eww.el: Use the new dom.el accessors throughout.
1399         * net/shr.el: Ditto.
1401         * dom.el: New file.
1403 2014-11-26  Glenn Morris  <rgm@gnu.org>
1405         * arc-mode.el (archive-visit-single-files): Add :version.
1407 2014-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1409         * net/nsm.el (nsm-format-certificate): Don't bug out on missing
1410         elements.
1411         (nsm-warnings-ok-p): The new version of this function always
1412         returned nil when everything was OK.
1414 2014-11-25  Teodor Zlatanov  <tzz@lifelogs.com>
1416         * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
1418         * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
1419         (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
1421 2014-11-20  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1423         * emacs-lisp/byte-run.el (function-put): Match argument names to
1424         docstring.
1426 2014-11-24  Sam Steingold  <sds@gnu.org>
1428         * vc/vc-hooks.el (vc-directory-exclusion-list):
1429         Fix a trivial typo (bug#19171).
1431 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1433         * vc/vc-hooks.el (vc-state-base-face): Don't override
1434         mode-line-inactive.
1436 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1438         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
1439         (eww-process-text-input): Inhibit read only so that input fields
1440         don't get shortened (bug#19085).
1442 2014-11-24  Leo Liu  <sdl.web@gmail.com>
1444         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
1446         * window.el (with-temp-buffer-window)
1447         (with-current-buffer-window, with-displayed-buffer-window):
1448         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
1449         * emacs-lisp/cl-lib.el (substring):
1450         * emacs-lisp/cl-extra.el (cl-getf): Use it.
1452 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
1454         * isearch.el (isearch-update): Don't assume
1455         pos-visible-in-window-p will return nil when point is hscrolled
1456         out of view.  (Bug#19157)
1458 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
1460         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
1461         (eww-follow-link): Follow in new buffer in case of prefix
1462         argument, open externally with double prefix (bug#19130).
1464 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1466         * net/eww.el (eww-display-html): Decode the document-defined charset.
1467         (eww): Pop to the *eww* buffer immediately after executing the
1468         `M-x eww' command to avoid having buffers pop up later.
1469         (eww-display-html): Don't pop the *eww* buffer.
1470         (eww-display-raw): Ditto.
1471         (eww-display-image): Ditto.
1472         (eww-follow-link): Make going to #targets in the page work again.
1474 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
1476         * net/eww.el (eww-suggest-uris): New variable.
1477         (eww-suggested-uris): New function.
1478         (eww): Default to URL under point.
1479         (eww-links-at-point): New function.
1481 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
1483         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
1485 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
1487         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
1489 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
1491         * net/eww.el (eww-set-character-encoding): New command and keystroke.
1492         (eww-display-raw): Use it (bug#16225).
1494 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1496         * net/nsm.el (network-security-level): Rename from
1497         `nsm-security-level' and documented.
1499         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
1500         we're sending a password.
1502         * net/nsm.el: New file that implements a Network Security Manager.
1504         * net/network-stream.el (open-network-stream): Add a new
1505         :warn-unless-encrypted parameter.
1506         (network-stream-open-plain): Allow warning unless encrypted.
1507         (network-stream-open-starttls): Call the Network Security Manager.
1508         (network-stream-open-tls): Ditto.
1510 2014-11-23  Leo Liu  <sdl.web@gmail.com>
1512         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
1513         (calendar-chinese-to-absolute-for-diary)
1514         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
1515         Handle leap months in Chinese calendar.  (Bug#18953)
1517 2014-11-22  Alan Mackenzie  <acm@muc.de>
1519         Fix error with `mark-defun' and "protected:" in C++ Mode.
1520         Fixes: debbugs:19134.
1522         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
1523         return code of (label) from c-beginning-of-decl-1.
1525 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
1527         * net/newst-backend.el (newsticker--sentinel-work):
1528         Tell `libxml-parse-xml-region' to discard comments.  Fixes bug#18787.
1530 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
1532         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
1533         (tramp-sh-handle-process-file): Propagate `process-environment'.
1535         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
1536         Tramp propagates environment variables now.
1538 2014-11-22  Eric S. Raymond  <esr@snark>
1540         * vc/vc-filewise.el: New file to isolate code used only by the
1541         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
1542         live in vc.el and certainly not in vc-hooks.el.
1544         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
1545         This is preparatory to isolating all the 'master' functions
1546         used only by the file-oriented back ends.  With this done first,
1547         the substantive diffs will be easier to read.
1549 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1551         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
1552         that is recognized by `help-mode'.
1554 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1556         * desktop.el (desktop-create-buffer): Use activate-mark to set
1557         `mark-active' (bug#19058).
1559 2014-11-21  Eric S. Raymond  <esr@snark>
1561         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
1562         nil state.
1564 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
1566         * vc/vc.el (vc-deduce-fileset): Support invocation from
1567         *vc-change-log* buffer.  (Bug#19084)
1569 2014-11-13  Matthew Leach  <matthew@mattleach.net>
1571         * arc-mode.el (archive-visit-single-files): New.
1572         (archive-mode): Visit file if archive contains a single file.
1573         (Bug#1702)
1575 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
1577         * vc/vc.el: Fix a typo in the commentary.
1579 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
1581         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
1582         testing and a real log-view mode.
1584         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
1585         * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
1586         * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
1587         checkout methods; where it matters (which is only in SCCS and RCS)
1588         files are always checked out editable.  This may actually have
1589         been dynamically true already - it looks like the vc-next-action
1590         code evolved past visiting the other case.  Tested with RCS.
1592         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
1593         * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
1594         * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
1595         argument from the backend checkin methods.  Only the RCS, SCCS,
1596         and CVS back ends tried to do anything with it, and that code was
1597         never exercised.  Chiseling away the cruft of decades...
1599 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1601         * net/eww.el (eww-render): Remove a no-op :title setting.
1603 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
1605         * net/eww.el (eww-history-limit): New variable.
1606         (eww-save-history): Use it (bug#19105).
1607         (eww-reload): Reload the page in the right buffer.
1609 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1611         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
1613 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
1615         * net/eww.el (eww-desktop-remove-duplicates)
1616         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
1617         (eww-mode): Set up desktop mode (bug#18010).
1618         (eww-desktop-data-save, eww-desktop-data-1)
1619         (eww-desktop-history-duplicate, eww-desktop-misc-data)
1620         (eww-restore-desktop): New functions.
1622 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
1624         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
1625         correct buffer.  (Bug#19101)
1627 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1629         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
1630         `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
1632 2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
1634         * lisp/ido.el (ido-bury-buffer-at-head): New command.
1635         (ido-buffer-completion-map): Bind it to C-S-b.
1637 2014-11-18  Juri Linkov  <juri@linkov.net>
1639         * simple.el (next-line-or-history-element): Wrap next-line
1640         in with-no-warnings.
1641         (previous-line-or-history-element): Wrap previous-line
1642         in with-no-warnings.
1644 2014-11-18  Juri Linkov  <juri@linkov.net>
1646         * progmodes/grep.el (grep-compute-defaults):
1647         Compute grep-highlight-matches before its use.
1649 2014-11-18  Juri Linkov  <juri@linkov.net>
1651         * replace.el (query-replace-from-to-separator): Turn defvar into
1652         defcustom.  Wrap char-displayable-p in ignore-errors because an
1653         attempt to autoload char-displayable-p fails during pre-loading.
1654         Move (propertize "\0" ... 'separator t) out of customizable part
1655         to query-replace-read-from.
1656         (query-replace-read-from): Call custom-reevaluate-setting on
1657         query-replace-from-to-separator to reevaluate the separator
1658         depending on the return value of char-displayable-p.
1659         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
1661 2014-11-18  Juri Linkov  <juri@linkov.net>
1663         * bindings.el (minibuffer-local-map): Rebind [down] from
1664         next-history-element to next-line-or-history-element, and [up]
1665         from previous-history-element to previous-line-or-history-element.
1667         * simple.el (next-line-or-history-element)
1668         (previous-line-or-history-element): New commands.
1669         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
1671 2014-11-18  Leo Liu  <sdl.web@gmail.com>
1673         * emacs-lisp/nadvice.el (define-advice): New macro.
1674         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1675         Add define-advice.
1676         (lisp-font-lock-keywords-1): Add define-advice.
1678 2014-11-18  Daiki Ueno  <ueno@gnu.org>
1680         * epg.el (epg-context): New slot EDIT-CALLBACK.
1681         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
1682         (epg-reset): Reset EDIT-CALLBACK of the context.
1683         (epg-start-edit-key): New function.
1684         (epg-edit-key): New function.
1686 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
1688         Port new time stamp handling to Emacs 23.2.
1689         This fix is for Gnus.  Problem reported by Katsumi Yamaoka.
1690         * calendar/time-date.el (time-add, time-subtract, time-less-p):
1691         Use eval-and-compile, not eval-when-compile.
1693 2014-11-18  Daiki Ueno  <ueno@gnu.org>
1695         * epg.el (epg-context-set-passphrase-callback)
1696         (epg-context-set-progress-callback): Check if the CALLBACK
1697         argument is a function, instead of a cons.
1699 2014-11-18  Daiki Ueno  <ueno@gnu.org>
1701         * epa-file.el (epa-file-insert-file-contents)
1702         (epa-file-write-region): Remove redundant check of
1703         epa-pinentry-mode.
1704         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1705         (epa-sign-region, epa-encrypt-region): Remove redundant check of
1706         epa-pinentry-mode.
1708 2014-11-18  Daiki Ueno  <ueno@gnu.org>
1710         * epa-file.el (epa-file-insert-file-contents): Don't show
1711         "*Error*" buffer if input file does not exist.
1712         Reported by Herbert J. Skuhra.
1714 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
1715             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1717         * progmodes/cc-langs.el: Support some of the new keywords in C++11.
1718         An alternative version of the patch from bug#13871.
1719         (c-operators): Add "alignof".
1720         (c-primitive-type-kwds): Add "char16_t", "char32_t".
1721         (c-type-modifier-kwds): Add "constexpr", "noexcept".
1722         (c-modifier-kwds): Add "thread_local".
1723         (c-constant-kwds): Add "nullptr".
1725 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
1727         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
1728         New variables for specifying tildify pattern and representation of
1729         a hard space -- a no-break space by default -- respectively.
1730         Being buffer-local they are much easier to handle than
1731         `tildify-string-alist' and `tildify-pattern-alist' respectively
1732         that have been used so far.  They also works better with derived
1733         modes.
1734         (tildify-foreach-region-function): New variable specifying
1735         a function determining portions of buffer that should be
1736         tildified.  It allows major modes to create a filtering function
1737         more elaborate than a set of regular expressions.  Initialised to
1738         `tildify--deprecated-ignore-evironments' by default to handle now
1739         deprecated `tildify-ignored-environments-alist' variable.
1740         (tildify--foreach-region): A new function that takes
1741         `tildify-foreach-region-function' into account and calls callback
1742         for regions of the buffer that should be tildified.
1743         (tildify-foreach-ignore-environments): A new function which can be
1744         partially applied and used as `tildify-foreach-region-function'.
1745         (tildify-ignored-environments-alist, tildify-pattern)
1746         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
1747         (tildify--find-env): Rename from `tildify-find-env' and mark as
1748         obsolete.
1749         (tildify--deprecated-ignore-evironments): New function,
1750         immediately marked as obsolete, used to handle deprecated
1751         `tildify-ignored-environments-alist'.
1753         * textmodes/tex-mode.el (tex-common-initialization):
1754         Set `tildify-space-string' and `tildify-foreach-region-function'
1755         variables in all variants of TeX mode since `tildify-string-alist'
1756         and `tildify-ignored-environments-alist' are now empty by default.
1758         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
1759         If encoding supports it use no-break space instead of character
1760         entity; this changes previous default which used a numeric
1761         reference.
1763         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
1764         If encoding does not support no-break space, use numeric reference;
1765         this changes previous default which used named entity (“&nbsp;”)
1766         in HTML mode.
1768 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
1770         * calendar/icalendar.el (icalendar-export-alarms):
1771         New customizable variable.  (Bug#5433)
1772         (icalendar-export-region): Export alarms as specified in
1773         `icalendar-export-alarms'.
1774         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
1775         New functions for exporting alarms.
1777 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1779         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
1781 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1783         Port new time stamp handling to old Emacs and to XEmacs.
1784         This is needed for Gnus, which copies time-date.el and which
1785         runs on older Emacs implementations.
1786         * calendar/time-date.el (with-decoded-time-value):
1787         Handle 'nil' and floating-point arg more compatibly with new Emacs.
1788         (encode-time-value, with-decoded-time-value):
1789         Obsolete only if new Emacs.
1790         (time-add, time-subtract, time-less-p): Define if not new Emacs.
1792         Improve time stamp handling, and be more consistent about it.
1793         This implements a suggestion made in:
1794         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
1795         Among other things, this means timer.el no longer needs to
1796         autoload the time-date module.
1797         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
1798         * arc-mode.el (archive-ar-summarize):
1799         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
1800         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
1801         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
1802         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1803         * proced.el (proced-time-lessp):
1804         * timezone.el (timezone-time-from-absolute):
1805         * type-break.el (type-break-schedule, type-break-time-sum):
1806         Simplify by using new functionality.
1807         * calendar/cal-dst.el (calendar-next-time-zone-transition):
1808         Do not return time values in obsolete and undocumented (HI . LO)
1809         format; use (HI LO) instead.
1810         * calendar/time-date.el (with-decoded-time-value):
1811         Treat 'nil' as current time.  This is mostly for XEmacs.
1812         (encode-time-value, with-decoded-time-value): Obsolete.
1813         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
1814         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
1815         * ldefs-boot.el: Update to match new time-date.el
1816         * proced.el: Do not require time-date.
1818 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1820         * net/eww.el (eww-mode): Make the buffer read-only.
1821         (eww-form-text): Inhibit read-only-ness in text input fields
1822         (bug#16476).
1824 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1826         * simple.el (execute-extended-command--shorter): Cut search here.
1827         (execute-extended-command): Instead of here.
1829 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1831         * progmodes/python.el (python-mode): Avoid use of set-local to
1832         keep Emacs 24.x compatibility.
1834 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1836         * net/shr.el (shr): Move to the new defgroup `web'.
1838         * net/eww.el (eww): Ditto.
1840         * simple.el (execute-extended-command): Don't show the help
1841         message if the binding isn't significantly shorter than the
1842         M-x command the user typed (bug#19013).
1844 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
1846         * calendar/icalendar.el (icalendar--convert-tz-offset):
1847         Return complete cons when offsets of standard time and daylight saving
1848         time are equal.
1849         (icalendar-export-region): Fix unbound variable warning.
1851 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1853         * progmodes/python.el (run-python): Allow CMD to be optional and
1854         default it to a safe command, even for Windows.  (bug#18596)
1856 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1858         * progmodes/python.el (python-shell-calculate-command):
1859         Rename from python-shell-parse-command.  Cleanup.
1860         (run-python, run-python-internal): Use it.
1861         (python-shell-calculate-pythonpath): Rename from
1862         python-new-pythonpath.
1863         (python-shell-calculate-process-environment): Use it.
1864         (python-shell-calculate-exec-path): Add comment.
1866 2014-11-16  Thierry Banel <tbanelwebmin@free.fr>  (tiny change)
1868         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
1869         for date handling.
1871 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
1873         * version.el (emacs-repository-get-version): Use git rev-parse
1874         instead of git log.
1876 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1878         * progmodes/python.el (python-indent-calculate-levels):
1879         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
1881 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1883         * progmodes/python.el (python-indent-region):
1884         Use python-indent-line and skip special cases.  (Bug#18843)
1886 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
1888         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
1889           envelope-from when reporting through sendmail (bug#19054).
1891 2014-11-16  Oscar Fuentes <ofv@wanadoo.es>
1893         Add faces for the VC modeline state indicator.
1894         * vc/vc-hooks.el:
1895         (vc-state-faces, vc-state-base-face)
1896         (vc-up-to-date-state, vc-needs-update-state)
1897         (vc-locked-state, vc-locally-added-state)
1898         (vc-conflict-state, vc-removed-state)
1899         (vc-missing-state, vc-edited-state):
1900         New faces.
1901         (vc-default-mode-line-string): Use them
1903 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1905         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
1907 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1909         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
1911 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1913         * progmodes/python.el (python-eldoc-setup-code): Enhance string
1914         type checks, simplify printing.  (Bug#18962)
1916 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
1918         * progmodes/python.el (python-shell-font-lock-kill-buffer):
1919         (python-shell-font-lock-with-font-lock-buffer)
1920         (python-shell-get-buffer, python-ffap-module-path):
1921         Use `derived-mode-p' instead of equality test on `major-mode'.
1923 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1925         * progmodes/python.el (python-shell-virtualenv-root): Rename from
1926         python-shell-virtualenv-path.
1927         (python-shell-internal-get-process-name)
1928         (python-shell-calculate-process-environment)
1929         (python-shell-calculate-exec-path): Use it.
1931 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
1933         * bindings.el (search-map): Fix last change: don't use 'kbd' in
1934         bindings.el, since it is not yet loaded when bindings.el is
1935         preloaded.
1937 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1939         * progmodes/python.el (python-shell-completion-get-completions):
1940         Fix previous merge.
1942 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1944         * net/eww.el (eww-render): Don't set the title to the URL.
1946 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
1948         * version.el (emacs-repository-get-version): Call `git log'
1949         command with proper format argument (bug#19049).
1951 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1953         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
1955 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1957         * net/eww.el (eww-search-words): New command (bug#16258).
1959 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1961         * net/shr.el (shr-inhibit-images): Add a doc string.
1963         * net/eww.el (eww-after-render-hook): New variable.
1964         (eww-render): Use it.
1966         * net/shr.el (shr-descend): Don't descend further than
1967         `max-specpdl-size' allows (bug#16587).
1968         (shr-depth): New variable.
1969         (shr-warning): New variable.
1971 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
1973         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
1974         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
1976 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1978         * net/eww.el (eww): Add comment to clarify.
1980         * net/shr.el (shr-parse-image-data): Remove blocked bits from
1981         external SVG images.
1982         (shr-tag-object): Display images in <object> forms (bug#16244).
1983         (shr-tag-table): Also insert <objects> after the tables.
1985 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
1987         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
1989 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1991         * net/eww.el (eww-form-file): Fix version number.
1993 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1995         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
1997 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1999         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
2000         (eww-submit-file): New key map of file upload.
2001         (eww-form-file): New file upload button and file name context.
2002         (eww-select-file): Select file and display selected file name.
2003         (eww-tag-input): Handle input tag of file type.
2004         (eww-update-field): Add point offset.
2005         (eww-submit): Add submit with multipart/form-data.
2007 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2009         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
2010         Allow taking a buffer to render data in.  This allows using several
2011         eww buffers (bug#16211).
2013 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
2015         * net/eww.el (eww-download-callback): Save only the file contents,
2016         not the headers.
2018 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2020         * net/eww.el (eww-data): New plist to store all the data relevant
2021         to a single page, used throughout the file instead of the
2022         variables `eww-current-url', `eww-current-dom',
2023         `eww-current-source', and `eww-current-title'.
2024         (eww-readable): Copy over pertinent data from the parent page.
2025         (eww-save-history): Don't let the history grow infinitely.
2027         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
2028         `eww-up-url', `eww-home-url', `eww-start-url' and
2029         `eww-contents-url' and put the data into the `eww-data' plist.
2030         This allow restoring these values after going back in the history.
2032 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
2034         Allow VTIMEZONE where daylight and standard time zones are equal.
2035         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
2036         * calendar/icalendar.el (icalendar--convert-tz-offset):
2037         Support timezone without daylight saving time.
2039 2014-11-10  Glenn Morris  <rgm@gnu.org>
2041         * startup.el (command-line): Handle nil elements in load-path.
2043 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2045         * help.el (view-lossage): Include the actual commands run.
2047 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
2049         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
2050         no state is specified.  (Bug#18964)
2052 2014-11-09  Eric Ludlam  <zappo@gnu.org>
2054         * emacs-lisp/eieio-custom.el (eieio-customize-object):
2055         Set eieio-cog (current group) to g, which is an improved form of input
2056         group.
2058 2014-11-09  Juri Linkov  <juri@jurta.org>
2060         * isearch.el (isearch-message-prefix): Show "Multi-file" and
2061         "Multi-buffer" instead of "Multi".  (Bug#13592)
2063         * misearch.el (multi-isearch-file-list):
2064         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
2065         (multi-isearch-end): Reset multi-isearch-buffer-list and
2066         multi-isearch-file-list to nil.
2068 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2070         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2071         Don't call byte-compile-preprocess since the result will go through
2072         cconv.
2073         (byte-compile-output-docform): Handle uninterned `name' correctly.
2074         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
2075         to circumvent byte-compiler bug.
2077         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
2078         (macroexp--compiler-macro): Remove left-over debug code.
2080         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
2082 2014-11-08  Juri Linkov  <juri@jurta.org>
2084         * simple.el (shell-command): Use buffer-name when output-buffer is
2085         a buffer.  (Bug#18096)
2087 2014-11-08  Juri Linkov  <juri@jurta.org>
2089         * minibuffer.el (minibuffer-completion-help): Compare this-command
2090         with completion-at-point.  (Bug#17809)
2092 2014-11-08  Glenn Morris  <rgm@gnu.org>
2094         * emacs-lisp/bytecomp.el (byte-compile-report-error):
2095         Allow the argument to be a string.  Due to the vague doc,
2096         it was already being used this way.
2098 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
2100         * net/tramp.el (tramp-check-cached-permissions): Include hop in
2101         the constructed Tramp file name.  (Bug#18943)
2103 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2105         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
2106         (bug#18952).
2107         (cua-set-mark, cua--post-command-handler-1):
2108         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
2110 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
2112         * files.el (file-name-non-special): Wrap the call of
2113         `insert-file-contents' by `unwind-protect', in order to set the
2114         buffer's file name anyway.  (Bug#18891)
2116 2014-11-08  Alan Mackenzie  <acm@muc.de>
2118         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
2119         * progmodes/cc-fonts.el (c-font-lock-declarations):
2120         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
2121         the buffer is sometimes narrowed to less than "limit" (e.g., in
2122         the presence of macros).
2124 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
2126         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
2127         only when message appeared in minibuffer.  (Bug#18891)
2129         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
2130         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2131         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
2132         case of errors.
2134 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2136         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2137         Don't compile before eval in `eval-and-compile'.
2138         (byte-compile-arglist-warn): Add check for defining macros after their
2139         first use.  Check call use even if the function is fboundp.
2141 2014-11-08  Richard Stallman  <rms@gnu.org>
2143         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
2144         Check more carefully for mime-part specified character set.
2145         Check for mime-part Content Transfer Encoding.
2146         Notify if no armor found.
2148 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
2150         * faces.el (face-set-after-frame-default): Enable running
2151         `window-configuration-change-hook'.
2153 2014-11-07  Juri Linkov  <juri@jurta.org>
2155         * replace.el: History for query replace pairs.
2156         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
2157         (query-replace-from-to-separator): New variable.
2158         (query-replace-read-from): Let-bind query-replace-from-to-history
2159         to a list of FROM-TO strings created from query-replace-defaults
2160         and separated by query-replace-from-to-separator.  Use it as
2161         the history while reading from the minibuffer.  Split the returned
2162         string by the separator to get FROM and TO parts, and add them
2163         to the history variables.
2164         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
2165         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
2166         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
2168         * isearch.el (isearch-text-char-description): Keep characters
2169         intact and put formatted strings with the `display' property.
2171 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
2173         * cus-start.el (frame-resize-pixelwise): Fix group.
2174         (frame-inhibit-implied-resize): Add entry.
2176 2014-11-07  Daiki Ueno  <ueno@gnu.org>
2178         * epa.el (epa-pinentry-mode): New user option.
2179         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2180         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
2181         * epa-file.el (epa-file-insert-file-contents)
2182         (epa-file-write-region): Respect epa-pinentry-mode.
2184 2014-11-07  Daiki Ueno  <ueno@gnu.org>
2186         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
2187         (bug#18979).  Reported by Hideki Saito.
2189 2014-11-06  Daiki Ueno  <ueno@gnu.org>
2191         * emacs-lisp/package.el (package--display-verify-error): New function.
2192         (package--check-signature): Use it to display output sent to stderr.
2194 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2196         * subr.el (pop): Don't call the getter twice (bug#18968).
2198         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
2199         uses of `funcall'.
2201 2014-11-06  Daiki Ueno  <ueno@gnu.org>
2203         * epa.el (epa-error-buffer): New variable.
2204         (epa-display-error): New function.
2205         (epa-decrypt-file, epa-verify-file, epa-verify-region)
2206         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
2207         (epa-sign-file, epa-sign-region, epa-encrypt-region)
2208         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
2209         Use setf instead of epg-context-set-*.
2210         * epa-file.el (epa-file-insert-file-contents):
2211         Use epa-display-error instead of epa-display-info.  Mimic the behavior
2212         of jka-compr when decryption program is not found.
2213         (epa-file-write-region): Use epa-display-error instead of
2214         epa-display-info.
2216 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2218         * vc/vc.el (vc-region-history): New command.
2219         (vc-print-log-internal): Use cl-some.
2221         * vc/vc-git.el (vc-git-region-history): New function.
2222         (vc-git-region-history-mode-map)
2223         (vc-git--log-view-long-font-lock-keywords)
2224         (vc-git-region-history-font-lock-keywords): New vars.
2225         (vc-git-region-history-font-lock): New function.
2226         (vc-git-region-history-mode): New major mode.
2228 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
2230         * net/eww.el (subr-x): Require subr-x at compile-time because eww
2231         uses string-trim.
2233 2014-11-05  Daiki Ueno  <ueno@gnu.org>
2235         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
2236         (epg-error-output): New buffer-local variable.
2237         (epg--start): Initialize epg-error-output.
2238         (epg--process-filter): Record output lines sent to stderr, in
2239         epg-error-output.
2240         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
2241         slot of context.
2242         * epa-file.el (epa-file-insert-file-contents): On error, display
2243         output sent to stderr.
2244         (epa-file-write-region): Likewise.
2246 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
2248         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
2249         returned by load-average.
2251 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
2253         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
2254         a local copy; setting `inhibit-file-name-handlers' proper might be
2255         more performant.  (Bug#18751)
2257 2014-11-05  Glenn Morris  <rgm@gnu.org>
2259         * mail/emacsbug.el (report-emacs-bug): No longer include
2260         recent-keys in the report.  (Bug#18900)
2262 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
2264         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
2266 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
2268         * net/eww.el (eww): Trim URL with `string-trim'.
2269         Suggested by Vibhav Pant <vibhavp@gmail.com>.
2271 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2273         * net/eww.el (eww-score-readability): Don't count comments positively.
2275         * net/shr.el (shr-retransform-dom): Typo fix.
2277         * net/eww.el (eww-score-readability): Parse SVC images correctly.
2278         (eww-display-html): Don't leave point inside forms.
2280         * net/shr.el: Ditto.
2282 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2284         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
2285         edebug-prin1-to-string already handles circularity.
2287         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
2288         autoloading when specified as a lambda.
2290         * simple.el (execute-extended-command--last-typed): New var.
2291         (read-extended-command): Set it.
2292         Don't complete obsolete commands.
2293         (execute-extended-command--shorter-1)
2294         (execute-extended-command--shorter): New functions.
2295         (execute-extended-command): Use them to suggest shorter names.
2296         (indicate-copied-region, deactivate-mark): Use region-active-p.
2298 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
2300         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
2301         local copy of FILENAME, when it is remote.  (Bug#18751)
2303         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
2304         an error when the command fails; the return code must indicate.
2305         (tramp-adb-send-command-and-check): Fix docstring.
2307 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2309         * net/shr.el (shr-retransform-dom): Don't ignore elements that
2310         have no children like <br />.
2312         * net/eww.el (eww-display-html): Clear `url-queue'.
2313         (eww-display-pdf): New function.
2314         (eww-render): Display PDFs with `doc-view'.
2315         (url-queue): Require `url-queue' to avoid compilation warning.
2316         (eww-colorize-region): Remove duplicate function.
2317         (eww-tag-body): Use `shr-colorize-region'.
2319 2014-11-03  Yoni Rabkin <yrk@gnu.org>
2321         * net/eww.el (eww-list-bookmarks): Autoload.
2323 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2325         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
2327         * net/eww.el (eww-display-html): The charset is called `utf-8',
2328         not `utf8'.
2329         (eww-readable): Decode the saved text correctly.
2330         (eww-readable): Save the history before displaying so that we can
2331         go back to the non-readable version.
2332         (eww-display-html): Don't try to decode the text if we've been
2333         passed in a pre-parsed DOM.
2334         (eww-tag-title): Remove newlines and extra whitespace from the
2335         displayed title.
2337 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2339         * net/eww.el (eww-readable): New command and keystroke.
2341         * net/shr.el (shr-retransform-dom): New function.
2343         * net/eww.el (eww-display-html): Set `eww-current-source' in the
2344         correct buffer.
2345         (eww-view-source): Use it.
2347 2014-11-02  Ivan Shmakov <ivan@siamics.net>
2349         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
2350         (Bug#18603).
2352 2014-11-02  Brian McKenna <brian@brianmckenna.org>  (tiny change)
2354         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
2356 2014-11-02  Ivan Shmakov <ivan@siamics.net>
2358         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
2360 2014-11-02  Ivan Shmakov <ivan@siamics.net>
2362         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
2363         (Bug#18834).
2365 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
2367         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
2368         use as advice.
2369         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
2371 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2373         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
2374         (bug#18821).
2375         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
2377 2014-11-01  Michael R. Mauger  <michael@mauger.com>
2379         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
2380         syntax, add new keywords, and parse longer keywords first.
2381         (sql-redirect-one): Protect against empty command.
2382         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
2383         to SQL.  (Bug#14759)
2385 2014-11-01  Michael R. Mauger  <michael@mauger.com>
2387         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
2388         Bug#16814 with let-bind of comint-input-ring variables around read
2389         and save functions.
2391 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
2393         * net/tramp-cache.el (tramp-get-file-property)
2394         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
2395         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
2396         be compiler warnings.
2398         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
2399         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
2401 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
2403         * progmodes/compile.el (compilation-mode): Turn off deferred
2404         fontifications locally.  (Bug#18856)
2406 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
2408         * net/tramp-sh.el (tramp-send-command): Fix the case where the
2409         remote-echo connection property is non-nil (bug#18858).
2411 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2413         * simple.el (newline): Add assertions to try and help catch bug#18913.
2415         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
2416         (bug#18886).
2417         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
2419 2014-11-01  Kim F. Storm  <storm@cua.dk>
2421         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
2422         * delsel.el (delete-selection-save-to-register)
2423         (delsel--replace-text-or-position): New vars.
2424         (delete-active-region): Use them.
2425         (delete-selection-repeat-replace-region): New command, moved from
2426         cua-base.el.
2427         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
2428         (cua-repeat-replace-region): Move command to delsel.el.
2429         (cua--init-keymaps): Update binding accordingly.
2430         (cua-mode): Set delete-selection-save-to-register.
2432 2014-11-01  Alan Mackenzie  <acm@muc.de>
2434         Make blink-parens work with a closing template delimiter.
2435         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
2436         before calling blink-paren-function, so as to apply syntax-table
2437         properties to the ">".
2439 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
2441         * select.el (gui-get-selection): Comment: data-type ignored on NS.
2443 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2445         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
2446         (macroexp--expand-all): Unrelated tweaks.
2448         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
2450 2014-10-30  Glenn Morris  <rgm@gnu.org>
2452         * startup.el (command-line): Remove pointless attempt to avoid
2453         statting the file-system (which expand-file-name doesn't do).
2455 2014-10-30  Daniel Colascione  <dancol@dancol.org>
2457         Add "enum class" support to C++ mode.
2458         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
2459         (c-after-brace-list-key): New language consts/variables.
2460         * progmodes/cc-engine.el (c-looking-at-decl-block):
2461         Exclude spurious match of "enum struct" from decl-block recognition.
2462         (c-backward-colon-prefixed-type): New function.
2463         (c-backward-over-enum-header): Call above function to extend
2464         recognition of enum structure.
2466 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2468         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
2469         (c-lang-defconst):
2470         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
2472 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
2474         * progmodes/compile.el (compilation-start):
2475         If compilation-scroll-output is non-nil, don't force window-start of
2476         the compilation buffer to be at beginning of buffer.  (Bug#18874)
2478         * startup.el (fancy-about-text): Read the entire tutorial, not
2479         just its first 256 bytes.  (Bug#18760)
2481 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2483         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
2484         * emacs-lisp/cl-extra.el: Add missing provide.
2486         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
2487         all args are copyable (bug#18767).
2488         (=, <, >, <=, >=): Re-enable the optimization.
2490 2014-10-29  Glenn Morris  <rgm@gnu.org>
2492         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
2494         * version.el (emacs-bzr-version, emacs-bzr-get-version):
2495         Revert 2014-10-26 change.
2497 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
2499         Simplify use of current-time and friends.
2500         * allout-widgets.el (allout-widgets-hook-error-handler):
2501         * calendar/appt.el (appt-display-message):
2502         * calendar/icalendar.el (icalendar--convert-float-to-ical):
2503         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
2504         (timeclock-last-period, timeclock-day-base):
2505         * eshell/em-ls.el (eshell-ls-file):
2506         * eshell/esh-util.el (eshell-parse-ange-ls):
2507         * generic-x.el (named-database-print-serial):
2508         * net/newst-backend.el (newsticker--get-news-by-url-callback)
2509         (newsticker-get-news, newsticker--sentinel-work)
2510         (newsticker--image-get, newsticker--image-sentinel):
2511         * net/tramp-sh.el (tramp-get-remote-touch):
2512         * progmodes/opascal.el (opascal-debug-log):
2513         * textmodes/remember.el (remember-mail-date)
2514         (remember-store-in-files):
2515         * vc/vc-annotate.el (vc-annotate-display-autoscale)
2516         (vc-default-annotate-current-time):
2517         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
2518         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
2519         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
2520         Omit unnecessary call to current-time.
2521         * calendar/time-date.el (time-to-seconds) [!float-time]:
2522         * vc/vc-annotate.el (vc-annotate-convert-time):
2523         Use current time if arg is nil, to be compatible with float-time.
2524         (time-date--day-in-year): New function, with most of the guts of
2525         the old time-to-day-in-year.
2526         (time-to-day-in-year): Use it.
2527         (time-to-days): Use it, to avoid decoding the same time stamp twice.
2528         * calendar/timeclock.el (timeclock-time-to-date):
2529         Arg is now optional, like current-time-string.
2530         (timeclock-update-mode-line):
2531         Don't call current-time twice to get the current time stamp,
2532         as this can lead to inconsistent results.
2533         * completion.el (cmpl-hours-since-origin):
2534         * ido.el (ido-time-stamp):
2535         * vc/vc-annotate.el (vc-annotate-convert-time):
2536         Simplify by using float-time.
2537         * completion.el (save-completions-to-file):
2538         Rename local var to avoid confusion.
2539         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
2540         time-to-seconds now behaves like float-time with respect to nil arg.
2541         * subr.el (progress-reporter-do-update):
2542         Don't call float-time unless needed.
2544 2014-10-29  Leo Liu  <sdl.web@gmail.com>
2546         * net/rcirc.el (rcirc-fill-column): Use function.
2547         (rcirc-markup-fill): Remove adjustment.
2549 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
2551         * calc/calc.el (quick-calc):
2552         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
2554 2014-10-28  Sam Steingold  <sds@gnu.org>
2556         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
2557         the sake of `window-body-width' (in addition to `frame-width').
2559 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
2561         * version.el: Fix some fallback values to conform to the actual
2562         release number.
2564 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
2566         * Makefile.in: Change some production names so they're neutral
2567         about the repository type.
2569 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
2571         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
2572         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
2573         during initialization.  (Bug#18774)
2575 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2577         * ses.el (macroexp): Add require for this package, so that
2578         function `ses--cell' gets macroexp-quote --- this change was
2579         supposed to be in my previous commit, but left out by mistake.
2580         (ses--cell): Do not make formula a macroexp-quote of value when
2581         value, not formula, is *skip*.
2583 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2585         * ses.el (macroexp): Add require for this package, so that function
2586         `ses--cell gets macroexp-quote.
2587         (ses--cell): Makes formula a macroexp-quote of value when formula
2588         is nil.  The rationale of this changr is to allow in the future
2589         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
2590         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'.  In such a case
2591         reference list REFLIST would be re-computed after load --- thus
2592         trading off load time against file size.
2594         * emacs-lisp/package.el (package--alist-to-plist-args):
2595         Use macroexp-quote instead of a lambda expression which has the same
2596         content as macroexp-quote.
2597         (macroexp): Add require for this package, so that function
2598         `package--alist-to-plist-args' gets macroexp-quote.
2600         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
2602 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2604         * term/ns-win.el (ns-store-cut-buffer-internal)
2605         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
2607 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
2609         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
2610         Calculate increment from last position instead of window edge.
2611         Add right- and bottom-divider bindings to transient map.
2613 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
2616         even if :predicate was nil, for the benefit of typep.
2617         Record the name of the predicate for typep's use.
2618         (cl--make-type-test): Use pcase.  Obey new
2619         cl-deftype-satisfies property.
2621         * epg.el: Use cl-defstruct.
2622         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
2623         (epg-data-string): Define via cl-defstruct.
2624         (epg--gv-nreverse): New macro.
2625         (epg-context--make): New constructor (provided vi cl-defstruct).
2626         (epg-make-context): Rewrite using it.
2627         (epg-context-protocol, epg-context-program)
2628         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
2629         (epg-context-include-certs, epg-context-cipher-algorithm)
2630         (epg-context-digest-algorithm, epg-context-compress-algorithm)
2631         (epg-context-passphrase-callback, epg-context-progress-callback)
2632         (epg-context-signers, epg-context-sig-notations, epg-context-process)
2633         (epg-context-output-file, epg-context-result, epg-context-operation)
2634         (epg-context-pinentry-mode): Define using cl-defstruct.
2635         (epg-context-set-protocol, epg-context-set-program)
2636         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
2637         (epg-context-set-digest-algorithm)
2638         (epg-context-set-sig-notations, epg-context-set-process)
2639         (epg-context-set-output-file, epg-context-set-result)
2640         (epg-context-set-operation, epg-context-set-pinentry-mode)
2641         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
2642         (epg-context-set-armor, epg-context-set-textmode)
2643         (epg-context-set-signers): Redefine using setf
2644         and declare as obsolete.
2645         (epg-context-set-passphrase-callback)
2646         (epg-context-set-progress-callback): Use setf.
2647         (epg-signature-notations): Rename from epg-sig-notations.
2648         (epg-make-signature, epg-signature-status, epg-signature-key-id)
2649         (epg-signature-validity, epg-signature-fingerprint)
2650         (epg-signature-creation-time, epg-signature-expiration-time)
2651         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
2652         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
2653         (epg-signature-set-status, epg-signature-set-key-id)
2654         (epg-signature-set-validity, epg-signature-set-fingerprint)
2655         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
2656         (epg-signature-set-pubkey-algorithm)
2657         (epg-signature-set-digest-algorithm, epg-signature-set-class)
2658         (epg-signature-set-version, epg-signature-set-notations): Remove.
2659         Use setf instead.
2660         (epg-make-new-signature, epg-new-signature-type)
2661         (epg-new-signature-pubkey-algorithm)
2662         (epg-new-signature-digest-algorithm, epg-new-signature-class)
2663         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
2664         Define using cl-defstruct.
2665         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
2666         (epg-key-user-id-list): Define using cl-defstruct.
2667         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
2668         Use setf instead.
2669         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
2670         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
2671         (epg-sub-key-id, epg-sub-key-creation-time)
2672         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
2673         cl-defstruct.
2674         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
2675         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
2676         (epg-user-id-signature-list): Define using cl-defstruct.
2677         (epg-user-id-set-signature-list): Remove.  Use setf instead.
2678         (epg-make-key-signature, epg-key-signature-validity)
2679         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
2680         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
2681         (epg-key-signature-user-id, epg-key-signature-class)
2682         (epg-key-signature-exportable-p): Define using cl-defstruct.
2683         (epg-make-sig-notation, epg-sig-notation-name)
2684         (epg-sig-notation-value, epg-sig-notation-human-readable)
2685         (epg-sig-notation-critical): Define using cl-defstruct.
2686         (epg-sig-notation-set-value): Remove.  Use setf instead.
2687         (epg-make-import-status, epg-import-status-fingerprint)
2688         (epg-import-status-reason, epg-import-status-new)
2689         (epg-import-status-user-id, epg-import-status-signature)
2690         (epg-import-status-sub-key, epg-import-status-secret): Define using
2691         cl-defstruct.
2692         (epg-make-import-result, epg-import-result-considered)
2693         (epg-import-result-no-user-id, epg-import-result-imported)
2694         (epg-import-result-imported-rsa, epg-import-result-unchanged)
2695         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
2696         (epg-import-result-new-signatures, epg-import-result-new-revocations)
2697         (epg-import-result-secret-read, epg-import-result-secret-imported)
2698         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
2699         (epg-import-result-imports): Define using cl-defstruct.
2701         * emacs-lisp/package.el: Require EPG during macroexpansion.
2702         (package--check-signature, package-import-keyring): Use setf instead of
2703         epg-context-set-home-directory.
2705 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2707         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
2709 2014-10-23  Leo Liu  <sdl.web@gmail.com>
2711         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
2712         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
2713         (cfengine3-current-defun): New function.
2714         (cfengine3-mode): Set add-log-current-defun-function.
2716 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2718         * select.el: Use lexical-binding.
2719         (gui-set-selection): Provide an implementation for non-GUI frames
2720         (bug#18791).
2721         * term/x-win.el: Use lexical-binding.
2722         (x-clipboard-yank): Fix up missed renamings.
2723         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
2724         (w32--set-selection): Fix up var names.
2725         * term/pc-win.el: Use lexical-binding.
2726         (w16-selection-exists-p): Silence compiler warning.
2727         (w16-selection-owner-p): Fix up missed renamings.
2729         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
2731         * frame.el (frame-notice-user-settings): Fix excessive quoting.
2733 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
2735         * doc-view.el (doc-view-open-text): View the document's plain text
2736         in the current buffer instead of a new one.
2737         (doc-view-toggle-display): Handle the case where the current
2738         buffer contains the plain text contents of the document.
2739         (doc-view-initiate-display): Don't switch to fallback mode if the
2740         user wants to view the doc's plain text.
2741         (doc-view-set-doc-type): Use assoc-string instead of
2742         assoc-ignore-case.
2744 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2746         * subr.el (read-key): Fix clicks on the mode-line.
2747         (set-transient-map): Return exit function.
2749         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
2750         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
2751         (mouse-yank-secondary): Use gui-get-selection.
2752         (mouse--down-1-maybe-follows-link): Use read-key.
2754         * xt-mouse.el: Add `event-kind' property on the fly from
2755         xterm-mouse-translate-1 rather than statically at the outset.
2757 2014-10-21  Daniel Colascione  <dancol@dancol.org>
2759         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
2760         change window configuration when we turn it off.
2762 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2764         Get rid of backend-dependent selection-handling functions for kill/yank
2765         and make it generic instead by relying on the lower-level selection
2766         management functions.
2768         * select.el (select-enable-clipboard): Rename from
2769         gui-select-enable-clipboard.
2770         (select-enable-primary): Move from x-win.el and rename from
2771         x-select-enable-primary.
2772         (gui-last-selected-text): Remove.
2773         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
2774         New vars.
2775         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
2776         (gui-select-text-alist, gui-selection-value-alist): Remove.
2777         (x-select-request-type): Move from x-win.el.
2778         (gui--selection-value-internal): New function, taken from x-win's
2779         x-selection-value-internal.
2780         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
2781         (gui-set-selection-alist): Rename from gui-own-selection-alist and
2782         extend it to handle a nil value as a "disown" request.
2783         (gui-disown-selection-alist): Remove.
2784         (xselect-convert-to-delete): Adjust accordingly.
2785         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
2787         * term/x-win.el (x-last-selected-text-primary)
2788         (x-select-enable-primary): Remove (moved to select.el).
2789         (x-select-request-type): Move to select.el.
2790         (x-selection-value-internal, x--selection-value): Remove functions.
2791         (gui-selection-value, gui-select-text): Remove moethods.
2792         (gui-set-selection): Merge own and disown methods.
2794         * term/w32-win.el (w32--select-text, w32--get-selection-value):
2795         Delete function (move functionality into w32--set-selection and
2796         w32--get-selection).
2797         (gui-select-text, gui-selection-value): Don't define methods.
2798         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
2799         New functions.
2800         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
2801         Use them.
2802         (gui-selection-exists-p): Adjust to new name of C primitive.
2804         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
2805         test of gui-select-enable-clipboard, to make it usable as
2806         a gui-get-selection method.
2807         (gui-selection-exists-p): Adjust to new name of C primitive.
2808         (gui-set-selection): Merge own and disown methods.
2809         (gui-select-text, gui-selection-value): Delete methods.
2810         (w16--select-text): Delete function.
2812         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
2813         (ns-selection-value): Remove functions.
2814         (gui-select-text, gui-selection-value): Don't define method any more.
2815         (gui-set-selection): Merge the old own and disown methods.
2816         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
2817         underlying C primitive.
2819         * startup.el (command-line): Adjust now that `gui-method' expects nil
2820         for ttys.
2822         * frame.el (gui-method): Use window-system rather than framep.
2823         (gui-method-declare): The tty case is now nil rather than t.
2824         (make-frame): Adjust accordingly.
2826 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2828         * net/newst-reader.el (newsticker--image-read): Simplify.
2829         (newsticker--icon-read): Use dolist and fix free var error.
2831         * imenu.el (imenu--menubar-keymap): New var.
2832         (imenu-add-to-menubar): Set it to remember the keymap we used.
2833         (imenu-update-menubar): Use it instead of asking lookup-key.
2835         * obsolete/cc-compat.el: Make obsolete (bug#18561).
2837         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
2839         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2840         case (bug#18767).
2842 2014-10-21  Glenn Morris  <rgm@gnu.org>
2844         * Merge in all changes up to version 24.4 release.
2846 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2848         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2849         case (bug#18767).
2851 2014-10-20  Glenn Morris  <rgm@gnu.org>
2853         * Merge in all changes up to 24.4 release.
2855 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
2857         * net/newst-backend.el
2858         (newsticker--image-download-by-url-callback): Make this function
2859         actually work: Check status properly, then save image.
2861 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2863         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
2864         `this-event'.
2865         (mouse-drag-line): Unless there's no actual mouse, use the event's
2866         position info.
2868 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2870         * textmodes/css-mode.el (scss-mode): New major-mode.
2871         (css-mode-syntax-table): Use d style comment, to ease the scss case.
2872         (css-ident-re): Allow things like @-moz-keyframes.
2873         (scss--hash-re): New const.
2874         (css--font-lock-keywords): New function, extracted from
2875         css-font-lock-keywords.
2877 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
2879         * net/newst-backend.el: Require url-parse.
2880         (newsticker--get-news-by-wget): Store feed name as process property.
2881         (newsticker--sentinel): Read feed name from process property.
2882         (newsticker--sentinel-work): Rename argument name to feed-name.
2883         Rename variable imageurl to image-url.  Pick icon url from Atom
2884         1.0 data.  Launch download of feed icon.
2885         (newsticker--get-icon-url-atom-1.0): New.
2886         (newsticker--unxml)
2887         (newsticker--unxml-node)
2888         (newsticker--unxml-attribute): Documentation.
2889         (newsticker--icons-dir): New.
2890         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
2891         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
2892         (newsticker--image-download-by-wget): New.  Use process properties
2893         for storing informations.
2894         (newsticker--image-sentinel): Read informations from process properties.
2895         (newsticker--image-save)
2896         (newsticker--image-remove)
2897         (newsticker--image-download-by-url)
2898         (newsticker--image-download-by-url-callback): New.
2899         (newsticker-opml-export): Handle url list entries containing a
2900         function instead of an url string.
2902         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
2903         (newsticker--print-extra-elements)
2904         (newsticker--do-print-extra-element):
2905         Documentation (newsticker--image-read): Optionally limit image height.
2906         Use imagemagick if possible.
2907         (newsticker--icon-read): New.
2909         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
2910         (newsticker--treeview-tree-expand): Use feed icons in treeview.
2911         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
2912         (newsticker--tree-widget-leaf-icon): Use feed icon.
2914 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2916         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
2917         Use help-function-arglist instead.
2919         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
2920         (eieio--with-scoped-class): Use `declare'.
2921         (eieio-defclass): Remove compatibility code.
2922         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
2923         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
2925 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
2927         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
2929         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
2930         replacements to stock names before stock names in a list.
2931         Cdr may be a list, each name is tried in turn until one is found.
2933 2014-10-18  Alan Mackenzie  <acm@muc.de>
2935         Check that a "macro" found near point-min isn't a ## operator.
2936         Fixes bug #18749.
2937         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
2938         (c-beginning-of-macro): Use the above new function.
2940 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
2942         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
2943         correct data to `gnutls-boot' (Bug#18664).
2944         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
2946 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
2948         * whitespace.el (whitespace-style, whitespace-big-indent)
2949         (whitespace-big-indent-regexp, whitespace-style-value-list)
2950         (whitespace-toggle-option-alist, whitespace-interactive-char)
2951         (whitespace-toggle-options)
2952         (global-whitespace-toggle-options, whitespace-help-text)
2953         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
2954         style to `whitespace-mode' to indicate that the line indentation
2955         is too deep.  By default, 32 SPACEs or four TABs are considered
2956         too many but `whitespace-big-indent-regexp' can be configured.
2958 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
2960         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
2961         tildify-mode-alist.
2963 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2965         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
2966         (defclass, defgeneric, defmethod): Add doc-string position.
2967         (with-slots): Require cl-lib.
2969         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
2970         (list-of): New type.
2971         (eieio--typep): Remove.
2972         (eieio-perform-slot-validation): Use cl-typep instead.
2974         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
2976         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
2978 2014-10-16  Alan Mackenzie  <acm@muc.de>
2980         Trigger showing when point is in the "periphery" of a line or just
2981         inside a paren.
2982         * paren.el (show-paren-style, show-paren-delay)
2983         (show-paren-priority, show-paren-ring-bell-on-mismatch):
2984         Remove superfluous :group specifications.
2985         (show-paren-when-point-inside-paren)
2986         (show-paren-when-point-in-periphery): New customizable variables.
2987         (show-paren-highlight-openparen): Make into a defcustom.
2988         (show-paren--unescaped-p, show-paren--categorize-paren)
2989         (show-paren--locate-near-paren): New defuns.
2990         (show-paren--default): Refaactor and trigger on more paren
2991         positions.
2992         (show-paren-function): Small consequential changes.
2994 2014-10-16  Tom Tromey  <tom@tromey.com>
2996         * files.el (auto-mode-alist): Use javascript-mode for .jsm
2997         (bug #18719).
2999 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
3001         * international/characters.el (bracket-type): Force pre-loading of
3002         uni-brackets.el.
3004 2014-10-16  Alan Mackenzie  <acm@muc.de>
3006         * cus-edit.el (custom-command-apply): Specify the return value in
3007         the doc string.
3008         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
3009         custom-command-apply has returned non-nil.
3011 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3013         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
3014         Remove incorrect handling of eldoc-print-after-edit.
3015         (eldoc-message-commands, eldoc-last-data): Use defvar.
3016         * loadup.el (emacs-lisp/eldoc): Load it.
3018         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
3019         (m4-mode): Use it.
3020         (m4--quoted-p): New function.
3021         (m4-font-lock-keywords): Don't handle #..\n comments any more.
3022         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
3023         for most special characters.
3025         * progmodes/compile.el (compilation--previous-directory): Simplify.
3026         (compilation-next-error): Ensure the parse before we look at
3027         compilation-message property.
3029 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
3031         * simple.el (what-cursor-position):
3032         * descr-text.el (describe-char): Update to support the new bidi
3033         characters.
3035         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
3036         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
3037         buffer-menu display when the first buffer happens to start with
3038         R2L letter.
3040 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3042         * progmodes/elisp-mode.el (elisp--local-variables-1):
3043         Handle quoted expressions (bug#18688).
3045 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
3046             Michael Albinus  <michael.albinus@gmx.de>
3048         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3049         Reduce the amount of set environment variable commands.
3051 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3053         Fix import completion.  (Bug#18582)
3054         * progmodes/python.el (python-shell-completion-get-completions):
3055         Fix import case regexp.
3057 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3059         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
3060         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
3061         * progmodes/prolog.el (prolog-electric--underscore): Same.
3063 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
3065         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
3067 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
3069         * cus-start.el (all): Add missing ns and boolean to
3070         ns-use-fullscreen-animation.
3072 2014-10-11  Leo Liu  <sdl.web@gmail.com>
3074         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
3075         Use strings.
3076         (cfengine3-create-imenu-index): New function.
3077         (cfengine3-mode): Use it for `imenu-create-index-function'.
3078         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
3079         buffer is empty.
3081 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
3083         * cus-start.el (all): Add ns-use-fullscreen-animation.
3085 2014-10-11  Glenn Morris  <rgm@gnu.org>
3087         * calendar/diary-lib.el (diary-display-function):
3088         Drop support for deprecated nil and list forms.
3089         (diary-list-entries): Update for the above.
3090         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
3092 2014-10-10  Leo Liu  <sdl.web@gmail.com>
3094         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
3095         (Bug#18656)
3097 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3099         * select.el (gui-selection-exists-p-alist): New method.
3100         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
3101         * simple.el (deactivate-mark): Use it.
3102         * term/x-win.el (gui-selection-exists-p):
3103         * term/w32-win.el (gui-selection-exists-p):
3104         * term/pc-win.el (gui-selection-exists-p):
3105         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
3107 2014-10-10  Glenn Morris  <rgm@gnu.org>
3109         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
3110         Fix :type.  Allow t to mean no limit.
3111         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
3113 2014-10-09  Glenn Morris  <rgm@gnu.org>
3115         * frame.el (display-monitor-attributes-list): Doc tweaks.
3117 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
3119         * faces.el (display-grayscale-p): Mention in the doc string that
3120         the argument can be either a display name or a frame.
3122         * frame.el (display-pixel-height, display-pixel-width)
3123         (display-mm-height, display-mm-width, display-backing-store)
3124         (display-save-under, display-planes, display-color-cells)
3125         (display-visual-class, display-monitor-attributes-list)
3126         (display-screens): Mention in the doc string that the argument can
3127         be either a display name or a frame.  Improve the docs of the
3128         monitor attributes.  (Bug#18636)
3130 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
3132         * term.el (term-window-width): Subtract 1 from the width when
3133         any fringe has zero width, not just the right fringe.  (Bug#18601)
3135 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3137         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
3139 2014-10-08  Leo Liu  <sdl.web@gmail.com>
3141         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
3143 2014-10-08  Glenn Morris  <rgm@gnu.org>
3145         * calendar/cal-x.el (calendar-dedicate-diary):
3146         Drop support for recently deleted aliases.
3148 2014-10-08  Leo Liu  <sdl.web@gmail.com>
3150         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
3151         Always return a syntax.  Replace call-process-shell-command with
3152         process-file.  Ensure cfengine-mode-syntax-functions-regex is
3153         always set.  Ensure cache when cfengine-cf-promises fails.
3154         (Bug#18620)
3156 2014-10-07  Glenn Morris  <rgm@gnu.org>
3158         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
3160 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
3162         Sync with upstream verilog-mode revision c075a492.
3163         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3164         (verilog-menu): Add AUTOINSERTLAST.
3165         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
3166         is nil, fix indenting initial/final to match always statements, bug825.
3167         Reported by Tim Clapp.
3168         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
3169         bug557.  Reported by ZeDong Mao and Jason Forkey.
3170         (verilog-read-decls): Fix parsing typed interfaces.
3171         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
3172         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
3173         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
3174         Reported by Pierre-David Pfister.
3175         (verilog-auto-insert-lisp): Doc fix.
3176         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
3177         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
3178         (verilog-sk-ovm-class, verilog-sk-uvm-object)
3179         (verilog-sk-uvm-component): Fix missing string keyword in class
3180         skeletons, bug824.  Reported by eldad faruhi.
3182 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3184         * term/w32-win.el: Move all code from 32-common-fns.el here.
3185         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
3186         console as well (bug#18629).
3187         * w32-common-fns.el: Remove.
3188         * loadup.el: Don't load w32-common-fns.el.
3189         * w32-fns.elc: Don't require w32-common-fns.
3191         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
3192         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
3193         Remove redundant obsolescence thingy.
3194         * loadup.el: Don't load obsolete/loaddefs.el.
3195         * Makefile.in (obsolete-autoloads): Remove.
3196         (AUTOGENEL): Remove obsolete/loaddefs.el.
3198 2014-10-06  Glenn Morris  <rgm@gnu.org>
3200         * Makefile.in (obsolete-autoloads): Write to a separate file,
3201         to workaround autoloads bug.  (Bug#17407)
3202         (AUTOGENEL): Add obsolete/loaddefs.el.
3203         * loadup.el: Load obsolete/loaddefs.el if present.
3204         * subr.el (do-after-load-evaluation):
3205         Don't warn about obsolete/loaddefs.el.
3207         * menu-bar.el (menu-bar-games-menu): Remove landmark.
3208         It has zero relationship to a game.
3210 2014-10-06  Leo Liu  <sdl.web@gmail.com>
3212         * imenu.el (imenu): Re-write for clarity.
3214 2014-10-06  Glenn Morris  <rgm@gnu.org>
3216         Remove calendar code obsolete since at least version 23.1.
3217         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
3218         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
3219         (calendar-goto-bahai-date, list-bahai-diary-entries)
3220         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
3221         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
3222         (insert-yearly-bahai-diary-entry):
3223         * calendar/cal-china.el (chinese-calendar-time-zone)
3224         (chinese-calendar-location-name)
3225         (chinese-calendar-daylight-time-offset)
3226         (chinese-calendar-standard-time-zone-name)
3227         (chinese-calendar-daylight-time-zone-name)
3228         (chinese-calendar-daylight-savings-starts)
3229         (chinese-calendar-daylight-savings-ends)
3230         (chinese-calendar-daylight-savings-starts-time)
3231         (chinese-calendar-daylight-savings-ends-time)
3232         (chinese-calendar-celestial-stem)
3233         (chinese-calendar-terrestrial-branch)
3234         (calendar-absolute-from-chinese, calendar-print-chinese-date)
3235         (calendar-goto-chinese-date):
3236         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
3237         (calendar-print-coptic-date, coptic-prompt-for-date)
3238         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
3239         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
3240         * calendar/cal-french.el (calendar-absolute-from-french)
3241         (calendar-print-french-date, calendar-goto-french-date):
3242         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
3243         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
3244         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
3245         (holiday-rosh-hashanah-etc, holiday-hanukkah)
3246         (holiday-passover-etc, holiday-tisha-b-av-etc)
3247         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
3248         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
3249         (insert-monthly-hebrew-diary-entry)
3250         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
3251         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
3252         (diary-sabbath-candles):
3253         * calendar/cal-islam.el (calendar-absolute-from-islamic)
3254         (calendar-print-islamic-date, calendar-goto-islamic-date)
3255         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
3256         (mark-islamic-diary-entries, insert-islamic-diary-entry)
3257         (insert-monthly-islamic-diary-entry)
3258         (insert-yearly-islamic-diary-entry):
3259         * calendar/cal-iso.el (calendar-absolute-from-iso)
3260         (calendar-print-iso-date, calendar-iso-read-args)
3261         (calendar-goto-iso-date, calendar-goto-iso-week):
3262         * calendar/cal-julian.el (calendar-absolute-from-julian)
3263         (calendar-print-julian-date, calendar-goto-julian-date)
3264         (calendar-absolute-from-astro, calendar-print-astro-day-number)
3265         (calendar-goto-astro-day-number):
3266         * calendar/cal-mayan.el (calendar-print-mayan-date)
3267         (calendar-next-haab-date, calendar-previous-haab-date)
3268         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
3269         (calendar-next-calendar-round-date)
3270         (calendar-previous-calendar-round-date)
3271         (calendar-absolute-from-mayan-long-count)
3272         (calendar-goto-mayan-long-count-date):
3273         * calendar/cal-move.el (scroll-calendar-left)
3274         (scroll-calendar-right, scroll-calendar-left-three-months)
3275         (scroll-calendar-right-three-months):
3276         * calendar/cal-persia.el (calendar-absolute-from-persian)
3277         (calendar-print-persian-date, persian-prompt-for-date)
3278         (calendar-goto-persian-date):
3279         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
3280         * calendar/calendar.el (view-diary-entries-initially)
3281         (mark-diary-entries-in-calendar, calendar-today-face)
3282         (diary-face, holiday-face, view-calendar-holidays-initially)
3283         (mark-holidays-in-calendar, initial-calendar-window-hook)
3284         (today-visible-calendar-hook, today-invisible-calendar-hook)
3285         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
3286         (bahai-diary-entry-symbol, american-date-diary-pattern)
3287         (european-date-diary-pattern, european-calendar-display-form)
3288         (american-calendar-display-form, holidays-in-diary-buffer)
3289         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
3290         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
3291         (fancy-diary-buffer, increment-calendar-month)
3292         (extract-calendar-month, extract-calendar-day)
3293         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
3294         (mark-visible-calendar-date, calendar-version):
3295         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
3296         (diary-display-hook, list-diary-entries-hook)
3297         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
3298         (nongregorian-diary-marking-hook, print-diary-entries-hook)
3299         (abbreviated-calendar-year, number-of-diary-entries)
3300         (view-other-diary-entries, add-to-diary-list)
3301         (include-other-diary-files, simple-diary-display)
3302         (fancy-diary-display, print-diary-entries, mark-diary-entries)
3303         (mark-sexp-diary-entries, mark-included-diary-files)
3304         (mark-calendar-days-named, mark-calendar-month)
3305         (mark-calendar-date-pattern, sort-diary-entries)
3306         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
3307         (insert-weekly-diary-entry, insert-monthly-diary-entry)
3308         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
3309         (insert-block-diary-entry, insert-cyclic-diary-entry)
3310         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
3311         * calendar/holidays.el (general-holidays, oriental-holidays)
3312         (local-holidays, other-holidays, hebrew-holidays)
3313         (christian-holidays, islamic-holidays, bahai-holidays)
3314         (solar-holidays, list-calendar-holidays)
3315         (check-calendar-holidays, mark-calendar-holidays)
3316         (filter-visible-calendar-holidays):
3317         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
3318         (diary-phases-of-moon): Remove obsolete aliases.
3319         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
3320         * calendar/cal-x.el (calendar-one-frame-setup)
3321         (calendar-only-one-frame-setup, calendar-two-frame-setup):
3322         Remove obsolete functions.
3323         (cal-x-load-hook): Remove obsolete hook.
3324         * calendar/calendar.el (european-calendar-style):
3325         Remove obsolete variable.
3326         (calendar-date-style): No longer consult european-calendar-style.
3327         * calendar/calendar.el (european-calendar, american-calendar):
3328         Remove obsolete commands.
3329         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
3330         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
3331         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
3332         Use the face `diary' instead of the variable `diary-face'.
3333         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
3334         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
3335         * calendar/icalendar.el (icalendar--date-style): Remove function.
3336         Replace all uses with calendar-date-style.
3337         * textmodes/remember.el (calendar-date-style): Declare.
3338         (remember-diary-convert-entry):
3339         No longer consult european-calendar-style.
3341 2014-10-05  Leo Liu  <sdl.web@gmail.com>
3343         * imenu.el (imenu-default-goto-function): Fix typo.
3345 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
3347         * net/ntlm.el (ntlm-build-auth-request):
3348         Add NTLM2 Session support.  (Bug#15603)
3350 2014-10-04  Glenn Morris  <rgm@gnu.org>
3352         * apropos.el (apropos-symbols-internal):
3353         Avoid error with non-symbol properties.  (Bug#18337#16)
3355         * startup.el (command-line):
3356         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
3358 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
3360         * window.el (window-full-height-p): Make it behave correctly for
3361         minibuffer window.
3362         (window-current-scroll-bars): Fix code.
3363         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
3364         window-scroll-bars.
3365         * frame.el (frame-current-scroll-bars): Fix doc-string.
3366         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
3368 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
3370         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
3372 2014-10-04  Glenn Morris  <rgm@gnu.org>
3374         * frame.el (frame-monitor-attributes)
3375         (display-monitor-attributes-list): Doc fixes.
3377 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3379         Merge trivially safe differences from standalone CC-mode.
3380         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
3381         just to then pass it to `symbol-value'.
3382         (prog-mode): Provide fallback definition, if needed.
3383         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
3384         Remove "cl-" prefix accordingly.
3385         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
3386         characterp depending on the type of characters.
3387         (c-font-lock-enum-tail): Remove unused var `start'.
3388         * progmodes/cc-engine.el: Load CL at compile-time.
3389         (c-declare-lang-variables): Use mapcan.
3390         (c-append-to-state-cache): Remove unused var `ce+1'.
3391         (c-parse-state-state): Make buffer-local.
3392         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
3393         (c-just-after-func-arglist-p): Remove unused var `end'.
3394         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
3395         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
3396         (c-make-keywords-re): Use delete-dups.
3397         (c-get-current-file): Avoid file-name-base.
3398         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
3399         `close-paren-inserted'.
3400         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
3402         * progmodes/python.el: Avoid building unneeded markers.
3403         (python-font-lock-keywords, python-indent-dedent-line)
3404         (python-fill-paren, python-shell-completion-complete-or-indent):
3405         Prefer point over point-marker.
3406         (inferior-python-mode): Remove redundant completion settings.
3408 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
3410         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
3411         (vc-svn-ignore): Use it.  (Bug#18619)
3413 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
3415         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3416         In doc-string mention need to set `frame-resize-pixelwise'.
3418 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3420         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
3421         similarly to Rogers's 2010-06-16 change for the remote case
3422         (bug#18605).
3424 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3426         New gui-selection-value consolidating x-selection-value.
3427         * select.el (gui-selection-value-alist): New method.
3428         (gui-selection-value): New function.
3429         (x-selection-value): Make it an obsolete alias.
3430         * simple.el (interprogram-paste-function): Default to
3431         gui-selection-value.
3432         * w32-common-fns.el (w32-get-selection-value): Simplify.
3433         (x-selection-value): Remove alias.
3434         (interprogram-paste-function): Don't set.
3435         (gui-selection-value): Define for w32.
3436         * term/x-win.el (gui-selection-value): Define for x.
3437         (x--selection-value): Rename from x--selection-value.
3438         (interprogram-paste-function): Don't set.
3439         * term/pc-win.el (w16-get-selection-value): Simplify.
3440         (msdos-initialize-window-system): Don't set
3441         interprogram-paste-function.
3442         (gui-selection-value): Define for pc.
3443         * term/ns-win.el (x-selection-value): Remove.
3444         (gui-selection-value): Define for ns, instead.
3445         * term/common-win.el (x-setup-function-keys): Don't set
3446         interprogram-paste-function.
3447         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
3448         Use gui-selection-value.
3450 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
3452         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
3454 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3456         * obsolete/lucid.el (read-number): Remove, redundant.
3457         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
3458         Remove, broken.
3460 2014-10-02  Glenn Morris  <rgm@gnu.org>
3462         * emacs-lisp/package.el (package-import-keyring):
3463         Create gnupg directory private.  (Bug#17625#155)
3465 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3467         * progmodes/python.el (python-shell-completion-get-completions):
3468         Use python-shell--prompt-calculated-input-regexp from the
3469         process buffer (bug#18582).
3470         Don't assume that `line' comes from the process buffer.
3472 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * frame.el: Use lexical-binding (bug#18598).
3475         (make-frame): Use t rather than nil for tty's window-system.
3476         * startup.el (command-line): Use gui-method.
3478         Consolidate management/ownership of selections.
3479         * select.el (gui-get-selection-alist): New method.
3480         (gui-get-selection): Use it.  Rename from x-get-selection.
3481         (x-get-selection): Define as obsolete alias.
3482         (x-get-clipboard): Mark obsolete.
3483         (gui-get-primary-selection): New function.
3484         (x-get-selection-value): Mark obsolete.
3485         (gui-own-selection-alist, gui-disown-selection-alist)
3486         (gui-selection-owner-p-alist): New methods.
3487         (gui-set-selection): Use them.  Rename from x-set-selection.
3488         (x-set-selection): Define as obsolete alias.
3489         (gui--valid-simple-selection-p): Rename from
3490         x-valid-simple-selection-p.
3491         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
3492         (gui-selection-owner-p, gui-get-selection): Define for w32.
3493         (w32-get-selection-value): Rename from x-get-selection-value.
3494         Use the new gui-last-selected-text.
3495         * term/x-win.el (x-get-selection-value): Remove.
3496         (x-clipboard-yank): Declare obsolete.
3497         (gui-own-selection, gui-disown-selection, gui-get-selection)
3498         (gui-selection-owner-p): Define for x.
3499         * term/w32-win.el (w32-win-suspend-error): Rename from
3500         x-win-suspend-error.
3501         * term/pc-win.el (w16-get-selection-value): Rename from
3502         x-get-selection-value.
3503         (w16-selection-owner-p): Rename from x-selection-owner-p.
3504         (gui-own-selection, gui-disown-selection, gui-get-selection)
3505         (gui-selection-owner-p): Define for pc.
3506         (w16--select-text): New function.
3507         * term/ns-win.el (gui-own-selection, gui-disown-selection)
3508         (gui-get-selection, gui-selection-owner-p): Define for ns.
3509         * term.el (term-mouse-paste):
3510         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
3512 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
3514         * calc/calc-help.el (calc-describe-thing): Quote strings
3515         which could look like regexps.
3517 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3519         Consolidate x-select-text.
3520         * frame.el (gui-method, gui-method-define, gui-method-declare)
3521         (gui-call): New macros.
3522         (gui-method--name): New function.
3523         (frame-creation-function-alist): Use gui-method-declare.
3524         (make-frame): Use gui-method.
3525         * select.el (gui-select-enable-clipboard): Rename from
3526         x-select-enable-clipboard and move here.
3527         (x-select-enable-clipboard): Define as obsolete alias.
3528         (gui-last-selected-text): New var, to replace x-last-selected-text.
3529         (gui-select-text): New GUI method.
3530         (gui-select-text): New function.
3531         (x-select-text): Define as obsolete alias.
3532         * term/common-win.el (x-select-enable-clipboard, x-select-text):
3533         Move to select.el.
3534         * simple.el (interprogram-cut-function): Change default to
3535         x-select-text.
3536         (interprogram-paste-function): Change default to `ignore'.
3537         * w32-common-fns.el (interprogram-cut-function): Don't modify.
3538         * term/x-win.el (interprogram-cut-function): Don't modify.
3539         (gui-select-text): Add method for x.
3540         * term/w32-win.el (gui-select-text): Add method for w32.
3541         * term/pc-win.el (x-last-selected-text): Remove, use
3542         gui-last-selected-text instead.
3543         (msdos-initialize-window-system): Don't set interprogram-cut-function.
3544         (gui-select-text): Add method for pc.
3545         * term/ns-win.el (ns-last-selected-text): Remove, use
3546         gui-last-selected-text instead.
3547         (gui-select-text): Add method for ns.
3548         (x-setup-function-keys): Don't change interprogram-cut-function.
3549         * loadup.el ("startup"): Load after "frame".
3550         * subr.el (package--builtin-versions, package--description-file):
3551         Move from startup.el.
3552         * startup.el (package--builtin-versions, package--description-file):
3553         Move to subr.el.
3554         (handle-args-function-alist, window-system-initialization-alist):
3555         Use gui-method-declare.
3556         (command-line): Use gui-method.
3558 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3560         * subr.el (alist-get): New accessor.
3561         * emacs-lisp/gv.el (alist-get): Provide expander.
3562         * winner.el (winner-remember):
3563         * tempo.el (tempo-use-tag-list):
3564         * progmodes/gud.el (minor-mode-map-alist):
3565         * international/mule-cmds.el (define-char-code-property):
3566         * frameset.el (frameset-filter-params):
3567         * files.el (dir-locals-set-class-variables):
3568         * register.el (get-register, set-register):
3569         * calc/calc-yank.el (calc-set-register): Use it.
3570         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
3571         * tooltip.el (tooltip-set-param): Mark as obsolete.
3572         (tooltip-show): Use alist-get instead.
3573         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
3575 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
3577         * net/newst-backend.el: Remove Time-stamp.  Rename variable
3578         `newsticker--download-logos' to `newsticker-download-logos' and
3579         make it customizable.
3580         (newsticker--sentinel-work): Move xml-workarounds to function
3581         `newsticker--do-xml-workarounds', call unless libxml-parser is
3582         used.  Allow single quote in regexp for encoding.
3583         Use libxml-parser if available, else fall back to `xml-parse-region'.
3584         Take care of possibly missing namespace prefixes (like "RDF"
3585         instead of "rdf:RDF") when checking xml nodes and attributes (as
3586         libxml correctly removes the prefixes).  Always use Atom 1.0 as
3587         fallback feed type.  Rename `newsticker--download-logos' to
3588         `newsticker-download-logos'
3589         (newsticker--unxml, newsticker--unxml-node)
3590         (newsticker--unxml-attribute): New.
3591         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
3592         HTML code has become part of the xml parse tree.
3593         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
3594         of possibly missing namespace prefixes.
3595         (newsticker--parse-generic-items): Code formatting.  Typo.
3596         (newsticker--images-dir): Add trailing slash.
3597         (newsticker--image-get): Fix error message.
3599         * net/newst-plainview.el: Remove Time-stamp.
3601         * net/newst-reader.el: Remove Time-stamp.
3602         (newsticker-download-logos): Rename variable
3603         `newsticker--download-logos' to `newsticker-download-logos' and
3604         make it customizable.
3605         (newsticker--print-extra-elements): Add optional parameter
3606         'htmlish for using html markup.  Amend list of ignored elements.
3607         (newsticker--do-print-extra-element): Add parameter 'htmlish for
3608         using html markup.
3610         * net/newst-ticker.el: Remove Time-stamp.
3612         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
3613         for formatting extra elements.
3615         * net/newsticker.el:  Remove Time-stamp, Version.
3616         (newsticker-version): Make obsolete.
3618 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
3620         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
3621         (bug#18462).
3623 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3625         * emacs-lisp/package.el (package-check-signature): Default to nil if
3626         GPG is not available.
3627         (package-refresh-contents): Don't mess with the keyring if we won't
3628         check the signatures anyway.
3630 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
3633         (ses-center, ses-center-span): Use them.
3634         (ses-print-cell): Bind them while calling the printer.
3635         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
3636         (ses-dorange): Revert last change.
3637         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
3638         the formula.
3639         (ses-set-cell): Avoid `eval'.
3640         (ses--time-check): Rename it from ses-time-check and turn it into
3641         a macro.
3643         * ses.el (ses-setup): Don't assume modifying the iteration var of
3644         dotimes affects the iteration (bug#18191).
3646 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3648         * ses.el (ses-calculate-cell): Bind row and col dynamically to
3649         their values with 'cl-progv'.
3650         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
3651         their values with 'cl-progv', also use non-interned symbols for
3652         row, minrow, maxrow, mincol and maxcol.
3653         (maxrow maxcol): New defvar, to make the compiler happy.
3655 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3657         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
3658         completion functions.
3660 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3662         * ses.el (ses--letref): Quote value before it gets re-evaluated.
3664 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
3666         Font-lock `cl-flet*', too.
3667         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
3668         Add "flet*" to intermediate var `cl-lib-kw'.
3670 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3672         * epg-config.el (epg-gpg-program): Use the plain program names rather
3673         than their absolute file name.
3675         * subr.el (track-mouse): New macro.
3676         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3677         Remove track-mouse case.
3678         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
3680 2014-09-27  Leo Liu  <sdl.web@gmail.com>
3682         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
3684         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
3686 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3688         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
3689         Handle the case where `match' is :pcase--succeed or :pcase--fail
3690         (bug#18554).
3692         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
3693         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
3694         (eldoc-schedule-timer): Obey it.
3695         (eldoc-documentation-function): Default to nil.
3696         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
3697         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
3698         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
3699         (eldoc-last-data-store, eldoc-docstring-first-line)
3700         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
3701         (eldoc-beginning-of-sexp, eldoc-current-symbol)
3702         (eldoc-function-argstring): Move to elisp-mode.el.
3703         (eldoc-symbol-function): Remove, unused.
3704         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
3705         (elisp-completion-at-point): Rename from lisp-completion-at-point.
3706         (elisp--preceding-sexp): Rename from preceding-sexp.
3707         * loadup.el: Load new file progmodes/elisp-mode.
3708         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
3709         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
3710         (lisp--local-variables-completion-table, lisp--expect-function-p)
3711         (lisp--form-quoted-p, lisp--company-doc-buffer)
3712         (lisp--company-doc-string, lisp--company-location)
3713         (lisp-completion-at-point): Move to elisp-mode.el.
3714         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
3715         extracted from emacs-lisp-mode-syntax-table.
3716         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
3717         elisp-mode.el.
3718         (lisp-imenu-generic-expression): Add comments to document what comes
3719         from which Lisp dialect.
3720         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
3721         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
3722         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
3723         (emacs-lisp-byte-code-comment)
3724         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
3725         (lisp-interaction-mode-map, lisp-interaction-mode)
3726         (eval-print-last-sexp, last-sexp-setup-props)
3727         (last-sexp-toggle-display, prin1-char, preceding-sexp)
3728         (eval-last-sexp-1, eval-last-sexp-print-value)
3729         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
3730         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
3732 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
3734         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
3735         Do not match file names that end in '/', as they cannot be 'grep'
3736         hits nowadays.  This prevents confusion when 'grep -r' reports a
3737         match in a file whose basename is ':12345:'.  Conversely, do not
3738         require exactly the same sequence of spaces and tabs after both
3739         colons, and allow spaces or tabs before the second colon, as per
3740         the POSIX spec for 'grep' output.
3742 2014-09-26  Leo Liu  <sdl.web@gmail.com>
3744         Add cl-parse-integer based on parse-integer (Bug#18557)
3745         * calendar/parse-time.el (parse-time-digits): Remove.
3746         (digit-char-p, parse-integer) Moved to cl-lib.el.
3747         (parse-time-tokenize, parse-time-rules, parse-time-string):
3748         Use cl-parse-integer.
3750         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
3752         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
3753         (cl-digit-char-p): New function.
3755 2014-09-25  Juri Linkov  <juri@jurta.org>
3757         * vc/add-log.el (change-log-next-buffer): Don't create an empty
3758         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
3759         Return the current buffer if no files match the default pattern
3760         ChangeLog.[0-9].  Signal "end of multi" when file is nil.  (Bug#18547)
3762 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3764         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
3765         the global vc-handled-backends (bug#18535).
3767 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3769         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
3770         Suggested by <lompik@voila.fr>.
3772 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
3774         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
3775         Rename from `newsticker--treeview-do-get-node'.
3776         (newsticker--treeview-get-node-by-id):
3777         Rename from `newsticker--treeview-get-node'.
3778         (newsticker--treeview-buffer-init)
3779         (newsticker--treeview-buffer-init): Disable buffer undo.
3780         (newsticker--treeview-unfold-node): Adapt to modified
3781         `newsticker--group-find-parent-group'.
3782         (newsticker--group-do-find-group):
3783         Rename from `newsticker--group-do-find-group-for-feed'.
3784         Now works for both, groups and feeds.
3785         (newsticker--group-find-parent-group):
3786         Rename from `newsticker--group-find-group-for-feed'.
3787         Now works for both, groups and feeds.
3788         (newsticker--group-do-get-parent-group)
3789         (newsticker--group-get-parent-group): Remove.
3790         (newsticker-group-add-group): Change interactive prompts.
3791         (newsticker-group-add-group): Finally jump to added group.
3792         (newsticker-group-delete-group): Finally jump to current feed.
3793         (newsticker--group-do-rename-group, newsticker-group-rename-group)
3794         (newsticker--get-group-names, newsticker--group-names): New.
3795         (newsticker-group-move-feed): Finally jump to moved feed.
3796         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
3797         (newsticker-group-shift-group-down)
3798         (newsticker-group-shift-group-up, newsticker--group-shift): New.
3799         (newsticker-treeview-mode-map): New keybindings for new shift commands.
3801         * net/newst-backend.el (newsticker--item-list)
3802         (newsticker--item-position, newsticker--prev-message)
3803         (newsticker--scrollable-text): Move to newst-ticker.el.
3805         * net/newst-ticker.el (newsticker--item-list)
3806         (newsticker--item-position, newsticker--prev-message)
3807         (newsticker--scrollable-text): Move from newst-backend.el.
3809 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
3811         * window.el (fit-window-to-buffer): When counting buffer width,
3812         count the whole visible buffer.  Correctly convert the body-height
3813         to pixel size for window-text-pixel-size (Bug#18498).
3815 2014-09-22  Sam Steingold  <sds@gnu.org>
3817         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
3818         (sql-execute): Use `special-mode'.
3820 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3822         Add pcase-defmacro, as well as `quote' and `app' patterns.
3823         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
3824         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
3825         (pcase--funcall, pcase--eval): New functions.
3826         (pcase--u1): Use them for guard, pred, let, and app.
3827         (\`): Use the new feature to generate better code for vector patterns.
3828         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
3829         (pcase--upat): Remove.
3830         (pcase--macroexpand): Don't hardcode handling of `.
3831         (pcase--split-consp, pcase--split-vector): Remove.
3832         (pcase--split-equal): Disregard ` since it's expanded away.
3833         (pcase--split-member): Optimize for quote rather than for `.
3834         (pcase--split-pred): Optimize for quote rather than for `.
3835         (pcase--u1): Remove handling of ` (and of `or' and `and').
3836         Quote non-selfquoting values when passing them to `eq'.
3837         Drop `app's let-binding if the variable is not used.
3838         (pcase--q1): Remove.
3839         (`): Define as a pattern macro.
3840         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
3841         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
3842         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
3843         quote patterns.
3844         (pcase--split-match): Don't hoist or/and here any more.
3845         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
3846         (pcase--flip): New helper macro.
3847         (pcase--u1): Optimize the memq case directly.
3848         Don't handle neither self-quoting nor and/or patterns any more.
3849         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
3850         (pcase--macroexpand): New function.
3851         (pcase--expand): Use it.
3852         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
3853         New optimization functions.
3854         (pcase--u1): Add support for `quote' and `app'.
3855         (pcase): Document them in the docstring.
3857 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3859         Use lexical-bindin in Ibuffer.
3860         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
3861         (ibuffer-compile-format): Simplify.
3862         (ibuffer-clear-summary-columns): Simplify.
3863         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
3864         elem of dotimes when we don't refer to the iteration var from it.
3865         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
3866         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
3867         Silence byte-compiler.
3869 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3871         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
3872         expression for a list.
3874         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
3875         for functions with no arguments.
3877         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
3878         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
3880 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
3882         * simple.el (clone-indirect-buffer): Mention the return value
3883         (bug#18478).
3885         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
3886         Text mode in docstring (bug#18464).
3888 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3890         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3891         Accept underscores in identifiers after "sub" (bug#18502).
3893 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
3895         * textmodes/reftex-sel.el (reftex-select-label-mode)
3896         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
3897         from special-mode (instead of fundamental-mode) and propertize
3898         with font-lock-face instead of just face.  (Bug#18496)
3900         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
3902 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
3904         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
3905         `table-etc' when `end' is non-nil.
3906         (lisp-completion-at-point): Move `end' back if it's after quote.
3907         If in comment or string, only complete when after backquote.
3908         (Bug#18265)
3909         (lisp-completion-at-point): Don't use
3910         `lisp--local-variables-completion-table' in the
3911         `lisp--form-quoted-p' case.
3913 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
3915         * emacs-lisp/lisp.el (lisp--expect-function-p)
3916         (lisp--form-quoted-p): New functions.
3917         (lisp-completion-at-point): Use them to see if we're completing a
3918         variable reference, a function name, or just any symbol.
3919         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
3921 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
3923         * net/shr.el, net/eww.el: Don't override `shr-width', but
3924         introduce a new variable `shr-internal-width'.  This allows users
3925         to specify a width themselves.
3927 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3929         * image-mode.el (image-toggle-display-image): If we have a
3930         `fit-width' or a `fit-height', don't limit the size of the image
3931         to the window size, because that doesn't preserve the aspect ratio.
3932         * image-mode.el: Move defvars earlier to avoid a byte-compilation
3933         warning.
3935 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
3937         * progmodes/js.el: Add interpreter-mode-alist support for various
3938         JavaScript interpreters.
3940 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
3942         Don't assume 'grep' supports GREP_OPTIONS.
3943         The GREP_OPTIONS environment variable is planned to be marked
3944         obsolescent in GNU grep, due to problems in its use, so stop
3945         relying on it.
3946         * progmodes/grep.el (grep-highlight-matches): Document this.
3947         (grep-process-setup): Do not set GREP_OPTIONS.
3948         (grep-compute-defaults): Use an explicit --color option if supported.
3950 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3952         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
3953         Don't add outdated key-shortcut cache (bug#18482).
3955 2014-09-15  Glenn Morris  <rgm@gnu.org>
3957         * image.el (image-multi-frame-p): Fix thinko - do not force
3958         a delay if none was specified.  (Bug#18334)
3960 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
3962         * window.el (fit-window-to-buffer): Doc fix.
3964 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
3966         * desktop.el (desktop-create-buffer): Check that buffers are still live
3967         before burying them (bug#18373).
3969 2014-09-15  Glenn Morris  <rgm@gnu.org>
3971         * calendar/diary-lib.el (diary-list-entries):
3972         Restore 24.3 display behavior.  (Bug#18381)
3974 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
3976         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
3977         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
3978         discrepancy between window-pixel-edges and mouse events, and
3979         avoids moving mode line up when the mouse click is on the modeline
3980         and no drag is attempted.
3982 2014-09-14  Daniel Colascione  <dancol@dancol.org>
3984         * register.el (insert-register): Change default interactive
3985         insertion mode.
3987 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
3989         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
3990         Suppress debug messages.
3992         * net/tramp.el (tramp-file-name-handler):
3993         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
3994         appropriate.
3996 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
3998         * calendar/calendar.el (calendar-update-mode-line):
3999         Do not overwrite mode-line-format if calendar-mode-line-format is
4000         nil.  (Bug#18467)
4002 2014-09-13  Leo Liu  <sdl.web@gmail.com>
4004         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
4005         (pcase--expand): Use it.
4006         (pcase-exhaustive): New macro.  (Bug#16567)
4008         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
4009         Add pcase-exhaustive.
4011 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
4013         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
4014         using the specified transfer-encoding, if any, or 'undecided'.
4015         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
4016         broken at the window margin.
4018 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
4020         Support rendering of HTML parts in Rmail (bug#4258).
4021         * mail/rmailmm.el (rmail-mime-process): Handle text/html
4022         separately from other text/ types.  Suppress tagline for
4023         multipart body.
4024         (rmail-mime-parse): Don't change visibility of tagline here.
4025         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
4026         Handle text/html specially.
4027         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
4028         (rmail-mime-insert-html, rmail-mime-render-html-shr)
4029         (rmail-mime-render-html-lynx): New functions.
4030         (rmail-mime-fix-inserted-faces): New function.
4031         (rmail-mime-process-multipart): Find the best part to show
4032         following rmail-mime-prefer-html if set.
4033         (rmail-mime-searching): New variable.
4034         (rmail-search-mime-message): Bind rmail-mime-searching to
4035         suppress rendering while searching.
4037 2014-09-12  Sam Steingold  <sds@gnu.org>
4039         * progmodes/sql.el (sql-product-alist): Add vertica.
4040         (sql-vertica-program, sql-vertica-options)
4041         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
4042         New functions and variables to support Vertica.
4043         Inspired by code by Roman Scherer <roman@burningswell.com>.
4045 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
4047         * ses.el (ses-file-format-extend-parameter-list): Rename from
4048         ses-file-format-extend-paramter-list, to correct a misspelling.
4049         All uses changed.
4051 2014-09-10  Alan Mackenzie  <acm@muc.de>
4053         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
4054         gets loaded at run-time).
4055         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
4056         c-lang-const to c-make-no-parens-syntax-table and correct the
4057         logic.
4058         (c-no-parens-syntax-table): Correct the logic of the
4059         c-lang-defvar.
4061 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4063         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
4064         plus misc cleanup.
4065         * progmodes/cc-mode.el (c-basic-common-init):
4066         Set open-paren-in-column-0-is-defun-start.
4067         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
4068         Remove declarations, unused.
4069         (run-mode-hooks): Remove declaration.
4070         (font-lock-defaults): Use plain `defvar' to declare.
4071         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
4072         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
4073         (c-make-mode-syntax-table): Don't micro-optimize.
4074         (c-keywords, c-keyword-member-alist): Simplify.
4075         (c-kwds-lang-consts): Don't eval at compile-time.
4076         (c-primary-expr-regexp): Comment out unused vars.
4077         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
4078         (c-font-byte-compile): New var.
4079         (c--compile): New function.  Use it instead of `byte-compile'.
4080         (c-cpp-matchers): Quote the value returned by
4081         `c-make-syntactic-matcher' in case it's not self-evaluating.
4082         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
4083         parentheses instead (in case MATCHER happens to be a list).
4084         (c-font-lock-enum-tail): Remove unused var `start'.
4085         (c-font-lock-objc-methods): Silence byte-compiler warnings.
4086         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
4087         test into an argument.
4088         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
4089         (c-get-char-property): Don't use `eval' just to unquote a constant.
4090         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
4091         more efficiently.
4092         (c-put-char-property-fun): Don't call `byte-compile' by hand.
4093         (c-clear-char-property, c-clear-char-properties): Check that `property'
4094         is a quoted constant.
4095         (c-emacs-features): Remove `infodock', `syntax-properties', and
4096         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
4097         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
4098         changing buffer, so we don't have to setq them again afterwards.
4099         (c-lang-const): Remove redundant symbolp assertions.
4100         (c-find-assignment-for-mode): Use `or'.
4101         * Makefile.in (compile-one-process): Remove cc-mode dependency.
4103 2014-09-09  Sam Steingold  <sds@gnu.org>
4105         * progmodes/sql.el (sql-default-directory): Fix type annotation.
4107 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4109         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
4110         Change doc comments into docstrings.
4111         * Makefile.in: Remove cc-awk dependency.
4113 2014-09-08  Sam Steingold  <sds@gnu.org>
4115         * progmodes/sql.el (sql-send-line-and-next): New command,
4116         bound to C-c C-n.
4117         (sql-show-sqli-buffer): Display the buffer instead of its name and
4118         bind the command to C-c C-z.
4119         (sql-default-directory): New user option.
4120         (sql-product-interactive): Bind `default-directory' to it to
4121         enable remote connections using Tramp.
4122         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
4123         suitable buffer is available.
4125 2014-09-08  Glenn Morris  <rgm@gnu.org>
4127         * calendar/calendar.el (calendar-basic-setup):
4128         Fix calendar-view-holidays-initially-flag and fancy display.
4129         * calendar/diary-lib.el (diary-live-p): Doc fix.
4131         * calendar/calendar.el (calendar-basic-setup):
4132         Avoid clobbering calendar with diary.  (Bug#18381)
4134 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4136         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
4138 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
4140         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
4141         as well (bug#18400).
4143 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
4145         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
4147 2014-09-06  Leo Liu  <sdl.web@gmail.com>
4149         * emacs-lisp/pcase.el (pcase): Doc fix.
4150         (pcase--split-vector): New function.
4151         (pcase--q1): Support vector qpattern.  (Bug#18327)
4153 2014-09-05  Sam Steingold  <sds@gnu.org>
4155         * textmodes/tex-mode.el (tex-print-file-extension): New user
4156         option.
4157         (tex-print): Use it instead of the hard-coded string.
4159 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
4161         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4162         Expand `default-directory'.
4164 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
4166         * scroll-bar.el (horizontal-scroll-bars-available-p):
4167         New function.
4168         (horizontal-scroll-bar-mode): Rewrite using
4169         horizontal-scroll-bars-available-p.
4170         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
4171         horizontal-scroll-bars-available-p.
4173 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4175         * subr.el (call-process-shell-command, process-file-shell-command):
4176         Make the `args' obsolete (bug#18409).
4177         (start-process-shell-command, start-file-process-shell-command):
4178         Use `declare'.
4180 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
4182         * calc/calc-forms.el (math-normalize-hms): Do a better check for
4183         "negative" hms forms.
4185 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
4187         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
4188         returns nil (bug#18391).
4190 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4192         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
4193         terminating paren (bug#18352).
4194         (eldoc-last-data-store): Return cached data.
4195         (eldoc-get-var-docstring): Avoid setq.
4196         (eldoc-get-fnsym-args-string): Clarify data flow.
4198 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4200         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
4201         case where we're currently providing part of the &rest arg after some
4202         &key args, as in define-ibuffer-op (bug#18048).
4204 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4206         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
4207         buffer-local setting of which-func-mode.
4208         (which-func-mode): Use defvar-local.
4209         (which-function-mode): Don't reset which-func-mode in each buffer since
4210         it might have been set by someone else.
4211         (which-func-update-ediff-windows): Check which-function-mode.
4213 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
4215         * frame.el (frame-initialize): Remove horizontal-scroll-bars
4216         from frame-initial-frame-alist.
4217         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
4218         (horizontal-scroll-bar-mode-explicit)
4219         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
4220         (toggle-horizontal-scroll-bar): Remove.
4221         (horizontal-scroll-bar-mode): Remove defcustom.
4222         (horizontal-scroll-bar-mode): Fix doc-string.
4223         (scroll-bar-toolkit-scroll)
4224         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
4226 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4228         * emacs-lisp/package.el (package-generate-description-file):
4229         Properly quote the arguments (bug#18332).  Change second arg.
4230         (package--alist-to-plist-args): Rename from package--alist-to-plist and
4231         quote the elements.
4232         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
4233         the *-pkg.el file.  Adjust to new calling convention of
4234         package-generate-description-file.
4236         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
4237         (gud-gdb-completions): Remove obsolete workaround.
4239 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
4241         * subr.el (posn-col-row): Revert the change from commit
4242         2010-11-13T21:07:58Z!eliz@gnu.org, which
4243         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
4244         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
4245         introduced an off-by-one error in the reported row when there is a
4246         header line.  (Bug#18384)
4248 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4250         * progmodes/python.el (python-indent-post-self-insert-function):
4251         Avoid electric colon at beginning-of-defun.  (Bug#18228)
4253 2014-09-03  Glenn Morris  <rgm@gnu.org>
4255         * tutorial.el (tutorial--display-changes):
4256         Fix 2014-08-01 change.  (Bug#18382)
4258 2014-09-03  Ken Brown  <kbrown@cornell.edu>
4260         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
4261         the Cygwin-w32 build.  (Bug#18347)
4263 2014-09-03  Glenn Morris  <rgm@gnu.org>
4265         * tar-mode.el (tar--extract, tar-extract):
4266         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
4268 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4270         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
4271         handle multiline elements (bug#18380).
4273 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
4275         * ls-lisp.el (ls-lisp-use-string-collate)
4276         (ls-lisp-UCA-like-collation): New defcustoms.
4277         (ls-lisp-string-lessp): Use them to control sorting by file
4278         names.  (Bug#18051)
4279         (ls-lisp-version-lessp): New function.
4280         (ls-lisp-handle-switches): Use it to implement the -v switch of
4281         GNU ls.
4282         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
4284 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
4286         * ibuffer.el: Replace mode-specific quit function with
4287         `quit-window' via `special-mode'.
4288         (ibuffer-mode-map): Use keybindings from special-mode-map instead
4289         of local overrides.
4290         (ibuffer): Don't store previous windows configuration.
4291         Let `quit-window' handle restoring.
4292         (ibuffer-quit): Remove function.  Use `quit-window' instead.
4293         (ibuffer-restore-window-config-on-quit): Remove variable.
4294         (ibuffer-prev-window-config): Remove variable.
4296 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
4298         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
4299         name instead of variable name in hook docstring.  (Bug#18349)
4301 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
4303         * window.el (display-buffer-at-bottom): Prefer bottom-left
4304         window to other bottom windows.  Reuse a bottom window if it
4305         shows the buffer already.  Suggested by Juri Linkov
4306         <juri@jurta.org> in discussion of (Bug#18181).
4308 2014-08-29  Leo Liu  <sdl.web@gmail.com>
4310         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
4311         append to minibuffer-setup-hook.  (Bug#18341)
4313 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4315         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
4316         byte-compiler.
4317         (lookup-syntax-properties): Silence byte-compiler.
4318         (c-lang-defconst): Quote the code with `lambda' rather than with
4319         `quote'.
4320         (c-lang-const): Avoid unneeded setq.
4321         (c-lang-constants-under-evaluation): Add docstring.
4322         (c-lang--novalue): New constant.
4323         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
4324         (c-get-lang-constant): Same here.
4325         Get the mode's value using `funcall' now that the code is quoted
4326         with `lambda'.
4328 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
4330         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
4331         (Bug#18326)
4333 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
4335         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
4336         interpretation of `portion-whole'.
4338 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
4340         * net/tramp-adb.el: Spell author name correctly.
4342 2014-08-28  João Távora  <joaotavora@gmail.com>
4344         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
4345         use url-expand-file-name.  (Bug#18310)
4347 2014-08-28  Glenn Morris  <rgm@gnu.org>
4349         * emulation/cua-rect.el (cua--highlight-rectangle):
4350         Avoid error at point-min.  (Bug#18309)
4352 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4354         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
4355         executable-find (bug#18244).
4357         * simple.el (self-insert-uses-region-functions): Defvar.
4359 2014-08-28  Glenn Morris  <rgm@gnu.org>
4361         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
4363 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
4365         * startup.el (normal-top-level): Now use internal--top-level-message.
4367 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
4369         * startup.el (normal-top-level): Use top-level-message.
4371 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4373         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
4374         URLs containing spaces and the like.
4376 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
4378         * subr.el (remq): Fix docstring (Bug#18253).
4380 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
4382         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
4384 2014-08-24  Alan Mackenzie  <acm@muc.de>
4386         Handle C++11's "auto" and "decltype" constructions.
4387         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
4388         and return 'decltype.
4389         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
4390         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
4391         keyword.
4392         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
4393         "decltype" keyword.
4394         (c-font-lock-c++-new): Handle "decltype" constructions.
4395         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
4396         New c-lang-defconsts/defvars.
4397         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
4398         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
4399         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
4400         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
4402         Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
4403         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
4404         off from c->-op-cont-re.
4405         (c->-op-cont-tokens): Change to use the above.
4406         (c->-op-without->-cont-regexp): New lang-const.
4407         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
4408         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
4411 2014-08-23  Alan Mackenzie  <acm@muc.de>
4413         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
4414         loop, bug #18306.  The bug was introduced on 2014-08-02.
4416 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
4418         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
4419         Don't recognize a Top node if there are other sectioning commands
4420         earlier in the Texinfo file.  This fixes a bug in
4421         texinfo-make-menu and avoids inflooping in
4422         texinfo-all-menus-update when they are invoked on texinfo.texi.
4424 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
4426         * window.el (window--side-window-p): New function.
4427         (split-window, window-splittable-p): Use window--side-window-p to
4428         determine whether WINDOW can be split (Bug#18304).
4429         * calendar/calendar.el (calendar-basic-setup): Fix one call of
4430         `window-splittable-p' and add another (Bug#18304).
4432 2014-08-20  Sam Steingold  <sds@gnu.org>
4434         * progmodes/python.el (python-new-pythonpath): Extract from
4435         `python-shell-calculate-process-environment'.
4437 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4439         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
4440         for &key args (bug#18048).
4442 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4444         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
4445         (eldoc-function-argstring-format): Remove.
4446         (eldoc-function-argstring): Always return upcase args.
4447         Use help-make-usage.  Don't add parens.
4448         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
4449         it's too late to do it right (bug#18048).
4451 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
4453         * scroll-bar.el (scroll-bar-horizontal-drag-1)
4454         (scroll-bar-toolkit-horizontal-scroll): When determining the
4455         paragraph direction, use the buffer of the window designated in
4456         the event.
4458 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
4460         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
4461         context of unified diff.
4463 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
4465         Add dependencies to fix loaddefs race during parallel builds.
4466         Without this, for example, 'make -j bootstrap' can fail and report
4467         "Opening input file: no such file or directory,
4468         .../lisp/calendar/diary-loaddefs.el ... recipe for target
4469         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
4470         got confused because diary-loaddefs.el was being built in parallel.
4471         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
4472         Depend on $(CAL_DIR)/cal-loaddefs.el.
4473         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
4475 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
4477         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
4478         portion-whole for scrolling right-to-left text.
4480 2014-08-15  Leo Liu  <sdl.web@gmail.com>
4482         * speedbar.el (speedbar-generic-list-tag-p): Allow special
4483         elements from imenu.
4485 2014-08-15  Glenn Morris  <rgm@gnu.org>
4487         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
4489 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
4491         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4492         Add Guile regexpses.
4494 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
4496         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
4497         add Guile debugger support for GUD.
4499 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4501         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
4502         (mouse-sel--ignore): New function.
4503         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
4504         (mouse-sel-original-interprogram-cut-function)
4505         (mouse-sel-original-interprogram-paste-function): Remove.
4507 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
4509         * vc/vc-git.el (vc-git-resolve-when-done): New function.
4510         Call "git add" when there are no longer conflict markers.
4512 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4514         * vc/vc-git.el (vc-git-find-file-hook): New function.
4515         Adds support for calling smerge (and resolve) on a conflicted file.
4516         (vc-git-conflicted-files): New function.
4517         Useful in itself and a step towards better smerge support.
4519 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4521         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
4522         to the first part if they're the same as the selection.
4524 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4526         * image-mode.el (image-transform-reset): New command and menu item.
4527         (image-mode-map): Rearrange the menu items to put presumably more
4528         obscure items at the end.
4530 2014-08-12  Juri Linkov  <juri@jurta.org>
4532         * vc/vc-annotate.el (vc-annotate-background-mode):
4533         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
4535 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4537         * files.el (out-of-memory-warning-percentage): Turn it off by default.
4539 2014-08-11  Sam Steingold  <sds@gnu.org>
4541         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
4542         the presence of known validators (tidy, (o)nsgmls).
4544 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
4546         Newsticker: introduce `newsticker-treeview-date-format'.  (Bug#17227)
4547         * net/newst-treeview.el (newsticker-treeview-date-format): New.
4548         (newsticker--treeview-list-add-item):
4549         Use `newsticker-treeview-date-format'.
4551 2014-08-11  Glenn Morris  <rgm@gnu.org>
4553         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
4554         chose coding system for writing before backing up, since it causes
4555         a more serious problem than the one it solves.  (Closes Bug#18141,
4556         reopens Bug#13522.)
4558 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
4560         * window.el (window-total-size): Make doc-string more self-contained.
4562         * window.el (display-buffer-below-selected): Restore original
4563         behavior if buffer is already displayed in the window below the
4564         selected one (Bug#18181).
4566 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4568         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
4569         event (bug#18212).
4571 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
4573         * info.el (info): Doc fix.
4575 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4577         * info.el (Info-mode-map): Override a global down-mouse-2 binding
4578         (bug#18212).
4580 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
4582         * simple.el (default-line-height): A floating-point value of
4583         line-spacing means a fraction of the default frame font's height,
4584         not of the font currently used by the 'default' face.
4585         Truncate the pixel value, like the display engine does.
4586         (window-screen-lines): Use window-inside-pixel-edges for
4587         determining the window height in pixels.  (Bug#18195)
4589 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
4591         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
4593 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
4595         Enumerate evaluated sexp diary entries (Bug#7911).
4596         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
4597         (icalendar-export-sexp-enumeration-days): New.
4598         (icalendar-export-region): Now `icalendar--convert-to-ical'
4599         returns a cons cell or a list of cons cells.
4600         (icalendar--convert-to-ical): Take care of
4601         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
4602         (icalendar--convert-ordinary-to-ical)
4603         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4604         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
4605         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
4606         (icalendar--convert-anniversary-to-ical): Return cons cell.
4607         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
4608         entries.  Return (list of) cons cells.
4610 2014-08-09  Juri Linkov  <juri@jurta.org>
4612         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
4613         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
4615 2014-08-09  Alan Mackenzie  <acm@muc.de>
4617         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
4618         for top-level that can cause unacceptable slow-down in scrolling.
4619         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
4620         Antipov from 2013-10-14 in emacs-devel.
4622 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4624         * ibuffer.el (ibuffer-mode-map): Use toggle button for
4625         `ibuffer-auto-mode' menu entry.
4626         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
4628 2014-08-08  Matthias Meulien  <orontee@gmail.com>
4630         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
4631         (Bug#16394)
4633 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
4635         * window.el (window--min-size-1): Explicitly set WINDOW arg in
4636         calls of window-min-pixel-height and window-min-pixel-width.
4638 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
4640         * progmodes/ada-mode.el:
4641         * net/tramp.el (tramp-handle-file-symlink-p):
4642         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
4643         about VMS, which we no longer support.
4644         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
4645         and fix a FIXME, using convert-standard-filename in place of
4646         removed ada-convert-file-name.
4648 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
4650         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
4652 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
4654         Refer to MS-DOS using the same name everywhere.
4655         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
4656         ``msdog'' become ``MS-DOS''.
4658 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
4660         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4661         Use cached "remote-copy-args" value, if available.  (Bug#18199)
4663 2014-08-07  Leo Liu  <sdl.web@gmail.com>
4665         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
4666         Revert change on 2014-03-22.
4668 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
4670         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
4671         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
4672         (Bug#13750).
4675 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4677         * image-mode.el (image-toggle-display-image): Always rescale images
4678         to not be bigger than the current window.
4680 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
4682         * net/eww.el (eww-bookmarks-directory): New variable.
4683         (eww-write-bookmarks): Use it.
4684         (eww-read-bookmarks): Ditto.
4686 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4688         * net/shr.el (shr-copy-url): Also copy the image URL.
4690 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
4692         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
4693         also for Tramp working buffers.
4695 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4697         * progmodes/python.el: Fix completions inside (i)pdb.
4698         (python-shell-completion-pdb-string-code): Make obsolete.
4699         (python-shell-completion-get-completions):
4700         Use python-shell-completion-string-code resending setup code
4701         continuously for (i)pdb.
4703 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
4705         * rect.el (rectangle--default-line-number-format): Rename
4706         from misspelled rectange--default-line-number-format (Bug#18045).
4707         All uses changed.
4709 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
4711         Don't mishandle year-9999 dates (Bug#18176).
4712         * calendar/parse-time.el (parse-time-rules):
4713         Allow years up to most-positive-fixnum.
4714         * calendar/time-date.el (date-to-time):
4715         Pass "Specified time is not representable" errors through.
4717 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4719         * progmodes/python.el: Completion code cleanups.
4720         (python-shell-completion-get-completions): Detect and send import
4721         statements directly to completion function.
4722         (python-shell-completion-at-point): Simplify prompt calculation
4723         and import vs input completion logic.
4725 2014-08-02  Alan Mackenzie  <acm@muc.de>
4727         Fix confusion in C++ file caused by comma in "= {1,2},".
4728         Bug #17756.
4729         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
4730         for a statement boundary marked by "}", check there's no "="
4731         before the "{".
4732         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
4733         non-nil `comma-delim' argument.
4734         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
4735         initializer expression more accurately.
4737         Correct loop termination condition in c-syntactic-skip-backward.
4738         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
4739         the situation where, after moving back out of a literal,
4740         skip-chars-backward doesn't move further, yet checks have still to
4741         be done.
4743 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
4745         * tutorial.el (tutorial--display-changes): Accept punctuation
4746         characters before the key binding.  (Bug#18146)
4748 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4750         * progmodes/python.el: Shell output capture enhancements.
4751         (python-shell-accept-process-output): New function.
4752         (inferior-python-mode)
4753         (python-shell-send-setup-code): Use it.
4755 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
4757         * calendar/icalendar.el (icalendar--decode-isodatetime):
4758         Use actual current-time-zone when converting to local time.  (Bug#15408)
4760 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
4762         * window.el (window--state-put-2): Handle horizontal scroll
4763         bars, if present.
4765 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4767         * menu-bar.el (menu-bar-update-buffers): Update item list format
4768         in `buffers-menu' to confirm with changes to `get_keyelt'
4769         (r117463).  (Bug#18016)
4771 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4773         * progmodes/python.el (inferior-python-mode): Make input prompts
4774         read-only.
4776 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
4778         * net/tramp-sh.el (tramp-get-remote-python): Also search for
4779         executables named "python2" or "python3".
4780         (tramp-get-remote-uid-with-python): Use parentheses around
4781         arguments to `print' to make it compatible with Python 3.
4782         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
4784 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
4786         * window.el (window--pixel-to-total): Use FRAME's root window, not
4787         that of the selected frame.  (Bug#18112, Bug#16674)
4789 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
4791         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
4792         (Bug#18117)
4794 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4796         * progmodes/python.el (inferior-python-mode): Doc fix.
4798 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
4800         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
4801         not a character, ignore it instead of raising an error.
4803         * calendar/todo-mode.el: Fix handling of marked items and make
4804         minor code improvements.
4805         (todo-edit-item): If there are marked items, ensure user can only
4806         invoke editing commands that work with marked items.
4807         (todo-edit-item--text): When there are marked items, make it a
4808         noop if invoked with point not on an item; otherwise, ensure it
4809         applies only to item at point.
4810         (todo-item-undone): If there are marked not-done items, return
4811         point to its original position before signaling user error.
4812         (todo--user-error-if-marked-done-item): New function.
4813         (todo-edit-item--header, todo-edit-item--diary-inclusion)
4814         (todo-item-done): Use it.
4816 2014-07-28  Glenn Morris  <rgm@gnu.org>
4818         * files.el (toggle-read-only): Re-add basic doc-string.
4819         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
4821         * progmodes/prolog.el (prolog-mode-keybindings-edit):
4822         Replace missing `switch-to-prolog' with `run-prolog'.
4823         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
4825 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
4827         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
4828         of file-wide setting when changing category-wide setting.
4830 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
4832         * doc-view.el (doc-view-open-text): Don't require that the
4833         document is saved in a file (e.g., email attachment).
4835 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4837         Parse completion input in a iPython friendly way.  (Bug#18084)
4838         * progmodes/python.el
4839         (python-shell-completion-at-point): Rename from
4840         python-shell-completion-complete-at-point.
4841         (inferior-python-mode): Use it.
4842         (python-completion-at-point): Rename from
4843         python-completion-complete-at-point.  Parse input up to first
4844         backward occurrence of whitespace, open-paren, close-paren or
4845         string delimiter.
4846         (python-mode): Use it.
4848 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4850         * progmodes/python.el
4851         (python-shell-with-shell-buffer): New macro.
4852         (python-shell-font-lock-get-or-create-buffer)
4853         (python-shell-font-lock-kill-buffer)
4854         (python-shell-font-lock-with-font-lock-buffer)
4855         (python-shell-font-lock-cleanup-buffer)
4856         (python-shell-font-lock-toggle): Use it.
4857         (python-shell-font-lock-turn-on)
4858         (python-shell-font-lock-turn-off): Use it.  Make command.
4860 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4862         Grab all Python process output before inferior-python-mode hooks.
4863         * progmodes/python.el (inferior-python-mode):
4864         Call accept-process-output and sit-for to ensure all output for process
4865         has been received before running hooks.
4866         (python-shell-internal-get-or-create-process):
4867         Cleanup accept-process-output and sit-for calls.
4869 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4871         More robust shell startup and code setup.
4872         * progmodes/python.el (python-shell-make-comint):
4873         Remove accept-process-output call.
4874         (python-shell-get-buffer): Return current buffer if major-mode is
4875         inferior-python-mode.
4876         (python-shell-get-or-create-process): Use it.
4877         (python-shell-send-setup-code): Send all setup code in one string,
4878         output success message and accept-process-output.
4880 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
4882         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
4883         Add rudimentary support for bidirectional text.
4885 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
4887         * frame.el (frame-notice-user-settings): Rewrite using
4888         frame-initial-frame-tool-bar-height.
4889         * menu-bar.el (menu-bar-horizontal-scroll-bar)
4890         (menu-bar-no-horizontal-scroll-bar): New functions.
4891         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
4892         scroll bars.
4893         * scroll-bar.el (scroll-bar-lines)
4894         (set-horizontal-scroll-bar-mode)
4895         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
4896         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
4897         (scroll-bar-toolkit-horizontal-scroll): New functions.
4898         (horizontal-scroll-bar-mode)
4899         (previous-horizontal-scroll-bar-mode)
4900         (horizontal-scroll-bar-mode-explicit): New variables.
4901         (horizontal-scroll-bar-mode): New option.
4902         (toggle-horizontal-scroll-bar): Do something.
4903         (top-level): Bind horizontal-scroll-bar mouse-1.
4904         * startup.el (tool-bar-originally-present): Remove variable.
4905         (command-line): Don't set tool-bar-originally-present.
4906         * window.el (window-min-height): Update doc-string.
4907         (window--dump-frame): Dump horizontal scroll bar values.
4908         (window--min-size-1): Handle minibuffer window separately.
4909         Count in margins and horizontal scroll bar.  Return safe value
4910         iff IGNORE equals 'safe.
4911         (frame-windows-min-size): New function (used by frame resizing
4912         routines).
4913         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
4914         scroll bars.
4915         (window--sanitize-window-sizes): New function.
4916         (window-split-min-size): Remove.
4917         (split-window): Count divider-width.  Don't use
4918         `window-split-min-size' any more.  Reword error messages.
4919         Sanitize windows sizes after splitting.
4921 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
4923         Use `defvar-local' more.
4924         * progmodes/hideshow.el
4925         (hs-c-start-regexp, hs-block-start-regexp)
4926         (hs-block-start-mdata-select, hs-block-end-regexp)
4927         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
4928         remove corresponding `make-variable-buffer-local' top-level calls.
4930 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4932         Cleanup error signals.  (Bug#18067)
4933         * progmodes/python.el
4934         (python-indent-shift-left): Use user-error instead.
4935         (python-shell-prompt-detect): Use lwarn with python group.
4936         (python-completion-complete-at-point)
4937         (python-eldoc--get-doc-at-point): Don't signal error.
4939 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4941         Support for packages in Python shell.  (Bug#13570)
4942         * progmodes/python.el (python-shell--package-depth): New var.
4943         (python-shell-package-enable): New command.
4944         (python-util-list-directories, python-util-list-files)
4945         (python-util-list-packages): New functions.
4947 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4949         Faster comint output.  (Bug#16875)
4950         * progmodes/python.el:
4951         (python-comint-output-filter-function): Make obsolete.
4952         (python-comint-postoutput-scroll-to-bottom): New function.
4953         (inferior-python-mode): Set comint-output-filter-functions to a
4954         minimum.
4956 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4958         * progmodes/python.el (python-shell-font-lock-post-command-hook):
4959         Safeguard current point and undo history.
4961 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4963         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
4964         * progmodes/python.el:
4965         (python-shell-prompt-input-regexps): Add iPython block prompt.
4966         (python-shell-output-syntax-table): Delete var.
4967         (python-shell-font-lock-with-font-lock-buffer): New macro.
4968         (python-shell-font-lock-get-or-create-buffer)
4969         (python-shell-font-lock-kill-buffer)
4970         (python-shell-font-lock-cleanup-buffer)
4971         (python-shell-font-lock-post-command-hook)
4972         (python-shell-font-lock-turn-off): New functions.
4973         (python-shell-font-lock-turn-on): New function.
4974         (inferior-python-mode): Use it.
4975         (python-shell-font-lock-toggle): New command.
4976         (python-shell-font-lock-enable): Rename from
4977         python-shell-enable-font-lock.
4978         (run-python-internal): Use it.
4979         (python-shell-font-lock-comint-output-filter-function): New function.
4980         (python-shell-comint-end-of-output-p): New function.
4981         (python-shell-output-filter): Use it.
4982         (python-util-comint-last-prompt): New function.
4983         (python-util-text-properties-replace-name): New function.
4985 2014-07-25  Glenn Morris  <rgm@gnu.org>
4987         * vc/ediff-init.el (ediff-toggle-read-only-function):
4988         * vc/ediff-util.el (ediff-toggle-read-only):
4989         Replace obsolete toggle-read-only with read-only-mode.
4991 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
4993         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
4994         with `save-match-data'.  (Bug#18095)
4996 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4998         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
4999         order to ensure that row and col are lexically bound inside the
5000         evaluated sexp.
5002 2014-07-21  Glenn Morris  <rgm@gnu.org>
5004         * progmodes/hideif.el (hide-ifdef-mode-submap):
5005         Also substitute read-only-mode.
5006         * bindings.el (mode-line-toggle-read-only):
5007         * bs.el (bs-toggle-readonly):
5008         * buff-menu.el (Buffer-menu-toggle-read-only):
5009         * dired.el (dired-toggle-read-only):
5010         * files.el (view-read-only, find-file-read-only)
5011         (find-file-read-only-other-window)
5012         (find-file-read-only-other-frame):
5013         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
5014         Doc fixes re toggle-read-only.
5016 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5018         * progmodes/python.el: Add comment about pipe buffering and
5019         solutions for missing/delayed output in inferior Python shells.
5020         (Bug#17304)
5022         * progmodes/python.el (python-mode): Don't set
5023         mode-require-final-newline.  (Bug#17990)
5025         Make python.el work with IPython automatically.  (Bug#15510)
5026         * progmodes/python.el:
5027         (python-shell-completion-setup-code): New value supporting iPython.
5028         (python-shell-completion-string-code): New value supporting iPython.
5029         (python-shell-completion-get-completions): Use them.
5030         (python-shell-completion-module-string-code): Make obsolete.
5031         (python-shell-prompt-input-regexps)
5032         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
5033         (python-shell-output-filter): Fix comment typo.
5035         Fix Python shell prompts detection for remote hosts.
5036         * progmodes/python.el (python-shell-prompt-detect):
5037         Replace call-process with process-file and make it more robust.
5039         Autodetect Python shell prompts.  (Bug#17370)
5040         * progmodes/python.el:
5041         (python-shell-interpreter-interactive-arg)
5042         (python-shell-prompt-detect-enabled)
5043         (python-shell-prompt-detect-failure-warning)
5044         (python-shell-prompt-input-regexps)
5045         (python-shell-prompt-output-regexps): New vars.
5046         (python-shell-prompt-calculated-input-regexp)
5047         (python-shell-prompt-calculated-output-regexp): New vars.
5048         (python-shell-get-process-name)
5049         (python-shell-internal-get-process-name)
5050         (python-shell-output-filter)
5051         (python-shell-completion-get-completions): Use them.
5052         (python-shell-prompt-detect)
5053         (python-shell-prompt-validate-regexps): New functions.
5054         (python-shell-prompt-set-calculated-regexps): New function.
5055         (inferior-python-mode): Use it.  Also honor overriden
5056         python-shell-interpreter and python-shell-interpreter-args.
5057         (python-shell-make-comint): Honor overriden
5058         python-shell-interpreter and python-shell-interpreter-args.
5059         (python-shell-get-or-create-process): Make it testable by allowing
5060         to call run-python non-interactively.
5061         (python-util-valid-regexp-p): New function.
5062         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
5063         (python-shell-prompt-output-regexp)
5064         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
5066 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5068         * emacs-lisp/smie.el (smie-config--guess-1): Split from
5069         smie-config--guess.
5070         (smie-config--guess): Use it.
5072         * emacs-lisp/edebug.el: Use nadvice.
5073         (edebug-original-read): Remove.
5074         (edebug--read): Rename from edebug-read and add `orig' arg.
5075         (edebug-uninstall-read-eval-functions)
5076         (edebug-install-read-eval-functions): Use nadvice.
5077         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
5078         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
5079         (edebug-read-string, edebug-read-function): Use just `read'.
5080         (edebug-original-debug-on-entry): Remove.
5081         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
5082         `orig' arg.
5083         (debug-on-entry): Override with nadvice.
5085         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
5086         it also makes sense to bind it to a non-mouse event.
5088         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
5090 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5092         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
5093         (bug#18015).
5095         * rect.el (rectangle--string-preview): Don't assume there
5096         a non-nil default (bug#17984).
5098 2014-07-16  Glenn Morris  <rgm@gnu.org>
5100         * desktop.el (after-init-hook): Disable startup frame restoration
5101         in non-graphical situations.  (Bug#17693)
5103         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
5104         if it was "empty", or used for a different set of files.  (Bug#17884)
5106 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
5108         * bindings.el (mode-line-remote): If default-directory is not a
5109         string, don't call file-remote-p on it; instead state in the
5110         help-echo that it is nil.  (Bug#17986)
5112 2014-07-14  Daniel Colascione  <dancol@dancol.org>
5114         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
5115         to `macroexpand-all'
5117         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
5118         Use `macroexpand-all' instead of `cl-macroexpand-all'.
5120 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
5122         Fix bug: C-x v v discarded existing log message (Bug#17884).
5123         * vc/vc-dispatcher.el (vc-log-edit):
5124         Don't clobber an already-existing log message.
5126 2014-07-12  Glenn Morris  <rgm@gnu.org>
5128         * vc/log-edit.el (log-edit-changelog-entries):
5129         Check for a visited-but-never-saved ChangeLog.
5131 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5133         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
5134         a non-existing file (bug#17970).
5136         * faces.el (face-name): Undo last change.
5137         (x-resolve-font-name): Don't call face-name (bug#17956).
5139 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5141         Fix dedenters and electric colon handling.  (Bug#15163)
5142         * progmodes/python.el
5143         (python-rx-constituents): Add dedenter and block-ender.
5144         (python-indent-dedenters, python-indent-block-enders): Delete.
5145         (python-indent-context): Return new case for dedenter-statement.
5146         (python-indent-calculate-indentation): Handle new case.
5147         (python-indent-calculate-levels): Fix levels calculation for
5148         dedenter statements.
5149         (python-indent-post-self-insert-function): Fix colon handling.
5150         (python-info-dedenter-opening-block-message): New function.
5151         (python-indent-line): Use it.
5152         (python-info-closing-block)
5153         (python-info-closing-block-message): Remove.
5154         (python-info-dedenter-opening-block-position)
5155         (python-info-dedenter-opening-block-positions)
5156         (python-info-dedenter-statement-p): New functions.
5158 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
5160         * files.el (out-of-memory-warning-percentage): New defcustom.
5161         (warn-maybe-out-of-memory): Use it.
5163 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
5165         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
5166         when calling `read-string'.  (Bug#17839)
5168 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
5170         * files.el (warn-maybe-out-of-memory): Fix the wording of the
5171         warning.
5173 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
5175         * files.el (warn-maybe-out-of-memory): New function.
5176         (find-file-noselect): Use it.
5178 2014-07-09  Sam Steingold  <sds@gnu.org>
5180         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
5181         `constant' like `bless', `return' &c
5183 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5185         * rect.el (apply-on-rectangle): Check forward-line really moved to the
5186         next line.
5188 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5190         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
5191         the middle of a line (bug#17896).
5193 2014-07-09  Juri Linkov  <juri@jurta.org>
5195         * startup.el (command-line): Append displaying the warning about
5196         the errors in the init file to the end of `after-init-hook'.
5197         (Bug#17927)
5199         * faces.el (face-name): Return input arg `face' as-is
5200         when it's not a symbol.
5201         (x-resolve-font-name): Don't check if the face is a symbol.
5202         (Bug#17956)
5204         * facemenu.el (list-colors-print): In help-echo format use %.2f
5205         instead of %d because now HSV values are floating-point components
5206         between 0.0 and 1.0.
5208 2014-07-09  Glenn Morris  <rgm@gnu.org>
5210         * emulation/cua-rect.el (cua--activate-rectangle):
5211         Avoid setting cua--rectangle to nil.  (Bug#17877)
5213 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
5215         * calendar/todo-mode.el: Fix wrong-type-argument error when
5216         marking multiple consecutive items.
5217         (todo-toggle-mark-item): Don't try to mark the empty lines at the
5218         end of the todo and done items sections.  Note in doc string that
5219         items marked by passing a numeric prefix argument can include the
5220         last todo and first done items.
5221         (todo-mark-category): Don't try to mark the empty line between the
5222         todo and done items sections.
5224 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5226         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
5227         proper Lisp quoting (bug#17934).
5229         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
5230         require-final-newline since prog-mode already took care of it (bug#17947).
5232 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
5234         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
5235         refer to the Todo mode Info manual.  Update the comment on
5236         requiring cl-lib.
5237         (todo-find-filtered-items-file): Add todo-prefix overlays.
5238         (todo-filter-items): Reorder a let-bound variable to avoid a
5239         wrong-type-argument error on canceling the file choice dialog.
5241 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5243         * progmodes/octave.el (inferior-octave-mode):
5244         Set comint-input-ring-size to a number (bug#17912).
5246 2014-07-09  Juri Linkov  <juri@jurta.org>
5248         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
5249         and `isearch-mode' associated with nil.  (Bug#17849)
5251 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5253         * linum.el (linum--face-height): New function (bug#17813).
5254         (linum-update-window): Use it to adjust margin to linum's width.
5256         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
5257         * eshell/em-smart.el (eshell-smart-scroll-window):
5258         Use with-selected-window.
5260         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
5261         Remove also pointless window&mark manipulation.
5263         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
5264         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
5265         (perl-continuation-line-p): Don't skip over anything else than labels.
5266         Return the previous char.
5267         (perl-calculate-indent): Use syntax-ppss instead of parse-start
5268         and update callers accordingly.  For continuation lines, check the
5269         the case of array hashes.
5270         (perl-backward-to-noncomment): Make it non-interactive.
5271         (perl-backward-to-start-of-continued-exp): Rewrite.
5273 2014-07-08  Sam Steingold  <sds@gnu.org>
5275         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
5276         New user commands.
5278 2014-07-08  Juri Linkov  <juri@jurta.org>
5280         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
5281         (vc-annotate-color-map): Use less saturated colors (20%) for
5282         background-mode.
5283         (vc-annotate-very-old-color): Add default value for background-mode.
5284         (vc-annotate-background): Set default value to nil since now text on
5285         the default backgrounds should be legible in light and dark modes.
5286         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
5287         (Bug#17808)
5289 2014-07-08  Juri Linkov  <juri@jurta.org>
5291         * simple.el (transpose-chars): Don't move point into read-only area.
5292         (Bug#17829)
5294 2014-07-08  Juri Linkov  <juri@jurta.org>
5296         * window.el (with-displayed-buffer-window): New macro.
5297         (with-temp-buffer-window, with-current-buffer-window):
5298         Use `macroexp-let2' to evaluate and bind variables
5299         in the same order as macro arguments.
5300         (display-buffer--action-function-custom-type):
5301         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
5303         * minibuffer.el (minibuffer-completion-help): Replace
5304         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
5305         with actions that display *Completions* at-bottom when called
5306         from the minibuffer, or below-selected in a normal buffer.
5307         Associate `window-height' with `fit-window-to-buffer'.
5308         Let-bind `pop-up-windows' to nil.
5310         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
5311         instead of `with-current-buffer-window'.  (Bug#17809)
5313 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
5315         * progmodes/hideif.el (hide-ifdef-env): Change to global.
5316         (hide-ifdef-env-backup): New variable.
5317         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
5318         New customizable variables.
5319         (hif-clear-all-ifdef-defined): New defun.
5320         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
5321         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
5322         (hif-tokenize): Fix for MS-DOS/Win EOL style.
5323         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
5324         Fix bug to hide the correct #elif region(s).
5325         (hif-range-elif): New defun.
5326         (hif-recurse-level): New var.
5327         (hif-evaluate-region, hif-evaluate-macro): New defun.
5328         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
5329         fully hidden.
5330         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
5331         Better interaction.
5333 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
5335         * net/dbus.el (dbus-peer-handler): New defun.
5336         (dbus-register-service): Register it.  (Bug#17858)
5337         (dbus-managed-objects-handler): Fix docstring.
5339 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
5341         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
5342         (narrow-to-defun): New arg include-comments, defaulting to it
5343         (bug#16328).
5345 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5347         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
5348         different calling convention to rectangle--unhighlight-for-redisplay.
5350 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
5352         * net/tramp.el (tramp-call-process): Handle error strings.
5354         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
5356         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
5357         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
5359         * net/trampver.el: Update release number.
5361 2014-07-03  Juri Linkov  <juri@jurta.org>
5363         * desktop.el (desktop-save): Rename arg `auto-save' to
5364         `only-if-changed'.  Doc fix.  (Bug#17873)
5366 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5368         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5369         Use insert-for-yank (bug#17271).
5371 2014-07-03  Leo Liu  <sdl.web@gmail.com>
5373         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
5374         Support lexical-binding.
5376 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5378         * vc/log-edit.el (log-edit-goto-eoh): New function.
5379         (log-edit--match-first-line): Use it (bug#17861).
5381 2014-07-03  Glenn Morris  <rgm@gnu.org>
5383         * vc/log-edit.el (log-edit-hook): Add missing :version.
5385 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5387         * progmodes/python.el (python-indent-post-self-insert-function):
5388         Enhancements to electric indentation behavior inside
5389         parens.  (Bug#17658)
5391 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5393         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
5394         buffer-invisibility-spec (bug#17867).
5396 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
5398         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
5399         pass "-a".
5401 2014-07-03  Glenn Morris  <rgm@gnu.org>
5403         * cus-edit.el (help):
5404         * finder.el (finder-known-keywords):
5405         * help.el (help-for-help-internal):
5406         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
5407         (ediff-redraw-registry-buffer):
5408         * vc/ediff-ptch.el (ediff-patch-file-internal):
5409         Doc fixes re "online" help.  (Bug#17803)
5411         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
5412         (idlwave-mode): Doc URL update.
5414 2014-07-01  Juri Linkov  <juri@jurta.org>
5416         * man.el: Display man pages immediately and use process-filter
5417         to format them asynchronously.
5418         (Man-width): Doc fix.
5419         (man): Doc fix.
5420         (Man-start-calling): Use `with-selected-window' to get
5421         `frame-width' and `window-width'.
5422         (Man-getpage-in-background): Call `Man-notify-when-ready'
5423         immediately after creating a new buffer.  Call `Man-mode' and set
5424         `mode-line-process' in the created buffer.  Set process-filter to
5425         `Man-bgproc-filter' in start-process branch.  In call-process branch
5426         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
5427         Use `Man-start-calling' inside `with-current-buffer'.
5428         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
5429         (Man-cleanup-manpage): Don't print messages.
5430         (Man-bgproc-filter): New function.
5431         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
5432         user moved it during asynchronous formatting.  Move calls of
5433         `Man-fontify-manpage' and `Man-cleanup-manpage' to
5434         `Man-bgproc-filter'.  Move the call of `Man-mode' to
5435         `Man-getpage-in-background'.  Use `quit-restore-window'
5436         instead of `kill-buffer'.  Use `message' instead of `error'
5437         because errors are caught by process sentinel.
5438         (Man-mode): Move calls of `Man-build-page-list',
5439         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
5440         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
5442         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
5443         for the message about the man page cleaned up.
5445 2014-07-01  Mario Lang  <mlang@delysid.org>
5447         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
5448         cosutomization option `gnutls-verify-error'.
5450 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5452         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
5453         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
5455         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
5456         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
5457         is suspended (bug#17857).
5459 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
5461         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5462         Prefer utf-8 coding.  (Bug#17859)
5464 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5466         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
5467         for `reverse'.
5469 2014-06-30  Glenn Morris  <rgm@gnu.org>
5471         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
5472         (autoload-ensure-default-file): Maybe make existing output writable.
5473         * Makefile.in (AUTOGEN_VCS): Remove.
5474         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
5476 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5478         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
5480 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5482         New if-let, when-let, thread-first and thread-last macros.
5484         * emacs-lisp/subr-x.el
5485         (internal--listify, internal--check-binding)
5486         (internal--build-binding-value-form, internal--build-binding)
5487         (internal--build-bindings): New functions.
5488         (internal--thread-argument, thread-first, thread-last)
5489         (if-let, when-let): New macros.
5491 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
5493         * net/rcirc.el (rcirc-buffer-process): Restore previous
5494         behaviour.  (Bug#17772)
5496 2014-06-29  Alan Mackenzie  <acm@muc.de>
5498         Don't call c-parse-state when c++-template-syntax-table is active.
5499         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
5500         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
5501         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
5503 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
5505         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
5506         account for file-wide setting of todo-top-priorities-overrides.
5507         Make code a bit cleaner.
5509 2014-06-28  Glenn Morris  <rgm@gnu.org>
5511         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
5513 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
5515         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
5516         category-wide setting of todo-top-priorities-overrides, check for
5517         a file-wide setting and fontify accordingly.
5519 2014-06-28  Glenn Morris  <rgm@gnu.org>
5521         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
5523 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5525         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
5527 2014-06-28  K. Handa  <handa@gnu.org>
5529         Fix Bug#17739.
5531         * composite.el: Setup composition-function-table for dotted circle.
5532         (compose-gstring-for-dotted-circle): New function.
5534         * international/characters.el: Add category "^" to all
5535         non-spacing characters.
5537 2014-06-28  Glenn Morris  <rgm@gnu.org>
5539         * Makefile.in (doit): Remove force rule.
5540         (custom-deps, finder-data, autoloads, update-subdirs)
5541         (compile-one-process): PHONY targets do not need force rules.
5543         * Makefile.in (compile-main, compile, compile-always):
5544         No need to explicitly pass variables to ourself in recursive calls.
5546 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5548         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
5550 2014-06-26  Glenn Morris  <rgm@gnu.org>
5552         * Makefile.in (update-authors): Update for moved authors.el.
5554 2014-06-26  Leo Liu  <sdl.web@gmail.com>
5556         * skeleton.el (skeleton-end-hook): Default to nil and move the
5557         work to skeleton-insert.  (Bug#17850)
5559 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
5561         * calc/calc-alg.el (math-beforep):
5562         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
5563         Simplify because string-lessp can accept symbols as args.
5565 2014-06-26  Daiki Ueno  <ueno@gnu.org>
5567         * emacs-lisp/package.el (package--check-signature):
5568         If package-check-signature is allow-unsigned, don't signal error when
5569         we can't verify signature because of missing public key
5570         (bug#17625).
5572 2014-06-26  Glenn Morris  <rgm@gnu.org>
5574         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
5575         Remove outdated declaration.
5577         * emacs-lisp/authors.el (authors-valid-file-names)
5578         (authors-renamed-files-alist): Additions.
5580 2014-06-26  Leo Liu  <sdl.web@gmail.com>
5582         * textmodes/picture.el (picture-set-tab-stops):
5583         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
5584         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
5586         * progmodes/asm-mode.el (asm-calculate-indentation):
5587         Use indent-next-tab-stop.
5589         * indent.el (indent-accumulate-tab-stops): New function.
5591 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5593         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
5594         (package-desc-status): Obey it.
5596 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
5598         * calendar/todo-mode.el: Fix two bugs.
5599         (todo-insert-item--basic): If user cancels item insertion to
5600         another category before setting priority, show original category
5601         whether it is in the same or a different file.
5602         (todo-set-item-priority): After selecting category, instead of
5603         moving point to top, which extends an active region, restore it.
5605 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5607         * help-fns.el (describe-function-1): Check file-name is a string before
5608         calling help-fns--autoloaded-p (bug#17564).
5610 2014-06-26  Juri Linkov  <juri@jurta.org>
5612         * desktop.el (desktop-auto-save-enable)
5613         (desktop-auto-save-disable): New functions.
5614         (desktop-save-mode, desktop-auto-save-timeout): Use them.
5615         (desktop-read): Disable the autosave before loading the desktop,
5616         and enable afterwards.  (Bug#17351)
5618 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5620         Fix some indentation problem with \; and pipes (bug#17842).
5621         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
5622         (sh-smie--default-forward-token, sh-smie--default-backward-token):
5623         New functions.
5624         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
5625         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
5626         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
5628 2014-06-26  Glenn Morris  <rgm@gnu.org>
5630         * emacs-lisp/find-func.el (find-function-C-source-directory):
5631         Use file-accessible-directory-p.
5633         * ps-samp.el: Make it slightly less awful.
5634         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
5635         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
5636         Only set local values.
5637         (ps-article-subject, ps-article-author): Use standard functions
5638         like mail-fetch-field.
5639         (ps-info-file, ps-info-node): Use match-string.
5640         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
5641         (ps-samp-ps-setup): ... new function.
5643         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
5644         Optimize away code unneeded on any modern Emacs.
5646         * emacs-lisp/authors.el: Move to ../admin.
5648         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
5650 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
5652         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
5653         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
5654         performance enhancements.
5655         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
5656         expansion.
5657         (hif-factor, hif-string-concatenation, intern-safe): Support string
5658         concatenation and argumented macro expansion.
5659         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
5660         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
5661         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
5662         (hif-canonicalize-tokens, hif-place-macro-invocation)
5663         (hif-parse-macro-arglist): Mostly new functions for supporting
5664         argumented macro expansion.
5665         (hif-string-concatenation, hif-stringify, hif-token-concat)
5666         (hif-token-stringification, hif-token-concatenation):
5667         Stringification and concatenation.
5668         (hif-find-next-relevant): Fix comments.
5669         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
5670         some cases involving #elif.
5671         (hif-find-define, hif-add-new-defines): New functions for automatically
5672         scanning of defined symbols.
5673         (hide-ifdef-guts): Fix for defined symbol auto scanning.
5674         (hide-ifdef-undef): Fix behavior to match CPP.
5676 2014-06-25  Glenn Morris  <rgm@gnu.org>
5678         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
5679         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
5680         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
5681         files.  They are not relevant to the original issue (bug#1004),
5682         and cause unnecessary recompilation (bug#2151).
5684 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5686         * play/landmark.el: Use lexical-binding and avoid `intangible'.
5687         (landmark--last-pos): New var.
5688         (landmark--intangible-chars): New const.
5689         (landmark--intangible): New function.
5690         (landmark-mode, landmark-move): Use it.
5691         (landmark-mode): Remove properties.
5692         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
5693         (landmark-cross-qtuple):
5694         Don't worry about `intangible' any more.
5695         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
5696         (landmark-init-display): Don't set `intangible' and `point-entered'.
5697         (square): Remove.  Inline it instead.
5698         (landmark--distance): Rename from `distance'.
5699         (landmark-calc-distance-of-robot-from): Rename from
5700         calc-distance-of-robot-from.
5701         (landmark-calc-smell-internal): Rename from calc-smell-internal.
5703 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
5705         * files.el (dir-locals-find-file, file-relative-name):
5706         * info.el (Info-complete-menu-item):
5707         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
5708         to compare-strings to avoid out-of-range errors.
5709         * subr.el (string-prefix-p): Adjust to match strict range
5710         checking in compare-strings.
5712 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
5714         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
5715         for comment lines non-greedy and stopping at newlines to fix stack
5716         overflows with large files.
5718 2014-06-24  Eli Barzilay  <eli@barzilay.org>
5720         * calculator.el (calculator-last-input): Drop 'ascii-character property
5721         lookup.
5723 2014-06-24  Leo Liu  <sdl.web@gmail.com>
5725         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
5726         tab-stop-list to nil.  (Bug#16381)
5728         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
5729         (indent-rigidly-left-to-tab-stop)
5730         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
5731         (move-to-tab-stop): Change callers.
5733 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
5735         * skeleton.el (skeleton-insert): Yet another fix of the doc string
5736         wrt behavior of \n as the first/last element of a skeleton.
5738 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
5740         * net/tramp-adb.el (tramp-adb-handle-process-file):
5741         * net/tramp-sh.el (tramp-sh-handle-process-file):
5742         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
5743         the output buffer when DISPLAY is non-nil.  (Bug#17815)
5745 2014-06-24  Glenn Morris  <rgm@gnu.org>
5747         * play/landmark.el (landmark-move-down, landmark-move-up):
5748         Fix 2007-10-20 change - preserve horizontal position.
5750 2014-06-23  Sam Steingold  <sds@gnu.org>
5752         * simple.el (kill-append): Remove undo boundary depending on ...
5753         (kill-append-merge-undo): New user option.
5755 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5757         * simple.el (handle-shift-selection, exchange-point-and-mark)
5758         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
5759         (transient-mark-mode): Use&set the global value.
5760         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
5761         * emulation/edt.el (edt-emulation-off): Save&restore the global
5762         transient-mark-mode setting.
5763         * obsolete/pc-select.el (pc-selection-mode): Use the
5764         transient-mark-mode function.
5766 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
5768         * international/fontset.el (script-representative-chars):
5769         Add representative characters for scripts added in Unicode 7.0.
5770         (otf-script-alist): Synchronize with the latest registry of OTF
5771         script tags.
5773         * international/characters.el (char-script-table): Update for
5774         scripts added and codepoint ranges changed in Unicode 7.0.
5776 2014-06-23  Eli Barzilay  <eli@barzilay.org>
5778         * calculator.el (calculator-standard-displayer): Fix bug in use of
5779         `calculator-groupize-number'.
5780         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
5781         `eval' code, so it works in v24.3.1 too.
5782         (calculator-last-input): Comment to clarify purpose.
5784 2014-06-22  Mario Lang  <mlang@delysid.org>
5786         * textmodes/rst.el (rst-comment-region): From from -> from.
5788         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
5790 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
5792         * electric.el (electric-layout-post-self-insert-function):
5793         * emacs-lisp/ert.el (ert--insert-infos):
5794         * obsolete/vi.el (vi-set-mark):
5795         * term.el (term-handle-scroll):
5796         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
5797         * wid-edit.el (widget-editable-list-value-create):
5798         Prefer point-marker to copy-marker of point.
5800 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5802         Fix completion retrieval parsing (bug#17209).
5803         * progmodes/python.el (python-mode):
5804         (python-util-strip-string): New function.
5805         (python-shell-completion-get-completions): Use it.
5807 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5809         * skeleton.el (skeleton-insert): Fix last change.
5811 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5813         Enhancements for outline integration (bug#17796).
5814         * progmodes/python.el (python-mode): Properly set
5815         outline-heading-end-regexp so that comments after colons for
5816         defuns are supported.
5818 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5820         * skeleton.el (skeleton-insert): Doc fix.
5822 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5824         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
5825         (smie-config-guess): Use smie-config-local so the rules are obeyed
5826         (bug#17818).
5828         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
5829         since it's already done inside the loop (bug#17819).
5831 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
5833         * mouse.el (mouse-drag-line): Re-remove code initially removed
5834         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
5835         (Bug#17819).
5837 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
5840         align with the surrounding parent (bug#17721).
5842 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5844         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
5845         locally to nil.
5846         (texinfo-insert-block, texinfo-insert-@end)
5847         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
5848         local setting of skeleton-end-newline by adding an explicit \n to
5849         the skeletons where appropriate.  (Bug#17801)
5851 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5853         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
5854         (smie-indent--hanging-p): Use it.
5855         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
5857 2014-06-21  Leo Liu  <sdl.web@gmail.com>
5859         * simple.el (read-quoted-char): Don't let help chars pop up help
5860         buffer.  (Bug#16617)
5862 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5864         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
5865         for | (bug#17621).
5867         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
5868         Drop unknown events instead of burping.
5870 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5872         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
5873         and later.  (Bug#17790)
5875 2014-06-21  Juri Linkov  <juri@jurta.org>
5877         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
5878         to `soft'.  (Bug#17554)
5880 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5882         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
5883         (bug#17737).
5885 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
5887         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
5888         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
5890 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
5892         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
5893         `unread-command-events'.
5895 2014-06-19  William Xu  <william.xwl@gmail.com>
5897         * progmodes/hideif.el (hif-string-to-number): Don't return float for
5898         hex integer constants (bug#17807).
5900 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5902         * international/mule-util.el (truncate-string-ellipsis): New var.
5903         (truncate-string-to-width): Use it.
5905 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
5907         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
5908         (lisp-string-in-doc-position-p): New function, extracted from
5909         lisp-font-lock-syntactic-face-function.
5910         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
5912 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
5914         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
5916 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5918         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
5919         (bubbles--game-over): Don't add `intangible' properties since they
5920         didn't work anyway.
5922 2014-06-18  Juri Linkov  <juri@jurta.org>
5924         * vc/ediff-init.el (ediff-current-diff-Ancestor)
5925         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
5926         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
5927         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
5928         Add `min-colors 88' version with removed black/white foregrounds.
5929         (Bug#10181)
5931 2014-06-18  Juri Linkov  <juri@jurta.org>
5933         * vc/diff-mode.el (diff-changed): Empty face definition to use
5934         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
5935         (diff-context): Use darker color on light background and
5936         lighter color on dark background.
5938 2014-06-18  Juri Linkov  <juri@jurta.org>
5940         * vc/diff-mode.el (diff-refine-changed): Rename from
5941         `diff-refine-change' for consistency with `diff-changed'.
5942         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
5944         * vc/smerge-mode.el (smerge-refined-changed): Rename from
5945         `smerge-refined-change'.
5946         (smerge-refined-change): Add obsolete face alias.
5948 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5950         * rect.el (rectangle-preview): New custom.
5951         (rectangle): New group.
5952         (rectangle--pos-cols): Add `window' argument.
5953         (rectangle--string-preview-state, rectangle--string-preview-window):
5954         New vars.
5955         (rectangle--string-flush-preview, rectangle--string-erase-preview)
5956         (rectangle--space-to, rectangle--string-preview): New functions.
5957         (string-rectangle): Use them.
5958         (rectangle--inhibit-region-highlight): New var.
5959         (rectangle--highlight-for-redisplay): Obey it.  Make sure
5960         `apply-on-region' uses the point-crutches of the right window.
5961         Use :align-to rather than multiple spaces.
5963 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
5965         * ruler-mode.el (ruler-mode-window-col)
5966         (ruler-mode-mouse-set-left-margin)
5967         (ruler-mode-mouse-set-right-margin): Fix calculation of column
5968         from mouse position (Bug#17768).
5970 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
5972         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
5973         without varname or rhs causes crash.
5974         (dun-ftp): Fix bug where blank ftp password is allowed, making it
5975         impossible to win endgame.
5976         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
5977         rlogin is anymore.
5978         (dun-help): Bump version number; update contact info.
5980 2014-06-15  Eli Barzilay  <eli@barzilay.org>
5982         * calculator.el (calculator-prompt, calculator-remove-zeros)
5983         (calculator-mode-hook, calculator-operators, calculator-stack)
5984         (calculator-mode): Tweak docstring.
5985         (calculator-user-operators): Tweak docstring, fix a bug in the last
5986         example.
5987         (calculator-displayer): `std' case has an optional boolean.
5988         (calculator-displayers): Use the new boolean to group in decimal mode.
5989         (calculator-mode-map, calculator, calculator-message)
5990         (calculator-op-arity, calculator-add-operators)
5991         (calculator-string-to-number, calculator-displayer-prev)
5992         (calculator-displayer-next, calculator-remove-zeros)
5993         (calculator-eng-display, calculator-number-to-string)
5994         (calculator-update-display, calculator-last-input)
5995         (calculator-clear-fragile, calculator-digit, calculator-decimal)
5996         (calculator-exp, calculator-saved-move, calculator-clear)
5997         (calculator-copy, calculator-put-value, calculator-help)
5998         (calculator-expt, calculator-truncate): Minor code improvements.
5999         (calculator-need-3-lines): New function pulling out code from
6000         `calculator'.
6001         (calculator-get-display): Rename from `calculator-get-prompt', and
6002         improved.
6003         (calculator-push-curnum): Rename from `calculator-curnum-value', and
6004         extended for all uses of it.  All callers changed.
6005         (calculator-groupize-number): New utility for splitting a number into
6006         groups.
6007         (calculator-standard-displayer): Improve code, new optional argument to
6008         use comma-split groups, make second argument optional too to use with
6009         'left/'right inputs.  All callers changed.
6010         (calculator-reduce-stack-once): New utility, doing the meat of what
6011         `calculator-reduce-stack' used to do, much improved (mostly using
6012         `pcase' for conciseness and clarity).
6013         (calculator-reduce-stack): Now doing just the reduction loop using
6014         `calculator-reduce-stack-once'.
6015         (calculator-funcall): Improve code, make it work in v24.3.1 too.
6016         (calculator-last-input): Improve code, remove some old cruft.
6017         (calculator-quit): Kill `calculator-buffer' in electric mode too.
6018         (calculator-integer-p): Remove.
6019         (calculator-fact): Improve code, make it work on non-integer values
6020         too (using truncated numbers).
6022 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
6024         Sync with Tramp 2.2.10.
6026         * net/tramp.el (tramp-methods): Tweak docstring.
6027         (tramp-handle-file-accessible-directory-p): Check for
6028         `file-readable-p' instead of `file-executable-p'.
6029         (tramp-check-cached-permissions):
6030         Use `tramp-compat-file-attributes'.
6031         (tramp-call-process): Add new argument VEC.  Adapt callees in all
6032         tramp*.el files.
6034         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
6035         (tramp-adb-maybe-open-connection): Don't set
6036         `tramp-current-*' variables.
6038         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
6039         file properties of temporary buffers.
6041         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
6043         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
6044         (tramp-gvfs-handle-delete-file): Flush file
6045         properties, not directory properties.
6046         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
6047         reading "unix::mode".
6048         (tramp-gvfs-handle-file-name-all-completions):
6049         Use "-h" option for "gvfs-ls".
6050         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
6051         (tramp-gvfs-send-command): Simplify traces.
6053         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
6054         (vc-git-program, vc-hg-program): Declare.
6055         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
6056         (tramp-methods) <nc>: Add new method.
6057         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
6058         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
6059         `tramp-login-args'.
6060         (tramp-default-user-alist): Add "nc".
6061         (top): Remove completion function for "sftp".  Add completion
6062         functions for "nc" and "psftp".
6063         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
6064         Implement support for "nc" method.
6065         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
6066         (tramp-remote-coding-commands, tramp-call-local-coding-command):
6067         Tweak docstring.
6068         (tramp-sh-handle-write-region): Tweak error message.
6069         (tramp-sh-handle-vc-registered): Remove backends when the remote
6070         binary does not exist.
6071         (tramp-find-inline-encoding): Do not raise an error.
6072         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
6073         the "nc" case.  Quote result also locally.
6075         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6076         (tramp-smb-handle-set-file-acl): Use `start-process'.
6077         (tramp-smb-handle-insert-directory): Use progress reporter.
6078         (tramp-smb-handle-rename-file): Flush also file properties of
6079         FILENAME.
6081         * net/trampver.el: Update release number.
6083 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6085         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
6086         add-to-list.
6087         (ses-localvars): Remove ses--local-printer-list, unused.
6088         (ses--metaprogramming): New macro.  Use it to defvar variables.
6089         (ses-set-localvars): Simplify.
6090         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
6091         property-list into an alist.
6092         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6093         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
6094         Remove; use defstruct accessors/setters instead.
6095         (ses-cell-formula-aset, ses-cell-printer-aset)
6096         (ses-cell-references-aset): Remove, use setf instead.
6097         (ses--alist-get): New function.
6098         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
6099         Use an alist instead of a plist and don't do move-to-front since the
6100         list is always short.
6101         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
6102         (ses-cell-property-set-fun, ses-cell-property-set)
6103         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
6104         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
6105         (ses--letref): New macro.
6106         (ses-cell-property-pop): Rewrite.
6107         (ses--cell): Rename from ses-cell and make it into a function.
6108         Make `formula' fallback on `value' if nil.
6109         (ses--local-printer): Rename from ses-local-printer and make it into
6110         a function.
6111         (ses-set-cell): Turn it into a macro so finding the accessor from the
6112         field name is done at compile time.
6113         (ses-repair-cell-reference-all): Test presence of `sym' rather than
6114         `ref' before adding `sym' to :ses-repair-reference.
6115         (ses-calculate-cell): Use ses--letref rather than
6116         ses-cell-property-get-handle.
6117         (ses-write-cells): Use a single prin1-to-string.
6118         (ses-setter-with-undo): New function.
6119         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
6120         (ses-unset-with-undo): Remove.
6121         (ses-load): Prefer apply' over `eval'.
6122         (ses-read-printer, ses-set-column-width): Use standard "(default
6123         foo)" format.
6125 2014-06-15  Glenn Morris  <rgm@gnu.org>
6127         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
6129         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
6130         Replace delete-duplicates and mapcan by cl- versions throughout.
6131         And cl-macroexpand-all by macroexpand-all.
6132         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
6134 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
6136         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
6138 2014-06-15  Juri Linkov  <juri@jurta.org>
6140         * bindings.el: Put `ascii-character' property on keypad keys
6141         mapped to characters.  (Bug#17759)
6143 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6145         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
6146         bumping forward into a closing paren (bug#17761).
6148         * term/xterm.el (xterm--version-handler): Work around for OSX
6149         Terminal.app (bug#17607).
6151 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
6153         * play/dunnet.el (dun-describe-room, dun-mode):
6154         If a lamp is in the room, you won't be eaten by a grue.
6156 2014-06-13  Glenn Morris  <rgm@gnu.org>
6158         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
6159         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
6160         (compile-always): GNU make automatically passes
6161         command-line arguments to sub-makes.
6163         * calendar/calendar.el (calendar-generate-window):
6164         Remove pointless call to font-lock-fontify-buffer.
6166 2014-06-13  Matthias Meulien  <orontee@gmail.com>
6168         * simple.el (completion-list-mode-map): Navigate with tab and backtab
6169         (bug#17767).
6171 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6173         * simple.el (set-mark-command): Simplify a bit.
6175 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6177         * help.el (help--key-binding-keymap): New function.
6178         (help--binding-locus): New function.
6179         (describe-key): Mention the keymap in which the binding was
6180         found.  (bug#13948)
6182 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6184         * hippie-exp.el (he--all-buffers): New function.
6185         (try-expand-line-all-buffers, try-expand-list-all-buffers)
6186         (try-expand-dabbrev-all-buffers): Use it.
6188 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
6190         * hippie-exp.el (try-expand-line-all-buffers)
6191         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
6192         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
6193         original buffer, in case they're buffer-local.
6195 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6197         * ses.el (ses-initial-global-parameters-re): New defconst, a
6198         specific regexp is needed now that ses.el can handle both
6199         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
6200         local printers.
6201         (ses-localvars): Add local variables needed for local printer handling.
6202         (ses-set-localvars): Handle hashmap initialisation.
6203         (ses-paramlines-plist): Add param-line for number of local printers.
6204         (ses-paramfmt-plist): New defconst, needed for code factorization
6205         between functions `ses-set-parameter' and
6206         `ses-file-format-extend-paramter-list'
6207         (ses-make-local-printer-info): New defsubst.
6208         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6209         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
6210         (ses-cell-printer-aset): New defmacro.
6211         (ses-local-printer-compile): New defun.
6212         (ses-local-printer): New defmacro.
6213         (ses-printer-validate, ses-call-printer): Add support for local
6214         printer functions.
6215         (ses-file-format-extend-paramter-list): New defun.
6216         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
6217         factorization.
6218         (ses-load): Add support for local printer functions.
6219         (ses-read-printer): Update docstring and add support for local printer
6220         functions.
6221         (ses-refresh-local-printer, ses-define-local-printer): New defun.
6222         (ses-safe-printer): Add support for local printer functions.
6224 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
6226         * ffap.el (ffap-lax-url): New var (bug#17723).
6227         (ffap-url-at-point): Use it.
6228         (ffap-file-at-point): Avoid returning just "/".
6230 2014-06-12  Matthias Meulien  <orontee@gmail.com>
6232         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
6233         (python-mode-map): Bind it.
6235         * progmodes/python.el (class skeleton): Don't erase last char of class
6236         name (bug#17683).
6238 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6240         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
6242 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
6244         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
6245         (bug#17745).
6247 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6249         * international/mule-cmds.el: Use lexical-binding.
6250         (ucs-names): Simplify.
6252 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
6254         * progmodes/python.el (run-python): Use read-shell-command.
6256 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6258         * rect.el: Make it possible to move bounds past EOL or into TABs.
6259         (operate-on-rectangle): Use apply-on-rectangle.
6260         (rectangle--mark-crutches): New var.
6261         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
6262         (rectangle--crutches, rectangle--reset-crutches): New functions.
6263         (apply-on-rectangle): Obey crutches.  Avoid setq.
6264         Fix missing final iteration if end is at EOB&BOL.
6265         (rectangle-mark-mode-map): Add remap bindings for
6266         exchange-point-and-mark and char/line movements.
6267         (rectangle--*-char): New function.
6268         (rectangle-exchange-point-and-mark, rectangle-right-char)
6269         (rectangle-left-char, rectangle-forward-char)
6270         (rectangle-backward-char, rectangle-next-line)
6271         (rectangle-previous-line): New commands.
6272         (rectangle--place-cursor): New function.
6273         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
6275 2014-06-08  Glenn Morris  <rgm@gnu.org>
6277         * startup.el (initial-buffer-choice): Doc fix.
6278         Reset :version (adding an option does not merit a :version bump).
6280         * bookmark.el (bookmark-load):
6281         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
6283 2014-06-08  Juri Linkov  <juri@jurta.org>
6285         * desktop.el: Activate auto-saving on window configuration changes.
6286         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
6287         `desktop-auto-save-set-timer' to/from
6288         `window-configuration-change-hook'.
6289         (desktop-auto-save-set-timer): Change REPEAT arg of
6290         `run-with-idle-timer' from t to nil.
6291         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
6293 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
6295         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
6296         vc-hg-command (bug#17570).
6298 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6300         * international/mule-cmds.el (ucs-names): Add special entry for BEL
6301         (bug#17702).
6303 2014-06-08  Glenn Morris  <rgm@gnu.org>
6305         * startup.el (window-setup-hook): Doc fix.
6307         * emacs-lisp/package.el (package-check-signature)
6308         (package-unsigned-archives): Doc fixes.
6310 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
6312         * window.el (display-buffer-use-some-window): Don't make window
6313         used smaller than it was before (Bug#17671).
6315 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
6317         * menu-bar.el (menu-bar-open): Fix last change: use the PC
6318         'redisplay' instead of '(sit-for 0)'.
6320 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
6322         * net/tramp.el (tramp-ssh-controlmaster-options):
6323         Improve search regexp.  (Bug#17653)
6325 2014-06-08  Glenn Morris  <rgm@gnu.org>
6327         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
6329 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
6331         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
6333 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
6335         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
6336         (bug#17586).
6338         * vc/vc-hg.el (vc-hg-log-graph): New var.
6339         (vc-hg-print-log): Use it.
6340         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
6341         graph output (bug#17515).
6343 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6345         * mouse.el (mouse-posn-property): Ignore buffer position info when the
6346         even happened elsewhere.
6348 2014-06-06  Mario Lang  <mlang@delysid.org>
6350         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
6351         `recenter' if `current-buffer' is equal to `window-buffer'.
6353 2014-06-05  Leo Liu  <sdl.web@gmail.com>
6355         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
6357 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
6359         * textmodes/tildify.el (tildify-foreach-region-outside-env):
6360         New function which calls a callback on portions of the buffer that are
6361         outside of ignored environments.
6362         (tildify-build-regexp): Remove function since it is now
6363         incorporated in `tildify-foreach-region-outside-env' where it is
6364         optimized and simplified by the use of `mapconcat'.
6365         (tildify-tildify): Return number of substitutions made so that…
6366         (tildify-count): …can be removed.
6367         (tildify-find-env): Accept a new PAIRS argument which was
6368         previously looked up in `tildify-ignored-environments-alist' each
6369         time the function was called.  With this change, the lookup is
6370         performed only once in `tildify-foreach-region-outside-env'.
6371         (tildify-region): Greatly simplify the function since now most of
6372         the work is done by `tildify-foreach-region-outside-env'.
6373         (tildify-mode-alist): Simplify slightly by avoiding if and setq
6374         and instead using or.
6376         * textmodes/tildify.el (tildify-ignored-environments-alist):
6377         Optimize environments regexes
6379         Each time beginning of an environment to ignore is found,
6380         `tildify-find-env' needs to identify regexp for the ending
6381         of the environment.  This is done by trying all the opening
6382         regexes on matched text in a loop, so to speed that up, this
6383         loop should have fewer things to match, which can be done by
6384         using alternatives in the opening regexes.
6386         Coincidentally, this should make matching of the opening
6387         regexp faster as well thanks to the use of `regexp-opt' and
6388         having common prefix pulled from many regexes.
6390         * textmodes/tildify.el (tildify-string-alist)
6391         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
6392         of supported modes since `xml-mode' is no longer a thing but just
6393         an alias to the former.  Also include comments and insides of tags
6394         in `tildify-ignored-environments-alist' for XML modes.  Finally,
6395         since XML does not define “&nbsp;”[1], use a numeric reference for
6396         a no-break space (namely “&#160;”)
6398         [1] XML specification defines only a handful of predefined entities.
6399             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
6400             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
6401             >, &, ' and " respectively).  This is in contrast to HTML and even
6402             XHTML which defined a whole bunch of entities including “&nbsp;”.
6404         * textmodes/tildify.el (tildify-pattern-alist)
6405         (tildify-string-alist, tildify-ignored-environments-alist):
6406         Improve defcustom's types by adding more tags explaining what each
6407         value means and replace “sexp” used in
6408         `tildify-ignored-environments-alist' with a full type declaration.
6410         * textmodes/tildify.el (tildify-find-env): Fix matched group
6411         indexes in end-regex building
6413         When looking for a start of an ignore-environment, the regex is built
6414         by concatenating regexes of all the environments configured in
6415         `tildify-ignored-environments-alist'.  So for example, the following
6416         list could be used to match TeX's \verb and \verb* commands:
6418             (("\\\\verb\\(.\\)" . (1))
6419              ("\\\\verb\\*\\(.\\)" . (1)))
6421         This would result in the following regex being used to find the start
6422         of any of the variants of the \verb command:
6424             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
6426         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
6427         won't match anything, and thus (match-string 1) will be nil, which
6428         will cause building of the end-matching regex to fail.
6430         Fix this by using capture groups from the time when the opening
6431         regexes are matched individually.
6433         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
6434         in `tildify-find-env'
6436         The `tildify-ignored-environments-alist' allows the end-regex to
6437         be provided not as a static string but mix of strings and indexes
6438         of groups matched the begin-regex.  For example, the “\verb!…!”
6439         TeX-command (where “!” is an arbitrary character) is handled
6440         using:
6442             ("\\\\verb\\*?\\(.\\)" . (1))
6444         In the same way, the following should be supported as well:
6446             ("open-\\(.\\)" . ("end-" 1))
6448         However the tildify-find-env function fails at
6450             (concat result
6451                     (if (stringp (setq aux (car expression)))
6452                          expression  ; BUG: expression is a list
6453                        (regexp-quote (match-string aux))))
6455         where the string part is handled incorrectly.
6457         The most trivial fix would be to replace `expression' in the
6458         true-part of the if-statement with `aux', but instead, this commit
6459         optimizes `tildify-find-env' by changing it to use `mapconcat'
6460         rather than open-coded while-loop.
6462 2014-06-05  Mario Lang  <mlang@delysid.org>
6464         * woman.el (woman-mapcan): Remove.
6465         (woman-parse-colon-path): Use cl-mapcan instead.
6467 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6469         * register.el: Add link to Emacs manual in Commentary.
6471 2014-06-02  Sam Steingold  <sds@gnu.org>
6473         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
6474         (popup-menu): ...here.
6475         (menu-bar-open): Use it to avoid an error when `lookup-key'
6476         returns a number.
6478 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
6480         * net/tramp.el (tramp-call-process): Add traces.
6481         (tramp-handle-unhandled-file-name-directory): Return "/".
6483 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
6485         Sync with upstream verilog-mode revision 3cd8144.
6486         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6487         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
6488         (verilog-type-font-keywords): Add nor.
6489         (verilog-batch-execute-func): Force reading of Local Variables.
6490         Fix printing "no changes to be saved" with verilog-batch.
6491         (verilog-auto-arg-ports): Doc fix.
6492         Add verilog-auto-arg-format to support newlines in AUTOARG.
6493         (verilog-auto-arg): Doc fix.
6495 2014-06-02  Glenn Morris  <rgm@gnu.org>
6497         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
6498         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
6499         * emulation/ws-mode.el: Move to obsolete/.
6500         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
6502 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
6504         * simple.el (keyboard-quit): Force update of mode lines, to remove
6505         the "Def" indicator, if we were defining a macro.  (Bug#17615)
6507 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6509         * minibuffer.el (minibuffer-force-complete-and-exit):
6510         Obey minibuffer-default (bug#17545).
6512         * progmodes/js.el (js-indent-line): Don't mix columns and chars
6513         (bug#17619).
6515         * subr.el (set-transient-map): Don't wait for some "nested"
6516         transient-map to finish if we're only supposed to be active for
6517         the next command (bug#17642).
6519 2014-06-02  Leo Liu  <sdl.web@gmail.com>
6521         * emacs-lisp/gv.el (window-buffer, window-display-table)
6522         (window-dedicated-p, window-hscroll, window-point, window-start):
6523         Fix gv-expander.  (Bug#17630)
6525 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6527         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
6528         clicks (bug#17633).
6530         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
6531         for the single comma, since ", " is *very* common in normal French text
6532         (bug#17643).
6534 2014-06-02  Glenn Morris  <rgm@gnu.org>
6536         * emacs-lisp/package.el (package-check-signature)
6537         (package-unsigned-archives): Fix :version.
6539 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6541         * subr.el (sit-for): Don't run input-methods (bug#15614).
6543 2014-06-02  Glenn Morris  <rgm@gnu.org>
6545         * cus-start.el: Fix some :version numbers.
6547 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6549         * simple.el (deactivate-mark): Set mark-active to nil even if
6550         deactivation is done via setting transient-mark-mode to nil,
6551         since one is buffer-local and the other is global.
6553         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
6554         there can't be more than 2 arguments (bug#17584).
6556 2014-06-02  Glenn Morris  <rgm@gnu.org>
6558         * simple.el (filter-buffer-substring-functions)
6559         (filter-buffer-substring-function, buffer-substring-filters)
6560         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
6562         * minibuffer.el (completion-in-region-functions, completion-in-region)
6563         (completion--in-region): Doc fixes.
6565         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
6566         (expand-abbrev, abbrev--default-expand): Doc fixes.
6568 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
6570         Include sources used to create macuvs.h.
6571         * international/README: Refer to the Unicode Terms of Use rather
6572         than copying it bodily here, as that simplifies maintenance.
6574 2014-06-01  Glenn Morris  <rgm@gnu.org>
6576         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
6578 2014-05-31  Glenn Morris  <rgm@gnu.org>
6580         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
6582 2014-05-30  Glenn Morris  <rgm@gnu.org>
6584         * loadup.el: Treat `command-line-args' more flexibly.
6586 2014-05-30  Alan Mackenzie  <acm@muc.de>
6588         Guard (looking-at "\\s!") from XEmacs.
6589         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
6591 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
6593         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
6594         The argument COUNT is now optional, to be more backward-compatible.
6595         Doc fix.  (Bug#17560)
6597 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
6599         * whitespace.el (whitespace-report-region):
6600         Simplify documentation.
6601         (whitespace-report-region): Allow report-if-bogus to take the
6602         value `never', for non-interactive use.
6603         (whitespace-report): Refer to whitespace-report-region's
6604         documentation.
6606 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6608         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
6609         Side benefit: it works without jit-lock.
6610         (whitespace-point--used): New buffer-local var.
6611         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
6612         (whitespace-color-off): Use font-lock-flush.
6613         (whitespace-point--used, whitespace-point--flush-used): New functions.
6614         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6615         (whitespace-empty-at-eob-regexp): Use them.
6616         (whitespace-post-command-hook): Rewrite.
6618         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
6619         (font-lock-fontify-buffer): Mark interactive-only.
6620         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
6621         Make buffer-local.
6622         (font-lock-specified-p): Remove redundant boundp check.
6623         (font-lock-flush-function, font-lock-ensure-function): New vars.
6624         (font-lock-turn-on-thing-lock): Set them.
6625         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
6626         (font-lock-after-change-function): Make `old-len' optional.
6627         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
6628         Call font-lock-flush, just in case.
6629         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
6630         recent Emacsen.
6631         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
6632         (vera-mode-map, vera-mode-menu): Remove bindings to it.
6633         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
6634         and with-syntax-table.
6635         * textmodes/conf-mode.el (conf-quote-normal):
6636         * progmodes/sh-script.el (sh-set-shell):
6637         * progmodes/prog-mode.el (prettify-symbols-mode):
6638         * progmodes/f90.el (f90-font-lock-n):
6639         * progmodes/cwarn.el (cwarn-mode):
6640         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
6641         * progmodes/compile.el (compilation-setup, compilation--unsetup):
6642         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
6643         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
6644         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
6645         font-lock-fontify-buffer-function and
6646         font-lock-unfontify-buffer-function.
6647         (rmail-unfontify-buffer-function, rmail-fontify-message):
6648         Use with-silent-modifications.
6649         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
6650         and font-lock-ensure.
6651         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
6653 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
6655         * emacs-lisp/package.el (package-generate-autoloads):
6656         Inhibit backup files.
6658 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6660         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
6661         (bug#17608).
6663 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
6665         * textmodes/tildify.el (tildify-buffer, tildify-region):
6666         Add dont-ask option.
6668 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6670         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
6671         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
6673         * subr.el (internal--funcall-interactively): New.
6674         (internal--call-interactively): Remove.
6675         (called-interactively-p): Detect funcall-interactively instead of
6676         call-interactively.
6677         * simple.el (repeat-complex-command): Use funcall-interactively.
6678         (repeat-complex-command--called-interactively-skip): Remove.
6680 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6682         * register.el (register-read-with-preview): Don't burp on
6683         frame switches (e.g. due to the frame we just popped).
6685         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
6686         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
6688 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
6690         * cus-face.el (custom-face-attributes): Add :distant-foreground.
6692 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
6694         * window.el (window--dump-frame): Remove interactive specification.
6696 2014-05-26  Glenn Morris  <rgm@gnu.org>
6698         * hippie-exp.el (he-line-search-regexp):
6699         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
6701 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
6703         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
6704         to avoid errors when trying to create or visit a file foo.todo
6705         located outside to todo-directory, and to allow having such files
6706         without them being tied to Todo mode (bug#17482).
6707         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
6708         (todo-archive-done-item, todo-find-filtered-items-file)
6709         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
6710         (todo-category-completions, todo-read-category): When visiting a
6711         Todo file, make sure we're in the right mode and the buffer local
6712         variables are set.
6713         (todo-make-categories-list, todo-reset-nondiary-marker)
6714         (todo-reset-done-string, todo-reset-comment-string):
6715         After processing all Todo files, kill the buffers of those files that
6716         weren't being visited before the processing.
6717         (todo-display-as-todo-file, todo-add-to-buffer-list)
6718         (todo-visit-files-commands): Comment out.
6719         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
6720         (auto-mode-alist): Remove add-to-list calls making Todo file
6721         extensions unrestrictedly tied to Todo modes.
6723 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6725         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
6726         (advice-function-member-p): Tell it to check both names and functions
6727         (bug#17531).
6728         (advice--add-function): Adjust call accordingly.
6730 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
6732         * calendar/todo-mode.el: Miscellaneous bug fixes.
6733         (todo-delete-file): When deleting an archive but not its todo
6734         file, make sure to update the todo file's category sexp.
6735         (todo-move-category): Keep the moved category's name unless the
6736         file moved to already has a category with that name.  If the
6737         numerically last category of the source file was moved, make the
6738         first category current to avoid selecting a nonexisting category.
6739         (todo-merge-category): Fix implementation to make merging to a
6740         category in another file work as documented.  Eliminate now
6741         insufficient and unnecessary renaming of archive category, correct
6742         document string accordingly, and clarify it.  If the numerically
6743         last category of the source file was merged, make the first
6744         category current to avoid selecting a nonexisting category.
6745         (todo-archive-done-item): When there are marked items and point
6746         happens to be on an unmarked item, ignore the latter.  Don't leave
6747         point below last item after archiving marked items.
6748         (todo-unarchive-items): Fix logic to ensure unarchiving an item
6749         from an archive with only one category deletes the archive only
6750         when the category is empty after unarchiving.  Make sure the todo
6751         file's category sexp is updated.
6752         (todo-read-file-name): Allow an existing file name even when it is
6753         not required (todo-move-category needs this to work as documented).
6754         (todo-add-file): Call todo-validate-name to reject the name of an
6755         existing todo file (needed due to fix in todo-read-file-name).
6756         (todo-reset-nondiary-marker): Also reset in filtered items files.
6757         (todo-reset-done-string, todo-reset-comment-string): Also reset in
6758         regexp filtered items files.
6759         (todo-reset-highlight-item): Also reset in filtered items files.
6760         Fix incorrect variable reference in document string.
6762 2014-05-26  Glenn Morris  <rgm@gnu.org>
6764         * window.el (window--dump-frame): Avoid error in --without-x builds.
6766 2014-05-26  Glenn Morris  <rgm@gnu.org>
6768         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
6770 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
6772         * frame.el (set-frame-font): Doc fix.
6774         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
6776 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
6778         * emacs-lisp/package.el (package--download-one-archive):
6779         Use `write-region' instead of `save-buffer' to avoid running various
6780         hooks.  (Bug#17155)
6781         (describe-package-1): Same.  Insert newline at the end of the
6782         buffer if appropriate.
6784 2014-05-26  Juri Linkov  <juri@jurta.org>
6786         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
6787         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
6788         Add more modifiers: meta, control, shift, hyper, super, alt.
6789         (Bug#17439)
6791         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
6792         to allow changing its value with `set-variable'.
6794 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6796         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
6797         #; comments.
6798         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
6799         New functions.
6800         (scheme-mode-variables): Set syntax-propertize-function instead of
6801         font-lock-syntactic-face-function.
6802         (scheme-font-lock-syntactic-face-function): Delete.
6804         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
6806         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
6807         (bug#17392).
6809 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
6811         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
6812         for a temporary file name.
6814 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
6816         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
6818 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
6820         * net/dbus.el (dbus-init-bus, dbus-call-method)
6821         (dbus-call-method-asynchronously, dbus-send-signal)
6822         (dbus-method-return-internal, dbus-method-error-internal):
6823         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
6825 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6827         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
6828         methods which do not have a doc string.  (Bug#17490)
6830 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
6832         * textmodes/reftex-ref.el (reftex-format-special): Make it work
6833         also for AMS Math's \eqref macro.
6835 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
6837         Arrange to never byte-compile the generated -pkg.el file.
6839         * emacs-lisp/package.el (package-generate-description-file):
6840         Output first-line comment to set buffer-local var `no-byte-compile'.
6841         Suggested by Dmitry Gutov:
6842         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
6844 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
6846         Fix bug: Properly quote args to generated -pkg.el `define-package'.
6848         * emacs-lisp/package.el (package-generate-description-file):
6849         Inline `package--alist-to-plist'; rewrite to selectively
6850         quote alist values that are not self-quoting.
6851         (package--alist-to-plist): Delete func.
6853 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
6855         * term/xterm.el (xterm-function-map): Add mapping for shifted
6856         keypad keys.
6858 2014-05-24  Daniel Colascione  <dancol@dancol.org>
6860         * progmodes/subword.el (subword-find-word-boundary): Move point to
6861         correct spot before search.  (Bug#17580)
6863         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
6864         breaking the build.
6866 2014-05-24  Leo Liu  <sdl.web@gmail.com>
6868         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
6870 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6872         * minibuffer.el (completion--sreverse): Remove.
6873         (completion--common-suffix): Use `reverse' instead.
6874         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
6876 2014-05-22  Glenn Morris  <rgm@gnu.org>
6878         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
6880 2014-05-21  Daniel Colascione  <dancol@dancol.org>
6882         * files.el (interpreter-mode-alist): Add mksh.
6884         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
6885         derivative.
6886         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
6887         mksh. Improve custom spec; allow regular expressions.
6888         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
6889         (sh-after-hack-local-variables): New function.
6890         (sh-mode): Use it; respect file-local `sh-shell' variable.  (Bug#17333)
6891         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
6892         the normalization.
6893         (sh-canonicalize-shell): Rewrite to support regexes.
6895 2014-05-21  Leo Liu  <sdl.web@gmail.com>
6897         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
6899 2014-05-19  Leo Liu  <sdl.web@gmail.com>
6901         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
6903 2014-05-18  Glenn Morris  <rgm@gnu.org>
6905         * loadup.el:
6906         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
6908 2014-05-14  Sam Steingold  <sds@gnu.org>
6910         * progmodes/python.el (python-shell-get-or-create-process):
6911         Do not bind `current-prefix-arg' so that C-c C-z does not talk
6912         back unless requested.
6914 2014-05-14  Glenn Morris  <rgm@gnu.org>
6916         * subr.el (with-file-modes): New macro.
6917         * printing.el (pr-save-file-modes): Make obsolete.
6918         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
6919         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6920         Add with-file-modes.
6921         * doc-view.el (doc-view-make-safe-dir):
6922         * epg.el (epg--start):
6923         * files.el (locate-user-emacs-file, make-temp-file)
6924         (backup-buffer-copy, move-file-to-trash):
6925         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
6926         * eshell/esh-util.el (eshell-with-private-file-modes)
6927         (eshell-make-private-directory):
6928         * net/browse-url.el (browse-url-mosaic):
6929         * obsolete/mailpost.el (post-mail-send-it):
6930         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
6931         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
6932         Use with-file-modes.
6934         * vc/emerge.el (emerge-make-temp-file): Simplify.
6936 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
6937             Stefan Monnier  <monnier@iro.umontreal.ca>
6939         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
6940         suffix (bug#15419).
6942 2014-05-14  Glenn Morris  <rgm@gnu.org>
6944         * vc/emerge.el (emerge-temp-file-prefix):
6945         Make pointless option obsolete.
6946         (emerge-temp-file-mode): Make non-functional option obsolete.
6948 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
6950         * net/browse-url.el (browse-url):
6951         Use `unhandled-file-name-directory' when setting `default-directory',
6952         in order to circumvent stalled remote connections.  (Bug#17425)
6954 2014-05-14  Glenn Morris  <rgm@gnu.org>
6956         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
6957         Optimize on Emacs, which has the relevant functions for ages.
6959 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6961         * simple.el (undo-make-selective-list): Obey undo-no-redo.
6963 2014-05-12  Sam Steingold  <sds@gnu.org>
6965         * calendar/time-date.el (seconds-to-string): New function to
6966         pretty print time delay in seconds.
6968 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6970         * mpc.el (mpc-format): Trim Date to the year.
6971         (mpc-songs-hashcons): Shorten the Date field.
6973         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
6974         into autoloading just because of a silly indirection.
6976 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
6978         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
6980 2014-05-12  Glenn Morris  <rgm@gnu.org>
6982         * emacs-lisp/find-gc.el: Move to ../admin.
6984         * printing.el (pr-version):
6985         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
6987         * net/browse-url.el (browse-url-mosaic):
6988         Create /tmp/Mosaic.PID as a private file.
6990 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6992         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
6993         (advice--member-p): If name is given, only compare the name.
6994         (advice--remove-function): Don't stop at the first match.
6995         (advice--normalize-place): New function.
6996         (add-function, remove-function): Use it.
6997         (advice--add-function): Pass the name, if any, to
6998         advice--remove-function.
7000 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
7002         * electric.el (electric-indent-post-self-insert-function): Don't use
7003         `pos' after modifying the buffer (bug#17449).
7005 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
7007         * calendar/todo-mode.el (todo-insert-item-from-calendar):
7008         Correct argument list to conform to todo-insert-item--basic.
7010 2014-05-12  Glenn Morris  <rgm@gnu.org>
7012         * files.el (cd-absolute): Test if directory is accessible
7013         rather than executable.  (Bug#17330)
7015         * progmodes/compile.el (recompile):
7016         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
7018         * net/browse-url.el (browse-url-mosaic):
7019         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
7020         This is CVE-2014-3423.
7022 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7024         * mouse.el: Use the normal toplevel loop while dragging.
7025         (mouse-set-point): Handle multi-clicks.
7026         (mouse-set-region): Handle multi-clicks for drags.
7027         (mouse-drag-region): Update call accordingly.
7028         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
7029         Use the normal event loop instead of a local while/read-event loop.
7030         (global-map): Remove redundant bindings for double/triple-mouse-1.
7031         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
7032         Generate synthetic down events when the protocol only sends up events.
7033         (xterm-mouse-last): Remove.
7034         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
7035         terminal parameter instead.
7036         (xterm-mouse--set-click-count): New function.
7037         (xterm-mouse-event): Detect/generate double/triple clicks.
7038         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
7040         * info.el (Info-quoted): New face.
7041         (Info-mode-font-lock-keywords): New var.
7042         (Info-mode): Use it.
7044         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
7045         are a hindrance for C-x C-e.
7047 2014-05-11  Leo Liu  <sdl.web@gmail.com>
7049         * net/rcirc.el (rcirc-sentinel): Fix last change.
7051 2014-05-08  Sam Steingold  <sds@gnu.org>
7053         * net/rcirc.el (rcirc-reconnect-delay): New user option.
7054         (rcirc-sentinel): Auto-reconnect to the server if
7055         `rcirc-reconnect-delay' is non-0 (but not more often than its
7056         value in case the host is off-line).
7058 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
7060         * progmodes/grep.el (lgrep): Fix a typo in last commit.
7062 2014-05-09  Glenn Morris  <rgm@gnu.org>
7064         * files.el (file-expand-wildcards):
7065         * man.el (Man-support-local-filenames):
7066         * printing.el (pr-i-directory, pr-interface-directory):
7067         * progmodes/grep.el (lgrep, rgrep):
7068         * textmodes/ispell.el (ispell-call-process)
7069         (ispell-call-process-region, ispell-start-process)
7070         (ispell-init-process): Use file-accessible-directory-p.
7072 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7074         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
7075         (xterm-mouse--read-event-sequence-1000): Return nil if something
7076         looks fishy.
7077         (xterm-mouse-event): Propagate it.
7078         (xterm-mouse-translate-1): Handle it.
7080 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
7082         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
7083         four slots of the parameter list are filled, make sure to pass it
7084         to the argument list of todo-insert-item--basic.
7086 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7088         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
7089         Add optional `seen' argument to detect and break infinite loops.
7091 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
7093         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
7094         (trace-unsafe, trace-use-tree): Make parentheses style be
7095         according to Emacs style.
7097 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
7099         * net/tramp-sh.el (tramp-remote-process-environment):
7100         Remove HISTFILE and HISTSIZE; it's too late to set them here.
7101         Add :version entry.
7102         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
7103         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
7104         extra "PSx=..." commands.
7105         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
7106         (Bug#17295)
7108         (tramp-uudecode): Replace the hard-coded temporary file name by a
7109         format specifier.
7110         (tramp-remote-coding-commands): Enhance docstring.
7111         (tramp-find-inline-encoding): Replace "%t" by a temporary file
7112         name.  (Bug#17415)
7113         This is CVE-2014-3424.
7115 2014-05-08  Glenn Morris  <rgm@gnu.org>
7117         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
7118         (find-gc-source-files): Update some names.
7119         (trace-call-tree): Simplify and update.
7120         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
7121         This is CVE-2014-3422.
7123 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7125         * minibuffer.el (completion--try-word-completion): Revert fix for
7126         Bug#15980 (bug#17375).
7128         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
7129         Always store button numbers in the same way in xterm-mouse-last;
7130         Don't burp is xterm-mouse-last is not set as expected.
7131         Never return negative indices.
7133 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
7135         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7136         Backtrack one char if the global/char-literal var matcher hits
7137         inside a string.  The next char could be the beginning of an
7138         expression expansion.
7140 2014-05-08  Glenn Morris  <rgm@gnu.org>
7142         * help-fns.el (describe-function-1): Test for an autoload before a
7143         macro, since `macrop' works on autoloads.  (Bug#17410)
7145 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7147         * electric.el (electric-indent-functions-without-reindent): Add yaml.
7149         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
7150         Make sure the new point we return is within the new string (bug#17239).
7152 2014-05-05  Daniel Colascione  <dancol@dancol.org>
7154         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7155         Port `gnu' pattern to rx.
7157 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
7159         Remove unneeded prompt when closing a buffer with active
7160         emacsclient ("Buffer ... still has clients"), #16548.
7161         * server.el (server-start): Remove the only call to:
7162         (server-kill-buffer-query-function): Remove.
7164 2014-05-04  Leo Liu  <sdl.web@gmail.com>
7166         * calendar/diary-lib.el (calendar-chinese-month-name-array):
7167         Defvar to pacify compiler.
7169 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
7171         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
7173 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7175         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7176         Use nil rather than `default' for the "default" appearance (bug#17388).
7177         * vc/ediff-util.el (ediff-inferior-compare-regions)
7178         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
7179         a misleading `default' value when it's really a boolean.
7180         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
7181         overlay is not visible.
7183 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
7185         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
7186         (todo-menu): Uncomment and update.
7188 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
7190         * calendar/todo-mode.el: Reimplement item editing to have the same
7191         basic user interface as item insertion, and make small UI and
7192         larger internal improvements to the latter.
7193         (todo-insert-item): Add reference to the Todo mode user manual to
7194         the documentation string.
7195         (todo-insert-item--basic): Rename from todo-basic-insert-item and
7196         adjust all callers.  Change signature to combine diary and
7197         nonmarking arguments.  Incorporate functionality of deleted item
7198         copying command and add error checking.  Remove detailed
7199         descriptions of the arguments from the documentation string, since
7200         this is treated in the Todo mode user manual.
7201         (todo-copy-item, todo-edit-multiline-item)
7202         (todo-edit-done-item-comment, todo-edit-item-header)
7203         (todo-edit-item-time, todo-edit-item-date-from-calendar)
7204         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
7205         (todo-edit-item-date-year, todo-edit-item-date-month)
7206         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
7207         Remove.
7208         (todo-edit-item): Reimplement as wrapper command for
7209         todo-edit-item--next-key and make it distinguish done and not done
7210         todo items.
7211         (todo-edit-item--text): New function, replacing old command
7212         todo-edit-item and incorporating deleted commands
7213         todo-edit-multiline-item and todo-edit-done-item-comment.
7214         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
7215         Use only numeric value of prefix argument.  Remove detailed
7216         descriptions of the arguments from the documentation string, since
7217         this is treated in the Todo mode user manual.
7218         (todo-edit-item--diary-inclusion): New function, replacing old
7219         command todo-edit-item-diary-inclusion and incorporating and fixing
7220         functionality of deleted command todo-edit-item-diary-nonmarking,
7221         making sure to remove todo-nondiary-marker when adding
7222         diary-nonmarking-symbol.
7223         (todo-edit-category-diary-inclusion): Make sure to delete
7224         diary-nonmarking-symbol when adding todo-nondiary-marker.
7225         (todo-edit-category-diary-nonmarking): Fix indentation.
7226         (todo-insert-item--parameters): Group diary and nonmarking
7227         parameters together.
7228         (todo-insert-item--apply-args): Adjust to signature of
7229         todo-insert-item--basic and incorporate copy parameter.
7230         Make small code improvements.
7231         (todo-insert-item--next-param): Improve prompt and adjust it to
7232         new parameter grouping.  Remove obsolete code.
7233         (todo-edit-item--param-key-alist)
7234         (todo-edit-item--date-param-key-alist)
7235         (todo-edit-done-item--param-key-alist): New defconsts.
7236         (todo-edit-item--prompt): New variable.
7237         (todo-edit-item--next-key): New function.
7238         (todo-key-bindings-t): Bind "e" to todo-edit-item.
7239         Remove bindings of deleted commands.
7241 2014-05-04  Leo Liu  <sdl.web@gmail.com>
7243         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
7245 2014-05-04  Glenn Morris  <rgm@gnu.org>
7247         * allout-widgets.el (allout-widgets-tally)
7248         (allout-decorate-item-guides):
7249         * menu-bar.el (menu-bar-positive-p):
7250         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7251         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
7252         * progmodes/js.el (js--inside-param-list-p)
7253         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
7254         * progmodes/prolog.el (region-exists-p):
7255         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
7256         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
7257         Doc fixes (replace `iff').
7259 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7261         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
7263 2014-05-04  Leo Liu  <sdl.web@gmail.com>
7265         Support Chinese diary entries in calendar and diary.  (Bug#17393)
7266         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
7267         (calendar-chinese-from-absolute-for-diary)
7268         (calendar-chinese-to-absolute-for-diary)
7269         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
7270         (diary-chinese-list-entries): New functions to list and mark
7271         Chinese diary entries in the calendar window.
7272         (diary-chinese-anniversary)
7273         (diary-chinese-insert-anniversary-entry)
7274         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
7275         (diary-chinese-insert-yearly-entry): New commands to insert
7276         Chinese diary entries.
7278         * calendar/diary-lib.el (diary-font-lock-keywords):
7279         Support font-locking Chinese dates.
7281         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
7282         inserting Chinese diary entries.
7284         * calendar/calendar.el (diary-chinese-entry-symbol):
7285         New customizable variable.
7286         (calendar-mode-map): Add bindings for inserting Chinese diary
7287         entries.
7289 2014-05-03  Juri Linkov  <juri@jurta.org>
7291         * dired.el (dired-check-switches, dired-switches-recursive-p):
7292         New functions.  (Bug#17218)
7293         (dired-switches-escape-p, dired-move-to-end-of-filename):
7294         Use `dired-check-switches'.
7295         (dired-insert-old-subdirs, dired-build-subdir-alist)
7296         (dired-sort-R-check): Use `dired-switches-recursive-p'.
7298 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
7300         * simple.el (undo-make-selective-list): New algorithm fixes
7301         incorrectness of position adjustments when undoing in region.
7302         (Bug#17235)
7303         (undo-elt-crosses-region): Make obsolete.
7304         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
7305         New functions to adjust positions using undo-deltas.
7307 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7309         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
7310         the last consecutive closing paren (bug#17345).
7312 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
7314         * dired.el (dired-mode): make terminology for eXpunge command
7315         consistent.  (Bug#17276)
7317 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
7319         * dired.el (dired-initial-position-hook, dired-initial-position):
7320         Doc string fixes.
7322 2014-04-30  Glenn Morris  <rgm@gnu.org>
7324         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
7326 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
7328         * faces.el (face-spec-recalc): Apply X resources only after the
7329         defface spec has been applied. Thus, X resources are no longer
7330         overriden by the defface spec which also fixes issues on win32 where
7331         the toolbar coloring was wrong because it is set through X resources
7332         and was (wrongfully) overriden.  (Bug#16694)
7334 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7336         * textmodes/rst.el (electric-pair-pairs): Declare.
7337         (rst-mode): Set it (bug#17131).
7339 2014-04-30  Juri Linkov  <juri@jurta.org>
7341         * desktop.el (desktop-value-to-string): Let-bind `print-length'
7342         and `print-level' to nil.  (Bug#17351)
7344 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
7346         * battery.el (battery-update): Handle the case where battery
7347         status is "N/A" (bug#17319).
7349 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7351         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
7352         to syntax-propertize.
7353         (ps-mode-auto-indent): Mark as obsolete.
7354         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
7355         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
7356         word regexp operators.
7357         (ps-mode-map): Move initialization into declaration.  Remove binding
7358         for TAB, RET, >, ], and }.
7359         (ps-mode-syntax-table): Move initialization into declaration.
7360         Don't give word syntax to non-word chars.
7361         (ps-run-mode-map): Move initialization into declaration.
7362         (ps-mode-menu-main): Remove auto-indent entry.
7363         (ps-mode-smie-rules): New function.
7364         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
7365         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
7366         (ps-mode--string-syntax-table): New const.
7367         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
7368         New functions.
7369         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
7370         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
7372 2014-04-27  Daniel Colascione  <dancol@dancol.org>
7374         * term/xterm.el (xterm-paste): Use large finite timeout when
7375         reading event to avoid putting keys in this-command-keys.
7377 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7379         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
7380         (perl-syntax-propertize-function): Use it.  Extend handling of
7381         here-docs to the unquoted case.
7383 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
7385         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
7386         Use equal-including-properties to compare help-echo strings (bug#17331).
7388 2014-04-25  Leo Liu  <sdl.web@gmail.com>
7390         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7391         Fix syntax for @.  (Bug#17325)
7393 2014-04-25  Daniel Colascione  <dancol@dancol.org>
7395         * emacs-lisp/cl.el (gv): Require gv early to break eager
7396         macro-expansion cycles.
7398 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7400         * simple.el (region-active-p): Check there's a mark (bug#17324).
7402         * simple.el (completion-list-mode-map): Use choose-completion for the
7403         mouse binding as well (bug#17302).
7404         (completion-list-mode, completion-setup-function): Adjust docstring and
7405         echo area message accordingly.
7406         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
7407         calling convention of choose-completion.
7408         * comint.el (comint-dynamic-list-completions):
7409         * term.el (term-dynamic-list-completions): Accept choose-completion.
7411         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
7412         &, |, +, - and * can't be a division (bug#17317).
7414         * term/xterm.el (xterm--version-handler): Don't use modern xterm
7415         features on gnome-terminal (bug#16988).
7417 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
7419         Improve Scheme font-locking for (define ((foo ...) ...) ...).
7421         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
7422         the declared object, ignore zero or more parens, not zero or one.
7424 2014-04-24  Leo Liu  <sdl.web@gmail.com>
7426         * progmodes/xscheme.el (xscheme-expressions-ring)
7427         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
7428         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
7429         (xscheme-allow-output-p, xscheme-prompt)
7430         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
7432         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
7433         Comment out unused functions.
7435 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7437         * info.el: Use lexical-binding and cl-lib.
7438         Use defvar-local and setq-local instead of make-local-variable.
7439         (Info-apropos-matches): Avoid add-to-list.
7440         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
7442 2014-04-24  Daniel Colascione  <dancol@dancol.org>
7444         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
7446 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7448         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
7450 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
7452         * dired.el (dired-insert-set-properties): Do not consider
7453         subdirectory headings and empty lines to be information that
7454         `dired-hide-details-mode' should hide.  (Bug#17228)
7456 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
7458         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7459         Remove test messages.
7460         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
7461         and `target' twice.
7463 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7465         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
7466         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
7468         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
7470 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
7472         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7473         Set "IFS=" when using read builtin, in order to preserve spaces in
7474         the file name.  Add test messages for hunting a bug on hydra.
7475         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
7477 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7479         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
7480         Don't prettify a word within a symbol.
7482 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
7484         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
7485         possible.
7487 2014-04-22  Daniel Colascione  <dancol@dancol.org>
7489         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
7490         use defun to define `function-put'.
7492 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7494         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
7495         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
7496         (lisp-mode-variables): Set font-lock-extra-managed-props.
7498         * emacs-lisp/byte-run.el (function-put): New function.
7499         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
7500         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
7501         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
7502         Use them.
7504 2014-04-22  Daniel Colascione  <dancol@dancol.org>
7506         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
7507         Add `full-p' parameter; when nil, call `macroexpand' instead of
7508         `macroexpand-all'.
7510         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
7511         Improve docstrings.
7513         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7514         Use lambda function values, not quoted lambdas.
7515         (byte-compile-recurse-toplevel): Remove extraneous &optional.
7517         * emacs-lisp/cl-macs.el
7518         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
7519         (cl-struct-slot-value): Conditionally use aref or nth so that the
7520         compiler produces optimal code.
7522 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7524         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
7525         (inline): Don't inline cl--set-elt.
7526         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
7527         Define as inlinable instead.
7528         (cl-struct-set-slot-value): Remove.
7530         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
7531         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
7532         Use setf instead.
7534 2014-04-21  Daniel Colascione  <dancol@dancol.org>
7536         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
7537         last two parameters after all.
7538         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
7539         (cl--compiler-macro-assoc,cl-struct-slot-value)
7540         (cl-struct-set-slot-value): Stop using them.
7542 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7544         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
7545         entry in image-mode-winprops-alist.
7547 2014-04-21  Daniel Colascione  <dancol@dancol.org>
7549         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
7550         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
7551         (byte-compile-toplevel-file-form): Use it.
7553         * emacs-lisp/cl-macs.el:
7554         (cl--loop-let): Properly destructure `while' clauses.
7556 2014-04-20  Daniel Colascione  <dancol@dancol.org>
7558         * vc/vc.el (vc-root-dir): New public autoloaded function for
7559         generically finding the current VC root.
7560         * vc/vc-hooks.el (vc-not-supported): New error.
7561         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
7563 2014-04-20  Daniel Colascione  <dancol@dancol.org>
7565         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
7566         argument.
7567         (cl--const-expr-val): cl--const-expr-val should macroexpand its
7568         argument in case we're inside a symbol-macrolet.
7569         (cl--do-arglist, cl--compiler-macro-typep)
7570         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
7571         environment to `cl--const-expr-val'.
7572         (cl-struct-sequence-type,cl-struct-slot-info)
7573         (cl-struct-slot-offset, cl-struct-slot-value)
7574         (cl-struct-set-slot-value): New functions.
7576 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7578         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
7579         assignments such as "case=hello" (bug#17297).
7581 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
7583         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
7584         Do not autoload.
7585         (tramp-file-name-handler, tramp-completion-file-name-handler):
7586         Revert patch from 2014-04-10, it isn't necessary anymore.
7587         (tramp-autoload-file-name-handler)
7588         (tramp-register-autoload-file-name-handlers): New defuns.
7589         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
7590         (tramp-register-file-name-handlers): Remove also
7591         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
7592         Do not autoload its invocation, but eval it after loading of 'tramp.
7594         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
7596         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
7598 2014-04-17  Daniel Colascione  <dancol@dancol.org>
7600         Add support for bracketed paste mode; add infrastructure for
7601         managing terminal mode enabling and disabling automatically.
7603         * xt-mouse.el:
7604         (xterm-mouse-mode): Simplify.
7605         (xterm-mouse-tracking-enable-sequence)
7606         (xterm-mouse-tracking-disable-sequence): New constants.
7607         (turn-on-xterm-mouse-tracking-on-terminal)
7608         (turn-off-xterm-mouse-tracking-on-terminal):
7609         Use tty-mode-set-strings and tty-mode-reset-strings terminal
7610         parameters instead of random hooks.
7611         (turn-on-xterm-mouse-tracking)
7612         (turn-off-xterm-mouse-tracking): Delete.
7614         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
7615         (xterm-paste-ending-sequence): New constant.
7616         (xterm-paste): New command used for bracketed paste support.
7618         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
7619         (terminal-init-xterm-bracketed-paste-mode): New function.
7620         (terminal-init-xterm): Call it.
7621         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
7622         and tty-mode-reset-strings instead of random hooks.
7623         (xterm-turn-on-modify-other-keys)
7624         (xterm-turn-off-modify-other-keys)
7625         (xterm-remove-modify-other-keys): Delete obsolete functions.
7627         * term/screen.el: Rewrite to just use the xterm code.
7628         Add copyright notice.  Mention tmux.
7630 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
7632         * image-mode.el (image-mode-window-put): Also update the property of
7633         the "default window".
7634         * doc-view.el (doc-view-new-window-function): If no window
7635         exists, move to the last known page.
7637 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7639         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
7640         here-documents (bug#17262).
7642 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
7644         * term/pc-win.el (x-list-fonts, x-get-selection-value):
7645         Provide doc strings, as required by snarf-documentation.
7647 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7649         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
7650         arg of overlays-at.  Use `invisible-p'.
7652         * obsolete/lucid.el (extent-at):
7653         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
7654         overlays-at.
7655         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
7657 2014-04-16  João Távora  <joaotavora@gmail.com>
7659         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
7660         links.  (Bug#17217).
7662 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7664         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7665         Use mapc to loop over a vector.  (Bug#17257).
7667 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
7669         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
7670         patch, there are new problems with file names containing spaces.
7671         Get rid of backticks.  (Bug#17238)
7673 2014-04-16  João Távora  <joaotavora@gmail.com>
7675         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
7676         possible bug.
7678 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
7680         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
7681         (blink-cursor-mode): Mention customization variables and the
7682         effect of 'blink-cursor-blinks'.
7684 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
7686         * simple.el (undo): Prevent insertion of identity mapping into
7687         undo-equiv-table so as undo-only does not inf loop in the presence
7688         of consecutive nils in undo list.
7690 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
7692         * faces.el (make-face): Deprecate optional argument as it is no
7693         longer needed/used since the conditional X resources handling
7694         has been pushed down to make-face-x-resource-internal itself.
7695         (make-empty-face): Don't pass optional argument to make-face.
7697 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
7699         * savehist.el (savehist-save): Remove workaround for a read-passwd
7700         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
7701         noticing that the shim was still present.
7703 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7705         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
7707 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
7709         * faces.el (face-set-after-frame-default): Remove unused local variable.
7711 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * progmodes/grep.el: Use lexical-binding.
7714         (grep-expand-template): Pass explicit lexical env to `eval'.
7715         (zrgrep): Let-bind grep-find-template explicitly.
7717         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
7718         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
7720 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
7722         * international/characters.el <standard-case-table>: Add entries
7723         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
7724         Set category of Coptic characters be 'g' (Greek).
7726 2014-04-12  Leo Liu  <sdl.web@gmail.com>
7728         * progmodes/octave.el (completion-table-with-cache):
7729         Define if not available.
7730         (octave-goto-function-definition, octave-sync-function-file-names)
7731         (octave-find-definition-default-filename):
7732         Backquote upattern for compatibility.
7734 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
7736         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
7737         name twice due to backticks.  (Bug#17238)
7739 2014-04-12  Glenn Morris  <rgm@gnu.org>
7741         * term/w32-win.el (x-win-suspend-error):
7742         * term/x-win.el (x-win-suspend-error): Sync docs.
7744 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
7746         * faces.el (make-face): Remove deprecated optional argument.
7747         The conditional application of X resources is handled directly by
7748         make-face-x-resource-internal since Emacs 24.4.
7749         (make-empty-face): Don't pass optional argument to make-face.
7751 2014-04-11  Glenn Morris  <rgm@gnu.org>
7753         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
7755 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7757         Ediff's overlay priorities cause more trouble than they solve.
7758         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
7759         (ediff-highest-priority): Remove function (bug#17234).
7760         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
7761         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
7762         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
7763         overlay priorities.
7765 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
7767         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
7768         entry; use symbol boundaries to avoid mis-matches.
7770 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
7772         * net/tramp.el (tramp-file-name-handler)
7773         (tramp-completion-file-name-handler): Avoid recursive loading.
7775         * net/tramp-sh.el (tramp-make-copy-program-file-name):
7776         Quote result also locally.
7778 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7780         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
7781         Remove left-over code.
7783         * newcomment.el (comment-indent-new-line): Sink code where it's used.
7784         Reuse the previous comment's indentation unconditionally if it's on its
7785         own line.
7787 2014-04-09  Daniel Colascione  <dancol@dancol.org>
7789         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
7790         `no-syntax-crossing' arguments.  Forward to `up-list'.
7791         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
7792         Implement logic for escaping from strings.  Use narrowing to deal
7793         with corner cases.
7795 2014-04-09  Leo Liu  <sdl.web@gmail.com>
7797         * net/rcirc.el (rcirc-connection-info): New variable.
7798         (rcirc-connect): Use it to store connection info.
7799         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
7800         for killed process.
7801         (rcirc-cmd-reconnect): New command.  (Bug#17045)
7802         (rcirc-mode, set-rcirc-encode-coding-system)
7803         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
7805 2014-04-09  Daniel Colascione  <dancol@dancol.org>
7807         * emacs-lisp/cl-indent.el: Add comment claiming
7808         facility is also good for elisp.
7809         (lisp-indent-find-method): New function.
7810         (common-lisp-indent-function): Recognize cl-loop.
7811         (common-lisp-indent-function-1): Recognize cl constructs; use
7812         `lisp-indent-find-method' instead of `get' directly.
7813         (if): Use else-body style for elisp.
7815 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
7817         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7818         Module methods.  (Bug#17216)
7820 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7822         * help.el (describe-bindings): Fix buffer handling (bug#17210).
7823         (describe-bindings-internal): Mark obsolete.
7825 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7827         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
7828         buffer-file-name, and buffer-file-truename any more.
7830 2014-04-08  Leo Liu  <sdl.web@gmail.com>
7832         Use lexical-binding and require cl-lib.
7833         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
7834         (rcirc-handler-generic, rcirc-fill-paragraph)
7835         (rcirc-format-response-string, rcirc-target-buffer)
7836         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
7837         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
7838         (rcirc-ctcp-sender-PING, rcirc-browse-url)
7839         (rcirc-markup-timestamp, rcirc-markup-attributes)
7840         (rcirc-markup-my-nick, rcirc-markup-urls)
7841         (rcirc-markup-bright-nicks, rcirc-markup-fill)
7842         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
7843         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
7844         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
7845         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
7846         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
7847         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
7848         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
7849         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
7850         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
7851         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
7852         use cl-lib.
7854 2014-04-07  João Távora  <joaotavora@gmail.com>
7856         * elec-pair.el (electric-pair--syntax-ppss):
7857         When inside comments parse from comment beginning.
7858         (electric-pair--balance-info): Fix typo in comment.
7859         (electric-pair--in-unterminated-string-p): Delete.
7860         (electric-pair--unbalanced-strings-p): New function.
7861         (electric-pair-string-bound-function): New var.
7862         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
7863         according to `electric-pair--in-unterminated-string-p'
7865         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
7866         Inhibit quote pairing if point-max is inside an unterminated string.
7867         (electric-pair--looking-at-unterminated-string-p): Delete.
7868         (electric-pair--in-unterminated-string-p): New function.
7870 2014-04-07  Glenn Morris  <rgm@gnu.org>
7872         * shell.el (shell-directory-tracker):
7873         Go back to just ignoring failures.  (Bug#17159)
7875 2014-04-07  João Távora  <joaotavora@gmail.com>
7877         Fix `electric-pair-delete-adjacent-pairs' in modes binding
7878         backspace.  (Bug#16981)
7879         * elec-pair.el (electric-pair-backward-delete-char): Delete.
7880         (electric-pair-backward-delete-char-untabify): Delete.
7881         (electric-pair-mode-map): Bind backspace to a menu item filtering
7882         a new `electric-pair-delete-pair' command.
7883         (electric-pair-delete-pair): New command.
7885         * progmodes/python.el (python-electric-pair-string-delimiter):
7886         Fix triple-quoting electricity.  (Bug#17192)
7888         * elec-pair.el (electric-pair-post-self-insert-function):
7889         Don't skip whitespace when `electric-pair-text-pairs' and
7890         `electric-pair-pairs' were used. syntax to
7891         electric-pair--skip-whitespace.  (Bug#17183)
7893 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
7895         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
7896         "<F>".  (Bug#17199)
7898 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7900         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
7901         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
7903 2014-04-07  Glenn Morris  <rgm@gnu.org>
7905         * help.el (view-lossage): Doc tweak.
7907 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
7909         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
7910         only when inhibit-x-resources is nil, and do that earlier in the
7911         function.  Doc fix.  (Bug#16694)
7912         (face-spec-choose): Accept additional optional argument, whose
7913         value is returned if no matching attributes are found.
7914         (face-spec-recalc): Use the new optional argument when calling
7915         face-spec-choose.  (Bug#16378)
7916         (make-face-x-resource-internal): Do nothing when
7917         inhibit-x-resources is non-nil.  Don't touch the default face if
7918         reversed video is given--as was done in previous versions of Emacs.
7919         (face-set-after-frame-default): Don't call
7920         make-face-x-resource-internal here.  (Bug#16434)
7922 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
7924         * doc-view.el (doc-view-bookmark-jump):
7925         Use `bookmark-after-jump-hook' to jump to the right page after the
7926         buffer is shown in a window.  (bug#16090)
7928 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
7930         * international/characters.el (mirroring): Fix last change:
7931         instead of loading uni-mirrored.el explicitly, do that implicitly
7932         by creating the 'mirroring' uniprop table.  This avoids announcing
7933         the loading of uni-mirrored.el.
7935 2014-04-07  Glenn Morris  <rgm@gnu.org>
7937         * files.el (buffer-stale--default-function)
7938         (buffer-stale-function, revert-buffer--default):
7939         * autorevert.el (auto-revert-buffers): Doc tweaks.
7941 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
7943         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
7945 2014-04-07  Glenn Morris  <rgm@gnu.org>
7947         * files.el (make-backup-file-name-function)
7948         (make-backup-file-name, make-backup-file-name--default-function)
7949         (make-backup-file-name-1, find-backup-file-name)
7950         (revert-buffer-function, revert-buffer-insert-file-contents-function)
7951         (buffer-stale--default-function, buffer-stale-function)
7952         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
7953         (revert-buffer, revert-buffer--default)
7954         (revert-buffer-insert-file-contents--default-function):
7955         Doc fixes related to defaults no longer being nil.
7956         (make-backup-file-name-function): Bump :version.
7957         Restore nil as a valid but deprecated custom type.
7959 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7961         * progmodes/perl-mode.el (perl-syntax-propertize-function):
7962         Handle $' used as a variable (bug#17174).
7964         * progmodes/perl-mode.el (perl-indent-new-calculate):
7965         Handle forward-sexp failure (bug#16985).
7966         (perl-syntax-propertize-function): Add "foreach" and "for" statement
7967         modifiers introducing expressions (bug#17116).
7969 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7971         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
7973 2014-04-05  Leo Liu  <sdl.web@gmail.com>
7975         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7976         Add define-compilation-mode.
7978 2014-04-04  João Távora  <joaotavora@gmail.com>
7980         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
7981         parse from comment beginning.
7982         (electric-pair--balance-info): Fix typo in comment.
7983         (electric-pair--in-unterminated-string-p): Delete.
7984         (electric-pair--unbalanced-strings-p): New function.
7985         (electric-pair-string-bound-function): New var.
7986         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
7987         according to `electric-pair--in-unterminated-string-p'.
7989 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7991         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
7992         Move declaration before first use.
7993         (reftex-move-to-next-arg): Silence compiler warning.
7995 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
7997         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
7998         Use `window-total-width' instead of `window-width'.
8000 2014-04-03  Daniel Colascione  <dancol@dancol.org>
8002         * subr.el (set-transient-map): Remove rms's workaround entirely;
8003         use new `suspicious-object' subr to mark our lambda for closer
8004         scrutiny during gc.
8006 2014-04-02  Richard Stallman  <rms@gnu.org>
8008         * subr.el (set-transient-map): Comment out previous change.
8010 2014-04-02  Glenn Morris  <rgm@gnu.org>
8012         * menu-bar.el (menu-bar-file-menu):
8013         * vc/ediff.el (ediff-current-file):
8014         Update for revert-buffer-function no longer being nil by default.
8016         * simple.el (command-execute): Respect nil disabled-command-function.
8018 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8020         * simple.el (command-execute): Do not execute the command when it
8021         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
8023 2014-04-02  Juri Linkov  <juri@jurta.org>
8025         * dired-aux.el (dired-compress-file): Don't use string-match-p
8026         because its match data is used afterwards.
8028 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8030         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
8031         0 like nil.
8033 2014-04-02  João Távora  <joaotavora@gmail.com>
8035         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
8036         Inhibit quote pairing if point-max is inside an unterminated string.
8037         (electric-pair--looking-at-unterminated-string-p):
8038         Delete.
8039         (electric-pair--in-unterminated-string-p): New function.
8041 2014-04-01  Daniel Colascione  <dancol@dancol.org>
8043         * minibuffer.el (minibuffer-complete): Prevent assertion failure
8044         when trying to complete the prompt.
8046 2014-03-31  Leo Liu  <sdl.web@gmail.com>
8048         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8049         Refactor out eldoc-documentation-function-default.
8050         (eldoc-documentation-function-default): New function.
8051         (eldoc-documentation-function): Change value.
8053 2014-03-31  Glenn Morris  <rgm@gnu.org>
8055         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
8057         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
8058         (vhdl-compose-components-package, vhdl-compose-configuration):
8059         Abbreviate default-directory (missing from some previous upstream sync).
8061 2014-03-31  Reto Zimmermann  <reto@gnu.org>
8063         Sync with upstream vhdl mode v3.35.2.
8064         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8065         (top-level): No longer require assoc.
8066         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
8067         New functions.  Use throughout to replace aget etc.
8068         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
8069         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
8070         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
8071         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
8072         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
8073         except `vhdl-compiler'.
8074         (vhdl-error-regexp-add-emacs): Remove all other compilers,
8075         when appropriate.
8077 2014-03-31  Glenn Morris  <rgm@gnu.org>
8079         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
8080         Revert 2014-03-26 merge goof; go back to using defalias.
8082 2014-03-30  Daniel Colascione  <dancol@dancol.org>
8084         * comint.el (comint-send-input):
8085         Deactivate completion-in-region-mode before we send comint input.
8086         (Bug#17139).
8088         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
8089         on keyboard-quit.
8091 2014-03-29  Glenn Morris  <rgm@gnu.org>
8093         * textmodes/reftex.el: Manage most autoloads automatically.
8094         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
8095         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
8096         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
8097         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
8098         * textmodes/reftex-toc.el: Set generated-autoload-file,
8099         and add autoload cookies for reftex.el.
8100         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
8102 2014-03-28  Glenn Morris  <rgm@gnu.org>
8104         * cus-start.el (report-emacs-bug-address): Set custom properties.
8105         * mail/emacsbug.el (report-emacs-bug-address):
8106         Variable is now defined in emacs.c.
8108         * mail/emacsbug.el (report-emacs-bug):
8109         Include system-configuration-features.
8111 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
8113         * simple.el (cycle-spacing): Never delete spaces on first run by
8114         default, but do so in a new 'fast mode and if there are already
8115         N spaces (the previous behavior).
8116         Compare N with its value in previous invocation so that changing
8117         prefix argument restarts `cycle-spacing' sequence.
8118         The idea is that with this change, binding M-SPC to
8119         `cycle-spacing' should not introduce any changes in behavior of
8120         the binding so long as users do not type M-SPC twice in a raw with
8121         the same prefix argument or lack thereof.
8123 2014-03-28  Glenn Morris  <rgm@gnu.org>
8125         * faces.el (term-file-aliases): New variable.
8126         (tty-run-terminal-initialization): Respect term-file-aliases.
8127         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
8128         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
8129         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
8131 2014-03-27  Glenn Morris  <rgm@gnu.org>
8133         * startup.el (inhibit-startup-hooks): Doc tweak.
8134         (normal-top-level): Simplify running of hooks.
8135         For window-setup-hook, respect inhibit-startup-hooks.
8136         (command-line-1): Don't set window-setup-hook to nil.
8138         Allow selective autoloading from obsolete/ directory.
8139         * Makefile.in (obsolete-autoloads): New rule.
8140         (autoloads): Run obsolete-autoloads.
8141         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
8142         * simple.el (iswitchb-mode): Remove hand-written autoloads.
8144 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
8146         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8147         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
8149         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8150         Don't propertize `?' or `!' as symbol constituent when after
8151         colon.  (Bug#17097)
8153 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
8155         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
8156         which is no longer needed and causes trouble in GTK builds (bug#17046).
8158         * emacs-lisp/package-x.el (package--archive-contents-from-url):
8159         Use url-insert-file-contents; package-handle-response no longer exists.
8161 2014-03-26  Daniel Colascione  <dancol@dancol.org>
8163         * simple.el (process-menu-mode-map): New variable.
8164         (process-menu-delete-process): New command.
8166 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
8168         * emacs-lisp/package.el: Fix bug#16733 (again).
8169         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
8170         (url-http-target-url): Remove unused declarations.
8171         (package-handle-response): Remove.
8172         (package--with-work-buffer): Use url-insert-file-contents and simplify.
8173         (package--download-one-archive): Use current-buffer instead of
8174         dynamic binding of `buffer'.
8175         (describe-package-1): Do not decode readme-string.
8177 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
8179         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
8181         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
8182         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
8183         `remote-file-name-inhibit-cache' to nil in the second pass.
8184         (tramp-find-executable): Do not call "which" on SunOS.
8185         (tramp-send-command-and-check): Fix docstring.
8186         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
8187         check whether source directory has set the sticky bit.
8189 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
8191         * simple.el (primitive-undo): Only process marker adjustments
8192         validated against their corresponding (TEXT . POS).  Issue warning
8193         for lone marker adjustments in undo history.  (Bug#16818)
8194         (undo-make-selective-list): Add marker adjustments to selective
8195         undo list based on whether their corresponding (TEXT . POS) is in
8196         the region.  Remove variable adjusted-markers, which was unused
8197         and only non nil during undo-make-selective-list.
8198         (undo-elt-in-region): Return nil when passed a marker adjustment
8199         and explain in function doc.
8201 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8203         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
8205 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
8207         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
8208         Match special global variables without curlies, too.
8209         (ruby-font-lock-keywords): Simplify the matcher for special global
8210         variables.  Don't require a non-word character after the variable.
8211         (Bug#17057)
8213 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8215         * simple.el (redisplay-highlight-region-function): Increase priority of
8216         overlay to make sure boundaries are visible (bug#15899).
8218 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
8220         * frameset.el (frameset--initial-params): Fix typo in parameter name.
8221         (frameset-restore): Compare display strings with equal.
8223         * frame.el (make-frame): Don't quote display name in error message,
8224         it is already a string.
8226 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8228         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
8229         the password.
8231 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
8233         * emacs-lisp/package.el (package--add-to-archive-contents):
8234         Include already installed and built-in packages in
8235         `package-archive-contents'.
8236         (package-install): Don't include already installed packages in the
8237         options during interactive invocation.  (Bug#16762)
8238         (package-show-package-list): If the buffer is already displayed in
8239         another window, switch to that window.
8241 2014-03-26  Reto Zimmermann  <reto@gnu.org>
8243         Sync with upstream vhdl mode v3.35.1.
8244         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8245         (vhdl-compiler-alist): Doc fix.
8246         (vhdl-goto-line): Remove.
8247         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
8248         (vhdl-mode) <paragraph-start>: Fix value.
8249         (vhdl-fix-statement-region): Not `for' in wait-statement.
8250         (vhdl-beautify-region): Also (un)tabify.
8251         (vhdl-get-visible-signals):
8252         Scan declarative part of generate statements.
8253         (vhdl-template-record): Fix indentation for record type declaration.
8254         (vhdl-expand-abbrev, vhdl-expand-paren):
8255         Revert to using fset again rather than defalias.
8256         (vhdl-scan-directory-contents): Tweak.
8257         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
8258         (vhdl-compose-components-package):
8259         Replace vhdl-goto-line with forward-line.
8260         (top-level): Tweak speedbar frame selection.
8261         (vhdl-generate-makefile-1): Support for compilers with no
8262         unit-to-file name mapping (create directory with dummy files).
8264 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
8266         Sync with upstream verilog-mode revision 702457d.
8267         * progmodes/verilog-mode.el (verilog-mode-version): Update.
8268         (create-lockfiles): Declare.
8269         (verilog-read-decls): Fix module header imports, bug709.
8270         Reported by Victor Lau.
8271         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
8272         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
8273         interface-only modules, bug721.  Reported by Dean Hoyt.
8275 2014-03-26  Glenn Morris  <rgm@gnu.org>
8277         * obsolete/gulp.el: Move here from emacs-lisp/.
8279         * files.el (lock-buffer, unlock-buffer, file-locked-p):
8280         Remove fallback aliases, since they are always defined now.
8282 2014-03-24  Daniel Colascione  <dancol@dancol.org>
8284         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
8285         instead of cl-loop search function.
8287 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
8289         * calendar/parse-time.el (parse-time-iso8601-regexp)
8290         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
8291         it more generally.
8293 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
8295         * net/dns.el (network-interface-list): Define for XEmacs.
8297 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
8299         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
8300         the network interfaces changed.
8301         (dns-query): Use it to flush the data.
8303 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
8305         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
8307 2014-03-23  Daniel Colascione  <dancol@dancol.org>
8309         Change subword-mode to use `find-word-boundary-function-table' and
8310         replace `capitalized-words-mode'.  Also, convert to lexical binding.
8311         * progmodes/cap-words.el: Delete now-obsolete file.
8312         * progmodes/subword.el: Reimplement using
8313         `find-word-boundary-function-table'.
8314         (subword-mode-map): Hollow out.
8315         (capitalized-words-mode): Define as obsolete alias for
8316         `subword-mode'.
8317         (subword-mode, superword-mode): Tweak documentation to reflect new
8318         implementation; call `subword-setup-buffer'.
8319         (subword-forward, subword-capitalize): Add underscore to indicate
8320         unused variable.
8321         (subword-find-word-boundary-function-table): New constant.
8322         (subword-empty-char-table): New constant.
8323         (subword-setup-buffer): New function.
8324         (subword-find-word-boundary): New function.
8326 2014-03-23  Daniel Colascione  <dancol@dancol.org>
8328         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
8329         list to look for keyword arguments instead of `memq', fixing
8330         (Bug#3647) --- unfortunately, only for freshly-compiled code.
8331         Please make bootstrap.
8333 2014-03-22  Glenn Morris  <rgm@gnu.org>
8335         * dired.el (dired-read-regexp): Make obsolete.
8336         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
8337         (dired-flag-files-regexp):
8338         * dired-aux.el (dired-mark-read-regexp):
8339         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
8341         * startup.el (fancy-startup-text):
8342         * help.el (describe-gnu-project): Visit online info about GNU project.
8344         * help-fns.el (help-fns--interactive-only): New function.
8345         (help-fns-describe-function-functions): Add the above function.
8346         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
8347         (next-line, previous-line): Remove hand-written interactive-only
8348         information from doc strings, it is auto-generated now.
8349         * bookmark.el (bookmark-write):
8350         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
8351         (epa-mail-import-keys): Mark interactive-only,
8352         and remove hand-written interactive-only information from doc strings.
8353         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
8354         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
8355         * files.el (not-modified):
8356         * simple.el (mark-whole-buffer): Mark interactive-only.
8358         * emacs-lisp/byte-run.el (defun-declarations-alist):
8359         Add interactive-only.  Doc tweak.
8360         (macro-declarations-alist): Doc tweak.
8361         * subr.el (declare): Doc tweak (add xref to manual).
8362         * comint.el (comint-run):
8363         * files.el (insert-file-literally, insert-file):
8364         * replace.el (replace-string, replace-regexp):
8365         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8366         (delete-forward-char, goto-line, insert-buffer, next-line)
8367         (previous-line): Set interactive-only via declare.
8369 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
8371         * emacs-lisp/package.el (package-desc): Use the contents of the
8372         quoted form, not its cdr.  (Bug#16873)
8374 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
8376         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
8377         benefit of doc.c; change parameter profile to match the X function.
8379 2014-03-22  Leo Liu  <sdl.web@gmail.com>
8381         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
8382         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
8384 2014-03-21  Richard Stallman  <rms@gnu.org>
8386         * battery.el (battery-linux-sysfs): Search for each field
8387         from the beginning of the buffer.
8389         * subr.el (set-transient-map): Clear out function and value
8390         of the temporary symbol when we're done with it.
8392         * mail/rmailsum.el (rmail-summary-delete-forward):
8393         Optimize case of reaching end and handling count.
8394         (rmail-summary-mark-deleted): Optimize when N is current msg.
8395         Don't create new summary line.
8396         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
8397         (rmail-summary-undelete-many): Rewrite for speed.
8398         (rmail-summary-msg-number): New function.
8400         * mail/rmail.el (rmail-delete-message): Update summary.
8401         (rmail-undelete-previous-message): Handle repeat count arg.
8402         (rmail-delete-backward, rmail-delete-forward): Likewise.
8404 2014-03-21  Daniel Colascione  <dancol@dancol.org>
8406         * mail/emacsbug.el (report-emacs-bug): Include memory usage
8407         information in bug reports.
8409 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
8411         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
8412         and `tramp-copy-env'.
8414         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
8415         (tramp-maybe-open-connection): Handle `tramp-login-env'.
8417 2014-03-21  Glenn Morris  <rgm@gnu.org>
8419         * electric.el (electric-indent-post-self-insert-function): Add doc.
8421 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
8423         * emacs-lisp/package.el (package-compute-transaction):
8424         Use `version-list-<=' to compare the requirement version against
8425         the version of package already to be installed.  Update the error
8426         message.  (Bug#16826)
8428         * progmodes/ruby-mode.el (ruby-smie-rules):
8429         Add indentation rule for ` @ '.  (Bug#17050)
8431 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
8433         * align.el (align-regexp): Remove superfluous backslash.
8435         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
8436         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
8437         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
8438         Fix docstring typos.
8439         (ffap-next): Use C-u in docstring.
8440         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
8441         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
8442         Remove superfluous backslashes.
8443         (ffap-string-at-point): Reflow docstring.
8445         * server.el (server-host): Reflow docstring.
8446         (server-unload-function): Fix docstring typo.
8447         (server-eval-at): Remove superfluous backslash.
8449         * skeleton.el (skeleton-insert): Remove superfluous backslash.
8450         (skeleton-insert): Doc fix.
8451         (skeleton-insert): Reflow docstring.
8453         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
8454         (tty-color-approximate, tty-color-by-index, tty-color-values)
8455         (tty-color-desc): Remove superfluous backslashes.
8457 2014-03-21  Glenn Morris  <rgm@gnu.org>
8459         * cus-start.el (history-length): Bump :version.
8461         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8462         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8463         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8464         Don't set `make-backup-files'.
8466         * info.el (info--prettify-description): New function,
8467         to give info-finder descriptions consistent case, punctuation.
8468         (Info-finder-find-node): Use it.  Sort packages.
8469         Refer to "description" rather than "commentary".
8471 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
8473         * frameset.el (frameset--print-register): New function.
8474         (frameset-to-register): Use it.
8476 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
8478         * progmodes/hideif.el (hif-string-to-number): New function.
8479         (hif-tokenize): Use it to understand non-decimal floats.
8481         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
8483         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
8485 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8487         * electric.el (electric-newline-and-maybe-indent): New command.
8488         Bind it globally to C-j.
8489         (electric-indent-mode): Don't mess with the global map any more.
8490         Don't drop the post-self-insert-hook is some buffer is still using it
8491         (bug#16770).
8493         * bindings.el (global-map): Remove C-j binding.
8495         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
8496         the docstring of functions advised before dumping (bug#16993).
8498 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
8500         * ps-print.el (ps-generate-postscript-with-faces):
8501         Explicitly deactivate the mark (bug#16866).
8502         * simple.el (deactivate-mark): Update region highlight.
8504 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
8506         * emacs-lisp/package.el (describe-package-1):
8507         Decode commentary (bug#16733).
8509 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
8511         * custom.el (defcustom): Doc fix: recommend avoiding destructive
8512         modification of the value argument of :set (bug#16755).
8514 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8516         * simple.el (newline-and-indent): Do autofill (bug#17031).
8518 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
8520         * newcomment.el (comment-normalize-vars): Only add escaping check
8521         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
8522         (comment-beginning): Use `narrow-to-region' instead of moving back
8523         one character.
8524         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
8525         (comment-start-skip): Update the docstring.
8527 2014-03-18  Richard Stallman  <rms@gnu.org>
8529         * dired.el (dired-display-file): Force use of other window.
8531 2014-03-18  Daniel Colascione  <dancol@dancol.org>
8533         * startup.el (tty-handle-args): Remove debug message from 2007.
8535 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8537         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
8538         (advice--make-interactive-form): Use it to avoid (auto)loading function.
8539         (advice--make-1, advice-add, advice-remove):
8540         Remove braindead :advice-pending hack.
8542 2014-03-17  Glenn Morris  <rgm@gnu.org>
8544         * calendar/calendar.el (calendar-generate-month): Apply weekend
8545         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
8547 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
8549         * net/tramp.el (tramp-action-out-of-band): Read pending output.
8550         (tramp-call-process): Trace also DESTINATION.
8552         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8553         Quote file names when they are local.  Remove superfluous trace.
8555 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
8557         * newcomment.el (comment-beginning): If `comment-start-skip'
8558         doesn't match, move back one char and try again.  (Bug#16971)
8560         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8561         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
8562         Set `comment-start-skip' to a simpler value that doesn't try to
8563         check if the semicolon is escaped (this is handled by
8564         `syntax-ppss' now).  (Bug#16971)
8566         * progmodes/scheme.el (scheme-mode-variables): Same.
8568 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
8570         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
8571         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
8572         current (Bug#16816, Bug#17007).
8573         (with-current-buffer-window): New macro doing the same as
8574         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
8575         * help.el (help-print-return-message): Warn in doc-string to not
8576         use this in `with-help-window'.
8577         (describe-bindings-internal): Call `describe-buffer-bindings'
8578         from within help buffer.  See Juanma's scenario in (Bug#16816).
8579         (with-help-window): Update doc-string.
8580         * dired.el (dired-mark-pop-up):
8581         * files.el (save-buffers-kill-emacs):
8582         * register.el (register-preview): Use `with-current-buffer-window'
8583         instead of `with-temp-buffer-window'.
8585 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
8587         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
8588         Implement inserting into current buffer, documented in their docstrings.
8589         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
8590         (rst-section-tree-point, rst-forward-section, rst-indent)
8591         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
8592         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
8593         (rst-font-lock-handle-adornment-pre-match-form)
8594         (rst-repeat-last-character): Reflow docstrings.
8595         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
8596         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
8597         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
8598         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
8599         Fix docstring typos.
8600         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
8601         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
8602         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
8604 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
8606         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
8607         for compatibility with other ports.
8608         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
8609         from the -xrm command line argument, but in the Nextstep port its value
8610         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
8612         * progmodes/python.el (defconst, python-syntax-count-quotes)
8613         (python-indent-region, python-indent-shift-right)
8614         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
8615         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
8616         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
8617         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
8618         (inferior-python-mode, python-shell-make-comint, run-python-internal)
8619         (python-shell-buffer-substring, python-shell-send-buffer)
8620         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
8621         (python-completion-complete-at-point, python-fill-docstring-style)
8622         (python-eldoc-function, python-imenu-format-item-label)
8623         (python-imenu-format-parent-item-label)
8624         (python-imenu-format-parent-item-jump-label)
8625         (python-imenu--build-tree, python-imenu-create-index)
8626         (python-imenu-create-flat-index): Fix docstring typos.
8627         (python-indent-context, python-shell-prompt-regexp, run-python):
8628         Remove superfluous backslashes.
8629         (python-indent-line, python-nav-beginning-of-defun)
8630         (python-shell-get-buffer, python-shell-get-process)
8631         (python-info-current-defun, python-info-current-line-comment-p)
8632         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
8633         (python-indent-post-self-insert-function, python-shell-send-file)
8634         (python-shell-completion-get-completions)
8635         (python-shell-completion-complete-or-indent)
8636         (python-eldoc--get-doc-at-point): Reflow docstrings.
8638 2014-03-14  Glenn Morris  <rgm@gnu.org>
8640         * emacs-lisp/package.el (package-menu-mode-map):
8641         Replace use of obsolete function alias.  Tweak menu item text.
8643         * info.el (Info-finder-find-node):
8644         Ignore the `emacs' metapackage.  (Bug#10813)
8646         * finder.el (finder-list-matches): Include unversioned packages
8647         in the result of a keyword search.
8649         * finder.el (finder--builtins-descriptions): New constant.
8650         (finder-compile-keywords): Use finder--builtins-descriptions.
8652 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
8654         * simple.el (blink-matching-paren): Describe the new value,
8655         `jump', enabling the old behavior.
8656         (blink-matching-open): Use that value.  (Bug#17008)
8658 2014-03-14  Glenn Morris  <rgm@gnu.org>
8660         * finder.el (finder-no-scan-regexp): Add leim-list.
8661         (finder-compile-keywords):
8662         Don't skip files with same basename.  (Bug#14010)
8663         * Makefile.in (setwins_finder): New, excluding leim.
8664         (finder-data): Use setwins_finder.
8666         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
8667         (help-function-arglist, help-make-usage): Move from here...
8668         * help.el (help-split-fundoc, help-add-fundoc-usage)
8669         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
8670         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
8672 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
8674         * net/socks.el (socks, socks-override-functions)
8675         (socks-find-services-entry):
8676         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
8677         (hif-find-ifdef-block):
8678         * progmodes/modula2.el (m2-indent): Fix docstring typos.
8680         * net/tls.el (tls-program): Reflow docstring.
8682         * progmodes/pascal.el (pascal-mode-abbrev-table)
8683         (pascal-imenu-generic-expression, pascal-auto-endcomments)
8684         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
8685         (pascal-outline-mode): Fix docstring typos.
8686         (pascal-mode): Let define-derived-mode document mode hook.
8687         (pascal-uncomment-area): Reflow.
8688         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
8690         * progmodes/opascal.el (opascal-compound-block-indent)
8691         (opascal-case-label-indent): Fix docstring typos.
8692         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
8694 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
8696         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8697         Fontify multiple adjacent negation chars.  (Bug#17004)
8699 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
8701         * emacs-lisp/package.el (package--prepare-dependencies):
8702         Accept requirements without explicit version (bug#14941).
8704 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
8706         * register.el (register-separator, copy-to-register): Doc fixes.
8707         (register-preview-default): Remove unnecessary call to concat.
8709         * frameset.el (frameset-restore): When checking for a visible frame,
8710         use the action map instead of calling visible-frame-list.
8712 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
8714         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
8716 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
8718         * window.el (fit-frame-to-buffer): Get maximum width from
8719         display's width instead of height.
8721 2014-03-12  Glenn Morris  <rgm@gnu.org>
8723         * desktop.el (desktop-restore-frames)
8724         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
8725         (desktop-restore-reuses-frames): Doc tweaks.
8727         * electric.el (electric-indent-mode): Doc fix.
8729 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
8731         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
8732         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
8733         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
8734         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
8735         (cvs-dired-use-hook): Fix docstring typos.
8736         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
8737         Doc fixes.
8739         * vc/pcvs-defs.el (cvs-auto-remove-handled)
8740         (cvs-auto-remove-directories, cvs-default-ignore-marks)
8741         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
8742         (cvs-execute-single-dir): Fix docstring typos.
8744         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
8745         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
8747         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
8749         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
8750         Fix docstring typos.
8752 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
8754         * frameset.el (frameset--jump-to-register): Add autoload; it could be
8755         called from jump-to-register after unloading the frameset package.
8757 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8759         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
8760         (bug#16975).  Deactivate the mark before setting it to nil.
8761         (activate-mark): Do nothing if region is already active.
8763 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
8765         * frameset.el (frameset--target-display): Remove definition; declare.
8766         (frameset-save, frameset-restore): Let-bind frameset--target-display.
8768 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8770         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
8771         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
8772         when the advice is pending.
8773         (advice-remove): Remove this marker when not needed any more.
8775 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
8777         * frameset.el: Separate options for reusing frames and cleaning up.
8778         (frameset--reuse-list): Remove definition; declare.
8779         (frameset--action-map): Declare.
8780         (frameset--find-frame-if): Doc fix.
8781         (frameset--restore-frame): Cache frame action.
8782         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
8783         how to clean up the frame list after restoring.  Remove cleaning
8784         options from REUSE-FRAMES.  Change all keyword values to symbols.
8785         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
8787         * desktop.el (desktop-restore-forces-onscreen)
8788         (desktop-restore-reuses-frames): Use non-keyword values.
8789         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
8791 2014-03-10  Glenn Morris  <rgm@gnu.org>
8793         * files.el (find-file): Doc fix: update info node name.
8795         * emacs-lisp/advice.el (ad-add-advice, defadvice):
8796         Doc fix: remove references to deleted info nodes.
8798 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
8800         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8801         Do not add nil to the environment, when there's no remote `locale'.
8802         (tramp-find-inline-encoding): Check, that the remote host has
8803         installed perl, before sending scripts.
8805 2014-03-10  Leo Liu  <sdl.web@gmail.com>
8807         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8808         Clear eldoc-last-message.  (Bug#16920)
8810 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8812         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
8813         (bug#14430).
8815 2014-03-09  Juri Linkov  <juri@jurta.org>
8817         * ansi-color.el (ansi-color-names-vector): Copy default colors
8818         from `xterm-standard-colors' that look well on the default white
8819         background (and also on the black background) to avoid illegible
8820         color combinations like yellow-on-white and white-on-white.
8821         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
8823 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
8825         * frameset.el (frameset-restore): When no frame is visible, do not
8826         generate a list of frames, just make visible the selected one.
8828 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
8830         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
8831         it only contains the repository root.  (Bug#16897)
8833 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
8835         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
8836         only when `remote-file-name-inhibit-cache' is nil.
8837         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
8839 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
8841         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
8842         Fix doc-strings.
8843         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
8844         fit-frame-to-buffer variable.  Fix doc-string.
8845         (fit-window-to-buffer): Set ONLY argument in call of
8846         fit-frame-to-buffer.  Fix doc-string.
8848 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
8850         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
8851         (tramp-action-password): Clear password cache if needed.
8852         (tramp-read-passwd): Do not clear password cache.
8854         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
8855         cache unless it is the first password request.
8857 2014-03-06  Glenn Morris  <rgm@gnu.org>
8859         * simple.el (newline): Doc tweak.
8861         * emacs-lisp/shadow.el (load-path-shadows-find):
8862         Ignore dir-locals.  (Bug#12357)
8864 2014-03-05  Glenn Morris  <rgm@gnu.org>
8866         * files.el (interpreter-mode-alist):
8867         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
8869 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
8871         * frameset.el (frameset--initial-params): Filter out null entries.
8873 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
8875         * window.el (window-min-height, window-min-width):
8876         Rewrite doc-strings.
8877         (window-body-size): Add PIXELWISE argument to make it consistent
8878         with its callees.
8880 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
8882         * finder.el (finder-mode-map, finder-mode-syntax-table):
8883         Revert part of 2014-02-28 change.
8885 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
8887         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
8888         (eww-setup-buffer): Clear next/prev/etc more reliably.
8889         (eww-textarea-map): [tab] doesn't work on tty.
8890         Reported by Mario Lang.
8892         * net/shr.el (shr-map): Ditto.
8894 2014-03-04  Glenn Morris  <rgm@gnu.org>
8896         * minibuffer.el (completion-hilit-commonality):
8897         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
8899 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
8901         * hilit-chg.el (hilit-chg-unload-function): New function.
8902         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
8903         (hilit-chg-map-changes): Prefer cardinal number to digit.
8904         (hilit-chg-display-changes): Reflow docstring.
8905         (highlight-changes-rotate-faces): Remove superfluous backslash.
8907 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
8909         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
8910         `tramp-send-command-and-check'.
8912 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
8914         * hexl.el (hexl-address-region, hexl-ascii-region)
8915         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
8916         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
8917         (hexl-forward-word, hexl-previous-line, hexl-next-line):
8918         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
8919         (hexl-mode): Doc fix.
8920         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
8921         (hexl-mode-ruler): Fix typos in docstrings.
8923         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
8924         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
8925         Remove superfluous backslashes.
8926         (strokes-last-stroke, strokes-global-map, strokes-mode):
8927         Reflow docstrings.
8928         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
8929         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
8930         (strokes-distance-squared, strokes-global-set-stroke)
8931         (strokes-global-set-stroke-string): Doc fixes.
8932         (strokes-help): Fix typos; reflow docstring.
8934 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
8936         * window.el (window-in-direction): Fix doc-string.
8938 2014-03-04  Glenn Morris  <rgm@gnu.org>
8940         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
8941         Explicit error if no grammar.
8942         (smie-config-save): Doc fix.  Fix quote typo.
8944 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8946         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
8947         electric-indent-mode-hook if we obey electric-indent-mode.
8948         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
8949         decide whether we obey electric-indent-mode.
8950         (c-change-set-fl-decl-start, c-extend-after-change-region):
8951         Silence warnings.
8952         (c-electric-indent-mode-hook): Assume we do want to obey
8953         electric-indent-mode.
8955         * electric.el (electric-indent-mode-has-been-called): Remove.
8956         (electric-indent-mode): Fix accordingly.
8958         * files.el (hack-local-variables): Mention file name in warning.
8960         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
8962 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
8964         * bindings.el: Add comment describing why C-d binds to `delete-char'.
8965         * simple.el (delete-forward-char): Mark as interactive-only.
8967 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
8969         * icomplete.el (icomplete-completions):
8970         Follow-up to 2014-03-01 change.
8972         * icomplete.el: Miscellaneous doc fixes.
8973         Use Icomplete everywhere instead of icomplete for consistency.
8974         (icomplete-max-delay-chars): Fix typo.
8975         (icomplete-mode): Use \[].
8976         (icomplete-tidy, icomplete-exhibit): Reflow.
8977         (icomplete-minibuffer-setup-hook, icomplete-completions):
8978         Remove superfluous backlashes.
8980         * ido.el: Miscellaneous doc fixes.
8981         Use Ido everywhere instead of ido or `ido' for consistency.
8982         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
8983         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
8984         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
8985         (ido-separator): Extract obsolescence info from docstring and declare
8986         with make-obsolete-variable.
8987         (ido-minibuffer-setup-hook): Simplify example.
8988         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
8989         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
8990         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
8991         (ido-everywhere): Reflow docstring.
8992         (ido-toggle-vc): Doc fix.
8993         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
8994         of long list of keybindings.
8996 2014-03-03  Glenn Morris  <rgm@gnu.org>
8998         * frame.el (display-pixel-height, display-pixel-width)
8999         (display-mm-dimensions-alist, display-mm-height)
9000         (display-mm-width): Doc tweaks.
9002 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
9004         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
9005         case of undo in region.
9007 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
9009         * window.el (fit-window-to-buffer): Fix argument in window-size
9010         call when window is horizontally combined.
9012 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
9014         * icomplete.el (icomplete-completions): Use string-width.
9015         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9017 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
9019         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9020         Highlight regexp options.  (Bug#16914)
9022 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
9024         * window.el (window--max-delta-1): Round down when calculating
9025         how many lines/columns we can get from a window.
9027 2014-03-01  Glenn Morris  <rgm@gnu.org>
9029         * isearch.el (search-invisible): Doc fix.
9031         * minibuffer.el (completion-hilit-commonality):
9032         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
9033         * comint.el (comint-dynamic-list-completions): Doc fix.
9034         * comint.el (comint-dynamic-list-completions):
9035         * filecache.el (file-cache-minibuffer-complete):
9036         * tempo.el (tempo-display-completions):
9037         * eshell/em-hist.el (eshell-list-history):
9038         Replace use of obsolete argument of display-completion-list.
9040 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
9042         * icomplete.el (icomplete-completions):
9043         Revert back to using "..." when ?… cannot be displayed.
9045 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
9047         * finder.el (finder-unload-function): New function.
9049 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
9051         * dframe.el (dframe-detach):
9052         * find-dired.el (find-dired, find-name-dired):
9053         * finder.el (finder-mode-map, finder-mode-syntax-table)
9054         (finder-headmark, finder-select, finder-mouse-select):
9055         Fix docstring typos.
9057 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
9059         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
9060         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
9061         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9062         Fix doc-string based on a suggestion by Nicolas Richard
9063         <theonewiththeevillook@yahoo.fr>.
9064         * help.el (with-help-window): Fix doc-string.
9066 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
9068         * net/shr.el (shr-image-animate): New option.
9069         (shr-put-image): Respect shr-image-animate.
9071 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
9073         * net/tramp-adb.el (tramp-adb-parse-device-names):
9074         Use `accept-process-output'.
9075         (tramp-adb-handle-file-truename): Cache the localname only.
9076         (tramp-adb-handle-make-directory)
9077         (tramp-adb-handle-delete-directory): Flush file properties correctly.
9078         (tramp-adb-handle-set-file-modes): Do not raise an error when file
9079         modes cannot be changed.
9081         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
9082         file properties of symlinks.
9084 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
9086         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
9087         required/optional fields to match development biblatex.  (Bug#16781)
9089 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
9091         * saveplace.el (toggle-save-place):
9092         Fix argument handling.  (Bug#16673)
9094 2014-02-28  Glenn Morris  <rgm@gnu.org>
9096         * minibuffer.el (completions-first-difference)
9097         (completions-common-part, completion-hilit-commonality): Doc fixes.
9099 2014-02-28  Karl Berry  <karl@gnu.org>
9101         * info.el (Info-mode-map): Add H for describe-mode,
9102         to synchronize with standalone Info.
9104 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
9106         * progmodes/sql.el (sql-interactive-mode):
9107         Avoid setting global comint-input-ring-separator.  (Bug#16814)
9109 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
9111         * net/dbus.el (dbus--init-bus): Declare function.
9112         (dbus-path-local, dbus-interface-local): New defconst.
9113         (dbus-init-bus): Use them.
9114         (dbus-return-values-table): Extend doc.
9115         (dbus-handle-bus-disconnect): Extend error message.
9117 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
9119         * subr.el (y-or-n-p): Fix double space issue in message.
9121 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
9123         * net/tramp.el (tramp-call-process): Improve trace message.
9124         (tramp-handle-insert-file-contents): Trace error case.
9126         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9127         <insert-directory>: Use `tramp-handle-insert-directory'.
9128         (tramp-adb-handle-insert-directory): Remove function.
9129         (tramp-adb-send-command-and-check): New defun, replacing
9130         `tramp-adb-command-exit-status'.  Change all callees.
9131         (tramp-adb-handle-file-attributes)
9132         (tramp-adb-handle-directory-files-and-attributes): Use it.
9133         (tramp-adb-ls-output-name-less-p):
9134         Use `directory-listing-before-filename-regexp'.
9135         (tramp-adb-handle-delete-directory): Flush also file properties of
9136         the truename of directory.
9137         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
9138         (tramp-adb-handle-file-local-copy): Make the local copy readable.
9139         (tramp-adb-handle-write-region): Implement APPEND.
9140         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
9141         properties correctly.
9142         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
9143         variables.  Check for connected devices only when needed.
9145 2014-02-27  Glenn Morris  <rgm@gnu.org>
9147         * minibuffer.el (completion-table-dynamic)
9148         (completion-table-with-cache): Doc fixes.
9150         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
9151         (completing-read-multiple): Doc fixes.
9153 2014-02-27  Daniel Colascione  <dancol@dancol.org>
9155         * minibuffer.el (completion--nth-completion): Fix indentation.
9157         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
9158         explicit tramp path is empty.
9160 2014-02-27  Glenn Morris  <rgm@gnu.org>
9162         * emacs-lisp/crm.el (completing-read-multiple):
9163         Empower help-enable-auto-load.
9165 2014-02-26  Glenn Morris  <rgm@gnu.org>
9167         * startup.el (command-line): Don't init the tty in daemon mode.
9169         Avoid calling tty-setup-hook twice, eg if a term file
9170         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
9171         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
9172         (tty-create-frame-with-faces): Use it.
9173         * startup.el (command-line): Pass run-hook argument
9174         to tty-run-terminal-initialization.
9176         * dired.el (dired-restore-desktop-buffer): Demote errors;
9177         eg in case a glob match fails.  (Bug#16884)
9179 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
9181         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
9182         error from `read-from-string'.  (Bug#16850)
9184         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
9185         result of `completing-read' in the interactive form.  (Bug#16854)
9187 2014-02-25  Glenn Morris  <rgm@gnu.org>
9189         * image.el (image-animate, image-animate-timeout):
9190         Stop animating images in dead buffers.  (Bug#16878)
9192         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
9194         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
9195         Doc fixes.
9196         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
9197         * term/sun.el (sun-raw-prefix-hooks):
9198         Use tty-setup-hook instead of term-setup-hook.
9199         (terminal-init-sun): Construct message from bytecomp plist.
9200         * term/wyse50.el (enable-arrow-keys): Doc fix.
9202 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
9204         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
9205         Fix docstring typos.
9207 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
9209         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
9211 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9213         * minibuffer.el (completion--try-word-completion):
9214         Fix error when completing M-x commands (bug#16808).
9216 2014-02-24  Leo Liu  <sdl.web@gmail.com>
9218         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
9220 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
9222         * apropos.el (apropos-print): Avoid formatting error when
9223         apropos-do-all and apropos-compact-layout are both t.
9225 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
9227         * apropos.el (apropos-property, apropos-all-words-regexp)
9228         (apropos-true-hit, apropos-variable, apropos-print):
9229         Fix docstring typos, and remove obsolete comment.
9231 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
9233         * net/tramp-sh.el (tramp-sh-handle-file-truename):
9234         Preserve trailing "/".  (Bug#16851)
9236 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
9238         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
9239         after `=>' (bug#16811).
9240         (ruby-smie-rules): Handle the inconsistent second element of the
9241         list returned by `smie-indent--parent'.
9242         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
9243         method call.
9245 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
9247         * elec-pair.el (electric-pair-text-syntax-table)
9248         (electric-pair-syntax-info, electric-pair--syntax-ppss)
9249         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
9250         (electric-pair--looking-at-unterminated-string-p): Doc fix.
9251         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
9253 2014-02-22  Glenn Morris  <rgm@gnu.org>
9255         * imenu.el (imenu--generic-function): Doc fix.
9257         * register.el (frame-configuration-to-register): Make obsolete.
9259 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
9261         * desktop.el (desktop-save-buffer-p): Do not fail when
9262         desktop-files-not-to-save is nil.  Return t for true result
9263         as the doc says.
9265 2014-02-22  Daniel Colascione  <dancol@dancol.org>
9267         * net/secrets.el (secrets-create-item, secrets-search-items):
9268         Check that attribute values are strings, avoiding the construction
9269         of invalid dbus messages.
9271 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
9273         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
9274         defun-declarations-alist.
9276 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9278         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
9279         (bug#16829).
9281 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
9283         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
9284         (whitespace-newline, whitespace-trailing, whitespace-line)
9285         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
9286         (whitespace-space-after-tab): Fix typo in docstrings.
9288 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
9290         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
9292         * electric.el (electric-indent-functions-without-reindent):
9293         Add `yaml-indent-line'.
9295 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
9297         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
9298         It has done nothing for years; should be removed after the release.
9300         * simple.el (choose-completion): Fix docstring typo.
9301         (read-quoted-char-radix): Remove unneeded * in docstring.
9302         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
9303         Don't escape parentheses unnecessarily in docstrings.
9305 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
9307         Fix handling of window-min-height/-width (Bug#16738).
9308         * window.el (window--dump-window, window--dump-frame):
9309         New functions.
9310         (window--min-size-1): Account for window dividers.
9311         When window-resize-pixelwise is nil, delay rounding till after the
9312         sum of the window components has been calculated.
9313         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
9314         nil make sure at least one text line and two text columns remain
9315         fully visible.
9316         (window-resize): Signal an error when window-resize-apply fails.
9317         (window--resize-child-windows): Fix calculation of by how many
9318         pixels a window can still be shrunk via window-new-normal.
9319         (adjust-window-trailing-edge): Call window--resizable with
9320         correct TRAIL argument.
9322         (with-temp-buffer-window): Don't evaluate BODY within
9323         with-current-buffer (Bug#16816).
9325 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
9327         * net/tramp.el (tramp-check-cached-permissions):
9328         Call `file-attributes' with `suffix' being a symbol but a string.
9330 2014-02-21  Daniel Colascione  <dancol@dancol.org>
9332         * net/dbus.el (dbus-init-bus-1): Declare new subr.
9333         (dbus-init-bus): New function: call into dbus-init-bus-1
9334         and installs a handler for the disconnect signal.
9335         (dbus-call-method): Rewrite to look for result in cons.
9336         (dbus-call-method-handler): Store result in cons.
9337         (dbus-check-event): Recognize events with nil sender as valid.
9338         (dbus-handle-bus-disconnect): New function.  React to bus
9339         disconnection signal by synthesizing dbus error for each
9340         pending synchronous or asynchronous call.
9341         (dbus-notice-synchronous-call-errors): New function.
9342         (dbus-handle-event): Raise errors directly only when `dbus-debug'
9343         is true, not all the time.
9345 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
9347         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
9348         Remove obsolescence declarations, these variables do not exist anymore.
9350         * savehist.el (savehist-save-minibuffer-history)
9351         (savehist-additional-variables, savehist-file, savehist-mode-hook)
9352         (savehist-save-hook, savehist-coding-system, savehist-loaded)
9353         (savehist-load, savehist-install, savehist-autosave): Fix typos;
9354         mostly, refer to "Savehist mode" when talking about the mode,
9355         and not the function.
9357         * saveplace.el (save-place): Remove redundant info in docstring.
9358         (save-place-forget-unreadable-files, toggle-save-place)
9359         (save-place-forget-unreadable-files, save-place-dired-hook):
9360         Fix typos and remove unneeded backslashes.
9362 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
9364         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
9365         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
9367         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9368         <insert-directory>: Use `tramp-handle-insert-directory'.
9369         (tramp-gvfs-handle-insert-directory): Remove function.
9371         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9372         Call `tramp-handle-insert-directory'.
9374 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
9376         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
9377         before the start of buffer/region (bug#16799).
9379 2014-02-20  Glenn Morris  <rgm@gnu.org>
9381         * isearch.el (search-invisible): Doc fix.
9383 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
9385         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
9386         (bug#16657).
9388 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
9390         * frameset.el (frameset-restore): Delay removing an old frame's
9391         duplicate id until the new frame has been correctly created.
9393 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
9395         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
9396         (tramp-check-cached-permissions): Call `file-attributes' if the
9397         cache is empty.
9399         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9400         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9402         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9403         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9404         (tramp-gvfs-maybe-open-connection): Set always connection
9405         properties, even if target is mounted already.
9407         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
9408         Set tramp-autoload cookie.
9409         (tramp-get-remote-touch): New defun.
9410         (tramp-sh-handle-set-file-times): Use it.
9411         (tramp-sh-handle-directory-files-and-attributes):
9412         Use `tramp-handle-directory-files-and-attributes' if neither stat
9413         nor perl are available on the remote host.
9415         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
9416         "/".  Write long listing only when "l" belongs to the switches.
9418         * net/trampver.el: Update release number.
9420 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
9422         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
9424 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
9426         * window.el (window-state-put): Allow WINDOW to refer to an
9427         internal window (Bug#16793).
9429 2014-02-19  Glenn Morris  <rgm@gnu.org>
9431         * textmodes/remember.el: Move provide statement to end.
9432         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
9433         (remember-notes): Doc fixes.
9435 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9437         * delsel.el (delete-char): Restore incorrectly erased property
9438         (bug#16795).
9440 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
9442         * frameset.el (frameset--restore-frame): When a frame is being reused
9443         and its root window is not alive, delete all the frame's windows before
9444         restoring the window state.  This works around the issue in bug#16793.
9446 2014-02-18  Glenn Morris  <rgm@gnu.org>
9448         * textmodes/remember.el (remember-data-directory)
9449         (remember-directory-file-name-format, remember-store-in-files)
9450         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
9451         (remember-notes-save-and-bury-buffer)
9452         (remember-notes--kill-buffer-query): Doc fixes.
9454         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
9456 2014-02-17  Alan Mackenzie  <acm@muc.de>
9458         Connect electric-indent-mode up with CC Mode.  Bug #15478.
9459         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
9460         to electric-indent-{,local-}-mode.
9461         (c-basic-common-init): Set electric-indent-inhibit.
9462         Initialise c-electric-flag from electric-indent-mode.
9463         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
9464         New hook functions which propagate electric-indent-mode to CC mode.
9466         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
9467         hit, toggle electric-indent-local-mode.
9469         * electric.el (electric-indent-mode-has-been-called):
9470         New variable.
9472 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
9474         * frameset.el (frameset-cfg-id): New function.
9475         (frameset--reuse-frame, frameset-restore): Use it.
9476         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
9478 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9480         * ido.el (ido-file-internal): Remove unused var `d'.
9481         Use \` for to match BoS.  Fit within 80n columns.
9483 2014-02-17  Daniel Colascione  <dancol@dancol.org>
9485         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
9486         dbus-call-method check for completion using a busy-wait loop with
9487         gradual backoff.
9489 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
9491         Sync with Tramp 2.2.9.
9493         * net/trampver.el: Update release number.
9495 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
9497         * ido.el (ido-file-internal): Don't add the name of an existing
9498         directory twice.  (Bug#16747)
9500 2014-02-16  Glenn Morris  <rgm@gnu.org>
9502         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
9503         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
9505 2014-02-15  Michael R. Mauger  <michael@mauger.com>
9507         * progmodes/sql.el: Version 3.4
9508         (sql-oracle-options): New default value ("-L").
9509         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9510         (sql-placeholders-filter): Correct placeholder pattern.
9511         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
9512         (sql-login-delay): New variable.
9513         (sql-product-interactive): Use it.
9515 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
9517         * frameset.el (frameset--jump-to-register): Check that buffer is live
9518         (bug#16749).
9520 2014-02-15  Glenn Morris  <rgm@gnu.org>
9522         * info.el (info-initialize): Revert 2014-01-10 change.
9524 2014-02-14  Glenn Morris  <rgm@gnu.org>
9526         * replace.el (map-query-replace-regexp)
9527         (read-regexp-defaults-function, read-regexp): Doc fixes.
9529         * dired.el (dired-read-regexp):
9530         * faces.el (list-faces-display):
9531         * misearch.el (multi-isearch-read-matching-buffers)
9532         (multi-isearch-read-matching-files):
9533         * play/cookie1.el (cookie-apropos):
9534         * progmodes/grep.el (grep-read-regexp): Doc fixes.
9536         * textmodes/remember.el (remember): Use frameset-to-register
9537         rather than frame-configuration-to-register.
9539 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
9541         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
9542         incorrect keybinding.
9544 2014-02-13  Daniel Colascione  <dancol@dancol.org>
9546         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
9547         when adding overlays so that line numbers from compiler match line
9548         numbers we use.
9550 2014-02-13  Glenn Morris  <rgm@gnu.org>
9552         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
9554         * jit-lock.el (jit-lock-mode): Doc fix.
9556 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
9558         * apropos.el (apropos-read-pattern): When the user passes an empty
9559         string, give a more helpful error message than "Wrong type
9560         argument: stringp, nil".
9562 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9564         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
9566 2014-02-13  Glenn Morris  <rgm@gnu.org>
9568         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
9570 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9572         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
9573         shift-select commands.
9575 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
9577         * progmodes/js.el (js-indent-line): Don't widen.
9578         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
9580 2014-02-12  Glenn Morris  <rgm@gnu.org>
9582         * icomplete.el (icomplete): Add info-link to defgroup.
9583         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
9584         (icomplete-minibuffer-map, icomplete-mode)
9585         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
9587         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
9588         (package-menu-filter): Rename from package-menu-filter-interactive.
9589         Doc fix.
9591 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
9593         * frameset.el (frameset--jump-to-register): Select the required
9594         window and buffer before restoring position (bug#16696).
9596 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
9598         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
9600 2014-02-10  Glenn Morris  <rgm@gnu.org>
9602         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
9604 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
9606         * w32-common-fns.el (x-get-selection): Doc fix.
9607         * select.el (x-get-selection): Doc fix.  (Bug#15109)
9609         * face-remap.el (face-remap-add-relative)
9610         (face-remap-remove-relative, face-remap-reset-base)
9611         (face-remap-set-base): Call force-mode-line-update to redisplay
9612         the current buffer due to potential change in faces.  (Bug#16709)
9614 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
9616         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
9617         script more robustly.
9619 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
9621         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
9623         * simple.el (choose-completion): Doc fix (bug#14160).
9625         * subr.el (event-start): Say what a nil EVENT value means.
9627         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
9628         (bug#14197).
9630         * progmodes/grep.el (find-program): Doc fix (bug#14289).
9632         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
9634         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
9636         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
9637         predicate function (bug#15455).
9639 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
9641         * ielm.el (inferior-emacs-lisp-mode): Instead of
9642         `comment-use-global-state', set `comment-use-syntax'.
9644 2014-02-10  Glenn Morris  <rgm@gnu.org>
9646         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
9648 2014-02-09  Alan Mackenzie  <acm@muc.de>
9650         Fix c-invalidate-state-cache on narrowed buffers.
9651         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
9652         Widen when setting and clearing the CPP delimiter properties.
9654 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
9656         * help.el (describe-bindings): Doc fix (bug#9888).
9658         * files.el (save-buffer): Use ARG as the parameter name for
9659         consistency (bug#10346).
9660         (save-buffer): Clarify the 0 argument (bug#10346).
9662         * cus-edit.el (customize-apropos): Fix error string.
9663         (custom-buffer-create): Doc fix (bug#11122).
9664         (custom-sort-items): Doc fix (bug#11121).
9666         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
9668         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
9669         (icomplete-simple-completing-p): Mention the previous variable.
9671         * font-lock.el (font-lock-value-in-major-mode): Clarify the
9672         meaning of the parameter (bug#12282).
9674         * files.el (find-file-noselect): Clarify prompt when changing
9675         readedness (bug#13261).
9676         (locate-file): Suffixes aren't returned, so don't say that they
9677         are (bug#12674).
9678         (backup-inhibited): Doc clarification (bug#12525).
9680         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
9681         before we actually start to delete things (bug#16331).
9683         * subr.el (event-start): Doc fix (bug#14228).
9684         (event-end): Ditto.
9686 2014-02-09  Glenn Morris  <rgm@gnu.org>
9688         * emacs-lisp/warnings.el (lwarn):
9689         Empower help-enable-auto-load.  (Bug#15940)
9691 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
9693         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
9694         (Bug#16690)
9696 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
9698         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9699         Insert output at end of buffer.  (Bug#16120)
9701 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
9703         * simple.el (choose-completion-string-functions): Document new
9704         calling convention (bug#14153).
9705         (execute-extended-command): Clarify doc string (bug#13373).
9707         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
9709         * find-dired.el (find-name-dired): Doc fix (bug#14290).
9710         (find-grep-dired): Doc fix (bug#14288).
9712 2014-02-08  Juri Linkov  <juri@jurta.org>
9714         * isearch.el (isearch-quote-char): Check character validity
9715         like in `quoted-insert' (bug#16677).
9717 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
9719         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
9721         * isearch.el (isearch-hide-immediately): Doc clarification
9722         (bug#14723).
9724         * simple.el (line-move): Document utility function used many
9725         places in the Emacs sources (bug#14843).
9727         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
9728         (dired-prev-marked-file): Doc fix (bug#14855).
9729         (dired-up-directory): Doc fix (bug#14848).
9731         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
9733         * files.el (file-relative-name): Doc fix (bug#15159).
9735         * fringe.el (fringe-styles): Doc fix (bug#15239).
9737         * isearch.el (isearch-filter-predicate): Documentation typo fix
9738         (bug#15474).
9740         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
9742         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
9744         * replace.el (replace-match-maybe-edit): Doc clarification
9745         (bug#15632).
9747         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
9749         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
9751 2014-02-08  Glenn Morris  <rgm@gnu.org>
9753         * help-fns.el (describe-variable):
9754         Check {file,dir}-local-variables-alist, and buffer-file-name,
9755         in the correct buffer.
9757 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
9759         * help-fns.el (describe-variable): Fix the case where
9760         a value is directory-local with no dir-locals file.  (Bug#16635)
9762 2014-02-08  Glenn Morris  <rgm@gnu.org>
9764         * abbrev.el (edit-abbrevs-mode):
9765         Derive from fundamental-mode.  (Bug#16682)
9767 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
9769         * simple.el (quoted-insert): Check character validity (bug#16677).
9771 2014-02-07  Juri Linkov  <juri@jurta.org>
9773         * desktop.el (desktop-read): Claim the lock when the owner is not
9774         the current process.  (Bug#16157)
9776 2014-02-07  Juri Linkov  <juri@jurta.org>
9778         * desktop.el (desktop-buffers-not-to-save): Change default from nil
9779         to "\\` ".  (Bug#16651)
9781 2014-02-07  Juri Linkov  <juri@jurta.org>
9783         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
9784         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
9785         (desktop-auto-save-cancel-timer): New function with some code from
9786         `desktop-auto-save-set-timer'.
9787         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
9788         Instead of setting `desktop-save-mode' to nil, call
9789         `desktop-save-mode' with arg 0.  (Bug#16630)
9791 2014-02-07  Glenn Morris  <rgm@gnu.org>
9793         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
9794         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
9795         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
9797         * obsolete/iswitchb.el: Move to obsolete/.
9798         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
9799         since obsolete/ is not scanned for autoloads.
9800         * emacs-lisp/authors.el (authors-valid-file-names):
9801         Add iswitchb.el.
9803         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
9804         Disable now non-functional find-file-hook.
9806 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
9808         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
9809         instead of ";" in order to avoid additional prompts.  Let heredoc
9810         scripts read from tty.  (Bug#16582)
9811         (tramp-send-command): No special handling of heredocs, it isn't
9812         necessary anymore.
9814 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9816         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
9817         with a space (bug#16664).  Limit the symbols considered to the ones
9818         that are bound or fbound (bug#16646).
9820 2014-02-06  Glenn Morris  <rgm@gnu.org>
9822         * epa.el (epa-mail-aliases): Doc fix.
9824 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
9826         * emacs-lisp/lisp.el (lisp-completion-at-point):
9827         Use `completion-table-merge' instead of `completion-table-in-turn'
9828         (bug#16604).
9830         * minibuffer.el (completion-table-merge): New function.
9832 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
9834         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
9835         (tramp-sh-handle-set-file-acl)
9836         (tramp-sh-handle-start-file-process)
9837         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
9838         (tramp-find-executable, tramp-send-command): Use it.
9840 2014-02-05  Glenn Morris  <rgm@gnu.org>
9842         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
9844 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9846         * progmodes/python.el (python-shell-send-string)
9847         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
9849 2014-02-04  Anders Lindgren  <andlind@gmail.com>
9851         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
9852         the names (bug#16620).
9854 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
9856         * faces.el (window-divider): New default value.  Rewrite doc-string.
9857         (window-divider-first-pixel, window-divider-last-pixel): New faces.
9859 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
9861         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
9862         `protected' and `public' can also be called without arguments.
9864 2014-02-03  Glenn Morris  <rgm@gnu.org>
9866         * register.el (window-configuration-to-register)
9867         (frame-configuration-to-register): Unadvertise unused argument.
9868         * frameset.el (frameset-to-register): Remove unused argument.
9870         * frameset.el (frameset-to-register):
9871         * kmacro.el (kmacro-to-register):
9872         * register.el (increment-register):
9873         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
9874         (calc-append-to-register, calc-prepend-to-register):
9875         * play/gametree.el (gametree-layout-to-register)
9876         (gametree-apply-register-layout):
9877         * textmodes/picture.el (picture-clear-rectangle-to-register)
9878         (picture-yank-rectangle-from-register):
9879         * vc/emerge.el (emerge-combine-versions-register):
9880         Use register-read-with-preview to read registers.
9882 2014-02-03  João Távora  <joaotavora@gmail.com>
9884         * elec-pair.el (electric-pair-backward-delete-char): Don't error
9885         when at beginning of (possibly narrowed) buffer.
9887 2014-02-02  Daniel Colascione  <dancol@dancol.org>
9889         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
9890         Also try to display local help from just before point.
9892 2014-02-02  Alan Mackenzie  <acm@muc.de>
9894         c-parse-state.  Don't "append-lower-brace-pair" in certain
9895         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
9896         recognised as a comment.
9898         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
9899         as well as normal comment starter.
9900         (c-parse-state-get-strategy): Extra return possibility
9901         'back-and-forward.
9902         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
9903         return value list to indicate replacement of a brace-pair cons
9904         with its car.
9905         (c-parse-state-1): With 'back-and-forward, only call
9906         c-append-lower-brace-pair-to state-cache when cons-separated.
9908 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
9910         * term/ns-win.el (ns-suspend-error): New function.
9911         (ns-initialize-window-system): Add ns-suspend-error to
9912         suspend-hook (Bug#16612).
9914 2014-02-02  Daniel Colascione  <dancol@dancol.org>
9916         * progmodes/cc-defs.el (c-find-assignment-for-mode):
9917         Make loading cc-mode silent.
9919 2014-02-02  Daniel Colascione  <dancol@dancol.org>
9921         * comint.el (comint-prompt-read-only): Change doc to suggest
9922         remap keybinding.
9924 2014-02-02  Glenn Morris  <rgm@gnu.org>
9926         * register.el (register-read-with-preview, point-to-register)
9927         (window-configuration-to-register, frame-configuration-to-register)
9928         (jump-to-register, number-to-register, view-register, insert-register)
9929         (copy-to-register, append-to-register, prepend-to-register)
9930         (copy-rectangle-to-register): Doc fixes.
9932 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9934         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
9935         * emacs-lisp/find-func.el (find-function-C-source): Idem.
9936         * emacs-lisp/nadvice.el (advice--cd*r): New function.
9937         * help-fns.el (describe-function-1): Use it.
9939 2014-02-02  Glenn Morris  <rgm@gnu.org>
9941         * register.el (register-preview-default): New function,
9942         split from register-preview.
9943         (register-preview-function): Rename from register-preview-functions,
9944         make it not a hook.
9945         (register-preview): Use register-preview-function.
9946         (register-read-with-preview): Error on non-character event.  (Bug#16595)
9948 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
9950         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
9951         `:' before binary operators (bug#16609).  Don't check for `:'
9952         before `[' and `(', or their syntax status.  A percent literal
9953         can't end with either.
9954         (ruby-font-lock-keywords): For built-ins that require arguments,
9955         check that they're followed by something that looks like argument
9956         (bug#16610).
9958 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
9960         * subr.el (butlast): Document what an omitted N means (bug#13437).
9961         (nbutlast): Ditto.
9963 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
9965         * net/shr.el (shr-generic): Make into a defsubst to make the stack
9966         depth shallower (bug#16587).
9967         (shr-tag-svg): Respect `shr-inhibit-images'.
9968         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
9970 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
9972         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
9973         (ruby-smie-grammar): Make "." right-associative.  Make its priority
9974         lower than the ternary and all binary operators.
9975         (ruby-smie-rules): Indent "(" relative to the first non-"."
9976         parent, or the first "." parent at indentation.
9977         Use `ruby-align-chained-calls' for indentation of "." tokens.
9978         (Bug#16593)
9980 2014-01-31  Juri Linkov  <juri@jurta.org>
9982         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
9983         from `make-hash-table'.
9985         * textmodes/ispell.el (ispell-init-process): Change message format
9986         to be consistent with other messages.
9988 2014-01-31  Glenn Morris  <rgm@gnu.org>
9990         * delsel.el (delete-selection-mode): Doc fix.
9992         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
9993         (trace-function-background): Doc fixes.
9995         * ido.el (ido-use-virtual-buffers): Doc fix.
9996         Reset :version, since the default value has not changed.
9998         * register.el (register-preview-delay, register-read-with-preview):
9999         Doc fixes.
10001         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
10002         do not mess with mail-buffer position (fixes 2009-11-03 change).
10003         * progmodes/cc-mode.el (c-submit-bug-report):
10004         Check auto-fill-mode is bound.  (Bug#16592)
10006 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
10008         * startup.el (fancy-splash-image-file): New function,
10009         split from fancy-splash-head.
10010         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
10011         so that we are both using the same image.  (Bug#16574)
10013 2014-01-30  Glenn Morris  <rgm@gnu.org>
10015         * simple.el (eval-expression): Doc fix.
10017         * hexl.el (hexl-mode-hook):
10018         * ielm.el (ielm-mode-hook):
10019         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
10020         (lisp-interaction-mode-hook):
10021         * progmodes/cfengine.el (cfengine3-documentation-function):
10022         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
10024 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10026         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
10027         is a symbol (bug#16584).
10029 2014-01-30  Glenn Morris  <rgm@gnu.org>
10031         * help.el (help-for-help-internal): Add "P" to text.
10033 2014-01-29  Glenn Morris  <rgm@gnu.org>
10035         * simple.el (just-one-space, cycle-spacing): Doc fixes.
10037 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
10039         * window.el (fit-frame-to-buffer): Fix calculations for margins and
10040         height constraints.
10042 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
10044         * progmodes/hideif.el: Extend to full CPP expression syntax.
10045         (hif-token-alist): Add missing tokens.
10046         (hif-token-regexp): Add support for float/octal/hex immediates.
10047         (hif-string-literal-regexp): New const.
10048         (hif-tokenize): Recognize strings and float/octal/hex immediates.
10049         (hif-exprlist): New function.
10050         (hif-parse-if-exp): Use it.
10051         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
10052         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
10053         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
10054         (hif-logxor, hif-comma): New functions.
10056 2014-01-28  Glenn Morris  <rgm@gnu.org>
10058         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
10060         * indent.el (tab-stop-list): Doc fix.  Add :version.
10062         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
10063         (cvs-append-to-ignore): Add compatibility alias.
10065 2014-01-27  Glenn Morris  <rgm@gnu.org>
10067         * dired.el (dired-hide-details-mode): Don't autoload it,
10068         since it cannot be used outside Dired buffers anyway.
10070         * emulation/cua-base.el (cua-mode): Doc fix.
10072         * dired.el (dired-hide-details-hide-symlink-targets)
10073         (dired-hide-details-hide-information-lines)
10074         (dired-hide-details-mode): Doc fixes.
10076         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
10077         * strokes.el (strokes-file): Doc fix.  Bump :version.
10078         (strokes-help): Doc fix.
10079         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
10080         * emulation/viper.el (viper): Doc fix for custom group.
10081         (top-level): Remove oh-so-no-longer-relevant text about vip.
10082         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
10084         * ido.el (ido-save-directory-list-file):
10085         * saveplace.el (save-place-file):
10086         * calendar/timeclock.el (timeclock-file):
10087         * net/quickurl.el (quickurl-url-file):
10088         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10089         * progmodes/idlwave.el (idlwave-config-directory):
10090         * textmodes/remember.el (remember-data-file):
10091         Bump :version.
10093 2014-01-26  Glenn Morris  <rgm@gnu.org>
10095         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
10096         Doc fix.  Make obsolete.
10097         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
10099         * sort.el (delete-duplicate-lines): Doc fix.
10101 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10103         * progmodes/ada-mode.el (ada):
10104         * woman.el (woman): Link to info manual and Commentary section.
10106         * progmodes/flymake.el (flymake):
10107         * nxml/nxml-mode.el (nxml):
10108         * net/eww.el (eww):
10109         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
10110         * htmlfontify.el (htmlfontify):
10111         * ses.el (ses):
10112         * epa.el (epa):
10113         * ido.el (ido): Link to info manual.
10115 2014-01-25  Leo Liu  <sdl.web@gmail.com>
10117         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
10119 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
10121         * net/shr.el (shr-tag-img): Prefer the title over the alt text
10122         (bug#16537).
10124 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
10126         * net/eww.el (eww-download-callback):
10127         Fix reference to eww-download-directory.
10129         * emacs-lisp/bytecomp.el (byte-compile-file):
10130         Remove unused local variable `file-name'.
10132 2014-01-24  Glenn Morris  <rgm@gnu.org>
10134         * woman.el (woman-default-faces, woman-monochrome-faces):
10135         Fix obsolescence specification.
10137         * subr.el (with-demoted-errors): Doc fix.
10139 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10141         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
10142         (cl--macroexp-fboundp): New function.
10143         (cl--make-type-test): Use it.
10145 2014-01-23  Glenn Morris  <rgm@gnu.org>
10147         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
10148         * simple.el (eval-expression): Doc fixes.
10150 2014-01-22  Glenn Morris  <rgm@gnu.org>
10152         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
10154 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10156         * emacs-lisp/package.el: Write files silently.
10157         (package-autoload-ensure-default-file, package--write-file-no-coding)
10158         (package-generate-description-file, package--download-one-archive)
10159         (package-install-from-archive): Tell `write-region' to stay quiet.
10160         (package-menu-mode, package-menu--print-info): Omit the Archive column
10161         if there's only one archive.
10162         (package-all-keywords, package--has-keyword-p): Remove dead code.
10164 2014-01-22  Glenn Morris  <rgm@gnu.org>
10166         * version.el (emacs-bzr-version-bzr): Fix typo.
10168         * version.el (emacs-repository-get-version):
10169         Check either .bzr or .git, but not both.
10170         Make the git case actually use the DIR argument, and return nil
10171         rather than the empty string.
10172         Avoid error if .git exists but the git executable is not found.
10174 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
10176         Fixes in window size functions around Bug#16430 and Bug#16470.
10177         * window.el (window-total-size, window-size): New argument ROUND.
10178         (window--min-delta-1, window-min-delta, window--max-delta-1):
10179         Be more conservative when calculating the numbers of lines or
10180         columns a window can shrink (Bug#16430).
10181         (fit-window-to-buffer): Simplify code.
10182         * term.el (term-window-width): Call window-body-width again.
10184 2014-01-22  Glenn Morris  <rgm@gnu.org>
10186         * image.el (image-format-suffixes): Doc fix.
10188         * international/quail.el (quail-define-package): Doc fix.
10190         * emacs-lisp/authors.el (authors-valid-file-names)
10191         (authors-renamed-files-alist): Additions.
10193         * vc/vc-git.el (vc-git-print-log): Remove --follow;
10194         reverts 2014-01-09 change.  (Bug#16422)
10196         * calc/calc-embed.el (thing-at-point-looking-at):
10197         * emacs-lisp/map-ynp.el (x-popup-dialog):
10198         * obsolete/lmenu.el (x-popup-dialog):
10199         * emacs-lisp/package.el (url-recreate-url):
10200         * mail/mailclient.el (clipboard-kill-ring-save):
10201         * subr.el (x-popup-dialog): Update declaration.
10202         * mail/rmail.el (rmail-mime-message-p):
10203         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
10205 2014-01-21  Daniel Colascione  <dancol@dancol.org>
10207         * progmodes/sh-script.el (sh--inside-noncommand-expression):
10208         Correctly detect when we're inside an arithmetic expansion form
10209         containing nested parenthesis.
10210         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
10211         to detect cases where we shouldn't expand "<<" to a heredoc
10212         skeleton.
10214 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10216         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
10217         (eldoc--message-command-p): New function.
10218         (eldoc-display-message-p): Use it.
10219         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
10220         message is not automatically erased for us.
10221         (eldoc-print-current-symbol-info): Erase previous message, if any.
10223 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
10225         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
10226         specify it's an interactive function.
10228         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
10229         Fix regex used for scanning for citation keys which failed for
10230         citations with optional arguments.
10232 2014-01-21  Leo Liu  <sdl.web@gmail.com>
10234         * simple.el (read--expression): Don't enable eldoc-mode.
10236 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10238         * simple.el (move-beginning-of-line): Make sure we don't move forward
10239         (bug#16497).
10241 2014-01-20  Juri Linkov  <juri@jurta.org>
10243         * saveplace.el (toggle-save-place, save-place-to-alist)
10244         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
10245         'dired-mode) before checking for dired-directory.  (Bug#16477)
10247 2014-01-20  Juri Linkov  <juri@jurta.org>
10249         * indent.el (indent-line-to): Use backward-to-indentation
10250         instead of back-to-indentation.  (Bug#16461)
10252 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
10254         Revert some of the CANNOT_DUMP fix (Bug#16494).
10255         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
10256         but fixing this can wait until after the next release.
10257         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
10259 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
10261         * eshell/esh-mode.el (eshell-password-prompt-regexp):
10262         Use `password-word-equivalents'.
10263         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
10264         to t.  (Bug#5664, Bug#13124)
10266 2014-01-19  Alan Mackenzie  <acm@muc.de>
10268         Bind open-paren-in-column-0-is-defun-start to nil at some entry
10269         points.
10270         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
10271         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
10272         * progmodes/cc-mode.el (c-before-change, c-after-change)
10273         (c-font-lock-fontify-region): Bind it here.
10275 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
10277         * term.el (term-window-width): Call window-text-width instead of
10278         window-width (Bug#16470).
10280 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
10282         * simple.el (password-word-equivalents): Remove duplicates.
10283         Sort, to make this easier next time.
10284         Downcase.  Omit ": " after "jelszó".
10286 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
10288         * term/common-win.el (saved-region-selection): Defvar it.
10289         (x-select-text): Set saved-region-selection (Bug#16382).
10291 2014-01-18  Glenn Morris  <rgm@gnu.org>
10293         * emacs-lisp/authors.el (authors-aliases)
10294         (authors-renamed-files-alist): Add some entries.
10296 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
10298         * net/tramp.el (tramp-password-prompt-regexp):
10299         Use `password-word-equivalents' if available.
10300         (tramp-action-password, tramp-process-one-action)
10301         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
10303 2014-01-17  Chong Yidong  <cyd@gnu.org>
10305         * simple.el (password-word-equivalents): New defcustom.
10306         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
10307         to 24.4.
10308         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
10309         to t.  (Bug#13124)
10311 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
10313         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
10314         (ruby-align-to-stmt-keywords): Change the default value.
10315         Use `ruby-alignable-keywords' to generate the possible customization
10316         choices.
10317         (ruby-smie-rules): Instead of using a hardcoded list of alignable
10318         keywords, check against the value of `ruby-alignable-keywords'
10319         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
10321 2014-01-17  Glenn Morris  <rgm@gnu.org>
10323         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
10325         Make M-x authors return zero *Authors Errors* from current logs.
10326         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
10327         (authors-ignored-files): Add some entries, remove others.
10328         (authors-ambiguous-files, authors-valid-file-names):
10329         Add some entries.
10330         (authors-renamed-files-alist): Add, remove, and adjust entries.
10331         (authors-renamed-files-regexps): Add some entries.
10332         Remove some very broad ones.  Make some entries `lax'.
10333         (authors-lax-changelogs): New constant.
10334         (authors-disambiguate-file-name): Treat top-level specially.
10335         (authors-lax-changelog-p): New function.
10336         (authors-canonical-file-name): Check file as written against
10337         authors-valid-file-names.  Do not special-case etc/.
10338         Handle `lax' logs and authors-renamed-files-regexps elements.
10340 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
10342         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
10343         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
10344         callers.
10346 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10348         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
10349         Assume we're already in the proper buffer.
10350         Inspired by Anders Lindgren <andlind@gmail.com>.
10351         (follow-post-command-hook): Call it from the right buffer.
10352         (follow-comint-scroll-to-bottom): Adjust call.
10353         (follow-all-followers): Use get-buffer-window-list.
10355 2014-01-15  Daniel Colascione  <dancol@dancol.org>
10357         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
10358         `buffer-file-name' in interactive-form so that we don't leave
10359         pathless file names in `file-name-history'.
10361 2014-01-15  Juri Linkov  <juri@jurta.org>
10363         * indent.el (indent-rigidly): Set deactivate-mark to nil
10364         in transient indentation mode.  (Bug#16438)
10366 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
10368         * emacs-lisp/package.el (package-desc-keywords): New function
10369         (Bug#16222).
10370         (describe-package-1, package-all-keywords)
10371         (package--has-keyword-p): Use it.
10373 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10375         * simple.el (define-alternatives): When creating the
10376         COMMAND-alternatives variable, assign COMMAND as its definition
10377         name so that `describe-variable' can relocate it.
10379 2014-01-14  Matthew Leach  <matthew@mattleach.net>
10381         * font-lock.el (font-lock-keywords): Fix typo in docstring
10382         (bug#16307).
10384 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10386         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
10387         line instead of wrongly reset `add-coment' (bug#13577).
10389 2014-01-14  Daiki Ueno  <ueno@gnu.org>
10391         * epa-file.el (epa-file-write-region): Encode the region according
10392         to `buffer-file-format'.  Problem reported at:
10393         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
10395 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10397         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
10398         so it applies in the right buffer (bug#16410).
10400 2014-01-13  Daniel Colascione  <dancol@dancol.org>
10402         * textmodes/rst.el (rst-define-key): Provide deprecated
10403         keybindings through named functions instead of anonymous ones so
10404         that "??" doesn't appear in describe-mode output.
10406 2014-01-13  Bastien Guerry  <bzg@gnu.org>
10408         * simple.el (define-alternatives): Call the selected command
10409         interactively.  When setting `COMMAND--implementation' for the
10410         first time, tell the user how to chose another implementation.
10411         Enhance the docstring.
10413 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10415         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
10416         (log-edit--match-first-line): New function.
10417         (log-edit-font-lock-keywords): Use it.
10418         (log-edit-mode): Make jit-lock-defer-multiline work.
10420 2014-01-13  Bastien Guerry  <bzg@gnu.org>
10422         * rect.el (rectangle-mark-mode): When the region is not active,
10423         display a message saying that the mark as been set and that
10424         rectangle mode is in use.
10425         (rectangle--highlight-for-redisplay): Only put an overlay with a
10426         visible vertical bar when (display-graphic-p) is non-nil.
10427         This partially fixes Bug#16403.
10429 2014-01-13  Juri Linkov  <juri@jurta.org>
10431         * info.el (Info-find-file): Go to DIR before displaying the error
10432         about a nonexistent file if no previous Info file is visited.
10433         Use `user-error' instead of `error' for "Info file %s does not exist".
10434         (Info-find-node-2): In case of a nonexistent node in unwind forms
10435         go to the Top node if there is no previous node to revert to.
10436         (Bug#16405)
10438 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
10440         fit-frame/window-to-buffer code fixes including one for Bug#14096.
10441         * window.el (fit-frame-to-buffer): Fix doc-string.
10442         Respect window-min-height/-width.  Fit pixelwise when
10443         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
10444         when avoiding that frame goes partially off-screen.
10445         (fit-window-to-buffer): Respect window-min-height/-width
10446         (Bug#14096).
10448 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10450         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
10451         after an empty line.
10453 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10455         * net/shr.el (shr-render-region): Autoload.
10457 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
10459         * net/eww.el (eww-download-directory): Rename from
10460         `eww-download-path' (Bug#16419).
10462 2014-01-12  Leo Liu  <sdl.web@gmail.com>
10464         * dired-x.el (dired-mode-map): Fix last change.
10466         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
10468 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
10470         Spelling fixes.
10471         * emacs-lisp/generic.el (generic--normalize-comments):
10472         Rename from generic--normalise-comments.  All uses changed.
10473         * play/bubbles.el (bubbles--neighborhood-score)
10474         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
10475         (bubbles--neighborhood-available)
10476         (bubbles--update-neighborhood-score):
10477         Rename from names with 'neighbourhood'.  All uses changed.
10479 2014-01-12  Leo Liu  <sdl.web@gmail.com>
10481         Re-implement the feature of showing eldoc info after editing.
10482         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
10483         (eldoc-edit-message-commands): New function.
10484         (eldoc-print-after-edit): New variable.
10485         (eldoc-pre-command-refresh-echo-area): Emit message only by
10486         eldoc-message-commands.
10487         (eldoc-mode): Restrict eldoc-message-commands to editing commands
10488         if eldoc-print-after-edit is set.  (Bug#16346)
10489         * simple.el (read--expression): Enable eldoc-mode.
10490         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
10492 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
10493             Eric S. Raymond  <esr@thyrsus.com>
10495         * version.el (emacs-repository-get-version): Enhance so the
10496         function works correctly in either a Bazaar or Git repo.
10498 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
10500         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
10501         Goes with removal of the joke manpages from /etc.
10503 2014-01-10  Kenichi Handa  <handa@gnu.org>
10505         * mail/rmail.el (rmail-get-coding-system):
10506         Check rmail-get-coding-function before "funcall"ing it.
10508 2014-01-10  Glenn Morris  <rgm@gnu.org>
10510         * emacs-lisp/authors.el (authors-fixed-entries):
10511         Update for files that no longer exist.
10513 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
10515         * version.el (emacs-bzr-get-version): Restore compatibilty with
10516         24.3 (Tested).
10518 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
10520         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
10521         and Podfile.
10523 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
10525         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
10527 2014-01-10  Chong Yidong  <cyd@gnu.org>
10529         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
10531 2014-01-10  Anders Lindgren  <andlind@gmail.com>
10533         * follow.el (follow-cache-command-list): Include right-char and
10534         left-char.
10536 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10538         Spelling fixes.
10539         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
10540         * woman.el (woman-mark-horizontal-position):
10541         Rename from woman-mark-horizonal-position.  Use changed.
10543 2014-01-10  Glenn Morris  <rgm@gnu.org>
10545         * info.el (info-initialize): If running uninstalled, ensure our
10546         own info files are always found first, even if INFOPATH is set.
10548         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
10550 2014-01-09  David Engster  <deng@randomsample.de>
10552         * emacs-lisp/eieio-custom.el:
10553         * emacs-lisp/eieio-opt.el: Set generated autoload file to
10554         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
10555         * emacs-lisp/eieio.el: Regenerate autoloads.
10557 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
10559         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
10560         following renames.  (Bug#8756)
10562 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10564         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
10565         (bug#16382).
10566         (activate-mark): Add `no-tmm' argument.
10567         (set-mark, push-mark-command): Use it instead of running
10568         activate-mark-hook by hand.
10570 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
10572         In preparation for the move to git, sanitize out some
10573         Bazaar-specific names.
10575         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
10577         * version.el (emacs-bzr-version): Name changed to
10578         emacs-repository-version.  Obsolete-variable alias made.
10579         * loadup.el: Follow through on this name change.
10580         * mail/emacsbug.el (report-emacs-bug): Factor out any
10581         assumption about the version control system in use.
10583 2014-01-08  David Engster  <deng@randomsample.de>
10585         * help-fns.el (help-fns-describe-function-functions):
10586         New variable to call functions for augmenting help buffers.
10587         (describe-function-1): Remove explicit calls to
10588         `help-fns--compiler-macro', `help-fns--parent-mode' and
10589         `help-fns--obsolete'.  Put them in above new variable instead, and
10590         call them through `run-hook-with-args'.
10591         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
10592         `eieio-describe-class'.  Not meant for interactive use anymore,
10593         but to augment existing help buffers.  Remove optional second
10594         argument.  Create proper button for file location.
10595         Rewrite function to use `insert' instead of `princ' and `prin1' where
10596         possible.
10597         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
10598         (eieio-method-def, eieio-class-def): Move further up.
10599         (describe-method, describe-generic, eieio-describe-method):
10600         Remove aliases.
10601         (eieio-help-constructor, eieio-help-generic): Rename from
10602         `eieio-describe-constructor' and `eieio-describe-generic', resp.
10603         Rewrite to use `insert' in the current buffer and use proper help
10604         buttons.
10605         (eieio-help-find-method-definition)
10606         (eieio-help-find-class-definition): Also accept symbols as
10607         arguments.
10608         (eieio-help-mode-augmentation-maybee): Remove.
10609         (eieio-describe-class-sb): Use `describe-function'.
10610         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
10611         Add `eieio-help-generic' and `eieio-help-constructor'.
10613 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
10615         Spelling fixes.
10616         * language/china-util.el (hz-ascii-designation):
10617         Rename from hz-ascii-designnation.
10618         (hz-ascii-designation): Rename from hz-ascii-designnation.
10619         All uses changed.
10621 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10623         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
10624         package-alist.
10626 2014-01-08  Bastien Guerry  <bzg@gnu.org>
10628         * emacs-lisp/package.el (package-delete):
10629         Correctly delete the package from package-alist.
10631 2014-01-08  Daiki Ueno  <ueno@gnu.org>
10633         * emacs-lisp/package.el (url-recreate-url): Declare.
10634         (url-http-target-url): Declare.
10635         (package-handle-response): Include requested URL in the error message.
10636         (package--check-signature): Don't re-signal errors from
10637         package--with-work-buffer.  Suggested by Stefan Monnier.
10639 2014-01-07  Bastien Guerry  <bzg@gnu.org>
10641         * minibuffer.el (completion--try-word-completion): When both a
10642         hyphen and a space are possible candidates for the character
10643         following a word, display both candidates.  (Bug#15980)
10645 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
10647         * window.el (balance-windows-2): While rounding don't give a
10648         window more than the remainder.  Bug#16351, bug#16383.
10650 2014-01-07  Glenn Morris  <rgm@gnu.org>
10652         * menu-bar.el (menu-bar-help-extra-packages): Remove.
10653         (menu-bar-help-menu): Use view-external-packages instead.
10655 2014-01-07  Bastien Guerry  <bzg@gnu.org>
10657         * emacs-lisp/package.el (package-delete): Also delete the package
10658         name from `package-alist', not its description only.
10660 2014-01-07  Glenn Morris  <rgm@gnu.org>
10662         * help.el (view-external-packages):
10663         * menu-bar.el (menu-bar-help-extra-packages):
10664         Visit efaq.info rather than etc/MORE.STUFF.
10666 2014-01-07  Juri Linkov  <juri@jurta.org>
10668         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
10669         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
10671         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
10672         that shadows RET.  (Bug#16342)
10674 2014-01-07  Chong Yidong  <cyd@gnu.org>
10676         * isearch.el (isearch-yank-char, isearch-yank-word)
10677         (isearch-yank-line): Doc fix.
10679 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10681         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
10682         * emacs-lisp/elint.el (elint-find-builtins):
10683         * emacs-lisp/eldoc.el (eldoc-symbol-function):
10684         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
10685         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
10686         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10687         * apropos.el (apropos-safe-documentation):
10688         * subr.el (symbol-file): Remove redundant fboundp.
10689         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
10691 2014-01-06  Bastien Guerry  <bzg@gnu.org>
10693         * hl-line.el (global-hl-line-overlay): Make a local variable.
10694         (global-hl-line-overlays): New variable to store all overlays.
10695         (global-hl-line-mode): Don't delete overlays from the current
10696         buffer when `global-hl-line-sticky-flag' is non-nil.
10697         (global-hl-line-highlight): Add new overlays to
10698         `global-hl-line-overlays'.
10699         (global-hl-line-unhighlight-all): New function to delete all
10700         overlays when turning off `global-hl-line-mode'.
10701         This fixes Bug#16183.
10703 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10705         * subr.el (set-transient-map): Fix nested case and docstring.
10707 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
10709         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
10710         `Texinfo' entry.
10712 2014-01-06  Daniel Colascione  <dancol@dancol.org>
10714         Fix defun navigation in vc log view.
10716         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
10717         like `beginning-of-defun'.
10718         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
10719         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
10720         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
10721         (log-view-extract-comment): Call `log-view-current-entry' directly
10722         instead of relying on broken `log-view-beginning-of-defun' behavior.
10724 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
10726         Spelling fixes.
10727         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
10728         * emacs-lisp/debug.el (cancel-debug-on-entry):
10729         * epg.el (epg-error-to-string):
10730         * files.el (recover-file):
10731         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
10732         * mail/emacsbug.el (report-emacs-bug-hook):
10733         * mail/sendmail.el (mail-recover):
10734         * ses.el (ses-yank-resize):
10735         * term/ns-win.el (ns-print-buffer):
10736         Spelling fixes in diagnostics, mostly for "canceled" with one L.
10737         * epg.el (epg-key-capability-alist): Rename from misspelled version.
10738         All uses changed.
10739         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
10741 2014-01-06  Leo Liu  <sdl.web@gmail.com>
10743         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
10744         to avoid shadowing global key.  (Bug#16354)
10746 2014-01-06  Daniel Colascione  <dancol@dancol.org>
10748         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
10749         rst-mode.
10751 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
10753         * window.el (balance-windows): Add mising t to fix Bug#16351.
10755 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10757         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
10758         (bug#16285).
10759         (shr-insert): If we have a word that's longer than `shr-width',
10760         break after it anyway.  Otherwise we'll do no breaking once we get
10761         such a long word.
10763 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10765         * net/eww.el (eww): Support single/double quote for search.
10766         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
10767         (eww-history-quit): Delete and use quit-window.
10768         (eww-history-kill): Delete, because it doesn't work well and
10769         not necessary.
10770         (eww-history-mode-map): Delete some keys and add easy-menu.
10772 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
10774         Fix misspelling of 'chinese' in rx (Bug#16237).
10775         * emacs-lisp/rx.el (rx-categories): Correct spelling of
10776         chinese-two-byte.
10778         Change subword regexps back to vars (Bug#16296).
10779         * progmodes/subword.el (subword-forward-regexp)
10780         (subword-backward-regexp): Change these back to variables.
10782 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10784         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
10785         syntax-begin-function (bug#16247).
10787 2014-01-03  Chong Yidong  <cyd@gnu.org>
10789         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
10790         (advice--docstring): Delete variable.
10791         (advice--make-1): Leave the docstring empty.
10792         (advice-add): Use function-documentation for advised docstring.
10794         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
10795         Ignore function-documentation property when getting documentation.
10796         (ad-activate-advised-definition): Use function-documentation
10797         generate the docstring.
10798         (ad-make-advised-definition): Don't call
10799         ad-make-advised-definition-docstring.
10800         (ad-make-advised-definition-docstring, ad-advised-definition-p):
10801         Delete functions.
10803         * progmodes/sql.el (sql-help): Use function-documentation instead
10804         of dynamic-docstring-function property.  No need to autoload now.
10805         (sql--help-docstring): New variable.
10806         (sql--make-help-docstring): Use it.
10808 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10810         * ielm.el (ielm-tab): Retarget.
10811         (ielm-map): Use ielm-tab for tab.
10812         (ielm-complete-filename): Use comint-filename-completion.
10813         (ielm-complete-symbol): Remove.
10814         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
10815         remove ielm-tab from completion-at-point-functions (bug#16224).
10817         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
10818         Beware signals raised by predicates (bug#16201).
10820 2014-01-02  Richard Stallman  <rms@gnu.org>
10822         * dired-aux.el (dired-do-print): Handle printer-name.
10824         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
10825         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
10826         (rmail-epa-decrypt): Turn off mime processing.
10828         * mail/rmail.el (rmail-make-in-reply-to-field):
10829         Add parens in message-id.
10831         * mail/rmail.el (rmail-get-coding-function): Variable.
10832         (rmail-get-coding-system): Use it.
10834 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
10836         * international/mule-conf.el: Unify the charset indian-is13194.
10837         (indian-is13194): Specify unify-map.
10839 2013-12-31  Leo Liu  <sdl.web@gmail.com>
10841         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
10843 2013-12-30  Daniel Colascione  <dancol@dancol.org>
10845         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
10846         of printing a useless when we resume from sleep.
10848         * progmodes/sh-script.el
10849         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
10850         in indentation code.  (Bug#16233)
10852 2013-12-28  João Távora  <joaotavora@gmail.com>
10854         * elec-pair.el (electric-pair-post-self-insert-function):
10855         Don't open extra newlines at beginning of buffer.  (Bug#16272)
10857 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
10859         * frame.el (window-system-for-display): Don't allow to create a
10860         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
10862 2013-12-28  Glenn Morris  <rgm@gnu.org>
10864         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
10865         Update callers.
10867         * apropos.el (apropos-match-face):
10868         * calculator.el (calculator-displayer):
10869         * dabbrev.el (dabbrev-search-these-buffers-only):
10870         * face-remap.el (buffer-face-mode-face):
10871         * simple.el (yank-handled-properties):
10872         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
10873         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
10874         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
10875         (hashcash-double-spend-database):
10876         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
10877         (ruby-deep-indent-paren-style):
10878         * textmodes/flyspell.el (flyspell-auto-correct-binding):
10879         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
10880         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
10881         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
10882         Specify custom types.
10884         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
10885         * bookmark.el (bookmark-bmenu-use-header-line):
10886         * doc-view.el (doc-view-scale-internally):
10887         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
10888         * register.el (register-preview-delay):
10889         * net/shr.el (shr-bullet):
10890         * progmodes/cfengine.el (cfengine-cf-promises)
10891         (cfengine-parameters-indent):
10892         * progmodes/octave.el (inferior-octave-error-regexp-alist):
10893         * textmodes/reftex-vars.el (reftex-label-regexps):
10894         * vc/log-edit.el (log-edit-setup-add-author): Add version.
10896         * net/tls.el (tls-certtool-program): Fix default value.
10898         * desktop.el (desktop-restore-in-current-display):
10899         * newcomment.el (comment-empty-lines):
10900         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
10901         (idlwave-pad-keyword):
10902         * progmodes/tcl.el (tcl-tab-always-indent):
10903         * textmodes/reftex-vars.el (reftex-index-default-tag):
10904         * elec-pair.el (electric-pair-skip-whitespace):
10905         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
10907         * emacs-lisp/authors.el (authors-ignored-files)
10908         (authors-valid-file-names, authors-renamed-files-alist): Additions.
10910 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
10912         * shell.el (shell-dynamic-complete-command): Doc fix.
10913         (shell--command-completion-data): Shell completion now matches
10914         executable filenames from the current buffer's directory, on
10915         systems in which this behavior is the default (windows-nt, ms-dos).
10917 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
10919         * net/shr.el (shr-insert): Don't infloop if the width is zero.
10921 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10923         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
10924         (bug#16251).
10926         * electric.el: Move all electric-pair-* to elec-pair.el.
10927         * elec-pair.el: New file, split from electric.el.
10929 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
10931         * net/shr.el (shr-find-fill-point): Don't try to fill if the
10932         indentation level is larger than the width, because that will
10933         infloop.
10934         (shr-insert): Fill repeatedly long texts, so that Japanese is
10935         formatted correctly (bug#16263).
10936         (shr-find-fill-point): Off by one error in comparison with the
10937         indentation.
10939 2013-12-26  João Távora  <joaotavora@gmail.com>
10941         * electric.el (electric-pair-mode): More flexible engine for skip-
10942         and inhibit predicates, new options for pairing-related functionality.
10943         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
10944         if that keeps or improves their balance in buffers.
10945         (electric-pair-delete-adjacent-pairs): Delete the pair when
10946         backspacing over adjacent matched delimiters.
10947         (electric-pair-open-extra-newline): Open extra newline when
10948         inserting newlines between adjacent matched delimiters.
10949         (electric--sort-post-self-insertion-hook):
10950         Sort post-self-insert-hook according to priority values when
10951         minor-modes are activated.
10952         * simple.el (newline-and-indent): Call newline with interactive
10953         set to t.
10954         (blink-paren-post-self-insert-function): Set priority to 100.
10955         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10956         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
10957         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
10958         electric-pair-open-newline-between-pairs to nil.
10960 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10962         * progmodes/python.el: Use lexical-binding.
10963         (python-nav-beginning-of-defun): Stop searching ASAP.
10965 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
10967         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
10968         Fix interactive spec.  Doc fix.  (Bug#15754)
10970 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
10972         * emacs-lisp/byte-run.el (eval-when-compile):
10973         * progmodes/cc-defs.el (cc-eval-when-compile):
10974         Fix edebug spec (bug#16184).
10976 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
10978         * net/shr.el (shr-visit-file): Remove debugging function.
10979         (shr-insert): Don't infloop if we can't find a good place to break
10980         the line (bug#16256).
10982 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10984         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
10985         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
10986         python-nav-lisp-forward-sexp-safe.
10987         (python-nav--forward-sexp): New argument SAFE allows switching
10988         forward sexp movement behavior for parens.
10989         (python-nav-forward-sexp): Throw errors on unterminated parens
10990         (Bug#16191).
10991         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
10992         (python-nav-backward-sexp-safe): New functions.
10993         (python-shell-buffer-substring):
10994         Use `python-nav-forward-sexp-safe'.
10996 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
10998         * net/shr.el (shr-find-fill-point): Don't break lines before a
10999         quotation mark.
11000         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
11001         (shr-find-fill-point): Remove the special checks for the quotation
11002         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
11004 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
11006         * net/eww.el (eww-form-textarea): Use a different face for
11007         textareas than text input since they have different keymaps
11008         (bug#16142).
11010 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11012         * progmodes/python.el (python-nav-beginning-of-statement):
11013         Speed up (Bug#15295).
11015 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
11017         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
11018         the window configuration.
11020 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
11022         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
11023         we run on MS-Windows or MS-DOS.
11025 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
11027         * window.el (balance-windows-area): Call window-size instead of
11028         window-height and window-width.  Bug#16241.
11030 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
11032         * net/eww.el (eww-bookmark-quit): Remove.
11033         (eww-bookmark-browse): Restore the window configuration when you
11034         choose a bookmark (bug#16144).
11036 2013-12-24  Daniel Colascione  <dancol@dancol.org>
11038         * icomplete.el: Remove redundant :group arguments to `defcustom'
11039         throughout.
11040         (icomplete-show-matches-on-no-input): New customizable variable.
11041         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
11042         we have something to show.
11043         (icomplete-exhibit): Compute completions even if we have no user input.
11045 2013-12-23  Daniel Colascione  <dancol@dancol.org>
11047         * icomplete.el: Move `provide' to end of file.
11049 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
11051         * net/gnutls.el (gnutls-verify-error): Add version tag.
11053 2013-12-23  Chong Yidong  <cyd@gnu.org>
11055         * subr.el (set-transient-map): Rename from
11056         set-temporary-overlay-map.  Doc fix.
11058         * face-remap.el (text-scale-adjust):
11059         * indent.el (indent-rigidly):
11060         * kmacro.el (kmacro-call-macro):
11061         * minibuffer.el (minibuffer-force-complete):
11062         * repeat.el (repeat):
11063         * simple.el (universal-argument--mode):
11064         * calendar/todo-mode.el (todo-insert-item--next-param):
11065         * progmodes/f90.el (f90-abbrev-start): Callers changed.
11067         * indent.el (indent-rigidly): Use substitute-command-keys.
11069 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
11071         * net/eww.el (eww-tag-select): Add text-property to jump to next
11072         select field.
11073         (eww): Add non-supported ftp error.
11075 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
11077         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
11078         comments.  Handle electric indent after typing `?' and `!'.
11080 2013-12-22  Chong Yidong  <cyd@gnu.org>
11082         * faces.el (face-spec-recalc): If the theme specs are not
11083         applicable to a frame, fall back on the defface spec.
11084         This prevents themes from obliterating faces on low-color terminals.
11086 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
11088         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11089         after `{'.  We need it after block openers, and it doesn't seem
11090         to hurt after hash openers.
11092 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
11094         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
11095         extracted from `ruby-smie-rules'.
11096         (ruby--electric-indent-chars): New variable.
11097         (ruby--electric-indent-p): New function.
11098         (ruby-mode): Use `electric-indent-functions' instead of
11099         `electric-indent-chars'.
11101 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
11103         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
11104         docstring.
11105         (ruby-smie-rules): Indent plus one level after `=>'.
11107 2013-12-21  Richard Stallman  <rms@gnu.org>
11109         * simple.el (newline): Doc fix.
11111 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
11113         * net/eww.el (eww-list-histories, eww-list-histories)
11114         (eww-history-browse, eww-history-quit, eww-history-kill)
11115         (eww-history-mode-map, eww-history-mode): New command and
11116         functions to list browser histories.
11117         (eww-form-text): Support text form with disabled
11118         and readonly attributes.
11119         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
11121 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11123         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
11124         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
11125         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
11126         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
11127         Use `user-error'.
11128         (eww-bookmark-mode-map): Add menu.
11129         (eww-render, eww-mode): Use `setq-local'.
11130         (eww-tool-bar-map): New variable.
11131         (eww-mode): Set `tool-bar-map'.
11132         (eww-view-source): Check for `html-mode' with `fboundp'.
11134 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11136         * net/shr.el (shr--extract-best-source): Don't bug out on audio
11137         elements with text inside.  Also remove debugging.
11139 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
11141         * cus-start.el (all): Add ns-use-srgb-colorspace.
11143 2013-12-21  Chong Yidong  <cyd@gnu.org>
11145         * custom.el (custom-theme-recalc-face): Do nothing if the face is
11146         undefined.  Thus, theme settings for undefined faces do not take
11147         effect until the faces are defined with defface, the same as with
11148         theme variables.
11150         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
11151         (face-spec-reset-face): Don't assign extra properties in temacs.
11152         (face-spec-recalc): Apply X resources too.
11154 2013-12-21  Chong Yidong  <cyd@gnu.org>
11156         * faces.el (face-spec-set):
11157         * cus-face.el (custom-theme-set-faces, custom-set-faces):
11158         * custom.el (defface): Doc fixes (Bug#16203).
11160         * indent.el (indent-rigidly-map): Add docstring, and move commands
11161         into named functions.
11162         (indent-rigidly-left, indent-rigidly-right)
11163         (indent-rigidly-left-to-tab-stop)
11164         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
11165         indentation direction based on bidi direction, and accumulate
11166         sequential commands in a single undo boundary.
11167         (indent-rigidly--pop-undo): New utility function.
11169 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
11171         * faces.el (read-face-name): Require crm.el when using crm-separator.
11173 2013-12-20  Daniel Colascione  <dancol@dancol.org>
11175         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
11176         so that we don't reflow comments into the shebang line.
11178 2013-12-20  Juri Linkov  <juri@jurta.org>
11180         * saveplace.el (save-place-to-alist): Add `dired-filename' as
11181         a position when `dired-directory' is non-nil.  Check integer
11182         positions with `integerp'.
11183         (toggle-save-place, save-places-to-alist): Add check for
11184         `dired-directory'.
11185         (save-place-find-file-hook): Check integer positions with
11186         `integerp'.
11187         (save-place-dired-hook): Use `dired-goto-file' when
11188         `dired-filename' is found in the assoc list.  Check integer
11189         positions with `integerp'.
11190         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
11192         * dired.el (dired-initial-position-hook): Rename back from
11193         `dired-initial-point-hook'.
11194         (dired-initial-position): Rename `dired-initial-point-hook' to
11195         `dired-initial-position-hook'.
11196         (dired-file-name-at-point): Doc fix.  (Bug#15329)
11198 2013-12-20  Juri Linkov  <juri@jurta.org>
11200         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
11201         (read-regexp-suggestions): New function.
11202         (read-regexp): Use `read-regexp-defaults-function' to get default values.
11203         Use `read-regexp-suggestions'.  Add non-empty default to history
11204         for empty input.
11205         (occur-read-regexp-defaults-function): Remove function.
11206         (occur-read-primary-args): Use `regexp-history-last' instead of
11207         `occur-read-regexp-defaults-function'.
11209         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
11210         (hi-lock-line-face-buffer, hi-lock-face-buffer)
11211         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
11212         `hi-lock-read-regexp-defaults-function'.  Doc fix.
11213         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
11214         with `find-tag-default-as-symbol-regexp'.  Doc fix.
11215         (hi-lock-read-regexp-defaults): Remove function.
11216         (hi-lock-regexp-okay): Add check for null.
11218         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
11219         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
11221         * subr.el (find-tag-default-as-symbol-regexp): New function.
11222         (find-tag-default-as-regexp): Move symbol regexp formatting to
11223         `find-tag-default-as-symbol-regexp'.
11225 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
11227         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
11228         (Bug#14179)
11230 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
11232         * calendar/todo-mode.el: New implementation of item insertion
11233         commands and key bindings.
11234         (todo-key-prompt): New face.
11235         (todo-insert-item): New command.
11236         (todo-insert-item--parameters): New defconst, replacing defvar
11237         todo-insertion-commands-args-genlist.
11238         (todo-insert-item--param-key-alist): New defconst, replacing
11239         defvar todo-insertion-commands-arg-key-list.
11240         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
11241         (todo-insert-item--argsleft, todo-insert-item--apply-args)
11242         (todo-insert-item--next-param): New functions.
11243         (todo-insert-item--args, todo-insert-item--argleft)
11244         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
11245         New variables.
11246         (todo-key-bindings-t): Change binding of "i" from
11247         todo-insertion-map to todo-insert-item.
11248         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
11249         (todo-insertion-command-name, todo-insertion-commands-names)
11250         (todo-define-insertion-command, todo-insertion-commands)
11251         (todo-insertion-key-bindings, todo-insertion-map): Remove.
11253 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
11255         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
11256         (todo-toggle-item-highlighting): Use eval-and-compile instead of
11257         eval-when-compile.
11258         (todo-move-category): Allow choosing a non-existing todo file to
11259         move the category to, and create that file.
11260         (todo-default-priority): New user option.
11261         (todo-set-item-priority): Use it.
11262         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
11263         (desktop-restore-file-buffer): Declare.
11264         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
11265         (todo-modes-set-2): Locally set desktop-save-buffer to
11266         todo-desktop-save-buffer.
11267         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
11268         (auto-mode-alist): Add autoload cookie.
11270 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
11272         * emacs-lisp/subr-x.el: Renamed from helpers.el.
11273         helpers.el was a poor choice of name.
11274         (string-remove-prefix): New function.
11275         (string-remove-suffix): New function.
11277 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
11279         Fix assignment for new window total sizes.
11280         * window.el (window--pixel-to-size): Remove function.
11281         (window--pixel-to-total-1, window--pixel-to-total):
11282         Fix calculation of new total sizes.
11284 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
11286         * comint.el (comint-output-filter): Fix rear-nonsticky property
11287         placement (Bug#16010).
11289 2013-12-20  Chong Yidong  <cyd@gnu.org>
11291         * faces.el (read-color): Minor fix for completion function.
11293 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
11295         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
11296         New option.  (Bug#16182)
11297         (ruby-smie--indent-to-stmt-p): Use it.
11298         (ruby-smie-rules): Revert the logic in the handling of `when'.
11299         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
11300         (ruby-deep-arglist, ruby-deep-indent-paren)
11301         (ruby-deep-indent-paren-style): Update docstrings to note that the
11302         vars don't have any effect with SMIE.
11304 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
11306         * calc/calc.el (calc-enter, calc-pop): Use the variable
11307         `calc-context-sensitive-enter'.
11309 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11311         * net/shr.el (shr-insert): Protect against infloops in degenerate
11312         tables.
11314 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11316         * progmodes/octave.el (octave): Add link to manual and octave
11317         homepage.
11318         (octave-mode-menu): Link to octave-mode manual.
11320 2013-12-20  Leo Liu  <sdl.web@gmail.com>
11322         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
11323         insertion using skeleton-end-newline.  (Bug#16138)
11325 2013-12-20  Juri Linkov  <juri@jurta.org>
11327         * replace.el (occur-engine): Use `add-face-text-property'
11328         to add the face property to matches and titles.  (Bug#14645)
11330         * hi-lock.el (hi-green): Use lighter color "light green" closer to
11331         the palette of other hi-lock colors.
11332         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
11334 2013-12-19  Juri Linkov  <juri@jurta.org>
11336         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
11337         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
11338         (minibuffer-history-symbol): Move variable declaration closer to
11339         its usage.
11341         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
11342         (Bug#14785)
11344 2013-12-19  Juri Linkov  <juri@jurta.org>
11346         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
11347         New function.
11348         (log-edit-hook): Add it to :options.  (Bug#16170)
11350 2013-12-19  Juri Linkov  <juri@jurta.org>
11352         * simple.el (eval-expression-print-format): Don't check for
11353         command names and the last command.  Always display additional
11354         formats of the integer result in the echo area, and insert them
11355         to the current buffer only with a zero prefix arg.
11356         Display character when char-displayable-p is non-nil.
11357         (eval-expression): With a zero prefix arg, set `print-length' and
11358         `print-level' to nil, and insert the integer values from
11359         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
11361         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
11362         `eval-last-sexp-arg-internal'.  Doc fix.
11363         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
11364         `eval-last-sexp-print-value'.  Doc fix.
11365         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
11366         Set `print-length' and `print-level' to nil when arg is zero.
11367         (eval-last-sexp): Doc fix.
11368         (eval-defun-2): Print the integer values from
11369         `eval-expression-print-format' at the end.
11371         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
11372         values from `eval-expression-print-format' at the end.
11374         * ielm.el (ielm-eval-input): Print the integer
11375         values from `eval-expression-print-format' at the end.
11377 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
11379         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
11380         2013-12-11T19:01:44Z!tzz@lifelogs.com.
11382 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11384         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
11385         (hl-line-highlight, global-hl-line-highlight): Use it.
11386         (hl-line-overlay): Use defvar-local.
11388 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
11390         * term/ns-win.el: Require dnd.
11391         (global-map): Remove drag items.
11392         (ns-insert-text, ns-set-foreground-at-mouse)
11393         (ns-set-background-at-mouse):
11394         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
11395         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
11396         New functions.
11398 2013-12-19  Glenn Morris  <rgm@gnu.org>
11400         * emacs-lisp/ert.el (ert-select-tests):
11401         Fix string/symbol mixup.  (Bug#16121)
11403 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
11405         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
11406         keywords to their parent.
11408 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
11410         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
11411         first arg to be a string (fixed dead code), or an operator symbol.
11412         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
11413         operator symbols.
11414         (ruby-smie-rules): Remove parent token check in the `.' clause, it
11415         did nothing.  Don't respond to `(:after ".")', it will be called
11416         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
11417         change anything.  Only return indentation for binary operators
11418         when they are hanging.  De-dent opening paren when its parent is
11419         `.', otherwise it looks bad when the dot is not at bol or eol
11420         (bug#16182).
11422 2013-12-19  Juri Linkov  <juri@jurta.org>
11424         * replace.el (query-replace-read-args): Split a non-negative arg
11425         and a negative arg into separate elements.
11426         (query-replace, query-replace-regexp, replace-string)
11427         (replace-regexp): Add arg `backward'.  Doc fix.
11428         (replace-match-maybe-edit): When new arg `backward' is non-nil,
11429         move point to the beginning of the match.
11430         (replace-search, replace-highlight): Use new arg `backward'
11431         to set the value of `isearch-forward'.
11432         (perform-replace): Add arg `backward' and use it to perform
11433         replacement backward.  (Bug#14979)
11435         * isearch.el (isearch-query-replace): Use a negative prefix arg
11436         to call `perform-replace' with a non-nil arg `backward'.
11438 2013-12-18  Juri Linkov  <juri@jurta.org>
11440         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
11441         to the default list.  Move `log-edit-show-files' to the end.
11442         Add more available functions to options.
11443         (log-edit): Move default specific settings to
11444         `log-edit-insert-message-template'.  Don't move point.
11445         (log-edit-insert-message-template): New function.
11446         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
11447         (Bug#16170)
11449 2013-12-18  Juri Linkov  <juri@jurta.org>
11451         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
11452         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
11454 2013-12-18  Leo Liu  <sdl.web@gmail.com>
11456         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
11457         (Bug#16186)
11459 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
11461         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
11462         formats for displaying file sizes when the -s switch is given.
11463         Instead, compute a separate format for displaying the size in
11464         blocks, which is displayed in addition to the "regular" size.
11465         When -h is given in addition to -s, produce size in blocks in
11466         human-readable form as well.  (Bug#16179)
11468 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
11470         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11471         Reference tables with ~\ref{...} instead of only \ref{...}.
11473 2013-12-18  Chong Yidong  <cyd@gnu.org>
11475         * cus-edit.el (custom-magic-alist): Fix "themed" description
11476         (Bug#14348).
11478         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
11479         is non-nil, do not create a new entry in the symbol's theme-value
11480         or theme-face property; update theme-settings only (Bug#14664).
11481         (custom-available-themes): Doc fix.
11483         * cus-theme.el (custom-new-theme-mode-map): Add bindings
11484         (Bug#15674).
11486         * replace.el (occur-engine): Avoid infloop (Bug#7593).
11488 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
11490         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
11491         (Bug#13914).
11493 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
11495         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
11497 2013-12-18  Glenn Morris  <rgm@gnu.org>
11499         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
11500         * cus-start.el (load-prefer-newer): New option.
11502 2013-12-18  Le Wang  <l26wang@gmail.com>
11504         * comint.el (comint-previous-matching-input-from-input):
11505         Retain point (Bug#13404).
11507 2013-12-18  Chong Yidong  <cyd@gnu.org>
11509         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
11511 2013-12-18  Glenn Morris  <rgm@gnu.org>
11513         * mail/emacsbug.el (report-emacs-bug):
11514         Only mention enable-multibyte-characters if non-standard.
11516 2013-12-17  Juri Linkov  <juri@jurta.org>
11518         * arc-mode.el (archive-extract-by-file): Check if directory exists
11519         before deletion to not show irrelevant errors if it doesn't exist.
11521 2013-12-17  Juri Linkov  <juri@jurta.org>
11523         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
11524         (Bug#14751)
11526         * net/eww.el (browse-web): Add alias to `eww'.
11527         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
11528         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
11530         * net/browse-url.el (browse-url-browser-function): Move `eww'
11531         closer to similar functions.
11533         * startup.el (fancy-startup-screen, fancy-about-screen):
11534         Set browse-url-browser-function to eww-browse-url locally.
11535         (Bug#14751)
11537 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11539         * window.el (window--pixel-to-total): Remove unused `mini' var.
11540         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
11541         (split-window): Remove unused `new' var.
11542         (window--display-buffer): Remove unused `frame' and `delta' vars.
11543         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
11544         and display-width'.
11546 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
11548         * dired.el (dired-mark-pop-up):
11549         * register.el (register-preview): Don't bind
11550         split-height-threshold here since it's now done in
11551         display-buffer-below-selected.
11553 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
11555         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
11556         xterm-rgb-convert-to-16bit.
11557         (rxvt-register-default-colors): Standardize with
11558         xterm-register-default-colors (Bug#14078).
11560 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
11562         * simple.el (kill-region): Pass mark first, then point, so that
11563         kill-append works right (Bug#12819).
11564         (copy-region-as-kill, kill-ring-save): Likewise.
11566 2013-12-17  Leo Liu  <sdl.web@gmail.com>
11568         * net/rcirc.el (rcirc-add-face):
11569         * eshell/em-prompt.el (eshell-emit-prompt):
11570         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
11571         (Bug#16167)
11573 2013-12-17  Chong Yidong  <cyd@gnu.org>
11575         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
11576         Suggested by Xue Fuqiao.
11578 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
11580         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
11582 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11584         * net/shr.el (shr-insert-document): Remove unused var
11585         `shr-preliminary-table-render'.
11586         (shr-rescale-image): Remove unused arg `force'.
11587         (shr-put-image): Update calls accordingly.
11588         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
11590 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
11592         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
11593         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
11594         :close-all, to see which indentation method to use (Bug#16116).
11595         (smie-rules-function): Document the method :close-all.
11597 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11599         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
11601         * net/eww.el (eww-display-html): If we can't find the anchor we're
11602         looking for, then go to point-min.
11604 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
11606         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
11607         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
11608         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
11609         Expand dir too, in case it's relative.
11611 2013-12-16  Juri Linkov  <juri@jurta.org>
11613         * desktop.el (desktop-auto-save-timeout): Change default to
11614         `auto-save-timeout'.  Doc fix.
11615         (desktop-save): Skip the timestamp in desktop-saved-frameset
11616         when checking for auto-save changes.
11617         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
11618         `desktop-auto-save' is called repeatedly by the idle timer.
11619         (desktop-auto-save-set-timer): Replace `run-with-timer' with
11620         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
11621         (Bug#15331)
11623 2013-12-16  Juri Linkov  <juri@jurta.org>
11625         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
11626         (Bug#16035)
11627         (isearch-pre-command-hook): Check `this-command' for symbolp.
11629 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11631         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
11633 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
11635         * progmodes/cfengine.el (cfengine3--current-word): Remove.
11636         (cfengine3--current-function): Bring in the current-function
11637         functionality from `cfengine3--current-word'.
11638         (cfengine3-completion-function): Bring in the
11639         bounds-of-current-word functionality from
11640         `cfengine3--current-word'.
11642 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
11644         * window.el (display-buffer-below-selected):
11645         Bind split-height-threshold to 0 as suggested by Juri Linkov.
11647 2013-12-16  Leo Liu  <sdl.web@gmail.com>
11649         * progmodes/compile.el (compile-goto-error): Do not push-mark.
11650         Remove NOMSG arg and all uses changed.
11652 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11654         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
11655         (cua--deactivate-rectangle): Don't deactivate the mark.
11656         (cua-set-rectangle-mark): Don't set mark-active since
11657         cua--activate-rectangle already does it for us.
11658         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
11659         non-rectangular region.
11661         * emulation/cua-base.el (cua-repeat-replace-region):
11662         Use with-current-buffer.
11664         * net/gnutls.el: Use cl-lib.
11665         (gnutls-negotiate): `mapcan' -> cl-mapcan.
11667 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
11669         * emacs-lisp/package.el (package-built-in-p): Support both
11670         built-in and the package.el converted package descriptions.
11671         (package-show-package-list): Allow keywords.
11672         (package-keyword-button-action): Use it instead of
11673         `finder-list-matches'.
11674         (package-menu-filter-interactive): Interactive filtering (by
11675         keyword) function.
11676         (package-menu--generate): Support keywords and change keymappings
11677         and headers when they are given.
11678         (package--has-keyword-p): Helper function.
11679         (package-menu--refresh): Use it.
11680         (package--mapc): Helper function.
11681         (package-all-keywords): Use it.
11682         (package-menu-mode-map): Set up menu items and keybindings to
11683         provide a filtering UI.
11685 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
11687         * net/gnutls.el (gnutls-verify-error): New defcustom to control
11688         the behavior when a certificate fails validation.  Defaults to
11689         old behavior: never abort, just warn.
11690         (gnutls-negotiate): Use it.
11692 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
11694         * window.el (display-buffer-below-selected): Never split window
11695         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
11697 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
11699         * emacs-lisp/package.el (package--prepare-dependencies): New function.
11700         (package-buffer-info): Use it (bug#15108).
11702 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11704         * icomplete.el (icomplete-completions): Make sure the prefix is already
11705         displayed elsewhere before hiding it (bug#16219).
11707 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
11709         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
11710         open-paren tokens when preceded by a open-paren, too.
11711         (ruby-smie-rules): Handle virtual indentation after open-paren
11712         tokens specially.  If there is code between it and eol, return the
11713         column where is starts (Bug#16118).
11715 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
11717         * progmodes/cfengine.el: Fix `add-hook' doc.
11718         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
11719         (cfengine3--current-word): Fix parameters.
11720         (cfengine3-make-syntax-cache): Simplify further.
11721         (cfengine3-completion-function, cfengine3--current-function):
11722         Use `assq' for symbols.
11723         (cfengine3--current-function): Fix `cfengine3--current-word' call.
11725 2013-12-13  Glenn Morris  <rgm@gnu.org>
11727         * loadup.el (load-path): Warn if site-load or site-init changes it.
11728         No more need to reset it when bootstrapping.
11730 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
11732         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
11733         locations for cf-promises.
11734         (cfengine-mode-syntax-functions-regex): New caching variable.
11735         (cfengine3-fallback-syntax): Fallback syntax for cases where
11736         cf-promises doesn't run.
11737         (cfengine3--current-word): Reimplement using
11738         `cfengine-mode-syntax-functions-regex'.
11739         (cfengine3-completion-function, cfengine3--current-function):
11740         Use `cfengine3-make-syntax-cache' directly.
11741         (cfengine3-clear-syntax-cache): New function.
11742         (cfengine3-make-syntax-cache): Simplify and create
11743         `cfengine-mode-syntax-functions-regex' on demand.
11744         (cfengine3-format-function-docstring): Don't call
11745         `cfengine3-make-syntax-cache' explicitly.
11747 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
11749         Fix windmove-find-other-window broken after pixelwise resizing
11750         (Bug#16017).
11751         * windmove.el (windmove-other-window-loc): Revert change from
11752         2013-12-04.
11753         (windmove-find-other-window): Call window-in-direction.
11754         * window.el (window-in-direction): New arguments SIGN, WRAP and
11755         MINI to emulate original windmove-find-other-window behavior.
11757 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
11759         * simple.el (blink-matching--overlay): New variable.
11760         (blink-matching-open): Instead of moving point, highlight the
11761         matching paren with an overlay
11762         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
11764         * faces.el (paren-showing-faces, show-paren-match)
11765         (show-paren-mismatch): Move from paren.el.
11767 2013-12-13  Leo Liu  <sdl.web@gmail.com>
11769         * indent.el (indent-region): Disable progress reporter in
11770         minibuffer.  (Bug#16108)
11772         * bindings.el (visual-order-cursor-movement): Fix version.
11774 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11776         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
11777         Also match after beginning of line.
11778         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
11779         files.  Thanks to Russell Sim.  (Bug#15378)
11781 2013-12-13  Juri Linkov  <juri@jurta.org>
11783         * simple.el <Keypad support>: Remove key bindings duplicated
11784         with bindings.el.  (Bug#14397)
11786 2013-12-13  Juri Linkov  <juri@jurta.org>
11788         * comint.el (comint-mode-map): Replace `delete-char' with
11789         `delete-forward-char'.  (Bug#16109)
11791 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11793         * progmodes/python.el (python-indent-calculate-indentation):
11794         Fix de-denters cornercase.  (Bug#15731)
11796 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11798         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
11799         (advice--make): Pay attention to `depth'.
11800         (advice--make-1): Don't autoload commands eagerly.
11801         * emacs-lisp/elp.el (elp-instrument-function):
11802         * emacs-lisp/trace.el (trace-function-internal):
11803         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
11805         * iswitchb.el (iswitchb-mode): Don't belittle ido.
11807 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
11809         * term/w32-win.el (w32-handle-dropped-file):
11810         * startup.el (normal-top-level):
11811         * net/browse-url.el (browse-url-file-url):
11812         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
11813         decode file names using 'utf-8' rather than
11814         file-name-coding-system.
11816 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11818         * progmodes/python.el (python-indent-context)
11819         (python-indent-calculate-indentation): Fix auto-identation
11820         behavior for comment blocks.  (Bug#15916)
11822 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11824         * progmodes/python.el (python-indent-calculate-indentation):
11825         When determining indentation, don't treat "return", "pass", etc., as
11826         operators when they are just string constituents.  (Bug#15812)
11828 2013-12-12  Juri Linkov  <juri@jurta.org>
11830         * uniquify.el (uniquify-buffer-name-style): Change default to
11831         `post-forward-angle-brackets'.
11833         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
11834         `uniquify'.  Change default to `post-forward-angle-brackets'.
11836 2013-12-11  Glenn Morris  <rgm@gnu.org>
11838         * emacs-lisp/package.el (finder-list-matches):
11839         Autoload rather than falsely declaring.
11841 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
11843         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
11844         (eww-mode-map): Use them.
11846 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
11848         * window.el (display-buffer-in-side-window): Fix doc-string
11849         (Bug#16115).
11851 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
11853         * vc/vc-git.el: Silence byte-compiler warnings.
11854         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
11855         (log-edit-set-header): Declare.
11857 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
11859         * Makefile.in (custom-deps, finder-data): Run output file names
11860         through unmsys--file-name.  (Bug#16099)
11862 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11864         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
11865         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
11867         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
11868         instead of deleting the selection "by hand" (bug#16098).
11869         Rely on insert-for-yank to yank rectangles.
11870         (cua-highlight-region-shift-only): Mark obsolete.
11871         (cua-mode): Don't enable/disable transient-mark-mode,
11872         shift-select-mode (cua-mode works both with and without them), and
11873         pc-selection-mode (obsolete).
11874         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
11875         (cua--deactivate-rectangle): Deactivate it.
11877         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
11878         (delete-selection-helper): Make sure yank starts at the top of the
11879         deleted region.
11880         (minibuffer-keyboard-quit): Use region-active-p.
11882         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
11884         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
11885         to `delete' (bug#16109).
11887 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11889         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
11890         info manual and show keybindings and set `:group' keyword.
11892 2013-12-11  Juri Linkov  <juri@jurta.org>
11894         * delsel.el (delete-active-region): Let-bind `this-command'
11895         to prevent `kill-region' from changing its original value.
11896         (delete-selection-helper): Handle `overwrite-mode' for the type
11897         `kill' exactly the same way as for the type `t'.
11898         (insert-char, quoted-insert, reindent-then-newline-and-indent):
11899         Support more commands.  (Bug#13312)
11901 2013-12-11  Juri Linkov  <juri@jurta.org>
11903         * bindings.el: Map kp keys to non-kp keys systematically
11904         with basic modifiers control, meta and shift.  (Bug#14397)
11906 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
11908         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
11909         "Close browser" menu items.  Fix wrong function of "List
11910         bookmarks".
11912 2013-12-11  Juri Linkov  <juri@jurta.org>
11914         * misearch.el (multi-isearch-buffers): Set the value of
11915         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
11916         arg of isearch-forward to t.
11917         (multi-isearch-buffers-regexp): Set the value of
11918         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
11919         arg of isearch-forward-regexp to t.
11920         (multi-isearch-files): Set the value of
11921         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
11922         arg of isearch-forward to t.
11923         (multi-isearch-files-regexp): Set the value of
11924         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
11925         arg of isearch-forward-regexp to t.  (Bug#16035)
11927         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
11928         arg of isearch-forward to t.
11929         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
11930         arg of isearch-forward-regexp to t.
11931         (dired-isearch-filter-filenames): Remove unnecessary check for
11932         `dired-isearch-filenames'.
11934         * comint.el (comint-history-isearch-backward):
11935         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
11936         (comint-history-isearch-backward-regexp):
11937         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
11939 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
11941         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
11942         unmsys--file-name.  (Bug#16099)
11944 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
11946         * emacs-lisp/package.el (package-keyword-button-action):
11947         Remove finder.el require dependency.
11949 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
11951         * emacs-lisp/package.el: Require finder.el.
11952         (describe-package-1): Add keyword buttons.
11953         (package-make-button): New convenience function.
11954         (package-keyword-button-action): Keyword button action using
11955         `finder-list-matches'.
11957 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
11959         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
11960         last commit.
11962 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
11964         * autorevert.el (auto-revert-notify-add-watch): Do not handle
11965         symlinked files.
11967 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
11969         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11970         after the end of a percent literal.
11972 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
11974         * progmodes/ruby-mode.el (ruby-forward-string): Document.
11975         Handle caret-delimited strings (Bug#16079).
11977 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
11979         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
11980         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
11981         `ruby-parse-partial' (Bug#16078).
11983 2013-12-09  Leo Liu  <sdl.web@gmail.com>
11985         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
11987 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
11989         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
11990         (js-switch-indent-offset): New option.
11991         (js--proper-indentation): Use it.  And handle the case when
11992         "default" is actually a key in an object literal.
11993         (js--same-line): New function.
11994         (js--multi-line-declaration-indentation): Use it.
11995         (js--indent-in-array-comp, js--array-comp-indentation):
11996         New functions.
11997         (js--proper-indentation): Use them, to handle array comprehension
11998         continuations.
12000 2013-12-08  Leo Liu  <sdl.web@gmail.com>
12002         * progmodes/flymake.el (flymake-highlight-line): Re-write.
12003         (flymake-make-overlay): Remove arg MOUSE-FACE.
12004         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
12006 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12008         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
12009         New function.
12010         (redisplay-highlight-region-function): Use it.
12012         * emulation/cua-base.el (cua--explicit-region-start)
12013         (cua--last-region-shifted): Remove.
12014         (cua--deactivate): Use deactivate-mark.
12015         (cua--pre-command-handler-1): Don't handle shift-selection.
12016         (cua--post-command-handler-1): Don't change transient-mark-mode.
12017         (cua--select-keymaps): Use region-active-p rather than
12018         cua--explicit-region-start or cua--last-region-shifted.
12019         (cua-mode): Enable shift-select-mode.
12021 2013-12-08  Leo Liu  <sdl.web@gmail.com>
12023         * progmodes/flymake.el (flymake-popup-current-error-menu):
12024         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
12025         (flymake-posn-at-point-as-event, flymake-popup-menu)
12026         (flymake-make-emacs-menu): Remove.  (Bug#16077)
12028 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12030         * rect.el (rectangle-mark-mode): Activate mark even if
12031         transient-mark-mode is off (bug#16066).
12032         (rectangle--highlight-for-redisplay): Fix boundary condition when point
12033         is > mark and at bolp.
12035         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
12036         (region-extract-function): Use it.
12037         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
12038         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
12039         Delete functions.
12040         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
12041         kill-ring-save, kill-region, delete-char, delete-forward-char.
12042         Ignore self-insert-iso.
12044         * emulation/cua-gmrk.el (cua--init-global-mark):
12045         Ignore `self-insert-iso'.
12047         * emulation/cua-base.el (cua--prefix-copy-handler)
12048         (cua--prefix-cut-handler): Rely on region-extract-function rather than
12049         checking cua--rectangle.
12050         (cua-delete-region): Use region-extract-function.
12051         (cua-replace-region): Delete function.
12052         (cua-copy-region, cua-cut-region): Obey region-extract-function.
12053         (cua--pre-command-handler-1): Don't do the delete-selection thing.
12054         (cua--self-insert-char-p): Ignore `self-insert-iso'.
12055         (cua--init-keymaps): Don't remap delete-selection commands.
12056         (cua-mode): Use delete-selection-mode instead of rolling our own
12057         (bug#16085).
12059         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
12060         Obey region-extract-function.
12062         Make registers and delete-selection-mode work on rectangles.
12063         * register.el (describe-register-1): Don't modify the register's value.
12064         (copy-to-register): Obey region-extract-function.
12065         * delsel.el (delete-active-region): Obey region-extract-function.
12067 2013-12-08  Leo Liu  <sdl.web@gmail.com>
12069         * progmodes/flymake.el (flymake, flymake-error-bitmap)
12070         (flymake-warning-bitmap, flymake-fringe-indicator-position)
12071         (flymake-compilation-prevents-syntax-check)
12072         (flymake-start-syntax-check-on-newline)
12073         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
12074         (flymake-start-syntax-check-on-find-file, flymake-log-level)
12075         (flymake-xml-program, flymake-master-file-dirs)
12076         (flymake-master-file-count-limit)
12077         (flymake-allowed-file-name-masks): Relocate.
12078         (flymake-makehash, flymake-float-time)
12079         (flymake-replace-regexp-in-string, flymake-split-string)
12080         (flymake-get-temp-dir): Remove.
12081         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
12082         (flymake-current-row, flymake-selected-frame)
12083         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
12084         related functions.  (Bug#16077)
12086 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
12088         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
12090 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
12092         * help-fns.el (describe-function-1): Use new advice-* functions
12093         rather than old ad-* functions.  Fix function type description and
12094         source links for advised functions and subrs.
12096 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12098         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
12100 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
12102         * progmodes/compile.el (compilation-start):
12103         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
12105         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12106         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
12108 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
12110         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12111         Touch up the last change.
12113 2013-12-06  Leo Liu  <sdl.web@gmail.com>
12115         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
12116         (inferior-octave-startup): Always use "octave> " for prompt.
12117         (octave-goto-function-definition)
12118         (octave-sync-function-file-names)
12119         (octave-find-definition-default-filename): Remove redundant backquotes.
12121 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
12123         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
12124         syntax for `?'.
12125         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
12126         where appropriate already.
12127         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
12128         end of method names (Bug#15874).
12130 2013-12-06  Juri Linkov  <juri@jurta.org>
12132         * isearch.el (isearch--saved-overriding-local-map):
12133         New internal variable.
12134         (isearch-mode): Set it to the initial value of
12135         `overriding-terminal-local-map'.
12136         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
12137         with `isearch--saved-overriding-local-map'.  (Bug#16035)
12139 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
12141         * progmodes/octave.el (inferior-octave-completion-table):
12142         Turn back into function, use `completion-table-with-cache'
12143         (Bug#11906).  Update all references.
12145         * minibuffer.el (completion-table-with-cache): New function.
12147 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
12149         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
12151 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
12153         * net/eww.el (eww-current-source): New variable to store page
12154         source.
12155         (eww-display-html, eww-mode, eww-save-history)
12156         (eww-restore-history): Use it.
12157         (eww-view-source): New command to view page source.
12158         Opportunistically uses `html-mode' to highlight the buffer.
12159         (eww-mode-map): Install it.
12161 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
12163         * net/dbus.el (dbus-unregister-service)
12164         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
12165         Fix docstring.
12166         (dbus-unregister-service): Skip :serial entries in
12167         `dbus-registered-objects-table'.
12168         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
12170 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
12172         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
12173         around keywords with extra `split-string' argument.
12175 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
12177         * windmove.el (windmove-other-window-loc): Handle navigation
12178         between windows (excluding the minibuffer window - Bug#16017).
12180 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
12182         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
12183         in D-Bus type syntax.
12184         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
12185         preserve unibyte strings.  (Bug#16048)
12187 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12189         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12190         Call force-mode-line-update is the proper buffer (bug#16042).
12192 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
12194         * vc/log-edit.el (log-edit-add-new-comment): Rename to
12195         `log-edit-remember-comment', make argument optional.  Adjust all
12196         callers.
12197         (log-edit-mode): Add `log-edit-remember-comment' to
12198         `kill-buffer-hook' locally.
12199         (log-edit-kill-buffer): Don't remember comment explicitly since
12200         the buffer is killed anyway.
12202 2013-12-04  Juri Linkov  <juri@jurta.org>
12204         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
12205         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
12207 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
12209         * notifications.el (notifications-close-notification): Call the
12210         D-Bus method with ID being a `:uint32'.  (Bug#16030)
12212 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
12214         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
12216 2013-12-03  Juri Linkov  <juri@jurta.org>
12218         * progmodes/compile.el (compilation-start): Rename window alist
12219         entry `no-display-ok' to `allow-no-window'.
12221         * simple.el (shell-command): Add window alist entry
12222         `allow-no-window' to `display-buffer'.
12223         (async-shell-command): Doc fix.
12225         * window.el (display-buffer-no-window): New action function.
12226         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
12228 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
12230         * vc/log-edit.el (log-edit-set-header): Extract from
12231         `log-edit-toggle-header'.
12232         (log-edit-extract-headers): Separate the summary, when extracted
12233         from header, from the rest of the message with an empty line.
12235         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
12236         line, if present, to the Summary header.
12238 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12240         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
12241         in current-buffer (bug#16029).
12243 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
12245         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
12246         (debugger-mode-map): Bind it.
12247         (debugger--backtrace-base): New function.
12248         (debugger-eval-expression): Use it.
12249         (debugger-frame-number): Skip local vars when present.
12250         (debugger--locals-visible-p, debugger--insert-locals)
12251         (debugger--show-locals, debugger--hide-locals): New functions.
12253 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
12255         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
12256         "LC_ALL".
12257         (tramp-get-remote-locale): New defun.
12258         (tramp-open-connection-setup-interactive-shell): Use it.
12260 2013-12-02  Leo Liu  <sdl.web@gmail.com>
12262         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
12264         * progmodes/sh-script.el (sh-shell-process):
12265         * progmodes/octave.el (inferior-octave-process-live-p):
12266         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
12267         (gdb-inferior-io-sentinel):
12268         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
12270 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
12272         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
12273         `save-selected-window' to `log-edit-hide-buf'.  This makes
12274         `log-edit-show-files' idempotent.
12275         (log-edit-show-files): Mark the new window as dedicated.
12277 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
12279         * vc/log-edit.el (log-edit-mode-map): Add binding for
12280         `log-edit-kill-biffer'.
12281         (log-edit-hide-buf): Add a FIXME comment.
12282         (log-edit-add-new-comment): New function, extracted from
12283         `log-edit-done'.
12284         (log-edit-done, log-edit-add-to-changelog): Use it.
12285         (log-edit-kill-buffer): New command.
12287 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12289         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
12290         instead of killing the buffer.
12292 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12294         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
12296 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12298         * net/eww.el (eww-form-checkbox-selected-symbol)
12299         (eww-form-checkbox-symbol): New customizable variable.
12300         (eww-form-checkbox, eww-toggle-checkbox):
12301         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
12303         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
12304         (shr--get-media-pref, shr--extract-best-source): New function.
12305         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
12306         no :src tag was specified.
12308         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
12309         (eww-render): Handle `eww-use-external-browser-for-content-type'.
12310         Use \\` to match beginning of string instead of ^.
12311         (eww-browse-with-external-browser): Provide optional URL parameter.
12312         (eww-render): Set `eww-current-title' back to "".
12314         * net/shr.el (shr-tag-video): Display content for video if no
12315         poster is available.
12316         (shr-tag-audio): Add support for <audio> tag.
12318         * net/eww.el (eww-text-input-types): New const.
12319         (eww-process-text-input): Treat input types in
12320         `eww-text-input-types' as text.
12322         * net/shr.el (shr-tag-table): Fix comment typo.
12324 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12326         * net/eww.el (eww-follow-link): New command to avoid reloading
12327         pages when we follow #target links (bug#15243).
12328         (eww-quit): Special mode buffers shouldn't query before exiting.
12330 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
12332         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
12333         forms.
12335 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12337         * net/eww.el (eww-restore-history): Update the window title after
12338         moving in the history.
12339         (eww-current-dom): New variable used to save the current DOM.
12341 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
12343         * vc/log-edit.el (log-edit-mode-map): Add binding for
12344         `log-edit-beginning-of-line'.
12345         (log-edit-setup-add-author): New user option.
12346         (log-edit-beginning-of-line): New command.
12347         (log-edit): Move major mode call above the contents setup so that
12348         the local variable values are already applied.
12349         (log-edit): Only insert "Author: " when
12350         `log-edit-setup-add-author' is non-nil.
12351         (log-edit): When SETUP is non-nil, position point after ": "
12352         instead of point-min.
12354 2013-12-01  Glenn Morris  <rgm@gnu.org>
12356         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
12358 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
12360         * startup.el (fancy-splash-frame): On MS-Windows, trigger
12361         redisplay to make sure the initial frame gets a chance to become
12362         visible.  (Bug#16014)
12364 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
12366         Support resizing frames and windows pixelwise.
12367         * cus-start.el (frame-resize-pixelwise)
12368         (window-resize-pixelwise): New entries.
12369         * emacs-lisp/debug.el (debug): Use window-total-height instead
12370         of window-total-size.
12371         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
12372         * help.el (describe-bindings-internal): Use help-buffer as
12373         argument for with-help-window.
12374         (temp-buffer-max-width): New option.
12375         (resize-temp-buffer-window, help-window-setup)
12376         (with-help-window): Rewrite.
12377         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
12378         dragging dividers.
12379         * window.el (frame-char-size, window-min-pixel-height)
12380         (window-safe-min-pixel-height, window-safe-min-pixel-width)
12381         (window-min-pixel-width, window-safe-min-pixel-size)
12382         (window-combination-p, window-safe-min-size)
12383         (window-resizable-p, window--size-to-pixel)
12384         (window--pixel-to-size, window--resize-apply-p): New functions.
12385         (window-safe-min-height): Fix doc-string.
12386         (window-size, window-min-size, window--min-size-1)
12387         (window-sizable, window-sizable-p, window--min-delta-1)
12388         (window-min-delta, window--max-delta-1, window-max-delta)
12389         (window--resizable, window--resizable-p, window-resizable)
12390         (window-full-height-p, window-full-width-p, window-at-side-p)
12391         (window--in-direction-2, window-in-direction)
12392         (window--resize-reset-1, window--resize-mini-window)
12393         (window-resize, window-resize-no-error)
12394         (window--resize-child-windows-normal)
12395         (window--resize-child-windows, window--resize-siblings)
12396         (window--resize-this-window, window--resize-root-window)
12397         (window--resize-root-window-vertically)
12398         (adjust-window-trailing-edge, enlarge-window, shrink-window)
12399         (maximize-window, minimize-window, delete-window)
12400         (quit-restore-window, window-split-min-size, split-window)
12401         (balance-windows-2, balance-windows)
12402         (balance-windows-area-adjust, balance-windows-area)
12403         (window--state-get-1, window-state-get, window--state-put-1)
12404         (window--state-put-2, window-state-put)
12405         (display-buffer-record-window, window--display-buffer):
12406         Make functions handle pixelwise sizing of windows.
12407         (display-buffer--action-function-custom-type)
12408         (display-buffer-fallback-action):
12409         Add display-buffer-in-previous-window.
12410         (display-buffer-use-some-window): Resize window to height it had
12411         before.
12412         (fit-window-to-buffer-horizontally): New option.
12413         (fit-frame-to-buffer): Describe new values.
12414         (fit-frame-to-buffer-bottom-margin): Replace with
12415         fit-frame-to-buffer-margins.
12416         (window--sanitize-margin): New function.
12417         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
12418         using window-text-pixel-size.
12420 2013-11-30  Glenn Morris  <rgm@gnu.org>
12422         * emacs-lisp/bytecomp.el (byte-compile-form):
12423         Make the `interactive-only' warning like the `obsolete' one.
12424         * comint.el (comint-run):
12425         * files.el (insert-file-literally, insert-file):
12426         * replace.el (replace-string, replace-regexp):
12427         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
12428         (goto-line, insert-buffer, next-line, previous-line):
12429         Tweak `interactive-only' spec.
12431         Stop keeping (most) generated cedet grammar files in the repository.
12432         * Makefile.in (semantic): New.
12433         (compile-main): Depend on semantic.
12435 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12437         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
12438         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
12440         * uniquify.el (uniquify-buffer-name-style): Change default.
12442         * loadup.el: Preload "uniquify".
12444         * time.el (display-time-update): Update all mode lines (bug#15999).
12446         * electric.el (electric-indent-mode): Enable by default.
12447         * loadup.el: Preload "electric".
12449 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
12451         * emacs-lisp/helpers.el (string-empty-p): New function.
12452         (string-blank-p): New function.
12454 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
12456         * imenu.el (imenu--index-alist): Add missing dot to the docstring
12457         (Bug#14029).
12459 2013-11-29  Andreas Politz  <politza@fh-trier.de>
12460         * imenu.el (imenu--subalist-p): Don't error on non-conses and
12461         allow non-lambda lists as functions.
12462         (imenu--in-alist): Don't recurse into non-subalists.
12463         (imenu): Don't pass function itself as an argument (Bug#14029).
12465 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12467         * progmodes/python.el (python-mode-map): Remove binding for ":".
12468         (python-indent-electric-colon): Remove command.
12469         (python-indent-post-self-insert-function): Integrate the previous code
12470         of python-indent-electric-colon.  Make it conditional on
12471         electric-indent-mode.
12472         (python-mode): Add ?: to electric-indent-chars.
12473         Move python-indent-post-self-insert-function to the end of
12474         post-self-insert-hook.
12476 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12478         * doc-view.el (doc-view-goto-page): Update mode-line.
12480         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
12482 2013-11-27  Glenn Morris  <rgm@gnu.org>
12484         * international/charprop.el, international/uni-bidi.el:
12485         * international/uni-category.el, international/uni-combining.el:
12486         * international/uni-comment.el, international/uni-decimal.el:
12487         * international/uni-decomposition.el, international/uni-digit.el:
12488         * international/uni-lowercase.el, international/uni-mirrored.el:
12489         * international/uni-name.el, international/uni-numeric.el:
12490         * international/uni-old-name.el, international/uni-titlecase.el:
12491         * international/uni-uppercase.el:
12492         Remove generated files from VCS repository.
12494 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
12496         * filenotify.el (file-notify-add-watch): Don't special-case
12497         w32notify when computing the directory to watch.
12499 2013-11-27  Glenn Morris  <rgm@gnu.org>
12501         Make bootstrap without generated uni-*.el files possible again.
12502         * loadup.el: Update command-line-args checking for unidata-gen.
12503         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
12504         * composite.el, international/characters.el:
12505         Handle unicode tables being undefined.
12507         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
12508         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
12509         (compile-main): Depend on leim rule.
12510         (leim): New rule.
12511         * loadup.el: Move leim-list.el to leim/ subdirectory.
12512         * startup.el (normal-top-level): No more leim directory.
12513         * international/ja-dic-cnv.el (skkdic-convert):
12514         Disable version-control and autoloads in output files.
12515         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
12516         Disable version-control and autoloads in output files.
12517         * leim/quail: Move here from ../leim.
12518         * leim/quail/hangul.el (hangul-input-method-activate):
12519         Add autoload cookie.
12520         (generated-autoload-load-name): Set file-local value.
12521         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
12522         (generated-autoload-load-name): Set file-local value.
12524 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
12526         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
12527         (eww-add-bookmark): Ask confirmation when add to bookmarks.
12528         (eww-quit): Ask confirmation before quitting eww.
12530 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
12532         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
12533         reading output from Diff on MS-Windows and MS-DOS.
12535 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
12537         * emacs-lisp/helpers.el (string-reverse): New function.
12539 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
12541         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
12542         names on MS Windows, like "/[::1]:".
12544         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
12545         SWITCHES.
12547 2013-11-26  Glenn Morris  <rgm@gnu.org>
12549         * progmodes/python.el (python-indent-guess-indent-offset):
12550         Avoid corner-case error.  (Bug#15975)
12552         Preload leim-list.el.  (Bug#4789)
12553         * loadup.el: Load leim-list.el when found.
12554         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
12556 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
12558         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
12560         * emacs-lisp/helpers.el (string-join): New function.
12562 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
12564         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12565         Mark as obsolete and replace it with a symbol property.
12566         (byte-compile-form): Use new 'interactive-only property.
12567         * comint.el, files.el, replace.el, simple.el:
12568         Apply new 'interactive-only properly.
12570 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
12572         * window.el (display-buffer-at-bottom): Make sure that
12573         split-window-sensibly creates the new window on bottom
12574         (Bug#15961).
12576 2013-11-23  David Kastrup  <dak@gnu.org>
12578         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
12579         on the conflict markers when available.
12580         (smerge--get-marker): New function.
12581         (smerge-end-re, smerge-base-re): Add subgroup.
12583 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12585         * frame.el (handle-focus-in, handle-focus-out): Add missing
12586         interactive spec.
12588 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
12590         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12591         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
12593 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12595         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
12596         (gomoku--last-pos): New var.
12597         (gomoku--intangible-chars): New const.
12598         (gomoku--intangible): New function.
12599         (gomoku-mode): Use it.  Derive from special-mode.
12600         (gomoku-move-up): Adjust line count.
12601         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
12602         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
12603         Simplify accordingly.
12605         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
12606         Remove blink-cursor code.
12607         (blink-cursor-timer-function, blink-cursor-suspend):
12608         Don't special-case GUIs.
12609         (blink-cursor-mode): Use focus-in/out-hook.
12611 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
12613         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
12614         work when annotation is invisible (Bug#13886).
12616 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
12618         * json.el (json-alist-p): Only return non-nil if the alist has
12619         simple keys (Bug#13518).
12621 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
12623         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
12624         when control-statement is the first statement in a buffer (Bug#15956).
12626 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
12628         * imenu.el (imenu-generic-skip-comments-and-strings):
12629         New option (Bug#15560).
12630         (imenu--generic-function): Use it.
12632 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
12634         * minibuffer.el (completion--in-region-1): Scroll the correct window.
12635         (Bug#13898)
12637 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
12639         * emacs-lisp/helpers.el: Add some string helpers.
12640         (string-trim-left): Removes leading whitespace.
12641         (string-trim-right): Removes trailing whitespace.
12642         (string-trim): Removes leading and trailing whitespace.
12644         * subr.el (string-suffix-p): New function.
12646 2013-11-23  Glenn Morris  <rgm@gnu.org>
12648         * progmodes/python.el (python-shell-send-file):
12649         Add option to delete file when done.  (Bug#15647)
12650         (python-shell-send-string, python-shell-send-region): Use it.
12652 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
12654         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
12655         to set buffer-read-only to t, never to nil.  (Bug#15938)
12657         * textmodes/tex-mode.el (latex-noindent-environments):
12658         Add safe-local-variable property.  (Bug#15936)
12660 2013-11-23  Glenn Morris  <rgm@gnu.org>
12662         * textmodes/enriched.el (enriched-mode): Doc fix.
12663         * emacs-lisp/authors.el (authors-renamed-files-alist):
12664         Add enriched.doc -> enriched.txt.
12666         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
12668 2013-11-22  Leo Liu  <sdl.web@gmail.com>
12670         * progmodes/octave.el (inferior-octave-startup): Spit out error
12671         message.
12673 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
12675         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12676         Improve docstring.
12677         Add :version.
12678         (ruby-encoding-magic-comment-style): Add :version.
12680 2013-11-22  Leo Liu  <sdl.web@gmail.com>
12682         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
12683         (Bug#15076)
12684         (octave-help-mode): Adapt to change to help-mode-finish to use
12685         derived-mode-p on 2013-09-17.
12686         (inferior-octave-prompt): Also match octave-gui.
12687         (octave-kill-process): Don't ask twice.  (Bug#10564)
12689 2013-11-22  Leo Liu  <sdl.web@gmail.com>
12691         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
12692         (inferior-octave-startup, inferior-octave-check-process)
12693         (inferior-octave-track-window-width-change)
12694         (octave-completion-at-point, octave-eldoc-function): Use it.
12695         (octave-kill-process): Provide confirmation.  (Bug#10564)
12697 2013-11-21  Leo Liu  <sdl.web@gmail.com>
12699         * progmodes/octave.el (octave-mode, inferior-octave-mode):
12700         Fix obsolete variable comment-use-global-state.
12702 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12704         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
12705         Add `octave-source-file'.
12706         (octave-source-file): New function.  (Bug#15935)
12708 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
12710         * net/eww.el (eww-local-regex): New variable.
12711         (eww): Use it to detect localhost and similar.
12713 2013-11-21  Leo Liu  <sdl.web@gmail.com>
12715         Add completion for command `ag'.
12716         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
12717         (pcomplete/ag): New function.
12718         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
12720 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12722         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
12723         (bug#14646).
12724         (make-obsolete): Remove interactive spec.
12726 2013-11-21  Glenn Morris  <rgm@gnu.org>
12728         * startup.el (command-line-1): Use path-separator with -L.
12730 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
12732         * emacs-lisp/package.el (describe-package-1): Add package archive
12733         to shown fields.
12735 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
12737         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12738         Change default to "# encoding: %s" to differentiate it from the
12739         default Ruby encoding comment template.
12741 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
12743         * ses.el (ses-mode): Doc fix.  (Bug#14748)
12745 2013-11-20  Leo Liu  <sdl.web@gmail.com>
12747         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
12749 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
12751         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
12752         when rebase or bisect are in progress.
12754 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
12756         * filenotify.el (file-notify-add-watch): Doc fix.
12758 2013-11-19  Leo Liu  <sdl.web@gmail.com>
12760         * obsolete/rcompile.el: Mark obsolete.
12762         * progmodes/compile.el (compilation-start)
12763         (compilation-goto-locus, compilation-find-file):
12764         Pass no-display-ok and handle nil value from display-buffer.
12765         (Bug#13594)
12767         * window.el (display-buffer-alist, display-buffer): Document the
12768         new parameter no-display-ok.  Return either a window or nil
12769         but never a non-window value.
12771 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12773         * electric.el (electric-indent-mode-map): Remove.
12774         (electric-indent-mode): Change the global-map instead (bug#15915).
12776         * textmodes/text-mode.el (paragraph-indent-minor-mode):
12777         Use add-function.
12779 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12781         * emacs-lisp/nadvice.el (remove-function): Align with
12782         add-function's behavior.
12784         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
12785         (gdb--string-regexp): New constant.
12786         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
12787         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
12788         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
12789         submatch 1.
12790         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
12791         Adjust use accordingly.
12792         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
12794 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
12796         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
12797         interpolation curlies (Bug#15914).
12799 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
12801         * calc/calc.el (calc-context-sensitive-enter): New variable.
12802         (calc-enter): Use `calc-context-sensitive-enter'.
12804 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
12806         * progmodes/cfengine.el: Version bump.
12807         (cfengine-cf-promises): New defcustom to locate cf-promises.
12808         (cfengine3-vartypes): Add new "data" type.
12809         (cfengine3--current-word): New function to get current name-like
12810         word or its bounds.
12811         (cfengine3--current-function): New function to look up a CFEngine
12812         function's definition.
12813         (cfengine3-format-function-docstring): New function.
12814         (cfengine3-make-syntax-cache): New function.
12815         (cfengine3-documentation-function): New function: ElDoc glue.
12816         (cfengine3-completion-function): New function: completion glue.
12817         (cfengine3-mode): Set `compile-command',
12818         `eldoc-documentation-function', and add to
12819         `completion-at-point-functions'.
12821 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
12823         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12824         `tramp-current-connection'.
12826 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
12828         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
12829         nil/self/true/false with "end of symbol".
12831 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
12833         * subr.el (version-regexp-alist): Fix a typo.
12835 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
12837         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
12838         "en_US.utf8" and "LC_CTYPE" to "".
12839         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
12840         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
12842 2013-11-15  Leo Liu  <sdl.web@gmail.com>
12844         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
12846 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12848         * progmodes/gud.el (ctl-x-map):
12849         Remove C-x SPC binding.  (Bug#12342)
12850         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
12852 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
12854         * subr.el (version-regexp-alist):
12855         Recognize hg, svn and darcs versions as snapshot versions.
12857         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
12858         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
12859         (ruby--encoding-comment-required-p): Extract from
12860         `ruby-mode-set-encoding'.
12861         (ruby-mode-set-encoding): Add the ability to always insert an
12862         utf-8 encoding comment.  Fix and simplify coding comment update
12863         logic.
12865 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
12867         * net/tramp-gvfs.el (top): Run init code only when
12868         `tramp-gvfs-enabled' is not nil.
12869         (tramp-gvfs-enabled): Check also :system bus.
12871 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12873         Sync with upstream verilog-mode revision 78e66ba.
12874         * progmodes/verilog-mode.el (verilog-end-of-defun)
12875         (verilog-type-completion, verilog-get-list): Remove unused funcs.
12876         (verilog-get-end-of-defun): Remove unused argument.
12877         (verilog-comment-depth): Remove unused local `e'.
12878         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
12879         Don't pass arg to verilog-get-end-of-defun.
12881 2013-11-14  Glenn Morris  <rgm@gnu.org>
12883         * obsolete/assoc.el (aget): Prefix dynamic variable.
12885         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
12887 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12889         * widget.el, hfy-cmap.el: Remove bogus package version number.
12891 2013-11-13  Glenn Morris  <rgm@gnu.org>
12893         * replace.el (replace-eval-replacement):
12894         Try to give more helpful error message.  (Bug#15836)
12896         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12897         (archive-7z-update): Avoid custom type mismatches.
12899         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
12901 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
12903         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
12904         address can be empty.
12906         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
12907         Accept nil SWITCHES.
12908         (tramp-gvfs-handle-write-region): Implement APPEND.
12910 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
12912         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
12913         binary "|" operator and closing block args delimiter.
12914         Remove FIXME comment referring to Ruby 1.8-only syntax.
12915         (ruby-smie--implicit-semi-p): Not after "|" operator.
12916         (ruby-smie--closing-pipe-p): New function.
12917         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
12918         (ruby-smie-rules): Indent after "|".
12920 2013-11-12  Glenn Morris  <rgm@gnu.org>
12922         * ps-print.el (ps-face-attribute-list):
12923         Handle anonymous faces.  (Bug#15827)
12925 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
12927         * window.el (display-buffer-other-frame): Fix doc-string.
12928         (Bug#15868)
12930 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12932         * subr.el (force-mode-line-update): Delete, move to buffer.c.
12934 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
12936         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
12937         (tramp-sh-handle-file-local-copy): Don't write a message when
12938         saving temporary files.
12940         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
12941         both directories are remote.
12942         (tramp-smb-handle-directory-files): Do not return double entries.
12943         Do not expand full file names.
12944         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
12945         (tramp-smb-handle-write-region): Implement APPEND.
12946         (tramp-smb-get-stat-capability): Fix a stupid bug.
12948 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12950         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
12952 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12954         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
12955         throwing error over malformed let/let* (bug#15814).
12957 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12959         * iswitchb.el (iswitchb-mode): Mark obsolete.
12961 2013-11-11  Glenn Morris  <rgm@gnu.org>
12963         * international/uni-bidi.el, international/uni-category.el:
12964         * international/uni-name.el, international/uni-numeric.el:
12965         Regenerate for Unicode 6.3.0.
12967 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
12969         * net/tramp.el (tramp-methods):
12970         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
12971         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
12973 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
12975         * progmodes/sh-script.el (sh-font-lock-keywords-var):
12976         Force highlighting text after Summary keyword in doc face for rpm.
12978 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
12980         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
12981         available and the word has no wildcards, append one to the grep pattern.
12982         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
12983         (ispell-complete-word): Call `ispell-lookup-words' with the value
12984         independent of `ispell-look-p'.
12986 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
12988         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
12989         Not after "||".
12990         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
12991         their parent.
12993 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12995         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
12996         (ruby-font-lock-keywords): Use backquote.
12998 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
13000         * progmodes/ruby-mode.el (ruby-smie--forward-token)
13001         (ruby-smie--backward-token): Only consider full-string matches.
13003 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
13005         * faces.el (describe-face): Add distant-foreground.
13007 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
13009         * progmodes/ruby-mode.el: Improve encoding comment handling.
13010         (ruby-encoding-magic-comment-style): New option.
13011         (ruby-custom-encoding-magic-comment-template): New option.
13012         (ruby--insert-coding-comment, ruby--detect-encoding):
13013         New functions extracted from `ruby-mode-set-encoding'.
13014         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
13015         to control the style of the auto-inserted encoding comment.
13017 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
13019         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
13020         Use `smie-backward-sexp' with token argument.
13022 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
13024         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13025         Remove instrumentation code.
13027 2013-11-08  Glenn Morris  <rgm@gnu.org>
13029         * progmodes/autoconf.el (autoconf-mode):
13030         Tweak comment-start-skip.  (Bug#15822)
13032 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13034         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
13035         at bobp (bug#15826).
13036         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
13038 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
13040         * man.el (Man-start-calling): New macro, extracted from
13041         Man-getpage-in-background.
13042         (Man-getpage-in-background): Use it.
13043         (Man-update-manpage): New command.
13044         (Man-mode-map): Bind it.
13046 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
13048         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
13049         of "and", "or", "&&" and "||".
13050         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
13051         argument.  Prohibit opening curly brace because it could only be a
13052         block opener in that position.
13053         (ruby-smie--forward-token, ruby-smie--backward-token):
13054         Separate "|" from "&" or "*" going after it.  That can happen in block
13055         arguments.
13056         (ruby-smie--indent-to-stmt): New function, seeks the end of
13057         previous statement or beginning of buffer.
13058         (ruby-smie-rules): Use it.
13059         (ruby-smie-rules): Check if there's a ":" before a curly block
13060         opener candidate; if there is, it's a hash.
13062 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13064         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
13065         (cl--block-wrapper): Fix last accidental change.
13067 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
13069         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13070         Instrument, in order to hunt failure on hydra.
13072 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
13074         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
13075         malformed bindings form (bug#15814).
13077 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
13079         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
13080         "." compared to " @ ".  This incidentally fixes some indentation
13081         examples with "do".
13082         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
13083         (ruby-smie-grammar): New tokens: "and" and "or".
13084         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
13085         Exclude "and" and "or".  Remove "do" in order to work around token
13086         priorities.
13087         (ruby-smie-rules): Add all infix tokens.  Handle the case of
13088         beginning-of-buffer.
13090 2013-11-06  Glenn Morris  <rgm@gnu.org>
13092         * Makefile.in (setwins_almost, setwins_for_subdirs):
13093         Avoid accidental matches.
13095 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13097         * menu-bar.el (popup-menu): Use key-binding.
13099 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
13101         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
13102         menus, support also the menus produced by minor modes.
13103         (Bug#15817)
13105 2013-11-06  Leo Liu  <sdl.web@gmail.com>
13107         * thingatpt.el (thing-at-point-looking-at): Add optional arg
13108         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
13110 2013-11-06  Glenn Morris  <rgm@gnu.org>
13112         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
13113         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
13114         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
13116 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13118         * electric.el (electric-indent-just-newline): New command.
13119         (electric-indent-mode-map): New keymap.
13120         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
13121         Re-add :group which weren't redundant.
13123         * electric.el (electric-indent-local-mode): New minor mode.
13124         (electric-indent-functions-without-reindent): New var.
13125         (electric-indent-post-self-insert-function): Use it.
13126         * emacs-lisp/gv.el (buffer-local-value): Add setter.
13128 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
13130         * international/quail.el (quail-help): Be more explicit about the
13131         meaning of the labels shown on the keys.  (Bug#15800)
13133         * startup.el (normal-top-level): Load the subdirs.el files before
13134         setting the locale environment.  (Bug#15805)
13136 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13138         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
13139         via arguments so as to get the right ones (bug#15418).
13141         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
13143 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
13145         Fix problems found while writing a test suite.
13147         * net/tramp-compat.el (tramp-compat-load): New defun.
13148         * net/tramp.el (tramp-handle-load): Use it.
13150         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
13151         "(numberp ok-if-already-exists)" correctly.
13153 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
13155         * international/characters.el (glyphless-char-display-control):
13156         Add usage note.
13158 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
13160         * progmodes/python.el (python-mode):
13161         * progmodes/scheme.el (scheme-mode):
13162         * progmodes/prolog.el (prolog-mode):
13163         * progmodes/ruby-mode.el (ruby-mode):
13164         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
13165         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
13167 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13169         * rect.el (rectangle--highlight-for-redisplay):
13170         * emacs-lisp/smie.el (smie--next-indent-change):
13171         Use buffer-chars-modified-tick.
13173         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
13175         * electric.el (electric-indent-post-self-insert-function):
13176         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
13178 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
13180         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
13182 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
13184         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
13185         (bug#15786).
13187 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13189         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
13191         * progmodes/python.el: Fix up last change.
13192         (python-shell--save-temp-file): New function.
13193         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
13194         `string' comes from the current buffer.
13195         (python-shell-send-string-no-output): Remove `msg' arg.
13196         (python--use-fake-loc): New var.
13197         (python-shell-buffer-substring): Obey it.  Try to compensate for the
13198         extra coding line added by python-shell--save-temp-file.
13199         (python-shell-send-region): Use python-shell--save-temp-file and
13200         python-shell-send-file directly.  Add `nomain' argument.
13201         (python-shell-send-buffer): Use python-shell-send-region.
13202         (python-electric-pair-string-delimiter): New function.
13203         (python-mode): Use it.
13205 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
13207         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
13208         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
13209         environment and decoding all of the default-directory's to here
13210         from command-line.
13211         (command-line): Decode also argv[0].
13213         * loadup.el: Error out if default-directory is a multibyte string
13214         when we are dumping.
13216         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
13218 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
13220         * emacs-lisp/package.el (package-menu-mode)
13221         (package-menu--print-info, package-menu--archive-predicate):
13222         Add Archive column to package list.
13224 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
13226         Fix problems found while writing a test suite.
13228         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
13229         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
13230         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
13231         to nil when running original file name handler.  Otherwise,
13232         there are problems with constructs like "$$FOO".
13234         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
13235         for `localname'.
13237 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
13239         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
13241         * subr.el (version<, version<=, version=):
13242         Update docstrings with information for snapshot versions.
13244         * helpers.el: New library for misc helper functions.
13245         (hash-table-keys): New function returning a list of hash keys.
13246         (hash-table-values): New function returning a list of hash values.
13248 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
13250         * progmodes/ruby-mode.el (ruby-smie--forward-token)
13251         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
13253 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
13255         * textmodes/fill.el (fill-single-char-nobreak-p): New function
13256         checking whether point is after a 1-letter word.
13258 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
13260         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
13261         Don't infloop when expanding region over `multiline' syntax-type that
13262         begins a line (bug#15778).
13264 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13266         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
13267         Make it into a proper minor mode.
13268         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
13269         (rectangle-mark-mode-map): New keymap.
13270         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
13272 2013-11-04  Glenn Morris  <rgm@gnu.org>
13274         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
13276 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13278         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
13279         (ruby-smie-rules): Use smie-rule-parent instead.
13281         * emacs-lisp/smie.el (smie-rule-parent): Always call
13282         smie-indent-virtual rather than only for hanging tokens.
13283         (smie--next-indent-change): New helper command.
13285 2013-11-03  Glenn Morris  <rgm@gnu.org>
13287         * Makefile.in (abs_srcdir): Remove.
13288         (emacs): Unset EMACSLOADPATH.
13290 2013-11-02  Glenn Morris  <rgm@gnu.org>
13292         * Makefile.in (EMACS): Use a relative filename.
13293         (abs_top_builddir): Remove.
13294         (custom-deps, finder-data, autoloads): Use --chdir.
13296         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
13298         Use relative filenames in TAGS files.
13299         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13300         (lisptagsfiles4, TAGS): Use relative file names.
13301         (TAGS-LISP): Remove.
13302         (maintainer-clean): No more TAGS-LISP file.
13304         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13305         (lisptagsfiles4): Use absolute filenames again.
13306         (TAGS, TAGS-LISP): Not everything needs to run in one line.
13307         Remove all *loaddefs files, not just the first.  Remove esh-groups.
13308         (maintainer-clean): Delete TAGS, TAGS-LISP.
13310 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
13312         * emacs-lisp/package.el (package-version-join):
13313         Recognize snapshot versions.
13315 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
13317         * subr.el (version-regexp-alist): Add support for snapshot versions.
13319 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
13321         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
13322         New function, replacement for `smie-rule-parent' for when we want to
13323         skip over our direct parent if it's an assignment token..
13324         (ruby-smie-rules): Use it.
13326 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
13328         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
13329         unconditionally.  Remove now unnecessary forward declarations.
13330         Remove XEmacs-specific setup.
13331         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
13332         (ruby-font-lock-syntactic-keywords)
13333         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
13334         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
13335         (ruby-here-doc-end-syntax): Remove.
13336         (ruby-mode): Don't check whether `syntax-propertize-rules' is
13337         defined as function.
13339 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
13341         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
13343 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
13345         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
13346         table and abbrev table, `define-derived-mode' does that for us
13347         anyway.
13349 2013-11-01  Glenn Morris  <rgm@gnu.org>
13351         * Makefile.in: Remove manual mh-e dependencies (writing .elc
13352         files is atomic for some time, so no parallel compilation issues).
13354 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
13356         * faces.el (face-x-resources): Add :distant-foreground.
13357         (region): Use :distant-foreground for gtk and ns.
13359 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
13361         Allow multiple bibliographies when BibLaTeX is used rather than
13362         BibTeX.
13363         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
13364         (reftex-locate-bibliography-files): Us it.
13366 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
13368         * image.el (image-type-header-regexps): Fix the 'pbm' part to
13369         allow comments in pbm files.
13371         * term/w32-win.el (dynamic-library-alist): Support newer versions
13372         of libjpeg starting with v7: look only for the DLL from the
13373         version against which Emacs was built.
13374         Support versions of libpng beyond 1.4.x.
13375         Support libtiff v4.x.
13377 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
13379         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
13380         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
13381         Add property :safe.
13382         (ruby-deep-arglist): Add property :type.
13384 2013-10-31  Glenn Morris  <rgm@gnu.org>
13386         * Makefile.in (custom-deps, finder-data): No need to setq the target
13387         variables, we are in the right directory and the defaults work fine.
13389 2013-10-30  Glenn Morris  <rgm@gnu.org>
13391         * Makefile.in (autoloads): Do not use abs_lisp.
13393         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13394         `newline' does not respect `standard-output', so use `princ'.
13396 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
13398         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
13399         * buff-menu.el (Buffer-menu--unmark): New function.
13400         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
13402 2013-10-30  Glenn Morris  <rgm@gnu.org>
13404         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
13406         * emacs-lisp/package.el (lm-homepage): Declare.
13408         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
13409         Fix doc typos.
13411         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
13413         * Makefile.in (finder-data, autoloads, update-subdirs)
13414         (compile-main, compile-clean, compile-always, bootstrap-clean):
13415         Check return value of cd.
13416         (compile-calc): Remove.
13418 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13420         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
13422         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
13423         (byte-compile-and-folded): New function.
13424         (=, <, >, <=, >=): Use it.
13426         * dos-w32.el (minibuffer-history-case-insensitive-variables)
13427         (path-separator, null-device, buffer-file-coding-system)
13428         (lpr-headers-switches): Check system-type before modifying them.
13429         (find-buffer-file-type-coding-system): Mark obsolete.
13430         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
13431         find-file-not-found-set-buffer-file-coding-system.
13432         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
13433         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
13434         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
13435         (w32-direct-print-region-helper, w32-direct-print-region-function)
13436         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
13437         * startup.el (normal-top-level-add-subdirs-to-load-path):
13438         * ps-print.el (ps-print-region-function):
13439         * lpr.el (print-region-function): Use new name.
13441         * subr.el (custom-declare-variable-early): Remove function.
13442         (custom-declare-variable-list): Remove var.
13443         (error, user-error): Remove `while' loop.
13444         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
13445         (user-emacs-directory-warning, locate-user-emacs-file):
13446         Move to files.el.
13447         * simple.el (read-quoted-char-radix, read-quoted-char):
13448         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
13449         Move from subr.el.
13450         * custom.el (custom-declare-variable-list): Don't process
13451         custom-declare-variable-list.
13453         * progmodes/python.el (python-shell-get-buffer): New function.
13454         (python-shell-get-process): Use it.
13455         (python-shell-send-string): Always use utf-8 and add a cookie to tell
13456         Python which encoding was used.  Don't split-string since we only care
13457         about the first line.  Return the temp-file, if applicable.
13458         (python-shell-send-region): Tell compile.el how to turn locations in
13459         the temp-file into locations in the source buffer.
13461 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13463         * subr.el (undefined): Add missing behavior from the C code for
13464         unbound keys.
13466         * rect.el: Use lexical-binding.  Add new rectangular region support.
13467         (rectangle-mark): New command.
13468         (rectangle--region): New var.
13469         (deactivate-mark-hook): Reset rectangle--region.
13470         (rectangle--extract-region, rectangle--insert-for-yank)
13471         (rectangle--highlight-for-redisplay)
13472         (rectangle--unhighlight-for-redisplay): New functions.
13473         (region-extract-function, redisplay-unhighlight-region-function)
13474         (redisplay-highlight-region-function): Use them to handle
13475         rectangular region.
13476         * simple.el (region-extract-function): New var.
13477         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
13478         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
13479         (kill-region): Replace obsolete `yank-handler' arg with `region'.
13480         (copy-region-as-kill, kill-ring-save): Add `region' argument.
13481         (redisplay-unhighlight-region-function)
13482         (redisplay-highlight-region-function): New vars.
13483         (redisplay--update-region-highlight): New function.
13484         (pre-redisplay-function): Use it.
13485         (exchange-point-and-mark): Don't deactivate the mark before
13486         reactivate-it anyway.
13487         * comint.el (comint-kill-region): Remove yank-handler argument.
13488         * delsel.el (delete-backward-char, backward-delete-char-untabify)
13489         (delete-char): Remove property, since it's now part of their
13490         default behavior.
13491         (self-insert-iso): Remove property since this command doesn't exist.
13493         * emacs-lisp/package.el (package--download-one-archive)
13494         (describe-package-1): Don't query the user about final newline.
13496 2013-10-29  Daniel Colascione  <dancol@dancol.org>
13498         * net/tramp.el (tramp-methods): Document new functionality.
13499         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
13500         tramp-hostname-checker if method provides one instead of scanning
13501         argument list for "%h" to decide hostname acceptability.
13503 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
13505         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13506         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13507         Handle COPY-CONTENTS.  (Bug#15737)
13509 2013-10-28  Daiki Ueno  <ueno@gnu.org>
13511         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13512         Document that this option has no effect with GnuPG 2.0 (bug#15552).
13514 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
13516         * image.el (defimage, image-load-path): Doc fixes.
13518 2013-10-27  Alan Mackenzie  <acm@muc.de>
13520         Indent statements in macros following "##" correctly.
13521         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13522         Modify the "#" arm of a cond form to handle "#" and "##" operators.
13524 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
13526         * linum.el (linum-update-window): Fix boundary test (bug#13446).
13528 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
13530         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
13531         after `=' is probably a new expression.
13533 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13535         * man.el (man-imenu-title): New option.
13536         (Man-mode-map): Add menu.  (Bug#15722)
13537         (Man-mode): Add imenu to menu.
13539 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
13541         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
13542         specific in what the first arg can be: a non-keyword word,
13543         string/regexp/percent literal opener, opening paren, or unary
13544         operator followed directly by word.
13546 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13548         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
13549         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
13550         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
13551         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
13552         Remove vars, they do not apply any more.
13553         (prolog-mode-abbrev-table): Remove redundant declaration.
13554         (prolog-upper-case-string, prolog-lower-case-string): Remove.
13555         (prolog-use-smie): Remove.
13556         (prolog-smie-rules): Add indentation rule for the if-then-else layout
13557         supported by prolog-electric-if-then-else-flag.
13558         (prolog-mode-variables, prolog-menu): Use setq-local.
13559         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
13560         Remove binding to `Backspace' since this key doesn't exist anyway.
13561         Remove bindings for electric self-inserting keys.
13562         (prog-mode): Assume it's defined.
13563         (prolog-post-self-insert): New function.
13564         (prolog-mode): Use it.
13565         (prolog-indent-line, prolog-indent-level)
13566         (prolog-find-indent-of-matching-paren)
13567         (prolog-indentation-level-of-line, prolog-goto-comment-column)
13568         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
13569         (prolog-goto-next-paren, prolog-in-string-or-comment)
13570         (prolog-tokenize, prolog-inside-mline-comment)
13571         (prolog-find-start-of-mline-comment): Remove functions.
13572         (prolog-find-unmatched-paren, prolog-clause-end)
13573         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
13574         (prolog-electric--if-then-else): Rename from
13575         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
13576         (prolog-tokenize-searchkey): Remove const.
13577         (prolog-clause-info): Use forward-sexp.
13578         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
13579         (prolog-electric-if-then-else): Remove commands.
13580         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
13581         for use in post-self-insert-hook.
13582         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
13583         for use in post-self-insert-hook.
13584         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
13585         for use in post-self-insert-hook.
13586         (prolog-electric--underscore): Rename from prolog-electric--underscore;
13587         adapt it for use in post-self-insert-hook.
13589 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
13591         * emacs-lisp/ert.el (ert-run-tests-interactively):
13592         Use `completing-read'.  (Bug#9756)
13594 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
13596         * simple.el (line-move): Call line-move-1 instead of
13597         line-move-visual when the current window hscroll is zero, but
13598         temporary-goal-column indicates we will need to hscroll as result
13599         of the movement.  (Bug#15712)
13601 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
13603         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
13604         capitalization.  Use :visible instead of :active.
13605         Fix `ruby-indent-exp' reference.  Add menu items for the generic
13606         commands that are used with SMIE.
13607         (ruby-do-end-to-brace): Insert space after `{'.
13609 2013-10-25  John Anthony  <john@jo.hnanthony.com>
13611         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
13613         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
13615 2013-10-25  Glenn Morris  <rgm@gnu.org>
13617         * vc/vc.el (vc-print-log): Don't use a working revision unless
13618         one was explicitly specified.  (Bug#15322)
13620 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13622         * subr.el (add-to-list): Preserve return value in compiler-macro
13623         (bug#15692).
13625 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13627         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
13628         result.  Ask user to retry using '-all' flag.  (Bug#15701)
13630 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13632         * emacs-lisp/smie.el: New smie-config system.
13633         (smie-config): New defcustom.
13634         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
13635         (smie-config-guess, smie-config-save): New commands.
13636         (smie-config--mode-local, smie-config--buffer-local)
13637         (smie-config--trace, smie-config--modefuns): New vars.
13638         (smie-config--advice, smie-config--mode-hook)
13639         (smie-config--setter, smie-config-local, smie-config--get-trace)
13640         (smie-config--guess-value, smie-config--guess): New functions.
13641         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
13642         text properties.  Treat "string fence" syntax like string syntax.
13644         * progmodes/sh-script.el (sh-use-smie): Change default.
13645         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
13646         (sh-var-value): Simplify by CSE.
13647         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
13648         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
13649         is used.
13650         (sh-guess-basic-offset): Use cl-incf.
13651         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
13653 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
13655         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
13656         (bug#15699).
13658 2013-10-24  Glenn Morris  <rgm@gnu.org>
13660         * Makefile.in (abs_top_srcdir): Remove.
13661         (update-subdirs): Use relative path to update-subdirs.
13663 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
13665         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
13666         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
13667         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
13668         Call unmsys--file-name before expand-file-name, not after it.
13670 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
13672         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
13673         (ert-test-skipped): New error.
13674         (ert-skip, ert-stats-skipped): New defuns.
13675         (ert--skip-unless): New macro.
13676         (ert-test-skipped): New struct.
13677         (ert--run-test-debugger, ert-test-result-type-p)
13678         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
13679         (ert--stats-set-test-and-result, ert-char-for-test-result)
13680         (ert-string-for-test-result, ert-run-tests-batch)
13681         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
13682         Handle skipped tests.  (Bug#9803)
13684 2013-10-24  Glenn Morris  <rgm@gnu.org>
13686         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
13688         * Makefile.in (abs_top_srcdir): New, set by configure.
13689         (update-subdirs): Correct build-aux location.
13691 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
13693         * vc/vc.el (vc-print-root-log): Always set `default-directory'
13694         value, whether we could auto-deduce `backend', or not.
13696         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
13697         with parameters" example.  Simplify the "is it block or is it
13698         hash" check, but also make it more thorough.
13700 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
13702         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
13704 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13706         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
13707         { if it is hanging.
13709         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
13710         :before ";".
13712 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
13714         * progmodes/compile.el (compilation-directory-matcher)
13715         (compilation-page-delimiter):
13716         Support GNU Make-4.0 directory quoting.  (Bug#15678)
13718 2013-10-23  Leo Liu  <sdl.web@gmail.com>
13720         * ido.el (ido-tidy): Handle read-only text.
13722 2013-10-23  Glenn Morris  <rgm@gnu.org>
13724         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
13725         (emacs, compile, compile-always):
13726         Quote entities that might contain whitespace.
13727         (custom-deps, finder-data, autoloads): Use abs_lisp.
13728         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13729         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13730         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
13732 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
13734         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
13735         Use `following-char'.
13737 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13739         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
13740         * progmodes/ruby-mode.el (ruby-smie-rules):
13741         Remove corresponding workaround.  Fix indentation rule of ";" so it
13742         also applies when ";" is the parent.
13744 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
13746         * frame.el (display-screens, display-pixel-height)
13747         (display-pixel-width, display-mm-width, display-backing-store)
13748         (display-save-under, display-planes, display-color-cells)
13749         (display-visual-class, display-monitor-attributes-list):
13750         Mention the optional ‘display’ argument in doc strings.
13752 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
13754         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
13755         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
13757 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
13759         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
13760         TODO.  Add "." after " @ ".
13761         (ruby-smie--at-dot-call): New function.  Checks if point at method
13762         call with explicit target.
13763         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
13764         to the method name tokens when it precedes them.
13765         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
13766         (ruby-smie-rules): Add rule for indentation before and after "."
13767         token.
13769 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13771         * textmodes/remember.el (remember-diary-extract-entries):
13772         Avoid add-to-list.
13774         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
13775         an instruction.
13777 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
13779         * progmodes/ruby-mode.el (ruby-smie-grammar):
13780         Add (almost) all infix operators.
13781         (ruby-smie--implicit-semi-p): Add new operator chars.
13783         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
13784         `smie-down-list'.
13785         (ruby-smie--args-separator-p): Check that there's no newline
13786         between method call and its arguments.
13788 2013-10-20  Alan Mackenzie  <acm@muc.de>
13790         Allow comma separated lists after Java "implements".
13792         * progmodes/cc-engine.el (c-backward-over-enum-header):
13793         Parse commas.
13794         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
13795         from a "disallowed" list in enum fontification.
13797 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
13799         * startup.el (default-frame-background-mode): Remove unused defvar.
13801         * progmodes/verilog-mode.el (verilog-mode): Don't set
13802         comment-indent-function globally.
13804 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
13806         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
13807         Move Info menu item creation to ns-win.el.
13809         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
13810         in menu bar.
13812         * menu-bar.el: Move GNUstep specific menus...
13814         * term/ns-win.el (ns-initialize-window-system): ... to here.
13816 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13818         * simple.el (newline): Only run post-self-insert-hook when
13819         called interactively.
13821 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
13823         * icomplete.el (icomplete-with-completion-tables): Add :version.
13825 2013-10-19  Alan Mackenzie  <acm@muc.de>
13827         Fix fontification bugs with constructors and const.
13829         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
13830         CASE 2) Remove the check for the absence of a suffix construct
13831         after a function declaration with only types (no identifiers) in
13832         the parentheses.  Also, accept a function declaration with just a
13833         type inside the parentheses, if this type can be positively
13834         recognised as such, or if a prefix keyword like "explicit" nails
13835         down the construct as a declaration.
13837 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
13839         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
13840         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
13841         the problem whereby selecting a menu item that leads to a
13842         minibuffer prompt moves the cursor out of the minibuffer window,
13843         making it hard to type at the prompt.  Suggested by Stefan Monnier
13844         <monnier@iro.umontreal.ca>.
13846 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
13848         * menu-bar.el: Don't make Services menu.
13850 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13852         * ffap.el: Handle "/usr/include/c++/<version>" directories.
13853         (ffap-alist): Use ffap-c++-mode for c++-mode.
13854         (ffap-c++-path): New variable.
13855         (ffap-c++-mode): New function.
13857 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
13859         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
13861 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
13863         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
13864         introduced on 2013-09-08, which results in an infinite loop
13865         requesting a password.
13867 2013-10-18  Glenn Morris  <rgm@gnu.org>
13869         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
13871 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
13873         Sync with upstream verilog-mode revision 1a6ecec7.
13874         * progmodes/verilog-mode.el (verilog-mode-version): Update.
13875         (verilog-mode-release-date): Remove.
13876         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
13877         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
13878         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
13879         (verilog-auto-tieoff-ignore-regexp)
13880         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
13881         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
13882         (verilog-signals-with, verilog-dir-cache-preserving)
13883         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
13884         Doc fixes.
13885         (verilog-case-fold): New option, to control case folding in
13886         regexp searches, bug597.
13887         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
13888         (verilog-string-match-fold, verilog-in-paren-count)
13889         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
13890         (verilog-at-close-struct-p): New functions.
13891         (verilog-beg-block-re-ordered, verilog-extended-case-re)
13892         (verilog-forward-sexp, verilog-set-auto-endcomments)
13893         (verilog-leap-to-case-head): Handle "unique0" case.
13894         (verilog-in-constraint-re): New constant.
13895         (verilog-keywords, verilog-type-font-keywords):
13896         Add some SystemVerilog 1800-2012 keywords.
13897         (verilog-label-be): Remove unimplemented argument, bug669.
13898         (verilog-batch-execute-func): When batch expanding clear
13899         create-lockfiles to prevent spurious user locks when a file ends
13900         up not changing.
13901         (verilog-calculate-indent, verilog-calc-1)
13902         (verilog-at-close-constraint-p, verilog-at-constraint-p)
13903         (verilog-do-indent): Fix indentation of nested constraints
13904         and structures.
13905         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
13906         (verilog-auto-inst-param): Use verilog-string-match-fold.
13907         (verilog-read-inst-module-matcher):
13908         Fix AUTOINST on gate primitives with #1.
13909         (verilog-read-decls): Fix double-declaring user-defined typed signals.
13910         Reads all user-defined typed variables.
13911         (verilog-read-defines): Fix reading definitions inside comments, bug647.
13912         (verilog-signals-matching-regexp)
13913         (verilog-signals-not-matching-regexp, verilog-auto):
13914         Respect verilog-case-fold.
13915         (verilog-diff-report): Fix line count.
13916         (verilog-auto-assign-modport): Remove unused local `modi'.
13917         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
13918         better handle multidimensional arrays.
13919         Fix packed array ports misadding bit index in AUTOINST, bug637.
13920         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
13921         to not double-declare existing outputs and inputs, respectively.
13922         (verilog-template-map): Bind U to verilog-sk-uvm-component.
13923         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
13924         (verilog-sk-uvm-component): New skeleton.
13925         (verilog-submit-bug-report): Add verilog-case-fold,
13926         remove verilog-mode-release-date.
13928 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
13930         * subr.el (sit-for): Call (input-pending-p t) so as to behave
13931         as before.
13933 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
13935         * textmodes/remember.el (remember): Set buffer-offer-save in
13936         remember buffers (bug#13566).
13938 2013-10-18  Daniel Colascione  <dancol@dancol.org>
13940         When evaluating forms in ielm, direct standard output to ielm
13941         buffer.  Add new ielm-return-for-effect command.  Remove trailing
13942         whitespace throughout.
13944         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
13945         (ielm-return-for-effect): New command.
13946         (ielm-send-input): Accept optional `for-effect' parameter.
13947         (ielm-eval-input): Accept optional `for-effect' parameter.
13948         Bind `standard-output' to stream we create using
13949         `ielm-standard-output-impl'.  Suppress printing result when
13950         `for-effect'.
13951         (ielm-standard-output-impl): New function.
13952         (inferior-emacs-lisp-mode): Explain new features in documentation.
13954 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
13956         Code cleanup.
13958         * net/tramp.el (tramp-debug-message): Do not check for connection
13959         buffer.
13960         (tramp-message): Use "vector" connection property.
13962         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
13963         (tramp-equal-remote, tramp-eshell-directory-change)
13964         * net/tramp-adb.el (tramp-adb-handle-copy-file)
13965         (tramp-adb-handle-rename-file)
13966         * net/tramp-cmds.el (tramp-list-remote-buffers)
13967         (tramp-cleanup-connection, tramp-cleanup-this-connection)
13968         * net/tramp-compat.el (tramp-compat-process-running-p)
13969         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
13970         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
13971         (tramp-gvfs-handle-rename-file)
13972         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13973         (tramp-set-file-uid-gid)
13974         * net/tramp-smb.el (tramp-smb-handle-copy-file)
13975         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
13976         of `file-remote-p'.
13978         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
13979         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
13980         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
13981         (tramp-gw-open-network-stream): Suppress unrelated traces.
13983         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
13984         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
13985         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13986         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
13987         connection property.
13989         * net/tramp-cache.el (top): Suppress traces when reading
13990         persistency file.
13992         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13993         Refactor common code.  Improve debug message.
13994         (tramp-maybe-open-connection)
13995         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
13996         connection buffer too early.
13998         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
13999         from `tramp-smb-actions-with-acl'.
14000         (tramp-smb-actions-set-acl): New defconst.
14001         (tramp-smb-handle-copy-directory)
14002         (tramp-smb-action-get-acl): New defun, renamed from
14003         `tramp-smb-action-with-acl'.
14004         (tramp-smb-action-set-acl): New defun.
14005         (tramp-smb-handle-set-file-acl): Rewrite.
14007 2013-10-17  Glenn Morris  <rgm@gnu.org>
14009         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
14011 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14013         * skeleton.el (skeleton-newline): Remove.
14014         (skeleton-internal-1): Use (insert "\n") instead.
14016         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
14017         let-bindings.
14019         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
14020         forward-sexp-function while we redo its job (bug#15613).
14022 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
14024         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
14025         represented by lists.
14027 2013-10-16  Glenn Morris  <rgm@gnu.org>
14029         * tmm.el (tmm--history): New dynamic variable.
14030         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
14032 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
14034         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
14035         (tramp-smb-errors): Add error messages.
14036         (tramp-smb-actions-with-acl): New defconst.
14037         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
14038         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
14039         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
14040         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
14041         (tramp-smb-get-stat-capability): Fix tests.
14043 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
14045         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
14046         (bug#15580).
14048 2013-10-16  Glenn Morris  <rgm@gnu.org>
14050         * ansi-color.el (ansi-color-drop-regexp):
14051         Add 1J, 1K, 2K.  (Bug#15617)
14053         * files.el (hack-local-variables--warned-lexical): New.
14054         (hack-local-variables):
14055         Warn about misplaced lexical-binding.  (Bug#15616)
14057         * net/eww.el (eww-render): Always set eww-current-url,
14058         and update header line.  (Bug#15622)
14059         (eww-display-html): ... Rather than just doing it here.
14061 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
14063         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
14064         menu navigations commands.
14066 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
14068         * progmodes/subword.el (subword-capitalize): Be careful when
14069         the search for [[:alpha:]] fails (bug#15580).
14071 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
14073         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
14074         to commands that scroll the menu.
14076 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
14078         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
14079         Handle methods ending with `?' and `!'.
14081 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
14083         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
14084         `japanese-cp932' to `cp932' to fix the problem where saving a
14085         source file written in Shift_JIS twice would end up having
14086         `coding: japanese-cp932' which Ruby could not recognize.
14087         (ruby-mode-set-encoding): Add support for encodings mapped to nil
14088         in `ruby-encoding-map'.
14089         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
14090         doesn't need to be explicitly declared in magic comment.
14091         (ruby-encoding-map): Add type declaration for better customize UI.
14093 2013-10-13  Glenn Morris  <rgm@gnu.org>
14095         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
14096         Occur buffers are read-only.  http://bugs.debian.org/720775
14098         * emacs-lisp/authors.el (authors-fixed-entries):
14099         Comment out old alpha stuff.
14101 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
14103         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
14104         to `after-save-hook' instead of `before-save-hook'.
14105         (ruby-mode-set-encoding): Use the value of coding system used to
14106         write the file.  Call `basic-save-buffer-1' after modifying the
14107         buffer.
14109 2013-10-13  Alan Mackenzie  <acm@muc.de>
14111         Fix indentation/fontification of Java enum with
14112         "implements"/generic.
14114         * progmodes/cc-engine.el (c-backward-over-enum-header):
14115         Extracted from the three other places and enhanced to handle generics.
14116         (c-inside-bracelist-p): Uses new function above.
14117         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
14118         function above.
14119         (c-font-lock-enum-tail): Uses new function above.
14121 2013-10-13  Kenichi Handa  <handa@gnu.org>
14123         * international/mule-cmds.el (select-safe-coding-system): Remove a
14124         superfluous condition in chekcing whether a coding system is safe
14125         or not.
14127 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
14129         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
14131 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
14133         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
14135 2013-10-13  Glenn Morris  <rgm@gnu.org>
14137         * menu-bar.el (menu-bar-update-buffers):
14138         Unify Buffers menu prompt string.  (Bug#15576)
14140         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
14142         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
14143         Add some entries.
14144         (authors-fixed-entries): Use accented form of name.
14146 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14148         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
14149         method calls (bug#15594).
14150         (ruby-smie--args-separator-p): New function.
14151         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
14152         recognize paren-free method calls.
14154         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
14155         internals of universal-argument.
14157 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
14159         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
14160         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
14161         dropped menu on second mouse click on the menu bar.
14163 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14165         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
14166         (explicit-shell-file-name): Declare.
14167         (sh--vars-before-point, sh--cmd-completion-table): New functions.
14168         (sh-completion-at-point-function): New function.
14169         (sh-mode): Use it.
14170         (sh-smie--keyword-p): Remove unused argument.
14171         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
14172         vars.
14173         (sh-set-shell): Always setup SMIE, even if we use the
14174         old indentation code.
14176 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
14178         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
14179         cases of ? and =.
14180         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
14181         predicate would return nil are almost non-existent.
14182         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
14184         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
14185         cache also after commands that modify the buffer but don't move
14186         point.
14188 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14190         * env.el (substitute-env-in-file-name): New function.
14191         (substitute-env-vars): Extend the meaning of the optional arg.
14193 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
14195         * term/w32-win.el (dynamic-library-alist): Define separate lists
14196         of GIF DLLs for versions before and after 5.0.0 of giflib.
14197         (Bug#15531)
14199 2013-10-10  João Távora  <joaotavora@gmail.com>
14201         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
14202         not locked, use last revision and current source as
14203         defaults.  (Bug#15569)
14205 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
14207         * menu-bar.el (menu-bar-open): Don't use popup-menu if
14208         menu-bar is hidden.
14210 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
14212         * window.el (pop-to-buffer-same-window): Fix doc-string.
14213         (Bug#15492)
14215 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14217         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
14219 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
14221         * calendar/icalendar.el (icalendar-import-file):
14222         Fix interactive spec.  (Bug#15482)
14224 2013-10-10  Glenn Morris  <rgm@gnu.org>
14226         * desktop.el (desktop-save): Default to saving in .emacs.d,
14227         since PWD is no longer in desktop-path by default.  (Bug#15319)
14229         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
14230         now that text mode has a menu with the same entry.
14231         (menu-bar-text-mode-auto-fill): Remove now unused func.
14232         * textmodes/text-mode.el (text-mode-map):
14233         Use auto-fill help text from menu-bar.el.
14235 2013-10-10  John Anthony  <john@jo.hnanthony.com>
14237         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
14239 2013-10-09  Juri Linkov  <juri@jurta.org>
14241         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
14242         instead of this-command-keys.  Add universal-argument-more and
14243         universal-argument-minus to the list of prefix commands.  (Bug#15568)
14245 2013-10-09  Glenn Morris  <rgm@gnu.org>
14247         * vc/vc-svn.el (vc-svn-create-repo):
14248         Expand paths in file://... url.  (Bug#15446)
14250         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
14251         Add some entries.
14252         (authors): Remove unused local variables.
14254 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14256         * profiler.el: Create a more coherent calltree from partial backtraces.
14257         (profiler-format): Hide the tail with `invisible' so that C-s can still
14258         find the hidden elements.
14259         (profiler-calltree-depth): Don't recurse so enthusiastically.
14260         (profiler-function-equal): New hash-table-test.
14261         (profiler-calltree-build-unified): New function.
14262         (profiler-calltree-build): Use it.
14263         (profiler-report-make-name-part): Indent the calltree less.
14264         (profiler-report-mode): Add visibility specs for profiler-format.
14265         (profiler-report-expand-entry, profiler-report-toggle-entry):
14266         Expand the whole subtree when provided with a prefix arg.
14268 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
14270         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
14271         iuwu-mod token.
14272         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
14273         hanging iuwu-mod token.
14274         (ruby-smie--forward-token): Do not include a dot after a token in
14275         that token.
14276         (ruby-smie--backward-token): Likewise.
14278 2013-10-08  Juri Linkov  <juri@jurta.org>
14280         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
14281         to isearch-other-control-char.
14282         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
14283         and isearch-post-command-hook to post-command-hook.
14284         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
14285         and isearch-post-command-hook from post-command-hook.
14286         (isearch-unread-key-sequence)
14287         (isearch-reread-key-sequence-naturally)
14288         (isearch-lookup-scroll-key, isearch-other-control-char)
14289         (isearch-other-meta-char): Remove functions.
14290         (isearch-pre-command-hook, isearch-post-command-hook):
14291         New functions based on isearch-other-meta-char rewritten
14292         relying on the new behavior of overriding-terminal-local-map
14293         that does not replace the local keymaps any more.  (Bug#15200)
14295 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
14297         Support menus on text-mode terminals.
14298         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
14299         functionality.
14301         * tooltip.el (tooltip-mode): Don't error out on TTYs.
14303         * menu-bar.el (popup-menu, popup-menu-normalize-position):
14304         Move here from mouse.el.
14305         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
14306         and arrow keys.
14307         (tty-menu-navigation-map): New map for TTY menu navigation.
14309         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
14311         * frame.el (display-mouse-p): Report text-mode mouse as available
14312         on w32.
14313         (display-popup-menus-p): Report availability if mouse is
14314         available; don't condition on window-system.
14316         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
14317         (tty-menu-selected-face): New faces.
14319 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14321         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
14322         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
14323         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
14324         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
14325         New constants.
14326         (lisp-mode-variables): New `elisp' argument.
14327         (emacs-lisp-mode): Use it.
14328         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
14329         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
14331         * indent.el: Use lexical-binding.
14332         (indent-region): Add progress reporter.
14333         (tab-stop-list): Make it implicitly extend to infinity by repeating the
14334         last step.
14335         (indent--next-tab-stop): New function to implement this behavior.
14336         (tab-to-tab-stop, move-to-tab-stop): Use it.
14338 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
14340         * indent.el (indent-rigidly--current-indentation): New function.
14341         (indent-rigidly-map): New var.
14342         (indent-rigidly): Use it to provide interactive mode (bug#8196).
14344 2013-10-08  Bastien Guerry  <bzg@gnu.org>
14346         * register.el (insert-register): Fix 2013-10-07 change.
14348 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14350         * progmodes/perl-mode.el: Use lexical-binding.
14351         Remove redundant :group args.
14352         (perl-nochange): Change default to be closer to other major modes's
14353         standard behavior.
14354         (perl-indent-line): Don't consider text on current line as a
14355         valid beginning of function from which to indent.
14357         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
14358         with more than one argument (bug#15538).
14360         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
14362         * vc/pcvs.el: Use lexical-binding.
14363         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
14364         environment of `eval'.
14365         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
14366         than a list of expressions.  Adjust callers.
14367         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
14369 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
14371         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
14372         case of the dot in a chained method call being on the following line.
14374 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14376         * electric.el (electric-indent-inhibit): New var.
14377         (electric-indent-post-self-insert-function): Use it.
14378         * progmodes/python.el (python-mode): Set it.
14380         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
14381         open braces.
14383         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
14385         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
14386         (css-mode): Use electric-indent-chars.
14388         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
14389         (font-lock-beg, font-lock-end): Move before first use.
14390         (nxml-mode): Use syntax-propertize-function.
14391         (nxml-after-change, nxml-after-change1): Adjust accordingly.
14392         (nxml-extend-after-change-region): Remove.
14393         * nxml/xmltok.el: Use lexical-binding.
14394         (xmltok-save): Use `declare'.
14395         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
14396         * nxml/nxml-util.el: Use lexical-binding.
14397         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
14398         Use `declare'.
14399         * nxml/nxml-ns.el: Use lexical-binding.
14400         (nxml-ns-save): Use `declare'.
14401         (nxml-ns-prefixes-for): Avoid add-to-list.
14402         * nxml/rng-match.el: Use lexical-binding.
14403         (rng--ipattern): Use cl-defstruct.
14404         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
14405         (rng-cons-group-after, rng-subst-group-after)
14406         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
14407         Use closures instead of `(lambda...).
14409 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
14411         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
14412         of BEG and END.
14414         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14415         Use `tramp-handle-insert-file-contents'.
14416         (tramp-gvfs-handle-insert-file-contents): Remove function.
14418         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14419         Use `save-restriction' in order to keep markers.
14421         * net/trampver.el: Update release number.
14423 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14425         * progmodes/compile.el (compilation-parse-errors):
14426         Use compilation--put-prop.
14427         (compilation--ensure-parse): Check compilation-multiline.
14429         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
14431         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
14432         lexical-binding.
14434         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
14436         * progmodes/ruby-mode.el: Fix recently added tests.
14437         (ruby-smie-grammar): Add - and +.
14438         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
14439         (ruby-smie--backward-id): New functions.
14440         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
14441         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
14442         any more.
14444 2013-10-07  Leo Liu  <sdl.web@gmail.com>
14446         * register.el (register-preview-delay)
14447         (register-preview-functions): New variables.
14448         (register-read-with-preview, register-preview)
14449         (register-describe-oneline): New functions.
14450         (point-to-register, window-configuration-to-register)
14451         (frame-configuration-to-register, jump-to-register)
14452         (number-to-register, view-register, insert-register)
14453         (copy-to-register, append-to-register, prepend-to-register)
14454         (copy-rectangle-to-register): Use register-read-with-preview to
14455         read register.  (Bug#15525)
14457 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
14459         * net/network-stream.el (network-stream-open-starttls): Don't add
14460         --insecure if it's already present, because that gnutls-cli
14461         rejects getting that parameter twice.
14463 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
14465         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
14466         keyword, too.
14468 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
14470         * newcomment.el (comment-use-global-state): Change default value
14471         to t, mark obsolete (Bug#15251).
14472         (comment-beginning): In addition to `comment-to-syntax', check the
14473         value of `comment-use-global-state'.
14475 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14477         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
14478         (ruby-comment-column): Follow the global default, by default.
14479         (ruby-smie-grammar): Add assignment syntax.
14480         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
14481         open-paren, a comma, or a \.
14482         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
14483         and line continuations.
14484         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
14485         followed by implicit semi-colons.  Add rule for string concatenation
14486         and for indentation at BOB.
14487         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
14489         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
14490         calling next-sexp, since next-token may have skipped chars which
14491         next-sexp doesn't know should be skipped!
14493 2013-10-05  Leo Liu  <sdl.web@gmail.com>
14495         * progmodes/octave.el (octave-send-region):
14496         Call compilation-forget-errors.
14498 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
14500         * vc/vc-svn.el (vc-svn-find-admin-dir):
14501         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
14502         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
14503         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
14504         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
14506 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14508         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
14510 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14512         * subr.el (read-passwd): Hide chars even when called within a context
14513         where after-change-functions is disabled (bug#15501).
14514         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
14515         until we removed ourself from overriding-terminal-local-map.
14517 2013-10-04  Leo Liu  <sdl.web@gmail.com>
14519         * progmodes/octave.el (inferior-octave-mode):
14520         Call compilation-forget-errors.
14522 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
14524         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
14526 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
14528         * net/secrets.el (secrets-create-collection): Add optional
14529         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
14530         dbus-call-method argument.  (Bug#15516)
14532 2013-10-04  Leo Liu  <sdl.web@gmail.com>
14534         * progmodes/octave.el (inferior-octave-error-regexp-alist)
14535         (inferior-octave-compilation-font-lock-keywords): New variables.
14536         (compilation-error-regexp-alist)
14537         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
14538         (inferior-octave-mode): Use compilation-shell-minor-mode.
14540 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
14542         * minibuffer.el (completion--replace): Be careful that `end' might be
14543         a marker.
14545 2013-10-03  Daiki Ueno  <ueno@gnu.org>
14547         Add support for package signature checking.
14548         * emacs-lisp/package.el (url-http-file-exists-p)
14549         (epg-make-context, epg-context-set-home-directory)
14550         (epg-verify-string, epg-context-result-for)
14551         (epg-signature-status, epg-signature-to-string)
14552         (epg-check-configuration, epg-configuration)
14553         (epg-import-keys-from-file): Declare.
14554         (package-check-signature): New user option.
14555         (package-unsigned-archives): New user option.
14556         (package-desc): Add `signed' field.
14557         (package-load-descriptor): Set `signed' field if .signed file exists.
14558         (package--archive-file-exists-p): New function.
14559         (package--check-signature): New function.
14560         (package-install-from-archive): Check package signature.
14561         (package--download-one-archive): Check archive signature.
14562         (package-delete): Remove .signed file.
14563         (package-import-keyring): New command.
14564         (package-refresh-contents): Import default keyring.
14565         (package-desc-status): Add "unsigned" status.
14566         (describe-package-1, package-menu--print-info)
14567         (package-menu-mark-delete, package-menu--find-upgrades)
14568         (package-menu--status-predicate): Support "unsigned" status.
14570 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14572         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
14573         the new compilation scheme using the new byte-codes.
14575         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
14576         (byte-pophandler): New byte codes.
14577         (byte-goto-ops): Adjust accordingly.
14578         (byte-compile--use-old-handlers): New var.
14579         (byte-compile-catch): Use new byte codes depending on
14580         byte-compile--use-old-handlers.
14581         (byte-compile-condition-case--old): Rename from
14582         byte-compile-condition-case.
14583         (byte-compile-condition-case--new): New function.
14584         (byte-compile-condition-case): New function that dispatches depending
14585         on byte-compile--use-old-handlers.
14586         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
14587         when we can.
14589         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
14590         Optimize under `condition-case' and `catch' if
14591         byte-compile--use-old-handlers is nil.
14592         (disassemble-offset): Handle new bytecodes.
14594 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14596         * subr.el (error): Use `declare'.
14597         (decode-char, encode-char): Use advertised-calling-convention instead
14598         of the docstring to discourage use of the `restriction' arg.
14600 2013-10-03  Daiki Ueno  <ueno@gnu.org>
14602         * epg.el (epg-verify-file): Add a comment saying that it does not
14603         notify verification error as a return value nor a signal.
14604         (epg-verify-string): Ditto.
14606 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
14608         * progmodes/compile.el (compilation-start): Try globbing the arg to
14609         `cd' (bug#15417).
14611 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
14613         Sync with Tramp 2.2.8.
14615         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
14616         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
14617         * net/trampver.el: Update release number.
14619 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
14621         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14622         and default-process-coding-system for darwin only.
14624 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14626         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
14628 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
14630         * vc/vc-git.el (vc-git-grep): Disable pager.
14632 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
14634         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
14635         Use :url instead of :homepage, as per
14636         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
14638         * newcomment.el (comment-beginning): When `comment-use-syntax' is
14639         non-nil, use `syntax-ppss' (Bug#15251).
14641 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14643         * progmodes/octave.el (inferior-octave-startup-file):
14644         Prefer ~/.emacs.d/init_octave.m.
14646 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
14648         * emacs-lisp/package.el (package-desc-from-define):
14649         Accept additional arguments as plist, convert them to an alist and store
14650         them in the `extras' slot.
14651         (package-generate-description-file): Convert extras alist back to
14652         plist and append to the `define-package' form arguments.
14653         (package--alist-to-plist): New function.
14654         (package--ac-desc): Add `extras' slot.
14655         (package--add-to-archive-contents): Check if the archive-contents
14656         vector is long enough, and if it is, pass its `extras' slot value
14657         to `package-desc-create'.
14658         (package-buffer-info): Call `lm-homepage', pass the returned value
14659         to `package-desc-from-define'.
14660         (describe-package-1): Render the homepage button (Bug#13291).
14662         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14663         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
14665 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
14667         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14668         and default-process-coding-system to utf-8-unix (Bug#15402).
14670 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
14672         * subr.el (looking-back): Do not recommend using looking-back.
14674 2013-09-28  Alan Mackenzie  <acm@muc.de>
14676         Fix indentation/fontification of Java enum with "implements".
14678         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
14679         regexp which matches "implements", etc., in Java.
14680         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
14681         specifier clauses coming after "enum".
14682         * progmodes/cc-fonts.el (c-font-lock-declarations)
14683         (c-font-lock-enum-tail): Check for extra specifier clauses coming
14684         after "enum".
14686 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
14688         * faces.el (region): Change ns_selection_color to
14689         ns_selection_fg_color, add ns_selection_bg_color.
14691 2013-09-28  Leo Liu  <sdl.web@gmail.com>
14693         * progmodes/octave.el (inferior-octave-completion-table)
14694         (inferior-octave-completion-at-point): Minor tweaks.
14696         * textmodes/ispell.el (ispell-lookup-words): Rename from
14697         lookup-words.  (Bug#15460)
14698         (lookup-words): Obsolete.
14699         (ispell-complete-word, ispell-command-loop): All uses changed.
14701 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14703         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
14704         (octave-mode-menu): Add octave-send-buffer.
14705         (octave-send-buffer): New function.
14707 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14709         * progmodes/octave.el (octave-mode-map): Add key binding for
14710         octave-lookfor.
14711         (octave-mode-menu): Add octave-lookfor.
14712         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
14713         octave-lookfor.
14714         (octave-lookfor): New function.
14716 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14718         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
14719         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
14720         its convention.
14721         (cl--loop-set-iterator-function): New function.
14722         (cl-loop): Adjust accordingly, so as not to use cl-subst.
14723         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
14724         Bind `it' with `let' instead of substituting it with `cl-subst'.
14725         (cl--unused-var-p): New function.
14726         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
14727         Eliminate some unused variable warnings (bug#15326).
14729 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
14731         * doc-view.el (doc-view-scale-reset): Rename from
14732         `doc-view-reset-zoom-level'.
14733         (doc-view-scale-adjust): New command.
14734         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
14735         `doc-view-scale-adjust'.
14737 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
14739         * doc-view.el (doc-view-reset-zoom-level): New command.
14740         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
14741         zoom commands (bug#15466).
14743 2013-09-26  Kenichi Handa  <handa@gnu.org>
14745         * international/quail.el (quail-help): Make it not a command.
14747 2013-09-26  Leo Liu  <sdl.web@gmail.com>
14749         * minibuffer.el (completion-all-sorted-completions): Make args
14750         optional as they are.
14752 2013-09-25  Daniel Colascione  <dancol@dancol.org>
14754         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
14755         specs are and that they're not evaluated.
14757 2013-09-24  Sam Steingold  <sds@gnu.org>
14759         * midnight.el (clean-buffer-list-kill-regexps)
14760         (clean-buffer-list-kill-buffer-names): Update for the new Man
14761         buffer naming which includes the object name.
14763 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14765         * eshell/esh-cmd.el (eshell--sep-terms): New var.
14766         (eshell-parse-command, eshell-parse-pipeline): Use it since
14767         eshell-separate-commands requires a dynamic scoped var.
14768         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
14770 2013-09-23  Leo Liu  <sdl.web@gmail.com>
14772         * autoinsert.el (auto-insert-alist): Make the value of
14773         lexical-binding match its file setting.
14775 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
14777         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
14779         * autoarg.el (autoarg-kp-digit-argument):
14780         * electric.el (Electric-command-loop):
14781         * kmacro.el (kmacro-step-edit-insert):
14782         Do not set universal-argument-num-events.
14784 2013-09-22  Leo Liu  <sdl.web@gmail.com>
14786         * files.el (interpreter-mode-alist): Add octave.
14788 2013-09-21  Alan Mackenzie  <acm@muc.de>
14790         C++: fontify identifier in declaration following "public:" correctly.
14791         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
14792         to match "public", etc.
14793         (c-decl-prefix-re): Add ":" into the C++ value.
14794         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
14795         bit.  Add a check for a ":" preceded by "public", etc.
14797 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
14799         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
14800         recognized by GDB 7.5 and later.
14802 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
14804         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
14806 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14808         * subr.el (internal--call-interactively): New const.
14809         (called-interactively-p): Use it (bug#3984).
14811 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
14813         * vc/pcvs.el (cvs-mode-ignore):
14814         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
14815         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
14817 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14819         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
14820         (eshell-ls-orig-insert-directory): Remove.
14821         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
14822         (eshell-ls-use-in-dired): Use advice-add/remove.
14823         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
14824         Add `orig-fun' arg for use in :around advice.
14825         Make it check (redundantly) eshell-ls-use-in-dired.
14827 2013-09-19  Glenn Morris  <rgm@gnu.org>
14829         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
14831         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
14833         * emacs-lisp/eieio.el (class-parent): Undo previous change.
14835 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
14837         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
14838         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
14839         (tramp-get-remote-python): New defuns.
14840         (tramp-get-remote-uid-with-perl)
14841         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
14842         contributed by yary <not.com@gmail.com> (tiny change).
14843         (tramp-get-remote-uid-with-python)
14844         (tramp-get-remote-gid-with-python): New defuns.  Python code
14845         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
14846         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
14848 2013-09-19  Glenn Morris  <rgm@gnu.org>
14850         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
14852         * eshell/em-unix.el (eshell-remove-entries):
14853         Rename argument to avoid name-clash with global `top-level'.
14855         * eshell/esh-proc.el (eshell-kill-process-function):
14856         Remove eshell-reset-after-proc from eshell-kill-hook if present.
14857         (eshell-reset-after-proc): Remove unused arg `proc'.
14859         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
14860         (directory-files-and-attributes): Mark unused arg.
14862         * eshell/em-unix.el (eshell-remove-entries):
14863         Remove unused arg `path'.  Update callers.
14865         * eshell/em-hist.el (eshell-hist-parse-arguments):
14866         Remove unused arg `silent'.  Update callers.
14868         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
14869         Fix (f)boundp mix-up.
14871         * eshell/em-smart.el (eshell-smart-scroll-window)
14872         (eshell-disable-after-change):
14873         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
14875 2013-09-18  Alan Mackenzie  <acm@muc.de>
14877         Fix fontification of type when followed by "const".
14878         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
14879         "known" types from fontification.
14881 2013-09-18  Glenn Morris  <rgm@gnu.org>
14883         * emacs-lisp/chart.el (x-display-color-cells): Declare.
14884         (chart-face-list): Drop Emacsen without display-color-p.
14886         * net/eww.el (libxml-parse-html-region): Declare.
14887         (eww-display-html): Explicit error if no libxml2 support.
14889         * doc-view.el (doc-view-mode): Silence --without-x compilation.
14891         * image.el (image-type-from-buffer, image-multi-frame-p):
14892         Remove --without-x warning/error.
14894         * mouse.el (mouse-yank-primary):
14895         * term.el (term-mouse-paste):
14896         Reorder to silence --without-x compilation.
14898         * mpc.el (doc-view-mode): Silence --without-x compilation.
14900         * mail/rmailmm.el (rmail-mime-set-bulk-data):
14901         Silence --without-x compilation.
14903         * progmodes/gud.el (gud-find-file, gud-mode):
14904         Silence --without-x compilation.
14905         (tooltip-mode): Declare.
14907         * wdired.el (dired-backup-overwrite): Remove declaration.
14908         (wdired-mode-map): Add doc string.
14910         * custom.el (x-get-resource): Declare.
14912         * eshell/em-glob.el (ange-cache):
14913         * eshell/em-unix.el (ange-cache): Declare.
14915         * faces.el (x-display-list, x-open-connection, x-get-resource):
14916         Declare.
14918         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
14919         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
14920         Declare.
14922         * frame.el (x-display-grayscale-p, x-display-name): Declare.
14924         * net/gnutls.el (gnutls-log-level): Declare.
14926         * net/shr.el (image-size, image-animate): Declare.
14928         * simple.el (font-info): Declare.
14930         * subr.el (x-popup-dialog): Declare.
14932         * term/common-win.el (x-select-enable-primary)
14933         (x-last-selected-text-primary, x-last-selected-text-clipboard):
14934         Declare.
14936         * term/ns-win.el (x-handle-args): Declare.
14938         * term/x-win.el (x-select-enable-clipboard): Declare.
14940         * term/w32-win.el (create-default-fontset): Declare.
14942         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
14943         Declare.
14945         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
14946         (fit-frame-to-buffer): Explicit error if --without-x.
14947         (mouse-autoselect-window-select): Silence compiler.
14949         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14951         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
14952         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
14953         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
14954         * eshell/esh-util.el (eshell-sublist):
14955         Remove unused local variables.
14957         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
14959         * textmodes/two-column.el: Make 2C-split work for --without-x.
14960         (scroll-bar-columns): Autoload.
14961         (top-level): Require fringe when compiling.
14963 2013-09-18  Leo Liu  <sdl.web@gmail.com>
14965         * subr.el (add-hook): Robustify to handle closure as well.
14967 2013-09-17  Glenn Morris  <rgm@gnu.org>
14969         * simple.el (messages-buffer-mode-map): Unbind "g".
14971 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14973         * help-mode.el (help-mode-finish): Use derived-mode-p.
14974         Remove obsolete highlighting.
14976         * play/life.el (life-mode): Use define-derived-mode.  Derive from
14977         special-mode.
14978         (life): Let-bind inhibit-read-only.
14979         (life-setup): Avoid `setq'.  Use `life-mode'.
14981         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
14982         which should not be needed any more.
14983         (package-menu-refresh, package-menu-describe-package): Use user-error.
14985         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
14986         (eshell-post-rewrite-command-hook): Make obsolete.
14987         (eshell-parse-command): Simplify.
14988         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
14989         (eshell--cmd): Declare.
14990         (eshell-parse-pipeline): Remove unused var `final-p'.
14991         Pass a dynvar to eshell-post-rewrite-command-hook.
14992         Implement the new eshell-post-rewrite-command-function.
14993         (eshell-invoke-directly): Remove unused arg `input'.
14994         * eshell/esh-io.el (eshell-io-initialize):
14995         Use eshell-post-rewrite-command-function (bug#15399).
14996         (eshell--apply-redirections): Rename from eshell-apply-redirections;
14997         adjust to new calling convention.
14998         (eshell-create-handles): Rename args to avoid clashing with dynvar
14999         `standard-output'.
15001 2013-09-17  Glenn Morris  <rgm@gnu.org>
15003         * simple.el (messages-buffer-mode): New major mode.
15004         (messages-buffer): New function.
15005         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
15006         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
15007         (ert-run-test): Use `messages-buffer' function.
15008         (ert--force-message-log-buffer-truncation): Ignore read-only.
15009         * help.el (view-echo-area-messages): Use `messages-buffer' function.
15010         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
15012 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15014         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
15016         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
15018 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15020         * icomplete.el (icomplete-in-buffer): New var.
15021         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
15022         vars and replace them with functions.
15023         (icomplete-minibuffer-setup): Adjust accordingly.
15024         (icomplete--completion-table, icomplete--completion-predicate)
15025         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
15026         New functions.
15027         (icomplete-forward-completions, icomplete-backward-completions)
15028         (icomplete-simple-completing-p, icomplete-exhibit)
15029         (icomplete-completions): Use them.
15030         (icomplete--in-region-buffer): New var.
15031         (icomplete--in-region-setup): New function.
15032         (icomplete-mode): Use it.
15034         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
15035         (bug#15379).
15036         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
15037         return args and options.
15038         (eshell-eval-using-options): Use the new return value of
15039         eshell--do-opts to set the options's vars in their scope.
15040         (eshell--set-option): Rename from eshell-set-option.
15041         Add arg `opt-vals'.
15042         (eshell--process-option): Rename from eshell-process-option.
15043         Add arg `opt-vals'.
15044         (eshell--process-args): Use an `opt-vals' alist to store the options's
15045         values during their processing and return them additionally to the
15046         remaining args.
15048 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
15050         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
15051         continuation character an operator, as far as indentation is
15052         concerned (Bug#15369).
15054 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
15056         * window.el (window--state-put-2): Don't process buffer state
15057         when buffer doesn't exist any more (Bug#15382).
15059 2013-09-15  Glenn Morris  <rgm@gnu.org>
15061         * eshell/em-unix.el (eshell/rm):
15062         Make -f ignore missing files.  (Bug#15373)
15064         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
15065         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
15066         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
15068 2013-09-14  Glenn Morris  <rgm@gnu.org>
15070         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
15072 2013-09-13  Glenn Morris  <rgm@gnu.org>
15074         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
15075         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
15077 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
15079         * frame.el (x-focus-frame): Mark as declared in frame.c.
15081 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15083         * ls-lisp.el: Use advice-add.
15084         (original-insert-directory): Remove.
15085         (ls-lisp--insert-directory): Rename from insert-directory; add
15086         `orig-fun' argument.
15087         (insert-directory): Advise.
15089 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
15091         * term.el (term-emulate-terminal): Decode the command string
15092         before passing it to term-command-hook.  (Bug#15337)
15094 2013-09-13  Glenn Morris  <rgm@gnu.org>
15096         * eshell/esh-util.el (ange-cache): Move declaration earlier.
15098         * eshell/esh-ext.el (eshell-search-path): Declare.
15100         * eshell/em-prompt.el (eshell/pwd): Autoload it.
15101         Otherwise an error occurs if eshell-dirs module not loaded.
15103         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
15105 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
15107         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
15108         `tramp-check-proper-host'.  Check for a valid method name.
15110         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15111         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15112         * net/tramp-sh.el (tramp-maybe-open-connection):
15113         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
15115         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
15116         also for hash values.
15118 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15120         * term/ns-win.el (parameters): Don't declare as dynamic.
15121         (before-make-frame-hook): Don't add ineffective function.
15123         * eshell/*.el: Use lexical-binding (bug#15231).
15125 2013-09-12  Kenichi Handa  <handa@gnu.org>
15127         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
15129 2013-09-12  Glenn Morris  <rgm@gnu.org>
15131         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
15132         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
15134         * subr.el (do-after-load-evaluation): Also give compiler warnings
15135         when obsolete files are used (except by obsolete files).
15137         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
15138         in the status output, assume `filename' is the first.  (Bug#15322)
15140         * vc/vc.el (vc-deduce-fileset): Doc fix.
15142         * calc/calc-help.el (Info-goto-node):
15143         * progmodes/cperl-mode.el (Info-find-node):
15144         * vc/ediff.el (Info-goto-node): Update declarations.
15146         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
15148         * vc/vc-bzr.el (vc-compilation-mode): Declare.
15149         (vc-bzr-pull): Require vc-dispatcher.
15150         * vc/vc-git.el (vc-compilation-mode): Declare.
15151         (vc-git-pull): Require vc-dispatcher.
15153         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
15155         * progmodes/octave.el (help-button-action): Declare.
15157         * shell.el (shell-directory-tracker): Output error as a message
15158         rather than just returning it as a string.
15159         (shell-process-pushd): Remove useless use of message.
15161         * dframe.el (dframe-timer-fn):
15162         * files.el (dir-locals-read-from-file):
15163         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
15164         (mpc-format):
15165         * reveal.el (reveal-post-command):
15166         * saveplace.el (load-save-place-alist-from-file):
15167         * shell.el (shell-resync-dirs):
15168         * w32-common-fns.el (x-get-selection-value):
15169         * emacs-lisp/copyright.el (copyright-find-copyright):
15170         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
15171         * emulation/tpu-edt.el (tpu-copy-keyfile):
15172         * play/bubbles.el (bubbles--mark-neighbourhood):
15173         * progmodes/executable.el
15174         (executable-make-buffer-file-executable-if-script-p):
15175         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
15177 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15179         Cleanup Eshell to rely less on dynamic scoping.
15180         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
15181         last-value, and ext-command here.  Bind `args' closer to `body'.
15182         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
15183         (eshell--args): Declare new dynamic var.
15184         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
15185         last-value, and ext-command.  Pass `args' to `body'.
15186         (eshell-process-args): Bind eshell--args.
15187         (eshell-set-option): Use eshell--args.
15188         * eshell/eshell.el (eshell): Use derived-mode-p.
15189         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
15190         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
15191         (eshell-glob-function): Declare.
15192         * eshell/esh-util.el: Require cl-lib.
15193         (eshell-read-hosts-file): Avoid add-to-list.
15194         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
15195         `err'.
15196         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
15197         Declare.
15198         (eshell/diff): Remove unused var `err'.
15199         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
15200         `killflag'.
15201         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
15202         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
15203         first use.
15204         * eshell/em-glob.el (eshell-glob-matches, message-shown):
15205         Move declaration before first use.
15206         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
15207         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
15208         rely on cl-return.
15210 2013-09-12  Glenn Morris  <rgm@gnu.org>
15212         * term/ns-win.el (global-map): Remove binding for ispell-next,
15213         deleted 1999-05-29.  (Bug#15357)
15215 2013-09-11  Glenn Morris  <rgm@gnu.org>
15217         * echistory.el (electric-command-history): Remove call to deleted func.
15219         * play/landmark.el (landmark-mode): Fix typos.
15221         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
15222         Check cvs-sort-ignore-file is bound.
15224         * savehist.el: No need for cl when compiling on Emacs.
15226 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15228         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
15229         (bug#15338).
15230         (eshell-self-insert-command, eshell-send-invisible):
15231         Remove unused argument.
15232         (eshell-handle-control-codes): Remove unused var `orig'.
15233         Avoid delete-backward-char.
15235         * files.el (set-auto-mode): Simplify a bit further.
15237 2013-09-11  Glenn Morris  <rgm@gnu.org>
15239         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
15240         (set-auto-mode): Don't regexp-quote elements.
15241         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
15242         * progmodes/cc-mode.el (interpreter-mode-alist):
15243         * progmodes/ruby-mode.el (interpreter-mode-alist):
15244         Revert previous change.
15246 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15248         * play/snake.el (snake-mode):
15249         * play/mpuz.el (mpuz-mode):
15250         * play/landmark.el (lm-mode):
15251         * play/blackbox.el (blackbox-mode):
15252         * play/5x5.el (5x5-mode):
15253         * obsolete/options.el (Edit-options-mode):
15254         * net/quickurl.el (quickurl-list-mode):
15255         * net/newst-treeview.el (newsticker-treeview-mode):
15256         * mail/rmailsum.el (rmail-summary-mode):
15257         * mail/mspools.el (mspools-mode):
15258         * locate.el (locate-mode):
15259         * ibuffer.el (ibuffer-mode):
15260         * emulation/ws-mode.el (wordstar-mode):
15261         * emacs-lisp/debug.el (debugger-mode):
15262         * array.el (array-mode):
15263         * net/eudc.el (eudc-mode): Use define-derived-mode.
15264         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
15265         Move initialization into declaration.
15266         (mairix-searches-mode): Use define-derived-mode.
15267         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
15268         (eudc-edit-hotlist): Use dolist.
15269         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
15270         (Man-mode): Use define-derived-mode.
15271         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
15272         (Info-edit-mode): Use define-derived-mode.
15273         (Info-cease-edit): Use Info-mode.
15274         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
15275         into declaration.
15276         (eshell-mode): Use define-derived-mode.
15277         * chistory.el (command-history-mode-map): Rename from
15278         command-history-map.
15279         (command-history-mode): Use define-derived-mode.
15280         (Command-history-setup): Remove function.
15281         * calc/calc.el (calc-trail-mode-map): New var.
15282         (calc-trail-mode): Use define-derived-mode.
15283         (calc-trail-buffer): Set calc-main-buffer manually.
15284         * bookmark.el (bookmark-insert-annotation): New function.
15285         (bookmark-edit-annotation): Use it.
15286         (bookmark-edit-annotation-mode): Make it a proper major mode.
15287         (bookmark-send-edited-annotation): Use derived-mode-p.
15288         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
15289         closer to its ideal place.  Use \' to match EOS.
15291         * profiler.el (profiler-calltree-find): Use function-equal.
15293 2013-09-10  Glenn Morris  <rgm@gnu.org>
15295         * files.el (interpreter-mode-alist): Convert to regexps.
15296         (set-auto-mode): Adapt for this.  (Bug#15306)
15297         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
15298         Comment out unused variable.
15299         * progmodes/cc-mode.el (interpreter-mode-alist):
15300         * progmodes/python.el (interpreter-mode-alist):
15301         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
15302         * progmodes/sh-script.el (sh-set-shell):
15303         No longer use interpreter-mode-alist to get list of shells.
15305         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
15307 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15309         * simple.el: Use set-temporary-overlay-map for universal-argument.
15310         (universal-argument-map): Don't use default-bindings (bug#15317).
15311         Bind switch-frame explicitly.  Replace universal-argument-minus with
15312         a conditional binding.
15313         (universal-argument-num-events, saved-overriding-map): Remove.
15314         (restore-overriding-map): Remove.
15315         (universal-argument--mode): Rename from save&set-overriding-map,
15316         and rewrite.
15317         (universal-argument, universal-argument-more, negative-argument)
15318         (digit-argument): Adjust accordingly.
15319         (universal-argument-minus): Remove.
15320         (universal-argument-other-key): Remove.
15322         * subr.el (with-demoted-errors): Add `format' argument.
15324 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
15326         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
15327         `tramp-cleanup-connection'.
15329         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
15330         parameters KEEP-DEBUG and KEEP-PASSWORD.
15332         * net/tramp.el (tramp-file-name-handler):
15333         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15334         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15335         (tramp-maybe-open-connection):
15336         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15337         Use `tramp-cleanup-connection'.
15339         * net/tramp-sh.el (tramp-maybe-open-connection):
15340         Catch 'uname-changed inside the progress reporter.
15342 2013-09-10  Glenn Morris  <rgm@gnu.org>
15344         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
15346         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
15347         returns "alternate access method" in mode (eg "-rw-r--r--.").
15349 2013-09-08  Glenn Morris  <rgm@gnu.org>
15351         * saveplace.el (load-save-place-alist-from-file):
15352         Demote errors.  (Bug#15305)
15354 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
15356         Improve compatibility with older Emacsen, and XEmacs.
15358         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
15359         only if it is bound.  It isn't for XEmacs.
15360         (with-tramp-progress-reporter): Do not let-bind `result'.
15361         This yields to scoping errors in XEmacs.
15362         (tramp-handle-make-auto-save-file-name): New function, moved from
15363         tramp-sh.el.
15365         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
15366         for `make-auto-save-file-name'.
15367         (tramp-adb--gnu-switches-to-ash):
15368         Use `tramp-compat-replace-regexp-in-string'.
15370         * net/tramp-cache.el (tramp-cache-print): Call
15371         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
15373         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
15374         bound.  It isn't for XEmacs.
15376         * net/tramp-compat.el (tramp-compat-copy-file):
15377         Catch `wrong-number-of-arguments' error.
15378         (tramp-compat-replace-regexp-in-string): New defun.
15380         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
15381         for `make-auto-save-file-name'.
15382         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
15383         `copy-file'.
15384         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
15385         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
15386         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
15388         * net/tramp-gw.el (tramp-gw-open-network-stream):
15389         Use `tramp-compat-replace-regexp-in-string'.
15391         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15392         Call `tramp-handle-make-auto-save-file-name'.
15393         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
15394         (tramp-sh-file-gvfs-monitor-dir-process-filter)
15395         (tramp-sh-file-inotifywait-process-filter):
15396         Use `tramp-compat-replace-regexp-in-string'.
15397         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
15399         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
15400         for `make-auto-save-file-name'.
15401         (tramp-smb-handle-copy-directory):
15402         Call `tramp-compat-replace-regexp-in-string'.
15403         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
15404         (tramp-smb-handle-copy-file): Improve error message.
15405         (tramp-smb-handle-rename-file): Rename directly only in case
15406         `newname' does not exist yet.  This is a restriction of smbclient.
15407         (tramp-smb-maybe-open-connection): Rerun the function only when
15408         `auth-sources' is non-nil.
15410 2013-09-08  Kenichi Handa  <handa@gnu.org>
15412         * international/characters.el: Set category "^" (Combining) for
15413         more characters.
15415 2013-09-07  Alan Mackenzie  <acm@muc.de>
15417         Correctly fontify Java class constructors.
15418         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
15419         in Java Mode.
15420         (c-recognize-typeless-decls): Set the Java value to t.
15421         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15422         While handling a "(", add a check for, effectively, Java, and handle a
15423         "typeless" declaration there.
15425 2013-09-07  Roland Winkler  <winkler@gnu.org>
15427         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
15428         field subtitle for entry type book.
15430 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15432         * minibuffer.el: Make minibuffer-complete call completion-in-region
15433         rather than other way around.
15434         (completion--some, completion-pcm--find-all-completions):
15435         Don't delay signals when debugging.
15436         (minibuffer-completion-contents): Beware fields within the
15437         minibuffer contents.
15438         (completion-all-sorted-completions): Use defvar-local.
15439         (completion--do-completion, completion--cache-all-sorted-completions)
15440         (completion-all-sorted-completions, minibuffer-force-complete):
15441         Add args `beg' and `end'.
15442         (completion--in-region-1): New fun, extracted from minibuffer-complete.
15443         (minibuffer-complete): Use completion-in-region.
15444         (completion-complete-and-exit): New fun, extracted from
15445         minibuffer-complete-and-exit.
15446         (minibuffer-complete-and-exit): Use it.
15447         (completion--complete-and-exit): Rename from
15448         minibuffer--complete-and-exit.
15449         (completion-in-region--single-word): New function, extracted from
15450         minibuffer-complete-word.
15451         (minibuffer-complete-word): Use it.
15452         (display-completion-list): Make `common-substring' argument obsolete.
15453         (completion--in-region): Call completion--in-region-1 instead of
15454         minibuffer-complete.
15455         (completion-help-at-point): Pass boundaries to
15456         minibuffer-completion-help as args rather than via an overlay.
15457         (completion-pcm--string->pattern): Use `any-delim'.
15458         (completion-pcm--optimize-pattern): New function.
15459         (completion-pcm--pattern->regex): Handle `any-delim'.
15460         * icomplete.el (icomplete-forward-completions)
15461         (icomplete-backward-completions, icomplete-completions):
15462         Adjust calls to completion-all-sorted-completions and
15463         completion--cache-all-sorted-completions.
15464         (icomplete-with-completion-tables): Default to t.
15465         * emacs-lisp/crm.el (crm--current-element): Rename from
15466         crm--select-current-element.  Don't put an overlay but return the
15467         boundaries instead.
15468         (crm--completion-command): Take two new args to bind to the boundaries.
15469         (crm-completion-help): Adjust accordingly.
15470         (crm-complete): Use completion-in-region.
15471         (crm-complete-word): Use completion-in-region--single-word.
15472         (crm-complete-and-exit): Use completion-complete-and-exit.
15474 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15476         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
15477         than dynamically.
15479 2013-09-06  Juri Linkov  <juri@jurta.org>
15481         * info.el (Info-display-images-node): When image file doesn't exist
15482         display text version of the image if it's provided in the Info file.
15483         Otherwise, display the location of missing image from SRC attribute.
15484         Add help-echo text property from ALT attribute.  (Bug#15279)
15486 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15488         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
15489         (edit-abbrevs-mode): Use define-derived-mode.
15491         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
15492         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
15493         that it's defined.
15494         (epa-key-list-mode, epa-key-mode, epa-info-mode):
15495         Use define-derived-mode.
15497         * epg.el (epg-start-encrypt): Minor CSE simplification.
15499 2013-09-06  William Xu  <william.xwl@gmail.com>
15501         * arc-mode.el: Add support for 7za (bug#15264).
15502         (archive-7z-program): New var.
15503         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
15504         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
15505         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
15507 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
15509         Remove URL syntax.
15511         * net/tramp.el (tramp-syntax, tramp-prefix-format)
15512         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
15513         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
15514         (tramp-postfix-host-format, tramp-file-name-regexp)
15515         (tramp-completion-file-name-regexp)
15516         (tramp-completion-dissect-file-name)
15517         (tramp-handle-substitute-in-file-name): Remove 'url case.
15518         (tramp-file-name-regexp-url)
15519         (tramp-completion-file-name-regexp-url): Remove constants.
15521 2013-09-06  Glenn Morris  <rgm@gnu.org>
15523         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
15525 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
15527         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
15528         keywords" below "here-doc beginnings" (Bug#15270).
15530 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15532         * subr.el (pop): Use `car-safe'.
15533         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
15534         to detect unused `pop' return value.
15536         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
15537         var `block-regexp'.
15538         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
15539         (python-fill-string): Remove unused var `marker'.
15540         (python-skeleton-add-menu-items): Remove unused var `items'.
15542         * international/mule-cmds.el: Require CL.
15543         (find-coding-systems-for-charsets): Avoid add-to-list.
15544         (sanitize-coding-system-list): New function, extracted from
15545         select-safe-coding-system-interactively.
15546         (select-safe-coding-system-interactively): Use it.
15547         (read-input-method-name): Accept symbols for `default'.
15549         * emacs-lisp/advice.el (defadvice): Add indent rule.
15551 2013-09-05  Daniel Hackney  <dan@haxney.org>
15553         * dired-x.el:
15554         * net/ange-ftp.el:
15555         * net/browse-url.el:
15556         * net/dbus.el:
15557         * net/eudc.el:
15558         * net/eudcb-ldap.el:
15559         * net/eww.el:
15560         * net/imap.el:
15561         * printing.el:
15562         * vc/ediff-diff.el:
15563         * vc/ediff-init.el:
15564         * vc/ediff-merg.el:
15565         * vc/ediff-mult.el:
15566         * vc/ediff-util.el:
15567         * vc/ediff-wind.el:
15568         * vc/ediff.el:
15569         * vc/emerge.el:
15570         * vc/pcvs.el:
15571         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
15572         byte compiler.  Remove some unused let-bound variables.
15574 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15576         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
15577         a "ref-cell", since it gets better optimized (bug#14883).
15579 2013-09-05  Glenn Morris  <rgm@gnu.org>
15581         * progmodes/cc-awk.el (c-forward-sws): Declare.
15583 2013-09-04  Glenn Morris  <rgm@gnu.org>
15585         * generic-x.el [rul-generic-mode]: Require cc-mode.
15586         (c++-mode-syntax-table): Declare.
15587         (rul-generic-mode-syntax-table): Init in the defvar.
15589 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15591         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
15592         (vc-do-command, vc-set-async-update):
15593         * vc/vc-mtn.el (vc-mtn-dir-status):
15594         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
15595         (vc-hg-pull, vc-hg-merge-branch):
15596         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
15597         (vc-git-merge-branch):
15598         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
15599         (vc-cvs-dir-status-files):
15600         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
15601         (vc-bzr-dir-status-files):
15602         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
15603         * vc/vc-annotate.el: Use lexical-binding.
15604         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
15605         (vc-sentinel-movepoint): Declare.
15606         (vc-annotate): Don't use `goto-line'.
15607         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
15608         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
15609         (vc-sentinel-movepoint): Declare.
15610         * vc/vc-svn.el: Use lexical-binding.
15611         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
15612         * vc/vc-sccs.el:
15613         * vc/vc-rcs.el: Use lexical-binding.
15615         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
15616         `deleted'.  Don't drop errors silently.
15618         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
15620 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
15622         * vc/vc.el (vc-ignore): Rewrite.
15623         (vc-default-ignore): New function.
15624         (vc-default-ignore-completion-table): Use find-ignore-file.
15626         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
15627         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
15628         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
15629         Remove.  Most code moved to vc.el.
15631 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15633         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
15634         * net/tramp-smb.el (tramp-smb-get-file-entries):
15635         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
15636         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
15638         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
15639         Update call to it.
15640         (eww-change-select): Remove unused var `properties'.
15641         (eww-make-unique-file-name): Remove unused var `base'.
15643         * finder.el (finder-compile-keywords): Don't mess with windows.
15645         * calculator.el (calculator-funcall): Fix typo in last change.
15647         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
15649         * emacs-lisp/package.el (package-activate-1): Don't let a missing
15650         <pkg>-autoloads.el file stop us.
15652         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
15653         warnings, and factor out common code.
15655 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
15657         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
15658         two-character operators and whether the character preceding them
15659         changes their meaning (Bug#15208).
15661 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15663         Format code sent to Python shell for robustness.
15664         * progmodes/python.el (python-shell-buffer-substring):
15665         New function.
15666         (python-shell-send-region, python-shell-send-buffer): Use it.
15668 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
15670         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
15671         * net/tramp.el (tramp-user-error): ... here.
15672         (tramp-find-method, tramp-check-proper-host)
15673         (tramp-dissect-file-name, tramp-debug-message)
15674         (tramp-handle-shell-command):
15675         * net/tramp-adb.el (tramp-adb-handle-shell-command):
15676         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
15678         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
15680 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
15682         * avoid.el (mouse-avoidance-point-position)
15683         (mouse-avoidance-too-close-p): Handle case where posn-at-point
15684         returns nil.
15686 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15688         * progmodes/python.el (python-shell-completion-get-completions):
15689         Drop use of deleted `comint-last-prompt-overlay'.
15690         (python-nav-if-name-main): New command.
15692 2013-09-01  Glenn Morris  <rgm@gnu.org>
15694         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
15695         Avoid leading space in $wins.  Otherwise the sed command used by
15696         eg compile-main ends up containing "/*.el".  (Bug#15170)
15698         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
15700 2013-08-30  Glenn Morris  <rgm@gnu.org>
15702         * emacs-lisp/bytecomp.el (byte-recompile-directory):
15703         Fix is-this-a-directory logic.  (Bug#15220)
15705 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15707         * textmodes/css-mode.el: Use SMIE.
15708         (css-smie-grammar): New var.
15709         (css-smie--forward-token, css-smie--backward-token)
15710         (css-smie-rules): New functions.
15711         (css-mode): Use them.
15712         (css-navigation-syntax-table): Remove var.
15713         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
15714         (css-indent-calculate, css-indent-line): Remove functions.
15716         Misc changes to reduce use of `(lambda...); and other cleanups.
15717         * cus-edit.el: Use lexical-binding.
15718         (customize-push-and-save, customize-apropos)
15719         (custom-buffer-create-internal): Use closures.
15720         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
15721         * progmodes/ada-xref.el: Use setq.
15722         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
15723         * dframe.el: Use lexical-binding.
15724         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
15725         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
15726         * descr-text.el: Use lexical-binding.
15727         (describe-text-widget, describe-text-sexp, describe-property-list):
15728         Use closures.
15729         * comint.el (comint-history-isearch-push-state): Use a closure.
15730         * calculator.el: Use lexical-binding.
15731         (calculator-number-to-string): Make it work with lexical-binding.
15732         (calculator-funcall): Same and use cl-letf.
15734         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
15735         (lisp--company-doc-string, lisp--company-location): New functions.
15736         (lisp-completion-at-point): Use them to improve Company support.
15738         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
15739         params of lambda expressions.
15740         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
15741         (ruby-smie--opening-pipe-p): New function.
15742         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
15743         symbols and matched |...| for formal params.
15744         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
15745         from being treated as hanging.  Handle "rescue".
15747 2013-08-29  Glenn Morris  <rgm@gnu.org>
15749         * progmodes/cc-engine.el (c-pull-open-brace):
15750         Move definition before use.
15752 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15754         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
15755         are immutable.  Don't use `unsafe' any more.
15756         (cl--defsubst-expand): Don't substitute at the same time as keeping
15757         a residual unused let-binding.  Don't use `unsafe' any more.
15759 2013-08-29  Glenn Morris  <rgm@gnu.org>
15761         * calendar/cal-china.el (calendar-chinese-year-cache):
15762         Recenter on 2015.
15764         * nxml/nxml-util.el (nxml-debug-clear-inside):
15765         Use cl-loop rather than loop.
15767         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
15769         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
15771 2013-08-28  Glenn Morris  <rgm@gnu.org>
15773         * progmodes/antlr-mode.el: No need to require cc-mode twice.
15775         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
15777         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
15779 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15781         * simple.el (repeat-complex-command--called-interactively-skip):
15782         New function.
15783         (repeat-complex-command): Use it (bug#14136).
15785         * progmodes/cc-mode.el: Minor cleanup of var declarations.
15786         (c-define-abbrev-table): Add `doc' argument.
15787         (c-mode-abbrev-table, c++-mode-abbrev-table)
15788         (objc-mode-abbrev-table, java-mode-abbrev-table)
15789         (idl-mode-abbrev-table, pike-mode-abbrev-table)
15790         (awk-mode-abbrev-table): Use it.
15791         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
15792         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
15793         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
15794         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
15795         Move initialization into the declaration; and remove any
15796         autoload cookie.
15798         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
15799         and dynamic let binding.
15801         * vc/smerge-mode.el: Remove redundant :group args.
15803         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
15804         to load-path.
15806 2013-08-28  Juri Linkov  <juri@jurta.org>
15808         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
15809         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
15810         (isearch-other-meta-char): Handle an undefined shifted printing
15811         character by downshifting it.  (Bug#15200)
15813 2013-08-28  Juri Linkov  <juri@jurta.org>
15815         * isearch.el (isearch-search): Change regexp error message for
15816         non-regexp searches.  (Bug#15166)
15818 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
15820         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
15821         for portability to hosts where /bin/sh has problems.
15823 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15825         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
15827 2013-08-27  Juri Linkov  <juri@jurta.org>
15829         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
15830         in the keyboard macro.  (Bug#15126)
15832 2013-08-27  Juri Linkov  <juri@jurta.org>
15834         * isearch.el (isearch-quote-char): Comment out converting unibyte
15835         to multibyte, thus syncing with its `quoted-insert' counterpart.
15836         (Bug#15166)
15838 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
15840         * window.el (display-buffer-use-some-window): Add missing
15841         argument in call of get-largest-window (Bug#15185).
15842         Reported by Stephen Leake.
15844 2013-08-27  Glenn Morris  <rgm@gnu.org>
15846         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
15848 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15850         * progmodes/python.el (python-font-lock-keywords): Don't return nil
15851         from a matcher-function unless there's no more matches (bug#15161).
15853 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
15855         * minibuffer.el: Revert change from 2013-08-20.
15857         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
15858         with text property `tramp-default', if appropriate.
15859         (tramp-check-proper-host): New defun.
15860         (tramp-dissect-file-name): Do not check hostname.  Revert change
15861         of 2013-03-18.
15862         (tramp-backtrace): Make VEC-OR-PROC optional.
15864         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15865         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15866         * net/tramp-sh.el (tramp-maybe-open-connection):
15867         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15868         Apply `tramp-check-proper-host'.
15870 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
15872         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
15873         lambda expression in order to have `describe-variable' display it.
15875 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
15877         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
15878         BUF can be optional.  (Bug#15186)
15880 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
15882         * progmodes/flymake.el (flymake-get-real-file-name-function):
15883         Fix broken customization.  (Bug#15184)
15885 2013-08-25  Alan Mackenzie  <acm@muc.de>
15887         Improve indentation of bracelists defined by macros (without "=").
15889         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
15890         expansion begins with "{", regard it as bracelist when it doesn't
15891         contain a ";".
15893         Parse C++ inher-intro when there's a template split over 2 lines.
15895         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
15896         rigorously the search for "class" etc. followed by ":".
15898         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
15899         random languages a regexp which never matches rather than nil.
15901         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
15903         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
15904         (c-awk-regexp-one-line-possibly-open-char-list-re)
15905         (c-awk-one-line-possibly-open-regexp-re)
15906         (c-awk-one-line-non-syn-ws*-re): Remove.
15907         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
15908         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
15909         (c-awk-space*-unclosed-regexp-/-re): New constants.
15910         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
15911         aren't regexp delimiters.
15913         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
15914         handling for a rare situation in AWK Mode involving unterminated
15915         strings/regexps.
15917 2013-08-23  Glenn Morris  <rgm@gnu.org>
15919         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
15921         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
15923         * files.el (create-file-buffer): If the result would begin with
15924         spaces, prepend a "|" instead of removing them.  (Bug#15162)
15926 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15928         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
15929         text-properties (bug#15155).
15931         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
15932         exist any more.
15933         (calc-keypad-redraw): Remove unused var `pad'.
15934         (calc-keypad-press): Remove unused var `menu'.
15936 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
15938         * window.el (display-buffer-pop-up-frame):
15939         Call pop-up-frame-function with BUFFER current so `make-frame' will
15940         use it as the new frame's buffer (Bug#15133).
15942 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15944         * calendar/timeclock.el: Minor cleanups.
15945         (timeclock-ask-before-exiting, timeclock-use-display-time):
15946         Use `symbol'.
15947         (timeclock-modeline-display): Define as alias before the
15948         actual definition.
15949         (timeclock-mode-line-display): Use define-minor-mode.
15950         (timeclock-day-list-template): Make it a function, add an argument.
15951         (timeclock-day-list-required, timeclock-day-list-length)
15952         (timeclock-day-list-debt, timeclock-day-list-span)
15953         (timeclock-day-list-break): Adjust calls accordingly.
15955 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15957         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
15958         Use read--expression so that completion works again.
15960 2013-08-21  Sam Steingold  <sds@gnu.org>
15962         Add rudimentary inferior shell interaction
15963         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
15964         (sh-set-shell): Reset it.
15965         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
15966         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
15968 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15970         * align.el: Use lexical-binding.
15971         (align-region): Simplify accordingly.
15973 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
15975         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
15977         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
15978         `non-essential' up.
15980 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
15982         * net/tramp.el:
15983         * net/tramp-adb.el:
15984         * net/tramp-cmds.el:
15985         * net/tramp-ftp.el:
15986         * net/tramp-gvfs.el:
15987         * net/tramp-gw.el:
15988         * net/tramp-sh.el: Don't wrap external variable declarations by
15989         `eval-when-compile'.
15991 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15993         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
15994         now that Emacs supports ImageMagick animations.
15996 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
15998         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
15999         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
16001 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
16003         * window.el (mouse-autoselect-window-select): Do autoselect when
16004         mouse pointer is on margin.
16006 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
16008         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
16010 2013-08-16  Glenn Morris  <rgm@gnu.org>
16012         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
16013         Handle "Remote Directory" response of some clients.  (Bug#15058)
16015         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
16016         Tweak warning.  (Bug#14926)
16018         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
16019         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
16021         * image-mode.el (image-mode-map): Add menu items to reverse,
16022         increase, decrease, reset animation speed.
16023         (image--set-speed, image-increase-speed, image-decrease-speed)
16024         (image-reverse-speed, image-reset-speed): New functions.
16025         (image-mode-map): Add bindings for speed commands.
16027         * image.el (image-animate-get-speed, image-animate-set-speed):
16028         New functions.
16029         (image-animate-timeout): Respect image :speed property.
16031 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16033         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
16034         previous line (bug#15101).
16035         (debugger-eval-expression, debugger-record-expression):
16036         Use read--expression (bug#15102).
16038 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
16040         Remove byte compiler warnings, visible when compiling with
16041         `byte-compile-force-lexical-warnings' set to t.
16043         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
16044         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
16045         (tramp-handle-unhandled-file-name-directory)
16046         (tramp-handle-file-notify-add-watch, tramp-action-login)
16047         (tramp-action-succeed, tramp-action-permission-denied)
16048         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
16049         arguments with "_".
16051         * net/tramp-adb.el (tramp-adb-parse-device-names)
16052         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
16053         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
16054         (tramp-adb-handle-file-truename): Remove unused arguments.
16056         * net/tramp-cache.el (tramp-flush-directory-property)
16057         (tramp-flush-connection-property, tramp-list-connections)
16058         (tramp-parse-connection-properties): Prefix unused arguments with "_".
16060         * net/tramp-compat.el (tramp-compat-make-temp-file):
16061         Rename FILENAME to F.
16063         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16064         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
16065         (tramp-zeroconf-parse-workstation-device-names)
16066         (tramp-zeroconf-parse-webdav-device-names)
16067         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
16069         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16070         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
16072         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
16073         arguments.
16074         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
16075         (tramp-sh-handle-insert-file-contents-literally)
16076         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
16077         with "_".
16078         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
16079         Remove unused variables.
16081         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16082         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
16083         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
16085         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
16086         Make them a defconst.
16087         (tramp-uuencode-region): Remove unused variable.
16089 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
16091         * frameset.el (frameset--prop-setter): New function.
16092         (frameset-prop): Add gv-setter declaration.
16093         (frameset-filter-minibuffer): Deal with the case that the minibuffer
16094         parameter was already set in FILTERED.  Doc fix.
16095         (frameset--record-minibuffer-relationships): Allow saving a
16096         minibufferless frame without its corresponding minibuffer frame.
16097         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
16098         frame, if the frame id matches.
16099         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
16100         frames before orphaned ones.
16101         (frameset-restore): Warn about orphaned windows, instead of error out.
16103 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
16105         * window.el (window-make-atom): Don't overwrite parameter
16106         already present.
16107         (display-buffer-in-atom-window): Handle special case where we
16108         split an already atomic window.
16109         (window--major-non-side-window, display-buffer-in-side-window)
16110         (window--side-check): Ignore minibuffer window when walking
16111         window tree.
16112         (window-deletable-p): Return 'frame only if no other frame uses
16113         our minibuffer window.
16114         (record-window-buffer): Run buffer-list-update-hook.
16115         (split-window): Make sure window--check-frame won't destroy an
16116         existing atomic window in case the new window gets nested
16117         inside.
16118         (display-buffer-at-bottom): Ignore minibuffer window when
16119         walking window tree.  Don't split a side window.
16120         (pop-to-buffer): Don't set-buffer here, the select-window call
16121         should do that.
16122         (mouse-autoselect-window-select): Autoselect only if we are in the
16123         text portion of the window.
16125 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16127         * net/shr.el (shr-parse-image-data): New function to grab both the
16128         data itself and the Content-Type.
16129         (shr-put-image): Use it.
16131         * net/eww.el (eww-display-image): Ditto.
16133         * image.el (image-content-type-suffixes): New variable.
16135 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16137         * progmodes/python.el (python-imenu--build-tree)
16138         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
16140 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
16142         * simple.el (backward-word): Mention the optional argument.
16144 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16146         * frameset.el (frameset--make): Rename constructor from make-frameset.
16147         (frameset-p, frameset-valid-p): Don't autoload.
16148         (frameset-valid-p): Use normal accessors.
16150 2013-08-13  Glenn Morris  <rgm@gnu.org>
16152         * progmodes/compile.el (compile-command): Tweak example in doc.
16153         * obsolete/scribe.el (scribe-mode):
16154         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
16156         * mail/feedmail.el (feedmail-confirm-outgoing)
16157         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
16159         * cus-start.el (truncate-partial-width-windows): Fix type.
16161         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
16163         * net/shr.el (shr-table-horizontal-line): Fix custom type.
16165 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16167         * emacs-lisp/timer.el (timer--time-setter): New function.
16168         (timer--time): Use it as gv-setter.
16170         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
16171         setter is not a symbol.
16173 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
16175         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
16176         if sending fails.  This makes debugging easier.
16178 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
16180         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
16181         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
16182         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
16184 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
16186         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
16188 2013-08-12  Glenn Morris  <rgm@gnu.org>
16190         * format.el (format-annotate-function):
16191         Handle read-only text properties in the source.  (Bug#14887)
16193 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16195         * net/eww.el (eww-display-html): Ignore coding system errors.
16196         One web site uses "utf-8lias" as the coding system.
16198 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
16200         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
16202 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
16204         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
16205         (tutorial--detailed-help): Remove unused local variables.
16206         (tutorial--save-tutorial-to): Use ignore-errors.
16207         (help-with-tutorial): Use looking-at-p.
16209         * view.el (view-buffer-other-window, view-buffer-other-frame):
16210         Mark unused arguments.
16212         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
16213         (woman-select-symbol-fonts, woman, woman-find-file)
16214         (woman-insert-file-contents, woman-non-underline-faces):
16215         Use string-match-p.
16216         (woman1-unquote): Move declaration.
16218         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
16219         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
16220         argument.  Remove unused local variable.
16221         (xml-parse-elem-type): Use string-match-p.
16222         (xml-substitute-numeric-entities): Use ignore-errors.
16224         * calculator.el (calculator): Mark unused argument.
16225         (calculator-paste, calculator-quit, calculator-integer-p):
16226         Use ignore-errors.
16227         (calculator-string-to-number, calculator-decimal, calculator-exp)
16228         (calculator-op-or-exp): Use string-match-p.
16230         * dired.el (dired-buffer-more-recently-used-p): Declare.
16231         (dired-insert-set-properties, dired-insert-old-subdirs):
16232         Use ignore-errors.
16234         * dired-aux.el (dired-compress): Use ignore-errors.
16235         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
16236         (dired-do-async-shell-command, dired-do-shell-command)
16237         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
16238         (dired-insert-subdir-validate): Use string-match-p.
16239         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
16240         (dired-add-entry): Use string-match-p, looking-at-p.
16241         (dired-insert-subdir-newpos): Remove unused local variable.
16243         * filenotify.el (file-notify-callback): Remove unused local variable.
16245         * filesets.el (filesets-error): Mark unused argument.
16246         (filesets-which-command-p, filesets-filter-dir-names)
16247         (filesets-directory-files, filesets-get-external-viewer)
16248         (filesets-ingroup-get-data): Use string-match-p.
16250         * find-file.el (ff-other-file-name, ff-other-file-name)
16251         (ff-find-the-other-file, ff-cc-hh-converter):
16252         Remove unused local variables.
16253         (ff-get-file-name): Use string-match-p.
16254         (ff-all-dirs-under): Use ignore-errors.
16256         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
16257         (follow-select-if-visible): Remove unused local variable.
16259         * forms.el (read-file-filter): Move declaration.
16260         (forms--make-format, forms--make-parser, forms-insert-record):
16261         Quote function with #'.
16262         (forms--update): Use string-match-p.  Quote function with #'.
16264         * help-mode.el (help-dir-local-var-def): Mark unused argument.
16265         (help-make-xrefs): Use looking-at-p.
16266         (help-xref-on-pp): Use looking-at-p, ignore-errors.
16268         * ibuffer.el (ibuffer-ext-visible-p): Declare.
16269         (ibuffer-confirm-operation-on): Use string-match-p.
16271         * msb.el (msb-item-handler, msb-dired-item-handler):
16272         Mark unused arguments.
16274         * ses.el (ses-decode-cell-symbol)
16275         (ses-kill-override): Remove unused local variable.
16276         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
16277         (ses-load): Use ignore-errors, looking-at-p.
16278         (ses-jump-safe): Use ignore-errors.
16279         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
16281         * tabify.el (untabify, tabify): Mark unused arguments.
16283         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
16284         Mark unused argument.
16285         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
16286         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
16288         * emacs-lisp/timer.el (timer--time): Define setter with
16289         gv-define-setter to avoid deprecation warning.
16291         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
16292         (*record-cmpl-statistics-p*): Remove (was commented out).
16293         (cmpl-statistics-block): Remove (body was commented out).
16294         All callers changed.
16295         (add-completions-from-buffer, load-completions-from-file):
16296         Remove unused variables.
16298 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
16300         * filecache.el (file-cache-delete-file-list):
16301         Print message only when told so.
16302         (file-cache-files-matching): Use #' in mapconcat argument.
16304         * ffap.el (ffap-url-at-point): Fix reference to variable
16305         thing-at-point-default-mail-uri-scheme.
16307 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16309         * subr.el (define-error): New function.
16310         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
16311         error-file-not-found and define with define-error.
16312         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
16313         and define with define-error.
16314         * userlock.el (file-locked, file-supersession):
16315         * simple.el (mark-inactive):
16316         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
16317         * progmodes/ada-mode.el (ada-mode-errors):
16318         * play/life.el (life-extinct):
16319         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
16320         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
16321         * nxml/rng-util.el (rng-error):
16322         * nxml/rng-uri.el (rng-uri-error):
16323         * nxml/rng-match.el (rng-compile-error):
16324         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
16325         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
16326         * nxml/nxml-rap.el (nxml-scan-error):
16327         * nxml/nxml-outln.el (nxml-outline-error):
16328         * net/soap-client.el (soap-error):
16329         * net/gnutls.el (gnutls-error):
16330         * net/ange-ftp.el (ftp-error):
16331         * mpc.el (mpc-proc-error):
16332         * json.el (json-error, json-readtable-error, json-unknown-keyword)
16333         (json-number-format, json-string-escape, json-string-format)
16334         (json-key-format, json-object-format):
16335         * jka-compr.el (compression-error):
16336         * international/quail.el (quail-error):
16337         * international/kkc.el (kkc-error):
16338         * emacs-lisp/ert.el (ert-test-failed):
16339         * calc/calc.el (calc-error, inexact-result, math-overflow)
16340         (math-underflow):
16341         * bookmark.el (bookmark-error-no-filename):
16342         * epg.el (epg-error): Define with define-error.
16344         * time.el (display-time-event-handler)
16345         (display-time-next-load-average): Don't call sit-for since it seems
16346         unnecessary (bug#15045).
16348         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
16349         Use #' instead of ' to quote functions.
16350         (checkdoc-output-mode): Use setq-local.
16351         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
16352         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
16353         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
16354         (checkdoc-ispell, checkdoc-ispell-current-buffer)
16355         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
16356         (checkdoc-ispell-message-text, checkdoc-ispell-start)
16357         (checkdoc-ispell-continue, checkdoc-ispell-comments)
16358         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
16360         * ido.el (ido-completion-help): Fix up compiler warning.
16362 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
16364         * frameset.el (frameset-p): Add autoload cookie.
16365         (frameset--jump-to-register): New function, based on code moved from
16366         register.el.
16367         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
16369         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
16370         (frameset-restore, frameset-save, frameset-session-filter-alist):
16371         Remove declarations.
16372         (register-alist): Doc fix.
16373         (frameset-to-register): Move to frameset.el.
16374         (jump-to-register, describe-register-1): Remove frameset-specific code.
16376 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
16378         * allout-widgets.el (allout-widgets-pre-command-business)
16379         (allout-widgets-post-command-business)
16380         (allout-widgets-after-change-handler)
16381         (allout-decorate-item-and-context, allout-set-boundary-marker)
16382         (allout-body-modification-handler)
16383         (allout-graphics-modification-handler): Mark ignored arguments.
16384         (allout-widgets-post-command-business)
16385         (allout-widgets-exposure-change-processor)
16386         (allout-widgets-exposure-undo-processor)
16387         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
16388         (allout-parse-item-at-point, allout-decorate-item-guides)
16389         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
16390         * allout.el (epa-passphrase-callback-function): Declare.
16391         (allout-overlay-insert-in-front-handler)
16392         (allout-overlay-interior-modification-handler)
16393         (allout-isearch-end-handler, allout-chart-siblings)
16394         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
16395         (allout-yank-processing, allout-process-exposed)
16396         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
16397         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
16398         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
16399         (lisp-indent-defform): Mark ignored arguments.
16400         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
16401         (calculate-lisp-indent): Remove unused variables.
16402         * international/characters.el (indian-2-column, arabic-2-column)
16403         (tibetan): Mark ignored arguments.
16404         (use-cjk-char-width-table): Mark ignored arguments.
16405         Remove unused variables.
16406         * international/fontset.el (build-default-fontset-data)
16407         (x-compose-font-name, create-fontset-from-fontset-spec):
16408         Mark ignored arguments.
16409         (fontset-plain-name): Remove unused variables.
16410         * international/mule.el (charset-id, charset-bytes, generic-char-p)
16411         (keyboard-coding-system): Mark ignored arguments.
16412         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
16413         * help.el (resize-temp-buffer-window):
16414         * window.el (display-buffer-in-major-side-window)
16415         (display-buffer-in-side-window, display-buffer-in-previous-window):
16416         Remove unused variables.
16417         * isearch.el (isearch-forward-symbol):
16418         * version.el (emacs-bzr-version-bzr):
16419         * international/mule-cmds.el (current-language-environment):
16420         * term/common-win.el (x-handle-iconic, x-handle-geometry)
16421         (x-handle-display):
16422         * term/pc-win.el (x-list-fonts, x-display-planes)
16423         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
16424         (x-server-version, x-display-screens, x-display-mm-height)
16425         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
16426         (x-selection-owner-p, x-own-selection-internal)
16427         (x-disown-selection-internal, x-get-selection-internal)
16428         (msdos-initialize-window-system):
16429         * term/tty-colors.el (tty-color-alist, tty-color-clear):
16430         * term/x-win.el (x-handle-no-bitmap-icon):
16431         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
16432         (vc-default-find-file-hook, vc-default-extra-menu):
16433         Mark ignored arguments.
16435 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16437         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
16438         break-condition in the context of the debugged code (bug#12685).
16440 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
16442         * comint.el:
16443         Do not use an overlay to highlight the last prompt.  (Bug#14744)
16444         (comint-mode): Make comint-last-prompt buffer local.
16445         (comint-last-prompt): New variable.
16446         (comint-last-prompt-overlay): Remove.  Superseded by
16447         comint-last-prompt.
16448         (comint-snapshot-last-prompt, comint-output-filter):
16449         Use comint-last-prompt.
16451 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
16453         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
16454         (frameset-save): Check validity of the resulting frameset.
16456 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
16458         * ido.el (ido-record-command): Add doc string.
16460 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
16462         * frameset.el (frameset): Do not disable creation of the default
16463         frameset-p predicate.  Doc fix.
16464         (frameset-valid-p): New function, copied from the old predicate-p.
16465         Add additional checks.
16466         (frameset-restore): Check with frameset-valid-p.
16467         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
16468         (frameset-name, frameset-description, frameset-properties)
16469         (frameset-states): Add docstring.
16470         (frameset-session-filter-alist, frameset-persistent-filter-alist)
16471         (frameset-filter-alist): Doc fixes.
16473 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
16475         * frameset.el (frameset-p, frameset-prop): Doc fixes.
16477 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16479         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
16480         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
16481         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
16482         (byte-compile-normal-call): Remove obsolescence check.
16484 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
16486         * frameset.el (frameset-restore): Doc fix.
16488         * register.el (frameset-frame-id, frameset-frame-with-id)
16489         (frameset-p, frameset-restore, frameset-save): Declare.
16490         (register-alist): Document framesets.
16491         (frameset-session-filter-alist): Declare.
16492         (frameset-to-register): New function.
16493         (jump-to-register): Implement jumping to framesets.  Doc fix.
16494         (describe-register-1): Describe framesets.
16496         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
16498 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
16500         * desktop.el (desktop-save-frameset): Use new frameset-save args.
16501         Use lexical-binding.
16503         * frameset.el (frameset): Use type vector, not list (incompatible
16504         change).  Do not declare a new constructor, use the default one.
16505         Upgrade suggested properties `app', `name' and `desc' to slots `app',
16506         `name' and `description', respectively, and add read-only slot
16507         `timestamp'.  Doc fixes.
16508         (frameset-copy, frameset-persistent-filter-alist)
16509         (frameset-filter-alist, frameset-switch-to-gui-p)
16510         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
16511         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
16512         (frameset-filter-iconified, frameset-keep-original-display-p):
16513         Doc fixes.
16514         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
16515         Rename from frameset-filter-(save|restore)-param.  All callers changed.
16516         Doc fix.
16517         (frameset-p): Adapt to change to vector and be more thorough.
16518         Change arg name to OBJECT.  Doc fix.
16519         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
16520         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
16521         All callers changed.
16522         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
16523         All callers changed.
16524         (frameset--record-minibuffer-relationships): Rename from
16525         frameset--process-minibuffer-frames.  All callers changed.
16526         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
16527         Use new default constructor (again).  Doc fix.
16528         (frameset--find-frame-if): Rename from `frameset--find-frame'.
16529         All callers changed.
16530         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
16531         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
16532         Doc fix.
16533         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
16534         PARAMETERS and WINDOW-STATE, respectively.
16535         (frameset-restore): Add new keyword argument PREDICATE.
16536         Reset frameset--target-display to nil.  Doc fix.
16538 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16540         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
16541         (bat-mode): Use it.
16542         (bat-mode-syntax-table): Mark \n as end-of-comment.
16543         (bat-font-lock-keywords): Remove comment rule.
16545         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
16546         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
16548         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
16549         (byte-compile-callargs-warn): Use `push'.
16550         (byte-compile-arglist-warn): Ignore higher-order "calls".
16551         (byte-compile-file-form-autoload): Use `pcase'.
16552         (byte-compile-function-form): If quoting a symbol, check that it exists.
16554 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
16556         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
16557         and add a few popular commands found in batch files.
16558         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
16559         (dos-mode): Doc fixes.
16561 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16563         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
16564         (dos-mode): Use setq-local.  Add space after "rem".
16565         (dos-mode-syntax-table): Don't use "w" for symbol chars.
16566         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
16568 2013-08-07  Arni Magnusson  <arnima@hafro.is>
16570         * progmodes/dos.el: New file.
16571         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
16572         dos-mode.
16574 2013-08-06  Glenn Morris  <rgm@gnu.org>
16576         * calendar/calendar.el: Add new faces, and day-header-array.
16577         (calendar-weekday-header, calendar-weekend-header)
16578         (calendar-month-header): New faces.
16579         (calendar-day-header-construct): New function.
16580         (calendar-day-header-width): Also :set calendar-day-header-array.
16581         (calendar-american-month-header, calendar-european-month-header)
16582         (calendar-iso-month-header): Use calendar- faces.
16583         (calendar-generate-month):
16584         Use calendar-day-header-array for day headers; apply faces to them.
16585         (calendar-mode): Check calendar-font-lock-keywords non-nil.
16586         (calendar-abbrev-construct): Add optional maxlen argument.
16587         (calendar-day-name-array): Doc fix.
16588         (calendar-day-name-array, calendar-abbrev-length)
16589         (calendar-day-abbrev-array):
16590         Also :set calendar-day-header-array, and maybe redraw.
16591         (calendar-day-header-array): New option.  (Bug#15007)
16592         (calendar-font-lock-keywords): Set to nil and make obsolete.
16593         (calendar-day-name): Add option to use header array.
16595 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16597         * net/shr.el (shr-render-td): Remove debugging.
16598         (shr-render-td): Make width computation consistent by defaulting
16599         all zero-width columns to 10 characters.  This may not be optimal,
16600         but it's at least consistent.
16601         (shr-make-table-1): Redo last change to fix the real problem in
16602         colspan handling.
16604 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
16606         * files.el (cache-long-line-scans):
16607         Make obsolete alias to `cache-long-scans'.
16609 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
16611         * frameset.el (frameset, frameset-filter-alist)
16612         (frameset-filter-params, frameset-save, frameset--reuse-frame)
16613         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
16614         (frameset-compute-pos): Rename from frameset--compute-pos,
16615         and add docstring.
16616         (frameset-move-onscreen): Use frameset-compute-pos.
16617         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16619         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
16620         Fix typos in docstrings.
16622 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
16624         * frame.el (get-other-frame): Tiny cleanup.
16626 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
16628         * vc/vc.el (vc-default-ignore-completion-table):
16629         Silence byte-compiler warning.
16631         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
16632         slot, which can indeed be nil.
16633         (frameset-live-filter-alist, frameset-persistent-filter-alist):
16634         Move entry for `left' from persistent to live filter alist.
16635         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
16636         Doc fixes.
16637         (frameset-filter-params): When restoring a frame, copy items added to
16638         `filtered', to avoid unwittingly modifying the original parameters.
16639         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
16640         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
16642         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
16643         to use looking-at-p instead of looking-at.  (Bug#15028)
16645 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16647         Revert introduction of isearch-filter-predicates (bug#14714).
16648         Rely on add-function instead.
16649         * isearch.el (isearch-filter-predicates): Rename it back to
16650         isearch-filter-predicate.
16651         (isearch-message-prefix): Use advice-function-mapc and advice
16652         properties to get the isearch-message-prefix.
16653         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
16654         instead of run-hook-with-args-until-failure.
16655         (isearch-filter-visible): Not obsolete any more.
16656         * loadup.el: Preload nadvice.
16657         * replace.el (perform-replace): Revert to funcall
16658         instead of run-hook-with-args-until-failure.
16659         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
16660         * dired-aux.el (dired-isearch-filenames-mode): Rename from
16661         dired-isearch-filenames-toggle; make it into a proper minor mode.
16662         Use add/remove-function.
16663         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
16664         Call the minor-mode rather than add/remove-hook.
16665         (dired-isearch-filter-filenames):
16666         Remove isearch-message-prefix property.
16667         * info.el (Info--search-loop): New function, extracted from Info-search.
16668         Funcall isearch-filter-predicate instead of
16669         run-hook-with-args-until-failure isearch-filter-predicates.
16670         (Info-search): Use it.
16671         (Info-mode): Use isearch-filter-predicate instead of
16672         isearch-filter-predicates.
16674 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
16676         Do not call to `selected-window' where it is assumed by default.
16677         Affected functions are `window-minibuffer-p', `window-dedicated-p',
16678         `window-hscroll', `window-width', `window-height', `window-buffer',
16679         `window-frame', `window-start', `window-point', `next-window'
16680         and `window-display-table'.
16681         * abbrev.el (abbrev--default-expand):
16682         * bs.el (bs--show-with-configuration):
16683         * buff-menu.el (Buffer-menu-mouse-select):
16684         * calc/calc.el (calc):
16685         * calendar/calendar.el (calendar-generate-window):
16686         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
16687         (diary-make-entry):
16688         * comint.el (send-invisible, comint-dynamic-complete-filename)
16689         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
16690         * completion.el (complete):
16691         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
16692         * disp-table.el (describe-current-display-table):
16693         * doc-view.el (doc-view-insert-image):
16694         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
16695         * ehelp.el (with-electric-help):
16696         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16697         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
16698         * emacs-lisp/helper.el (Helper-help-scroller):
16699         * emulation/cua-base.el (cua--post-command-handler-1):
16700         * eshell/esh-mode.el (eshell-output-filter):
16701         * ffap.el (ffap-gnus-wrapper):
16702         * help-macro.el (make-help-screen):
16703         * hilit-chg.el (highlight-compare-buffers):
16704         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
16705         * hl-line.el (global-hl-line-highlight):
16706         * icomplete.el (icomplete-simple-completing-p):
16707         * isearch.el (isearch-done):
16708         * jit-lock.el (jit-lock-stealth-fontify):
16709         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
16710         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
16711         * mpc.el (mpc-tagbrowser, mpc):
16712         * net/rcirc.el (rcirc-any-buffer):
16713         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
16714         * play/landmark.el (landmark-max-width, landmark-max-height):
16715         * play/zone.el (zone):
16716         * progmodes/compile.el (compilation-goto-locus):
16717         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
16718         * progmodes/etags.el (find-tag-other-window):
16719         * progmodes/fortran.el (fortran-column-ruler):
16720         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16721         * progmodes/verilog-mode.el (verilog-point-text):
16722         * reposition.el (reposition-window):
16723         * rot13.el (toggle-rot13-mode):
16724         * server.el (server-switch-buffer):
16725         * shell.el (shell-dynamic-complete-command)
16726         (shell-dynamic-complete-environment-variable):
16727         * simple.el (insert-buffer, set-selective-display)
16728         (delete-completion-window):
16729         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
16730         (speedbar-recenter):
16731         * startup.el (fancy-splash-head):
16732         * textmodes/ispell.el (ispell-command-loop):
16733         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
16734         * tutorial.el (help-with-tutorial):
16735         * vc/add-log.el (add-change-log-entry):
16736         * vc/compare-w.el (compare-windows):
16737         * vc/ediff-help.el (ediff-indent-help-message):
16738         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
16739         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
16740         (ediff-setup-control-frame):
16741         * vc/emerge.el (emerge-position-region):
16742         * vc/pcvs-util.el (cvs-bury-buffer):
16743         * window.el (walk-windows, mouse-autoselect-window-select):
16744         * winner.el (winner-set-conf, winner-undo): Related users changed.
16746 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
16748         * frameset.el (frameset--set-id): Doc fix.
16749         (frameset-frame-id, frameset-frame-id-equal-p)
16750         (frameset-locate-frame-id): New functions.
16751         (frameset--process-minibuffer-frames, frameset--reuse-frame)
16752         (frameset-restore): Use them.
16754 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
16756         Do not call to `selected-frame' where it is assumed by default.
16757         Affected functions are `raise-frame', `redraw-frame',
16758         `frame-first-window', `frame-terminal' and `delete-frame'.
16759         * calendar/appt.el (appt-disp-window):
16760         * epg.el (epg-wait-for-completion):
16761         * follow.el (follow-delete-other-windows-and-split)
16762         (follow-avoid-tail-recenter):
16763         * international/mule.el (set-terminal-coding-system):
16764         * mail/rmail.el (rmail-mail-return):
16765         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16766         * progmodes/f90.el (f90-add-imenu-menu):
16767         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
16768         * server.el (server-switch-buffer):
16769         * simple.el (delete-completion-window):
16770         * talk.el (talk):
16771         * term/xterm.el (terminal-init-xterm-modify-other-keys)
16772         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
16773         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
16774         * vc/ediff.el (ediff-documentation): Related users changed.
16775         * frame.el (selected-terminal): Remove the leftover.
16777 2013-08-05  Glenn Morris  <rgm@gnu.org>
16779         * calendar/calendar.el (calendar-generate-month):
16780         Fix for calendar-column-width != 1 + calendar-day-digit-width.
16781         (calendar-generate-month, calendar-font-lock-keywords):
16782         Fix for calendar-day-header-width > length of any day name.
16784 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
16786         * desktop.el (desktop-clear): Use new name of sort predicate.
16788         * frameset.el (frameset): Add docstring.  Move :version property to its
16789         own `version' slot.
16790         (frameset-copy): Rename from copy-frameset.
16791         (frameset-p): Check more thoroughly.
16792         (frameset-prop): Do not check for :version, which is no longer a prop.
16793         (frameset-live-filter-alist, frameset-persistent-filter-alist):
16794         Use new :never value instead of t.
16795         (frameset-filter-alist): Expand and clarify docstring.
16796         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
16797         (frameset-filter-minibuffer, frameset-filter-save-param)
16798         (frameset-filter-restore-param, frameset-filter-iconified):
16799         Add pointer to docstring of frameset-filter-alist.
16800         (frameset-filter-params): Rename filter values to be more meaningful:
16801         :never instead of t, and reverse the meanings of :save and :restore.
16802         (frameset--process-minibuffer-frames): Clarify error message.
16803         (frameset-save): Avoid unnecessary and confusing call to framep.
16804         Use new BOA constructor for framesets.
16805         (frameset--reuse-list): Doc fix.
16806         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
16807         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
16808         (frameset-minibufferless-first-p): Doc fix.
16809         Rename from frameset-sort-frames-for-deletion.
16810         (frameset-restore): Doc fixes.  Use new function names.
16811         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16813 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
16815         * desktop.el (desktop-restore-forces-onscreen)
16816         (desktop-restore-reuses-frames): Document :keyword constant values.
16817         (desktop-filter-parameters-alist): Remove, now identical to
16818         frameset-filter-alist.
16819         (desktop--filter-tty*): Remove, moved to frameset.el.
16820         (desktop-save-frameset, desktop-restore-frameset):
16821         Do not pass :filters argument.
16823         * frameset.el (frameset-live-filter-alist)
16824         (frameset-persistent-filter-alist): New variables.
16825         (frameset-filter-alist): Use them.  Add autoload cookie.
16826         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
16827         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
16828         `frameset--id' (it's supposed to be internal to frameset.el).
16829         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
16830         (frameset--initial-params): New function.
16831         (frameset--get-frame): Use it.  Doc fix.
16832         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
16833         Accept :all, not 'all.
16834         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
16835         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
16836         with fbound symbols.  Fix frame id matching, and remove matching ids if
16837         the frame being restored is deleted.  Obey :delete.
16839 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16841         * subr.el (macrop): New function.
16842         (text-clone--maintaining): New var.
16843         (text-clone--maintain): Rename from text-clone-maintain.  Use it
16844         instead of inhibit-modification-hooks.
16846         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
16847         a proxy, so as handle autoloads and redefinitions of the target.
16848         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
16850         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
16851         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
16852         (pcase--mutually-exclusive-p): New function.
16853         (pcase--split-consp): Use it.
16854         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
16855         mutually exclusive with the current predicate.
16857         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
16858         (edebug-macrop): Remove.  Use `macrop' instead.
16859         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
16860         (ad-macro-p):
16861         * eshell/esh-cmd.el (eshell-macrop):
16862         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
16864 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16866         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
16867         (advice-mapc): New function, using it.
16868         (advice-function-member-p): New function.
16869         (advice--normalize): Store the cdr in advice--saved-rewrite since
16870         that's the part that will be changed.
16871         (advice--symbol-function): New function.
16872         (advice-remove): Handle removal before the function is defined.
16873         Adjust to new advice--saved-rewrite.
16874         (advice-member-p): Use advice-function-member-p and
16875         advice--symbol-function.
16877 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
16879         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
16880         (frameset-filter-minibuffer): Doc fix.
16881         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
16882         (frameset--set-id, frameset--process-minibuffer-frames)
16883         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
16884         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
16886         * desktop.el (desktop-clear): Only delete frames when called
16887         interactively and desktop-restore-frames is non-nil.  Doc fix.
16888         (desktop-read): Set desktop-saved-frameset to nil.
16890 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
16892         * vc/vc.el (vc-ignore): Rewrite.
16893         (vc-default-ignore-completion-table, vc--read-lines)
16894         (vc--add-line, vc--remove-regexp): New functions.
16896         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
16897         (vc-svn-ignore-completion-table): New function.
16899         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
16900         (vc-hg-ignore-completion-table)
16901         (vc-hg-find-ignore-file): New functions.
16903         * vc/vc-git.el (vc-git-ignore): Rewrite.
16904         (vc-git-ignore-completion-table)
16905         (vc-git-find-ignore-file): New functions.
16907         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
16909         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
16910         (vc-bzr-ignore-completion-table)
16911         (vc-bzr-find-ignore-file): New functions.
16913 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
16915         * frameset.el (frameset-prop): New function and setter.
16916         (frameset-save): Do not modify frame list passed by the caller.
16918 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16920         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
16922 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16924         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
16925         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
16927         * custom.el (custom-initialize-default, custom-initialize-set)
16928         (custom-initialize-reset, custom-initialize-changed): Affect the
16929         toplevel-default-value (bug#6275, bug#14586).
16930         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
16931         for bug#6275.
16933 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
16935         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
16936         Add cl-def* expressions.
16938         * frameset.el (frameset-filter-params): Fix order of arguments.
16940 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
16942         Move code related to saving frames to frameset.el.
16943         * desktop.el: Require frameset.
16944         (desktop-restore-frames): Doc fix.
16945         (desktop-restore-reuses-frames): Rename from
16946         desktop-restoring-reuses-frames.
16947         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
16948         (desktop-clear): Clear frames too.
16949         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
16950         (desktop--filter-tty*, desktop-save, desktop-read):
16951         Use frameset functions.
16952         (desktop-before-saving-frames-functions, desktop--filter-*-color)
16953         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16954         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
16955         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
16956         (desktop--process-minibuffer-frames, desktop-save-frames)
16957         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
16958         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
16959         (desktop--sort-states, desktop-restoring-frames-p)
16960         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
16961         (desktop-restoring-frameset-p, desktop-restore-frameset)
16962         (desktop--check-dont-save, desktop-save-frameset): New functions.
16963         (desktop--app-id): New constant.
16964         (desktop-first-buffer, desktop-buffer-ok-count)
16965         (desktop-buffer-fail-count): Move before first use.
16966         * frameset.el: New file.
16968 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16970         * files.el: Use lexical-binding.
16971         (dir-locals-read-from-file): Remove unused `err' variable.
16972         (hack-dir-local-variables--warned-coding): New var.
16973         (hack-dir-local-variables): Use it to avoid repeated warnings.
16974         (make-backup-file-name--default-function): New function.
16975         (make-backup-file-name-function): Use it as default.
16976         (buffer-stale--default-function): New function.
16977         (buffer-stale-function): Use it as default.
16978         (revert-buffer-insert-file-contents--default-function): New function.
16979         (revert-buffer-insert-file-contents-function): Use it as default.
16980         (insert-directory): Avoid add-to-list.
16982         * autorevert.el (auto-revert-handler): Simplify.
16983         Use buffer-stale--default-function.
16985 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
16987         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
16989         * whitespace.el (whitespace-ensure-local-variables): New function.
16990         (whitespace-cleanup-region): Call it.
16991         (whitespace-turn-on): Call it.
16993 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
16995         Complete file name handlers.
16997         * net/tramp.el (tramp-handle-set-visited-file-modtime)
16998         (tramp-handle-verify-visited-file-modtime)
16999         (tramp-handle-file-notify-rm-watch): New functions.
17000         (tramp-call-process): Do not bind `default-directory'.
17002         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17003         Order alphabetically.
17004         <access-file, add-name-to-file, dired-call-process>:
17005         <dired-compress-file, file-acl, file-notify-rm-watch>:
17006         <file-ownership-preserved-p, file-selinux-context>:
17007         <make-directory-internal, make-symbolic-link, set-file-acl>:
17008         <set-file-selinux-context, set-visited-file-modtime>:
17009         <verify-visited-file-modtime>: Add handler.
17010         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
17012         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
17013         <file-notify-add-watch, file-notify-rm-watch>:
17014         <set-file-times, set-visited-file-modtime>:
17015         <verify-visited-file-modtime>: Add handler.
17016         (with-tramp-gvfs-error-message)
17017         (tramp-gvfs-handle-set-visited-file-modtime)
17018         (tramp-gvfs-fuse-file-name): Remove.
17019         (tramp-gvfs-handle-file-notify-add-watch)
17020         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
17021         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
17023         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17024         Order alphabetically.
17025         <file-notify-rm-watch>: Use default Tramp handler.
17026         <executable-find>: Remove private handler.
17027         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
17028         `default-directory'.
17029         (tramp-sh-handle-executable-find)
17030         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
17031         (tramp-sh-file-gvfs-monitor-dir-process-filter)
17032         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
17033         Do not use `format' in `tramp-message'.
17035         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
17036         <file-notify-rm-watch, set-visited-file-modtime>:
17037         <verify-visited-file-modtime>: Add handler.
17038         (tramp-smb-call-winexe): Do not bind `default-directory'.
17040 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
17042         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
17044 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
17046         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
17047         use it.
17048         (log-view-diff-changeset): Same.
17049         (log-view-diff-common): Call backend command `previous-revision'
17050         to find out the previous revision, in both cases.  Swap the
17051         variables `to' and `fr', so that `fr' usually refers to the
17052         earlier revision (Bug#14989).
17054 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
17056         * ibuf-ext.el (ibuffer-filter-by-filename):
17057         Make it work with dired buffers too.
17059 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
17061         * emacs-lisp/re-builder.el (reb-color-display-p):
17062         * files.el (save-buffers-kill-terminal):
17063         * net/browse-url.el (browse-url):
17064         * server.el (server-save-buffers-kill-terminal):
17065         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
17066         Prefer nil to selected-frame for the first arg of frame-parameter.
17068 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
17070         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
17072 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
17074         * minibuffer.el (completion--twq-all): Try and preserve each
17075         completion's case choice (bug#14907).
17077 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17079         * net/network-stream.el (open-network-stream): Mention the new
17080         :nogreeting parameter.
17081         (network-stream-open-starttls): Use the :nogreeting parameter
17082         (bug#14938).
17084         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
17086         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
17087         more natural than popping.
17089         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
17090         (shr-urlify): Highlight under mouse.
17092 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
17094         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
17096         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
17098         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
17099         buffer for output.
17101         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
17102         point-min==1.  Fix search string.  Fix parentheses missing.
17104         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
17105         assume point-min==1.  Fix search string.  Fix parentheses missing.
17107         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
17109         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
17110         buffer for output.
17112 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
17114         * frame.el (frame-notice-user-settings): Avoid inflooping when the
17115         initial frame is minibuffer-less.  (Bug#14841)
17117 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
17119         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
17120         option.
17122         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17123         (tramp-maybe-open-connection): Use it.
17125 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
17127         * desktop.el (desktop--make-frame): Include `minibuffer' in the
17128         minimal set of parameters passed when creating a frame, because
17129         the minibuffer status of a frame cannot be changed later.
17131 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
17133         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
17134         replace-regexp-in-string and inadvertent omissions in previous change.
17135         (todo-filter-items): Ensure only file names are comma-separated in
17136         name of filtered items buffer.
17138 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
17140         * desktop.el: Optionally force offscreen frames back onscreen.
17141         (desktop-restoring-reuses-frames): New option.
17142         (desktop--compute-pos, desktop--move-onscreen): New functions.
17143         (desktop--make-frame): Use desktop--move-onscreen.
17145 2013-07-27  Alan Mackenzie  <acm@muc.de>
17147         Fontify a Java generic method as a function.
17148         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
17149         value to t.
17151 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
17153         * calendar/todo-mode.el: Add command to rename todo files.
17154         (todo-rename-file): New command.
17155         (todo-key-bindings-t): Add key binding for it.  Change the
17156         bindings of todo-filter-regexp-items(-multifile) to use `x'
17157         instead of `r', since the latter is better suited to the new
17158         renaming command.
17160 2013-07-27  Alan Mackenzie  <acm@muc.de>
17162         Make Java try-with-resources statement parse properly.
17163         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
17164         (c-block-stmt-1-2-key): New language constants/variables.
17165         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17166         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
17167         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
17168         with c-block-stmt-1-2-key.
17170 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
17172         * desktop.el (desktop--make-frame): Apply most frame parameters after
17173         creating the frame to force (partially or totally) offscreen frames to
17174         be restored as such.
17176 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
17178         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
17179         (Bug#14948)
17181 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17183         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
17184         `base' arg of backtrace-frame.
17186 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
17188         * simple.el (list-processes): Doc fix.
17190 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
17192         * desktop.el (desktop--select-frame):
17193         Try harder to reuse existing frames.
17195 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17197         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
17198         (edebug-eval): Use backtrace-eval.
17199         (edebug--display, edebug--recursive-edit): Don't let-bind the
17200         edebug-outer-* vars that keep track of variables we locally let-bind.
17201         (edebug-outside-excursion): Don't restore outside values of locally
17202         let-bound vars.
17203         (edebug--display): Use user-error.
17204         (cl-lexical-debug, cl-debug-env): Remove.
17206 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
17208         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
17209         are restored to be sure that they are visible before deleting any
17210         remaining ones.
17212 2013-07-26  Matthias Meulien  <orontee@gmail.com>
17214         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
17215         vc-print-root-log.  (Bug#14948)
17217 2013-07-26  Richard Stallman  <rms@gnu.org>
17219         Add aliases for encrypting mail.
17220         * epa.el (epa-mail-aliases): New option.
17221         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
17222         Bind inhibit-read-only so read-only text doesn't ruin everything.
17223         (epa-mail-default-recipients): New subroutine broken out.
17224         Handle epa-mail-aliases.
17226 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17228         Add support for lexical variables to the debugger's `e' command.
17229         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
17230         vars, except for debugger-outer-match-data.
17231         (debugger-frame-number): Move check for "on a function call" from
17232         callers into it.  Add `skip-base' argument.
17233         (debugger-frame, debugger-frame-clear): Simplify accordingly.
17234         (debugger-env-macro): Only reset the state stored in non-variables,
17235         i.e. current-buffer and match-data.
17236         (debugger-eval-expression): Rewrite using backtrace-eval.
17237         * subr.el (internal--called-interactively-p--get-frame): Remove.
17238         (called-interactively-p):
17239         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
17240         `base' arg of backtrace-frame instead.
17242 2013-07-26  Glenn Morris  <rgm@gnu.org>
17244         * align.el (align-regexp): Doc fix.  (Bug#14857)
17245         (align-region): Explicit error if subexpression missing/does not match.
17247         * simple.el (global-visual-line-mode):
17248         Do not duplicate the mode lighter.  (Bug#14858)
17250 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
17252         * window.el (display-buffer): In display-buffer bind
17253         split-window-keep-point to t, bug#14829.
17255 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
17257         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
17258         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
17259         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
17260         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17261         Change accordingly.
17262         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17263         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
17265 2013-07-25  Glenn Morris  <rgm@gnu.org>
17267         * dired-x.el (dired-mark-extension): Convert comment to doc string.
17269 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
17271         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
17272         parameter to modify-frame-parameters if the value has not changed;
17273         this is a workaround for bug#14949.
17274         (desktop--make-frame): On cl-delete-if call, check parameter name,
17275         not full parameter.
17277 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
17279         * vc/vc.el (vc-ignore): New function.
17281         * vc/vc-svn.el (vc-svn-ignore): New function.
17283         * vc/vc-hg.el (vc-hg-ignore): New function.
17285         * vc/vc-git.el (vc-git-ignore): New function.
17287         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
17288         (vc-dir-ignore): New function.
17290         * vc/vc-cvs.el (vc-cvs-ignore): New function.
17291         (cvs-append-to-ignore): Move here from pcvs.el.
17293         * vc/vc-bzr.el (vc-bzr-ignore): New function.
17295         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
17297 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
17299         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
17300         (desktop-restore-frames): Warn when deleting an existing frame failed.
17302 2013-07-24  Glenn Morris  <rgm@gnu.org>
17304         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
17306 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
17308         * filenotify.el (file-notify-supported-p):
17309         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17310         Remove functions.
17312         * autorevert.el (auto-revert-use-notify)
17313         (auto-revert-notify-add-watch):
17314         * net/tramp.el (tramp-file-name-for-operation):
17315         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17316         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17317         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17318         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17319         Remove `file-notify-supported-p' entry.
17321 2013-07-24  Glenn Morris  <rgm@gnu.org>
17323         * printing.el: Replace all uses of deleted ps-windows-system,
17324         ps-lp-system, ps-flatten-list with lpr- versions.
17326 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17328         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
17329         checked with memq (bug#14935).
17331         * files.el (revert-buffer-function): Use a non-nil default.
17332         (revert-buffer-preserve-modes): Declare var to
17333         provide access to the `preserve-modes' argument.
17334         (revert-buffer): Let-bind it.
17335         (revert-buffer--default): New function, extracted from revert-buffer.
17337 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17339         * lpr.el: Signal print errors more prominently.
17340         (print-region-function): Don't default to nil.
17341         (lpr-print-region): New function, extracted from print-region-1.
17342         Check lpr's return value and signal an error in case of problem.
17343         (print-region-1): Use it.
17344         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
17345         versions instead.
17346         (ps-printer-name): Default to nil.
17347         (ps-printer-name-option): Default to lpr-printer-switch.
17348         (ps-print-region-function): Don't default to nil.
17349         (ps-postscript-code-directory): Simplify default.
17350         (ps-do-despool): Use lpr-print-region to properly check the outcome.
17351         (ps-string-list, ps-eval-switch, ps-flatten-list)
17352         (ps-flatten-list-1): Remove.
17353         (ps-multibyte-buffer): Avoid setq.
17354         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
17355         (print-region-function, ps-print-region-function): Don't set them here.
17357 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
17359         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
17360         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
17361         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
17362         (ido-decorations): Doc fix.
17364         * ansi-color.el: Fix old URL.
17366 2013-07-23  Michael R. Mauger  <michael@mauger.com>
17368         * progmodes/sql.el: Version 3.3
17369         (sql-product-alist): Improve oracle :prompt-cont-regexp.
17370         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
17371         (sql-interactive-remove-continuation-prompt): Rewrite, use
17372         functions above.  Fix continuation prompt and complete output line
17373         handling.
17374         (sql-redirect-one, sql-execute): Use `read-only-mode' on
17375         redirected output buffer.
17376         (sql-mode): Restore deleted code (Bug#13591).
17378 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
17380         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
17382 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
17384         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
17386         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17387         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17388         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
17390 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
17392         * desktop.el (desktop-clear): Simplify; remove useless checks
17393         against invalid buffer names.
17394         (desktop-list*): Use cl-list*.
17395         (desktop-buffer-info, desktop-create-buffer): Simplify.
17397 2013-07-23  Leo Liu  <sdl.web@gmail.com>
17399         * bookmark.el (bookmark-make-record): Restore NAME as a default
17400         value.  (Bug#14933)
17402 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17404         * emacs-lisp/autoload.el (autoload--setup-output): New function,
17405         extracted from autoload--insert-text.
17406         (autoload--insert-text): Remove.
17407         (autoload--print-cookie-text): New function, extracted from
17408         autoload--insert-cookie-text.
17409         (autoload--insert-cookie-text): Remove.
17410         (autoload-generate-file-autoloads): Adjust calls accordingly.
17412         * winner.el (winner-hook-installed-p): Remove.
17413         (winner-mode): Simplify accordingly.
17415         * subr.el (add-to-list): Fix compiler-macro when `append' is
17416         not constant.  Don't use `cl-member' for the base case.
17418         * progmodes/subword.el: Fix boundary case (bug#13758).
17419         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
17420         own group.
17421         (subword-backward-regexp): Make it a constant.
17422         (subword-forward-internal): Don't treat a trailing capital as the
17423         beginning of a word.
17425 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
17427         * emacs-lisp/package.el (package-menu-mode): Don't modify the
17428         global value of tabulated-list-revert-hook (bug#14930).
17430 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
17432         * desktop.el: Require 'cl-lib.
17433         (desktop-before-saving-frames-functions): New hook.
17434         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
17435         for frames being saved.  Rename from desktop--save-minibuffer-frames.
17436         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
17437         Do not save frames with non-nil `desktop-dont-save' parameter.
17438         Filter out deleted frames.
17439         (desktop--find-frame): Use cl-find-if.
17440         (desktop--select-frame): Use cl-(first|second|third) to access values
17441         of desktop-mini.
17442         (desktop--make-frame): Use cl-delete-if.
17443         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
17444         (desktop-restore-frames): Use cl-(first|second|third) to access values
17445         of desktop-mini.  Look for visible frame at the end, not while
17446         restoring frames.
17448         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
17449         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
17450         Use string-match-p, looking-at-p (bug#14927).
17452 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
17454         * desktop.el (desktop-saved-frame-states):
17455         Rename from desktop--saved-states; all users changed.
17456         (desktop-save-frames): Rename from desktop--save-frames.
17457         Do not save state to desktop file.
17458         (desktop-save): Save desktop-saved-frame-states to desktop file
17459         and reset to nil.
17460         (desktop-restoring-frames-p): New function.
17461         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
17462         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
17463         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
17465         * desktop.el: Correctly restore iconified frames.
17466         (desktop--filter-iconified-position): New function.
17467         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
17469 2013-07-20  Glenn Morris  <rgm@gnu.org>
17471         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
17472         Let `message' do the formatting.
17473         (def-gdb-preempt-display-buffer): Add explicit format.
17475         * image-dired.el (image-dired-track-original-file):
17476         Use with-current-buffer.
17477         (image-dired-track-thumbnail): Use with-current-buffer.
17478         Avoid changing point of wrong window.
17480         * image-dired.el (image-dired-track-original-file):
17481         Avoid changing point of wrong window.  (Bug#14909)
17483 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
17485         * progmodes/gdb-mi.el (gdb-done-or-error):
17486         Guard against "%" in gdb output.  (Bug#14127)
17488 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
17490         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
17491         (Bug#14826)
17493         * international/mule.el (coding-system-iso-2022-flags): Fix last
17494         change.
17496 2013-07-20  Kenichi Handa  <handa@gnu.org>
17498         * international/mule.el (coding-system-iso-2022-flags):
17499         Add `8-bit-level-4'.  (Bug#8522)
17501 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17503         * net/shr.el (shr-mouse-browse-url): New command and keystroke
17504         (bug#14815).
17506         * net/eww.el (eww-process-text-input): Allow inputting when the
17507         point is at the start of the line, as the properties aren't
17508         front-sticky.
17510         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
17511         degenerate widths.
17513 2013-07-19  Richard Stallman  <rms@gnu.org>
17515         * epa.el (epa-popup-info-window): Doc fix.
17517         * subr.el (split-string): New arg TRIM.
17519 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
17521         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
17522         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
17524 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
17526         * filenotify.el (file-notify--library): Rename from
17527         `file-notify-support'.  Do not autoload.  Adapt all uses.
17528         (file-notify-supported-p): New defun.
17530         * autorevert.el (auto-revert-use-notify):
17531         Use `file-notify-supported-p' instead of `file-notify-support'.
17532         Adapt docstring.
17533         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
17535         * net/tramp.el (tramp-file-name-for-operation):
17536         Add `file-notify-supported-p'.
17538         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17539         New defun.
17540         (tramp-sh-file-name-handler-alist): Add it as handler for
17541         `file-notify-supported-p '.
17543         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17544         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17545         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17546         Add `ignore' as handler for `file-notify-*' functions.
17548 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
17550         * simple.el (line-move-partial, line-move): Don't start vscroll or
17551         scroll-up if the current line is not taller than the window.
17552         (Bug#14881)
17554 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
17556         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
17557         highlight question marks in the method names as strings.
17558         (ruby-block-beg-keywords): Inline.
17559         (ruby-font-lock-keyword-beg-re): Extract from
17560         `ruby-font-lock-keywords'.
17562 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
17564         * frame.el (blink-cursor-blinks): New defcustom.
17565         (blink-cursor-blinks-done): New defvar.
17566         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
17567         (blink-cursor-timer-function): Check if number of blinks has been
17568         done on X and NS.
17569         (blink-cursor-suspend, blink-cursor-check): New defuns.
17571 2013-07-15  Glenn Morris  <rgm@gnu.org>
17573         * edmacro.el (edmacro-format-keys): Fix previous change.
17575 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
17577         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
17578         The hack didn't work outside English locales anyway.
17580 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
17582         * simple.el (define-alternatives): Rename from alternatives-define,
17583         per RMS' suggestion.
17585 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
17587         * desktop.el (desktop-restore-frames): Change default to t.
17588         (desktop-restore-in-current-display): Now offer more options.
17589         (desktop-restoring-reuses-frames): New customization option.
17590         (desktop--saved-states): Doc fix.
17591         (desktop-filter-parameters-alist): New variable, renamed and expanded
17592         from desktop--excluded-frame-parameters.
17593         (desktop--target-display): New variable.
17594         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
17595         (desktop--filter-tty*, desktop--filter-*-color)
17596         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
17597         (desktop--filter-save-desktop-parm)
17598         (desktop-restore-in-original-display-p): New functions.
17599         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
17600         (desktop--save-minibuffer-frames): New function, inspired by a similar
17601         function from Martin Rudalics.
17602         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
17603         (desktop--restore-in-this-display-p): Remove.
17604         (desktop--find-frame): Rename from desktop--find-frame-in-display
17605         and add predicate argument.
17606         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
17607         (desktop--reuse-list): New variable.
17608         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
17609         New functions.
17610         (desktop--restore-frames): Add support for "minibuffer-special" frames.
17612 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
17614         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
17616 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
17618         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17619         Highlight conversion methods on Kernel.
17621 2013-07-13  Alan Mackenzie  <acm@muc.de>
17623         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
17624         and comment it out.  This out-commenting enables certain C++
17625         declarations to be parsed correctly.
17627 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
17629         * international/mule.el (define-coding-system): Doc fix.
17631         * simple.el (default-font-height): Don't call font-info if the
17632         frame's default font didn't change since the frame was created.
17633         (Bug#14838)
17635 2013-07-13  Leo Liu  <sdl.web@gmail.com>
17637         * ido.el (ido-read-file-name): Guard against non-symbol value.
17639 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17641         * progmodes/python.el (python-imenu--build-tree): Fix corner case
17642         in nested defuns.
17644 2013-07-13  Leo Liu  <sdl.web@gmail.com>
17646         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
17647         ido-set-matches call.  (Bug#6852)
17649 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
17651         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
17652         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
17653         Ruby 2.0.
17654         (ruby-font-lock-keywords): Distinguish calls to functions with
17655         module-like names from module references.  Highlight character
17656         literals.
17658 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
17660         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
17661         (gdb-send): Handle continued commands.  (Bug#14847)
17663 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
17665         * desktop.el (desktop--v2s): Remove unused local variable.
17666         (desktop-save-buffer): Make defvar-local; adjust docstring.
17667         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
17668         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
17670 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
17672         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
17674 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
17676         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
17677         (Bug#14842)
17679 2013-07-12  Glenn Morris  <rgm@gnu.org>
17681         * doc-view.el: Require cl-lib at runtime too.
17682         (doc-view-remove-if): Remove.
17683         (doc-view-search-next-match, doc-view-search-previous-match):
17684         Use cl-remove-if.
17686         * edmacro.el: Require cl-lib at runtime too.
17687         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
17688         (edmacro-mismatch, edmacro-subseq): Remove.
17690         * shadowfile.el: Require cl-lib.
17691         (shadow-remove-if): Remove.
17692         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
17693         Use cl-remove-if.
17695         * wid-edit.el: Require cl-lib.
17696         (widget-choose): Use cl-remove-if.
17697         (widget-remove-if): Remove.
17699         * progmodes/ebrowse.el: Require cl-lib at runtime too.
17700         (ebrowse-delete-if-not): Remove.
17701         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
17702         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
17703         Use cl-delete-if-not.
17705 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
17707         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
17708         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
17710 2013-07-12  Leo Liu  <sdl.web@gmail.com>
17712         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
17714 2013-07-11  Glenn Morris  <rgm@gnu.org>
17716         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
17717         (edebug-gensym-index, edebug-gensym):
17718         Remove reimplementation of cl-gensym.
17719         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
17721         * thumbs.el: Require cl-lib at run-time too.
17722         (thumbs-gensym-counter, thumbs-gensym):
17723         Remove reimplementation of cl-gensym.
17724         (thumbs-temp-file): Use cl-gensym.
17726         * emacs-lisp/ert.el: Require cl-lib at runtime too.
17727         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
17728         (ert--intersection, ert--set-difference, ert--set-difference-eq)
17729         (ert--union, ert--gensym-counter, ert--gensym-counter)
17730         (ert--coerce-to-vector, ert--remove*, ert--string-position)
17731         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
17732         (ert-make-test-unbound, ert--expand-should-1)
17733         (ert--expand-should, ert--should-error-handle-error)
17734         (should-error, ert--explain-equal-rec)
17735         (ert--plist-difference-explanation, ert-select-tests)
17736         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
17737         Use cl-lib functions rather than reimplementations.
17739 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
17741         * net/tramp.el (tramp-methods): Extend docstring.
17742         (tramp-connection-timeout): New defcustom.
17743         (tramp-error-with-buffer): Reset timestamp only when appropriate.
17744         (with-tramp-progress-reporter): Simplify.
17745         (tramp-process-actions): Improve messages.
17747         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17748         * net/tramp-sh.el (tramp-maybe-open-connection):
17749         Use `tramp-connection-timeout'.
17750         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
17751         (Bug#14808)
17753 2013-07-11  Leo Liu  <sdl.web@gmail.com>
17755         * ido.el (ido-read-file-name): Conform to the requirements of
17756         read-file-name.  (Bug#11861)
17757         (ido-read-directory-name): Conform to the requirements of
17758         read-directory-name.
17760 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
17762         * subr.el (delay-warning): New function.
17764 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
17766         * simple.el (default-line-height): New function.
17767         (line-move-partial, line-move): Use it instead of computing the
17768         line height inline.
17769         (line-move-partial): Always compute ROWH.  If the last line is
17770         partially-visible, but its text is completely visible, allow
17771         cursor to enter such a partially-visible line.
17773 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
17775         Improve error messages.  (Bug#14808)
17777         * net/tramp.el (tramp-current-connection): New defvar, moved from
17778         tramp-sh.el.
17779         (tramp-message-show-progress-reporter-message): Remove, not
17780         needed anymore.
17781         (tramp-error-with-buffer): Show message in minibuffer.
17782         Discard input before waiting.  Reset connection timestamp.
17783         (with-tramp-progress-reporter): Improve messages.
17784         (tramp-process-actions): Use progress reporter.  Delete process in
17785         case of error.  Improve messages.
17787         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
17788         Call `tramp-error-with-buffer' with vector and buffer.
17789         (tramp-current-connection): Remove.
17790         (tramp-maybe-open-connection): The car of
17791         `tramp-current-connection' are the first 3 slots of the vector.
17793 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
17795         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
17796         inside continued strings.
17798 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
17800         Timestamp fixes for undo (Bug#14824).
17801         * files.el (clear-visited-file-modtime): Move here from fileio.c.
17803 2013-07-10  Leo Liu  <sdl.web@gmail.com>
17805         * files.el (require-final-newline): Allow safe local value.
17806         (Bug#14834)
17808 2013-07-09  Leo Liu  <sdl.web@gmail.com>
17810         * ido.el (ido-read-directory-name): Handle fallback.
17811         (ido-read-file-name): Update DIR to ido-current-directory.
17812         (Bug#1516)
17813         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
17815 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
17817         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
17818         "autoload".  Remove "warn lower camel case" section, previously
17819         commented out.  Highlight negation char.  Do not highlight the
17820         target in singleton method definitions.
17822 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17824         * faces.el (tty-setup-hook): Declare the hook.
17826         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
17827         and detect when a guard/pred depends on local vars (bug#14773).
17828         (pcase--u1): Adjust caller.
17830 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
17832         * simple.el (line-move-partial, line-move): Account for
17833         line-spacing.
17834         (line-move-partial): Avoid setting vscroll when the last
17835         partially-visible line in window is of default height.
17837 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17839         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
17840         been used a while.
17842 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
17844         * subr.el (read-quoted-char): Remove unused local variable `char'.
17846 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
17848         * vc/ediff.el (ediff-version): Version update.
17849         (ediff-files-command, ediff3-files-command, ediff-merge-command)
17850         (ediff-merge-with-ancestor-command, ediff-directories-command)
17851         (ediff-directories3-command, ediff-merge-directories-command)
17852         (ediff-merge-directories-with-ancestor-command): New functions.
17853         All are command-line interfaces to ediff: to facilitate calling
17854         Emacs with the appropriate ediff functions invoked.
17856         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
17857         New function.
17858         (viper-save-kill-buffer): Check if buffer is modified.
17860         * emulation/viper.el (viper-version): Version update.
17861         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
17863 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17865         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
17866         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
17867         (viper-intercept-ESC-key): Simplify.
17868         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
17869         don't use kbd.
17870         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
17871         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
17872         (viper-setup-ESC-to-escape): New functions.
17873         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
17874         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
17876 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
17878         * simple.el (default-font-height, window-screen-lines):
17879         New functions.
17880         (line-move, line-move-partial): Use them instead of
17881         frame-char-height and window-text-height.  This makes scrolling
17882         text smoother when the buffer's default face uses a font that is
17883         different from the frame's default font.
17885 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
17887         * files.el (write-file): Do not display confirm dialog for NS,
17888         it does its own dialog, which can't be canceled (Bug#14578).
17890 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
17892         * simple.el (line-move-partial): Adjust the row returned by
17893         posn-at-point for the current window-vscroll.  (Bug#14567)
17895 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
17897         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
17898         (tramp-sh-file-inotifywait-process-filter): Handle file names with
17899         spaces.
17901 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
17903         * window.el (window-state-put-stale-windows): New variable.
17904         (window--state-put-2): Save list of windows without matching buffer.
17905         (window-state-put): Remove "bufferless" windows if possible.
17907 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
17909         * simple.el (alternatives-define): Remove leftover :group keyword.
17910         Tweak docstring.
17912 2013-07-06  Leo Liu  <sdl.web@gmail.com>
17914         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
17915         (ido-enable-virtual-buffers): New variable.
17916         (ido-buffer-internal, ido-toggle-virtual-buffers)
17917         (ido-make-buffer-list): Use it.
17918         (ido-exhibit): Support turning on and off virtual buffers
17919         automatically.
17921 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
17923         * simple.el (alternatives-define): New macro.
17925 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17927         * subr.el (read-quoted-char): Use read-key.
17928         (sit-for): Let read-event decode tty input (bug#14782).
17930 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
17932         * calendar/todo-mode.el: Add handling of file deletion, both by
17933         mode command and externally.  Fix various related bugs.
17934         Clarify Commentary and improve some documentation strings and code.
17935         (todo-delete-file): New command.
17936         (todo-check-file): New function.
17937         (todo-show): Handle external deletion of the file we're trying to
17938         show (bug#14688).  Replace called-interactively-p by an optional
17939         prefix argument to avoid problematic interaction with catch form
17940         when byte compiled (bug#14702).
17941         (todo-quit): Handle external deletion of the archive's todo file.
17942         Make sure the buffer that was visiting the archive file is still
17943         live before trying to bury it.
17944         (todo-category-completions): Handle external deletion of any
17945         category completion files.
17946         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
17947         of todo files, in case of external deletion.
17948         (todo-add-file): Replace unnecessary setq by let-binding.
17949         (todo-find-archive): Check whether there are any archives.
17950         Replace unnecessary setq by let-binding.
17951         (todo-archive-done-item): Use find-file-noselect to get the
17952         archive buffer whether or not the archive already exists.
17953         Remove superfluous code.  Use file size instead of buffer-file-name to
17954         check if the archive is new; if it is, update list of archives.
17955         (todo-default-todo-file): Allow nil to be a valid value for when
17956         there are no todo files.
17957         (todo-reevaluate-default-file-defcustom): Use corrected definition
17958         of todo-default-todo-file.
17959         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
17960         (todo-delete-category, todo-show-categories-table)
17961         (todo-category-number): Clarify comment.
17962         (todo-filter-items): Clarify documentation string.
17963         (todo-show-current-file, todo-display-as-todo-file)
17964         (todo-reset-and-enable-done-separator): Tweak documentation string.
17965         (todo-done-separator): Make separator length window-width, since
17966         bug#2749 is now fixed.
17968 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
17970         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17971         Support both "gvfs-monitor-dir" and "inotifywait".
17972         (tramp-sh-file-inotifywait-process-filter): Rename from
17973         `tramp-sh-file-notify-process-filter'.
17974         (tramp-sh-file-gvfs-monitor-dir-process-filter)
17975         (tramp-get-remote-gvfs-monitor-dir): New defuns.
17977 2013-07-05  Leo Liu  <sdl.web@gmail.com>
17979         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
17981 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17983         * frame.el (display-pixel-height, display-pixel-width)
17984         (display-mm-height, display-mm-width): Mention behavior on
17985         multi-monitor setups in docstrings.
17986         (w32-display-monitor-attributes-list): Declare function.
17987         (display-monitor-attributes-list): Use it.
17989 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
17991         * filenotify.el: New package.
17993         * autorevert.el (top): Require filenotify.el.
17994         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
17995         instead.
17996         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
17997         (auto-revert-notify-handler): Use `file-notify-*' functions.
17999         * subr.el (file-notify-handle-event): Move function to filenotify.el.
18001         * net/tramp.el (tramp-file-name-for-operation):
18002         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
18004         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
18005         for `file-notify-add-watch' and `file-notify-rm-watch'.
18006         (tramp-process-sentinel): Improve trace.
18007         (tramp-sh-handle-file-notify-add-watch)
18008         (tramp-sh-file-notify-process-filter)
18009         (tramp-sh-handle-file-notify-rm-watch)
18010         (tramp-get-remote-inotifywait): New defuns.
18012 2013-07-03  Juri Linkov  <juri@jurta.org>
18014         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
18015         call of `occur-read-primary-args' to interactive spec.
18017         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
18018         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
18020 2013-07-03  Matthias Meulien  <orontee@gmail.com>
18022         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
18023         `Buffer-menu-multi-occur'.  Add it to the menu.
18024         (Buffer-menu-mode): Document it in docstring.
18025         (Buffer-menu-multi-occur): New command.  (Bug#14673)
18027 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
18029         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
18030         keywords and built-ins.
18032 2013-07-03  Glenn Morris  <rgm@gnu.org>
18034         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
18036         Make info-xref checks case-sensitive by default
18037         * info.el (Info-find-node, Info-find-in-tag-table)
18038         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
18039         Add option for exact case matching of nodes.
18040         * info-xref.el (info-xref): New custom group.
18041         (info-xref-case-fold): New option.
18042         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
18044 2013-07-03  Leo Liu  <sdl.web@gmail.com>
18046         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
18048 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
18050         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
18051         middle of block statement initially, lower the depth.  Remove
18052         FIXME comment, not longer valid.  Remove middle of block statement
18053         detection, no need to do that anymore since we've been using
18054         `ruby-parse-region' here.
18056 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
18058         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
18060 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
18062         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
18064 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
18066         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
18067         (desktop-restore-in-current-display): New customization option.
18068         (desktop--excluded-frame-parameters): Add `font'.
18069         (desktop--save-frames): Rename from desktop--save-windows.
18070         (desktop--restore-in-this-display-p): New function.
18071         (desktop--make-full-frame): Remove unwanted width/height from
18072         full(width|height) frames.
18073         (desktop--restore-frames): Rename from desktop--restore-windows.
18074         Obey desktop-restore-current-display.  Do not delete old frames or
18075         select a new frame unless we were able to restore at least one frame.
18077 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
18079         * files.el (find-file-noselect): Simplify conditional expression.
18081         * textmodes/remember.el (remember-append-to-file):
18082         Don't mix `find-buffer-visiting' and `get-file-buffer'.
18084         Add `remember-notes' function to store random notes across Emacs
18085         restarts.
18086         * textmodes/remember.el (remember-data-file): Add :set callback to
18087         affect notes buffer (if any).
18088         (remember-notes): New command.
18089         (remember-notes-buffer-name, bury-remember-notes-on-kill):
18090         New defcustoms for the `remember-notes' function.
18091         (remember-notes-save-and-bury-buffer): New command.
18092         (remember-notes-mode-map): New variable.
18093         (remember-mode): New minor mode.
18094         (remember-notes--kill-buffer-query): New function.
18095         * startup.el (initial-buffer-choice): Add notes to custom type.
18097 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
18099         * bindings.el (right-char, left-char): Don't call sit-for, this is
18100         no longer needed.  Use arithmetic comparison only for numerical
18101         arguments.
18103         * international/mule-cmds.el (select-safe-coding-system):
18104         Handle the case of FROM being a string correctly.  (Bug#14755)
18106 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18108         * net/shr.el (shr-make-table-1): Add a sanity check that allows
18109         progression on degenerate tables.
18110         (shr-rescale-image): ImageMagick animated images currently don't work.
18112 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
18114         Some fixes and improvements for desktop frame restoration.
18115         It is still experimental and disabled by default.
18116         * desktop.el (desktop--save-windows): Put the selected frame at
18117         the head of the list.
18118         (desktop--make-full-frame): New function.
18119         (desktop--restore-windows): Try to re-select the frame that was
18120         selected upon saving.  Do not abort if some frames fail to restore,
18121         just show an error message and continue.  Set up maximized frames
18122         so they have default non-maximized dimensions.
18124 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
18126         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
18127         Don't start heredoc inside a string or comment.
18129 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
18131         * bindings.el (visual-order-cursor-movement): New defcustom.
18132         (right-char, left-char): Provide visual-order cursor motion by
18133         calling move-point-visually.  Update the doc strings.
18135 2013-06-28  Kenichi Handa  <handa@gnu.org>
18137         * international/mule.el (define-coding-system): New coding system
18138         properties :inhibit-null-byte-detection,
18139         :inhibit-iso-escape-detection, and :prefer-utf-8.
18140         (set-buffer-file-coding-system): If :charset-list property of
18141         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
18142         appropriate for setting.
18144         * international/mule-cmds.el (select-safe-coding-system):
18145         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
18146         multibyte characters, return utf-8 (or one of its siblings).
18148         * international/mule-conf.el (prefer-utf-8): New coding system.
18149         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
18150         files.
18152 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
18154         * net/shr.el (shr-render-region): New function.
18156         * net/eww.el: Autoload `eww-browse-url'.
18158 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
18160         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18161         Adapt to `package-desc-version' being a list.
18162         Use `package--ac-desc-version' to retrieve version from a package
18163         archive element.
18165 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
18167         New experimental feature to save&restore window and frame setup.
18168         * desktop.el (desktop-save-windows): New defcustom.
18169         (desktop--saved-states): New var.
18170         (desktop--excluded-frame-parameters): New defconst.
18171         (desktop--filter-frame-parms, desktop--find-frame-in-display)
18172         (desktop--restore-windows, desktop--save-windows): New functions.
18173         (desktop-save): Call `desktop--save-windows'.
18174         (desktop-read): Call `desktop--restore-windows'.
18176 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18178         * net/shr.el (add-face-text-property): Remove compat definition.
18180 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
18182         * info.el (Info-try-follow-nearest-node): Move search for footnote
18183         above search for node name to prevent missing a footnote (bug#14717).
18185 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
18187         * obsolete/otodo-mode.el: Add obsolescence info to file header.
18189 2013-06-27  Leo Liu  <sdl.web@gmail.com>
18191         * net/eww.el (eww-read-bookmarks): Check file size.
18193 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18195         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
18196         advice--pending if newdef is nil or an autoload (bug#13820).
18197         (advice-mapc): New function.
18199 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18201         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
18202         probably.
18203         (eww-mode-map): Add a menu bar.
18204         (eww-add-bookmark): New command.
18205         (eww-bookmark-mode): New mode and commands.
18206         (eww-add-bookmark): Remove newlines from the title.
18207         (eww-bookmark-browse): Don't bug out if it's the only window.
18209 2013-06-26  Glenn Morris  <rgm@gnu.org>
18211         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
18212         (hfy-size): Handle ttys.  (Bug#14668)
18214         * info-xref.el: Update for Texinfo 5 change in *note format.
18215         (info-xref-node-re, info-xref-note-re): New constants.
18216         (info-xref-check-buffer): Use info-xref-note-re.
18218 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18220         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
18222         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
18223         nil terminate the loop (bug#14718).
18225 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18227         * net/eww.el: Rework history traversal.  When going forward/back,
18228         put these actions into the history, too, so that they can be
18229         replayed.
18230         (eww-render): Move the history reset to the correct buffer.
18232 2013-06-25  Juri Linkov  <juri@jurta.org>
18234         * files-x.el (modify-dir-local-variable): Change the header comment
18235         in the file with directory local variables.  (Bug#14692)
18237         * files-x.el (read-file-local-variable-value): Add `default'.
18238         (Bug#14710)
18240 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18242         * net/eww.el (eww-make-unique-file-name): Create a unique file
18243         name before saving to entering `y' accidentally asynchronously.
18245 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
18247         * net/eww.el (eww-download): New command and keystroke.
18249 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18251         * net/eww.el (eww-copy-page-url): Change name of command.
18253         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
18254         be more consistent with Info and dired.
18256         * net/eww.el (eww-mode-map): Ditto.
18258 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18260         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
18261         packages from archives.
18262         (package-archive-contents): Change format; include obsolete packages.
18263         (package-desc): Use `dir' to mark builtin packages.
18264         (package--from-builtin): Set the `dir' field to `builtin'.
18265         (generated-autoload-file, version-control): Declare.
18266         (package-compute-transaction): Change first arg and return value to be
18267         lists of package-descs.  Adjust to new package-archive-contents format.
18268         (package--add-to-archive-contents): Adjust to new
18269         package-archive-contents format.
18270         (package-download-transaction): Arg is now a list of package-descs.
18271         (package-install): If `pkg' is a package name, pass it as
18272         a requirement, so it is subject to the usual (e.g. disabled) checks.
18273         (describe-package): Accept package-desc as well.
18274         (describe-package-1): Describe a specific package-desc.  Add links to
18275         other package-descs for the same package name.
18276         (package-menu-describe-package): Pass the actual package-desc.
18277         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
18278         works correctly.
18279         (package-desc-status): New function.
18280         (package-menu--refresh): New function, extracted
18281         from package-menu--generate.
18282         (package-menu--generate): Use it.
18283         (package-delete): Update package-alist.
18284         (package-menu-execute): Don't call package-initialize.
18286         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
18287         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
18288         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
18289         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
18290         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
18291         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
18293 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
18295         * window.el (window--state-get-1): Workaround for bug#14527.
18296         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
18298 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18300         * net/eww.el (eww-back-url): Implement the history by stashing all
18301         the data into a list.
18302         (eww-forward-url): Allow going forward in the history, too.
18304 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18306         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
18307         for values and use read--expression for expressions (bug#14710).
18308         (read-file-local-variable): Avoid setq.
18309         (read-file-local-variable-mode): Use minor-mode-list.
18311 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18313         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
18314         for DOI URLs.
18316 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18318         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
18319         Update imenu-support when dialect changes.
18321 2013-06-25  Leo Liu  <sdl.web@gmail.com>
18323         * ido.el (ido-read-internal): Allow forward slash on windows.
18325 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18327         * net/eww.el (eww): Start of strings is \\`, not ^.
18329 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
18331         * net/shr.el (shr-browse-url): Fix interactive spec.
18333         * net/eww.el (eww): Add a trailing slash to domain names.
18335 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
18337         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
18339 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18341         * net/shr.el (shr-browse-url): Use an external browser if given a
18342         prefix.
18344         * net/eww.el (eww-external-browser): Move to shr.
18346 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
18348         * net/eww.el (eww): Work more correctly for file: URLs.
18349         (eww-detect-charset): Allow quoted charsets.
18350         (eww-yank-page-url): New command and keystroke.
18352 2013-06-24  Daiki Ueno  <ueno@gnu.org>
18354         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
18355         file name of gpg executable.
18356         (epg-context-program): New function.
18357         (epg-context-home-directory): New function.
18358         (epg-context-set-program): New function.
18359         (epg-context-set-home-directory): New function.
18360         (epg--start): Use `epg-context-program' instead of
18361         'epg-gpg-program'.
18362         (epg--list-keys-1): Likewise.
18364 2013-06-24  Leo Liu  <sdl.web@gmail.com>
18366         * ido.el (ido-read-internal): Fix bug#14620.
18368 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
18370         * faces.el (face-documentation): Simplify.
18371         (read-face-attribute, tty-find-type, x-resolve-font-name):
18372         Use `string-match-p'.
18373         (list-faces-display): Use `string-match-p'.  Simplify.
18374         (face-spec-recalc): Check face to avoid face alias loops.
18375         (read-color): Use `string-match-p' and non-capturing parenthesis.
18377 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18379         * net/shr.el (shr-rescale-image): Use the new
18380         :max-width/:max-height functionality.
18382 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
18384         * net/eww.el (eww-search-prefix): New variable.
18385         (eww): Use it.
18386         (eww-external-browser): New variable.
18387         (eww-mode-map): New keystroke.
18388         (eww-browse-with-external-browser): New command.
18390         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
18392 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
18394         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
18395         Don't skip aligning the next header field when padding is 0;
18396         otherwise, field width is not respected unless the title is as
18397         wide as the field.
18399 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18401         * emacs-lisp/package.el (package-el-version): Remove.
18402         (package-process-define-package): Fix inf-loop.
18403         (package-install): Allow symbols as arguments again.
18405 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
18407         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
18408         add some more keyword-like methods.
18409         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
18411 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
18413         * bs.el (bs-buffer-show-mark): Make defvar-local.
18414         (bs-mode): Use setq-local.
18416         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
18417         (emacs-lock--try-unlocking): Make defvar-local.
18419 2013-06-22  Glenn Morris  <rgm@gnu.org>
18421         * play/cookie1.el (cookie-apropos): Minor simplification.
18423         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
18425 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
18427         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
18428         `regexp-opt', it breaks the build during dumping.
18430 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
18432         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
18433         Highlight keyword-like methods on Kernel and Module with
18434         font-lock-builtin-face.
18435         (auto-mode-alist): Consolidate different entries into one regexp
18436         and add more *file-s.
18438 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
18440         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
18442         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
18443         (diary-entry): Use it in the action of this button type instead of
18444         diary-goto-entry.
18446         * calendar/todo-mode.el: New version.
18447         (todo-add-category): Append new category to end of file and give
18448         it the highest number, instead of putting it at the beginning and
18449         giving it 0.  Incorporate noninteractive functionality.
18450         (todo-forward-category): Adapt to 1-based category numbering.
18451         Allow skipping over archived categories.
18452         (todo-backward-category): Derive from todo-forward-category.
18453         (todo-backward-item, todo-forward-item): Make noninteractive and
18454         delegate interactive part to new commands.  Make sensitive to done items.
18455         (todo-categories): Make value an alist of category names and
18456         vectors of item counts.
18457         (todo-category-beg): Make a defconst.
18458         (todo-category-number): Use 1 instead of 0 as initial value.
18459         (todo-category-select): Make sensitive to overlays, optional item
18460         highlighting and done items.
18461         (todo-delete-item): Make sensitive to overlays and marked and done items.
18462         (todo-edit-item): Make sensitive to overlays and editing of
18463         date/time header optional.  Add format checks.
18464         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
18465         no-op if point is not on an item.  Advertise using todo-edit-quit.
18466         (todo-edit-mode): Make sensitive to new format, font-locking, and
18467         multiple todo files.
18468         (todo-insert-item, todo-insert-item-here): Derive from
18469         todo-basic-insert-item and extend functionality.
18470         (todo-item-end, todo-item-start): Make sensitive to done items.
18471         (todo-item-string): Don't return text properties.  Restore point.
18472         (todo-jump-to-category): Make sensitive to multiple todo files and
18473         todo archives.  Use extended category completion.
18474         (todo-lower-item, todo-raise-item): Rename to *-priority and
18475         derive from todo-set-item-priority.
18476         (todo-mode): Derive from special-mode.  Make sensitive to new
18477         format, font-locking and multiple todo files.  Make read-only.
18478         (todo-mode-map): Don't suppress digit keys, so they can supply
18479         prefix arguments.  Add many new key bindings.
18480         (todo-prefix): Insert as an overlay instead of file text.
18481         Change semantics from diary date expression to purely visual mark.
18482         (todo-print): Rename to todo-print-buffer.  Make buffer display
18483         features printable.  Remove option to restrict number of items
18484         printed.  Add option to print to file.
18485         (todo-print-function): Rename to todo-print-buffer-function.
18486         (todo-quit): Extend to handle exiting new todo modes.
18487         (todo-remove-item): Make sensitive to overlays.
18488         (todo-save): Extend to buffers of filtered items.
18489         (todo-show): Make sensitive to done items, multiple todo files and
18490         new todo modes.  Offer to convert legacy todo file before creating
18491         first new todo file.
18492         (todo-show-priorities): Rename to todo-top-priorities.
18493         Change semantics of value 0.
18494         (todo-top-priorities): Rename to todo-filter-top-priorities,
18495         derive from todo-filter-items and extend functionality.
18496         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
18497         and extend functionality to other types of filtered items.
18498         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
18499         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
18500         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
18501         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
18502         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
18503         (todo-edit-mode-hook, todo-entry-prefix-function)
18504         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
18505         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
18506         (todo-initials, todo-insert-threshold, todo-item-string-start)
18507         (todo-line-string, todo-menu, todo-mode-hook)
18508         (todo-more-important-p, todo-previous-answer, todo-previous-line)
18509         (todo-print-priorities, todo-remove-separator)
18510         (todo-save-top-priorities-too, todo-string-count-lines)
18511         (todo-string-multiline-p, todo-time-string-format)
18512         (todo-tmp-buffer-name): Remove.
18513         (todo-add-file, todo-archive-done-item, todo-choose-archive)
18514         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
18515         (todo-edit-category-diary-inclusion)
18516         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
18517         (todo-edit-file, todo-edit-item-date-day)
18518         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
18519         (todo-edit-item-date-month, todo-edit-item-date-to-today)
18520         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
18521         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
18522         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
18523         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
18524         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
18525         (todo-filter-top-priorities-multifile, todo-find-archive)
18526         (todo-find-filtered-items-file, todo-go-to-source-item)
18527         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
18528         (todo-jump-to-archive-category, todo-lower-category)
18529         (todo-mark-category, todo-marked-item-p, todo-merge-category)
18530         (todo-move-category, todo-move-item, todo-next-button)
18531         (todo-next-item, todo-padded-string, todo-powerset)
18532         (todo-previous-button, todo-previous-item)
18533         (todo-print-buffer-to-file, todo-raise-category)
18534         (todo-rename-category, todo-repair-categories-sexp, todo-search)
18535         (todo-set-category-number, todo-set-item-priority)
18536         (todo-set-top-priorities-in-category)
18537         (todo-set-top-priorities-in-file, todo-show-categories-table)
18538         (todo-sort-categories-alphabetically-or-numerically)
18539         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
18540         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
18541         (todo-toggle-item-header, todo-toggle-item-highlighting)
18542         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
18543         (todo-toggle-view-done-items, todo-toggle-view-done-only)
18544         (todo-unarchive-items, todo-unmark-category): New commands.
18545         (todo-absolute-file-name, todo-add-to-buffer-list)
18546         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
18547         (todo-basic-insert-item, todo-category-completions)
18548         (todo-category-number, todo-category-string-matcher-1)
18549         (todo-category-string-matcher-2, todo-check-filtered-items-file)
18550         (todo-check-format, todo-clear-matches)
18551         (todo-comment-string-matcher, todo-convert-legacy-date-time)
18552         (todo-current-category, todo-date-string-matcher)
18553         (todo-define-insertion-command, todo-diary-expired-matcher)
18554         (todo-diary-goto-entry, todo-diary-item-p)
18555         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
18556         (todo-display-categories, todo-display-sorted, todo-done-item-p)
18557         (todo-done-item-section-p, todo-done-separator)
18558         (todo-done-string-matcher, todo-files, todo-filter-items)
18559         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
18560         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
18561         (todo-insert-category-line, todo-insert-item-from-calendar)
18562         (todo-insert-sort-button, todo-insert-with-overlays)
18563         (todo-insertion-command-name, todo-insertion-key-bindings)
18564         (todo-label-to-key, todo-longest-category-name-length)
18565         (todo-make-categories-list, todo-mode-external-set)
18566         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
18567         (todo-modes-set-3, todo-multiple-filter-files)
18568         (todo-nondiary-marker-matcher, todo-prefix-overlays)
18569         (todo-read-category, todo-read-date, todo-read-dayname)
18570         (todo-read-file-name, todo-read-time)
18571         (todo-reevaluate-category-completions-files-defcustom)
18572         (todo-reevaluate-default-file-defcustom)
18573         (todo-reevaluate-filelist-defcustoms)
18574         (todo-reevaluate-filter-files-defcustom)
18575         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
18576         (todo-reset-done-separator, todo-reset-done-separator-string)
18577         (todo-reset-done-string, todo-reset-global-current-todo-file)
18578         (todo-reset-highlight-item, todo-reset-nondiary-marker)
18579         (todo-reset-prefix, todo-set-categories)
18580         (todo-set-date-from-calendar, todo-set-show-current-file)
18581         (todo-set-top-priorities, todo-short-file-name)
18582         (todo-show-current-file, todo-sort, todo-time-string-matcher)
18583         (todo-total-item-counts, todo-update-buffer-list)
18584         (todo-update-categories-display, todo-update-categories-sexp)
18585         (todo-update-count, todo-validate-name, todo-y-or-n-p):
18586         New functions.
18587         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
18588         New major modes.
18589         (todo-categories, todo-display, todo-edit, todo-faces)
18590         (todo-filtered): New defgroups.
18591         (todo-archived-only, todo-button, todo-category-string, todo-date)
18592         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
18593         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
18594         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
18595         (todo-add-item-if-new-category, todo-always-add-time-string)
18596         (todo-categories-align, todo-categories-archived-label)
18597         (todo-categories-category-label, todo-categories-diary-label)
18598         (todo-categories-done-label, todo-categories-number-separator)
18599         (todo-categories-todo-label, todo-categories-totals-label)
18600         (todo-category-completions-files, todo-completion-ignore-case)
18601         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
18602         (todo-done-separator-string, todo-done-string)
18603         (todo-files-function, todo-filter-done-items, todo-filter-files)
18604         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
18605         (todo-initial-category, todo-initial-file, todo-item-mark)
18606         (todo-legacy-date-time-regexp, todo-mode-line-function)
18607         (todo-nondiary-marker, todo-number-prefix)
18608         (todo-print-buffer-function, todo-show-current-file)
18609         (todo-show-done-only, todo-show-first, todo-show-with-done)
18610         (todo-skip-archived-categories, todo-top-priorities-overrides)
18611         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
18612         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
18613         New defcustoms.
18614         (todo-category-done, todo-date-pattern, todo-date-string-start)
18615         (todo-diary-items-buffer, todo-done-string-start)
18616         (todo-filtered-items-buffer, todo-item-start)
18617         (todo-month-abbrev-array, todo-month-name-array)
18618         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
18619         (todo-top-priorities-buffer): New defconsts.
18620         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
18621         (todo-categories-with-marks, todo-category-string-face)
18622         (todo-comment-face, todo-comment-string, todo-current-todo-file)
18623         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
18624         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
18625         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
18626         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
18627         (todo-font-lock-keywords, todo-global-current-todo-file)
18628         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
18629         (todo-insertion-commands-args)
18630         (todo-insertion-commands-args-genlist)
18631         (todo-insertion-commands-names, todo-insertion-map)
18632         (todo-key-bindings-t, todo-key-bindings-t+a)
18633         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
18634         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
18635         (todo-nondiary-face, todo-print-buffer, todo-time-face)
18636         (todo-visited): New variables.
18638 2013-06-21  Glenn Morris  <rgm@gnu.org>
18640         * play/cookie1.el (cookie-apropos): Add optional display argument.
18641         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
18642         (psychoanalyze-pinhead): Use cookie-doctor.
18644 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
18646         * emacs-lisp/package.el (tar-get-file-descriptor)
18647         (tar--extract): Declare.
18649 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
18651         Extend flymake's warning predicate to be a function (bug#14217).
18652         * progmodes/flymake.el (flymake-warning-predicate): New.
18653         (flymake-parse-line): Use it.
18654         (flymake-warning-re): Make obsolete alias to
18655         `flymake-warning-predicate'.
18657 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18659         * emacs-lisp/package.el (package-alist): Include obsolete packages.
18660         (package-obsolete-list): Remove.
18661         (package-activate): Remove min-version argument.  Add `force' argument.
18662         Adjust to new package-alist format.
18663         (package-mark-obsolete): Remove.
18664         (package-unpack): Force reload of the package's autoloads.
18665         (package-installed-p): Check builtins if the installed package is not
18666         recent enough.
18667         (package-initialize): Don't reset package-obsolete-list.
18668         Don't specify which package version to activate.
18669         (package-process-define-package, describe-package-1)
18670         (package-menu--generate): Adjust to new package-alist format.
18672 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
18674         * allout-widgets.el (allout-widgets-mode-off)
18675         (allout-widgets-mode-on, allout-widgets-pre-command-business)
18676         (allout-widgets-post-command-business)
18677         (allout-widgets-after-copy-or-kill-function)
18678         (allout-widgets-after-undo-function, allout-test-range-overlaps)
18679         (allout-decorate-item-and-context)
18680         (allout-graphics-modification-handler): Fix typos in docstrings.
18681         (allout-get-or-create-parent-widget): Use `looking-at-p'.
18683         * cmuscheme.el (scheme-start-file): Doc fix.
18684         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
18685         (scheme-input-filter): Use `string-match-p'.
18687         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
18689         * dired-x.el: Use Dired consistently in docstrings.
18691         * dired.el: Use Dired consistently in docstrings.
18692         (dired-readin, dired-mode): Use `setq-local'.
18693         (dired-switches-alist): Make defvar-local.
18694         (dired-buffers-for-dir): Use `zerop'.
18695         (dired-safe-switches-p, dired-switches-escape-p)
18696         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
18697         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
18698         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
18699         (dired-goto-next-nontrivial-file): Use `string-match-p'.
18700         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
18701         (dired-toggle-marks, dired-mark-files-containing-regexp)
18702         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
18703         (dired-flag-auto-save-files, dired-flag-backup-files):
18704         Use `looking-at-p'.
18705         (dired-mark-files-regexp, dired-build-subdir-alist):
18706         Use `string-match-p', `looking-at-p'.
18708         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
18709         (direct-print-region-helper): Use `string-match-p'.
18711 2013-06-21  Leo Liu  <sdl.web@gmail.com>
18713         * comint.el (comint-redirect-results-list-from-process):
18714         Fix infinite loop.
18716 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18718         * net/eww.el (eww-update-header-line-format): Quote % characters.
18720 2013-06-21  Glenn Morris  <rgm@gnu.org>
18722         * play/cookie1.el (cookie): New custom group.
18723         (cookie-file): New option.
18724         (cookie-check-file): New function.
18725         (cookie): Make it interactive.  Make start and end messages optional.
18726         Interactively, display the result.  Default to cookie-file.
18727         (cookie-insert): Default to cookie-file.
18728         (cookie-snarf): Make start and end messages optional.
18729         Default to cookie-file.  Use with-temp-buffer.
18730         (cookie-read): Rename from read-cookie.
18731         Make start and end messages optional.  Default to cookie-file.
18732         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
18733         Do not autoload it.
18734         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
18735         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
18737 2013-06-21  Leo Liu  <sdl.web@gmail.com>
18739         * progmodes/octave.el (octave-mode): Backward compatibility fix.
18741 2013-06-21  Glenn Morris  <rgm@gnu.org>
18743         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
18745 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18746             Daniel Hackney  <dan@haxney.org>
18748         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
18749         Consolidate the single-file vs tarball code.
18750         (package-desc-suffix): New function.
18751         (package-desc-full-name): Don't bother inlining it.
18752         (package-load-descriptor): Return the new package-desc.
18753         (package-mark-obsolete): Remove unused arg `package'.
18754         (package-unpack): Make it work for single files as well.
18755         Make it update package-alist.
18756         (package--make-autoloads-and-stuff): Rename from
18757         package--make-autoloads-and-compile.  Don't compile any more.
18758         (package--compile): New function.
18759         (package-generate-description-file): New function, extracted from
18760         package-unpack-single.
18761         (package-unpack-single): Remove.
18762         (package--with-work-buffer): Add indentation and debugging info.
18763         (package-download-single): Remove.
18764         (package-install-from-archive): Rename from package-download-tar, make
18765         it take a pkg-desc, and make it work for single files as well.
18766         (package-download-transaction): Simplify.
18767         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
18768         external tar program.
18769         (package-install-from-buffer): Remove `pkg-desc' argument.
18770         Use package-tar-file-info for tar-mode buffers.
18771         (package-install-file): Simplify accordingly.
18772         (package-archive-base): Change to take a pkg-desc.
18773         * tar-mode.el (tar--check-descriptor): New function, extracted from
18774         tar-get-descriptor.
18775         (tar-get-descriptor): Use it.
18776         (tar-get-file-descriptor): New function.
18777         (tar--extract): New function, extracted from tar-extract.
18778         (tar--extract): Use it.
18779         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
18780         case the summary uses non-ascii.  Adjust to new calling convention of
18781         package-tar-file-info.
18783 2013-06-21  Leo Liu  <sdl.web@gmail.com>
18785         * comint.el (comint-redirect-results-list-from-process):
18786         Fix random delay.  (Bug#14681)
18788 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
18790         * profiler.el (profiler-format-number): Use log, not log10.
18792 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
18794         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
18796 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18798         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
18799         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
18800         yet available.
18801         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
18802         (AUTOGENEL): ... here.
18803         * emacs-lisp/cl-macs.el (cl--sublis): New function.
18804         (cl--defsubst-expand): Use it.
18806 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
18808         * subr.el (log10): Move here from C code, and declare as obsolete.
18809         All uses of (log10 X) replaced with (log X 10).
18811 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
18813         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
18814         Declare with `defvar-local'.
18815         (tabulated-list-use-header-line, tabulated-list-entries)
18816         (tabulated-list-padding, tabulated-list-printer)
18817         (tabulated-list-sort-key): Declare with `defvar-local'.
18818         (tabulated-list-init-header, tabulated-list-print-fake-header):
18819         Use `setq-local'.
18821 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
18823         * arc-mode.el (archive-mode): Add `archive-write-file' to
18824         `write-contents-functions' also for remote files.  (Bug#14652)
18826 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
18828         * cus-edit.el (custom-commands): Fix typos.
18829         (custom-display): Fix tooltip text.
18830         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
18831         Fix typos in docstrings.
18832         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
18833         (custom-unlispify-menu-entry, custom-magic-value-create)
18834         (custom-add-see-also, custom-group-value-create): Use ?\s.
18835         (custom-guess-type, customize-apropos, editable-field)
18836         (custom-face-value-create): Use `string-match-p'.
18837         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
18839         * custom.el (custom-load-symbol): Use `string-match-p'.
18841         * ansi-color.el: Convert to lexical binding.
18842         (ansi-colors): Fix URL.
18843         (ansi-color-context, ansi-color-context-region): Use defvar-local.
18844         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
18845         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
18847 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18849         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
18851         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
18853 2013-06-19  Tom Tromey  <tromey@redhat.com>
18855         * net/eww.el (eww-top-url): Remove.
18856         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
18857         (eww-render): Set new variables.  Don't set eww-top-url.
18858         (eww-handle-link): Handle "prev", "home", and "contents".
18859         Downcase the rel text.
18860         (eww-top-url): Choose best top URL.
18862 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18864         * net/eww.el: Rewrite to implement form elements "by hand" instead of
18865         relying in widget.el.  Using widget.el leads to too many
18866         user interface inconsistencies.
18867         (eww-self-insert): Implement entering commands in text fields.
18868         (eww-process-text-input): New function to make text input field editing
18869         work.
18870         (eww-submit): Rewrite to use the new-style form methods.
18871         (eww-select-display): Display the correct selected item.
18872         (eww-change-select): Implement changing the select value.
18873         (eww-toggle-checkbox): Implement radio/checkboxes.
18874         (eww-update-field): Fix compilation error.
18875         (eww-tag-textarea): Implement <textarea>.
18877         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
18878         we don't shadow mode-specific bindings.
18880         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
18881         nothing to push.
18883         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
18885 2013-06-19  Glenn Morris  <rgm@gnu.org>
18887         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
18889 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
18891         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
18892         not needed.
18894         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
18896 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18898         * net/browse-url.el (browse-url-browser-function):
18899         `eww-browse-url' has the right calling signature, `eww' does not.
18901 2013-06-19  Glenn Morris  <rgm@gnu.org>
18903         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18904         Only eval autoloaded macros.
18905         (byte-compile-autoload): Only give the macro warning for macros.
18907         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
18908         (ps-underlined-faces): Declare.
18910         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
18911         (speedbar-add-supported-extension): Declare.
18913         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
18914         Don't include a date stamp in the header of the generated file;
18915         it leads to needless differences between output files.
18917 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
18919         * net/secrets.el (secrets-struct-secret-content-type):
18920         Replace check of introspection data by a test call of "CreateItem".
18921         Some servers do not offer introspection.
18923 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18925         * electric.el (electric-pair-mode): Improve interaction with
18926         electric-layout-mode.
18927         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
18928         (electric-pair-syntax): Use text-mode-syntax-table in comments
18929         and strings.
18930         (electric-pair--insert): New function.
18931         (electric-pair-post-self-insert-function): Use it and
18932         electric--after-char-pos.
18934 2013-06-19  Leo Liu  <sdl.web@gmail.com>
18936         * progmodes/octave.el (octave-help): Fix regexp.
18938 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18940         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
18941         (shr-table-horizontal-line): Allow nil as a value, and change the
18942         default.
18943         (shr-insert-table-ruler): Respect the nil value.
18945 2013-06-18  Tom Tromey  <tromey@barimba>
18947         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18948         New defvars.
18949         (eww-open-file): New defun.
18950         (eww-render): Initialize new variables.
18951         (eww-display-html): Handle "link" and "a".
18952         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
18953         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
18954         (eww-back-url): Rename from eww-previous-url.
18955         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18956         New defuns.
18958 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
18960         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
18961         Distinguish ternary operator tokens from slash symbol and slash
18962         char literal.
18964 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
18966         Convert symbol prettification into minor mode and global minor mode.
18968         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
18969         `prog-prettify-symbols', and make a local defvar instead of defcustom.
18970         (prettify-symbols--keywords): Rename from
18971         `prog-prettify-symbols-alist' and make a local defvar.
18972         (prettify-symbols--compose-symbol): Rename from
18973         `prog--prettify-font-lock-compose-symbol'.
18974         (prettify-symbols--make-keywords): Rename from
18975         `prog-prettify-font-lock-symbols-keywords' and simplify.
18976         (prog-prettify-install): Remove.
18977         (prettify-symbols-mode): New minor mode, based on
18978         `prog-prettify-install'.
18979         (turn-on-prettify-symbols-mode): New function.
18980         (global-prettify-symbols-mode): New globalized minor mode.
18982         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18983         * progmodes/cfengine.el (cfengine3-mode):
18984         * progmodes/perl-mode.el (perl-mode): Don't call
18985         `prog-prettify-install'; set `prettify-symbols-alist' instead.
18987 2013-06-18  Juri Linkov  <juri@jurta.org>
18989         * files-x.el (modify-file-local-variable-message): New function.
18990         (modify-file-local-variable)
18991         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
18992         and call `modify-file-local-variable-message' when it's non-nil.
18993         (add-file-local-variable, delete-file-local-variable)
18994         (add-file-local-variable-prop-line)
18995         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
18996         and use it.  (Bug#9820)
18998 2013-06-18  Juri Linkov  <juri@jurta.org>
19000         * emulation/vi.el (vi-shell-op):
19001         * emulation/vip.el (vip-execute-com, ex-command):
19002         * emulation/viper-cmd.el (viper-exec-bang):
19003         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
19004         the call of `shell-command-on-region'.  (Bug#14637)
19006         * simple.el (shell-command-on-region): Doc fix.
19008 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19010         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
19011         (bug#14633).
19013 2013-06-18  Glenn Morris  <rgm@gnu.org>
19015         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
19017         * newcomment.el (comment-search-forward, comment-search-backward):
19018         Doc fix.  (Bug#14376)
19020 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
19022         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
19023         (buffer-face-mode-invoke): Doc fix.
19025 2013-06-18  Matthias Meulien  <orontee@gmail.com>
19027         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
19028         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
19030 2013-06-18  Glenn Morris  <rgm@gnu.org>
19032         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
19033         Replace obsolete function generic-make-keywords with its expansion.
19035         * progmodes/python.el (ffap-alist): Declare.
19037         * textmodes/reftex.el (bibtex-mode-map): Declare.
19039 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19041         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
19042         (package-unpack, package-unpack-single): Return the pkg-dir.
19043         (package-download-transaction): Use it to update package-alist.
19045 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19047         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
19048         possible choice.
19050 2013-06-17  Juri Linkov  <juri@jurta.org>
19052         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
19054 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
19056         * emacs-lisp/package.el (package-load-descriptor):
19057         Remove `with-syntax-table' call, `read' doesn't need it.
19058         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
19060 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
19062         * startup.el (command-line): Expand package name returned by
19063         `package--description-file' (bug#14639).
19065 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
19067         * emacs-lisp/package.el (package-load-descriptor): Do not call
19068         `emacs-lisp-mode', just use its syntax table.
19070 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
19072         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
19073         `font-lock-extra-managed-props' if any prettifying keyword is added.
19074         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
19075         (prog-mode): Use `setq-local'.
19077 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19079         * international/characters.el (standard-case-table): Set syntax of ?»
19080         and ?« to punctuation.
19082 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
19084         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
19085         Save relevant match data before calling `syntax-ppss' (bug#14595).
19087 2013-06-15  Juri Linkov  <juri@jurta.org>
19089         * files-x.el (modify-file-local-variable-prop-line): Add local
19090         variables to the end of the existing comment on the first line.
19091         Use `file-auto-mode-skip' to skip interpreter magic line,
19092         and also skip XML declaration.
19094 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19096         * startup.el (package--builtin-versions): New var.
19097         (package-subdirectory-regexp): Remove.
19098         (package--description-file): Hard code its value instead.
19100         * emacs-lisp/package.el: Don't activate packages older than builtin.
19101         (package-obsolete-list): Rename from package-obsolete-alist, and make
19102         it into a simple list of package-desc.
19103         (package-strip-version): Remove.
19104         (package-built-in-p): Use package--builtin-versions.
19105         (package-mark-obsolete): Simplify.
19106         (package-process-define-package): Mark it obsolete if older than the
19107         builtin version.
19108         (package-handle-response): Use line-end-position.
19109         (package-read-archive-contents, package--download-one-archive):
19110         Simplify.
19111         (package--add-to-archive-contents): Skip if older than the builtin or
19112         installed version.
19113         (package-menu-describe-package): Fix last change.
19114         (package-list-unversioned): New var.
19115         (package-menu--generate): Use it.
19117         * emacs-lisp/autoload.el: Manage package--builtin-versions.
19118         (autoload--insert-text, autoload--insert-cookie-text): New functions.
19119         (autoload-builtin-package-versions): New variable.
19120         (autoload-generate-file-autoloads): Use them.
19121         Remove the list of autoloaded functions/macros from the
19122         (autoload...) comments.
19124         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
19126 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
19128         * simple.el (line-move-partial): Don't jump to the next screen
19129         line as soon as it becomes visible.  Instead, continue enlarging
19130         the vscroll until the portion of a tall screen line that's left on
19131         display is about the height of the frame's default font.
19132         (Bug#14567)
19134 2013-06-15  Glenn Morris  <rgm@gnu.org>
19136         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
19137         compilation-error-regexp-alist void, or local while let-bound.
19139         * progmodes/make-mode.el (makefile-mode-syntax-table):
19140         Treat "=" as punctuation.  (Bug#14614)
19142 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
19144         * help-fns.el (describe-variable):
19145         Add extra line for permanent-local variables.
19147 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
19149         * progmodes/scheme.el (scheme-font-lock-keywords-2):
19150         Add export, import, library.  (Bug#9164)
19151         (library): Set indent function.
19153 2013-06-14  Glenn Morris  <rgm@gnu.org>
19155         * term/xterm.el (xterm--query):
19156         Stop after first matching handler.  (Bug#14615)
19158 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
19160         Add support for dired in saveplace.
19161         * dired.el (dired-initial-position-hook): New variable.
19162         (dired-initial-position): Call hook to place cursor position.
19163         * saveplace.el (save-place-to-alist): Add dired position.
19164         (save-place-dired-hook): New function.
19166 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19168         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
19169         through a symbol rather than letrec.
19171         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
19172         (package-desc): Add `dir' field.
19173         (package-desc-full-name): New function.
19174         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
19175         (package-maybe-load-descriptor): Remove.
19176         (package-load-all-descriptors): Just call package-load-descriptor.
19177         (package--disabled-p): New function.
19178         (package-desc-vers, package-desc-doc): Remove aliases.
19179         (package--dir): Remove function.
19180         (package-activate): Check if a package is disabled.
19181         (package-process-define-package): New function, extracted from
19182         define-package.
19183         (define-package): Turn into a place holder.
19184         (package-unpack-single, package-tar-file-info):
19185         Use package--description-file.
19186         (package-compute-transaction): Use package--disabled-p.
19187         (package-download-transaction): Don't call
19188         package-maybe-load-descriptor since they're all loaded anyway.
19189         (package-install): Change argument to be a pkg-desc.
19190         (package-delete): Use a single pkg-desc argument.
19191         (describe-package-1): Use package-desc-dir instead of package--dir.
19192         Use package-desc property instead of package-symbol.
19193         (package-install-button-action): Adjust accordingly.
19194         (package--push): Rewrite.
19195         (package-menu--print-info): Adjust accordingly.  Change the ID format
19196         to be a pkg-desc.
19197         (package-menu-describe-package, package-menu-get-status)
19198         (package-menu--find-upgrades, package-menu-mark-upgrades)
19199         (package-menu-execute, package-menu--name-predicate):
19200         Adjust accordingly.
19201         * startup.el (package--description-file): New function.
19202         (command-line): Use it.
19203         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19204         Use package-desc-version.
19206         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
19207         (byte-compile-preprocess): Use it.
19208         (byte-compile-file-form-defalias): Try a bit harder to use macros we
19209         can't quite recognize.
19210         (byte-compile-add-to-list): Remove.
19211         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
19212         (cconv-closure-convert): Add assertion.
19214         * emacs-lisp/map-ynp.el: Use lexical-binding.
19215         (map-y-or-n-p): Remove unused vars `tail' and `object'.
19216         Factor out some repeated code.
19218 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19220         * subr.el (with-eval-after-load): New macro.
19221         (eval-after-load): Allow form to be a function.
19222         take advantage of lexical-binding.
19223         (do-after-load-evaluation): Use dolist and adjust to new format.
19224         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
19226 2013-06-13  Juri Linkov  <juri@jurta.org>
19228         * replace.el (perform-replace): Display "symbol " and other search
19229         modes from `isearch-message-prefix' in the *Help* buffer.
19231         * isearch.el (isearch-query-replace): Add " symbol" and other
19232         possible search modes from `isearch-message-prefix' to the prompt.
19233         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
19234         when reading a regexp to collect.
19236 2013-06-13  Juri Linkov  <juri@jurta.org>
19238         * isearch.el (word-search-regexp): Match whitespace if the search
19239         string begins or ends in whitespace.  The LAX arg is applied to
19240         both ends of the search string.  Use `regexp-quote' and explicit
19241         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
19242         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
19243         boundaries are replaced with symbol boundaries, and characters
19244         between symbols match non-word non-symbol syntax.  (Bug#14602)
19246 2013-06-13  Juri Linkov  <juri@jurta.org>
19248         * isearch.el (isearch-del-char): Don't exceed the length of
19249         `isearch-string' by the prefix arg.  (Bug#14563)
19251 2013-06-13  Juri Linkov  <juri@jurta.org>
19253         * isearch.el (isearch-yank-word, isearch-yank-line)
19254         (isearch-char-by-name, isearch-quote-char)
19255         (isearch-printing-char, isearch-process-search-char):
19256         Add optional count prefix arg.  (Bug#14563)
19258         * international/isearch-x.el
19259         (isearch-process-search-multibyte-characters):
19260         Add optional count prefix arg.
19262 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19264         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
19265         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
19266         lexical-binding.
19268 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
19270         * subr.el (set-temporary-overlay-map): Add on-exit argument.
19272 2013-06-13  Glenn Morris  <rgm@gnu.org>
19274         * startup.el (tty-handle-args):
19275         Don't just discard "--" and anything after.  (Bug#14608)
19277         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
19279 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
19281         Implement changes in Secret Service API.  Make it backward compatible.
19282         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
19283         (secrets-create-item): Use it.  Prefix properties with interface.
19285 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
19287         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
19288         (term-emulate-terminal): Respect term-suppress-hard-newline.
19290 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
19292         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
19293         Only remove a `thumb-file' overlay.  (Bug#14548)
19295 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
19297         * mail/reporter.el (reporter-submit-bug-report):
19298         Handle missing package-name.  (Bug#14600)
19300 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19302         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
19303         (reftex-citation-prompt, reftex-default-bibliography)
19304         (reftex-bib-or-thebib, reftex-get-bibfile-list)
19305         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
19306         (reftex-bib-sort-author, reftex-bib-sort-year)
19307         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
19308         (reftex-extract-bib-entries-from-thebibliography)
19309         (reftex-get-bibkey-default, reftex-get-bib-names)
19310         (reftex-parse-bibtex-entry, reftex-get-bib-field)
19311         (reftex-format-bib-entry, reftex-parse-bibitem)
19312         (reftex-format-bibitem, reftex-do-citation)
19313         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
19314         (reftex-restrict-bib-matches, reftex-extract-bib-file)
19315         (reftex-insert-bib-matches, reftex-format-citation)
19316         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
19317         (reftex-create-bibtex-file): Add docstrings, mostly by converting
19318         existing comments into docstrings.
19320 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
19322         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
19324 2013-06-12  Andreas Schwab  <schwab@suse.de>
19326         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
19327         for auto-save files.
19329 2013-06-12  Glenn Morris  <rgm@gnu.org>
19331         * ido.el (ido-delete-ignored-files): Remove.
19332         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
19333         Go back to calling ido-ignore-item-p directly.
19335 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
19337         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
19339         * ido.el (ido-delete-ignored-files): New function,
19340         split from ido-make-file-list-1.
19341         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
19342         (ido-make-file-list-1): Use ido-delete-ignored-files.
19344 2013-06-12  Leo Liu  <sdl.web@gmail.com>
19346         * progmodes/octave.el (inferior-octave-startup)
19347         (inferior-octave-completion-table)
19348         (inferior-octave-track-window-width-change)
19349         (octave-eldoc-function-signatures, octave-help)
19350         (octave-find-definition): Use single quoted strings.
19351         (inferior-octave-startup-args): Change default value.
19352         (inferior-octave-startup): Do not hard code "-i" and
19353         "--no-line-editing".
19354         (inferior-octave-resync-dirs): Add optional arg NOERROR.
19355         (inferior-octave-directory-tracker): Use it.
19356         (octave-goto-function-definition): Robustify.
19357         (octave-help): Support highlighting operators in 'See also'.
19358         (octave-find-definition): Find subfunctions only in Octave mode.
19360 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19362         * help-fns.el (help-fns--compiler-macro): If the handler function is
19363         named, then put a link to it.
19364         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
19365         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
19366         (cl-typep): Use it.
19367         (cl-eval-when): Simplify debug spec.
19368         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
19369         compiler-macro function instead of setting `compiler-macro-file'.
19371 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
19373         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
19374         * vc/vc-hooks.el (vc-stay-local): Doc fix.
19376 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19377             Daniel Hackney  <dan@haxney.org>
19379         First part of Daniel Hackney's patch to package.el.
19380         * emacs-lisp/package.el: Use defstruct.
19381         (package-desc): New, main struct.
19382         (package--bi-desc, package--ac-desc): New structs, used to describe the
19383         format in external files.
19384         (package-desc-vers): Replace with package-desc-version accessor.
19385         (package-desc-doc): Replace with package-desc-summary accessor.
19386         (package-activate-1): Remove `package' arg since the pkg-vec now
19387         includes the name.
19388         (define-package): Use package-desc-from-define.
19389         (package-unpack-single): Change file-name arg to be a symbol.
19390         (package--add-to-archive-contents): Use package-desc-create and new
19391         accessor functions to package--ac-desc.
19392         (package-buffer-info, package-tar-file-info): Return a package-desc.
19393         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
19394         arg to be a package-desc.
19395         (package-install-file): Adjust accordingly.  Use \' to match EOS.
19396         (package--from-builtin): New function.
19397         (describe-package-1, package-menu--generate): Use it.
19398         (package--make-autoloads-and-compile): Change name arg to be a symbol.
19399         (package-generate-autoloads): Idem and return the name of the file.
19400         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19401         Change pkg-info arg to be a package-desc.
19402         Use package-make-ac-desc.
19403         (package-upload-file): Use \' to match EOS.
19404         * finder.el (finder-compile-keywords): Use package-make-builtin.
19406 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19408         * vc/vc.el (vc-deduce-fileset): Change error message.
19409         (vc-read-backend): New function.
19410         (vc-next-action): Use it.
19412         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
19414         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
19415         (prolog-font-lock-keywords): Use regexp-opt instead.
19416         Don't manually highlight strings.
19417         (prolog-mode-variables): Simplify comment-start-skip.
19418         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
19420         * emacs-lisp/generic.el (generic--normalise-comments)
19421         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
19422         (generic-mode-set-comments): Use them.
19423         (generic-bracket-support): Use setq-local.
19424         (generic-make-keywords-list): Declare obsolete.
19426 2013-06-11  Glenn Morris  <rgm@gnu.org>
19428         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19429         Prettify after setting font-lock-defaults.  (Bug#14574)
19431 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
19433         * replace.el (query-replace, occur-read-regexp-defaults-function)
19434         (replace-search):
19435         * subr.el (declare-function, number-sequence, local-set-key)
19436         (substitute-key-definition, locate-user-emacs-file)
19437         (with-silent-modifications, split-string, eval-after-load):
19438         Fix typos, remove unneeded backslashes and reflow some docstrings.
19440 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19442         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
19443         default for Elisp files.
19445 2013-06-11  Glenn Morris  <rgm@gnu.org>
19447         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
19448         although define-derived-mode was doing this anyway.  (Bug#14583)
19450 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
19452         * allout.el (allout-encryption-plaintext-sanitization-regexps):
19453         Fix make-variable-buffer-local call to refer to the correct variable.
19455 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
19457         * eshell/em-term.el (eshell-visual-commands)
19458         (eshell-visual-subcommands, eshell-visual-options):
19459         Add summary line to docstrings.  Add cross-references.
19461 2013-06-10  Glenn Morris  <rgm@gnu.org>
19463         * epa.el (epa-read-file-name): New function.  (Bug#14510)
19464         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
19466 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
19468         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
19469         output redirection to be ignored with visual commands.
19471 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
19473         * eshell/em-term.el (eshell-visual-command-p): New function.
19474         (eshell-term-initialize): Move long lambda to separate function
19475         eshell-visual-command-p.
19476         * eshell/em-dirs.el (eshell-dirs-initialize):
19477         * eshell/em-script.el (eshell-script-initialize):
19478         Add missing #' to lambda.
19480 2013-06-08  Leo Liu  <sdl.web@gmail.com>
19482         * progmodes/octave.el (octave-add-log-current-defun): New function.
19483         (octave-mode): Set add-log-current-defun-function.
19484         (octave-goto-function-definition): Do not move point if not found.
19485         (octave-find-definition): Enhance to try subfunctions first.
19487 2013-06-08  Glenn Morris  <rgm@gnu.org>
19489         * emacs-lisp/bytecomp.el (byte-compile-char-before)
19490         (byte-compile-backward-char, byte-compile-backward-word):
19491         Improve previous change, to handle non-explicit nil.
19493 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19495         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
19496         (smie--opener/closer-at-point): New function.
19497         (smie--matching-block-data): Use it.  Don't match from right after an
19498         opener or right before a closer.  Obey smie-blink-matching-inners.
19499         Don't signal a mismatch for repeated inners like "switch..case..case".
19501 2013-06-07  Leo Liu  <sdl.web@gmail.com>
19503         * progmodes/octave.el (octave-mode): Set comment-use-global-state
19504         to t.  (Bug#14303)
19505         (octave-function-header-regexp): Fix.  (Bug#14570)
19506         (octave-help-mode-finish-hook, octave-help-mode-finish):
19507         Remove.  Just use temp-buffer-show-hook.
19509         * newcomment.el (comment-search-backward): Revert last change.
19510         (Bug#14434)
19512         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
19514 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
19516         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
19517         through xargs, to avoid failure due to MS-Windows limitations on
19518         command-line length.
19520 2013-06-06  Glenn Morris  <rgm@gnu.org>
19522         * font-lock.el (lisp-font-lock-keywords-2):
19523         Treat user-error like error.
19525         * emacs-lisp/bytecomp.el (byte-compile-char-before)
19526         (byte-compile-backward-char, byte-compile-backward-word):
19527         Handle explicit nil arguments.  (Bug#14565)
19529 2013-06-05  Alan Mackenzie  <acm@muc.de>
19531         * isearch.el (isearch-allow-prefix): New user option.
19532         (isearch-other-meta-char): Don't exit isearch when a prefix
19533         argument is typed whilst `isearch-allow-prefix' is non-nil.
19534         (Bug#9706)
19536 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19538         * autorevert.el (auto-revert-notify-handler): Use memq.
19539         Hide assertion failure.
19541         * skeleton.el: Use cl-lib.
19542         (skeleton-further-elements): Use defvar-local.
19543         (skeleton-insert): Use cl-progv.
19545 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
19547         * progmodes/prog-mode.el (prog-prettify-symbols)
19548         (prog-prettify-install): Update docstrings.
19550 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19552         * simple.el: Move all the prog-mode code to prog-mode.el.
19553         * progmodes/prog-mode.el: New file.
19554         * loadup.el: Add prog-mode.el.
19556 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
19558         * simple.el (prog-prettify-symbols): Add version.
19559         (prog-prettify-install): Add convenience function to prettify symbols.
19561         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
19562         (perl--augmented-font-lock-keywords-1)
19563         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
19564         variables and use it.
19566         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19567         (cfengine3-mode): Remove unneeded variable and use it.
19569         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19570         (lisp--augmented-font-lock-keywords-1)
19571         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
19572         Remove unneeded variables and use it.
19574 2013-06-05  João Távora  <joaotavora@gmail.com>
19576         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
19577         to point when opening the connection.  (Bug#14380)
19579 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19581         * subr.el (load-history-regexp, load-history-filename-element)
19582         (eval-after-load, after-load-functions, do-after-load-evaluation)
19583         (eval-next-after-load, display-delayed-warnings)
19584         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
19585         definition of save-match-data.
19586         (overriding-local-map): Remove accidental obsolescence declaration.
19588         * emacs-lisp/edebug.el (edebug-result): Move before first use.
19590 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
19592         Generalize symbol prettify support to prog-mode and implement it
19593         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
19594         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
19595         (prog--prettify-font-lock-compose-symbol)
19596         (prog-prettify-font-lock-symbols-keywords): New variables and
19597         functions to support symbol prettification.
19598         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19599         (lisp--augmented-font-lock-keywords-1)
19600         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
19601         (lisp--prettify-symbols-alist): Implement prettify of lambda.
19602         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19603         (cfengine3--prettify-symbols-alist, cfengine3-mode):
19604         Implement prettify of -> => :: strings.
19605         * progmodes/perl-mode.el (perl-prettify-symbols)
19606         (perl--font-lock-compose-symbol)
19607         (perl--font-lock-symbols-keywords): Move to prog-mode.
19608         (perl--prettify-symbols-alist): Prettify -> => :: strings.
19609         (perl-font-lock-keywords-1)
19610         (perl-font-lock-keywords-2): Remove explicit prettify support.
19611         (perl--augmented-font-lock-keywords)
19612         (perl--augmented-font-lock-keywords-1)
19613         (perl--augmented-font-lock-keywords-2, perl-mode):
19614         Implement prettify support.
19616 2013-06-05  Leo Liu  <sdl.web@gmail.com>
19618         Re-implement SMIE matching block highlight using
19619         show-paren-data-function.  (Bug#14395)
19620         * emacs-lisp/smie.el (smie-matching-block-highlight)
19621         (smie--highlight-matching-block-overlay)
19622         (smie--highlight-matching-block-lastpos)
19623         (smie-highlight-matching-block)
19624         (smie-highlight-matching-block-mode): Remove.
19625         (smie--matching-block-data-cache): New variable.
19626         (smie--matching-block-data): New function.
19627         (smie-setup): Use smie--matching-block-data for
19628         show-paren-data-function.
19630         * progmodes/octave.el (octave-mode-menu): Fix.
19631         (octave-find-definition): Skip garbage lines.
19633 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19635         Fix compilation error with simultaneous dynamic+lexical scoping.
19636         Add warning when a defvar appears after the first let-binding.
19637         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
19638         (byte-compile-close-variables): Initialize it.
19639         (byte-compile--declare-var): New function.
19640         (byte-compile-file-form-defvar)
19641         (byte-compile-file-form-define-abbrev-table)
19642         (byte-compile-file-form-custom-declare-variable): Use it.
19643         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
19644         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
19645         (byte-compile-bind): Handle dynamic bindings that shadow
19646         lexical bindings.
19647         (byte-compile-unbind): Make arg non-optional.
19648         (byte-compile-let): Simplify.
19649         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
19650         (cconv--analyse-function, cconv-analyse-form): Populate it.
19651         Protect byte-compile-bound-variables to limit the scope of defvars.
19652         (cconv-analyse-form): Add missing rule for (defvar <foo>).
19653         Remove unneeded rule for `declare'.
19655         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
19656         so as to avoid depending on cl-adjoin at run-time.
19657         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
19659         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
19660         (macroexp--warn-and-return): Use it.
19662 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19664         * subr.el: Convert to lexical binding.
19665         (overriding-local-map): Make obsolete.
19666         (add-to-list): Doc fix.  Add compiler macro.
19667         (read-key): Swap values of local maps.
19669 2013-06-05  Leo Liu  <sdl.web@gmail.com>
19671         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
19673 2013-06-04  Leo Liu  <sdl.web@gmail.com>
19675         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
19676         (compilation-auto-jump): Suppress the "Mark set" message to give
19677         way to exit message.
19679 2013-06-04  Alan Mackenzie  <acm@muc.de>
19681         Remove faulty optimization from indentation calculation.
19682         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
19683         search limit based on 2000 characters back from indent-point.
19685 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
19687         * eshell/em-term.el (cl-lib): Require `cl-lib'.
19689 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19691         * emacs-lisp/lisp.el: Use lexical-binding.
19692         (lisp--local-variables-1, lisp--local-variables): New functions.
19693         (lisp--local-variables-completion-table): New var.
19694         (lisp-completion-at-point): Use it complete let-bound vars.
19696         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
19697         eagerly (bug#14422).
19699 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
19701         * autorevert.el (auto-revert-notify-enabled)
19702         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19703         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
19704         (auto-revert-notify-handler): Handle also gfilenotify.
19706         * subr.el (file-notify-handle-event): New defun.  Replacing ...
19707         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
19708         Remove.
19710 2013-06-03  Juri Linkov  <juri@jurta.org>
19712         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
19713         `M-s h .'.  (Bug#14427)
19715         * hi-lock.el (highlight-symbol-at-point): New alias for the new
19716         command `hi-lock-face-symbol-at-point'.
19717         (hi-lock-face-symbol-at-point): New command.
19718         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
19719         (hi-lock-menu): Add `highlight-symbol-at-point'.
19720         (hi-lock-mode): Doc fix.
19722         * isearch.el (isearch-forward-symbol-at-point): New command.
19723         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
19724         (isearch-highlight-regexp): Add a regexp which matches
19725         words/symbols for word/symbol mode.
19727         * subr.el (find-tag-default-bounds): New function with the body
19728         mostly moved from `find-tag-default'.
19729         (find-tag-default): Move most code to `find-tag-default-bounds',
19730         call it and apply `buffer-substring-no-properties' afterwards.
19732 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
19734         * eshell/em-term.el (eshell-term-initialize):
19735         Use `cl-intersection' rather than `intersection'.
19737 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
19739         * vc/log-view.el: Doc fix.
19740         (log-view-mode-map): Copy keymap from `special-mode-map'.
19742 2013-06-02  Eric Ludlam  <zappo@gnu.org>
19744         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
19745         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
19746         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
19747         (eieio-unbound, eieio-default-superclass)
19748         (eieio--define-field-accessors, method-static, method-before)
19749         (method-primary, method-after, method-num-lists)
19750         (method-generic-before, method-generic-primary)
19751         (method-generic-after, method-num-slots)
19752         (eieio-specialized-key-to-generic-key)
19753         (eieio--check-type, class-v, class-p)
19754         (eieio-class-name, define-obsolete-function-alias)
19755         (eieio-class-parents-fast, eieio-class-children-fast)
19756         (same-class-fast-p, class-constructor, generic-p)
19757         (generic-primary-only-p, generic-primary-only-one-p)
19758         (class-option-assoc, class-option, eieio-object-p)
19759         (class-abstract-p, class-method-invocation-order)
19760         (eieio-defclass-autoload-map, eieio-defclass-autoload)
19761         (eieio-class-un-autoload, eieio-defclass)
19762         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
19763         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
19764         (eieio--defgeneric-init-form, eieio-defgeneric-form)
19765         (eieio-defgeneric-reset-generic-form)
19766         (eieio-defgeneric-form-primary-only)
19767         (eieio-defgeneric-reset-generic-form-primary-only)
19768         (eieio-defgeneric-form-primary-only-one)
19769         (eieio-defgeneric-reset-generic-form-primary-only-one)
19770         (eieio-unbind-method-implementations)
19771         (eieio--defmethod, eieio--typep)
19772         (eieio-perform-slot-validation, eieio-validate-slot-value)
19773         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
19774         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
19775         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
19776         (eieio-slot-name-index, eieio-class-slot-name-index)
19777         (eieio-set-defaults, eieio-initarg-to-attribute)
19778         (eieio-attribute-to-initarg, eieio-c3-candidate)
19779         (eieio-c3-merge-lists, eieio-class-precedence-c3)
19780         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
19781         (eieio-class-precedence-list, eieio-generic-call-methodname)
19782         (eieio-generic-call-arglst, eieio-generic-call-key)
19783         (eieio-generic-call-next-method-list)
19784         (eieio-pre-method-execution-functions, eieio-generic-call)
19785         (eieio-generic-call-primary-only, eieiomt-method-list)
19786         (eieiomt-optimizing-obarray, eieiomt-install)
19787         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
19788         (eieio-generic-form, eieio-defmethod, make-obsolete)
19789         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
19790         (defclass): Remove `eval-and-compile' from macro.
19791         (call-next-method, shared-initialize): Instead of using
19792         `scoped-class' variable, use new eieio--scoped-class, and
19793         eieio--with-scoped-class.
19794         (initialize-instance): Rename local variable 'scoped-class' to
19795         'this-class' to remove ambiguitity from old global.
19797         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
19798         eieio.el.
19799         (eieio--scoped-class-stack): New variable.
19800         (eieio--scoped-class): New fcn.
19801         (eieio--with-scoped-class): New scoping macro.
19802         (eieio-defclass): Use pushnew instead of add-to-list.
19803         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
19804         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
19805         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
19806         `scoped-class' variable, use new eieio--scoped-class, and
19807         eieio--with-scoped-class.
19809         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
19811 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
19813         * eshell/esh-ext.el (eshell-external-command): Pass args to
19814         `eshell-find-interpreter'.
19815         (eshell-find-interpreter): Add new second parameter ARGS.
19817         * eshell/em-script.el (eshell-script-initialize): Add second arg
19818         to the function added as MATCH to `eshell-interpreter-alist'.
19820         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
19821         the function added as MATCH to `eshell-interpreter-alist'.
19823         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
19824         (eshell-visual-options): New defcustom.
19825         (eshell-escape-control-x): Adapt docstring.
19826         (eshell-term-initialize): Test `eshell-visual-subcommands' and
19827         `eshell-visual-options' in addition to `eshell-visual-commands'.
19828         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
19830 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19832         * progmodes/python.el (python-indent-block-enders): Add break,
19833         continue and raise keywords.
19835 2013-06-01  Glenn Morris  <rgm@gnu.org>
19837         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
19839         Plain (f)boundp silences compilation warnings since Emacs 22.1.
19840         * progmodes/cc-cmds.el (delete-forward-p):
19841         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
19842         * progmodes/cc-engine.el (buffer-syntactic-context):
19843         * progmodes/cc-fonts.el (face-property-instance):
19844         * progmodes/cc-mode.el (set-keymap-parents):
19845         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
19846         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
19847         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
19848         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
19849         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
19851         * progmodes/cc-vars.el (other): Emacs has this widget since
19852         at least 21.1, so don't (re)define it.
19854         * eshell/em-cmpl.el (eshell-cmpl-initialize):
19855         Replace the obsolete alias pcomplete-arg-quote-list.
19857 2013-06-01  Leo Liu  <sdl.web@gmail.com>
19859         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
19860         punctuation syntax.
19861         (inferior-octave-minimal-columns)
19862         (inferior-octave-last-column-width): New variables.
19863         (inferior-octave-track-window-width-change): New function.
19864         (inferior-octave-mode): Adjust column width so that Octave output,
19865         for example from 'ls', can fit into the window nicely.
19867 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
19869         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19870         Highlight expansions inside regexp literals.
19872 2013-05-31  Glenn Morris  <rgm@gnu.org>
19874         * obsolete/sym-comp.el (symbol-complete):
19875         Replace obsolete completion-annotate-function.
19877         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
19879 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
19881         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19882         New function, checks if point is inside a literal that allows
19883         expression expansion.
19884         (ruby-syntax-propertize-expansion): Use it.
19885         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
19886         around the body.
19888 2013-05-30  Juri Linkov  <juri@jurta.org>
19890         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
19891         to "\M-si".
19892         (isearch-invisible): New variable.
19893         (isearch-forward): Doc fix.
19894         (isearch-mode): Set `isearch-invisible'
19895         to the value of `search-invisible'.
19896         (isearch-toggle-case-fold): Doc fix.
19897         (isearch-toggle-invisible): New command.
19898         (isearch-query-replace): Let-bind `search-invisible'
19899         to the value of `isearch-invisible'.
19900         (isearch-search): Use `isearch-invisible' instead of
19901         `search-invisible'.  Let-bind `search-invisible'
19902         to the value of `isearch-invisible'.  (Bug#11378)
19904 2013-05-30  Juri Linkov  <juri@jurta.org>
19906         * replace.el (perform-replace): Avoid `isearch-range-invisible'
19907         call when `query-flag' is nil and `search-invisible' is non-nil.
19908         (Bug#11746)
19910 2013-05-30  Glenn Morris  <rgm@gnu.org>
19912         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
19914         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
19915         (cc-require): Suppress spurious "noruntime" warnings.
19916         (cc-require-when-compile): Use fboundp, for sake of compiler.
19918         * progmodes/cc-mode.el: Move load of cc-vars before that of
19919         cc-langs (which in turn loads cc-vars), to quieten compiler.
19921 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19923         * paren.el: Simplify the code.
19924         (show-paren-mode): Always start the timer.
19925         (show-paren--idle-timer): Rename from show-paren-idle-timer.
19926         (show-paren--overlay, show-paren--overlay-1): Rename from
19927         show-paren-overlay and show-paren-overlay-1, and initialize to an
19928         overlay rather than to nil.
19929         (show-paren-function): Misc cleanup and simplifications.
19931 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19933         * paren.el (show-paren-data-function): New hook.
19934         (show-paren--default): New function, extracted from show-paren-function.
19935         (show-paren-function): Use show-paren-data-function.
19937 2013-05-30  Glenn Morris  <rgm@gnu.org>
19939         * ielm.el (ielm-map, ielm-complete-symbol):
19940         Use completion-at-point rather than obsolete functions.
19941         (inferior-emacs-lisp-mode): Doc fix.
19942         Set completion-at-point-functions, rather than
19943         comint-dynamic-complete-functions.
19945         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
19946         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
19947         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
19949         * image.el (image-animated-p): Tweak definition.
19951         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
19952         (rlogin-process-connection-type): Tweak default.  Add set-after.
19953         (rlogin-host): Doc fix.
19954         (rlogin): Tweak prompt.
19955         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
19957         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
19958         * progmodes/tcl.el (inferior-tcl-mode-map):
19959         Use completion-at-point rather than obsolete alias.
19961         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
19963         * minibuffer.el (read-file-name-completion-ignore-case):
19964         Move before completion--in-region, for eager macro expansion.
19966 2013-05-29  Juri Linkov  <juri@jurta.org>
19968         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
19969         for total count of matching lines.  Add `global-matches' for total
19970         count of matches.  Rename `matches' to `lines' for count of
19971         matching lines.  Add `matches' for count of matches.
19972         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
19973         to `prev-line' for line number of prev match endpt.
19974         Increment `matches' for every match.  Print the number of
19975         matching lines in the header.
19976         (occur-context-lines): Rename `lines' to `curr-line'.
19977         Rename `prev-lines' to `prev-line'.  (Bug#14017)
19979 2013-05-29  Juri Linkov  <juri@jurta.org>
19981         * replace.el (perform-replace): Add `skip-read-only-count',
19982         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
19983         Increment them for corresponding conditions and report the number
19984         of skipped occurrences in the final message.  (Bug#11746)
19985         (query-replace, query-replace-regexp, query-replace-regexp-eval)
19986         (replace-string, replace-regexp): Doc fix.
19988 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19990         * emacs-lisp/trace.el (trace--read-args): Provide a default.
19992         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
19993         prog-mode-map (bug#14504).
19995 2013-05-29  Leo Liu  <sdl.web@gmail.com>
19997         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
19998         (octave-help): Small simplification.
20000         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
20001         off the highlight first.
20003 2013-05-29  Glenn Morris  <rgm@gnu.org>
20005         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
20006         Handle idlwave-last-system-routine-info-cons-cell being nil.
20008         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
20009         (idlwave-write-paths): Simplify via with-temp-buffer.
20011         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
20012         * emulation/cua-rect.el: Also load cua-base at run time.
20014         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
20015         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
20016         (cperl-imenu-on-info): Require imenu.
20018 2013-05-28  Alan Mackenzie  <acm@muc.de>
20020         Handle "capitalised keywords" correctly.
20021         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
20023 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
20025         * eshell/em-unix.el: Add -r option to cp.
20027 2013-05-28  Glenn Morris  <rgm@gnu.org>
20029         * vc/vc-arch.el (vc-exec-after): Declare.
20030         (vc-switches): Autoload.
20031         * vc/vc-bzr.el: No need to require vc when compiling.
20032         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
20033         (vc-resynch-buffer, vc-dir-refresh): Declare.
20034         (vc-setup-buffer, vc-switches): Autoload.
20035         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
20036         (vc-resynch-buffer): Declare.
20037         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
20038         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
20039         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
20040         (grep-read-regexp, grep-read-files, grep-expand-template)
20041         (vc-dir-refresh): Declare.
20042         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
20043         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
20044         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
20045         * vc/vc-mtn.el (vc-exec-after): Declare.
20046         (vc-switches): Autoload.
20047         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
20048         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
20049         (vc-file-tree-walk): Declare.
20050         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
20051         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
20052         (vc-tag-precondition, vc-rename-master): Autoload.
20053         * vc/vc-svn.el (vc-exec-after): Declare.
20054         (vc-switches, vc-setup-buffer): Autoload.
20055         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
20056         Autoload.
20057         (vc-resynch-buffer): Declare.
20059         * obsolete/fast-lock.el (byte-compile-warnings):
20060         Don't warn about obsolete features in this obsolete file.
20062         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
20063         Move definition before use.
20065         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
20066         (dun-unix-verbs): Remove dun-zippy.
20067         (dun-zippy): Remove function.
20069         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
20071 2013-05-27  Juri Linkov  <juri@jurta.org>
20073         * replace.el (replace-search): New function with code moved out
20074         from `perform-replace'.
20075         (replace-highlight, replace-dehighlight): Move function definitions
20076         up closer to `replace-search'.  (Bug#11746)
20078 2013-05-27  Juri Linkov  <juri@jurta.org>
20080         * replace.el (perform-replace): Ignore invisible matches.
20081         In addition to checking `query-replace-skip-read-only', also
20082         filter out matches by calling `run-hook-with-args-until-failure'
20083         on `isearch-filter-predicates', and also check `search-invisible'
20084         for t or call `isearch-range-invisible'.
20085         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
20087 2013-05-27  Juri Linkov  <juri@jurta.org>
20089         * isearch.el (isearch-filter-predicates): Rename from
20090         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
20091         (isearch-message-prefix): Display text from the property
20092         `isearch-message-prefix' of the currently active filters.
20093         (isearch-search): Don't compare `isearch-filter-predicate' with
20094         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
20095         on `isearch-filter-predicates'.  Also check `search-invisible' for t
20096         or call `isearch-range-invisible'.
20097         (isearch-filter-visible): Make obsolete.
20098         (isearch-lazy-highlight-search):
20099         Call `run-hook-with-args-until-failure' on
20100         `isearch-filter-predicates' and use `isearch-range-invisible'.
20102         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
20103         `isearch-filter-predicates' instead of `funcall'ing
20104         `isearch-filter-predicate'.
20105         (Info-mode): Set `Info-isearch-filter' to
20106         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
20108         * dired-aux.el (dired-isearch-filter-predicate-orig):
20109         Remove variable.
20110         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
20111         (dired-isearch-filenames-end): Add and remove
20112         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
20113         instead of changing the value of `isearch-filter-predicate'.
20114         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
20115         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
20116         Put property `isearch-message-prefix' to "filename " on
20117         `dired-isearch-filter-filenames'.
20119         * wdired.el (wdired-change-to-wdired-mode):
20120         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
20121         locally instead of changing `isearch-filter-predicate'.
20122         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
20124 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
20126         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
20127         return the commit hash (Bug#14459).  Also set the
20128         `vc-git-detached' property.
20129         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
20130         (vc-git-mode-line-string): Use the same help-echo format whether
20131         in detached mode or not, because we know the actual revision now.
20132         When in detached mode, shorten the revision to 7 chars.
20134 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20136         * emacs-lisp/easy-mmode.el (define-minor-mode):
20137         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
20138         mode hook and provide a docstring.
20140 2013-05-27  Alan Mackenzie  <acm@muc.de>
20142         Remove spurious syntax-table text properties inserted by C-y.
20143         * progmodes/cc-mode.el (c-after-change): Also clear hard
20144         syntax-table property with value nil.
20146 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
20148         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
20149         when reading the events; the buffer layout shall not be changed.
20151 2013-05-27  Leo Liu  <sdl.web@gmail.com>
20153         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
20154         New variable.
20155         (inferior-octave-directory-tracker): Automatically re-sync
20156         default-directory.
20157         (octave-help): Improve handling of 'See also'.
20159 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20161         * doc-view.el: Minor naming convention tweaks.
20162         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
20164         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
20165         even if there's no `display' property yet (bug#14435).
20167 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
20169         * subr.el (unmsys--file-name): Rename from reveal-filename.
20171         * Makefile.in (custom-deps, finder-data, autoloads)
20172         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20173         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20174         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
20176 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20178         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
20179         error-completion on the first 2 args of condition-case (bug#14446).
20180         Don't burp at EOB.
20182 2013-05-25  Leo Liu  <sdl.web@gmail.com>
20184         * comint.el (comint-previous-matching-input): Do not flood the
20185         *Messages* buffer with trivial messages.
20187 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20189         * progmodes/flymake.el (flymake-nop): Don't return a string.
20190         (flymake-set-at): Fix typo.
20192         * simple.el (read--expression): New function, extracted from
20193         eval-expression.  Set completion-at-point-functions (bug#14465).
20194         (eval-expression, eval-minibuffer): Use it.
20196 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
20198         * progmodes/flymake.el (flymake-save-buffer-in-file)
20199         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
20200         (flymake-selected-frame, flymake-log, flymake-ins-after)
20201         (flymake-set-at, flymake-get-buildfile-from-cache)
20202         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
20203         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
20204         Refine the doc string.
20205         (flymake-get-file-name-mode-and-masks): Reformat.
20206         (flymake-get-real-file-name-function): Fix a minor bug.
20208 2013-05-24  Juri Linkov  <juri@jurta.org>
20210         * progmodes/grep.el (grep-mode-font-lock-keywords):
20211         Support =linenumber= format used by git-grep for lines with
20212         function names.  (Bug#13549)
20214 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20216         * progmodes/octave.el (octave-smie-rules): Return nil rather than
20217         0 after a semi-colon; it works better for smie-auto-fill.
20218         (octave--indent-new-comment-line): New function.
20219         (octave-indent-new-comment-line): Use it (indirectly).
20220         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
20221         modify comment-line-break-function.
20223         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
20224         (smie-setup): Use add-function to set it.
20226 2013-05-24  Sam Steingold  <sds@gnu.org>
20228         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
20229         argument (before the `interactive' argument).
20231 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20233         * image-mode.el (image-mode-winprops): Add winprops to
20234         image-mode-winprops-alist before running
20235         image-mode-new-window-functions.
20236         * doc-view.el (doc-view-new-window-function): Don't delay
20237         doc-view-goto-page via timers (bug#14435).
20239 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
20241         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
20242         (doc-view-desktop-save-buffer): New function.
20243         (doc-view-restore-desktop-buffer): New function.
20244         (desktop-buffer-mode-handlers):
20245         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
20246         handler.
20247         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
20248         `desktop-save-buffer' function.
20250 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
20252         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
20253         (tramp-gvfs-file-name-handler): Raise a user error when
20254         `tramp-gvfs-enabled' is nil.
20255         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
20256         Do not raise a user error when loading package.  (Bug#14447)
20258         * net/xesam.el: Move to obsolete/.
20260 2013-05-24  Glenn Morris  <rgm@gnu.org>
20262         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
20264         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
20266         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
20267         (Info-find-node, Man-getpage-in-background): Declare.
20269         * mail/unrmail.el (unrmail):
20270         Replace obsolete detect-coding-with-priority.
20272         * net/socks.el (socks-split-string): Use this rather than split-string.
20273         (socks-nslookup-host): Update for above change.
20274         (dynamic-choice, s5-dynamic-choice-match)
20275         (s5-dynamic-choice-match-inline, s5-widget-value-create):
20276         Comment out unused code.
20278         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
20279         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
20280         (gud-tooltip-echo-area): Make obsolete.
20281         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
20283         * progmodes/js.el (js--optimize-arglist): Declare.
20285         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
20287         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
20288         (ediff-window-C): Declare.
20290         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
20291         Tweak requires to silence compiler.
20293         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
20294         (he-search-string, he-tried-table, he-expand-list)
20295         (he-init-string, he-string-member, he-substitute-string)
20296         (he-reset-string): Declare.
20298         * obsolete/options.el (list-options): Use custom-variable-p,
20299         rather than obsolete alias.
20301 2013-05-23  Sam Steingold  <sds@gnu.org>
20303         * simple.el (shell-command-on-region): Pass the `replace' argument
20304         down to `call-process-region' to comply with the doc as reported on
20305         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
20307 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20309         * emacs-lisp/smie.el (smie-indent-forward-token)
20310         (smie-indent-backward-token): Handle string tokens (bug#14381).
20312 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
20314         * ielm.el (ielm-menu): New menu.
20315         (inferior-emacs-lisp-mode): Set comment-start.
20317 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
20319         * textmodes/reftex.el (reftex-ref-style-toggle):
20320         Fix deactivate action.
20322         * textmodes/reftex-vars.el (reftex-ref-style-alist):
20323         Add cleveref macros.
20325         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
20326         Accept options for bibliography commands.
20327         * textmodes/reftex-vars.el (reftex-bibliography-commands):
20328         Add addbibresource.  Basic Biblatex support.
20330 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
20332         * net/tramp-gvfs.el (top):
20333         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
20334         when loading package.  (Bug#14447)
20336 2013-05-23  Glenn Morris  <rgm@gnu.org>
20338         * progmodes/js.el: No need to load comint when compiling.
20339         (ring-insert, comint-send-string, comint-send-input)
20340         (comint-last-input-end, ido-chop): Declare.
20342         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
20343         * vc/ediff-mult.el: Adjust requires.
20344         (ediff-directories-internal, ediff-directory-revisions-internal)
20345         (ediff-patch-file-internal): Declare.
20346         * vc/ediff-ptch.el: Adjust requires.
20347         (ediff-use-last-dir, ediff-buffers-internal): Declare.
20348         (ediff-find-file): Autoload.
20349         * vc/ediff-util.el: No need to load ediff when compiling.
20350         (ediff-regions-internal): Declare.
20351         * vc/ediff-wind.el: Adjust requires.
20352         (ediff-compute-toolbar-width): Define when compiling.
20353         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
20354         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
20355         (dired-get-filename, dired-get-marked-files)
20356         (ediff-last-dir-patch, ediff-patch-default-directory)
20357         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
20358         (ediff-patch-buffer-internal): Declare.
20360         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
20361         (ispell-process, ispell-buffer-local-words, lm-summary)
20362         (lm-section-start, lm-section-end): Declare.
20363         (checkdoc-ispell-init): Simplify.
20365         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
20366         (he-string-member, he-reset-string, he-substitute-string): Declare.
20368         * eshell/em-ls.el: Adjust requires.
20369         (eshell-glob-regexp): Declare.
20370         * eshell/em-tramp.el: Adjust requires.
20371         (eshell-parse-command): Autoload.
20372         * eshell/em-xtra.el: Adjust requires.
20373         (eshell-parse-command): Autoload.
20374         * eshell/esh-ext.el: Adjust requires.
20375         (eshell-parse-command, eshell-close-handles): Autoload.
20376         * eshell/esh-io.el: Adjust requires.
20377         (eshell-output-filter): Autoload.
20378         * eshell/esh-util.el: No need to load tramp when compiling.
20379         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
20380         Declare.
20381         (eshell-parse-ange-ls): Require ange-ftp and tramp.
20382         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
20383         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
20384         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
20385         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
20386         * eshell/esh-opt.el, eshell/esh-proc.el:
20387         * eshell/esh-var.el: Adjust requires.
20388         * eshell/eshell.el: Do not require esh-util twice.
20389         (eshell-add-input-to-history): Declare.
20390         (eshell-command): Check history module is active before using it.
20392         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
20394 2013-05-22  Leo Liu  <sdl.web@gmail.com>
20396         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
20398 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
20400         * autorevert.el (auto-revert-notify-add-watch)
20401         (auto-revert-notify-handler): Add `attrib' for the inotify case,
20402         it indicates changes in file modification time.
20404 2013-05-22  Glenn Morris  <rgm@gnu.org>
20406         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20407         Always delete the autoloaded function from the noruntime and
20408         unresolved functions lists.
20410         * allout.el: No need to load epa, epg, overlay when compiling.
20411         (epg-context-set-passphrase-callback, epg-list-keys)
20412         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
20413         (epg-key-user-id-list): Declare.
20415         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
20416         (viper-set-parsing-style-toggling-macro)
20417         (viper-set-emacs-state-searchstyle-macros):
20418         Use called-interactively-p on Emacs.
20419         (viper-looking-back): Make it an obsolete alias.  Update callers.
20420         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
20421         Use looking-back rather than viper-looking-back.
20422         (viper-tmp-insert-at-eob, viper-enlarge-region)
20423         (viper-read-string-with-history, viper-register-to-point)
20424         (viper-append-to-register, viper-change-state-to-vi)
20425         (viper-backward-char-carefully, viper-forward-char-carefully)
20426         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
20427         (viper-change-state-to-emacs): Declare.
20428         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
20429         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
20430         * emulation/viper-mous.el: Do not load viper-cmd.
20431         (viper-backward-char-carefully, viper-forward-char-carefully)
20432         (viper-forward-word, viper-adjust-window): Declare.
20434         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
20436         * progmodes/idlw-help.el (idlwave-help-fontify):
20437         Use called-interactively-p.
20439         * term/w32console.el (w32-get-console-codepage)
20440         (w32-get-console-output-codepage): Declare.
20442         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
20443         Remove unnecessary declarations.
20444         (dframe-message): Doc fix.
20446         * info.el (dframe-select-attached-frame, dframe-current-frame):
20447         Declare.
20449         * speedbar.el (speedbar-message): Make it an obsolete alias.
20450         Update all callers.
20451         (speedbar-with-attached-buffer)
20452         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
20453         (speedbar-with-writable): Use backquote.
20454         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
20455         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
20456         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
20457         rather than speedbar- aliases.
20458         * mail/rmail.el: Load dframe rather than speedbar when compiling.
20459         (speedbar-make-specialized-keymap, speedbar-insert-button)
20460         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
20461         (speedbar-do-function-pointer): Declare.
20462         (rmail-speedbar-button, rmail-speedbar-find-file)
20463         (rmail-speedbar-move-message):
20464         Use dframe-with-attached-buffer rather than speedbar- alias.
20465         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
20466         (dframe-message, speedbar-make-specialized-keymap)
20467         (speedbar-add-expansion-list, speedbar-mode-functions-list)
20468         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
20469         (speedbar-insert-button, dframe-select-attached-frame)
20470         (dframe-maybee-jump-to-attached-frame)
20471         (speedbar-change-initial-expansion-list)
20472         (speedbar-previously-used-expansion-list-name): Declare.
20473         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
20474         Use dframe-message, dframe-with-attached-buffer rather than
20475         speedbar- aliases.
20476         (gud-sentinel): Silence compiler.
20477         * progmodes/vhdl-mode.el (speedbar-refresh)
20478         (speedbar-do-function-pointer, speedbar-add-supported-extension)
20479         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
20480         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
20481         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
20482         (speedbar-file-lists, speedbar-make-tag-line)
20483         (speedbar-line-directory, speedbar-goto-this-file)
20484         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
20485         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
20486         (speedbar-make-button, speedbar-reset-scanners)
20487         (speedbar-files-item-info, speedbar-line-text)
20488         (speedbar-find-file-in-frame, speedbar-set-timer)
20489         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
20490         (speedbar-with-writable): Do not (re)define it.
20491         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
20492         rather than speedbar- alias.
20494 2013-05-21  Leo Liu  <sdl.web@gmail.com>
20496         * progmodes/octave.el (octave-mode-menu): Update and re-organize
20497         menu items.
20498         (octave-mode): Tweak fill-nobreak-predicate.
20499         (inferior-octave-startup): Check process to avoid infinite loop.
20500         (inferior-octave): Pop to buffer first to show abornmal process
20501         exit information.
20503 2013-05-21  Glenn Morris  <rgm@gnu.org>
20505         * printing.el (pr-menu-bar): Define when compiling.
20507 2013-05-21  Leo Liu  <sdl.web@gmail.com>
20509         * progmodes/octave.el (octave-auto-fill): Remove.
20510         (octave-indent-new-comment-line): Improve.
20511         (octave-mode): Use auto fill mode through
20512         comment-line-break-function and fill-nobreak-predicate.
20513         (octave-goto-function-definition): Support DEFUN_DLD.
20514         (octave-beginning-of-defun): Small tweak.
20515         (octave-help): Show parent directory.
20517 2013-05-21  Glenn Morris  <rgm@gnu.org>
20519         * files.el (dired-unmark):
20520         * progmodes/gud.el (gdb-input): Update declarations.
20522         * calculator.el (electric, ehelp): No need to load when compiling.
20523         (Electric-command-loop, electric-describe-mode): Declare.
20525         * doc-view.el (doc-view-current-converter-processes): Move before use.
20527         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20528         Move MODE-set-explicitly definition before use.
20530         * international/mule-diag.el (mule-diag):
20531         Don't use obsolete window-system-version.
20533         * mail/feedmail.el (smtpmail): No need to load when compiling.
20534         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
20536         * mail/mail-utils.el (rfc822): No need to load when compiling.
20537         (rfc822-addresses): Autoload it.
20538         (mail-strip-quoted-names): Trivial simplification.
20540         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
20541         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
20543         * net/snmp-mode.el (tempo): Don't duplicate requires.
20545         * progmodes/prolog.el (info): No need to load when compiling.
20546         (comint): Require before shell requires it.
20547         (Info-goto-node): Autoload it.
20548         (Info-follow-nearest-node): Declare.
20549         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
20551         * textmodes/artist.el (picture-mode-exit): Declare.
20553         * textmodes/reftex-parse.el (reftex-parse-from-file):
20554         Trivial rewrite so the compiler can parse it better.
20556 2013-05-20  Leo Liu  <sdl.web@gmail.com>
20558         * progmodes/octave.el (octave-help-mode-map)
20559         (octave-help-mode-finish-hook): New variables.
20560         (octave-help-mode, octave-help-mode-finish): New functions.
20561         (octave-help): Use octave-help-mode.
20563 2013-05-20  Glenn Morris  <rgm@gnu.org>
20565         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
20567 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
20569         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
20570         start at point, so that expansion starting right after opening
20571         slash in a regexp is recognized.
20572         (ruby-syntax-before-regexp-re): New defvar, extracted from
20573         ruby-syntax-propertize-function.  Since the value of this regexp
20574         is looked up at runtime now, we should be able to turn
20575         `ruby-syntax-methods-before-regexp' into a defcustom later.
20576         (ruby-syntax-propertize-function): Split regexp matching into two
20577         parts, for opening and closing slashes.  That allows us to skip
20578         over string interpolations and support multiline regexps.
20579         Don't call `ruby-syntax-propertize-expansions', instead use another rule
20580         for them, which calls `ruby-syntax-propertize-expansion'.
20581         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
20582         call to `ruby-syntax-propertize-function'.
20583         (ruby-syntax-propertize-expansion): Extracted from
20584         `ruby-syntax-propertize-expansions'.  Handles one expansion.
20585         (ruby-syntax-propertize-percent-literal): Leave point right after
20586         the percent symbol, so that the expression expansion rule can
20587         propertize the contents.
20588         (ruby-syntax-propertize-heredoc): Leave point at bol following the
20589         heredoc openers.
20590         (ruby-syntax-propertize-expansions): Remove.
20592 2013-05-18  Juri Linkov  <juri@jurta.org>
20594         * man.el (Man-default-man-entry): Remove `-' from the end
20595         of the default value.  (Bug#14400)
20597 2013-05-18  Glenn Morris  <rgm@gnu.org>
20599         * comint.el (comint-password-prompt-regexp):
20600         Allow "password for XXX" where XXX contains colons (eg https://...).
20602 2013-05-18  Leo Liu  <sdl.web@gmail.com>
20604         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
20605         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
20606         (octave-source-directories): Don't check process.
20607         (octave-source-directories, octave-find-definition): Doc fix.
20609 2013-05-18  Glenn Morris  <rgm@gnu.org>
20611         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
20612         Remove backspace/delete bindings.  (Bug#14392)
20614         * cus-dep.el (custom-make-dependencies): Sort the output.
20615         (custom-versions-load-alist): Convert comment to doc.
20617 2013-05-17  Leo Liu  <sdl.web@gmail.com>
20619         * newcomment.el (comment-search-backward): Stricter in finding
20620         comment start.  (Bug#14303)
20622         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
20623         (octave-comment-start-skip): Properly anchored.
20625 2013-05-17  Leo Liu  <sdl.web@gmail.com>
20627         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
20628         Clean up when turned off.  (Bug#14395)
20629         (smie--highlight-matching-block-overlay): No longer buffer-local.
20630         (smie-highlight-matching-block): Adjust.
20632 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
20634         Doc string fix for "nanoseconds" (Bug#14406).
20635         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
20636         Fix doc string typo that had "nanoseconds" instead of "microseconds".
20638 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
20640         * calc/calc-units.el (math-extract-units): Preserve powers
20641         of units.
20643 2013-05-17  Leo Liu  <sdl.web@gmail.com>
20645         * subr.el (delete-consecutive-dups): New function.
20646         * ido.el (ido-set-matches-1): Use it.
20647         * progmodes/octave.el (inferior-octave-completion-table): Use it.
20648         * ido.el (ido-remove-consecutive-dups): Remove.
20650 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20652         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20653         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
20654         regexp-opt's `words'.
20656 2013-05-16  Leo Liu  <sdl.web@gmail.com>
20658         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
20659         (smie--highlight-matching-block-overlay)
20660         (smie--highlight-matching-block-lastpos)
20661         (smie--highlight-matching-block-timer): New variables.
20662         (smie-highlight-matching-block): New function.
20663         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
20664         (smie-setup): Conditionally enable smie-blink-matching-open.
20666 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
20668         Sync with upstream verilog-mode r840.
20669         * progmodes/verilog-mode.el (verilog-mode-version)
20670         (verilog-mode-release-date): Update.
20671         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
20672         (verilog-sig-tieoff): Fix string error on
20673         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
20674         (verilog-read-decls): Fix parameters confusing
20675         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
20677 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
20679         * subr.el (reveal-filename): New function.
20681         * loadup.el: Compute Emacs executable versions on MS-Windows,
20682         where executables have the .exe extension.  Add a hard link
20683         emacs-XX.YY.ZZ.exe on MS-Windows.
20685         * Makefile.in (XARGS_LIMIT): New variable.
20686         (custom-deps, finder-data, autoloads)
20687         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20688         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20689         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
20690         (compile-main): Limit xargs according to $(XARGS_LIMIT).
20692 2013-05-16  Leo Liu  <sdl.web@gmail.com>
20694         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
20695         (octave-mode-menu, octave-mode-map): Remove its uses.
20697 2013-05-16  Reto Zimmermann  <reto@gnu.org>
20699         Sync with upstream vhdl mode v3.34.2.
20700         * progmodes/vhdl-mode.el: Use `push' throughout.
20701         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
20702         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
20703         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
20704         (vhdl-actual-generic-name): New option to derive actual generic name.
20705         (vhdl-port-paste-signals): Replace formal by actual generics.
20706         (vhdl-beautify): New name for old group vhdl-align.  Update users.
20707         (vhdl-beautify-options): New option.
20708         (vhdl-last-input-event): New compat alias.  Use throughout.
20709         (vhdl-goto-line): Replace user level function `goto-line'.
20710         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
20711         vhdl-fix-statement-buffer.
20712         (vhdl-create-mode-menu): Add some entries.
20713         (vhdl-align-region-groups): Respect vhdl-beautify-options.
20714         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
20715         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
20716         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
20717         to force statements on one line.
20718         (vhdl-remove-trailing-spaces-region):
20719         New, split from vhdl-remove-trailing-spaces.
20720         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
20721         Respect vhdl-beautify-options.
20722         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
20723         (vhdl-update-sensitivity-list): Not add with index if exists without.
20724         Not include array index with signal.  Ignore keywords in comments.
20725         (vhdl-get-visible-signals): Regexp tweaks.
20726         (vhdl-template-component-inst): Handle empty library.
20727         (vhdl-template-type): Add template for 'enum' type.
20728         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
20729         Use vhdl-replace-string.
20730         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
20731         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
20732         (vhdl-speedbar-initialize): Update for above name change.
20733         (vhdl-compose-wire-components): Fix in handling of constants.
20734         (vhdl-error-regexp-emacs-alist): New variable.
20735         (vhdl-error-regexp-add-emacs): New function;
20736         adds support for new compile.el (Emacs 22+)
20737         (vhdl-generate-makefile-1): Change target order for single lib. units.
20738         Allow use of absolute file names.
20740 2013-05-16  Leo Liu  <sdl.web@gmail.com>
20742         * simple.el (prog-indent-sexp): Indent enclosing defun.
20744 2013-05-15  Glenn Morris  <rgm@gnu.org>
20746         * cus-start.el (show-trailing-whitespace): Move to editing basics.
20747         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
20748         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
20749         (whitespace-highlight): Move to whitespace group.
20751         * comint.el (comint-source):
20752         * pcmpl-linux.el (pcmpl-linux):
20753         * shell.el (shell-faces):
20754         * eshell/esh-opt.el (eshell-opt):
20755         * international/ccl.el (ccl): Remove empty custom groups.
20757         * completion.el (dynamic-completion-mode):
20758         * jit-lock.el (jit-lock-debug-mode):
20759         * minibuffer.el (completion-in-region-mode):
20760         * type-break.el (type-break-mode-line-message-mode)
20761         (type-break-query-mode):
20762         * emulation/tpu-edt.el (tpu-edt-mode):
20763         * progmodes/subword.el (global-subword-mode, global-superword-mode):
20764         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20765         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
20767         * term/xterm.el (xterm): Change parent group to terminals.
20769         * master.el (master): Remove empty custom group.
20770         (master-mode): Remove unused :group argument.
20771         * textmodes/refill.el (refill): Remove empty custom group.
20772         (refill-mode): Remove unused :group argument.
20774         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
20776         * cus-dep.el: Provide a feature.
20777         (custom-make-dependencies): Ignore dotfiles (dir-locals).
20778         Don't mistakenly ignore files whose basenames match a basename
20779         from preloaded-file-list (eg cedet/ede/simple.el).
20780         Add a fallback method for getting :group.
20782 2013-05-15  Juri Linkov  <juri@jurta.org>
20784         * isearch.el (isearch-char-by-name): Rename from
20785         `isearch-insert-char-by-name'.  Doc fix.
20786         (isearch-forward): Mention `isearch-char-by-name' in
20787         the docstring.  (Bug#13348)
20789         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
20790         `exit-minibuffer' instead of
20791         `isearch-nonincremental-exit-minibuffer'.
20792         (isearch-edit-string): Remove mention of
20793         `isearch-nonincremental-exit-minibuffer' from docstring.
20794         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
20795         (isearch-forward-exit-minibuffer)
20796         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
20798 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20800         * loadup.el: Just use unversioned DOC.
20802         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
20803         literals as extending to EOB.
20804         (nxml-last-fontify-end): Remove unused variable.
20805         (nxml-after-change1): Use with-silent-modifications.
20806         (nxml-extend-after-change-region): Simplify.
20807         (nxml-extend-after-change-region1): Remove function.
20808         (nxml-after-change1): Don't adjust for dependent regions.
20809         (nxml-fontify-matcher): Simplify.
20810         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
20811         (xmltok-add-dependent): Remove function.
20812         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
20813         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
20814         (xmltok-scan-prolog-after-processing-instruction-open): Treat
20815         unclosed <[[, <?, comment, and other literals as extending to EOB.
20816         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
20817         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
20818         Remove functions.
20819         (rng-do-some-validation-1): Don't mark dependent regions.
20820         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
20821         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
20822         (nxml-clear-dependent-regions): Remove functions.
20823         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
20824         (nxml-ensure-scan-up-to-date):
20825         Don't clear&mark dependent regions.
20827 2013-05-15  Leo Liu  <sdl.web@gmail.com>
20829         * progmodes/octave.el (octave-goto-function-definition):
20830         Improve and fix callers.
20832 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20834         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
20835         the setter (bug#14387).
20837         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
20838         surrounding group (bug#14402).
20840 2013-05-14  Juri Linkov  <juri@jurta.org>
20842         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
20843         (Bug#14390)
20845 2013-05-14  Glenn Morris  <rgm@gnu.org>
20847         * progmodes/f90.el (f90-imenu-generic-expression):
20848         Fix typo in 2013-05-08 change.  (Bug#14402)
20850 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
20852         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
20853         Remove signals for which replies are never received.
20855 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
20857         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
20858         (gdb-handler-alist, gdb-handler-number): Remove variables.
20859         (gdb-handler-list): New variable.
20860         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
20861         (gdb-pending-handler-p, gdb-handle-reply)
20862         (gdb-remove-all-pending-triggers): New functions.
20863         (gdb-discard-unordered-replies): New defcustom.
20864         (gdb-handler): New defstruct.
20865         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
20866         instead of gdb-pending-triggers.  Update docstring.
20867         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
20868         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
20869         (gdb-var-update-handler, def-gdb-auto-update-trigger)
20870         (def-gdb-auto-update-handler, gdb-get-changed-registers)
20871         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
20872         (gdb-frame-handler): Pending triggers are now automatically managed.
20873         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
20874         Remove argument.
20875         (gdb-input): Automatically handles pending triggers.  Update docstring.
20876         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
20877         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
20878         Update comments.
20879         (gdb-done-or-error): Now use gdb-handle-reply.
20881 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
20883         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
20884         gdb-debug-log.
20886 2013-05-14  Glenn Morris  <rgm@gnu.org>
20888         * subr.el (user-emacs-directory-warning): New option.
20889         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
20891 2013-05-14  Leo Liu  <sdl.web@gmail.com>
20893         * progmodes/octave.el (octave-font-lock-keywords): Fix error
20894         during redisplay.
20895         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
20896         (octave-font-lock-texinfo-comment): Fix invalid search bound
20897         error: wrong side of point.
20899 2013-05-14  Glenn Morris  <rgm@gnu.org>
20901         * progmodes/flymake.el (flymake-xml-program): New option.
20902         (flymake-xml-init): Use it.
20904         * term/xterm.el: Provide a feature.
20906         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
20908 2013-05-13  Glenn Morris  <rgm@gnu.org>
20910         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
20911         Add compat aliases as a hack workaround.  (Bug#14384)
20913 2013-05-13  Leo Liu  <sdl.web@gmail.com>
20915         * progmodes/octave.el (octave-indent-comment): Fix indentation for
20916         ###, and %!.
20917         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
20918         C-M-q.
20919         (octave-comment-start-skip): Include %!.
20920         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
20922 2013-05-12  Leo Liu  <sdl.web@gmail.com>
20924         * progmodes/octave.el (inferior-octave-startup): Store the value
20925         of __octave_srcdir__ for octave-source-directories.
20926         (inferior-octave-check-process): New function refactored out of
20927         inferior-octave-send-list-and-digest.
20928         (octave-source-directories)
20929         (octave-find-definition-filename-function): New variables.
20930         (octave-source-directories)
20931         (octave-find-definition-default-filename): New functions.
20932         (octave-find-definition): Improve to find functions implemented in C++.
20934 2013-05-12  Glenn Morris  <rgm@gnu.org>
20936         * calendar/diary-lib.el (diary-outlook-format-1):
20937         Don't include dayname in the output.  (Bug#14349)
20939 2013-05-11  Glenn Morris  <rgm@gnu.org>
20941         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
20943         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
20944         Treat cc-provide like provide.
20946 2013-05-11  Kevin Ryde  <user42@zip.com.au>
20948         * cus-dep.el (custom-make-dependencies):
20949         Use generated-autoload-load-name for the sake of files such
20950         such cedet/semantic/bovine/c.el, where the base file name
20951         is not in load-path.  (Bug#5277)
20953 2013-05-11  Glenn Morris  <rgm@gnu.org>
20955         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
20956         Provide features.
20958 2013-05-11  Leo Liu  <sdl.web@gmail.com>
20960         * progmodes/octave.el (octave-indent-comment): Improve.
20961         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
20962         (octave-eldoc-function-signatures, octave-eldoc-function):
20963         New functions.
20964         (octave-mode, inferior-octave-mode): Add eldoc support.
20966 2013-05-11  Richard Stallman  <rms@gnu.org>
20968         * epa.el (epa-decrypt-file): Take output file name as argument
20969         and read it using `interactive'.
20971 2013-05-11  Leo Liu  <sdl.web@gmail.com>
20973         * progmodes/octave.el (octave-beginning-of-line)
20974         (octave-end-of-line): Check before using up-list because it jumps
20975         out of more syntactic contructs since moving to smie.
20976         (octave-indent-comment): New function.
20977         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
20978         (octave-begin-keywords, octave-end-keywords)
20979         (octave-reserved-words, octave-smie-bnf-table)
20980         (octave-smie-rules): Add new keywords from Octave 3.6.4.
20982 2013-05-11  Glenn Morris  <rgm@gnu.org>
20984         * faces.el (internal-face-x-get-resource):
20985         * frame.el (ns-display-monitor-attributes-list):
20986         * calc/calc-aent.el (math-to-radians-2):
20987         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
20988         Fix declarations.
20990         * calc/calc-menu.el: Make it loadable in isolation.
20992         * net/eudcb-bbdb.el: Make it loadable without bbdb.
20993         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
20994         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
20995         (eudc-bbdb-query-internal): Require 'bbdb.
20997         * lpr.el (lpr-headers-switches):
20998         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
21000         * progmodes/sql.el (sql-login-params): Fix and improve :type.
21002         * emulation/edt-mapper.el: In batch mode, error rather than hang.
21004         * term.el (term-set-escape-char): Make it idempotent.
21006 2013-05-10  Leo Liu  <sdl.web@gmail.com>
21008         * progmodes/octave.el (inferior-octave-completion-table):
21009         No longer a function and all uses changed.  Use cache to speed up
21010         completion due to bug#11906.
21011         (octave-beginning-of-defun): Re-write to be more general.
21013 2013-05-10  Glenn Morris  <rgm@gnu.org>
21015         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
21017 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
21019         * comint.el (comint-redirect-send-command-to-process): Use :around
21020         rather than :override for comint-redirect-filter.
21021         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
21022         Call it instead of comint-redirect-original-filter-function (which
21023         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
21025 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
21027         * frame.el (display-monitor-attributes-list): Add NS case.
21028         (ns-display-monitor-attributes-list): Declare.
21030 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
21032         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
21034 2013-05-09  Glenn Morris  <rgm@gnu.org>
21036         * international/fontset.el (vertical-centering-font-regexp):
21037         Set standard-value.
21039         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
21041         * bookmark.el (bookmark-search-delay):
21042         * cus-start.el (vertical-centering-font-regexp):
21043         * ps-mule.el (ps-mule-font-info-database-default):
21044         * ps-print.el (ps-default-fg, ps-default-bg):
21045         * type-break.el (type-break-good-break-interval):
21046         * whitespace.el (whitespace-indentation-regexp)
21047         (whitespace-space-after-tab-regexp):
21048         * emacs-lisp/testcover.el (testcover-1value-functions)
21049         (testcover-noreturn-functions, testcover-progn-functions)
21050         (testcover-prog1-functions):
21051         * emulation/viper-init.el (viper-emacs-state-cursor-color):
21052         * eshell/em-glob.el (eshell-glob-translate-alist):
21053         * play/tetris.el (tetris-tty-colors):
21054         * progmodes/cpp.el (cpp-face-default-list):
21055         * progmodes/flymake.el (flymake-allowed-file-name-masks):
21056         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
21057         (idlwave-help-browser-generic-args):
21058         * progmodes/make-mode.el (makefile-special-targets-list):
21059         * progmodes/python.el (python-shell-virtualenv-path):
21060         * progmodes/verilog-mode.el (verilog-active-low-regexp)
21061         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
21062         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
21063         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
21064         * textmodes/reftex-vars.el (reftex-format-label-function):
21065         * textmodes/remember.el (remember-diary-file): Fix custom types.
21067         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
21068         Add :version.
21070 2013-05-09  Leo Liu  <sdl.web@gmail.com>
21072         * progmodes/octave.el (inferior-octave-completion-at-point):
21073         Restore file completion.  (Bug#14300)
21074         (inferior-octave-startup): Fix incorrect highlighting for the
21075         first prompt.
21077 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21079         * progmodes/ruby-mode.el: First cut at SMIE support.
21080         (ruby-use-smie): New var.
21081         (ruby-smie-grammar): New constant.
21082         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
21083         (ruby-smie--forward-token, ruby-smie--backward-token)
21084         (ruby-smie-rules): New functions.
21085         (ruby-mode-variables): Setup SMIE if applicable.
21087 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
21089         * simple.el (line-move-visual): Signal beginning/end of buffer
21090         only if vertical-motion moved less than it was requested.  Avoids
21091         silly incorrect error messages when there are display strings with
21092         multiple newlines at EOL.
21094 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21096         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
21097         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
21098         (prolog-char-quote-workaround):
21099         * progmodes/cperl-mode.el (cperl-under-as-char):
21100         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
21101         Mark as obsolete.
21102         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
21103         their declaration.
21104         (vhdl-mode-syntax-table-init): Remove.
21106         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
21107         last change.
21109         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
21110         syntax for "_".
21111         (ld-script-font-lock-keywords):
21112         Change regexps to use things like \_< and \_>.
21114         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
21115         Change all regexps to use things like \_< and \_>.
21117         * progmodes/autoconf.el (autoconf-definition-regexp)
21118         (autoconf-font-lock-keywords, autoconf-current-defun-function):
21119         Handle a _ with symbol syntax.
21120         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
21122         * progmodes/ada-mode.el (ada-mode-abbrev-table):
21123         Consolidate declaration.
21124         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
21125         the declaration.
21126         (ada-create-syntax-table): Remove.
21127         (ada-capitalize-word): Don't mess with the syntax of "_" since it
21128         already has the right syntax nowadays.
21129         (ada-goto-next-word): Don't change the syntax of "_".
21131         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
21132         with-wrapper-hook.
21134 2013-05-08  Sam Steingold  <sds@gnu.org>
21136         * thingatpt.el (thing-at-point): Accept optional second argument
21137         NO-PROPERTIES to strip the text properties from the return value.
21138         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
21139         to `thing-at-point' instead of stripping the properties ourselves.
21140         Also, when `thing-at-point' fails to find a url, prepend "http://"
21141         to the filename at point on the assumption that the user is
21142         pointing at something like gnu.org/gnu.
21144 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
21146         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21147         * faces.el (crm-separator):
21148         Silence byte-compiler.
21150         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
21151         (tool-bar-map): Remove unneeded defvars.
21153 2013-05-08  Leo Liu  <sdl.web@gmail.com>
21155         Re-work a fix for bug#10994 based on Le Wang's patch.
21156         * ido.el (ido-remove-consecutive-dups): New helper.
21157         (ido-completing-read): Use it.
21158         (ido-chop): Revert fix for bug#10994.
21160 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
21162         * cus-edit.el (custom-save-variables):
21163         Pretty-print long values.  (Bug#14187)
21165 2013-05-08  Glenn Morris  <rgm@gnu.org>
21167         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
21168         (m4-mode-syntax-table): Init in the defvar.
21169         (m4-mode-abbrev-table): Let define-derived-mode define it.
21171 2013-05-08  Tom Tromey  <tromey@redhat.com>
21173         * progmodes/m4-mode.el (m4-mode-syntax-table):
21174         Do not treat "_" as word constituent.  (Bug#14167)
21176 2013-05-07  Glenn Morris  <rgm@gnu.org>
21178         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
21179         Remove explicit eshell-isearch-cancel-map.
21181         * progmodes/f90.el (f90-smart-end-names): New option.
21182         (f90-smart-end): Doc fix.
21183         (f90-end-block-optional-name): New constant.
21184         (f90-block-match): Respect f90-smart-end-names.
21186 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
21188         * progmodes/octave.el (octave-smie-forward-token): Be more careful
21189         about implicit semi-colons (bug#14218).
21191 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21193         * frame.el (display-monitor-attributes-list)
21194         (frame-monitor-attributes): New functions.
21196 2013-05-06  Leo Liu  <sdl.web@gmail.com>
21198         * progmodes/octave.el (octave-syntax-propertize-function): Change
21199         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
21200         (octave-font-lock-keywords): Use octave-operator-regexp.
21201         (octave-completion-at-point): Rename from
21202         octave-completion-at-point-function.
21203         (inferior-octave-directory-tracker): Robustify.
21204         (octave-text-functions): Remove and fix its uses.  No such things
21205         any more.
21207 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
21209         * emacs-lisp/trace.el (trace--display-buffer): New function.
21210         (trace-make-advice): Use it.
21212 2013-05-06  Juri Linkov  <juri@jurta.org>
21214         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
21215         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
21216         Doc fix.
21217         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
21218         in the help string.  (Bug#12985)
21220 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
21222         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
21224 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
21226         * progmodes/perl-mode.el: Add support for here documents.
21227         (perl-syntax-propertize-function): Match here-doc markers.
21228         (perl-syntax-propertize-special-constructs): Find their end.
21229         (perl-imenu-generic-expression): Use [:alnum:].
21231         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
21232         (advice--add-function): Refresh the advice if already present
21233         (bug#14317).
21235 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
21237         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
21239 2013-05-06  Glenn Morris  <rgm@gnu.org>
21241         * w32-fns.el (w32-charset-info-alist): Declare.
21243         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
21244         of its defcustom properties.
21245         (eshell-cmpl-initialize): No need to load pcomplete.
21247         * generic-x.el: No need to require comint when compiling.
21249         * net/eudc-export.el: Make it loadable without bbdb.
21250         (top-level): Use require rather than load-library.
21251         (eudc-create-bbdb-record, eudc-bbdbify-phone)
21252         (eudc-batch-export-records-to-bbdb)
21253         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
21254         Require bbdb.
21256 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
21258         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
21259         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
21260         some tweaks, instead.
21262 2013-05-05  Leo Liu  <sdl.web@gmail.com>
21264         * progmodes/octave.el (octave-font-lock-keywords)
21265         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
21266         (inferior-octave-send-list-and-digest): Improve error message.
21267         (octave-mode, inferior-octave-mode): Use setq-local.
21268         (octave-help): Set info-lookup-mode.
21270 2013-05-05  Richard Stallman  <rms@gnu.org>
21272         * vc/compare-w.el (compare-windows-whitespace):
21273         Treat no-break space as whitespace.
21275         * mail/rmailsum.el (rmail-summary-rmail-update):
21276         Detect empty summary and don't change selected message.
21277         (rmail-summary-goto-msg): Likewise.
21279         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
21280         Doc fixes, rename args.
21282 2013-05-05  Alan Mackenzie  <acm@muc.de>
21284         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
21286 2013-05-05  Juri Linkov  <juri@jurta.org>
21288         * info.el (Info-read-subfile): Use (point-min) instead of (point)
21289         to not add the length of the summary segment to the return value.
21290         (Bug#14125)
21292 2013-05-05  Leo Liu  <sdl.web@gmail.com>
21294         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
21295         (inferior-octave-output-filter): Remove.
21296         (octave-send-region, inferior-octave-startup): Fix callers.
21297         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
21298         (octave-binary-file-extensions): New user variable.
21299         (octave-find-definition): Confirm if opening binary files.
21300         (octave-help-file): Use octave-find-definition to get the binary
21301         confirmation.
21302         (octave-help): Adjust for octave-help-file change.
21304 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21306         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
21307         Merge the two entries that handle function definitions.
21308         (pascal--syntax-propertize): New const.
21309         (pascal-mode): Use it.  Use setq-local.
21311 2013-05-04  Glenn Morris  <rgm@gnu.org>
21313         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
21314         (diary-from-outlook): Respect diary-from-outlook-function.
21316 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21318         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
21319         Move the declaration from C.
21320         (read-minibuffer, eval-minibuffer): Move from C.
21321         (completion-setup-function): Avoid minibuffer-completion-contents.
21323 2013-05-03  Leo Liu  <sdl.web@gmail.com>
21325         * progmodes/octave.el (octave-font-lock-keywords): Do not
21326         dehighlight 'end' in comments or strings.
21327         (octave-completing-read, octave-goto-function-definition):
21328         New helpers.
21329         (octave-help-buffer): New user variable.
21330         (octave-help-file, octave-help-function): New button types.
21331         (octave-help): New command and bind it to C-h ;.
21332         (octave-find-definition): New command and bind it to M-.
21333         (user-error): Alias to error if not defined.
21335 2013-05-02  Leo Liu  <sdl.web@gmail.com>
21337         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
21338         for \.  (bug#14332)
21339         (octave-font-lock-keywords): Include [ and {.
21341 2013-05-02  Leo Liu  <sdl.web@gmail.com>
21343         * progmodes/octave.el (inferior-octave-startup-file): Change default.
21344         (inferior-octave): Remove calling comint-mode and return the buffer.
21345         (inferior-octave-startup): Cosmetic changes.
21347 2013-05-02  Leo Liu  <sdl.web@gmail.com>
21349         * progmodes/octave.el (octave-syntax-propertize-function):
21350         Include the case when ' is at line beginning.  (Bug#14336)
21352 2013-05-02  Glenn Morris  <rgm@gnu.org>
21354         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
21355         * desktop.el (vc-dir-mode): Just autoload it here.
21357 2013-05-02  Alan Mackenzie  <acm@muc.de>
21359         Eliminate variable c-standard-font-lock-fontify-region-function.
21360         * progmodes/cc-mode.el
21361         (c-standard-font-lock-fontify-region-function): Remove.
21362         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
21364 2013-05-01  Leo Liu  <sdl.web@gmail.com>
21366         * progmodes/octave.el: Compatible with older emacs-24 releases.
21367         (inferior-octave-has-built-in-variables): Remove.  Built-in
21368         variables were removed from Octave in 2007.
21369         (inferior-octave-startup): Fix uses.
21370         (comint-line-beginning-position): Remove compatibility code for
21371         emacs 21.
21373 2013-05-01  Juri Linkov  <juri@jurta.org>
21375         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
21377 2013-05-01  Juri Linkov  <juri@jurta.org>
21379         * comint.el (comint-previous-matching-input): Don't print message
21380         "History item: %d" when `isearch-mode' is active.
21381         (comint-history-isearch-message): Print message "History item: %d"
21382         when `comint-input-ring-index' is not empty and this function is
21383         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
21385 2013-05-01  Leo Liu  <sdl.web@gmail.com>
21387         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
21388         definitions.  Use completion-at-point to insert keywords.
21389         (octave-abbrev-start): Remove.
21390         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
21392 2013-04-30  Leo Liu  <sdl.web@gmail.com>
21394         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
21395         change.
21397 2013-04-30  Alan Mackenzie  <acm@muc.de>
21399         Handle arbitrarily long C++ member initialisation lists.
21400         * progmodes/cc-engine.el (c-back-over-member-initializers):
21401         new function.
21402         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
21403         (most) member init lists.
21405 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21407         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
21408         variable.
21410 2013-04-30  Leo Liu  <sdl.web@gmail.com>
21412         * progmodes/octave.el (octave-variables): Remove.  No builtin
21413         variables any more.  All converted to functions.
21414         (octave-font-lock-keywords, octave-completion-at-point-function):
21415         Fix uses.
21416         (octave-font-lock-texinfo-comment): New user variable.
21417         (octave-texinfo-font-lock-keywords): New variable for texinfo
21418         comment block.
21419         (octave-function-comment-block): New face.
21420         (octave-font-lock-texinfo-comment): New function.
21421         (octave-mode): Font lock texinfo comment block.
21423 2013-04-29  Leo Liu  <sdl.web@gmail.com>
21425         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
21426         indexing expression.
21427         (octave-continuation-string): Do not use \.
21428         (inferior-octave-complete-impossible): Remove.
21429         (inferior-octave-completion-table)
21430         (inferior-octave-completion-at-point): Remove its uses.
21431         (inferior-octave-startup): completion_matches was introduced to
21432         Octave in 1996 so safe to assume it.
21433         (octave-function-file-comment): Improve to follow how Octave does it.
21434         (octave-update-function-file-comment): Tweak.
21436 2013-04-29  Leo Liu  <sdl.web@gmail.com>
21438         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
21439         (inferior-octave-startup): Remove inferior-octave-startup-hook.
21440         (octave-function-file-comment): Fix typo.
21441         (octave-sync-function-file-names): Use read-char-choice.
21443 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
21445         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
21446         to t for the less important warnings.
21448 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
21450         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
21452 2013-04-27  Glenn Morris  <rgm@gnu.org>
21454         * vc/log-view.el (log-view-current-entry):
21455         Treat "---" separator lines as part of the following rev.  (Bug#14169)
21457 2013-04-27  Juri Linkov  <juri@jurta.org>
21459         * subr.el (read-number): Doc fix about using it by interactive
21460         code letter `n'.  (Bug#14254)
21462 2013-04-27  Juri Linkov  <juri@jurta.org>
21464         * desktop.el (desktop-auto-save-timeout): New option.
21465         (desktop-file-checksum): New variable.
21466         (desktop-save): Add optional arg `auto-save' and don't auto-save
21467         if nothing changed.
21468         (desktop-auto-save-timer): New variable.
21469         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
21470         (after-init-hook): Call `desktop-auto-save-set-timer'.
21471         Suggested by Reuben Thomas <rrt@sc3d.org> in
21472         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
21474 2013-04-27  Leo Liu  <sdl.web@gmail.com>
21476         * progmodes/octave.el (octave-function-file-p)
21477         (octave-skip-comment-forward, octave-function-file-comment)
21478         (octave-update-function-file-comment): New functions.
21479         (octave-mode-map): Bind C-c ; to
21480         octave-update-function-file-comment.
21481         (octave-mode-menu): Add octave-update-function-file-comment.
21482         (octave-mode, inferior-octave-mode): Fix doc-string.
21483         (octave-insert-defun): Conform to Octave's coding convention.
21484         (Bug#14285)
21486         * files.el (basic-save-buffer): Don't let errors in
21487         before-save-hook prevent saving buffer.
21489 2013-04-20  Roland Winkler  <winkler@gnu.org>
21491         * faces.el (read-face-name): Use completing-read if arg multiple
21492         is nil.
21494 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
21496         * ls-lisp.el (ls-lisp-insert-directory): If no files are
21497         displayed, move point to after the totals line.
21498         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
21499         for the details.
21501 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21503         * emacs-lisp/package.el (package-autoload-ensure-default-file):
21504         Add current dir to the load-path.
21505         (package-generate-autoloads): Don't rely on
21506         autoload-ensure-default-file.
21508 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
21510         * textmodes/remember.el (remember-store-in-files): Document that
21511         the file name format is passed to `format-time-string'.
21513 2013-04-26  Leo Liu  <sdl.web@gmail.com>
21515         * progmodes/octave.el (octave-sync-function-file-names): New function.
21516         (octave-mode): Use it in before-save-hook.
21518 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21520         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
21521         (bug#14274).
21523         * progmodes/octave.el (octave-smie-forward-token): Properly skip
21524         \n and comment, even if it's not an implicit ; (bug#14218).
21526 2013-04-26  Glenn Morris  <rgm@gnu.org>
21528         * subr.el (read-number): Once more use `read' rather than
21529         `string-to-number', to trap non-numeric input.  (Bug#14254)
21531 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
21533         * emacs-lisp/syntax.el (syntax-propertize-multiline):
21534         Use `syntax-multiline' text property consistently instead of
21535         `font-lock-multiline'.  (Bug#14237)
21537 2013-04-26  Glenn Morris  <rgm@gnu.org>
21539         * emacs-lisp/shadow.el (list-load-path-shadows):
21540         No longer necessary to check for duplicate simple.el, since
21541         2012-07-07 change to init_lread to not include installation lisp
21542         directories in load-path when running uninstalled.  (Bug#14270)
21544 2013-04-26  Leo Liu  <sdl.web@gmail.com>
21546         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
21547         (octave-mode, inferior-octave-mode): Use setq-local.
21548         (octave-not-in-string-or-comment-p): Rename to
21549         octave-in-string-or-comment-p.
21550         (octave-in-comment-p, octave-in-string-p)
21551         (octave-in-string-or-comment-p): Replace defsubst with defun.
21553 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
21555         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
21557 2013-04-25  Bastien Guerry  <bzg@gnu.org>
21559         * textmodes/remember.el (remember-data-directory)
21560         (remember-directory-file-name-format): Fix custom types.
21562 2013-04-25  Leo Liu  <sdl.web@gmail.com>
21564         * progmodes/octave.el (octave-completion-at-point-function):
21565         Make use of inferior octave process.
21566         (octave-initialize-completions): Remove.
21567         (inferior-octave-completion-table): New function.
21568         (inferior-octave-completion-at-point): Use it.
21569         (octave-completion-alist): Remove.
21571 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21573         * progmodes/opascal.el: Use font-lock and syntax-propertize.
21574         (opascal-mode-syntax-table): New var.
21575         (opascal-literal-kind, opascal-is-literal-end)
21576         (opascal-literal-token-at): Rewrite.
21577         (opascal--literal-start-re, opascal-font-lock-keywords)
21578         (opascal--syntax-propertize): New constants.
21579         (opascal-font-lock-defaults): Adjust.
21580         (opascal-mode): Use them.  Set comment-<foo> variables as well.
21581         (delphi-comment-face, opascal-comment-face, delphi-string-face)
21582         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
21583         (delphi-other-face, opascal-other-face): Remove face variables.
21584         (opascal-save-state): Remove macro.
21585         (opascal-fontifying-progress-step): Remove constant.
21586         (opascal--ignore-changes): Remove var.
21587         (opascal-set-token-property, opascal-parse-next-literal)
21588         (opascal-is-stable-literal, opascal-complete-literal)
21589         (opascal-is-literal-start, opascal-face-of)
21590         (opascal-parse-region, opascal-parse-region-until-stable)
21591         (opascal-fontify-region, opascal-after-change)
21592         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
21593         (opascal-debug-parse-region, opascal-debug-parse-window)
21594         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
21595         (opascal-debug-fontify-buffer): Remove.
21596         (opascal-debug-mode-map): Adjust accordingly.
21598 2013-04-25  Leo Liu  <sdl.web@gmail.com>
21600         Merge octave-mod.el and octave-inf.el into octave.el with some
21601         cleanups.
21602         * progmodes/octave.el: New file renamed from octave-mod.el.
21603         * progmodes/octave-inf.el: Merged into octave.el.
21604         * progmodes/octave-mod.el: Renamed to octave.el.
21606 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
21608         * textmodes/reftex-vars.el
21609         (reftex-label-ignored-macros-and-environments): New defcustom.
21611         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
21613 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21615         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
21616         (smie-indent-keyword): Improve the check to ensure that the next
21617         comment is really on the same line.
21618         (smie-indent-comment): Don't align with a subsequent closer (or eob).
21620         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
21621         semi-colons if the line is not otherwise empty (bug#14218).
21623 2013-04-25  Glenn Morris  <rgm@gnu.org>
21625         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
21627 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21629         * progmodes/opascal.el (opascal-set-token-property): Rename from
21630         opascal-set-text-properties and only set `token' (bug#14134).
21631         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
21632         (opascal-literal-text-properties): Remove.
21633         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
21634         Adjust callers.
21636 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
21638         * textmodes/remember.el (remember-handler-functions): Add an
21639         option for a new handler `remember-store-in-files'.
21640         (remember-data-directory, remember-directory-file-name-format):
21641         New options.
21642         (remember-store-in-files): New function to store remember notes
21643         as separate files within a directory.
21645 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
21647         * progmodes/compile.el (compilation-next-error-function):
21648         Pass "formats" to compilation-find-file (bug#11777).
21650 2013-04-24  Glenn Morris  <rgm@gnu.org>
21652         * vc/vc-bzr.el (vc-bzr-print-log):
21653         * vc/vc-hg.el (vc-hg-print-log):
21654         * vc/vc-svn.el (vc-svn-print-log):
21655         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
21657         * vc/vc-bzr.el (vc-bzr-print-log):
21658         * vc/vc-cvs.el (vc-cvs-print-log):
21659         * vc/vc-git.el (vc-git-print-log):
21660         * vc/vc-hg.el (vc-hg-print-log):
21661         * vc/vc-mtn.el (vc-mtn-print-log):
21662         * vc/vc-rcs.el (vc-rcs-print-log):
21663         * vc/vc-sccs.el (vc-sccs-print-log):
21664         * vc/vc-svn.el (vc-svn-print-log):
21665         * vc/vc.el (vc-print-log-internal): Doc fixes.
21667 2013-04-23  Glenn Morris  <rgm@gnu.org>
21669         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
21670         Remove venerable code attempting to avoid substitute-command-keys.
21672 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
21674         * textmodes/reftex-vars.el (reftex-label-regexps):
21675         Call `reftex-compile-variables' after changes to this variable.
21677 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21679         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
21680         Use lexical-binding.
21681         (jit-lock-force-redisplay): Use markers, check buffer's continued
21682         existence and beware narrowed buffers.
21683         (jit-lock-fontify-now): Adjust call accordingly.
21685 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21687         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
21688         to avoid misleading the user.
21690 2013-04-22  Leo Liu  <sdl.web@gmail.com>
21692         * info-look.el: Prefer latex2e.info.  (Bug#14240)
21694 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
21696         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
21698         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
21699         * net/tramp.el (tramp-call-process): ... here.
21700         (tramp-set-completion-function, tramp-parse-putty):
21701         * net/tramp-adb.el (tramp-adb-execute-adb-command):
21702         * net/tramp-gvfs.el (tramp-gvfs-send-command):
21703         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
21704         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
21705         (tramp-call-local-coding-command): Use `tramp-call-process'
21706         instead of `tramp-compat-call-process'.
21708         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
21709         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
21710         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
21711         (tramp-find-inline-compress): Improve traces.
21712         (tramp-maybe-send-script): Check for Perl binary.
21713         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
21715 2013-04-22  Daiki Ueno  <ueno@gnu.org>
21717         * epg.el (epg-context-pinentry-mode): New function.
21718         (epg-context-set-pinentry-mode): New function.
21719         (epg--start): Pass --pinentry-mode option to gpg command.
21721 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
21723         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
21724         `comint-dynamic-complete' is obsolete since 24.1, replaced by
21725         `completion-at-point'.  (Bug#13774)
21727         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
21728         default key binding for `describe-distribution' has been moved to
21729         `C-h C-o'.  (Bug#13970)
21731 2013-04-21  Glenn Morris  <rgm@gnu.org>
21733         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
21734         Add doc strings.
21735         (vc-print-log): Clarify interactive prompt.
21737 2013-04-20  Glenn Morris  <rgm@gnu.org>
21739         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21740         No longer include timestamp etc information.
21742 2013-04-20  Roland Winkler  <winkler@gnu.org>
21744         * faces.el (read-face-name): Bug fix, return just one face if arg
21745         multiple is nil.  (Bug#14209)
21747 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21749         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
21750         (remove-function): Autoload.
21752         * comint.el (comint-redirect-original-filter-function): Remove.
21753         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
21754         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
21755         (vc-cvs-annotate-command):
21756         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
21757         * progmodes/prolog.el (prolog-consult-compile):
21758         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
21759         Use add/remove-function instead.
21760         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
21761         (gud-tooltip-process-output, gud-tooltip-tips):
21762         Use add/remove-function instead.
21763         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
21764         (scheme-interaction-mode, exit-scheme-interaction-mode):
21765         Use add/remove-function instead.
21767         * vc/vc-dispatcher.el: Use lexical-binding.
21768         (vc--process-sentinel): Rename from vc-process-sentinel.
21769         Change last arg to be the code to run.  Don't use vc-previous-sentinel
21770         and vc-sentinel-commands any more.
21771         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
21772         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
21774 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
21776         * progmodes/sh-script.el (sh-imenu-generic-expression):
21777         Handle function names with a single character.  (Bug#14111)
21779 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
21781         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
21782         for subroutines defined in an eval (bug#14182).
21784 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
21786         * bookmark.el (bookmark-completing-read): Improve handling of empty
21787         string (bug#14176).
21789 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21791         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
21793 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21795         New faster Imenu implementation (bug#14058).
21796         * progmodes/python.el (python-imenu-prev-index-position)
21797         (python-imenu-format-item-label-function)
21798         (python-imenu-format-parent-item-label-function)
21799         (python-imenu-format-parent-item-jump-label-function):
21800         New vars.
21801         (python-imenu-format-item-label)
21802         (python-imenu-format-parent-item-label)
21803         (python-imenu-format-parent-item-jump-label)
21804         (python-imenu--put-parent, python-imenu--build-tree)
21805         (python-imenu-create-index, python-imenu-create-flat-index)
21806         (python-util-popn): New functions.
21807         (python-mode): Set imenu-create-index-function to
21808         python-imenu-create-index.
21810 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21812         * winner.el (winner-active-region): Use region-active-p, activate-mark
21813         and deactivate-mark (bug#14225).
21815         * simple.el (deactivate-mark): Don't inline it.
21817 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
21819         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
21821 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
21823         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
21824         file extensions from the archive-mode entry in order to prefer
21825         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
21827 2013-04-18  Leo Liu  <sdl.web@gmail.com>
21829         * bindings.el (help-event-list): Add ?\?.
21831 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21833         * subr.el (with-wrapper-hook): Declare obsolete.
21834         * simple.el (filter-buffer-substring-function): New hook.
21835         (filter-buffer-substring): Use it.
21836         (filter-buffer-substring-functions): Mark obsolete.
21837         * minibuffer.el (completion-in-region-function): New hook.
21838         (completion-in-region): Use it.
21839         (completion-in-region-functions): Mark obsolete.
21840         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
21841         * abbrev.el (abbrev-expand-function): New hook.
21842         (expand-abbrev): Use it.
21843         (abbrev-expand-functions): Mark obsolete.
21844         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
21845         and :filter-return.
21847 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21849         * progmodes/python.el (python-nav--syntactically): Fix cornercases
21850         and do not care about match data.
21852 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21854         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
21855         completion tables when completing error conditions and
21856         `declare' arguments.
21857         (lisp-complete-symbol, field-complete): Mark as obsolete.
21858         (check-parens): Unmatched parens are user errors.
21859         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
21861 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
21863         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
21864         command changed buffer (ie. `flyspell-pre-buffer' is not current
21865         buffer), which prevents making decisions based on invalid value of
21866         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
21867         cause an error when `flyspell-pre-point' was nil after switching
21868         buffers.
21869         (flyspell-post-command-hook): No longer needs to change buffers when
21870         checking pre-word.  While at it remove unnecessary progn.
21872 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
21874         * textmodes/ispell.el (ispell-add-per-file-word-list):
21875         Fix `flyspell-correct-word-before-point' error when accepting
21876         words and `coment-padding' is an integer by using
21877         `comment-normalize-vars' (Bug #14214).
21879 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21881         New defun movement commands.
21882         * progmodes/python.el (python-nav--syntactically)
21883         (python-nav--forward-defun, python-nav-backward-defun)
21884         (python-nav-forward-defun): New functions.
21886 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21888         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
21889         (python-syntax-context): Use named compiler-macro for backwards
21890         compatibility with Emacs 24.x.
21892 2013-04-17  Leo Liu  <sdl.web@gmail.com>
21894         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
21895         octave-hide-process-buffer.
21897 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21899         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
21900         (bug#14216).
21902 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
21904         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
21905         Fix adjustment of offset when receiving incomplete responses from GDB
21906         (bug#14129).
21908 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21910         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
21911         python-mode-abbrev-table.
21912         (python-skeleton-define): Adjust accordingly.
21913         (python-mode-abbrev-table): New table that inherits from it so that
21914         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
21916         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
21917         (abbrev-symbol): Use it.
21918         (abbrev--before-point): Use it since we already handle inheritance.
21920 2013-04-16  Leo Liu  <sdl.web@gmail.com>
21922         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
21923         binding to info-lookup-symbol.
21925 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
21927         * minibuffer.el (completion--twq-all):
21928         * term/ns-win.el (ns-initialize-window-system):
21929         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
21931 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21933         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
21934         global bindings.
21936         * doc-view.el (doc-view-start-process): Handle url-handler directories.
21938 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
21940         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
21941         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
21942         to nil.
21943         (ruby-end-of-defun): Remove the unused arg, change the docstring
21944         to reflect that this function is only used as the value of
21945         `end-of-defun-function'.
21946         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
21947         to reflect an earlier change that beginning/end-of-defun functions
21948         jump between methods in a class definition, as well as top-level
21949         functions.
21951 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21953         * minibuffer.el (minibuffer-complete): Don't just scroll
21954         a *Completions* that's been iconified.
21955         (minibuffer-force-complete): Make sure repetitions do cycle when going
21956         through completion-in-region -> minibuffer-complete.
21958 2013-04-15  Alan Mackenzie  <acm@muc.de>
21960         Correct the placement of c-cpp-delimiters when there're #s not at
21961         col 0.
21963         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
21964         place a submatch around the #.
21965         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
21966         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
21967         on the #, not BOL.
21969 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21971         * emacs-lisp/nadvice.el: Properly test names when adding advice.
21972         (advice--member-p): New arg `name'.
21973         (advice--add-function, advice-member-p): Use it (bug#14202).
21975 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
21977         Reformulate java imenu-generic-expression.
21978         The old expression contained ill formed regexps.
21980         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
21981         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
21982         (cc-imenu-java-method-arg-regexp): New defconsts.
21983         (cc-imenu-java-build-type-args-regex): New defun.
21984         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
21985         handling of spaces in the regexp.
21987 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
21989         * textmodes/ispell.el (ispell-command-loop): Remove
21990         flyspell highlight of a word when ispell accepts it (bug #14178).
21992 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
21994         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
21995         uses code from the previous `ange-ftp-run-real-handler'.
21996         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
21997         only in case that function exist.  This is needed for proper
21998         unloading of Tramp.
22000 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
22002         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
22004         * textmodes/reftex.el (reftex-compile-variables): Use it.
22006 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22008         * files.el (normal-mode): Only use default major-mode if no other mode
22009         was specified.
22011         * emacs-lisp/trace.el (trace-values): New function.
22013         * files.el: Allow : in local variables (bug#14089).
22014         (hack-local-variable-regexp): New var.
22015         (hack-local-variables-prop-line, hack-local-variables): Use it.
22017 2013-04-13  Roland Winkler  <winkler@gnu.org>
22019         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
22020         data before it gets modified by bibtex-beginning-of-entry.
22022 2013-04-13  Roland Winkler  <winkler@gnu.org>
22024         * textmodes/bibtex.el (bibtex-url): Doc fix.
22026 2013-04-13  Roland Winkler  <winkler@gnu.org>
22028         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
22029         does not visit a BibTeX file, exclude it from the list of buffers
22030         returned by bibtex-initialize.
22032 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
22034         * window.el (split-window): Remove interactive form, since as a
22035         command this function is a special case of split-window-below.
22036         Correct doc string.
22038 2013-04-12  Roland Winkler  <winkler@gnu.org>
22040         * faces.el (read-face-name): Do not override value of arg default.
22041         Allow single faces and strings as default values.  Remove those
22042         elements from return value that are not faces.
22043         (describe-face): Simplify.
22044         (face-at-point): New optional args thing and multiple so that this
22045         function can provide the same functionality previously provided by
22046         read-face-name.
22047         (make-face-bold, make-face-unbold, make-face-italic)
22048         (make-face-unitalic, make-face-bold-italic, invert-face)
22049         (modify-face, read-face-and-attribute): Use face-at-point.
22051         * cus-edit.el (customize-face, customize-face-other-window)
22052         * cus-theme.el (custom-theme-add-face)
22053         * face-remap.el (buffer-face-set)
22054         * facemenu.el (facemenu-set-face): Use face-at-point.
22056 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
22058         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
22060 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
22062         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
22063         off leading { and trailing } from field values.
22065 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
22067         * emacs-lisp/timer.el (timer--check): New function.
22068         (timer--time, timer-set-function, timer-event-handler): Use it.
22069         (timer-set-idle-time): Simplify.
22070         (timer--activate): CSE.
22071         (timer-event-handler): Give more info in error message.
22072         (internal-timer-start-idle): New function, moved from C.
22074         * mpc.el (mpc-proc): Add `restart' argument.
22075         (mpc-proc-cmd): Use it.
22076         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
22077         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
22078         less often.
22080 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
22082         * progmodes/sh-script.el: Implement `sh-mode' own
22083         `add-log-current-defun-function' (bug#14112).
22084         (sh-current-defun-name): New function.
22085         (sh-mode): Use the function.
22087 2013-04-09  Bastien Guerry  <bzg@gnu.org>
22089         * simple.el (choose-completion-string): Fix docstring (bug#14163).
22091 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22093         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
22095         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
22096         timer (bug#14156).
22098 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
22100         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
22101         declaration.
22103 2013-04-07  Leo Liu  <sdl.web@gmail.com>
22105         * pcmpl-x.el: New file.
22107 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
22109         Do not set x-display-name until X connection is established.
22110         This is needed to prevent from weird situation described at
22111         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
22112         * frame.el (make-frame): Set x-display-name after call to
22113         window system initialization function, not before.
22114         * term/x-win.el (x-initialize-window-system): Add optional
22115         display argument and use it.
22116         * term/w32-win.el (w32-initialize-window-system):
22117         * term/ns-win.el (ns-initialize-window-system):
22118         * term/pc-win.el (msdos-initialize-window-system):
22119         Add compatible optional display argument.
22121 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
22123         * files.el (normal-backup-enable-predicate): On MS-Windows and
22124         MS-DOS compare truenames of temporary-file-directory and of the
22125         file, so that 8+3 aliases (usually found in $TEMP on Windows)
22126         don't fail comparison by compare-strings.  Also, compare file
22127         names case-insensitively on MS-Windows and MS-DOS.
22129 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22131         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
22132         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
22134 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
22136         * whitespace.el (whitespace-color-on, whitespace-color-off):
22137         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
22139 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
22141         * ispell.el (ispell-set-spellchecker-params):
22142         Really set `ispell-args' for all equivs.
22144 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22146         * ido.el (ido-completions): Use extra elements of ido-decorations
22147         (bug#14143).
22148         (ido-decorations): Update docstring.
22150 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
22152         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
22153         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
22154         nil during initialization, in order not to miss changes since the
22155         file was opened.  (Bug#14140)
22157 2013-04-05  Leo Liu  <sdl.web@gmail.com>
22159         * kmacro.el (kmacro-call-macro): Fix bug#14135.
22161 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
22163         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
22165 2013-04-04  Glenn Morris  <rgm@gnu.org>
22167         * electric.el (electric-pair-inhibit-predicate): Add :version.
22169 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
22171         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
22172         when a package is required several times (bug#14082).
22174 2013-04-04  Roland Winkler  <winkler@gnu.org>
22176         * faces.el (read-face-name): Behave as promised by the docstring.
22177         Assume that arg default is a list of faces.
22178         (describe-face): Call read-face-name with list of default faces.
22180 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
22182         * bookmark.el: Fix deletion of bookmarks (bug#13972).
22183         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
22184         (bookmark-bmenu-execute-deletions): Only skip first line if it's
22185         the header.
22186         (bookmark-exit-hook-internal): Save even if list is empty.
22188 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
22190         * emacs-lisp/package.el (package-pinned-packages): New var.
22191         (package--add-to-archive-contents): Obey it (bug#14118).
22193 2013-04-03  Alan Mackenzie  <acm@muc.de>
22195         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
22196         Also adapt to the new values of element 7 of a parse state.
22198         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
22199         parameter `not-in-delimiter'.  Handle being inside comment opener.
22200         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
22201         character in case we're typing a '*' after a '/'.
22202         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
22203         instead by passing the parameter to c-state-pp-to-literal.
22205         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
22206         for elt. 7 of a parse state.
22208 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
22210         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
22211         * international/latin1-disp.el, international/mule-util.el:
22212         * language/cyril-util.el, language/european.el, language/ind-util.el:
22213         * language/lao-util.el, language/thai.el, language/tibet-util.el:
22214         * language/tibetan.el, language/viet-util.el:
22215         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
22217 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22219         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
22220         (electric-pair-post-self-insert-function): Use it.
22221         (electric-pair-default-inhibit): New function, extracted from
22222         electric-pair-post-self-insert-function.
22224 2013-03-31  Roland Winkler  <winkler@gnu.org>
22226         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
22228 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22230         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
22232 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
22234         Un-indent after "pass" and "return" statements (Bug#13888)
22235         * progmodes/python.el (python-indent-block-enders): New var.
22236         (python-indent-calculate-indentation): Use it.
22238 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
22240         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
22241         defun.  Defining it as defalias could introduce too eager
22242         byte-compiler optimization.  (Bug#14030)
22244 2013-03-30  Chong Yidong  <cyd@gnu.org>
22246         * iswitchb.el (iswitchb-read-buffer): Fix typo.
22248 2013-03-30  Leo Liu  <sdl.web@gmail.com>
22250         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
22251         (kmacro-execute-from-register): Pass the keyboard macro to
22252         kmacro-call-macro or repeating won't work correctly.
22254 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
22256         * progmodes/subword.el: Back to using `forward-symbol'.
22258         * subr.el (forward-whitespace, forward-symbol)
22259         (forward-same-syntax): Move from thingatpt.el.
22261 2013-03-29  Leo Liu  <sdl.web@gmail.com>
22263         * kmacro.el (kmacro-to-register): New command.
22264         (kmacro-execute-from-register): New function.
22265         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
22267 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
22269         * mpc.el: Use defvar-local and setq-local.
22270         (mpc--proc-connect): Connection failures are not bugs.
22271         (mpc-mode-map): `follow-link' only applies to the buffer's content.
22272         (mpc-volume-map): Bind to the up-events.
22274 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
22276         * progmodes/subword.el (superword-mode): Use `forward-sexp'
22277         instead of `forward-symbol'.
22279 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
22281         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
22282         (edebug--recursive-edit): Use it.
22283         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
22284         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
22286 2013-03-28  Leo Liu  <sdl.web@gmail.com>
22288         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
22290 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
22292         * facemenu.el (list-colors-callback): New defvar.
22293         (list-colors-redisplay): New function.
22294         (list-colors-display): Install list-colors-redisplay as the
22295         revert-buffer-function.  (Bug#14063)
22297 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
22299         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
22300         and suffixes don't overlap (bug#14061).
22302         * case-table.el: Use lexical-binding.
22303         (case-table-get-table): New function.
22304         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
22306 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
22308         * progmodes/subword.el: Add `superword-mode' to do word motion
22309         over symbol_words (parallels and leverages `subword-mode' which
22310         does word motion inside MixedCaseWords).
22312 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
22314         * eshell/em-unix.el: Move su and sudo to...
22315         * eshell/em-tramp.el: ...Eshell tramp module.
22317 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
22319         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
22320         Change return value to be a sexp.  Delay `get-buffer' to after
22321         restoring the desktop (bug#13951).
22323 2013-03-26  Leo Liu  <sdl.web@gmail.com>
22325         * register.el: Move semantic tag handling back to
22326         cedet/semantic/senator.el.  (Bug#14052)
22328 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
22330         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
22331         into the prompt either (bug#13963).
22333 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
22335         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
22336         part of "(error-foo)".
22338 2013-03-24  Juri Linkov  <juri@jurta.org>
22340         * replace.el (list-matching-lines-prefix-face): New defcustom.
22341         (occur-1): Pass `list-matching-lines-prefix-face' to the function
22342         `occur-engine' if `face-differs-from-default-p' returns t.
22343         (occur-engine): Add `,' inside backquote construct to evaluate
22344         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
22345         Pass `prefix-face' to the functions `occur-context-lines' and
22346         `occur-engine-add-prefix'.
22347         (occur-engine-add-prefix, occur-context-lines): Add optional arg
22348         `prefix-face' and propertize the prefix with `prefix-face'.
22349         (Bug#14017)
22351 2013-03-24  Leo Liu  <sdl.web@gmail.com>
22353         * nxml/rng-valid.el (rng-validate-while-idle)
22354         (rng-validate-quick-while-idle): Guard against deleted buffer.
22355         (Bug#13999)
22357         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
22358         is the last entry in kill-buffer-hook.
22360         * files.el (kill-buffer-hook): Doc fix.
22362 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
22364         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
22365         Make it safe-local.
22367         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
22369 2013-03-23  Leo Liu  <sdl.web@gmail.com>
22371         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
22372         Remove.
22374         * nxml/rng-valid.el (rng-validate-mode)
22375         (rng-after-change-function, rng-do-some-validation):
22376         * nxml/rng-maint.el (rng-validate-buffer):
22377         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
22378         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
22379         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
22380         (nxml-extend-after-change-region): Use with-silent-modifications.
22382         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
22383         timer-idle-list.
22385         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
22386         (rng-next-error-1, rng-previous-error-1): Do not let-bind
22387         timer-idle-list.  (Bug#13999)
22389 2013-03-23  Juri Linkov  <juri@jurta.org>
22391         * info.el (info-index-match): New face.
22392         (Info-index, Info-apropos-matches): Add a nested subgroup to the
22393         main pattern and add text properties with the new face to matches
22394         in index entries relative to the beginning of the index entry.
22395         (Bug#14015)
22397 2013-03-21  Eric Ludlam  <zappo@gnu.org>
22399         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
22400         Inhibit read only while inserting objects.
22402 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
22404         * progmodes/cfengine.el: Update docs to mention
22405         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
22406         symbol motion.  Remove "_" from the word syntax.
22408 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
22410         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
22411         syntax for both `cfengine2-mode' and `cfengine3-mode'.
22413 2013-03-20  Juri Linkov  <juri@jurta.org>
22415         * info.el (Info-next-reference-or-link)
22416         (Info-prev-reference-or-link): New functions.
22417         (Info-next-reference, Info-prev-reference): Use them.
22418         (Info-try-follow-nearest-node): Handle footnote navigation.
22419         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
22421 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22423         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
22424         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
22426 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
22428         Suppress unnecessary non-ASCII chatter during build process.
22429         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
22430         (batch-skkdic-convert): Suppress most of the chatter.
22431         It's not needed so much now that machines are faster,
22432         and its non-ASCII component was confusing; see Dmitry Gutov in
22433         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
22435 2013-03-20  Leo Liu  <sdl.web@gmail.com>
22437         * ido.el (ido-chop): Fix bug#10994.
22439 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
22441         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
22442         Remove vars.
22443         (whitespace-color-on, whitespace-color-off):
22444         Use `font-lock-fontify-buffer' (Bug#13817).
22446 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
22448         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
22449         remapping in mode-line.
22450         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
22452 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
22454         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
22455         value for `whitespace-line' face (Bug#13875).
22456         (whitespace-font-lock-keywords): Change description.
22457         (whitespace-color-on): Don't save `font-lock-keywords' value, save
22458         the constructed keywords instead.
22459         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
22461 2013-03-19  Leo Liu  <sdl.web@gmail.com>
22463         * progmodes/compile.el (compilation-display-error): New command.
22464         (compilation-mode-map, compilation-minor-mode-map): Bind it to
22465         C-o.  (Bug#13992)
22467 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
22469         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
22471 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
22473         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
22475 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
22477         * net/tramp-compat.el (tramp-compat-user-error): New defun.
22479         * net/tramp-adb.el (tramp-adb-handle-shell-command):
22480         * net/tramp-gvfs.el (top):
22481         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
22482         (tramp-handle-shell-command): Use it.
22483         (tramp-dissect-file-name): Raise an error when hostname is a
22484         method name, and neither method nor user is specified.
22486         * net/trampver.el: Update release number.
22488 2013-03-18  Leo Liu  <sdl.web@gmail.com>
22490         Make sure eldoc can be turned off properly.
22491         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
22492         eldoc-mode.
22493         (eldoc-display-message-p): Revert last change.
22494         (eldoc-display-message-no-interference-p)
22495         (eldoc-print-current-symbol-info): Tweak.
22497 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
22499         * doc-view.el (doc-view-new-window-function): Check the new window
22500         overlay's display property instead the char property of the
22501         buffer's first char.  Use `with-selected-window' instead of
22502         `save-window-excursion' with `select-window'.
22503         (doc-view-document->bitmap): Check the current doc-view overlay's
22504         display property instead the char property of the buffer's first char.
22506 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
22508         Automate the build of ja-dic.el (Bug#13984).
22509         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
22510         from the input, rather than assume that it's been done for us by the
22511         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
22512         the current date into a ja-dic.el comment, as that complicates
22513         regression testing.
22515 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22517         * whitespace.el: Fix double evaluation.
22518         (whitespace-space, whitespace-hspace, whitespace-tab)
22519         (whitespace-newline, whitespace-trailing, whitespace-line)
22520         (whitespace-space-before-tab, whitespace-indentation)
22521         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
22522         obsolete defvars.
22523         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
22524         (whitespace-color-on): Use a single font-lock-add-keywords call.
22525         Fix double-evaluation of face variables.
22527 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
22529         * net/tramp-adb.el (tramp-adb-parse-device-names):
22530         Use `start-process' instead of `call-process'.  Otherwise, the
22531         function might be blocked under MS Windows.  (Bug#13299)
22533 2013-03-17  Leo Liu  <sdl.web@gmail.com>
22535         Extend eldoc to display info in the mode-line.  (Bug#13978)
22536         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
22537         (eldoc-mode-line-string): New variable.
22538         (eldoc-minibuffer-message): New function.
22539         (eldoc-message-function): New variable.
22540         (eldoc-message): Use it.
22541         (eldoc-display-message-p)
22542         (eldoc-display-message-no-interference-p):
22543         Support eldoc-post-insert-mode.
22545         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
22546         (eval-expression): Run it.
22548 2013-03-17  Roland Winkler  <winkler@gnu.org>
22550         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
22551         strings in the list of return values.
22553 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
22555         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
22556         radix before checking for HMS forms.
22558 2013-03-16  Leo Liu  <sdl.web@gmail.com>
22560         * progmodes/scheme.el: Add indentation and font-locking for λ.
22561         (Bug#13975)
22563 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
22565         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
22566         token before point (bug#13942).
22568 2013-03-16  Leo Liu  <sdl.web@gmail.com>
22570         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
22572 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
22574         * startup.el (command-line-normalize-file-name): Fix handling of
22575         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
22576         <xfq.free@gmail.com> in
22577         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
22579 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
22581         Sync with Tramp 2.2.7.
22583         * net/trampver.el: Update release number.
22585 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
22587         * doc-view.el: Fix bug#13887.
22588         (doc-view-insert-image): Don't modify overlay associated to
22589         non-live windows, and implement horizontal centering of image in
22590         case it's smaller than the window.
22591         (doc-view-new-window-function): Force redisplay of new windows on
22592         doc-view buffers.
22594 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
22596         * saveplace.el (save-place-alist-to-file): Don't sort
22597         `save-place-alist', just pretty-print it (bug#13882).
22599 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
22601         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
22602         Check whether `default-file-name-coding-system' is bound.
22603         It isn't in XEmacs.
22605 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22607         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
22608         backquotes for `obsolete' (bug#13929).
22610         * international/mule.el (find-auto-coding): Include file name in
22611         obsolescence warning (bug#13922).
22613 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
22615         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
22616         for CFEngine 3-specific indentation.
22617         (cfengine3-indent-line): Use it.  Fix up category regex.
22618         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
22620 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22622         * type-break.el (type-break-file-name):
22623         * textmodes/remember.el (remember-data-file):
22624         * strokes.el (strokes-file):
22625         * shadowfile.el (shadow-initialize):
22626         * saveplace.el (save-place-file):
22627         * ps-bdf.el (bdf-cache-file):
22628         * progmodes/idlwave.el (idlwave-config-directory):
22629         * net/quickurl.el (quickurl-url-file):
22630         * international/kkc.el (kkc-init-file-name):
22631         * ido.el (ido-save-directory-list-file):
22632         * emulation/viper.el (viper-custom-file-name):
22633         * emulation/vip.el (vip-startup-file):
22634         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
22635         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
22637 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
22639         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
22640         * language/thai-word.el: Switch to UTF-8.
22642 See ChangeLog.16 for earlier changes.
22644 ;; Local Variables:
22645 ;; coding: utf-8
22646 ;; End:
22648   Copyright (C) 2011-2014 Free Software Foundation, Inc.
22650   This file is part of GNU Emacs.
22652   GNU Emacs is free software: you can redistribute it and/or modify
22653   it under the terms of the GNU General Public License as published by
22654   the Free Software Foundation, either version 3 of the License, or
22655   (at your option) any later version.
22657   GNU Emacs is distributed in the hope that it will be useful,
22658   but WITHOUT ANY WARRANTY; without even the implied warranty of
22659   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22660   GNU General Public License for more details.
22662   You should have received a copy of the GNU General Public License
22663   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.