* lisp/emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
[emacs.git] / lisp / ChangeLog
blob4246fb3a535a9e495bdb443bfec428398c008677
1 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4         Beware signals raised by predicates (bug#16201).
6 2014-01-02  Richard Stallman  <rms@gnu.org>
8         * dired-aux.el (dired-do-print): Handle printer-name.
10         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
11         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12         (rmail-epa-decrypt): Turn off mime processing.
14         * mail/rmail.el (rmail-make-in-reply-to-field):
15         Add parens in message-id.
17         * mail/rmail.el (rmail-get-coding-function): Variable.
18         (rmail-get-coding-system): Use it.
20 2014-01-02  Vincent Belaïche  <vincentb1@users.sourceforge.net>
22         * ses.el (ses-load): Correct handling for ses--file-format
23         checking.
25 2014-01-02  Vincent Belaïche  <vincentb1@users.sourceforge.net>
27         * ses.el (ses-initial-global-parameters-re): New defconst, a
28         specific regexp is needed now that ses.el can handle both
29         file-format 2 (no local printers) and 3 (may have local printers).
30         (silence compiler): Add local variables needed for local printer
31         handling.
32         (ses-set-localvars): Handle hashmap initialisation.
33         (ses-paramlines-plist): Add param-line for number of local printers.
34         (ses-paramfmt-plist): New defconst, needed for code factorization
35         between functions `ses-set-parameter' and
36         `ses-file-format-extend-paramter-list'
37         (ses-make-local-printer-info): New defsubst.
38         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
39         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
40         (ses-cell-printer-aset): New defmacro.
41         (ses-local-printer-compile): New defun.
42         (ses-local-printer): New defmacro.
43         (ses-printer-validate, ses-call-printer): Add support for local
44         printer functions.
45         (ses-file-format-extend-paramter-list): New defun.
46         (ses-set-parameter): Use const `ses-paramfmt-plist' for code factorization.
47         (ses-load): Add support for local
48         printer functions.
49         (ses-read-printer): Update docstring and add support for local printer functions.
50         (ses-refresh-local-printer, ses-define-local-printer): New defun.
51         (ses-safe-printer): Add support for local printer functions.
53 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
55         * international/mule-conf.el: Unify the charset indian-is13194.
56         (indian-is13194): Specify unify-map.
58 2013-12-31  Leo Liu  <sdl.web@gmail.com>
60         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
62 2013-12-30  Daniel Colascione  <dancol@dancol.org>
64         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
65         of printing a useless when we resume from sleep.
67         * progmodes/sh-script.el
68         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
69         in indentation code.  (Bug#16233)
71 2013-12-28  João Távora  <joaotavora@gmail.com>
73         * elec-pair.el (electric-pair-post-self-insert-function):
74         Don't open extra newlines at beginning of buffer.  (Bug#16272)
76 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
78         * frame.el (window-system-for-display): Don't allow to create a
79         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
81 2013-12-28  Glenn Morris  <rgm@gnu.org>
83         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
84         Update callers.
86         * apropos.el (apropos-match-face):
87         * calculator.el (calculator-displayer):
88         * dabbrev.el (dabbrev-search-these-buffers-only):
89         * face-remap.el (buffer-face-mode-face):
90         * simple.el (yank-handled-properties):
91         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
92         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
93         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
94         (hashcash-double-spend-database):
95         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
96         (ruby-deep-indent-paren-style):
97         * textmodes/flyspell.el (flyspell-auto-correct-binding):
98         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
99         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
100         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
101         Specify custom types.
103         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
104         * bookmark.el (bookmark-bmenu-use-header-line):
105         * doc-view.el (doc-view-scale-internally):
106         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
107         * register.el (register-preview-delay):
108         * net/shr.el (shr-bullet):
109         * progmodes/cfengine.el (cfengine-cf-promises)
110         (cfengine-parameters-indent):
111         * progmodes/octave.el (inferior-octave-error-regexp-alist):
112         * textmodes/reftex-vars.el (reftex-label-regexps):
113         * vc/log-edit.el (log-edit-setup-add-author): Add version.
115         * net/tls.el (tls-certtool-program): Fix default value.
117         * desktop.el (desktop-restore-in-current-display):
118         * newcomment.el (comment-empty-lines):
119         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
120         (idlwave-pad-keyword):
121         * progmodes/tcl.el (tcl-tab-always-indent):
122         * textmodes/reftex-vars.el (reftex-index-default-tag):
123         * elec-pair.el (electric-pair-skip-whitespace):
124         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
126         * emacs-lisp/authors.el (authors-ignored-files)
127         (authors-valid-file-names, authors-renamed-files-alist): Additions.
129 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
131         * shell.el (shell-dynamic-complete-command): Doc fix.
132         (shell--command-completion-data): Shell completion now matches
133         executable filenames from the current buffer's directory, on
134         systems in which this behaviour is the default (windows-nt, ms-dos).
136 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
138         * net/shr.el (shr-insert): Don't infloop if the width is zero.
140 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
142         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
143         (bug#16251).
145         * electric.el: Move all electric-pair-* to elec-pair.el.
146         * elec-pair.el: New file, split from electric.el.
148 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
150         * net/shr.el (shr-find-fill-point): Don't try to fill if the
151         indentation level is larger than the width, because that will
152         infloop.
153         (shr-insert): Fill repeatedly long texts, so that Japanese is
154         formatted correctly (bug#16263).
155         (shr-find-fill-point): Off by one error in comparison with the
156         indentation.
158 2013-12-26  João Távora  <joaotavora@gmail.com>
160         * electric.el (electric-pair-mode): More flexible engine for skip-
161         and inhibit predicates, new options for pairing-related functionality.
162         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
163         if that keeps or improves their balance in buffers.
164         (electric-pair-delete-adjacent-pairs): Delete the pair when
165         backspacing over adjacent matched delimiters.
166         (electric-pair-open-extra-newline): Open extra newline when
167         inserting newlines between adjacent matched delimiters.
168         (electric--sort-post-self-insertion-hook):
169         Sort post-self-insert-hook according to priority values when
170         minor-modes are activated.
171         * simple.el (newline-and-indent): Call newline with interactive
172         set to t.
173         (blink-paren-post-self-insert-function): Set priority to 100.
174         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
175         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
176         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
177         electric-pair-open-newline-between-pairs to nil.
179 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
181         * progmodes/python.el: Use lexical-binding.
182         (python-nav-beginning-of-defun): Stop searching ASAP.
184 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
186         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
187         Fix interactive spec.  Doc fix.  (Bug#15754)
189 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
191         * emacs-lisp/byte-run.el (eval-when-compile):
192         * progmodes/cc-defs.el (cc-eval-when-compile):
193         Fix edebug spec (bug#16184).
195 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
197         * net/shr.el (shr-visit-file): Remove debugging function.
198         (shr-insert): Don't infloop if we can't find a good place to break
199         the line (bug#16256).
201 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
203         * progmodes/python.el:
204         (python-nav--lisp-forward-sexp): New function.
205         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
206         python-nav-lisp-forward-sexp-safe.
207         (python-nav--forward-sexp): New argument SAFE allows switching
208         forward sexp movement behavior for parens.
209         (python-nav-forward-sexp): Throw errors on unterminated parens
210         (Bug#16191).
211         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
212         (python-nav-backward-sexp-safe): New functions.
213         (python-shell-buffer-substring):
214         Use `python-nav-forward-sexp-safe'.
216 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
218         * net/shr.el (shr-find-fill-point): Don't break lines before a
219         quotation mark.
220         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
221         (shr-find-fill-point): Remove the special checks for the quotation
222         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
224 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
226         * net/eww.el (eww-form-textarea): Use a different face for
227         textareas than text input since they have different keymaps
228         (bug#16142).
230 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
232         * progmodes/python.el (python-nav-beginning-of-statement):
233         Speed up (Bug#15295).
235 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
237         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
238         the window configuration.
240 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
242         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
243         we run on MS-Windows or MS-DOS.
245 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
247         * window.el (balance-windows-area): Call window-size instead of
248         window-height and window-width.  Bug#16241.
250 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
252         * net/eww.el (eww-bookmark-quit): Remove.
253         (eww-bookmark-browse): Restore the window configuration when you
254         choose a bookmark (bug#16144).
256 2013-12-24  Daniel Colascione  <dancol@dancol.org>
258         * icomplete.el: Remove redundant :group arguments to `defcustom'
259         throughout.
260         (icomplete-show-matches-on-no-input): New customizable variable.
261         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
262         we have something to show.
263         (icomplete-exhibit): Compute completions even if we have no user input.
265 2013-12-23  Daniel Colascione  <dancol@dancol.org>
267         * icomplete.el: Move `provide' to end of file.
269 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
271         * net/gnutls.el (gnutls-verify-error): Add version tag.
273 2013-12-23  Chong Yidong  <cyd@gnu.org>
275         * subr.el (set-transient-map): Rename from
276         set-temporary-overlay-map.  Doc fix.
278         * face-remap.el (text-scale-adjust):
279         * indent.el (indent-rigidly):
280         * kmacro.el (kmacro-call-macro):
281         * minibuffer.el (minibuffer-force-complete):
282         * repeat.el (repeat):
283         * simple.el (universal-argument--mode):
284         * calendar/todo-mode.el (todo-insert-item--next-param):
285         * progmodes/f90.el (f90-abbrev-start): Callers changed.
287         * indent.el (indent-rigidly): Use substitute-command-keys.
289 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
291         * net/eww.el (eww-tag-select): Add text-property to jump to next
292         select field.
293         (eww): Add non-supported ftp error.
295 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
297         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
298         comments.  Handle electric indent after typing `?' and `!'.
300 2013-12-22  Chong Yidong  <cyd@gnu.org>
302         * faces.el (face-spec-recalc): If the theme specs are not
303         applicable to a frame, fall back on the defface spec.
304         This prevents themes from obliterating faces on low-color terminals.
306 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
308         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
309         after `{'.  We need it after block openers, and it doesn't seem
310         to hurt after hash openers.
312 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
314         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
315         extracted from `ruby-smie-rules'.
316         (ruby--electric-indent-chars): New variable.
317         (ruby--electric-indent-p): New function.
318         (ruby-mode): Use `electric-indent-functions' instead of
319         `electric-indent-chars'.
321 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
323         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
324         docstring.
325         (ruby-smie-rules): Indent plus one level after `=>'.
327 2013-12-21  Richard Stallman  <rms@gnu.org>
329         * simple.el (newline): Doc fix.
331 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
333         * net/eww.el (eww-list-histories, eww-list-histories)
334         (eww-history-browse, eww-history-quit, eww-history-kill)
335         (eww-history-mode-map, eww-history-mode): New command and
336         functions to list browser histories.
337         (eww-form-text): Support text form with disabled
338         and readonly attributes.
339         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
341 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
343         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
344         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
345         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
346         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
347         Use `user-error'.
348         (eww-bookmark-mode-map): Add menu.
349         (eww-render, eww-mode): Use `setq-local'.
350         (eww-tool-bar-map): New variable.
351         (eww-mode): Set `tool-bar-map'.
352         (eww-view-source): Check for `html-mode' with `fboundp'.
354 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
356         * net/shr.el (shr--extract-best-source): Don't bug out on audio
357         elements with text inside.  Also remove debugging.
359 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
361         * cus-start.el (all): Add ns-use-srgb-colorspace.
363 2013-12-21  Chong Yidong  <cyd@gnu.org>
365         * custom.el (custom-theme-recalc-face): Do nothing if the face is
366         undefined.  Thus, theme settings for undefined faces do not take
367         effect until the faces are defined with defface, the same as with
368         theme variables.
370         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
371         (face-spec-reset-face): Don't assign extra properties in temacs.
372         (face-spec-recalc): Apply X resources too.
374 2013-12-21  Chong Yidong  <cyd@gnu.org>
376         * faces.el (face-spec-set):
377         * cus-face.el (custom-theme-set-faces, custom-set-faces):
378         * custom.el (defface): Doc fixes (Bug#16203).
380         * indent.el (indent-rigidly-map): Add docstring, and move commands
381         into named functions.
382         (indent-rigidly-left, indent-rigidly-right)
383         (indent-rigidly-left-to-tab-stop)
384         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
385         indentation direction based on bidi direction, and accumulate
386         sequential commands in a single undo boundary.
387         (indent-rigidly--pop-undo): New utility function.
389 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
391         * faces.el (read-face-name): Require crm.el when using crm-separator.
393 2013-12-20  Daniel Colascione  <dancol@dancol.org>
395         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
396         so that we don't reflow comments into the shebang line.
398 2013-12-20  Juri Linkov  <juri@jurta.org>
400         * saveplace.el (save-place-to-alist): Add `dired-filename' as
401         a position when `dired-directory' is non-nil.  Check integer
402         positions with `integerp'.
403         (toggle-save-place, save-places-to-alist): Add check for
404         `dired-directory'.
405         (save-place-find-file-hook): Check integer positions with
406         `integerp'.
407         (save-place-dired-hook): Use `dired-goto-file' when
408         `dired-filename' is found in the assoc list.  Check integer
409         positions with `integerp'.
410         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
412         * dired.el (dired-initial-position-hook): Rename back from
413         `dired-initial-point-hook'.
414         (dired-initial-position): Rename `dired-initial-point-hook' to
415         `dired-initial-position-hook'.
416         (dired-file-name-at-point): Doc fix.  (Bug#15329)
418 2013-12-20  Juri Linkov  <juri@jurta.org>
420         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
421         (read-regexp-suggestions): New function.
422         (read-regexp): Use `read-regexp-defaults-function' to get default values.
423         Use `read-regexp-suggestions'.  Add non-empty default to history
424         for empty input.
425         (occur-read-regexp-defaults-function): Remove function.
426         (occur-read-primary-args): Use `regexp-history-last' instead of
427         `occur-read-regexp-defaults-function'.
429         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
430         (hi-lock-line-face-buffer, hi-lock-face-buffer)
431         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
432         `hi-lock-read-regexp-defaults-function'.  Doc fix.
433         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
434         with `find-tag-default-as-symbol-regexp'.  Doc fix.
435         (hi-lock-read-regexp-defaults): Remove function.
436         (hi-lock-regexp-okay): Add check for null.
438         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
439         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
441         * subr.el (find-tag-default-as-symbol-regexp): New function.
442         (find-tag-default-as-regexp): Move symbol regexp formatting to
443         `find-tag-default-as-symbol-regexp'.
445 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
447         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
448         (Bug#14179)
450 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
452         * calendar/todo-mode.el: New implementation of item insertion
453         commands and key bindings.
454         (todo-key-prompt): New face.
455         (todo-insert-item): New command.
456         (todo-insert-item--parameters): New defconst, replacing defvar
457         todo-insertion-commands-args-genlist.
458         (todo-insert-item--param-key-alist): New defconst, replacing
459         defvar todo-insertion-commands-arg-key-list.
460         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
461         (todo-insert-item--argsleft, todo-insert-item--apply-args)
462         (todo-insert-item--next-param): New functions.
463         (todo-insert-item--args, todo-insert-item--argleft)
464         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
465         New variables.
466         (todo-key-bindings-t): Change binding of "i" from
467         todo-insertion-map to todo-insert-item.
468         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
469         (todo-insertion-command-name, todo-insertion-commands-names)
470         (todo-define-insertion-command, todo-insertion-commands)
471         (todo-insertion-key-bindings, todo-insertion-map): Remove.
473 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
475         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
476         (todo-toggle-item-highlighting): Use eval-and-compile instead of
477         eval-when-compile.
478         (todo-move-category): Allow choosing a non-existing todo file to
479         move the category to, and create that file.
480         (todo-default-priority): New user option.
481         (todo-set-item-priority): Use it.
482         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
483         (desktop-restore-file-buffer): Declare.
484         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
485         (todo-modes-set-2): Locally set desktop-save-buffer to
486         todo-desktop-save-buffer.
487         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
488         (auto-mode-alist): Add autoload cookie.
490 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
492         * emacs-lisp/subr-x.el: Renamed from helpers.el.
493         helpers.el was a poor choice of name.
494         (string-remove-prefix): New function.
495         (string-remove-suffix): New function.
497 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
499         Fix assignment for new window total sizes.
500         * window.el (window--pixel-to-size): Remove function.
501         (window--pixel-to-total-1, window--pixel-to-total):
502         Fix calculation of new total sizes.
504 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
506         * comint.el (comint-output-filter): Fix rear-nonsticky property
507         placement (Bug#16010).
509 2013-12-20  Chong Yidong  <cyd@gnu.org>
511         * faces.el (read-color): Minor fix for completion function.
513 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
515         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
516         New option.  (Bug#16182)
517         (ruby-smie--indent-to-stmt-p): Use it.
518         (ruby-smie-rules): Revert the logic in the handling of `when'.
519         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
520         (ruby-deep-arglist, ruby-deep-indent-paren)
521         (ruby-deep-indent-paren-style): Update docstrings to note that the
522         vars don't have any effect with SMIE.
524 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
526         * calc/calc.el (calc-enter, calc-pop): Use the variable
527         `calc-context-sensitive-enter'.
529 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
531         * net/shr.el (shr-insert): Protect against infloops in degenerate
532         tables.
534 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
536         * progmodes/octave.el (octave): Add link to manual and octave
537         homepage.
538         (octave-mode-menu): Link to octave-mode manual.
540 2013-12-20  Leo Liu  <sdl.web@gmail.com>
542         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
543         insertion using skeleton-end-newline.  (Bug#16138)
545 2013-12-20  Juri Linkov  <juri@jurta.org>
547         * replace.el (occur-engine): Use `add-face-text-property'
548         to add the face property to matches and titles.  (Bug#14645)
550         * hi-lock.el (hi-green): Use lighter color "light green" closer to
551         the palette of other hi-lock colors.
552         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
554 2013-12-19  Juri Linkov  <juri@jurta.org>
556         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
557         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
558         (minibuffer-history-symbol): Move variable declaration closer to
559         its usage.
561         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
562         (Bug#14785)
564 2013-12-19  Juri Linkov  <juri@jurta.org>
566         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
567         New function.
568         (log-edit-hook): Add it to :options.  (Bug#16170)
570 2013-12-19  Juri Linkov  <juri@jurta.org>
572         * simple.el (eval-expression-print-format): Don't check for
573         command names and the last command.  Always display additional
574         formats of the integer result in the echo area, and insert them
575         to the current buffer only with a zero prefix arg.
576         Display character when char-displayable-p is non-nil.
577         (eval-expression): With a zero prefix arg, set `print-length' and
578         `print-level' to nil, and insert the integer values from
579         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
581         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
582         `eval-last-sexp-arg-internal'.  Doc fix.
583         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
584         `eval-last-sexp-print-value'.  Doc fix.
585         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
586         Set `print-length' and `print-level' to nil when arg is zero.
587         (eval-last-sexp): Doc fix.
588         (eval-defun-2): Print the integer values from
589         `eval-expression-print-format' at the end.
591         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
592         values from `eval-expression-print-format' at the end.
594         * ielm.el (ielm-eval-input): Print the integer
595         values from `eval-expression-print-format' at the end.
597 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
599         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
600         2013-12-11T19:01:44Z!tzz@lifelogs.com.
602 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
604         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
605         (hl-line-highlight, global-hl-line-highlight): Use it.
606         (hl-line-overlay): Use defvar-local.
608 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
610         * term/ns-win.el: Require dnd.
611         (global-map): Remove drag items.
612         (ns-insert-text, ns-set-foreground-at-mouse)
613         (ns-set-background-at-mouse):
614         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
615         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
616         New functions.
618 2013-12-19  Glenn Morris  <rgm@gnu.org>
620         * emacs-lisp/ert.el (ert-select-tests):
621         Fix string/symbol mixup.  (Bug#16121)
623 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
625         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
626         keywords to their parent.
628 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
630         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
631         first arg to be a string (fixed dead code), or an operator symbol.
632         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
633         operator symbols.
634         (ruby-smie-rules): Remove parent token check in the `.' clause, it
635         did nothing.  Don't respond to `(:after ".")', it will be called
636         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
637         change anything.  Only return indentation for binary operators
638         when they are hanging.  De-dent opening paren when its parent is
639         `.', otherwise it looks bad when the dot is not at bol or eol
640         (bug#16182).
642 2013-12-19  Juri Linkov  <juri@jurta.org>
644         * replace.el (query-replace-read-args): Split a non-negative arg
645         and a negative arg into separate elements.
646         (query-replace, query-replace-regexp, replace-string)
647         (replace-regexp): Add arg `backward'.  Doc fix.
648         (replace-match-maybe-edit): When new arg `backward' is non-nil,
649         move point to the beginning of the match.
650         (replace-search, replace-highlight): Use new arg `backward'
651         to set the value of `isearch-forward'.
652         (perform-replace): Add arg `backward' and use it to perform
653         replacement backward.  (Bug#14979)
655         * isearch.el (isearch-query-replace): Use a negative prefix arg
656         to call `perform-replace' with a non-nil arg `backward'.
658 2013-12-18  Juri Linkov  <juri@jurta.org>
660         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
661         to the default list.  Move `log-edit-show-files' to the end.
662         Add more available functions to options.
663         (log-edit): Move default specific settings to
664         `log-edit-insert-message-template'.  Don't move point.
665         (log-edit-insert-message-template): New function.
666         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
667         (Bug#16170)
669 2013-12-18  Juri Linkov  <juri@jurta.org>
671         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
672         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
674 2013-12-18  Leo Liu  <sdl.web@gmail.com>
676         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
677         (Bug#16186)
679 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
681         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
682         formats for displaying file sizes when the -s switch is given.
683         Instead, compute a separate format for displaying the size in
684         blocks, which is displayed in addition to the "regular" size.
685         When -h is given in addition to -s, produce size in blocks in
686         human-readable form as well.  (Bug#16179)
688 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
690         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
691         Reference tables with ~\ref{...} instead of only \ref{...}.
693 2013-12-18  Chong Yidong  <cyd@gnu.org>
695         * cus-edit.el (custom-magic-alist): Fix "themed" description
696         (Bug#14348).
698         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
699         is non-nil, do not create a new entry in the symbol's theme-value
700         or theme-face property; update theme-settings only (Bug#14664).
701         (custom-available-themes): Doc fix.
703         * cus-theme.el (custom-new-theme-mode-map): Add bindings
704         (Bug#15674).
706         * replace.el (occur-engine): Avoid infloop (Bug#7593).
708 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
710         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
711         (Bug#13914).
713 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
715         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
717 2013-12-18  Glenn Morris  <rgm@gnu.org>
719         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
720         * cus-start.el (load-prefer-newer): New option.
722 2013-12-18  Le Wang  <l26wang@gmail.com>
724         * comint.el (comint-previous-matching-input-from-input):
725         Retain point (Bug#13404).
727 2013-12-18  Chong Yidong  <cyd@gnu.org>
729         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
731 2013-12-18  Glenn Morris  <rgm@gnu.org>
733         * mail/emacsbug.el (report-emacs-bug):
734         Only mention enable-multibyte-characters if non-standard.
736 2013-12-17  Juri Linkov  <juri@jurta.org>
738         * arc-mode.el (archive-extract-by-file): Check if directory exists
739         before deletion to not show irrelevant errors if it doesn't exist.
741 2013-12-17  Juri Linkov  <juri@jurta.org>
743         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
744         (Bug#14751)
746         * net/eww.el (browse-web): Add alias to `eww'.
747         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
748         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
750         * net/browse-url.el (browse-url-browser-function): Move `eww'
751         closer to similar functions.
753         * startup.el (fancy-startup-screen, fancy-about-screen):
754         Set browse-url-browser-function to eww-browse-url locally.
755         (Bug#14751)
757 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
759         * window.el (window--pixel-to-total): Remove unused `mini' var.
760         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
761         (split-window): Remove unused `new' var.
762         (window--display-buffer): Remove unused `frame' and `delta' vars.
763         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
764         and display-width'.
766 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
768         * dired.el (dired-mark-pop-up):
769         * register.el (register-preview): Don't bind
770         split-height-threshold here since it's now done in
771         display-buffer-below-selected.
773 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
775         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
776         xterm-rgb-convert-to-16bit.
777         (rxvt-register-default-colors): Standardize with
778         xterm-register-default-colors (Bug#14078).
780 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
782         * simple.el (kill-region): Pass mark first, then point, so that
783         kill-append works right (Bug#12819).
784         (copy-region-as-kill, kill-ring-save): Likewise.
786 2013-12-17  Leo Liu  <sdl.web@gmail.com>
788         * net/rcirc.el (rcirc-add-face):
789         * eshell/em-prompt.el (eshell-emit-prompt):
790         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
791         (Bug#16167)
793 2013-12-17  Chong Yidong  <cyd@gnu.org>
795         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
796         Suggested by Xue Fuqiao.
798 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
800         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
802 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
804         * net/shr.el (shr-insert-document): Remove unused var
805         `shr-preliminary-table-render'.
806         (shr-rescale-image): Remove unused arg `force'.
807         (shr-put-image): Update calls accordingly.
808         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
810 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
812         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
813         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
814         :close-all, to see which indentation method to use (Bug#16116).
815         (smie-rules-function): Document the method :close-all.
817 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
819         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
821         * net/eww.el (eww-display-html): If we can't find the anchor we're
822         looking for, then go to point-min.
824 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
826         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
827         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
828         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
829         Expand dir too, in case it's relative.
831 2013-12-16  Juri Linkov  <juri@jurta.org>
833         * desktop.el (desktop-auto-save-timeout): Change default to
834         `auto-save-timeout'.  Doc fix.
835         (desktop-save): Skip the timestamp in desktop-saved-frameset
836         when checking for auto-save changes.
837         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
838         `desktop-auto-save' is called repeatedly by the idle timer.
839         (desktop-auto-save-set-timer): Replace `run-with-timer' with
840         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
841         (Bug#15331)
843 2013-12-16  Juri Linkov  <juri@jurta.org>
845         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
846         (Bug#16035)
847         (isearch-pre-command-hook): Check `this-command' for symbolp.
849 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
851         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
853 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
855         * progmodes/cfengine.el (cfengine3--current-word): Remove.
856         (cfengine3--current-function): Bring in the current-function
857         functionality from `cfengine3--current-word'.
858         (cfengine3-completion-function): Bring in the
859         bounds-of-current-word functionality from
860         `cfengine3--current-word'.
862 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
864         * window.el (display-buffer-below-selected):
865         Bind split-height-threshold to 0 as suggested by Juri Linkov.
867 2013-12-16  Leo Liu  <sdl.web@gmail.com>
869         * progmodes/compile.el (compile-goto-error): Do not push-mark.
870         Remove NOMSG arg and all uses changed.
872 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
874         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
875         (cua--deactivate-rectangle): Don't deactivate the mark.
876         (cua-set-rectangle-mark): Don't set mark-active since
877         cua--activate-rectangle already does it for us.
878         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
879         non-rectangular region.
881         * emulation/cua-base.el (cua-repeat-replace-region):
882         Use with-current-buffer.
884         * net/gnutls.el: Use cl-lib.
885         (gnutls-negotiate): `mapcan' -> cl-mapcan.
887 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
889         * emacs-lisp/package.el (package-built-in-p): Support both
890         built-in and the package.el converted package descriptions.
891         (package-show-package-list): Allow keywords.
892         (package-keyword-button-action): Use it instead of
893         `finder-list-matches'.
894         (package-menu-filter-interactive): Interactive filtering (by
895         keyword) function.
896         (package-menu--generate): Support keywords and change keymappings
897         and headers when they are given.
898         (package--has-keyword-p): Helper function.
899         (package-menu--refresh): Use it.
900         (package--mapc): Helper function.
901         (package-all-keywords): Use it.
902         (package-menu-mode-map): Set up menu items and keybindings to
903         provide a filtering UI.
905 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
907         * net/gnutls.el (gnutls-verify-error): New defcustom to control
908         the behavior when a certificate fails validation.  Defaults to
909         old behavior: never abort, just warn.
910         (gnutls-negotiate): Use it.
912 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
914         * window.el (display-buffer-below-selected): Never split window
915         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
917 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
919         * emacs-lisp/package.el (package--prepare-dependencies): New function.
920         (package-buffer-info): Use it (bug#15108).
922 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
924         * icomplete.el (icomplete-completions): Make sure the prefix is already
925         displayed elsewhere before hiding it (bug#16219).
927 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
929         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
930         open-paren tokens when preceded by a open-paren, too.
931         (ruby-smie-rules): Handle virtual indentation after open-paren
932         tokens specially.  If there is code between it and eol, return the
933         column where is starts (Bug#16118).
935 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
937         * progmodes/cfengine.el: Fix `add-hook' doc.
938         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
939         (cfengine3--current-word): Fix parameters.
940         (cfengine3-make-syntax-cache): Simplify further.
941         (cfengine3-completion-function, cfengine3--current-function):
942         Use `assq' for symbols.
943         (cfengine3--current-function): Fix `cfengine3--current-word' call.
945 2013-12-13  Glenn Morris  <rgm@gnu.org>
947         * loadup.el (load-path): Warn if site-load or site-init changes it.
948         No more need to reset it when bootstrapping.
950 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
952         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
953         locations for cf-promises.
954         (cfengine-mode-syntax-functions-regex): New caching variable.
955         (cfengine3-fallback-syntax): Fallback syntax for cases where
956         cf-promises doesn't run.
957         (cfengine3--current-word): Reimplement using
958         `cfengine-mode-syntax-functions-regex'.
959         (cfengine3-completion-function, cfengine3--current-function):
960         Use `cfengine3-make-syntax-cache' directly.
961         (cfengine3-clear-syntax-cache): New function.
962         (cfengine3-make-syntax-cache): Simplify and create
963         `cfengine-mode-syntax-functions-regex' on demand.
964         (cfengine3-format-function-docstring): Don't call
965         `cfengine3-make-syntax-cache' explicitly.
967 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
969         Fix windmove-find-other-window broken after pixelwise resizing
970         (Bug#16017).
971         * windmove.el (windmove-other-window-loc): Revert change from
972         2013-12-04.
973         (windmove-find-other-window): Call window-in-direction.
974         * window.el (window-in-direction): New arguments SIGN, WRAP and
975         MINI to emulate original windmove-find-other-window behavior.
977 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
979         * simple.el (blink-matching--overlay): New variable.
980         (blink-matching-open): Instead of moving point, highlight the
981         matching paren with an overlay
982         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
984         * faces.el (paren-showing-faces, show-paren-match)
985         (show-paren-mismatch): Move from paren.el.
987 2013-12-13  Leo Liu  <sdl.web@gmail.com>
989         * indent.el (indent-region): Disable progress reporter in
990         minibuffer.  (Bug#16108)
992         * bindings.el (visual-order-cursor-movement): Fix version.
994 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
996         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
997         Also match after beginning of line.
998         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
999         files.  Thanks to Russell Sim.  (Bug#15378)
1001 2013-12-13  Juri Linkov  <juri@jurta.org>
1003         * simple.el <Keypad support>: Remove key bindings duplicated
1004         with bindings.el.  (Bug#14397)
1006 2013-12-13  Juri Linkov  <juri@jurta.org>
1008         * comint.el (comint-mode-map): Replace `delete-char' with
1009         `delete-forward-char'.  (Bug#16109)
1011 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1013         * progmodes/python.el (python-indent-calculate-indentation):
1014         Fix de-denters cornercase.  (Bug#15731)
1016 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1018         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1019         (advice--make): Pay attention to `depth'.
1020         (advice--make-1): Don't autoload commands eagerly.
1021         * emacs-lisp/elp.el (elp-instrument-function):
1022         * emacs-lisp/trace.el (trace-function-internal):
1023         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1025         * iswitchb.el (iswitchb-mode): Don't belittle ido.
1027 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
1029         * term/w32-win.el (w32-handle-dropped-file):
1030         * startup.el (normal-top-level):
1031         * net/browse-url.el (browse-url-file-url):
1032         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1033         decode file names using 'utf-8' rather than
1034         file-name-coding-system.
1036 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1038         * progmodes/python.el (python-indent-context)
1039         (python-indent-calculate-indentation): Fix auto-identation
1040         behavior for comment blocks.  (Bug#15916)
1042 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1044         * progmodes/python.el (python-indent-calculate-indentation):
1045         When determining indentation, don't treat "return", "pass", etc., as
1046         operators when they are just string constituents.  (Bug#15812)
1048 2013-12-12  Juri Linkov  <juri@jurta.org>
1050         * uniquify.el (uniquify-buffer-name-style): Change default to
1051         `post-forward-angle-brackets'.
1053         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1054         `uniquify'.  Change default to `post-forward-angle-brackets'.
1056 2013-12-11  Glenn Morris  <rgm@gnu.org>
1058         * emacs-lisp/package.el (finder-list-matches):
1059         Autoload rather than falsely declaring.
1061 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
1063         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1064         (eww-mode-map): Use them.
1066 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
1068         * window.el (display-buffer-in-side-window): Fix doc-string
1069         (Bug#16115).
1071 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
1073         * vc/vc-git.el: Silence byte-compiler warnings.
1074         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1075         (log-edit-set-header): Declare.
1077 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
1079         * Makefile.in (custom-deps, finder-data): Run output file names
1080         through unmsys--file-name.  (Bug#16099)
1082 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1084         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1085         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1087         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1088         instead of deleting the selection "by hand" (bug#16098).
1089         Rely on insert-for-yank to yank rectangles.
1090         (cua-highlight-region-shift-only): Mark obsolete.
1091         (cua-mode): Don't enable/disable transient-mark-mode,
1092         shift-select-mode (cua-mode works both with and without them), and
1093         pc-selection-mode (obsolete).
1094         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1095         (cua--deactivate-rectangle): Deactivate it.
1097         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1098         (delete-selection-helper): Make sure yank starts at the top of the
1099         deleted region.
1100         (minibuffer-keyboard-quit): Use region-active-p.
1102         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1104         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1105         to `delete' (bug#16109).
1107 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1109         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1110         info manual and show keybindings and set `:group' keyword.
1112 2013-12-11  Juri Linkov  <juri@jurta.org>
1114         * delsel.el (delete-active-region): Let-bind `this-command'
1115         to prevent `kill-region' from changing its original value.
1116         (delete-selection-helper): Handle `overwrite-mode' for the type
1117         `kill' exactly the same way as for the type `t'.
1118         (insert-char, quoted-insert, reindent-then-newline-and-indent):
1119         Support more commands.  (Bug#13312)
1121 2013-12-11  Juri Linkov  <juri@jurta.org>
1123         * bindings.el: Map kp keys to non-kp keys systematically
1124         with basic modifiers control, meta and shift.  (Bug#14397)
1126 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1128         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1129         "Close browser" menu items.  Fix wrong function of "List
1130         bookmarks".
1132 2013-12-11  Juri Linkov  <juri@jurta.org>
1134         * misearch.el (multi-isearch-buffers): Set the value of
1135         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1136         arg of isearch-forward to t.
1137         (multi-isearch-buffers-regexp): Set the value of
1138         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1139         arg of isearch-forward-regexp to t.
1140         (multi-isearch-files): Set the value of
1141         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
1142         arg of isearch-forward to t.
1143         (multi-isearch-files-regexp): Set the value of
1144         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
1145         arg of isearch-forward-regexp to t.  (Bug#16035)
1147         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1148         arg of isearch-forward to t.
1149         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1150         arg of isearch-forward-regexp to t.
1151         (dired-isearch-filter-filenames): Remove unnecessary check for
1152         `dired-isearch-filenames'.
1154         * comint.el (comint-history-isearch-backward):
1155         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1156         (comint-history-isearch-backward-regexp):
1157         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1159 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
1161         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1162         unmsys--file-name.  (Bug#16099)
1164 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
1166         * emacs-lisp/package.el (package-keyword-button-action):
1167         Remove finder.el require dependency.
1169 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
1171         * emacs-lisp/package.el: Require finder.el.
1172         (describe-package-1): Add keyword buttons.
1173         (package-make-button): New convenience function.
1174         (package-keyword-button-action): Keyword button action using
1175         `finder-list-matches'.
1177 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
1179         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1180         last commit.
1182 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
1184         * autorevert.el (auto-revert-notify-add-watch): Do not handle
1185         symlinked files.
1187 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1189         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1190         after the end of a percent literal.
1192 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1194         * progmodes/ruby-mode.el (ruby-forward-string): Document.
1195         Handle caret-delimited strings (Bug#16079).
1197 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1199         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1200         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1201         `ruby-parse-partial' (Bug#16078).
1203 2013-12-09  Leo Liu  <sdl.web@gmail.com>
1205         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
1207 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
1209         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1210         (js-switch-indent-offset): New option.
1211         (js--proper-indentation): Use it.  And handle the case when
1212         "default" is actually a key in an object literal.
1213         (js--same-line): New function.
1214         (js--multi-line-declaration-indentation): Use it.
1215         (js--indent-in-array-comp, js--array-comp-indentation):
1216         New functions.
1217         (js--proper-indentation): Use them, to handle array comprehension
1218         continuations.
1220 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1222         * progmodes/flymake.el (flymake-highlight-line): Re-write.
1223         (flymake-make-overlay): Remove arg MOUSE-FACE.
1224         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1226 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1228         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1229         New function.
1230         (redisplay-highlight-region-function): Use it.
1232         * emulation/cua-base.el (cua--explicit-region-start)
1233         (cua--last-region-shifted): Remove.
1234         (cua--deactivate): Use deactivate-mark.
1235         (cua--pre-command-handler-1): Don't handle shift-selection.
1236         (cua--post-command-handler-1): Don't change transient-mark-mode.
1237         (cua--select-keymaps): Use region-active-p rather than
1238         cua--explicit-region-start or cua--last-region-shifted.
1239         (cua-mode): Enable shift-select-mode.
1241 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1243         * progmodes/flymake.el (flymake-popup-current-error-menu):
1244         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
1245         (flymake-posn-at-point-as-event, flymake-popup-menu)
1246         (flymake-make-emacs-menu): Remove.  (Bug#16077)
1248 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1250         * rect.el (rectangle-mark-mode): Activate mark even if
1251         transient-mark-mode is off (bug#16066).
1252         (rectangle--highlight-for-redisplay): Fix boundary condition when point
1253         is > mark and at bolp.
1255         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1256         (region-extract-function): Use it.
1257         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1258         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1259         Delete functions.
1260         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1261         kill-ring-save, kill-region, delete-char, delete-forward-char.
1262         Ignore self-insert-iso.
1264         * emulation/cua-gmrk.el (cua--init-global-mark):
1265         Ignore `self-insert-iso'.
1267         * emulation/cua-base.el (cua--prefix-copy-handler)
1268         (cua--prefix-cut-handler): Rely on region-extract-function rather than
1269         checking cua--rectangle.
1270         (cua-delete-region): Use region-extract-function.
1271         (cua-replace-region): Delete function.
1272         (cua-copy-region, cua-cut-region): Obey region-extract-function.
1273         (cua--pre-command-handler-1): Don't do the delete-selection thing.
1274         (cua--self-insert-char-p): Ignore `self-insert-iso'.
1275         (cua--init-keymaps): Don't remap delete-selection commands.
1276         (cua-mode): Use delete-selection-mode instead of rolling our own
1277         (bug#16085).
1279         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1280         Obey region-extract-function.
1282         Make registers and delete-selection-mode work on rectangles.
1283         * register.el (describe-register-1): Don't modify the register's value.
1284         (copy-to-register): Obey region-extract-function.
1285         * delsel.el (delete-active-region): Obey region-extract-function.
1287 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1289         * progmodes/flymake.el (flymake, flymake-error-bitmap)
1290         (flymake-warning-bitmap, flymake-fringe-indicator-position)
1291         (flymake-compilation-prevents-syntax-check)
1292         (flymake-start-syntax-check-on-newline)
1293         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1294         (flymake-start-syntax-check-on-find-file, flymake-log-level)
1295         (flymake-xml-program, flymake-master-file-dirs)
1296         (flymake-master-file-count-limit)
1297         (flymake-allowed-file-name-masks): Relocate.
1298         (flymake-makehash, flymake-float-time)
1299         (flymake-replace-regexp-in-string, flymake-split-string)
1300         (flymake-get-temp-dir): Remove.
1301         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1302         (flymake-current-row, flymake-selected-frame)
1303         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1304         related functions.  (Bug#16077)
1306 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
1308         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1310 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
1312         * help-fns.el (describe-function-1): Use new advice-* functions
1313         rather than old ad-* functions.  Fix function type description and
1314         source links for advised functions and subrs.
1316 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1318         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1320 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
1322         * progmodes/compile.el (compilation-start):
1323         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1325         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1326         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
1328 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1330         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1331         Touch up the last change.
1333 2013-12-06  Leo Liu  <sdl.web@gmail.com>
1335         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1336         (inferior-octave-startup): Always use "octave> " for prompt.
1337         (octave-goto-function-definition)
1338         (octave-sync-function-file-names)
1339         (octave-find-definition-default-filename): Remove redundant backquotes.
1341 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1343         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1344         syntax for `?'.
1345         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1346         where appropriate already.
1347         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1348         end of method names (Bug#15874).
1350 2013-12-06  Juri Linkov  <juri@jurta.org>
1352         * isearch.el (isearch--saved-overriding-local-map):
1353         New internal variable.
1354         (isearch-mode): Set it to the initial value of
1355         `overriding-terminal-local-map'.
1356         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1357         with `isearch--saved-overriding-local-map'.  (Bug#16035)
1359 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1361         * progmodes/octave.el (inferior-octave-completion-table):
1362         Turn back into function, use `completion-table-with-cache'
1363         (Bug#11906).  Update all references.
1365         * minibuffer.el (completion-table-with-cache): New function.
1367 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1369         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1371 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
1373         * net/eww.el (eww-current-source): New variable to store page
1374         source.
1375         (eww-display-html, eww-mode, eww-save-history)
1376         (eww-restore-history): Use it.
1377         (eww-view-source): New command to view page source.
1378         Opportunistically uses `html-mode' to highlight the buffer.
1379         (eww-mode-map): Install it.
1381 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
1383         * net/dbus.el (dbus-unregister-service)
1384         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1385         Fix docstring.
1386         (dbus-unregister-service): Skip :serial entries in
1387         `dbus-registered-objects-table'.
1388         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1390 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
1392         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1393         around keywords with extra `split-string' argument.
1395 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
1397         * windmove.el (windmove-other-window-loc): Handle navigation
1398         between windows (excluding the minibuffer window - Bug#16017).
1400 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
1402         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1403         in D-Bus type syntax.
1404         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1405         preserve unibyte strings.  (Bug#16048)
1407 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1409         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1410         Call force-mode-line-update is the proper buffer (bug#16042).
1412 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
1414         * vc/log-edit.el (log-edit-add-new-comment): Rename to
1415         `log-edit-remember-comment', make argument optional.  Adjust all
1416         callers.
1417         (log-edit-mode): Add `log-edit-remember-comment' to
1418         `kill-buffer-hook' locally.
1419         (log-edit-kill-buffer): Don't remember comment explicitly since
1420         the buffer is killed anyway.
1422 2013-12-04  Juri Linkov  <juri@jurta.org>
1424         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1425         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
1427 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
1429         * notifications.el (notifications-close-notification): Call the
1430         D-Bus method with ID being a `:uint32'.  (Bug#16030)
1432 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1434         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1436 2013-12-03  Juri Linkov  <juri@jurta.org>
1438         * progmodes/compile.el (compilation-start): Rename window alist
1439         entry `no-display-ok' to `allow-no-window'.
1441         * simple.el (shell-command): Add window alist entry
1442         `allow-no-window' to `display-buffer'.
1443         (async-shell-command): Doc fix.
1445         * window.el (display-buffer-no-window): New action function.
1446         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
1448 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1450         * vc/log-edit.el (log-edit-set-header): Extract from
1451         `log-edit-toggle-header'.
1452         (log-edit-extract-headers): Separate the summary, when extracted
1453         from header, from the rest of the message with an empty line.
1455         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1456         line, if present, to the Summary header.
1458 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1460         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1461         in current-buffer (bug#16029).
1463 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
1465         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1466         (debugger-mode-map): Bind it.
1467         (debugger--backtrace-base): New function.
1468         (debugger-eval-expression): Use it.
1469         (debugger-frame-number): Skip local vars when present.
1470         (debugger--locals-visible-p, debugger--insert-locals)
1471         (debugger--show-locals, debugger--hide-locals): New functions.
1473 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
1475         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1476         "LC_ALL".
1477         (tramp-get-remote-locale): New defun.
1478         (tramp-open-connection-setup-interactive-shell): Use it.
1480 2013-12-02  Leo Liu  <sdl.web@gmail.com>
1482         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
1484         * progmodes/sh-script.el (sh-shell-process):
1485         * progmodes/octave.el (inferior-octave-process-live-p):
1486         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1487         (gdb-inferior-io-sentinel):
1488         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1490 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1492         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1493         `save-selected-window' to `log-edit-hide-buf'.  This makes
1494         `log-edit-show-files' idempotent.
1495         (log-edit-show-files): Mark the new window as dedicated.
1497 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1499         * vc/log-edit.el (log-edit-mode-map): Add binding for
1500         `log-edit-kill-biffer'.
1501         (log-edit-hide-buf): Add a FIXME comment.
1502         (log-edit-add-new-comment): New function, extracted from
1503         `log-edit-done'.
1504         (log-edit-done, log-edit-add-to-changelog): Use it.
1505         (log-edit-kill-buffer): New command.
1507 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1509         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1510         instead of killing the buffer.
1512 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1514         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1516 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1518         * net/eww.el (eww-form-checkbox-selected-symbol)
1519         (eww-form-checkbox-symbol): New customizable variable.
1520         (eww-form-checkbox, eww-toggle-checkbox):
1521         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1523         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1524         (shr--get-media-pref, shr--extract-best-source): New function.
1525         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1526         no :src tag was specified.
1528         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1529         (eww-render): Handle `eww-use-external-browser-for-content-type'.
1530         Use \\` to match beginning of string instead of ^.
1531         (eww-browse-with-external-browser): Provide optional URL parameter.
1532         (eww-render): Set `eww-current-title' back to "".
1534         * net/shr.el (shr-tag-video): Display content for video if no
1535         poster is available.
1536         (shr-tag-audio): Add support for <audio> tag.
1538         * net/eww.el (eww-text-input-types): New const.
1539         (eww-process-text-input): Treat input types in
1540         `eww-text-input-types' as text.
1542         * net/shr.el (shr-tag-table): Fix comment typo.
1544 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1546         * net/eww.el (eww-follow-link): New command to avoid reloading
1547         pages when we follow #target links (bug#15243).
1548         (eww-quit): Special mode buffers shouldn't query before exiting.
1550 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1552         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1553         forms.
1555 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1557         * net/eww.el (eww-restore-history): Update the window title after
1558         moving in the history.
1559         (eww-current-dom): New variable used to save the current DOM.
1561 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
1563         * vc/log-edit.el (log-edit-mode-map): Add binding for
1564         `log-edit-beginning-of-line'.
1565         (log-edit-setup-add-author): New user option.
1566         (log-edit-beginning-of-line): New command.
1567         (log-edit): Move major mode call above the contents setup so that
1568         the local variable values are already applied.
1569         (log-edit): Only insert "Author: " when
1570         `log-edit-setup-add-author' is non-nil.
1571         (log-edit): When SETUP is non-nil, position point after ": "
1572         instead of point-min.
1574 2013-12-01  Glenn Morris  <rgm@gnu.org>
1576         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1578 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
1580         * startup.el (fancy-splash-frame): On MS-Windows, trigger
1581         redisplay to make sure the initial frame gets a chance to become
1582         visible.  (Bug#16014)
1584 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
1586         Support resizing frames and windows pixelwise.
1587         * cus-start.el (frame-resize-pixelwise)
1588         (window-resize-pixelwise): New entries.
1589         * emacs-lisp/debug.el (debug): Use window-total-height instead
1590         of window-total-size.
1591         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1592         * help.el (describe-bindings-internal): Call help-buffer
1593         (temp-buffer-max-width): New option.
1594         (resize-temp-buffer-window, help-window-setup)
1595         (with-help-window): Rewrite.
1596         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
1597         dragging dividers.
1598         * window.el (frame-char-size, window-min-pixel-height)
1599         (window-safe-min-pixel-height, window-safe-min-pixel-width)
1600         (window-min-pixel-width, window-safe-min-pixel-size)
1601         (window-combination-p, window-safe-min-size)
1602         (window-resizable-p, window--size-to-pixel)
1603         (window--pixel-to-size, window--resize-apply-p): New functions.
1604         (window-safe-min-height): Fix doc-string.
1605         (window-size, window-min-size, window--min-size-1)
1606         (window-sizable, window-sizable-p, window--min-delta-1)
1607         (window-min-delta, window--max-delta-1, window-max-delta)
1608         (window--resizable, window--resizable-p, window-resizable)
1609         (window-full-height-p, window-full-width-p, window-at-side-p)
1610         (window--in-direction-2, window-in-direction)
1611         (window--resize-reset-1, window--resize-mini-window)
1612         (window-resize, window-resize-no-error)
1613         (window--resize-child-windows-normal)
1614         (window--resize-child-windows, window--resize-siblings)
1615         (window--resize-this-window, window--resize-root-window)
1616         (window--resize-root-window-vertically)
1617         (adjust-window-trailing-edge, enlarge-window, shrink-window)
1618         (maximize-window, minimize-window, delete-window)
1619         (quit-restore-window, window-split-min-size, split-window)
1620         (balance-windows-2, balance-windows)
1621         (balance-windows-area-adjust, balance-windows-area)
1622         (window--state-get-1, window-state-get, window--state-put-1)
1623         (window--state-put-2, window-state-put)
1624         (display-buffer-record-window, window--display-buffer):
1625         Make functions handle pixelwise sizing of windows.
1626         (display-buffer--action-function-custom-type)
1627         (display-buffer-fallback-action):
1628         Add display-buffer-in-previous-window.
1629         (display-buffer-use-some-window): Resize window to height it had
1630         before.
1631         (fit-window-to-buffer-horizontally): New option.
1632         (fit-frame-to-buffer): Describe new values.
1633         (fit-frame-to-buffer-bottom-margin): Replace with
1634         fit-frame-to-buffer-margins.
1635         (window--sanitize-margin): New function.
1636         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1637         using window-text-pixel-size.
1639 2013-11-30  Glenn Morris  <rgm@gnu.org>
1641         * emacs-lisp/bytecomp.el (byte-compile-form):
1642         Make the `interactive-only' warning like the `obsolete' one.
1643         * comint.el (comint-run):
1644         * files.el (insert-file-literally, insert-file):
1645         * replace.el (replace-string, replace-regexp):
1646         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1647         (goto-line, insert-buffer, next-line, previous-line):
1648         Tweak `interactive-only' spec.
1650         Stop keeping (most) generated cedet grammar files in the repository.
1651         * Makefile.in (semantic): New.
1652         (compile-main): Depend on semantic.
1654 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1656         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1657         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1659         * uniquify.el (uniquify-buffer-name-style): Change default.
1661         * loadup.el: Preload "uniquify".
1663         * time.el (display-time-update): Update all mode lines (bug#15999).
1665         * electric.el (electric-indent-mode): Enable by default.
1666         * loadup.el: Preload "electric".
1668 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
1670         * emacs-lisp/helpers.el (string-empty-p): New function.
1671         (string-blank-p): New function.
1673 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
1675         * imenu.el (imenu--index-alist): Add missing dot to the docstring
1676         (Bug#14029).
1678 2013-11-29  Andreas Politz  <politza@fh-trier.de>
1679         * imenu.el (imenu--subalist-p): Don't error on non-conses and
1680         allow non-lambda lists as functions.
1681         (imenu--in-alist): Don't recurse into non-subalists.
1682         (imenu): Don't pass function itself as an argument (Bug#14029).
1684 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1686         * progmodes/python.el (python-mode-map): Remove binding for ":".
1687         (python-indent-electric-colon): Remove command.
1688         (python-indent-post-self-insert-function): Integrate the previous code
1689         of python-indent-electric-colon.  Make it conditional on
1690         electric-indent-mode.
1691         (python-mode): Add ?: to electric-indent-chars.
1692         Move python-indent-post-self-insert-function to the end of
1693         post-self-insert-hook.
1695 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1697         * doc-view.el (doc-view-goto-page): Update mode-line.
1699         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1701 2013-11-27  Glenn Morris  <rgm@gnu.org>
1703         * international/charprop.el, international/uni-bidi.el:
1704         * international/uni-category.el, international/uni-combining.el:
1705         * international/uni-comment.el, international/uni-decimal.el:
1706         * international/uni-decomposition.el, international/uni-digit.el:
1707         * international/uni-lowercase.el, international/uni-mirrored.el:
1708         * international/uni-name.el, international/uni-numeric.el:
1709         * international/uni-old-name.el, international/uni-titlecase.el:
1710         * international/uni-uppercase.el:
1711         Remove generated files from VCS repository.
1713 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
1715         * filenotify.el (file-notify-add-watch): Don't special-case
1716         w32notify when computing the directory to watch.
1718 2013-11-27  Glenn Morris  <rgm@gnu.org>
1720         Make bootstrap without generated uni-*.el files possible again.
1721         * loadup.el: Update command-line-args checking for unidata-gen.
1722         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1723         * composite.el, international/characters.el:
1724         Handle unicode tables being undefined.
1726         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1727         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1728         (compile-main): Depend on leim rule.
1729         (leim): New rule.
1730         * loadup.el: Move leim-list.el to leim/ subdirectory.
1731         * startup.el (normal-top-level): No more leim directory.
1732         * international/ja-dic-cnv.el (skkdic-convert):
1733         Disable version-control and autoloads in output files.
1734         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1735         Disable version-control and autoloads in output files.
1736         * leim/quail: Move here from ../leim.
1737         * leim/quail/hangul.el (hangul-input-method-activate):
1738         Add autoload cookie.
1739         (generated-autoload-load-name): Set file-local value.
1740         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1741         (generated-autoload-load-name): Set file-local value.
1743 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
1745         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1746         (eww-add-bookmark): Ask confirmation when add to bookmarks.
1747         (eww-quit): Ask confirmation before quitting eww.
1749 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
1751         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1752         reading output from Diff on MS-Windows and MS-DOS.
1754 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
1756         * emacs-lisp/helpers.el (string-reverse): New function.
1758 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
1760         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1761         names on MS Windows, like "/[::1]:".
1763         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1764         SWITCHES.
1766 2013-11-26  Glenn Morris  <rgm@gnu.org>
1768         * progmodes/python.el (python-indent-guess-indent-offset):
1769         Avoid corner-case error.  (Bug#15975)
1771         Preload leim-list.el.  (Bug#4789)
1772         * loadup.el: Load leim-list.el when found.
1773         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1775 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
1777         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1779         * emacs-lisp/helpers.el (string-join): New function.
1781 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
1783         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1784         Mark as obsolete and replace it with a symbol property.
1785         (byte-compile-form): Use new 'interactive-only property.
1786         * comint.el, files.el, replace.el, simple.el:
1787         Apply new 'interactive-only properly.
1789 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
1791         * window.el (display-buffer-at-bottom): Make sure that
1792         split-window-sensibly creates the new window on bottom
1793         (Bug#15961).
1795 2013-11-23  David Kastrup  <dak@gnu.org>
1797         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1798         on the conflict markers when available.
1799         (smerge--get-marker): New function.
1800         (smerge-end-re, smerge-base-re): Add subgroup.
1802 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1804         * frame.el (handle-focus-in, handle-focus-out): Add missing
1805         interactive spec.
1807 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
1809         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1810         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1812 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1814         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
1815         (gomoku--last-pos): New var.
1816         (gomoku--intangible-chars): New const.
1817         (gomoku--intangible): New function.
1818         (gomoku-mode): Use it.  Derive from special-mode.
1819         (gomoku-move-up): Adjust line count.
1820         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1821         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1822         Simplify accordingly.
1824         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1825         Remove blink-cursor code.
1826         (blink-cursor-timer-function, blink-cursor-suspend):
1827         Don't special-case GUIs.
1828         (blink-cursor-mode): Use focus-in/out-hook.
1830 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
1832         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1833         work when annotation is invisible (Bug#13886).
1835 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
1837         * json.el (json-alist-p): Only return non-nil if the alist has
1838         simple keys (Bug#13518).
1840 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
1842         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1843         when control-statement is the first statement in a buffer (Bug#15956).
1845 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
1847         * imenu.el (imenu-generic-skip-comments-and-strings):
1848         New option (Bug#15560).
1849         (imenu--generic-function): Use it.
1851 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
1853         * minibuffer.el (completion--in-region-1): Scroll the correct window.
1854         (Bug#13898)
1856 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
1858         * emacs-lisp/helpers.el: Add some string helpers.
1859         (string-trim-left): Removes leading whitespace.
1860         (string-trim-right): Removes trailing whitespace.
1861         (string-trim): Removes leading and trailing whitespace.
1863         * subr.el (string-suffix-p): New function.
1865 2013-11-23  Glenn Morris  <rgm@gnu.org>
1867         * progmodes/python.el (python-shell-send-file):
1868         Add option to delete file when done.  (Bug#15647)
1869         (python-shell-send-string, python-shell-send-region): Use it.
1871 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
1873         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1874         to set buffer-read-only to t, never to nil.  (Bug#15938)
1876         * textmodes/tex-mode.el (latex-noindent-environments):
1877         Add safe-local-variable property.  (Bug#15936)
1879 2013-11-23  Glenn Morris  <rgm@gnu.org>
1881         * textmodes/enriched.el (enriched-mode): Doc fix.
1882         * emacs-lisp/authors.el (authors-renamed-files-alist):
1883         Add enriched.doc -> enriched.txt.
1885         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1887 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1889         * progmodes/octave.el (inferior-octave-startup): Spit out error
1890         message.
1892 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
1894         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1895         Improve docstring.
1896         Add :version.
1897         (ruby-encoding-magic-comment-style): Add :version.
1899 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1901         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1902         (Bug#15076)
1903         (octave-help-mode): Adapt to change to help-mode-finish to use
1904         derived-mode-p on 2013-09-17.
1905         (inferior-octave-prompt): Also match octave-gui.
1906         (octave-kill-process): Don't ask twice.  (Bug#10564)
1908 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1910         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1911         (inferior-octave-startup, inferior-octave-check-process)
1912         (inferior-octave-track-window-width-change)
1913         (octave-completion-at-point, octave-eldoc-function): Use it.
1914         (octave-kill-process): Provide confirmation.  (Bug#10564)
1916 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1918         * progmodes/octave.el (octave-mode, inferior-octave-mode):
1919         Fix obsolete variable comment-use-global-state.
1921 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1923         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1924         Add `octave-source-file'.
1925         (octave-source-file): New function.  (Bug#15935)
1927 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
1929         * net/eww.el (eww-local-regex): New variable.
1930         (eww): Use it to detect localhost and similar.
1932 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1934         Add completion for command `ag'.
1935         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1936         (pcomplete/ag): New function.
1937         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
1939 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1941         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1942         (bug#14646).
1943         (make-obsolete): Remove interactive spec.
1945 2013-11-21  Glenn Morris  <rgm@gnu.org>
1947         * startup.el (command-line-1): Use path-separator with -L.
1949 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1951         * emacs-lisp/package.el (describe-package-1): Add package archive
1952         to shown fields.
1954 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1956         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1957         Change default to "# encoding: %s" to differentiate it from the
1958         default Ruby encoding comment template.
1960 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1962         * ses.el (ses-mode): Doc fix.  (Bug#14748)
1964 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1966         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1968 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1970         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1971         when rebase or bisect are in progress.
1973 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1975         * filenotify.el (file-notify-add-watch): Doc fix.
1977 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1979         * obsolete/rcompile.el: Mark obsolete.
1981         * progmodes/compile.el (compilation-start)
1982         (compilation-goto-locus, compilation-find-file):
1983         Pass no-display-ok and handle nil value from display-buffer.
1984         (Bug#13594)
1986         * window.el (display-buffer-alist, display-buffer): Document the
1987         new parameter no-display-ok.  Return either a window or nil
1988         but never a non-window value.
1990 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1992         * electric.el (electric-indent-mode-map): Remove.
1993         (electric-indent-mode): Change the global-map instead (bug#15915).
1995         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1996         Use add-function.
1998 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2000         * emacs-lisp/nadvice.el (remove-function): Align with
2001         add-function's behavior.
2003         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2004         (gdb--string-regexp): New constant.
2005         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2006         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2007         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2008         submatch 1.
2009         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2010         Adjust use accordingly.
2011         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2013 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
2015         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2016         interpolation curlies (Bug#15914).
2018 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
2020         * calc/calc.el (calc-context-sensitive-enter): New variable.
2021         (calc-enter): Use `calc-context-sensitive-enter'.
2023 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
2025         * progmodes/cfengine.el: Version bump.
2026         (cfengine-cf-promises): New defcustom to locate cf-promises.
2027         (cfengine3-vartypes): Add new "data" type.
2028         (cfengine3--current-word): New function to get current name-like
2029         word or its bounds.
2030         (cfengine3--current-function): New function to look up a CFEngine
2031         function's definition.
2032         (cfengine3-format-function-docstring): New function.
2033         (cfengine3-make-syntax-cache): New function.
2034         (cfengine3-documentation-function): New function: ElDoc glue.
2035         (cfengine3-completion-function): New function: completion glue.
2036         (cfengine3-mode): Set `compile-command',
2037         `eldoc-documentation-function', and add to
2038         `completion-at-point-functions'.
2040 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
2042         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2043         `tramp-current-connection'.
2045 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
2047         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2048         nil/self/true/false with "end of symbol".
2050 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
2052         * subr.el (version-regexp-alist): Fix a typo.
2054 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
2056         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2057         "en_US.utf8" and "LC_CTYPE" to "".
2058         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2059         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2061 2013-11-15  Leo Liu  <sdl.web@gmail.com>
2063         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
2065 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2067         * progmodes/gud.el (ctl-x-map):
2068         Remove C-x SPC binding.  (Bug#12342)
2069         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2071 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
2073         * subr.el (version-regexp-alist):
2074         Recognize hg, svn and darcs versions as snapshot versions.
2076         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2077         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2078         (ruby--encoding-comment-required-p): Extract from
2079         `ruby-mode-set-encoding'.
2080         (ruby-mode-set-encoding): Add the ability to always insert an
2081         utf-8 encoding comment.  Fix and simplify coding comment update
2082         logic.
2084 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
2086         * net/tramp-gvfs.el (top): Run init code only when
2087         `tramp-gvfs-enabled' is not nil.
2088         (tramp-gvfs-enabled): Check also :system bus.
2090 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2092         Sync with upstream verilog-mode revision 78e66ba.
2093         * progmodes/verilog-mode.el (verilog-end-of-defun)
2094         (verilog-type-completion, verilog-get-list): Remove unused funcs.
2095         (verilog-get-end-of-defun): Remove unused argument.
2096         (verilog-comment-depth): Remove unused local `e'.
2097         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2098         Don't pass arg to verilog-get-end-of-defun.
2100 2013-11-14  Glenn Morris  <rgm@gnu.org>
2102         * obsolete/assoc.el (aget): Prefix dynamic variable.
2104         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2106 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2108         * widget.el, hfy-cmap.el: Remove bogus package version number.
2110 2013-11-13  Glenn Morris  <rgm@gnu.org>
2112         * replace.el (replace-eval-replacement):
2113         Try to give more helpful error message.  (Bug#15836)
2115         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2116         (archive-7z-update): Avoid custom type mismatches.
2118         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2120 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
2122         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2123         address can be empty.
2125         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2126         Accept nil SWITCHES.
2127         (tramp-gvfs-handle-write-region): Implement APPEND.
2129 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
2131         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2132         binary "|" operator and closing block args delimiter.
2133         Remove FIXME comment referring to Ruby 1.8-only syntax.
2134         (ruby-smie--implicit-semi-p): Not after "|" operator.
2135         (ruby-smie--closing-pipe-p): New function.
2136         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2137         (ruby-smie-rules): Indent after "|".
2139 2013-11-12  Glenn Morris  <rgm@gnu.org>
2141         * ps-print.el (ps-face-attribute-list):
2142         Handle anonymous faces.  (Bug#15827)
2144 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
2146         * window.el (display-buffer-other-frame): Fix doc-string.
2147         (Bug#15868)
2149 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2151         * subr.el (force-mode-line-update): Delete, move to buffer.c.
2153 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
2155         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2156         (tramp-sh-handle-file-local-copy): Don't write a message when
2157         saving temporary files.
2159         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2160         both directories are remote.
2161         (tramp-smb-handle-directory-files): Do not return double entries.
2162         Do not expand full file names.
2163         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2164         (tramp-smb-handle-write-region): Implement APPEND.
2165         (tramp-smb-get-stat-capability): Fix a stupid bug.
2167 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2169         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2171 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2173         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2174         throwing error over malformed let/let* (bug#15814).
2176 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2178         * iswitchb.el (iswitchb-mode): Mark obsolete.
2180 2013-11-11  Glenn Morris  <rgm@gnu.org>
2182         * international/uni-bidi.el, international/uni-category.el:
2183         * international/uni-name.el, international/uni-numeric.el:
2184         Regenerate for Unicode 6.3.0.
2186 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
2188         * net/tramp.el (tramp-methods):
2189         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2190         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2192 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
2194         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2195         Force highlighting text after Summary keyword in doc face for rpm.
2197 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
2199         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2200         available and the word has no wildcards, append one to the grep pattern.
2201         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2202         (ispell-complete-word): Call `ispell-lookup-words' with the value
2203         independent of `ispell-look-p'.
2205 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2207         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2208         Not after "||".
2209         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2210         their parent.
2212 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2214         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
2215         (ruby-font-lock-keywords): Use backquote.
2217 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2219         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2220         (ruby-smie--backward-token): Only consider full-string matches.
2222 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
2224         * faces.el (describe-face): Add distant-foreground.
2226 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
2228         * progmodes/ruby-mode.el: Improve encoding comment handling.
2229         (ruby-encoding-magic-comment-style): New option.
2230         (ruby-custom-encoding-magic-comment-template): New option.
2231         (ruby--insert-coding-comment, ruby--detect-encoding):
2232         New functions extracted from `ruby-mode-set-encoding'.
2233         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2234         to control the style of the auto-inserted encoding comment.
2236 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2238         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2239         Use `smie-backward-sexp' with token argument.
2241 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
2243         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2244         Remove instrumentation code.
2246 2013-11-08  Glenn Morris  <rgm@gnu.org>
2248         * progmodes/autoconf.el (autoconf-mode):
2249         Tweak comment-start-skip.  (Bug#15822)
2251 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2253         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2254         at bobp (bug#15826).
2255         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2257 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
2259         * man.el (Man-start-calling): New macro, extracted from
2260         Man-getpage-in-background.
2261         (Man-getpage-in-background): Use it.
2262         (Man-update-manpage): New command.
2263         (Man-mode-map): Bind it.
2265 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2267         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2268         of "and", "or", "&&" and "||".
2269         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2270         argument.  Prohibit opening curly brace because it could only be a
2271         block opener in that position.
2272         (ruby-smie--forward-token, ruby-smie--backward-token):
2273         Separate "|" from "&" or "*" going after it.  That can happen in block
2274         arguments.
2275         (ruby-smie--indent-to-stmt): New function, seeks the end of
2276         previous statement or beginning of buffer.
2277         (ruby-smie-rules): Use it.
2278         (ruby-smie-rules): Check if there's a ":" before a curly block
2279         opener candidate; if there is, it's a hash.
2281 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2283         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2284         (cl--block-wrapper): Fix last accidental change.
2286 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
2288         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2289         Instrument, in order to hunt failure on hydra.
2291 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2293         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2294         malformed bindings form (bug#15814).
2296 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
2298         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2299         "." compared to " @ ".  This incidentally fixes some indentation
2300         examples with "do".
2301         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2302         (ruby-smie-grammar): New tokens: "and" and "or".
2303         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2304         Exclude "and" and "or".  Remove "do" in order to work around token
2305         priorities.
2306         (ruby-smie-rules): Add all infix tokens.  Handle the case of
2307         beginning-of-buffer.
2309 2013-11-06  Glenn Morris  <rgm@gnu.org>
2311         * Makefile.in (setwins_almost, setwins_for_subdirs):
2312         Avoid accidental matches.
2314 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2316         * menu-bar.el (popup-menu): Use key-binding.
2318 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
2320         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2321         menus, support also the menus produced by minor modes.
2322         (Bug#15817)
2324 2013-11-06  Leo Liu  <sdl.web@gmail.com>
2326         * thingatpt.el (thing-at-point-looking-at): Add optional arg
2327         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
2329 2013-11-06  Glenn Morris  <rgm@gnu.org>
2331         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2332         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2333         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2335 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2337         * electric.el (electric-indent-just-newline): New command.
2338         (electric-indent-mode-map): New keymap.
2339         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2340         Re-add :group which weren't redundant.
2342         * electric.el (electric-indent-local-mode): New minor mode.
2343         (electric-indent-functions-without-reindent): New var.
2344         (electric-indent-post-self-insert-function): Use it.
2345         * emacs-lisp/gv.el (buffer-local-value): Add setter.
2347 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
2349         * international/quail.el (quail-help): Be more explicit about the
2350         meaning of the labels shown on the keys.  (Bug#15800)
2352         * startup.el (normal-top-level): Load the subdirs.el files before
2353         setting the locale environment.  (Bug#15805)
2355 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2357         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2358         via arguments so as to get the right ones (bug#15418).
2360         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2362 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
2364         Fix problems found while writing a test suite.
2366         * net/tramp-compat.el (tramp-compat-load): New defun.
2367         * net/tramp.el (tramp-handle-load): Use it.
2369         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2370         "(numberp ok-if-already-exists)" correctly.
2372 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
2374         * international/characters.el (glyphless-char-display-control):
2375         Add usage note.
2377 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
2379         * progmodes/python.el (python-mode):
2380         * progmodes/scheme.el (scheme-mode):
2381         * progmodes/prolog.el (prolog-mode):
2382         * progmodes/ruby-mode.el (ruby-mode):
2383         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2384         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2386 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2388         * rect.el (rectangle--highlight-for-redisplay):
2389         * emacs-lisp/smie.el (smie--next-indent-change):
2390         Use buffer-chars-modified-tick.
2392         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2394         * electric.el (electric-indent-post-self-insert-function):
2395         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2397 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
2399         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2401 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2403         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2404         (bug#15786).
2406 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2408         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
2410         * progmodes/python.el: Fix up last change.
2411         (python-shell--save-temp-file): New function.
2412         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
2413         `string' comes from the current buffer.
2414         (python-shell-send-string-no-output): Remove `msg' arg.
2415         (python--use-fake-loc): New var.
2416         (python-shell-buffer-substring): Obey it.  Try to compensate for the
2417         extra coding line added by python-shell--save-temp-file.
2418         (python-shell-send-region): Use python-shell--save-temp-file and
2419         python-shell-send-file directly.  Add `nomain' argument.
2420         (python-shell-send-buffer): Use python-shell-send-region.
2421         (python-electric-pair-string-delimiter): New function.
2422         (python-mode): Use it.
2424 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
2426         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2427         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2428         environment and decoding all of the default-directory's to here
2429         from command-line.
2430         (command-line): Decode also argv[0].
2432         * loadup.el: Error out if default-directory is a multibyte string
2433         when we are dumping.
2435         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
2437 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
2439         * emacs-lisp/package.el (package-menu-mode)
2440         (package-menu--print-info, package-menu--archive-predicate):
2441         Add Archive column to package list.
2443 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
2445         Fix problems found while writing a test suite.
2447         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2448         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2449         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2450         to nil when running original file name handler.  Otherwise,
2451         there are problems with constructs like "$$FOO".
2453         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2454         for `localname'.
2456 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
2458         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2460         * subr.el (version<, version<=, version=):
2461         Update docstrings with information for snapshot versions.
2463         * helpers.el: New library for misc helper functions.
2464         (hash-table-keys): New function returning a list of hash keys.
2465         (hash-table-values): New function returning a list of hash values.
2467 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
2469         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2470         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2472 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
2474         * textmodes/fill.el (fill-single-char-nobreak-p): New function
2475         checking whether point is after a 1-letter word.
2477 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2479         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2480         Don't infloop when expanding region over `multiline' syntax-type that
2481         begins a line (bug#15778).
2483 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2485         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2486         Make it into a proper minor mode.
2487         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2488         (rectangle-mark-mode-map): New keymap.
2489         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2491 2013-11-04  Glenn Morris  <rgm@gnu.org>
2493         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2495 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2497         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2498         (ruby-smie-rules): Use smie-rule-parent instead.
2500         * emacs-lisp/smie.el (smie-rule-parent): Always call
2501         smie-indent-virtual rather than only for hanging tokens.
2502         (smie--next-indent-change): New helper command.
2504 2013-11-03  Glenn Morris  <rgm@gnu.org>
2506         * Makefile.in (abs_srcdir): Remove.
2507         (emacs): Unset EMACSLOADPATH.
2509 2013-11-02  Glenn Morris  <rgm@gnu.org>
2511         * Makefile.in (EMACS): Use a relative filename.
2512         (abs_top_builddir): Remove.
2513         (custom-deps, finder-data, autoloads): Use --chdir.
2515         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2517         Use relative filenames in TAGS files.
2518         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2519         (lisptagsfiles4, TAGS): Use relative file names.
2520         (TAGS-LISP): Remove.
2521         (maintainer-clean): No more TAGS-LISP file.
2523         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2524         (lisptagsfiles4): Use absolute filenames again.
2525         (TAGS, TAGS-LISP): Not everything needs to run in one line.
2526         Remove all *loaddefs files, not just the first.  Remove esh-groups.
2527         (maintainer-clean): Delete TAGS, TAGS-LISP.
2529 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2531         * emacs-lisp/package.el (package-version-join):
2532         Recognize snapshot versions.
2534 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2536         * subr.el (version-regexp-alist): Add support for snapshot versions.
2538 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2540         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2541         New function, replacement for `smie-rule-parent' for when we want to
2542         skip over our direct parent if it's an assignment token..
2543         (ruby-smie-rules): Use it.
2545 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2547         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2548         unconditionally.  Remove now unnecessary forward declarations.
2549         Remove XEmacs-specific setup.
2550         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2551         (ruby-font-lock-syntactic-keywords)
2552         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2553         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2554         (ruby-here-doc-end-syntax): Remove.
2555         (ruby-mode): Don't check whether `syntax-propertize-rules' is
2556         defined as function.
2558 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2560         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2562 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2564         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2565         table and abbrev table, `define-derived-mode' does that for us
2566         anyway.
2568 2013-11-01  Glenn Morris  <rgm@gnu.org>
2570         * Makefile.in: Remove manual mh-e dependencies (writing .elc
2571         files is atomic for some time, so no parallel compilation issues).
2573 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
2575         * faces.el (face-x-resources): Add :distant-foreground.
2576         (region): Use :distant-foreground for gtk and ns.
2578 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
2580         Allow multiple bibliographies when BibLaTeX is used rather than
2581         BibTeX.
2582         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2583         (reftex-locate-bibliography-files): Us it.
2585 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
2587         * image.el (image-type-header-regexps): Fix the 'pbm' part to
2588         allow comments in pbm files.
2590         * term/w32-win.el (dynamic-library-alist): Support newer versions
2591         of libjpeg starting with v7: look only for the DLL from the
2592         version against which Emacs was built.
2593         Support versions of libpng beyond 1.4.x.
2594         Support libtiff v4.x.
2596 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2598         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2599         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2600         Add property :safe.
2601         (ruby-deep-arglist): Add property :type.
2603 2013-10-31  Glenn Morris  <rgm@gnu.org>
2605         * Makefile.in (custom-deps, finder-data): No need to setq the target
2606         variables, we are in the right directory and the defaults work fine.
2608 2013-10-30  Glenn Morris  <rgm@gnu.org>
2610         * Makefile.in (autoloads): Do not use abs_lisp.
2612         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2613         `newline' does not respect `standard-output', so use `princ'.
2615 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
2617         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
2618         * buff-menu.el (Buffer-menu--unmark): New function.
2619         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2621 2013-10-30  Glenn Morris  <rgm@gnu.org>
2623         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2625         * emacs-lisp/package.el (lm-homepage): Declare.
2627         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2628         Fix doc typos.
2630         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2632         * Makefile.in (finder-data, autoloads, update-subdirs)
2633         (compile-main, compile-clean, compile-always, bootstrap-clean):
2634         Check return value of cd.
2635         (compile-calc): Remove.
2637 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2639         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2641         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2642         (byte-compile-and-folded): New function.
2643         (=, <, >, <=, >=): Use it.
2645         * dos-w32.el (minibuffer-history-case-insensitive-variables)
2646         (path-separator, null-device, buffer-file-coding-system)
2647         (lpr-headers-switches): Check system-type before modifying them.
2648         (find-buffer-file-type-coding-system): Mark obsolete.
2649         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2650         find-file-not-found-set-buffer-file-coding-system.
2651         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2652         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2653         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2654         (w32-direct-print-region-helper, w32-direct-print-region-function)
2655         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2656         * startup.el (normal-top-level-add-subdirs-to-load-path):
2657         * ps-print.el (ps-print-region-function):
2658         * lpr.el (print-region-function): Use new name.
2660         * subr.el (custom-declare-variable-early): Remove function.
2661         (custom-declare-variable-list): Remove var.
2662         (error, user-error): Remove `while' loop.
2663         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2664         (user-emacs-directory-warning, locate-user-emacs-file):
2665         Move to files.el.
2666         * simple.el (read-quoted-char-radix, read-quoted-char):
2667         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2668         Move from subr.el.
2669         * custom.el (custom-declare-variable-list): Don't process
2670         custom-declare-variable-list.
2672         * progmodes/python.el (python-shell-get-buffer): New function.
2673         (python-shell-get-process): Use it.
2674         (python-shell-send-string): Always use utf-8 and add a cookie to tell
2675         Python which encoding was used.  Don't split-string since we only care
2676         about the first line.  Return the temp-file, if applicable.
2677         (python-shell-send-region): Tell compile.el how to turn locations in
2678         the temp-file into locations in the source buffer.
2680 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2682         * subr.el (undefined): Add missing behavior from the C code for
2683         unbound keys.
2685         * rect.el: Use lexical-binding.  Add new rectangular region support.
2686         (rectangle-mark): New command.
2687         (rectangle--region): New var.
2688         (deactivate-mark-hook): Reset rectangle--region.
2689         (rectangle--extract-region, rectangle--insert-for-yank)
2690         (rectangle--highlight-for-redisplay)
2691         (rectangle--unhighlight-for-redisplay): New functions.
2692         (region-extract-function, redisplay-unhighlight-region-function)
2693         (redisplay-highlight-region-function): Use them to handle
2694         rectangular region.
2695         * simple.el (region-extract-function): New var.
2696         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2697         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2698         (kill-region): Replace obsolete `yank-handler' arg with `region'.
2699         (copy-region-as-kill, kill-ring-save): Add `region' argument.
2700         (redisplay-unhighlight-region-function)
2701         (redisplay-highlight-region-function): New vars.
2702         (redisplay--update-region-highlight): New function.
2703         (pre-redisplay-function): Use it.
2704         (exchange-point-and-mark): Don't deactivate the mark before
2705         reactivate-it anyway.
2706         * comint.el (comint-kill-region): Remove yank-handler argument.
2707         * delsel.el (delete-backward-char, backward-delete-char-untabify)
2708         (delete-char): Remove property, since it's now part of their
2709         default behavior.
2710         (self-insert-iso): Remove property since this command doesn't exist.
2712         * emacs-lisp/package.el (package--download-one-archive)
2713         (describe-package-1): Don't query the user about final newline.
2715 2013-10-29  Daniel Colascione  <dancol@dancol.org>
2717         * net/tramp.el (tramp-methods): Document new functionality.
2718         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2719         tramp-hostname-checker if method provides one instead of scanning
2720         argument list for "%h" to decide hostname acceptability.
2722 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
2724         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2725         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2726         Handle COPY-CONTENTS.  (Bug#15737)
2728 2013-10-28  Daiki Ueno  <ueno@gnu.org>
2730         * epa-file.el
2731         (epa-file-cache-passphrase-for-symmetric-encryption):
2732         Document that this option has no effect with GnuPG 2.0 (bug#15552).
2734 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
2736         * image.el (defimage):
2737         (image-load-path): Doc fixes.
2739 2013-10-27  Alan Mackenzie  <acm@muc.de>
2741         Indent statements in macros following "##" correctly.
2742         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2743         Modify the "#" arm of a cond form to handle "#" and "##" operators.
2745 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2747         * linum.el (linum-update-window): Fix boundary test (bug#13446).
2749 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
2751         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2752         after `=' is probably a new expression.
2754 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2756         * man.el (man-imenu-title): New option.
2757         (Man-mode-map): Add menu.  (Bug#15722)
2758         (Man-mode): Add imenu to menu.
2760 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
2762         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2763         specific in what the first arg can be: a non-keyword word,
2764         string/regexp/percent literal opener, opening paren, or unary
2765         operator followed directly by word.
2767 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2769         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2770         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2771         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2772         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2773         Remove vars, they do not apply any more.
2774         (prolog-mode-abbrev-table): Remove redundant declaration.
2775         (prolog-upper-case-string, prolog-lower-case-string): Remove.
2776         (prolog-use-smie): Remove.
2777         (prolog-smie-rules): Add indentation rule for the if-then-else layout
2778         supported by prolog-electric-if-then-else-flag.
2779         (prolog-mode-variables, prolog-menu): Use setq-local.
2780         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2781         Remove binding to `Backspace' since this key doesn't exist anyway.
2782         Remove bindings for electric self-inserting keys.
2783         (prog-mode): Assume it's defined.
2784         (prolog-post-self-insert): New function.
2785         (prolog-mode): Use it.
2786         (prolog-indent-line, prolog-indent-level)
2787         (prolog-find-indent-of-matching-paren)
2788         (prolog-indentation-level-of-line, prolog-goto-comment-column)
2789         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2790         (prolog-goto-next-paren, prolog-in-string-or-comment)
2791         (prolog-tokenize, prolog-inside-mline-comment)
2792         (prolog-find-start-of-mline-comment): Remove functions.
2793         (prolog-find-unmatched-paren, prolog-clause-end)
2794         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2795         (prolog-electric--if-then-else): Rename from
2796         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2797         (prolog-tokenize-searchkey): Remove const.
2798         (prolog-clause-info): Use forward-sexp.
2799         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2800         (prolog-electric-if-then-else): Remove commands.
2801         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2802         for use in post-self-insert-hook.
2803         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2804         for use in post-self-insert-hook.
2805         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2806         for use in post-self-insert-hook.
2807         (prolog-electric--underscore): Rename from prolog-electric--underscore;
2808         adapt it for use in post-self-insert-hook.
2810 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
2812         * emacs-lisp/ert.el (ert-run-tests-interactively):
2813         Use `completing-read'.  (Bug#9756)
2815 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
2817         * simple.el (line-move): Call line-move-1 instead of
2818         line-move-visual when the current window hscroll is zero, but
2819         temporary-goal-column indicates we will need to hscroll as result
2820         of the movement.  (Bug#15712)
2822 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
2824         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2825         capitalization.  Use :visible instead of :active.
2826         Fix `ruby-indent-exp' reference.  Add menu items for the generic
2827         commands that are used with SMIE.
2828         (ruby-do-end-to-brace): Insert space after `{'.
2830 2013-10-25  John Anthony  <john@jo.hnanthony.com>
2832         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
2834         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
2836 2013-10-25  Glenn Morris  <rgm@gnu.org>
2838         * vc/vc.el (vc-print-log): Don't use a working revision unless
2839         one was explicitly specified.  (Bug#15322)
2841 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2843         * subr.el (add-to-list): Preserve return value in compiler-macro
2844         (bug#15692).
2846 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2848         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2849         result.  Ask user to retry using '-all' flag.  (Bug#15701)
2851 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2853         * emacs-lisp/smie.el: New smie-config system.
2854         (smie-config): New defcustom.
2855         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2856         (smie-config-guess, smie-config-save): New commands.
2857         (smie-config--mode-local, smie-config--buffer-local)
2858         (smie-config--trace, smie-config--modefuns): New vars.
2859         (smie-config--advice, smie-config--mode-hook)
2860         (smie-config--setter, smie-config-local, smie-config--get-trace)
2861         (smie-config--guess-value, smie-config--guess): New functions.
2862         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2863         text properties.  Treat "string fence" syntax like string syntax.
2865         * progmodes/sh-script.el (sh-use-smie): Change default.
2866         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2867         (sh-var-value): Simplify by CSE.
2868         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2869         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2870         is used.
2871         (sh-guess-basic-offset): Use cl-incf.
2872         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2874 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
2876         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2877         (bug#15699).
2879 2013-10-24  Glenn Morris  <rgm@gnu.org>
2881         * Makefile.in (abs_top_srcdir): Remove.
2882         (update-subdirs): Use relative path to update-subdirs.
2884 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
2886         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2887         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2888         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2889         Call unmsys--file-name before expand-file-name, not after it.
2891 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
2893         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2894         (ert-test-skipped): New error.
2895         (ert-skip, ert-stats-skipped): New defuns.
2896         (ert--skip-unless): New macro.
2897         (ert-test-skipped): New struct.
2898         (ert--run-test-debugger, ert-test-result-type-p)
2899         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2900         (ert--stats-set-test-and-result, ert-char-for-test-result)
2901         (ert-string-for-test-result, ert-run-tests-batch)
2902         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2903         Handle skipped tests.  (Bug#9803)
2905 2013-10-24  Glenn Morris  <rgm@gnu.org>
2907         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2909         * Makefile.in (abs_top_srcdir): New, set by configure.
2910         (update-subdirs): Correct build-aux location.
2912 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
2914         * vc/vc.el (vc-print-root-log): Always set `default-directory'
2915         value, whether we could auto-deduce `backend', or not.
2917         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2918         with parameters" example.  Simplify the "is it block or is it
2919         hash" check, but also make it more thorough.
2921 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
2923         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
2925 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2927         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2928         { if it is hanging.
2930         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2931         :before ";".
2933 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2935         * progmodes/compile.el (compilation-directory-matcher)
2936         (compilation-page-delimiter):
2937         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2939 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2941         * ido.el (ido-tidy): Handle read-only text.
2943 2013-10-23  Glenn Morris  <rgm@gnu.org>
2945         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2946         (emacs, compile, compile-always):
2947         Quote entities that might contain whitespace.
2948         (custom-deps, finder-data, autoloads): Use abs_lisp.
2949         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2950         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2951         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2953 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2955         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2956         Use `following-char'.
2958 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2960         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2961         * progmodes/ruby-mode.el (ruby-smie-rules):
2962         Remove corresponding workaround.  Fix indentation rule of ";" so it
2963         also applies when ";" is the parent.
2965 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2967         * frame.el (display-screens, display-pixel-height)
2968         (display-pixel-width, display-mm-width, display-backing-store)
2969         (display-save-under, display-planes, display-color-cells)
2970         (display-visual-class, display-monitor-attributes-list):
2971         Mention the optional ‘display’ argument in doc strings.
2973 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2975         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2976         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2978 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2980         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2981         TODO.  Add "." after " @ ".
2982         (ruby-smie--at-dot-call): New function.  Checks if point at method
2983         call with explicit target.
2984         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2985         to the method name tokens when it precedes them.
2986         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2987         (ruby-smie-rules): Add rule for indentation before and after "."
2988         token.
2990 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2992         * textmodes/remember.el (remember-diary-extract-entries):
2993         Avoid add-to-list.
2995         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2996         an instruction.
2998 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3000         * progmodes/ruby-mode.el (ruby-smie-grammar):
3001         Add (almost) all infix operators.
3002         (ruby-smie--implicit-semi-p): Add new operator chars.
3004         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3005         `smie-down-list'.
3006         (ruby-smie--args-separator-p): Check that there's no newline
3007         between method call and its arguments.
3009 2013-10-20  Alan Mackenzie  <acm@muc.de>
3011         Allow comma separated lists after Java "implements".
3013         * progmodes/cc-engine.el (c-backward-over-enum-header):
3014         Parse commas.
3015         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3016         from a "disallowed" list in enum fontification.
3018 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
3020         * startup.el (default-frame-background-mode): Remove unused defvar.
3022         * progmodes/verilog-mode.el (verilog-mode): Don't set
3023         comment-indent-function globally.
3025 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
3027         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3028         Move Info menu item creation to ns-win.el.
3030         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3031         in menu bar.
3033         * menu-bar.el: Move GNUStep specific menus...
3035         * term/ns-win.el (ns-initialize-window-system): ... to here.
3037 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3039         * simple.el (newline): Only run post-self-insert-hook when
3040         called interactively.
3042 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
3044         * icomplete.el (icomplete-with-completion-tables): Add :version.
3046 2013-10-19  Alan Mackenzie  <acm@muc.de>
3048         Fix fontification bugs with constructors and const.
3050         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3051         CASE 2) Remove the check for the absence of a suffix construct
3052         after a function declaration with only types (no identifiers) in
3053         the parentheses.  Also, accept a function declaration with just a
3054         type inside the parentheses, if this type can be positively
3055         recognised as such, or if a prefix keyword like "explicit" nails
3056         down the construct as a declaration.
3058 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
3060         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3061         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
3062         the problem whereby selecting a menu item that leads to a
3063         minibuffer prompt moves the cursor out of the minibuffer window,
3064         making it hard to type at the prompt.  Suggested by Stefan Monnier
3065         <monnier@iro.umontreal.ca>.
3067 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
3069         * menu-bar.el: Don't make Services menu.
3071 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3073         * ffap.el: Handle "/usr/include/c++/<version>" directories.
3074         (ffap-alist): Use ffap-c++-mode for c++-mode.
3075         (ffap-c++-path): New variable.
3076         (ffap-c++-mode): New function.
3078 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
3080         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
3082 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
3084         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3085         introduced on 2013-09-08, which results in an infinite loop
3086         requesting a password.
3088 2013-10-18  Glenn Morris  <rgm@gnu.org>
3090         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3092 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
3094         Sync with upstream verilog-mode revision 1a6ecec7.
3095         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3096         (verilog-mode-release-date): Remove.
3097         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3098         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3099         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3100         (verilog-auto-tieoff-ignore-regexp)
3101         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3102         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3103         (verilog-signals-with, verilog-dir-cache-preserving)
3104         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3105         Doc fixes.
3106         (verilog-case-fold): New option, to control case folding in
3107         regexp searches, bug597.
3108         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3109         (verilog-string-match-fold, verilog-in-paren-count)
3110         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3111         (verilog-at-close-struct-p): New functions.
3112         (verilog-beg-block-re-ordered, verilog-extended-case-re)
3113         (verilog-forward-sexp, verilog-set-auto-endcomments):
3114         (verilog-leap-to-case-head): Handle "unique0" case.
3115         (verilog-in-constraint-re): New constant.
3116         (verilog-keywords, verilog-type-font-keywords):
3117         Add some SystemVerilog 1800-2012 keywords.
3118         (verilog-label-be): Remove unimplemented argument, bug669.
3119         (verilog-batch-execute-func): When batch expanding clear
3120         create-lockfiles to prevent spurious user locks when a file ends
3121         up not changing.
3122         (verilog-calculate-indent, verilog-calc-1)
3123         (verilog-at-close-constraint-p, verilog-at-constraint-p)
3124         (verilog-do-indent): Fix indentation of nested constraints
3125         and structures.
3126         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3127         (verilog-auto-inst-param): Use verilog-string-match-fold.
3128         (verilog-read-inst-module-matcher):
3129         Fix AUTOINST on gate primitives with #1.
3130         (verilog-read-decls): Fix double-declaring user-defined typed signals.
3131         Reads all user-defined typed variables.
3132         (verilog-read-defines): Fix reading definitions inside comments, bug647.
3133         (verilog-signals-matching-regexp)
3134         (verilog-signals-not-matching-regexp, verilog-auto):
3135         Respect verilog-case-fold.
3136         (verilog-diff-report): Fix line count.
3137         (verilog-auto-assign-modport): Remove unused local `modi'.
3138         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3139         better handle multidimensional arrays.
3140         Fix packed array ports misadding bit index in AUTOINST, bug637.
3141         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3142         to not double-declare existing outputs and inputs, respectively.
3143         (verilog-template-map): Bind U to verilog-sk-uvm-component.
3144         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3145         (verilog-sk-uvm-component): New skeleton.
3146         (verilog-submit-bug-report): Add verilog-case-fold,
3147         remove verilog-mode-release-date.
3149 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
3151         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3152         as before.
3154 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
3156         * textmodes/remember.el (remember): Set buffer-offer-save in
3157         remember buffers (bug#13566).
3159 2013-10-18  Daniel Colascione  <dancol@dancol.org>
3161         When evaluating forms in ielm, direct standard output to ielm
3162         buffer.  Add new ielm-return-for-effect command.  Remove trailing
3163         whitespace throughout.
3165         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3166         (ielm-return-for-effect): New command.
3167         (ielm-send-input): Accept optional `for-effect' parameter.
3168         (ielm-eval-input): Accept optional `for-effect' parameter.
3169         Bind `standard-output' to stream we create using
3170         `ielm-standard-output-impl'.  Suppress printing result when
3171         `for-effect'.
3172         (ielm-standard-output-impl): New function.
3173         (inferior-emacs-lisp-mode): Explain new features in documentation.
3175 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
3177         Code cleanup.
3179         * net/tramp.el (tramp-debug-message): Do not check for connection
3180         buffer.
3181         (tramp-message): Use "vector" connection property.
3183         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3184         (tramp-equal-remote, tramp-eshell-directory-change)
3185         * net/tramp-adb.el (tramp-adb-handle-copy-file)
3186         (tramp-adb-handle-rename-file)
3187         * net/tramp-cmds.el (tramp-list-remote-buffers)
3188         (tramp-cleanup-connection, tramp-cleanup-this-connection)
3189         * net/tramp-compat.el (tramp-compat-process-running-p)
3190         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3191         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3192         (tramp-gvfs-handle-rename-file)
3193         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3194         (tramp-set-file-uid-gid)
3195         * net/tramp-smb.el (tramp-smb-handle-copy-file)
3196         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3197         of `file-remote-p'.
3199         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3200         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3201         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3202         (tramp-gw-open-network-stream): Suppress unrelated traces.
3204         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3205         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3206         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3207         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3208         connection property.
3210         * net/tramp-cache.el (top): Suppress traces when reading
3211         persistency file.
3213         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3214         Refactor common code.  Improve debug message.
3215         (tramp-maybe-open-connection)
3216         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3217         connection buffer too early.
3219         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3220         from `tramp-smb-actions-with-acl'.
3221         (tramp-smb-actions-set-acl): New defconst.
3222         (tramp-smb-handle-copy-directory)
3223         (tramp-smb-action-get-acl): New defun, renamed from
3224         `tramp-smb-action-with-acl'.
3225         (tramp-smb-action-set-acl): New defun.
3226         (tramp-smb-handle-set-file-acl): Rewrite.
3228 2013-10-17  Glenn Morris  <rgm@gnu.org>
3230         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
3232 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3234         * skeleton.el (skeleton-newline): Remove.
3235         (skeleton-internal-1): Use (insert "\n") instead.
3237         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3238         let-bindings.
3240         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3241         forward-sexp-function while we redo its job (bug#15613).
3243 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
3245         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3246         represented by lists.
3248 2013-10-16  Glenn Morris  <rgm@gnu.org>
3250         * tmm.el (tmm--history): New dynamic variable.
3251         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
3253 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
3255         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3256         (tramp-smb-errors): Add error messages.
3257         (tramp-smb-actions-with-acl): New defconst.
3258         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3259         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3260         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3261         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3262         (tramp-smb-get-stat-capability): Fix tests.
3264 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3266         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3267         (bug#15580).
3269 2013-10-16  Glenn Morris  <rgm@gnu.org>
3271         * ansi-color.el (ansi-color-drop-regexp):
3272         Add 1J, 1K, 2K.  (Bug#15617)
3274         * files.el (hack-local-variables--warned-lexical): New.
3275         (hack-local-variables):
3276         Warn about misplaced lexical-binding.  (Bug#15616)
3278         * net/eww.el (eww-render): Always set eww-current-url,
3279         and update header line.  (Bug#15622)
3280         (eww-display-html): ... Rather than just doing it here.
3282 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
3284         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3285         menu navigations commands.
3287 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3289         * progmodes/subword.el (subword-capitalize): Be careful when
3290         the search for [[:alpha:]] fails (bug#15580).
3292 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
3294         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3295         to commands that scroll the menu.
3297 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
3299         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3300         Handle methods ending with `?' and `!'.
3302 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
3304         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3305         `japanese-cp932' to `cp932' to fix the problem where saving a
3306         source file written in Shift_JIS twice would end up having
3307         `coding: japanese-cp932' which Ruby could not recognize.
3308         (ruby-mode-set-encoding): Add support for encodings mapped to nil
3309         in `ruby-encoding-map'.
3310         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3311         doesn't need to be explicitly declared in magic comment.
3312         (ruby-encoding-map): Add type declaration for better customize UI.
3314 2013-10-13  Glenn Morris  <rgm@gnu.org>
3316         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3317         Occur buffers are read-only.  http://bugs.debian.org/720775
3319         * emacs-lisp/authors.el (authors-fixed-entries):
3320         Comment out old alpha stuff.
3322 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
3324         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3325         to `after-save-hook' instead of `before-save-hook'.
3326         (ruby-mode-set-encoding): Use the value of coding system used to
3327         write the file.  Call `basic-save-buffer-1' after modifying the
3328         buffer.
3330 2013-10-13  Alan Mackenzie  <acm@muc.de>
3332         Fix indentation/fontification of Java enum with
3333         "implements"/generic.
3335         * progmodes/cc-engine.el (c-backward-over-enum-header):
3336         Extracted from the three other places and enhanced to handle generics.
3337         (c-inside-bracelist-p): Uses new function above.
3338         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3339         function above.
3340         (c-font-lock-enum-tail): Uses new function above.
3342 2013-10-13  Kenichi Handa  <handa@gnu.org>
3344         * international/mule-cmds.el (select-safe-coding-system): Remove a
3345         superfluous condition in chekcing whether a coding system is safe
3346         or not.
3348 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
3350         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
3352 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
3354         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
3356 2013-10-13  Glenn Morris  <rgm@gnu.org>
3358         * menu-bar.el (menu-bar-update-buffers):
3359         Unify Buffers menu prompt string.  (Bug#15576)
3361         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
3363         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3364         Add some entries.
3365         (authors-fixed-entries): Use accented form of name.
3367 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3369         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3370         method calls (bug#15594).
3371         (ruby-smie--args-separator-p): New function.
3372         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3373         recognize paren-free method calls.
3375         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3376         internals of universal-argument.
3378 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
3380         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3381         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3382         dropped menu on second mouse click on the menu bar.
3384 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3386         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3387         (explicit-shell-file-name): Declare.
3388         (sh--vars-before-point, sh--cmd-completion-table): New functions.
3389         (sh-completion-at-point-function): New function.
3390         (sh-mode): Use it.
3391         (sh-smie--keyword-p): Remove unused argument.
3392         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3393         vars.
3394         (sh-set-shell): Always setup SMIE, even if we use the
3395         old indentation code.
3397 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
3399         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3400         cases of ? and =.
3401         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
3402         predicate would return nil are almost non-existent.
3403         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3405         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3406         cache also after commands that modify the buffer but don't move
3407         point.
3409 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3411         * env.el (substitute-env-in-file-name): New function.
3412         (substitute-env-vars): Extend the meaning of the optional arg.
3414 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
3416         * term/w32-win.el (dynamic-library-alist): Define separate lists
3417         of GIF DLLs for versions before and after 5.0.0 of giflib.
3418         (Bug#15531)
3420 2013-10-10  João Távora  <joaotavora@gmail.com>
3422         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3423         not locked, use last revision and current source as
3424         defaults.  (Bug#15569)
3426 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
3428         * menu-bar.el (menu-bar-open): Don't use popup-menu if
3429         menu-bar is hidden.
3431 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
3433         * window.el (pop-to-buffer-same-window): Fix doc-string.
3434         (Bug#15492)
3436 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3438         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3440 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
3442         * calendar/icalendar.el (icalendar-import-file):
3443         Fix interactive spec.  (Bug#15482)
3445 2013-10-10  Glenn Morris  <rgm@gnu.org>
3447         * desktop.el (desktop-save): Default to saving in .emacs.d,
3448         since PWD is no longer in desktop-path by default.  (Bug#15319)
3450         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3451         now that text mode has a menu with the same entry.
3452         (menu-bar-text-mode-auto-fill): Remove now unused func.
3453         * textmodes/text-mode.el (text-mode-map):
3454         Use auto-fill help text from menu-bar.el.
3456 2013-10-10  John Anthony  <john@jo.hnanthony.com>
3458         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
3460 2013-10-09  Juri Linkov  <juri@jurta.org>
3462         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3463         instead of this-command-keys.  Add universal-argument-more and
3464         universal-argument-minus to the list of prefix commands.  (Bug#15568)
3466 2013-10-09  Glenn Morris  <rgm@gnu.org>
3468         * vc/vc-svn.el (vc-svn-create-repo):
3469         Expand paths in file://... url.  (Bug#15446)
3471         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3472         Add some entries.
3473         (authors): Remove unused local variables.
3475 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3477         * profiler.el: Create a more coherent calltree from partial backtraces.
3478         (profiler-format): Hide the tail with `invisible' so that C-s can still
3479         find the hidden elements.
3480         (profiler-calltree-depth): Don't recurse so enthusiastically.
3481         (profiler-function-equal): New hash-table-test.
3482         (profiler-calltree-build-unified): New function.
3483         (profiler-calltree-build): Use it.
3484         (profiler-report-make-name-part): Indent the calltree less.
3485         (profiler-report-mode): Add visibility specs for profiler-format.
3486         (profiler-report-expand-entry, profiler-report-toggle-entry):
3487         Expand the whole subtree when provided with a prefix arg.
3489 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
3491         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3492         iuwu-mod token.
3493         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3494         hanging iuwu-mod token.
3495         (ruby-smie--forward-token): Do not include a dot after a token in
3496         that token.
3497         (ruby-smie--backward-token): Likewise.
3499 2013-10-08  Juri Linkov  <juri@jurta.org>
3501         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3502         to isearch-other-control-char.
3503         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3504         and isearch-post-command-hook to post-command-hook.
3505         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3506         and isearch-post-command-hook from post-command-hook.
3507         (isearch-unread-key-sequence)
3508         (isearch-reread-key-sequence-naturally)
3509         (isearch-lookup-scroll-key, isearch-other-control-char)
3510         (isearch-other-meta-char): Remove functions.
3511         (isearch-pre-command-hook, isearch-post-command-hook):
3512         New functions based on isearch-other-meta-char rewritten
3513         relying on the new behavior of overriding-terminal-local-map
3514         that does not replace the local keymaps any more.  (Bug#15200)
3516 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
3518         Support menus on text-mode terminals.
3519         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3520         functionality.
3522         * tooltip.el (tooltip-mode): Don't error out on TTYs.
3524         * menu-bar.el (popup-menu, popup-menu-normalize-position):
3525         Move here from mouse.el.
3526         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3527         and arrow keys.
3528         (tty-menu-navigation-map): New map for TTY menu navigation.
3530         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3532         * frame.el (display-mouse-p): Report text-mode mouse as available
3533         on w32.
3534         (display-popup-menus-p): Report availability if mouse is
3535         available; don't condition on window-system.
3537         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3538         (tty-menu-selected-face): New faces.
3540 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3542         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3543         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3544         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3545         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3546         New constants.
3547         (lisp-mode-variables): New `elisp' argument.
3548         (emacs-lisp-mode): Use it.
3549         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3550         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3552         * indent.el: Use lexical-binding.
3553         (indent-region): Add progress reporter.
3554         (tab-stop-list): Make it implicitly extend to infinity by repeating the
3555         last step.
3556         (indent--next-tab-stop): New function to implement this behavior.
3557         (tab-to-tab-stop, move-to-tab-stop): Use it.
3559 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
3561         * indent.el (indent-rigidly--current-indentation): New function.
3562         (indent-rigidly-map): New var.
3563         (indent-rigidly): Use it to provide interactive mode (bug#8196).
3565 2013-10-08  Bastien Guerry  <bzg@gnu.org>
3567         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3569 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3571         * progmodes/perl-mode.el: Use lexical-binding.
3572         Remove redundant :group args.
3573         (perl-nochange): Change default to be closer to other major modes's
3574         standard behavior.
3575         (perl-indent-line): Don't consider text on current line as a
3576         valid beginning of function from which to indent.
3578         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3579         with more than one argument (bug#15538).
3581         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3583         * vc/pcvs.el: Use lexical-binding.
3584         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3585         environment of `eval'.
3586         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3587         than a list of expressions.  Adjust callers.
3588         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3590 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
3592         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3593         case of the dot in a chained method call being on the following line.
3595 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3597         * electric.el (electric-indent-inhibit): New var.
3598         (electric-indent-post-self-insert-function): Use it.
3599         * progmodes/python.el (python-mode): Set it.
3601         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3602         open braces.
3604         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3606         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3607         (css-mode): Use electric-indent-chars.
3609         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3610         (font-lock-beg, font-lock-end): Move before first use.
3611         (nxml-mode): Use syntax-propertize-function.
3612         (nxml-after-change, nxml-after-change1): Adjust accordingly.
3613         (nxml-extend-after-change-region): Remove.
3614         * nxml/xmltok.el: Use lexical-binding.
3615         (xmltok-save): Use `declare'.
3616         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3617         * nxml/nxml-util.el: Use lexical-binding.
3618         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3619         Use `declare'.
3620         * nxml/nxml-ns.el: Use lexical-binding.
3621         (nxml-ns-save): Use `declare'.
3622         (nxml-ns-prefixes-for): Avoid add-to-list.
3623         * nxml/rng-match.el: Use lexical-binding.
3624         (rng--ipattern): Use cl-defstruct.
3625         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3626         (rng-cons-group-after, rng-subst-group-after)
3627         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3628         Use closures instead of `(lambda...).
3630 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
3632         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3633         of BEG and END.
3635         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3636         Use `tramp-handle-insert-file-contents'.
3637         (tramp-gvfs-handle-insert-file-contents): Remove function.
3639         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3640         Use `save-restriction' in order to keep markers.
3642         * net/trampver.el: Update release number.
3644 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3646         * progmodes/compile.el (compilation-parse-errors):
3647         Use compilation--put-prop.
3648         (compilation--ensure-parse): Check compilation-multiline.
3650         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3652         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3653         lexical-binding.
3655         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3657         * progmodes/ruby-mode.el: Fix recently added tests.
3658         (ruby-smie-grammar): Add - and +.
3659         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3660         (ruby-smie--backward-id): New functions.
3661         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3662         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
3663         any more.
3665 2013-10-07  Leo Liu  <sdl.web@gmail.com>
3667         * register.el (register-preview-delay)
3668         (register-preview-functions): New variables.
3669         (register-read-with-preview, register-preview)
3670         (register-describe-oneline): New functions.
3671         (point-to-register, window-configuration-to-register)
3672         (frame-configuration-to-register, jump-to-register)
3673         (number-to-register, view-register, insert-register)
3674         (copy-to-register, append-to-register, prepend-to-register)
3675         (copy-rectangle-to-register): Use register-read-with-preview to
3676         read register.  (Bug#15525)
3678 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
3680         * net/network-stream.el (network-stream-open-starttls): Don't add
3681         --insecure if it's already present, because that gnutls-cli
3682         rejects getting that parameter twice.
3684 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
3686         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3687         keyword, too.
3689 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
3691         * newcomment.el (comment-use-global-state): Change default value
3692         to t, mark obsolete (Bug#15251).
3693         (comment-beginning): In addition to `comment-to-syntax', check the
3694         value of `comment-use-global-state'.
3696 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3698         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3699         (ruby-comment-column): Follow the global default, by default.
3700         (ruby-smie-grammar): Add assignment syntax.
3701         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3702         open-paren, a comma, or a \.
3703         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3704         and line continuations.
3705         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3706         followed by implicit semi-colons.  Add rule for string concatenation
3707         and for indentation at BOB.
3708         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3710         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3711         calling next-sexp, since next-token may have skipped chars which
3712         next-sexp doesn't know should be skipped!
3714 2013-10-05  Leo Liu  <sdl.web@gmail.com>
3716         * progmodes/octave.el (octave-send-region):
3717         Call compilation-forget-errors.
3719 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
3721         * vc/vc-svn.el (vc-svn-find-admin-dir):
3722         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3723         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3724         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3725         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3727 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3729         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3731 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3733         * subr.el (read-passwd): Hide chars even when called within a context
3734         where after-change-functions is disabled (bug#15501).
3735         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3736         until we removed ourself from overriding-terminal-local-map.
3738 2013-10-04  Leo Liu  <sdl.web@gmail.com>
3740         * progmodes/octave.el (inferior-octave-mode):
3741         Call compilation-forget-errors.
3743 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
3745         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3747 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
3749         * net/secrets.el (secrets-create-collection): Add optional
3750         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
3751         dbus-call-method argument.  (Bug#15516)
3753 2013-10-04  Leo Liu  <sdl.web@gmail.com>
3755         * progmodes/octave.el (inferior-octave-error-regexp-alist)
3756         (inferior-octave-compilation-font-lock-keywords): New variables.
3757         (compilation-error-regexp-alist)
3758         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3759         (inferior-octave-mode): Use compilation-shell-minor-mode.
3761 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
3763         * minibuffer.el (completion--replace): Be careful that `end' might be
3764         a marker.
3766 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3768         Add support for package signature checking.
3769         * emacs-lisp/package.el (url-http-file-exists-p)
3770         (epg-make-context, epg-context-set-home-directory)
3771         (epg-verify-string, epg-context-result-for)
3772         (epg-signature-status, epg-signature-to-string)
3773         (epg-check-configuration, epg-configuration)
3774         (epg-import-keys-from-file): Declare.
3775         (package-check-signature): New user option.
3776         (package-unsigned-archives): New user option.
3777         (package-desc): Add `signed' field.
3778         (package-load-descriptor): Set `signed' field if .signed file exists.
3779         (package--archive-file-exists-p): New function.
3780         (package--check-signature): New function.
3781         (package-install-from-archive): Check package signature.
3782         (package--download-one-archive): Check archive signature.
3783         (package-delete): Remove .signed file.
3784         (package-import-keyring): New command.
3785         (package-refresh-contents): Import default keyring.
3786         (package-desc-status): Add "unsigned" status.
3787         (describe-package-1, package-menu--print-info)
3788         (package-menu-mark-delete, package-menu--find-upgrades)
3789         (package-menu--status-predicate): Support "unsigned" status.
3791 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3793         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3794         the new compilation scheme using the new byte-codes.
3796         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3797         (byte-pophandler): New byte codes.
3798         (byte-goto-ops): Adjust accordingly.
3799         (byte-compile--use-old-handlers): New var.
3800         (byte-compile-catch): Use new byte codes depending on
3801         byte-compile--use-old-handlers.
3802         (byte-compile-condition-case--old): Rename from
3803         byte-compile-condition-case.
3804         (byte-compile-condition-case--new): New function.
3805         (byte-compile-condition-case): New function that dispatches depending
3806         on byte-compile--use-old-handlers.
3807         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3808         when we can.
3810         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3811         Optimize under `condition-case' and `catch' if
3812         byte-compile--use-old-handlers is nil.
3813         (disassemble-offset): Handle new bytecodes.
3815 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3817         * subr.el (error): Use `declare'.
3818         (decode-char, encode-char): Use advertised-calling-convention instead
3819         of the docstring to discourage use of the `restriction' arg.
3821 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3823         * epg.el (epg-verify-file): Add a comment saying that it does not
3824         notify verification error as a return value nor a signal.
3825         (epg-verify-string): Ditto.
3827 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3829         * progmodes/compile.el (compilation-start): Try globbing the arg to
3830         `cd' (bug#15417).
3832 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
3834         Sync with Tramp 2.2.8.
3836         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3837         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3838         * net/trampver.el: Update release number.
3840 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
3842         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3843         and default-process-coding-system for darwin only.
3845 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3847         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3849 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
3851         * vc/vc-git.el (vc-git-grep): Disable pager.
3853 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
3855         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3856         Use :url instead of :homepage, as per
3857         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3859         * newcomment.el (comment-beginning): When `comment-use-syntax' is
3860         non-nil, use `syntax-ppss' (Bug#15251).
3862 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3864         * progmodes/octave.el (inferior-octave-startup-file):
3865         Prefer ~/.emacs.d/init_octave.m.
3867 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
3869         * emacs-lisp/package.el (package-desc-from-define):
3870         Accept additional arguments as plist, convert them to an alist and store
3871         them in the `extras' slot.
3872         (package-generate-description-file): Convert extras alist back to
3873         plist and append to the `define-package' form arguments.
3874         (package--alist-to-plist): New function.
3875         (package--ac-desc): Add `extras' slot.
3876         (package--add-to-archive-contents): Check if the archive-contents
3877         vector is long enough, and if it is, pass its `extras' slot value
3878         to `package-desc-create'.
3879         (package-buffer-info): Call `lm-homepage', pass the returned value
3880         to `package-desc-from-define'.
3881         (describe-package-1): Render the homepage button (Bug#13291).
3883         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3884         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3886 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
3888         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3889         and default-process-coding-system to utf-8-unix (Bug#15402).
3891 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
3893         * subr.el (looking-back): Do not recommend using looking-back.
3895 2013-09-28  Alan Mackenzie  <acm@muc.de>
3897         Fix indentation/fontification of Java enum with "implements".
3899         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3900         regexp which matches "implements", etc., in Java.
3901         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3902         specifier clauses coming after "enum".
3903         * progmodes/cc-fonts.el (c-font-lock-declarations)
3904         (c-font-lock-enum-tail): Check for extra specifier clauses coming
3905         after "enum".
3907 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
3909         * faces.el (region): Change ns_selection_color to
3910         ns_selection_fg_color, add ns_selection_bg_color.
3912 2013-09-28  Leo Liu  <sdl.web@gmail.com>
3914         * progmodes/octave.el (inferior-octave-completion-table)
3915         (inferior-octave-completion-at-point): Minor tweaks.
3917         * textmodes/ispell.el (ispell-lookup-words): Rename from
3918         lookup-words.  (Bug#15460)
3919         (lookup-words): Obsolete.
3920         (ispell-complete-word, ispell-command-loop): All uses changed.
3922 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3924         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3925         (octave-mode-menu): Add octave-send-buffer.
3926         (octave-send-buffer): New function.
3928 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3930         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3931         octave-lookfor.
3932         (octave-mode-menu): Add octave-lookfor.
3933         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3934         octave-lookfor.
3935         (octave-lookfor): New function.
3937 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3939         * emacs-lisp/cl-macs.el:
3940         (cl--loop-destr-temps): Remove.
3941         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3942         its convention.
3943         (cl--loop-set-iterator-function): New function.
3944         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3945         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3946         Bind `it' with `let' instead of substituting it with `cl-subst'.
3947         (cl--unused-var-p): New function.
3948         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3949         Eliminate some unused variable warnings (bug#15326).
3951 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3953         * doc-view.el (doc-view-scale-reset): Rename from
3954         `doc-view-reset-zoom-level'.
3955         (doc-view-scale-adjust): New command.
3956         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3957         `doc-view-scale-adjust'.
3959 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3961         * doc-view.el (doc-view-reset-zoom-level): New command.
3962         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3963         zoom commands (bug#15466).
3965 2013-09-26  Kenichi Handa  <handa@gnu.org>
3967         * international/quail.el (quail-help): Make it not a command.
3969 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3971         * minibuffer.el (completion-all-sorted-completions): Make args
3972         optional as they are.
3974 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3976         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3977         specs are and that they're not evaluated.
3979 2013-09-24  Sam Steingold  <sds@gnu.org>
3981         * midnight.el (clean-buffer-list-kill-regexps)
3982         (clean-buffer-list-kill-buffer-names): Update for the new Man
3983         buffer naming which includes the object name.
3985 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3987         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3988         (eshell-parse-command, eshell-parse-pipeline): Use it since
3989         eshell-separate-commands requires a dynamic scoped var.
3990         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3992 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3994         * autoinsert.el (auto-insert-alist): Make the value of
3995         lexical-binding match its file setting.
3997 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3999         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4001         * autoarg.el (autoarg-kp-digit-argument):
4002         * electric.el (Electric-command-loop):
4003         * kmacro.el (kmacro-step-edit-insert):
4004         Do not set universal-argument-num-events.
4006 2013-09-22  Leo Liu  <sdl.web@gmail.com>
4008         * files.el (interpreter-mode-alist): Add octave.
4010 2013-09-21  Alan Mackenzie  <acm@muc.de>
4012         C++: fontify identifier in declaration following "public:" correctly.
4013         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4014         to match "public", etc.
4015         (c-decl-prefix-re): Add ":" into the C++ value.
4016         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4017         bit.  Add a check for a ":" preceded by "public", etc.
4019 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
4021         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4022         recognized by GDB 7.5 and later.
4024 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
4026         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4028 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4030         * subr.el (internal--call-interactively): New const.
4031         (called-interactively-p): Use it (bug#3984).
4033 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
4035         * vc/pcvs.el (cvs-mode-ignore):
4036         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4037         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4039 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4041         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
4042         (eshell-ls-orig-insert-directory): Remove.
4043         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
4044         (eshell-ls-use-in-dired): Use advice-add/remove.
4045         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4046         Add `orig-fun' arg for use in :around advice.
4047         Make it check (redundantly) eshell-ls-use-in-dired.
4049 2013-09-19  Glenn Morris  <rgm@gnu.org>
4051         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4053         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4055         * emacs-lisp/eieio.el (class-parent): Undo previous change.
4057 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
4059         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4060         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4061         (tramp-get-remote-python): New defuns.
4062         (tramp-get-remote-uid-with-perl)
4063         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
4064         contributed by yary <not.com@gmail.com> (tiny change).
4065         (tramp-get-remote-uid-with-python)
4066         (tramp-get-remote-gid-with-python): New defuns.  Python code
4067         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4068         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4070 2013-09-19  Glenn Morris  <rgm@gnu.org>
4072         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4074         * eshell/em-unix.el (eshell-remove-entries):
4075         Rename argument to avoid name-clash with global `top-level'.
4077         * eshell/esh-proc.el (eshell-kill-process-function):
4078         Remove eshell-reset-after-proc from eshell-kill-hook if present.
4079         (eshell-reset-after-proc): Remove unused arg `proc'.
4081         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4082         (directory-files-and-attributes): Mark unused arg.
4084         * eshell/em-unix.el (eshell-remove-entries):
4085         Remove unused arg `path'.  Update callers.
4087         * eshell/em-hist.el (eshell-hist-parse-arguments):
4088         Remove unused arg `silent'.  Update callers.
4090         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4091         Fix (f)boundp mix-up.
4093         * eshell/em-smart.el (eshell-smart-scroll-window)
4094         (eshell-disable-after-change):
4095         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4097 2013-09-18  Alan Mackenzie  <acm@muc.de>
4099         Fix fontification of type when followed by "const".
4100         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4101         "known" types from fontification.
4103 2013-09-18  Glenn Morris  <rgm@gnu.org>
4105         * emacs-lisp/chart.el (x-display-color-cells): Declare.
4106         (chart-face-list): Drop Emacsen without display-color-p.
4108         * net/eww.el (libxml-parse-html-region): Declare.
4109         (eww-display-html): Explicit error if no libxml2 support.
4111         * doc-view.el (doc-view-mode): Silence --without-x compilation.
4113         * image.el (image-type-from-buffer, image-multi-frame-p):
4114         Remove --without-x warning/error.
4116         * mouse.el (mouse-yank-primary):
4117         * term.el (term-mouse-paste):
4118         Reorder to silence --without-x compilation.
4120         * mpc.el (doc-view-mode): Silence --without-x compilation.
4122         * mail/rmailmm.el (rmail-mime-set-bulk-data):
4123         Silence --without-x compilation.
4125         * progmodes/gud.el (gud-find-file, gud-mode):
4126         Silence --without-x compilation.
4127         (tooltip-mode): Declare.
4129         * wdired.el (dired-backup-overwrite): Remove declaration.
4130         (wdired-mode-map): Add doc string.
4132         * custom.el (x-get-resource): Declare.
4134         * eshell/em-glob.el (ange-cache):
4135         * eshell/em-unix.el (ange-cache): Declare.
4137         * faces.el (x-display-list, x-open-connection, x-get-resource):
4138         Declare.
4140         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4141         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4142         Declare.
4144         * frame.el (x-display-grayscale-p, x-display-name): Declare.
4146         * net/gnutls.el (gnutls-log-level): Declare.
4148         * net/shr.el (image-size, image-animate): Declare.
4150         * simple.el (font-info): Declare.
4152         * subr.el (x-popup-dialog): Declare.
4154         * term/common-win.el (x-select-enable-primary)
4155         (x-last-selected-text-primary, x-last-selected-text-clipboard):
4156         Declare.
4158         * term/ns-win.el (x-handle-args): Declare.
4160         * term/x-win.el (x-select-enable-clipboard): Declare.
4162         * term/w32-win.el (create-default-fontset): Declare.
4164         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4165         Declare.
4167         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4168         (fit-frame-to-buffer): Explicit error if --without-x.
4169         (mouse-autoselect-window-select): Silence compiler.
4171         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4173         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4174         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4175         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4176         * eshell/esh-util.el (eshell-sublist):
4177         Remove unused local variables.
4179         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4181         * textmodes/two-column.el: Make 2C-split work for --without-x.
4182         (scroll-bar-columns): Autoload.
4183         (top-level): Require fringe when compiling.
4185 2013-09-18  Leo Liu  <sdl.web@gmail.com>
4187         * subr.el (add-hook): Robustify to handle closure as well.
4189 2013-09-17  Glenn Morris  <rgm@gnu.org>
4191         * simple.el (messages-buffer-mode-map): Unbind "g".
4193 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * help-mode.el (help-mode-finish): Use derived-mode-p.
4196         Remove obsolete highlighting.
4198         * play/life.el (life-mode): Use define-derived-mode.  Derive from
4199         special-mode.
4200         (life): Let-bind inhibit-read-only.
4201         (life-setup): Avoid `setq'.  Use `life-mode'.
4203         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4204         which should not be needed any more.
4205         (package-menu-refresh, package-menu-describe-package): Use user-error.
4207         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4208         (eshell-post-rewrite-command-hook): Make obsolete.
4209         (eshell-parse-command): Simplify.
4210         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4211         (eshell--cmd): Declare.
4212         (eshell-parse-pipeline): Remove unused var `final-p'.
4213         Pass a dynvar to eshell-post-rewrite-command-hook.
4214         Implement the new eshell-post-rewrite-command-function.
4215         (eshell-invoke-directly): Remove unused arg `input'.
4216         * eshell/esh-io.el (eshell-io-initialize):
4217         Use eshell-post-rewrite-command-function (bug#15399).
4218         (eshell--apply-redirections): Rename from eshell-apply-redirections;
4219         adjust to new calling convention.
4220         (eshell-create-handles): Rename args to avoid clashing with dynvar
4221         `standard-output'.
4223 2013-09-17  Glenn Morris  <rgm@gnu.org>
4225         * simple.el (messages-buffer-mode): New major mode.
4226         (messages-buffer): New function.
4227         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4228         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4229         (ert-run-test): Use `messages-buffer' function.
4230         (ert--force-message-log-buffer-truncation): Ignore read-only.
4231         * help.el (view-echo-area-messages): Use `messages-buffer' function.
4232         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4234 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4236         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4238         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4240 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4242         * icomplete.el (icomplete-in-buffer): New var.
4243         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4244         vars and replace them with functions.
4245         (icomplete-minibuffer-setup): Adjust accordingly.
4246         (icomplete--completion-table, icomplete--completion-predicate)
4247         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4248         New functions.
4249         (icomplete-forward-completions, icomplete-backward-completions)
4250         (icomplete-simple-completing-p, icomplete-exhibit)
4251         (icomplete-completions): Use them.
4252         (icomplete--in-region-buffer): New var.
4253         (icomplete--in-region-setup): New function.
4254         (icomplete-mode): Use it.
4256         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4257         (bug#15379).
4258         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4259         return args and options.
4260         (eshell-eval-using-options): Use the new return value of
4261         eshell--do-opts to set the options's vars in their scope.
4262         (eshell--set-option): Rename from eshell-set-option.
4263         Add arg `opt-vals'.
4264         (eshell--process-option): Rename from eshell-process-option.
4265         Add arg `opt-vals'.
4266         (eshell--process-args): Use an `opt-vals' alist to store the options's
4267         values during their processing and return them additionally to the
4268         remaining args.
4270 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
4272         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4273         continuation character an operator, as far as indentation is
4274         concerned (Bug#15369).
4276 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
4278         * window.el (window--state-put-2): Don't process buffer state
4279         when buffer doesn't exist any more (Bug#15382).
4281 2013-09-15  Glenn Morris  <rgm@gnu.org>
4283         * eshell/em-unix.el (eshell/rm):
4284         Make -f ignore missing files.  (Bug#15373)
4286         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
4287         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4288         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4290 2013-09-14  Glenn Morris  <rgm@gnu.org>
4292         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4294 2013-09-13  Glenn Morris  <rgm@gnu.org>
4296         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4297         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
4299 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
4301         * frame.el (x-focus-frame): Mark as declared in frame.c.
4303 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4305         * ls-lisp.el: Use advice-add.
4306         (original-insert-directory): Remove.
4307         (ls-lisp--insert-directory): Rename from insert-directory; add
4308         `orig-fun' argument.
4309         (insert-directory): Advise.
4311 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
4313         * term.el (term-emulate-terminal): Decode the command string
4314         before passing it to term-command-hook.  (Bug#15337)
4316 2013-09-13  Glenn Morris  <rgm@gnu.org>
4318         * eshell/esh-util.el (ange-cache): Move declaration earlier.
4320         * eshell/esh-ext.el (eshell-search-path): Declare.
4322         * eshell/em-prompt.el (eshell/pwd): Autoload it.
4323         Otherwise an error occurs if eshell-dirs module not loaded.
4325         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4327 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
4329         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4330         `tramp-check-proper-host'.  Check for a valid method name.
4332         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4333         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4334         * net/tramp-sh.el (tramp-maybe-open-connection):
4335         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4337         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4338         also for hash values.
4340 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4342         * term/ns-win.el (parameters): Don't declare as dynamic.
4343         (before-make-frame-hook): Don't add ineffective function.
4345         * eshell/*.el: Use lexical-binding (bug#15231).
4347 2013-09-12  Kenichi Handa  <handa@gnu.org>
4349         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4351 2013-09-12  Glenn Morris  <rgm@gnu.org>
4353         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4354         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4356         * subr.el (do-after-load-evaluation): Also give compiler warnings
4357         when obsolete files are used (except by obsolete files).
4359         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4360         in the status output, assume `filename' is the first.  (Bug#15322)
4362         * vc/vc.el (vc-deduce-fileset): Doc fix.
4364         * calc/calc-help.el (Info-goto-node):
4365         * progmodes/cperl-mode.el (Info-find-node):
4366         * vc/ediff.el (Info-goto-node): Update declarations.
4368         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4370         * vc/vc-bzr.el (vc-compilation-mode): Declare.
4371         (vc-bzr-pull): Require vc-dispatcher.
4372         * vc/vc-git.el (vc-compilation-mode): Declare.
4373         (vc-git-pull): Require vc-dispatcher.
4375         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4377         * progmodes/octave.el (help-button-action): Declare.
4379         * shell.el (shell-directory-tracker): Output error as a message
4380         rather than just returning it as a string.
4381         (shell-process-pushd): Remove useless use of message.
4383         * dframe.el (dframe-timer-fn):
4384         * files.el (dir-locals-read-from-file):
4385         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4386         (mpc-format):
4387         * reveal.el (reveal-post-command):
4388         * saveplace.el (load-save-place-alist-from-file):
4389         * shell.el (shell-resync-dirs):
4390         * w32-common-fns.el (x-get-selection-value):
4391         * emacs-lisp/copyright.el (copyright-find-copyright):
4392         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4393         * emulation/tpu-edt.el (tpu-copy-keyfile):
4394         * play/bubbles.el (bubbles--mark-neighbourhood):
4395         * progmodes/executable.el
4396         (executable-make-buffer-file-executable-if-script-p):
4397         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4399 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4401         Cleanup Eshell to rely less on dynamic scoping.
4402         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4403         last-value, and ext-command here.  Bind `args' closer to `body'.
4404         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4405         (eshell--args): Declare new dynamic var.
4406         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
4407         last-value, and ext-command.  Pass `args' to `body'.
4408         (eshell-process-args): Bind eshell--args.
4409         (eshell-set-option): Use eshell--args.
4410         * eshell/eshell.el (eshell): Use derived-mode-p.
4411         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4412         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4413         (eshell-glob-function): Declare.
4414         * eshell/esh-util.el: Require cl-lib.
4415         (eshell-read-hosts-file): Avoid add-to-list.
4416         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4417         `err'.
4418         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4419         Declare.
4420         (eshell/diff): Remove unused var `err'.
4421         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4422         `killflag'.
4423         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4424         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4425         first use.
4426         * eshell/em-glob.el (eshell-glob-matches, message-shown):
4427         Move declaration before first use.
4428         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4429         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4430         rely on cl-return.
4432 2013-09-12  Glenn Morris  <rgm@gnu.org>
4434         * term/ns-win.el (global-map): Remove binding for ispell-next,
4435         deleted 1999-05-29.  (Bug#15357)
4437 2013-09-11  Glenn Morris  <rgm@gnu.org>
4439         * echistory.el (electric-command-history): Remove call to deleted func.
4441         * play/landmark.el (landmark-mode): Fix typos.
4443         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4444         Check cvs-sort-ignore-file is bound.
4446         * savehist.el: No need for cl when compiling on Emacs.
4448 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4450         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4451         (bug#15338).
4452         (eshell-self-insert-command, eshell-send-invisible):
4453         Remove unused argument.
4454         (eshell-handle-control-codes): Remove unused var `orig'.
4455         Avoid delete-backward-char.
4457         * files.el (set-auto-mode): Simplify a bit further.
4459 2013-09-11  Glenn Morris  <rgm@gnu.org>
4461         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4462         (set-auto-mode): Don't regexp-quote elements.
4463         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4464         * progmodes/cc-mode.el (interpreter-mode-alist):
4465         * progmodes/ruby-mode.el (interpreter-mode-alist):
4466         Revert previous change.
4468 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4470         * play/snake.el (snake-mode):
4471         * play/mpuz.el (mpuz-mode):
4472         * play/landmark.el (lm-mode):
4473         * play/blackbox.el (blackbox-mode):
4474         * play/5x5.el (5x5-mode):
4475         * obsolete/options.el (Edit-options-mode):
4476         * net/quickurl.el (quickurl-list-mode):
4477         * net/newst-treeview.el (newsticker-treeview-mode):
4478         * mail/rmailsum.el (rmail-summary-mode):
4479         * mail/mspools.el (mspools-mode):
4480         * locate.el (locate-mode):
4481         * ibuffer.el (ibuffer-mode):
4482         * emulation/ws-mode.el (wordstar-mode):
4483         * emacs-lisp/debug.el (debugger-mode):
4484         * array.el (array-mode):
4485         * net/eudc.el (eudc-mode): Use define-derived-mode.
4486         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4487         Move initialization into declaration.
4488         (mairix-searches-mode): Use define-derived-mode.
4489         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4490         (eudc-edit-hotlist): Use dolist.
4491         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4492         (Man-mode): Use define-derived-mode.
4493         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4494         (Info-edit-mode): Use define-derived-mode.
4495         (Info-cease-edit): Use Info-mode.
4496         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4497         into declaration.
4498         (eshell-mode): Use define-derived-mode.
4499         * chistory.el (command-history-mode-map): Rename from
4500         command-history-map.
4501         (command-history-mode): Use define-derived-mode.
4502         (Command-history-setup): Remove function.
4503         * calc/calc.el (calc-trail-mode-map): New var.
4504         (calc-trail-mode): Use define-derived-mode.
4505         (calc-trail-buffer): Set calc-main-buffer manually.
4506         * bookmark.el (bookmark-insert-annotation): New function.
4507         (bookmark-edit-annotation): Use it.
4508         (bookmark-edit-annotation-mode): Make it a proper major mode.
4509         (bookmark-send-edited-annotation): Use derived-mode-p.
4510         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4511         closer to its ideal place.  Use \' to match EOS.
4513         * profiler.el (profiler-calltree-find): Use function-equal.
4515 2013-09-10  Glenn Morris  <rgm@gnu.org>
4517         * files.el (interpreter-mode-alist): Convert to regexps.
4518         (set-auto-mode): Adapt for this.  (Bug#15306)
4519         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4520         Comment out unused variable.
4521         * progmodes/cc-mode.el (interpreter-mode-alist):
4522         * progmodes/python.el (interpreter-mode-alist):
4523         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4524         * progmodes/sh-script.el (sh-set-shell):
4525         No longer use interpreter-mode-alist to get list of shells.
4527         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4529 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4531         * simple.el: Use set-temporary-overlay-map for universal-argument.
4532         (universal-argument-map): Don't use default-bindings (bug#15317).
4533         Bind switch-frame explicitly.  Replace universal-argument-minus with
4534         a conditional binding.
4535         (universal-argument-num-events, saved-overriding-map): Remove.
4536         (restore-overriding-map): Remove.
4537         (universal-argument--mode): Rename from save&set-overriding-map,
4538         and rewrite.
4539         (universal-argument, universal-argument-more, negative-argument)
4540         (digit-argument): Adjust accordingly.
4541         (universal-argument-minus): Remove.
4542         (universal-argument-other-key): Remove.
4544         * subr.el (with-demoted-errors): Add `format' argument.
4546 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
4548         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
4549         `tramp-cleanup-connection'.
4551         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4552         parameters KEEP-DEBUG and KEEP-PASSWORD.
4554         * net/tramp.el (tramp-file-name-handler):
4555         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4556         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4557         (tramp-maybe-open-connection):
4558         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4559         Use `tramp-cleanup-connection'.
4561         * net/tramp-sh.el (tramp-maybe-open-connection):
4562         Catch 'uname-changed inside the progress reporter.
4564 2013-09-10  Glenn Morris  <rgm@gnu.org>
4566         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
4568         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4569         returns "alternate access method" in mode (eg "-rw-r--r--.").
4571 2013-09-08  Glenn Morris  <rgm@gnu.org>
4573         * saveplace.el (load-save-place-alist-from-file):
4574         Demote errors.  (Bug#15305)
4576 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
4578         Improve compatibility with older Emacsen, and XEmacs.
4580         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4581         only if it is bound.  It isn't for XEmacs.
4582         (with-tramp-progress-reporter): Do not let-bind `result'.
4583         This yields to scoping errors in XEmacs.
4584         (tramp-handle-make-auto-save-file-name): New function, moved from
4585         tramp-sh.el.
4587         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4588         for `make-auto-save-file-name'.
4589         (tramp-adb--gnu-switches-to-ash):
4590         Use `tramp-compat-replace-regexp-in-string'.
4592         * net/tramp-cache.el (tramp-cache-print): Call
4593         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
4595         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4596         bound.  It isn't for XEmacs.
4598         * net/tramp-compat.el (tramp-compat-copy-file):
4599         Catch `wrong-number-of-arguments' error.
4600         (tramp-compat-replace-regexp-in-string): New defun.
4602         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4603         for `make-auto-save-file-name'.
4604         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4605         `copy-file'.
4606         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4607         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4608         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4610         * net/tramp-gw.el (tramp-gw-open-network-stream):
4611         Use `tramp-compat-replace-regexp-in-string'.
4613         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4614         Call `tramp-handle-make-auto-save-file-name'.
4615         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4616         (tramp-sh-file-gvfs-monitor-dir-process-filter)
4617         (tramp-sh-file-inotifywait-process-filter):
4618         Use `tramp-compat-replace-regexp-in-string'.
4619         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4621         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4622         for `make-auto-save-file-name'.
4623         (tramp-smb-handle-copy-directory):
4624         Call `tramp-compat-replace-regexp-in-string'.
4625         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4626         (tramp-smb-handle-copy-file): Improve error message.
4627         (tramp-smb-handle-rename-file): Rename directly only in case
4628         `newname' does not exist yet.  This is a restriction of smbclient.
4629         (tramp-smb-maybe-open-connection): Rerun the function only when
4630         `auth-sources' is non-nil.
4632 2013-09-08  Kenichi Handa  <handa@gnu.org>
4634         * international/characters.el: Set category "^" (Combining) for
4635         more characters.
4637 2013-09-07  Alan Mackenzie  <acm@muc.de>
4639         Correctly fontify Java class constructors.
4640         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4641         in Java Mode.
4642         (c-recognize-typeless-decls): Set the Java value to t.
4643         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4644         While handling a "(", add a check for, effectively, Java, and handle a
4645         "typeless" declaration there.
4647 2013-09-07  Roland Winkler  <winkler@gnu.org>
4649         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4650         field subtitle for entry type book.
4652 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4654         * minibuffer.el: Make minibuffer-complete call completion-in-region
4655         rather than other way around.
4656         (completion--some, completion-pcm--find-all-completions):
4657         Don't delay signals when debugging.
4658         (minibuffer-completion-contents): Beware fields within the
4659         minibuffer contents.
4660         (completion-all-sorted-completions): Use defvar-local.
4661         (completion--do-completion, completion--cache-all-sorted-completions)
4662         (completion-all-sorted-completions, minibuffer-force-complete):
4663         Add args `beg' and `end'.
4664         (completion--in-region-1): New fun, extracted from minibuffer-complete.
4665         (minibuffer-complete): Use completion-in-region.
4666         (completion-complete-and-exit): New fun, extracted from
4667         minibuffer-complete-and-exit.
4668         (minibuffer-complete-and-exit): Use it.
4669         (completion--complete-and-exit): Rename from
4670         minibuffer--complete-and-exit.
4671         (completion-in-region--single-word): New function, extracted from
4672         minibuffer-complete-word.
4673         (minibuffer-complete-word): Use it.
4674         (display-completion-list): Make `common-substring' argument obsolete.
4675         (completion--in-region): Call completion--in-region-1 instead of
4676         minibuffer-complete.
4677         (completion-help-at-point): Pass boundaries to
4678         minibuffer-completion-help as args rather than via an overlay.
4679         (completion-pcm--string->pattern): Use `any-delim'.
4680         (completion-pcm--optimize-pattern): New function.
4681         (completion-pcm--pattern->regex): Handle `any-delim'.
4682         * icomplete.el (icomplete-forward-completions)
4683         (icomplete-backward-completions, icomplete-completions):
4684         Adjust calls to completion-all-sorted-completions and
4685         completion--cache-all-sorted-completions.
4686         (icomplete-with-completion-tables): Default to t.
4687         * emacs-lisp/crm.el (crm--current-element): Rename from
4688         crm--select-current-element.  Don't put an overlay but return the
4689         boundaries instead.
4690         (crm--completion-command): Take two new args to bind to the boundaries.
4691         (crm-completion-help): Adjust accordingly.
4692         (crm-complete): Use completion-in-region.
4693         (crm-complete-word): Use completion-in-region--single-word.
4694         (crm-complete-and-exit): Use completion-complete-and-exit.
4696 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4698         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4699         than dynamically.
4701 2013-09-06  Juri Linkov  <juri@jurta.org>
4703         * info.el (Info-display-images-node): When image file doesn't exist
4704         display text version of the image if it's provided in the Info file.
4705         Otherwise, display the location of missing image from SRC attribute.
4706         Add help-echo text property from ALT attribute.  (Bug#15279)
4708 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4710         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4711         (edit-abbrevs-mode): Use define-derived-mode.
4713         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4714         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4715         that it's defined.
4716         (epa-key-list-mode, epa-key-mode, epa-info-mode):
4717         Use define-derived-mode.
4719         * epg.el (epg-start-encrypt): Minor CSE simplification.
4721 2013-09-06  William Xu  <william.xwl@gmail.com>
4723         * arc-mode.el: Add support for 7za (bug#15264).
4724         (archive-7z-program): New var.
4725         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4726         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4727         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4729 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
4731         Remove URL syntax.
4733         * net/tramp.el (tramp-syntax, tramp-prefix-format)
4734         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4735         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4736         (tramp-postfix-host-format, tramp-file-name-regexp)
4737         (tramp-completion-file-name-regexp)
4738         (tramp-completion-dissect-file-name)
4739         (tramp-handle-substitute-in-file-name): Remove 'url case.
4740         (tramp-file-name-regexp-url)
4741         (tramp-completion-file-name-regexp-url): Remove constants.
4743 2013-09-06  Glenn Morris  <rgm@gnu.org>
4745         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
4747 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
4749         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4750         keywords" below "here-doc beginnings" (Bug#15270).
4752 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4754         * subr.el (pop): Use `car-safe'.
4755         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4756         to detect unused `pop' return value.
4758         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4759         var `block-regexp'.
4760         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4761         (python-fill-string): Remove unused var `marker'.
4762         (python-skeleton-add-menu-items): Remove unused var `items'.
4764         * international/mule-cmds.el: Require CL.
4765         (find-coding-systems-for-charsets): Avoid add-to-list.
4766         (sanitize-coding-system-list): New function, extracted from
4767         select-safe-coding-system-interactively.
4768         (select-safe-coding-system-interactively): Use it.
4769         (read-input-method-name): Accept symbols for `default'.
4771         * emacs-lisp/advice.el (defadvice): Add indent rule.
4773 2013-09-05  Daniel Hackney  <dan@haxney.org>
4775         * dired-x.el:
4776         * net/ange-ftp.el:
4777         * net/browse-url.el:
4778         * net/dbus.el:
4779         * net/eudc.el:
4780         * net/eudcb-ldap.el:
4781         * net/eww.el:
4782         * net/imap.el:
4783         * printing.el:
4784         * vc/ediff-diff.el:
4785         * vc/ediff-init.el:
4786         * vc/ediff-merg.el:
4787         * vc/ediff-mult.el:
4788         * vc/ediff-util.el:
4789         * vc/ediff-wind.el:
4790         * vc/ediff.el:
4791         * vc/emerge.el:
4792         * vc/pcvs.el:
4793         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4794         byte compiler.  Remove some unused let-bound variables.
4796 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4798         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4799         a "ref-cell", since it gets better optimized (bug#14883).
4801 2013-09-05  Glenn Morris  <rgm@gnu.org>
4803         * progmodes/cc-awk.el (c-forward-sws): Declare.
4805 2013-09-04  Glenn Morris  <rgm@gnu.org>
4807         * generic-x.el [rul-generic-mode]: Require cc-mode.
4808         (c++-mode-syntax-table): Declare.
4809         (rul-generic-mode-syntax-table): Init in the defvar.
4811 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4813         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4814         (vc-do-command, vc-set-async-update):
4815         * vc/vc-mtn.el (vc-mtn-dir-status):
4816         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4817         (vc-hg-pull, vc-hg-merge-branch):
4818         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4819         (vc-git-merge-branch):
4820         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4821         (vc-cvs-dir-status-files):
4822         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4823         (vc-bzr-dir-status-files):
4824         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4825         * vc/vc-annotate.el: Use lexical-binding.
4826         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4827         (vc-sentinel-movepoint): Declare.
4828         (vc-annotate): Don't use `goto-line'.
4829         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4830         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4831         (vc-sentinel-movepoint): Declare.
4832         * vc/vc-svn.el: Use lexical-binding.
4833         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4834         * vc/vc-sccs.el:
4835         * vc/vc-rcs.el: Use lexical-binding.
4837         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4838         `deleted'.  Don't drop errors silently.
4840         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4842 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
4844         * vc/vc.el (vc-ignore): Rewrite.
4845         (vc-default-ignore): New function.
4846         (vc-default-ignore-completion-table): Use find-ignore-file.
4848         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4849         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4850         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4851         Remove.  Most code moved to vc.el.
4853 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4855         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4856         * net/tramp-smb.el (tramp-smb-get-file-entries):
4857         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4858         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4860         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4861         Update call to it.
4862         (eww-change-select): Remove unused var `properties'.
4863         (eww-make-unique-file-name): Remove unused var `base'.
4865         * finder.el (finder-compile-keywords): Don't mess with windows.
4867         * calculator.el (calculator-funcall): Fix typo in last change.
4869         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4871         * emacs-lisp/package.el (package-activate-1): Don't let a missing
4872         <pkg>-autoloads.el file stop us.
4874         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4875         warnings, and factor out common code.
4877 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
4879         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4880         two-character operators and whether the character preceding them
4881         changes their meaning (Bug#15208).
4883 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4885         Format code sent to Python shell for robustness.
4886         * progmodes/python.el (python-shell-buffer-substring):
4887         New function.
4888         (python-shell-send-region, python-shell-send-buffer): Use it.
4890 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
4892         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4893         * net/tramp.el (tramp-user-error): ... here.
4894         (tramp-find-method, tramp-check-proper-host)
4895         (tramp-dissect-file-name, tramp-debug-message)
4896         (tramp-handle-shell-command):
4897         * net/tramp-adb.el (tramp-adb-handle-shell-command):
4898         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4900         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4902 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
4904         * avoid.el (mouse-avoidance-point-position)
4905         (mouse-avoidance-too-close-p): Handle case where posn-at-point
4906         returns nil.
4908 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4910         * progmodes/python.el (python-shell-completion-get-completions):
4911         Drop use of deleted `comint-last-prompt-overlay'.
4912         (python-nav-if-name-main): New command.
4914 2013-09-01  Glenn Morris  <rgm@gnu.org>
4916         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4917         Avoid leading space in $wins.  Otherwise the sed command used by
4918         eg compile-main ends up containing "/*.el".  (Bug#15170)
4920         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
4922 2013-08-30  Glenn Morris  <rgm@gnu.org>
4924         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4925         Fix is-this-a-directory logic.  (Bug#15220)
4927 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4929         * textmodes/css-mode.el: Use SMIE.
4930         (css-smie-grammar): New var.
4931         (css-smie--forward-token, css-smie--backward-token)
4932         (css-smie-rules): New functions.
4933         (css-mode): Use them.
4934         (css-navigation-syntax-table): Remove var.
4935         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4936         (css-indent-calculate, css-indent-line): Remove functions.
4938         Misc changes to reduce use of `(lambda...); and other cleanups.
4939         * cus-edit.el: Use lexical-binding.
4940         (customize-push-and-save, customize-apropos)
4941         (custom-buffer-create-internal): Use closures.
4942         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4943         * progmodes/ada-xref.el: Use setq.
4944         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4945         * dframe.el: Use lexical-binding.
4946         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4947         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4948         * descr-text.el: Use lexical-binding.
4949         (describe-text-widget, describe-text-sexp, describe-property-list):
4950         Use closures.
4951         * comint.el (comint-history-isearch-push-state): Use a closure.
4952         * calculator.el: Use lexical-binding.
4953         (calculator-number-to-string): Make it work with lexical-binding.
4954         (calculator-funcall): Same and use cl-letf.
4956         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4957         (lisp--company-doc-string, lisp--company-location): New functions.
4958         (lisp-completion-at-point): Use them to improve Company support.
4960         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4961         params of lambda expressions.
4962         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4963         (ruby-smie--opening-pipe-p): New function.
4964         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4965         symbols and matched |...| for formal params.
4966         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4967         from being treated as hanging.  Handle "rescue".
4969 2013-08-29  Glenn Morris  <rgm@gnu.org>
4971         * progmodes/cc-engine.el (c-pull-open-brace):
4972         Move definition before use.
4974 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4976         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4977         are immutable.  Don't use `unsafe' any more.
4978         (cl--defsubst-expand): Don't substitute at the same time as keeping
4979         a residual unused let-binding.  Don't use `unsafe' any more.
4981 2013-08-29  Glenn Morris  <rgm@gnu.org>
4983         * calendar/cal-china.el (calendar-chinese-year-cache):
4984         Recenter on 2015.
4986         * nxml/nxml-util.el (nxml-debug-clear-inside):
4987         Use cl-loop rather than loop.
4989         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4991         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4993 2013-08-28  Glenn Morris  <rgm@gnu.org>
4995         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4997         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4999         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5001 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5003         * simple.el (repeat-complex-command--called-interactively-skip):
5004         New function.
5005         (repeat-complex-command): Use it (bug#14136).
5007         * progmodes/cc-mode.el: Minor cleanup of var declarations.
5008         (c-define-abbrev-table): Add `doc' argument.
5009         (c-mode-abbrev-table, c++-mode-abbrev-table)
5010         (objc-mode-abbrev-table, java-mode-abbrev-table)
5011         (idl-mode-abbrev-table, pike-mode-abbrev-table)
5012         (awk-mode-abbrev-table): Use it.
5013         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5014         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5015         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5016         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5017         Move initialization into the declaration; and remove any
5018         autoload cookie.
5020         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5021         and dynamic let binding.
5023         * vc/smerge-mode.el: Remove redundant :group args.
5025         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5026         to load-path.
5028 2013-08-28  Juri Linkov  <juri@jurta.org>
5030         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5031         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5032         (isearch-other-meta-char): Handle an undefined shifted printing
5033         character by downshifting it.  (Bug#15200)
5035 2013-08-28  Juri Linkov  <juri@jurta.org>
5037         * isearch.el (isearch-search): Change regexp error message for
5038         non-regexp searches.  (Bug#15166)
5040 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
5042         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5043         for portability to hosts where /bin/sh has problems.
5045 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5047         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5049 2013-08-27  Juri Linkov  <juri@jurta.org>
5051         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5052         in the keyboard macro.  (Bug#15126)
5054 2013-08-27  Juri Linkov  <juri@jurta.org>
5056         * isearch.el (isearch-quote-char): Comment out converting unibyte
5057         to multibyte, thus syncing with its `quoted-insert' counterpart.
5058         (Bug#15166)
5060 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
5062         * window.el (display-buffer-use-some-window): Add missing
5063         argument in call of get-largest-window (Bug#15185).
5064         Reported by Stephen Leake.
5066 2013-08-27  Glenn Morris  <rgm@gnu.org>
5068         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5070 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5072         * progmodes/python.el (python-font-lock-keywords): Don't return nil
5073         from a matcher-function unless there's no more matches (bug#15161).
5075 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5077         * minibuffer.el: Revert change from 2013-08-20.
5079         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5080         with text property `tramp-default', if appropriate.
5081         (tramp-check-proper-host): New defun.
5082         (tramp-dissect-file-name): Do not check hostname.  Revert change
5083         of 2013-03-18.
5084         (tramp-backtrace): Make VEC-OR-PROC optional.
5086         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5087         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5088         * net/tramp-sh.el (tramp-maybe-open-connection):
5089         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5090         Apply `tramp-check-proper-host'.
5092 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
5094         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5095         lambda expression in order to have `describe-variable' display it.
5097 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5099         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5100         BUF can be optional.  (Bug#15186)
5102 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
5104         * progmodes/flymake.el (flymake-get-real-file-name-function):
5105         Fix broken customization.  (Bug#15184)
5107 2013-08-25  Alan Mackenzie  <acm@muc.de>
5109         Improve indentation of bracelists defined by macros (without "=").
5111         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5112         expansion begins with "{", regard it as bracelist when it doesn't
5113         contain a ";".
5115         Parse C++ inher-intro when there's a template split over 2 lines.
5117         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5118         rigorously the search for "class" etc. followed by ":".
5120         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5121         random languages a regexp which never matches rather than nil.
5123         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5125         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5126         (c-awk-regexp-one-line-possibly-open-char-list-re)
5127         (c-awk-one-line-possibly-open-regexp-re)
5128         (c-awk-one-line-non-syn-ws*-re): Remove.
5129         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5130         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5131         (c-awk-space*-unclosed-regexp-/-re): New constants.
5132         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5133         aren't regexp delimiters.
5135         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5136         handling for a rare situation in AWK Mode involving unterminated
5137         strings/regexps.
5139 2013-08-23  Glenn Morris  <rgm@gnu.org>
5141         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5143         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5145         * files.el (create-file-buffer): If the result would begin with
5146         spaces, prepend a "|" instead of removing them.  (Bug#15162)
5148 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5150         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5151         text-properties (bug#15155).
5153         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5154         exist any more.
5155         (calc-keypad-redraw): Remove unused var `pad'.
5156         (calc-keypad-press): Remove unused var `menu'.
5158 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
5160         * window.el (display-buffer-pop-up-frame):
5161         Call pop-up-frame-function with BUFFER current so `make-frame' will
5162         use it as the new frame's buffer (Bug#15133).
5164 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5166         * calendar/timeclock.el: Minor cleanups.
5167         (timeclock-ask-before-exiting, timeclock-use-display-time):
5168         Use `symbol'.
5169         (timeclock-modeline-display): Define as alias before the
5170         actual definition.
5171         (timeclock-mode-line-display): Use define-minor-mode.
5172         (timeclock-day-list-template): Make it a function, add an argument.
5173         (timeclock-day-list-required, timeclock-day-list-length)
5174         (timeclock-day-list-debt, timeclock-day-list-span)
5175         (timeclock-day-list-break): Adjust calls accordingly.
5177 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5179         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5180         Use read--expression so that completion works again.
5182 2013-08-21  Sam Steingold  <sds@gnu.org>
5184         Add rudimentary inferior shell interaction
5185         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5186         (sh-set-shell): Reset it.
5187         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5188         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5190 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5192         * align.el: Use lexical-binding.
5193         (align-region): Simplify accordingly.
5195 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
5197         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5199         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5200         `non-essential' up.
5202 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
5204         * net/tramp.el:
5205         * net/tramp-adb.el:
5206         * net/tramp-cmds.el:
5207         * net/tramp-ftp.el:
5208         * net/tramp-gvfs.el:
5209         * net/tramp-gw.el:
5210         * net/tramp-sh.el: Don't wrap external variable declarations by
5211         `eval-when-compile'.
5213 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5215         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5216         now that Emacs supports ImageMagick animations.
5218 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
5220         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5221         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5223 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
5225         * window.el (mouse-autoselect-window-select): Do autoselect when
5226         mouse pointer is on margin.
5228 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
5230         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
5232 2013-08-16  Glenn Morris  <rgm@gnu.org>
5234         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5235         Handle "Remote Directory" response of some clients.  (Bug#15058)
5237         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5238         Tweak warning.  (Bug#14926)
5240         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5241         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
5243         * image-mode.el (image-mode-map): Add menu items to reverse,
5244         increase, decrease, reset animation speed.
5245         (image--set-speed, image-increase-speed, image-decrease-speed)
5246         (image-reverse-speed, image-reset-speed): New functions.
5247         (image-mode-map): Add bindings for speed commands.
5249         * image.el (image-animate-get-speed, image-animate-set-speed):
5250         New functions.
5251         (image-animate-timeout): Respect image :speed property.
5253 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5255         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5256         previous line (bug#15101).
5257         (debugger-eval-expression, debugger-record-expression):
5258         Use read--expression (bug#15102).
5260 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
5262         Remove byte compiler warnings, visible when compiling with
5263         `byte-compile-force-lexical-warnings' set to t.
5265         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5266         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5267         (tramp-handle-unhandled-file-name-directory)
5268         (tramp-handle-file-notify-add-watch, tramp-action-login)
5269         (tramp-action-succeed, tramp-action-permission-denied)
5270         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5271         arguments with "_".
5273         * net/tramp-adb.el (tramp-adb-parse-device-names)
5274         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5275         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5276         (tramp-adb-handle-file-truename): Remove unused arguments.
5278         * net/tramp-cache.el (tramp-flush-directory-property)
5279         (tramp-flush-connection-property, tramp-list-connections)
5280         (tramp-parse-connection-properties): Prefix unused arguments with "_".
5282         * net/tramp-compat.el (tramp-compat-make-temp-file):
5283         Rename FILENAME to F.
5285         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5286         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5287         (tramp-zeroconf-parse-workstation-device-names)
5288         (tramp-zeroconf-parse-webdav-device-names)
5289         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5291         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5292         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5294         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5295         arguments.
5296         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5297         (tramp-sh-handle-insert-file-contents-literally)
5298         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5299         with "_".
5300         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5301         Remove unused variables.
5303         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5304         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5305         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5307         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5308         Make them a defconst.
5309         (tramp-uuencode-region): Remove unused variable.
5311 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
5313         * frameset.el (frameset--prop-setter): New function.
5314         (frameset-prop): Add gv-setter declaration.
5315         (frameset-filter-minibuffer): Deal with the case that the minibuffer
5316         parameter was already set in FILTERED.  Doc fix.
5317         (frameset--record-minibuffer-relationships): Allow saving a
5318         minibufferless frame without its corresponding minibuffer frame.
5319         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5320         frame, if the frame id matches.
5321         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5322         frames before orphaned ones.
5323         (frameset-restore): Warn about orphaned windows, instead of error out.
5325 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
5327         * window.el (window-make-atom): Don't overwrite parameter
5328         already present.
5329         (display-buffer-in-atom-window): Handle special case where we
5330         split an already atomic window.
5331         (window--major-non-side-window, display-buffer-in-side-window)
5332         (window--side-check): Ignore minibuffer window when walking
5333         window tree.
5334         (window-deletable-p): Return 'frame only if no other frame uses
5335         our minibuffer window.
5336         (record-window-buffer): Run buffer-list-update-hook.
5337         (split-window): Make sure window--check-frame won't destroy an
5338         existing atomic window in case the new window gets nested
5339         inside.
5340         (display-buffer-at-bottom): Ignore minibuffer window when
5341         walking window tree.  Don't split a side window.
5342         (pop-to-buffer): Don't set-buffer here, the select-window call
5343         should do that.
5344         (mouse-autoselect-window-select): Autoselect only if we are in the
5345         text portion of the window.
5347 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5349         * net/shr.el (shr-parse-image-data): New function to grab both the
5350         data itself and the Content-Type.
5351         (shr-put-image): Use it.
5353         * net/eww.el (eww-display-image): Ditto.
5355         * image.el (image-content-type-suffixes): New variable.
5357 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5359         * progmodes/python.el (python-imenu--build-tree)
5360         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5362 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
5364         * simple.el (backward-word): Mention the optional argument.
5366 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5368         * frameset.el (frameset--make): Rename constructor from make-frameset.
5369         (frameset-p, frameset-valid-p): Don't autoload.
5370         (frameset-valid-p): Use normal accessors.
5372 2013-08-13  Glenn Morris  <rgm@gnu.org>
5374         * progmodes/compile.el (compile-command): Tweak example in doc.
5375         * obsolete/scribe.el (scribe-mode):
5376         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
5378         * mail/feedmail.el (feedmail-confirm-outgoing)
5379         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5381         * cus-start.el (truncate-partial-width-windows): Fix type.
5383         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5385         * net/shr.el (shr-table-horizontal-line): Fix custom type.
5387 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5389         * emacs-lisp/timer.el (timer--time-setter): New function.
5390         (timer--time): Use it as gv-setter.
5392         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5393         setter is not a symbol.
5395 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
5397         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5398         if sending fails.  This makes debugging easier.
5400 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
5402         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5403         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5404         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5406 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
5408         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5410 2013-08-12  Glenn Morris  <rgm@gnu.org>
5412         * format.el (format-annotate-function):
5413         Handle read-only text properties in the source.  (Bug#14887)
5415 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5417         * net/eww.el (eww-display-html): Ignore coding system errors.
5418         One web site uses "utf-8lias" as the coding system.
5420 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
5422         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5424 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
5426         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5427         (tutorial--detailed-help): Remove unused local variables.
5428         (tutorial--save-tutorial-to): Use ignore-errors.
5429         (help-with-tutorial): Use looking-at-p.
5431         * view.el (view-buffer-other-window, view-buffer-other-frame):
5432         Mark unused arguments.
5434         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5435         (woman-select-symbol-fonts, woman, woman-find-file)
5436         (woman-insert-file-contents, woman-non-underline-faces):
5437         Use string-match-p.
5438         (woman1-unquote): Move declaration.
5440         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5441         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
5442         argument.  Remove unused local variable.
5443         (xml-parse-elem-type): Use string-match-p.
5444         (xml-substitute-numeric-entities): Use ignore-errors.
5446         * calculator.el (calculator): Mark unused argument.
5447         (calculator-paste, calculator-quit, calculator-integer-p):
5448         Use ignore-errors.
5449         (calculator-string-to-number, calculator-decimal, calculator-exp)
5450         (calculator-op-or-exp): Use string-match-p.
5452         * dired.el (dired-buffer-more-recently-used-p): Declare.
5453         (dired-insert-set-properties, dired-insert-old-subdirs):
5454         Use ignore-errors.
5456         * dired-aux.el (dired-compress): Use ignore-errors.
5457         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5458         (dired-do-async-shell-command, dired-do-shell-command)
5459         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5460         (dired-insert-subdir-validate): Use string-match-p.
5461         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5462         (dired-add-entry): Use string-match-p, looking-at-p.
5463         (dired-insert-subdir-newpos): Remove unused local variable.
5465         * filenotify.el (file-notify-callback): Remove unused local variable.
5467         * filesets.el (filesets-error): Mark unused argument.
5468         (filesets-which-command-p, filesets-filter-dir-names)
5469         (filesets-directory-files, filesets-get-external-viewer)
5470         (filesets-ingroup-get-data): Use string-match-p.
5472         * find-file.el (ff-other-file-name, ff-other-file-name)
5473         (ff-find-the-other-file, ff-cc-hh-converter):
5474         Remove unused local variables.
5475         (ff-get-file-name): Use string-match-p.
5476         (ff-all-dirs-under): Use ignore-errors.
5478         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5479         (follow-select-if-visible): Remove unused local variable.
5481         * forms.el (read-file-filter): Move declaration.
5482         (forms--make-format, forms--make-parser, forms-insert-record):
5483         Quote function with #'.
5484         (forms--update): Use string-match-p.  Quote function with #'.
5486         * help-mode.el (help-dir-local-var-def): Mark unused argument.
5487         (help-make-xrefs): Use looking-at-p.
5488         (help-xref-on-pp): Use looking-at-p, ignore-errors.
5490         * ibuffer.el (ibuffer-ext-visible-p): Declare.
5491         (ibuffer-confirm-operation-on): Use string-match-p.
5493         * msb.el (msb-item-handler, msb-dired-item-handler):
5494         Mark unused arguments.
5496         * ses.el (ses-decode-cell-symbol)
5497         (ses-kill-override): Remove unused local variable.
5498         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5499         (ses-load): Use ignore-errors, looking-at-p.
5500         (ses-jump-safe): Use ignore-errors.
5501         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5503         * tabify.el (untabify, tabify): Mark unused arguments.
5505         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5506         Mark unused argument.
5507         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5508         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5510         * emacs-lisp/timer.el (timer--time): Define setter with
5511         gv-define-setter to avoid deprecation warning.
5513         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5514         (*record-cmpl-statistics-p*): Remove (was commented out).
5515         (cmpl-statistics-block): Remove (body was commented out).
5516         All callers changed.
5517         (add-completions-from-buffer, load-completions-from-file):
5518         Remove unused variables.
5520 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5522         * filecache.el (file-cache-delete-file-list):
5523         Print message only when told so.
5524         (file-cache-files-matching): Use #' in mapconcat argument.
5526         * ffap.el (ffap-url-at-point): Fix reference to variable
5527         thing-at-point-default-mail-uri-scheme.
5529 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5531         * subr.el (define-error): New function.
5532         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5533         error-file-not-found and define with define-error.
5534         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5535         and define with define-error.
5536         * userlock.el (file-locked, file-supersession):
5537         * simple.el (mark-inactive):
5538         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5539         * progmodes/ada-mode.el (ada-mode-errors):
5540         * play/life.el (life-extinct):
5541         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5542         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5543         * nxml/rng-util.el (rng-error):
5544         * nxml/rng-uri.el (rng-uri-error):
5545         * nxml/rng-match.el (rng-compile-error):
5546         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5547         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5548         * nxml/nxml-rap.el (nxml-scan-error):
5549         * nxml/nxml-outln.el (nxml-outline-error):
5550         * net/soap-client.el (soap-error):
5551         * net/gnutls.el (gnutls-error):
5552         * net/ange-ftp.el (ftp-error):
5553         * mpc.el (mpc-proc-error):
5554         * json.el (json-error, json-readtable-error, json-unknown-keyword)
5555         (json-number-format, json-string-escape, json-string-format)
5556         (json-key-format, json-object-format):
5557         * jka-compr.el (compression-error):
5558         * international/quail.el (quail-error):
5559         * international/kkc.el (kkc-error):
5560         * emacs-lisp/ert.el (ert-test-failed):
5561         * calc/calc.el (calc-error, inexact-result, math-overflow)
5562         (math-underflow):
5563         * bookmark.el (bookmark-error-no-filename):
5564         * epg.el (epg-error): Define with define-error.
5566         * time.el (display-time-event-handler)
5567         (display-time-next-load-average): Don't call sit-for since it seems
5568         unnecessary (bug#15045).
5570         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5571         Use #' instead of ' to quote functions.
5572         (checkdoc-output-mode): Use setq-local.
5573         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5574         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5575         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5576         (checkdoc-ispell, checkdoc-ispell-current-buffer)
5577         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5578         (checkdoc-ispell-message-text, checkdoc-ispell-start)
5579         (checkdoc-ispell-continue, checkdoc-ispell-comments)
5580         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5582         * ido.el (ido-completion-help): Fix up compiler warning.
5584 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5586         * frameset.el (frameset-p): Add autoload cookie.
5587         (frameset--jump-to-register): New function, based on code moved from
5588         register.el.
5589         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
5591         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5592         (frameset-restore, frameset-save, frameset-session-filter-alist):
5593         Remove declarations.
5594         (register-alist): Doc fix.
5595         (frameset-to-register): Move to frameset.el.
5596         (jump-to-register, describe-register-1): Remove frameset-specific code.
5598 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5600         * allout-widgets.el (allout-widgets-pre-command-business)
5601         (allout-widgets-post-command-business)
5602         (allout-widgets-after-change-handler)
5603         (allout-decorate-item-and-context, allout-set-boundary-marker)
5604         (allout-body-modification-handler)
5605         (allout-graphics-modification-handler): Mark ignored arguments.
5606         (allout-widgets-post-command-business)
5607         (allout-widgets-exposure-change-processor)
5608         (allout-widgets-exposure-undo-processor)
5609         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5610         (allout-parse-item-at-point, allout-decorate-item-guides)
5611         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5612         * allout.el (epa-passphrase-callback-function): Declare.
5613         (allout-overlay-insert-in-front-handler)
5614         (allout-overlay-interior-modification-handler)
5615         (allout-isearch-end-handler, allout-chart-siblings)
5616         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5617         (allout-yank-processing, allout-process-exposed)
5618         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5619         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5620         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5621         (lisp-indent-defform): Mark ignored arguments.
5622         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
5623         (calculate-lisp-indent): Remove unused variables.
5624         * international/characters.el (indian-2-column, arabic-2-column)
5625         (tibetan): Mark ignored arguments.
5626         (use-cjk-char-width-table): Mark ignored arguments.
5627         Remove unused variables.
5628         * international/fontset.el (build-default-fontset-data)
5629         (x-compose-font-name, create-fontset-from-fontset-spec):
5630         Mark ignored arguments.
5631         (fontset-plain-name): Remove unused variables.
5632         * international/mule.el (charset-id, charset-bytes, generic-char-p)
5633         (keyboard-coding-system): Mark ignored arguments.
5634         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
5635         * help.el (resize-temp-buffer-window):
5636         * window.el (display-buffer-in-major-side-window)
5637         (display-buffer-in-side-window, display-buffer-in-previous-window):
5638         Remove unused variables.
5639         * isearch.el (isearch-forward-symbol):
5640         * version.el (emacs-bzr-version-bzr):
5641         * international/mule-cmds.el (current-language-environment):
5642         * term/common-win.el (x-handle-iconic, x-handle-geometry)
5643         (x-handle-display):
5644         * term/pc-win.el (x-list-fonts, x-display-planes)
5645         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5646         (x-server-version, x-display-screens, x-display-mm-height)
5647         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5648         (x-selection-owner-p, x-own-selection-internal)
5649         (x-disown-selection-internal, x-get-selection-internal)
5650         (msdos-initialize-window-system):
5651         * term/tty-colors.el (tty-color-alist, tty-color-clear):
5652         * term/x-win.el (x-handle-no-bitmap-icon):
5653         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5654         (vc-default-find-file-hook, vc-default-extra-menu):
5655         Mark ignored arguments.
5657 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5659         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5660         break-condition in the context of the debugged code (bug#12685).
5662 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
5664         * comint.el:
5665         Do not use an overlay to highlight the last prompt.  (Bug#14744)
5666         (comint-mode): Make comint-last-prompt buffer local.
5667         (comint-last-prompt): New variable.
5668         (comint-last-prompt-overlay): Remove.  Superseded by
5669         comint-last-prompt.
5670         (comint-snapshot-last-prompt, comint-output-filter):
5671         Use comint-last-prompt.
5673 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5675         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
5676         (frameset-save): Check validity of the resulting frameset.
5678 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
5680         * ido.el (ido-record-command): Add doc string.
5682 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5684         * frameset.el (frameset): Do not disable creation of the default
5685         frameset-p predicate.  Doc fix.
5686         (frameset-valid-p): New function, copied from the old predicate-p.
5687         Add additional checks.
5688         (frameset-restore): Check with frameset-valid-p.
5689         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5690         (frameset-name, frameset-description, frameset-properties)
5691         (frameset-states): Add docstring.
5692         (frameset-session-filter-alist, frameset-persistent-filter-alist)
5693         (frameset-filter-alist): Doc fixes.
5695 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5697         * frameset.el (frameset-p, frameset-prop): Doc fixes.
5699 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5701         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5702         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5703         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5704         (byte-compile-normal-call): Remove obsolescence check.
5706 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5708         * frameset.el (frameset-restore): Doc fix.
5710         * register.el (frameset-frame-id, frameset-frame-with-id)
5711         (frameset-p, frameset-restore, frameset-save): Declare.
5712         (register-alist): Document framesets.
5713         (frameset-session-filter-alist): Declare.
5714         (frameset-to-register): New function.
5715         (jump-to-register): Implement jumping to framesets.  Doc fix.
5716         (describe-register-1): Describe framesets.
5718         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5720 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
5722         * desktop.el (desktop-save-frameset): Use new frameset-save args.
5723         Use lexical-binding.
5725         * frameset.el (frameset): Use type vector, not list (incompatible
5726         change).  Do not declare a new constructor, use the default one.
5727         Upgrade suggested properties `app', `name' and `desc' to slots `app',
5728         `name' and `description', respectively, and add read-only slot
5729         `timestamp'.  Doc fixes.
5730         (frameset-copy, frameset-persistent-filter-alist)
5731         (frameset-filter-alist, frameset-switch-to-gui-p)
5732         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5733         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5734         (frameset-filter-iconified, frameset-keep-original-display-p):
5735         Doc fixes.
5736         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5737         Rename from frameset-filter-(save|restore)-param.  All callers changed.
5738         Doc fix.
5739         (frameset-p): Adapt to change to vector and be more thorough.
5740         Change arg name to OBJECT.  Doc fix.
5741         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
5742         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5743         All callers changed.
5744         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5745         All callers changed.
5746         (frameset--record-minibuffer-relationships): Rename from
5747         frameset--process-minibuffer-frames.  All callers changed.
5748         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5749         Use new default constructor (again).  Doc fix.
5750         (frameset--find-frame-if): Rename from `frameset--find-frame.
5751         All callers changed.
5752         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5753         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5754         Doc fix.
5755         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5756         PARAMETERS and WINDOW-STATE, respectively.
5757         (frameset-restore): Add new keyword argument PREDICATE.
5758         Reset frameset--target-display to nil.  Doc fix.
5760 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5762         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5763         (bat-mode): Use it.
5764         (bat-mode-syntax-table): Mark \n as end-of-comment.
5765         (bat-font-lock-keywords): Remove comment rule.
5767         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
5768         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
5770         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5771         (byte-compile-callargs-warn): Use `push'.
5772         (byte-compile-arglist-warn): Ignore higher-order "calls".
5773         (byte-compile-file-form-autoload): Use `pcase'.
5774         (byte-compile-function-form): If quoting a symbol, check that it exists.
5776 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
5778         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5779         and add a few popular commands found in batch files.
5780         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5781         (dos-mode): Doc fixes.
5783 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5785         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5786         (dos-mode): Use setq-local.  Add space after "rem".
5787         (dos-mode-syntax-table): Don't use "w" for symbol chars.
5788         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5790 2013-08-07  Arni Magnusson  <arnima@hafro.is>
5792         * progmodes/dos.el: New file.
5793         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5794         dos-mode.
5796 2013-08-06  Glenn Morris  <rgm@gnu.org>
5798         * calendar/calendar.el: Add new faces, and day-header-array.
5799         (calendar-weekday-header, calendar-weekend-header)
5800         (calendar-month-header): New faces.
5801         (calendar-day-header-construct): New function.
5802         (calendar-day-header-width): Also :set calendar-day-header-array.
5803         (calendar-american-month-header, calendar-european-month-header)
5804         (calendar-iso-month-header): Use calendar- faces.
5805         (calendar-generate-month):
5806         Use calendar-day-header-array for day headers; apply faces to them.
5807         (calendar-mode): Check calendar-font-lock-keywords non-nil.
5808         (calendar-abbrev-construct): Add optional maxlen argument.
5809         (calendar-day-name-array): Doc fix.
5810         (calendar-day-name-array, calendar-abbrev-length)
5811         (calendar-day-abbrev-array):
5812         Also :set calendar-day-header-array, and maybe redraw.
5813         (calendar-day-header-array): New option.  (Bug#15007)
5814         (calendar-font-lock-keywords): Set to nil and make obsolete.
5815         (calendar-day-name): Add option to use header array.
5817 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5819         * net/shr.el (shr-render-td): Remove debugging.
5820         (shr-render-td): Make width computation consistent by defaulting
5821         all zero-width columns to 10 characters.  This may not be optimal,
5822         but it's at least consistent.
5823         (shr-make-table-1): Redo last change to fix the real problem in
5824         colspan handling.
5826 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5828         * files.el (cache-long-line-scans):
5829         Make obsolete alias to `cache-long-scans'.
5831 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5833         * frameset.el (frameset, frameset-filter-alist)
5834         (frameset-filter-params, frameset-save, frameset--reuse-frame)
5835         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5836         (frameset-compute-pos): Rename from frameset--compute-pos,
5837         and add docstring.
5838         (frameset-move-onscreen): Use frameset-compute-pos.
5839         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5841         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5842         Fix typos in docstrings.
5844 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5846         * frame.el (get-other-frame): Tiny cleanup.
5848 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5850         * vc/vc.el (vc-default-ignore-completion-table):
5851         Silence byte-compiler warning.
5853         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5854         slot , which can indeed be nil.
5855         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5856         Move entry for `left' from persistent to live filter alist.
5857         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5858         Doc fixes.
5859         (frameset-filter-params): When restoring a frame, copy items added to
5860         `filtered', to avoid unwittingly modifying the original parameters.
5861         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
5862         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5864         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5865         to use looking-at-p instead of looking-at.  (Bug#15028)
5867 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5869         Revert introduction of isearch-filter-predicates (bug#14714).
5870         Rely on add-function instead.
5871         * isearch.el (isearch-filter-predicates): Rename it back to
5872         isearch-filter-predicate.
5873         (isearch-message-prefix): Use advice-function-mapc and advice
5874         properties to get the isearch-message-prefix.
5875         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5876         instead of run-hook-with-args-until-failure.
5877         (isearch-filter-visible): Not obsolete any more.
5878         * loadup.el: Preload nadvice.
5879         * replace.el (perform-replace): Revert to funcall
5880         instead of run-hook-with-args-until-failure.
5881         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5882         * dired-aux.el (dired-isearch-filenames-mode): Rename from
5883         dired-isearch-filenames-toggle; make it into a proper minor mode.
5884         Use add/remove-function.
5885         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5886         Call the minor-mode rather than add/remove-hook.
5887         (dired-isearch-filter-filenames):
5888         Remove isearch-message-prefix property.
5889         * info.el (Info--search-loop): New function, extracted from Info-search.
5890         Funcall isearch-filter-predicate instead of
5891         run-hook-with-args-until-failure isearch-filter-predicates.
5892         (Info-search): Use it.
5893         (Info-mode): Use isearch-filter-predicate instead of
5894         isearch-filter-predicates.
5896 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5898         Do not call to `selected-window' where it is assumed by default.
5899         Affected functions are `window-minibuffer-p', `window-dedicated-p',
5900         `window-hscroll', `window-width', `window-height', `window-buffer',
5901         `window-frame', `window-start', `window-point', `next-window'
5902         and `window-display-table'.
5903         * abbrev.el (abbrev--default-expand):
5904         * bs.el (bs--show-with-configuration):
5905         * buff-menu.el (Buffer-menu-mouse-select):
5906         * calc/calc.el (calc):
5907         * calendar/calendar.el (calendar-generate-window):
5908         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5909         (diary-make-entry):
5910         * comint.el (send-invisible, comint-dynamic-complete-filename)
5911         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5912         * completion.el (complete):
5913         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5914         * disp-table.el (describe-current-display-table):
5915         * doc-view.el (doc-view-insert-image):
5916         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5917         * ehelp.el (with-electric-help):
5918         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5919         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5920         * emacs-lisp/helper.el (Helper-help-scroller):
5921         * emulation/cua-base.el (cua--post-command-handler-1):
5922         * eshell/esh-mode.el (eshell-output-filter):
5923         * ffap.el (ffap-gnus-wrapper):
5924         * help-macro.el (make-help-screen):
5925         * hilit-chg.el (highlight-compare-buffers):
5926         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5927         * hl-line.el (global-hl-line-highlight):
5928         * icomplete.el (icomplete-simple-completing-p):
5929         * isearch.el (isearch-done):
5930         * jit-lock.el (jit-lock-stealth-fontify):
5931         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5932         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5933         * mpc.el (mpc-tagbrowser, mpc):
5934         * net/rcirc.el (rcirc-any-buffer):
5935         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5936         * play/landmark.el (landmark-max-width, landmark-max-height):
5937         * play/zone.el (zone):
5938         * progmodes/compile.el (compilation-goto-locus):
5939         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5940         * progmodes/etags.el (find-tag-other-window):
5941         * progmodes/fortran.el (fortran-column-ruler):
5942         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5943         * progmodes/verilog-mode.el (verilog-point-text):
5944         * reposition.el (reposition-window):
5945         * rot13.el (toggle-rot13-mode):
5946         * server.el (server-switch-buffer):
5947         * shell.el (shell-dynamic-complete-command)
5948         (shell-dynamic-complete-environment-variable):
5949         * simple.el (insert-buffer, set-selective-display)
5950         (delete-completion-window):
5951         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5952         (speedbar-recenter):
5953         * startup.el (fancy-splash-head):
5954         * textmodes/ispell.el (ispell-command-loop):
5955         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5956         * tutorial.el (help-with-tutorial):
5957         * vc/add-log.el (add-change-log-entry):
5958         * vc/compare-w.el (compare-windows):
5959         * vc/ediff-help.el (ediff-indent-help-message):
5960         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5961         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5962         (ediff-setup-control-frame):
5963         * vc/emerge.el (emerge-position-region):
5964         * vc/pcvs-util.el (cvs-bury-buffer):
5965         * window.el (walk-windows, mouse-autoselect-window-select):
5966         * winner.el (winner-set-conf, winner-undo): Related users changed.
5968 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5970         * frameset.el (frameset--set-id): Doc fix.
5971         (frameset-frame-id, frameset-frame-id-equal-p)
5972         (frameset-locate-frame-id): New functions.
5973         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5974         (frameset-restore): Use them.
5976 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5978         Do not call to `selected-frame' where it is assumed by default.
5979         Affected functions are `raise-frame', `redraw-frame',
5980         `frame-first-window', `frame-terminal' and `delete-frame'.
5981         * calendar/appt.el (appt-disp-window):
5982         * epg.el (epg-wait-for-completion):
5983         * follow.el (follow-delete-other-windows-and-split)
5984         (follow-avoid-tail-recenter):
5985         * international/mule.el (set-terminal-coding-system):
5986         * mail/rmail.el (rmail-mail-return):
5987         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5988         * progmodes/f90.el (f90-add-imenu-menu):
5989         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5990         * server.el (server-switch-buffer):
5991         * simple.el (delete-completion-window):
5992         * talk.el (talk):
5993         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5994         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5995         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5996         * vc/ediff.el (ediff-documentation): Related users changed.
5997         * frame.el (selected-terminal): Remove the leftover.
5999 2013-08-05  Glenn Morris  <rgm@gnu.org>
6001         * calendar/calendar.el (calendar-generate-month):
6002         Fix for calendar-column-width != 1 + calendar-day-digit-width.
6003         (calendar-generate-month, calendar-font-lock-keywords):
6004         Fix for calendar-day-header-width > length of any day name.
6006 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6008         * desktop.el (desktop-clear): Use new name of sort predicate.
6010         * frameset.el (frameset): Add docstring.  Move :version property to its
6011         own `version' slot.
6012         (frameset-copy): Rename from copy-frameset.
6013         (frameset-p): Check more thoroughly.
6014         (frameset-prop): Do not check for :version, which is no longer a prop.
6015         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6016         Use new :never value instead of t.
6017         (frameset-filter-alist): Expand and clarify docstring.
6018         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6019         (frameset-filter-minibuffer, frameset-filter-save-param)
6020         (frameset-filter-restore-param, frameset-filter-iconified):
6021         Add pointer to docstring of frameset-filter-alist.
6022         (frameset-filter-params): Rename filter values to be more meaningful:
6023         :never instead of t, and reverse the meanings of :save and :restore.
6024         (frameset--process-minibuffer-frames): Clarify error message.
6025         (frameset-save): Avoid unnecessary and confusing call to framep.
6026         Use new BOA constructor for framesets.
6027         (frameset--reuse-list): Doc fix.
6028         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
6029         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6030         (frameset-minibufferless-first-p): Doc fix.
6031         Rename from frameset-sort-frames-for-deletion.
6032         (frameset-restore): Doc fixes.  Use new function names.
6033         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6035 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6037         * desktop.el (desktop-restore-forces-onscreen)
6038         (desktop-restore-reuses-frames): Document :keyword constant values.
6039         (desktop-filter-parameters-alist): Remove, now identical to
6040         frameset-filter-alist.
6041         (desktop--filter-tty*): Remove, moved to frameset.el.
6042         (desktop-save-frameset, desktop-restore-frameset):
6043         Do not pass :filters argument.
6045         * frameset.el (frameset-live-filter-alist)
6046         (frameset-persistent-filter-alist): New variables.
6047         (frameset-filter-alist): Use them.  Add autoload cookie.
6048         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6049         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6050         `frameset--id' (it's supposed to be internal to frameset.el).
6051         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
6052         (frameset--initial-params): New function.
6053         (frameset--get-frame): Use it.  Doc fix.
6054         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6055         Accept :all, not 'all.
6056         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6057         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
6058         with fbound symbols.  Fix frame id matching, and remove matching ids if
6059         the frame being restored is deleted.  Obey :delete.
6061 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6063         * subr.el (macrop): New function.
6064         (text-clone--maintaining): New var.
6065         (text-clone--maintain): Rename from text-clone-maintain.  Use it
6066         instead of inhibit-modification-hooks.
6068         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6069         a proxy, so as handle autoloads and redefinitions of the target.
6070         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6072         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6073         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
6074         (pcase--mutually-exclusive-p): New function.
6075         (pcase--split-consp): Use it.
6076         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
6077         mutually exclusive with the current predicate.
6079         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6080         (edebug-macrop): Remove.  Use `macrop' instead.
6081         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
6082         (ad-macro-p):
6083         * eshell/esh-cmd.el (eshell-macrop):
6084         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
6086 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6088         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6089         (advice-mapc): New function, using it.
6090         (advice-function-member-p): New function.
6091         (advice--normalize): Store the cdr in advice--saved-rewrite since
6092         that's the part that will be changed.
6093         (advice--symbol-function): New function.
6094         (advice-remove): Handle removal before the function is defined.
6095         Adjust to new advice--saved-rewrite.
6096         (advice-member-p): Use advice-function-member-p and
6097         advice--symbol-function.
6099 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6101         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6102         (frameset-filter-minibuffer): Doc fix.
6103         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
6104         (frameset--set-id, frameset--process-minibuffer-frames)
6105         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6106         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6108         * desktop.el (desktop-clear): Only delete frames when called
6109         interactively and desktop-restore-frames is non-nil.  Doc fix.
6110         (desktop-read): Set desktop-saved-frameset to nil.
6112 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
6114         * vc/vc.el (vc-ignore): Rewrite.
6115         (vc-default-ignore-completion-table):
6116         (vc--read-lines):
6117         (vc--add-line, vc--remove-regexp): New functions.
6119         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6120         (vc-svn-ignore-completion-table): New function.
6122         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6123         (vc-hg-ignore-completion-table):
6124         (vc-hg-find-ignore-file): New functions.
6126         * vc/vc-git.el (vc-git-ignore): Rewrite.
6127         (vc-git-ignore-completion-table):
6128         (vc-git-find-ignore-file): New functions.
6130         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6132         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6133         (vc-bzr-ignore-completion-table):
6134         (vc-bzr-find-ignore-file): New functions.
6136 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
6138         * frameset.el (frameset-prop): New function and setter.
6139         (frameset-save): Do not modify frame list passed by the caller.
6141 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6143         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6145 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6147         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6148         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6150         * custom.el (custom-initialize-default, custom-initialize-set)
6151         (custom-initialize-reset, custom-initialize-changed): Affect the
6152         toplevel-default-value (bug#6275, bug#14586).
6153         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6154         for bug#6275.
6156 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6158         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6159         Add cl-def* expressions.
6161         * frameset.el (frameset-filter-params): Fix order of arguments.
6163 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6165         Move code related to saving frames to frameset.el.
6166         * desktop.el: Require frameset.
6167         (desktop-restore-frames): Doc fix.
6168         (desktop-restore-reuses-frames): Rename from
6169         desktop-restoring-reuses-frames.
6170         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6171         (desktop-clear): Clear frames too.
6172         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6173         (desktop--filter-tty*, desktop-save, desktop-read):
6174         Use frameset functions.
6175         (desktop-before-saving-frames-functions, desktop--filter-*-color)
6176         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6177         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6178         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6179         (desktop--process-minibuffer-frames, desktop-save-frames)
6180         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6181         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6182         (desktop--sort-states, desktop-restoring-frames-p)
6183         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
6184         (desktop-restoring-frameset-p, desktop-restore-frameset)
6185         (desktop--check-dont-save, desktop-save-frameset): New functions.
6186         (desktop--app-id): New constant.
6187         (desktop-first-buffer, desktop-buffer-ok-count)
6188         (desktop-buffer-fail-count): Move before first use.
6189         * frameset.el: New file.
6191 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6193         * files.el: Use lexical-binding.
6194         (dir-locals-read-from-file): Remove unused `err' variable.
6195         (hack-dir-local-variables--warned-coding): New var.
6196         (hack-dir-local-variables): Use it to avoid repeated warnings.
6197         (make-backup-file-name--default-function): New function.
6198         (make-backup-file-name-function): Use it as default.
6199         (buffer-stale--default-function): New function.
6200         (buffer-stale-function): Use it as default.
6201         (revert-buffer-insert-file-contents--default-function): New function.
6202         (revert-buffer-insert-file-contents-function): Use it as default.
6203         (insert-directory): Avoid add-to-list.
6205         * autorevert.el (auto-revert-handler): Simplify.
6206         Use buffer-stale--default-function.
6208 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
6210         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6212         * whitespace.el (whitespace-ensure-local-variables): New function.
6213         (whitespace-cleanup-region): Call it.
6214         (whitespace-turn-on): Call it.
6216 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
6218         Complete file name handlers.
6220         * net/tramp.el (tramp-handle-set-visited-file-modtime)
6221         (tramp-handle-verify-visited-file-modtime)
6222         (tramp-handle-file-notify-rm-watch): New functions.
6223         (tramp-call-process): Do not bind `default-directory'.
6225         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6226         Order alphabetically.
6227         [access-file, add-name-to-file, dired-call-process]:
6228         [dired-compress-file, file-acl, file-notify-rm-watch]:
6229         [file-ownership-preserved-p, file-selinux-context]:
6230         [make-directory-internal, make-symbolic-link, set-file-acl]:
6231         [set-file-selinux-context, set-visited-file-modtime]:
6232         [verify-visited-file-modtime]: Add handler.
6233         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6235         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6236         [file-notify-add-watch, file-notify-rm-watch]:
6237         [set-file-times, set-visited-file-modtime]:
6238         [verify-visited-file-modtime]: Add handler.
6239         (with-tramp-gvfs-error-message)
6240         (tramp-gvfs-handle-set-visited-file-modtime)
6241         (tramp-gvfs-fuse-file-name): Remove.
6242         (tramp-gvfs-handle-file-notify-add-watch)
6243         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6244         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6246         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6247         Order alphabetically.
6248         [file-notify-rm-watch ]: Use default Tramp handler.
6249         [executable-find]: Remove private handler.
6250         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6251         `default-directory'.
6252         (tramp-sh-handle-executable-find)
6253         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6254         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6255         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6256         Do not use `format' in `tramp-message'.
6258         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6259         [file-notify-rm-watch, set-visited-file-modtime]:
6260         [verify-visited-file-modtime]: Add handler.
6261         (tramp-smb-call-winexe): Do not bind `default-directory'.
6263 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
6265         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6267 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
6269         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6270         use it.
6271         (log-view-diff-changeset): Same.
6272         (log-view-diff-common): Call backend command `previous-revision'
6273         to find out the previous revision, in both cases.  Swap the
6274         variables `to' and `fr', so that `fr' usually refers to the
6275         earlier revision (Bug#14989).
6277 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
6279         * ibuf-ext.el (ibuffer-filter-by-filename):
6280         Make it work with dired buffers too.
6282 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
6284         * emacs-lisp/re-builder.el (reb-color-display-p):
6285         * files.el (save-buffers-kill-terminal):
6286         * net/browse-url.el (browse-url):
6287         * server.el (server-save-buffers-kill-terminal):
6288         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6289         Prefer nil to selected-frame for the first arg of frame-parameter.
6291 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
6293         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6295 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
6297         * minibuffer.el (completion--twq-all): Try and preserve each
6298         completion's case choice (bug#14907).
6300 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6302         * net/network-stream.el (open-network-stream): Mention the new
6303         :nogreeting parameter.
6304         (network-stream-open-starttls): Use the :nogreeting parameter
6305         (bug#14938).
6307         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6309         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6310         more natural than popping.
6312         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6313         (shr-urlify): Highlight under mouse.
6315 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6317         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6319         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6321         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
6322         buffer for output.
6324         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
6325         point-min==1.  Fix search string.  Fix parentheses missing.
6327         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
6328         assume point-min==1.  Fix search string.  Fix parentheses missing.
6330         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6332         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
6333         buffer for output.
6335 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
6337         * frame.el (frame-notice-user-settings): Avoid inflooping when the
6338         initial frame is minibuffer-less.  (Bug#14841)
6340 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
6342         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6343         option.
6345         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6346         (tramp-maybe-open-connection): Use it.
6348 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6350         * desktop.el (desktop--make-frame): Include `minibuffer' in the
6351         minimal set of parameters passed when creating a frame, because
6352         the minibuffer status of a frame cannot be changed later.
6354 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
6356         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6357         replace-regexp-in-string and inadvertent omissions in previous change.
6358         (todo-filter-items): Ensure only file names are comma-separated in
6359         name of filtered items buffer.
6361 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6363         * desktop.el: Optionally force offscreen frames back onscreen.
6364         (desktop-restoring-reuses-frames): New option.
6365         (desktop--compute-pos, desktop--move-onscreen): New functions.
6366         (desktop--make-frame): Use desktop--move-onscreen.
6368 2013-07-27  Alan Mackenzie  <acm@muc.de>
6370         Fontify a Java generic method as a function.
6371         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6372         value to t.
6374 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
6376         * calendar/todo-mode.el: Add command to rename todo files.
6377         (todo-rename-file): New command.
6378         (todo-key-bindings-t): Add key binding for it.  Change the
6379         bindings of todo-filter-regexp-items(-multifile) to use `x'
6380         instead of `r', since the latter is better suited to the new
6381         renaming command.
6383 2013-07-27  Alan Mackenzie  <acm@muc.de>
6385         Make Java try-with-resources statement parse properly.
6386         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6387         (c-block-stmt-1-2-key): New language constants/variables.
6388         * progmodes/cc-engine.el (c-beginning-of-statement-1)
6389         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6390         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6391         with c-block-stmt-1-2-key.
6393 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
6395         * desktop.el (desktop--make-frame): Apply most frame parameters after
6396         creating the frame to force (partially or totally) offscreen frames to
6397         be restored as such.
6399 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
6401         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6402         (Bug#14948)
6404 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6406         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6407         `base' arg of backtrace-frame.
6409 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
6411         * simple.el (list-processes): Doc fix.
6413 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6415         * desktop.el (desktop--select-frame):
6416         Try harder to reuse existing frames.
6418 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6420         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6421         (edebug-eval): Use backtrace-eval.
6422         (edebug--display, edebug--recursive-edit): Don't let-bind the
6423         edebug-outer-* vars that keep track of variables we locally let-bind.
6424         (edebug-outside-excursion): Don't restore outside values of locally
6425         let-bound vars.
6426         (edebug--display): Use user-error.
6427         (cl-lexical-debug, cl-debug-env): Remove.
6429 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6431         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6432         are restored to be sure that they are visible before deleting any
6433         remaining ones.
6435 2013-07-26  Matthias Meulien  <orontee@gmail.com>
6437         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6438         vc-print-root-log.  (Bug#14948)
6440 2013-07-26  Richard Stallman  <rms@gnu.org>
6442         Add aliases for encrypting mail.
6443         * epa.el (epa-mail-aliases): New option.
6444         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6445         Bind inhibit-read-only so read-only text doesn't ruin everything.
6446         (epa-mail-default-recipients): New subroutine broken out.
6447         Handle epa-mail-aliases.
6449 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6451         Add support for lexical variables to the debugger's `e' command.
6452         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6453         vars, except for debugger-outer-match-data.
6454         (debugger-frame-number): Move check for "on a function call" from
6455         callers into it.  Add `skip-base' argument.
6456         (debugger-frame, debugger-frame-clear): Simplify accordingly.
6457         (debugger-env-macro): Only reset the state stored in non-variables,
6458         i.e. current-buffer and match-data.
6459         (debugger-eval-expression): Rewrite using backtrace-eval.
6460         * subr.el (internal--called-interactively-p--get-frame): Remove.
6461         (called-interactively-p):
6462         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6463         `base' arg of backtrace-frame instead.
6465 2013-07-26  Glenn Morris  <rgm@gnu.org>
6467         * align.el (align-regexp): Doc fix.  (Bug#14857)
6468         (align-region): Explicit error if subexpression missing/does not match.
6470         * simple.el (global-visual-line-mode):
6471         Do not duplicate the mode lighter.  (Bug#14858)
6473 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
6475         * window.el (display-buffer): In display-buffer bind
6476         split-window-keep-point to t, bug#14829.
6478 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6480         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6481         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6482         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6483         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6484         Change accordingly.
6485         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6486         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6488 2013-07-25  Glenn Morris  <rgm@gnu.org>
6490         * dired-x.el (dired-mark-extension): Convert comment to doc string.
6492 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6494         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6495         parameter to modify-frame-parameters if the value has not changed;
6496         this is a workaround for bug#14949.
6497         (desktop--make-frame): On cl-delete-if call, check parameter name,
6498         not full parameter.
6500 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6502         * vc/vc.el (vc-ignore): New function.
6504         * vc/vc-svn.el (vc-svn-ignore): New function.
6506         * vc/vc-hg.el (vc-hg-ignore): New function.
6508         * vc/vc-git.el (vc-git-ignore): New function.
6510         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6511         (vc-dir-ignore): New function.
6513         * vc/vc-cvs.el (vc-cvs-ignore): New function.
6514         (cvs-append-to-ignore): Move here from pcvs.el.
6516         * vc/vc-bzr.el (vc-bzr-ignore): New function.
6518         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6520 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
6522         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6523         (desktop-restore-frames): Warn when deleting an existing frame failed.
6525 2013-07-24  Glenn Morris  <rgm@gnu.org>
6527         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
6529 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
6531         * filenotify.el (file-notify-supported-p):
6532         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6533         Remove functions.
6535         * autorevert.el (auto-revert-use-notify):
6536         (auto-revert-notify-add-watch):
6537         * net/tramp.el (tramp-file-name-for-operation):
6538         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6539         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6540         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6541         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6542         Remove `file-notify-supported-p' entry.
6544 2013-07-24  Glenn Morris  <rgm@gnu.org>
6546         * printing.el: Replace all uses of deleted ps-windows-system,
6547         ps-lp-system, ps-flatten-list with lpr- versions.
6549 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6551         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6552         checked with memq (bug#14935).
6554         * files.el (revert-buffer-function): Use a non-nil default.
6555         (revert-buffer-preserve-modes): Declare var to
6556         provide access to the `preserve-modes' argument.
6557         (revert-buffer): Let-bind it.
6558         (revert-buffer--default): New function, extracted from revert-buffer.
6560 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6562         * lpr.el: Signal print errors more prominently.
6563         (print-region-function): Don't default to nil.
6564         (lpr-print-region): New function, extracted from print-region-1.
6565         Check lpr's return value and signal an error in case of problem.
6566         (print-region-1): Use it.
6567         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
6568         versions instead.
6569         (ps-printer-name): Default to nil.
6570         (ps-printer-name-option): Default to lpr-printer-switch.
6571         (ps-print-region-function): Don't default to nil.
6572         (ps-postscript-code-directory): Simplify default.
6573         (ps-do-despool): Use lpr-print-region to properly check the outcome.
6574         (ps-string-list, ps-eval-switch, ps-flatten-list)
6575         (ps-flatten-list-1): Remove.
6576         (ps-multibyte-buffer): Avoid setq.
6577         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6578         (print-region-function, ps-print-region-function): Don't set them here.
6580 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
6582         * ido.el (ido-fractionp):
6583         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6584         (ido-max-file-prompt-width, ido-unc-hosts-cache)
6585         (ido-max-directory-size, ido-max-dir-file-cache)
6586         (ido-decorations): Doc fix.
6588         * ansi-color.el: Fix old URL.
6590 2013-07-23  Michael R. Mauger  <michael@mauger.com>
6592         * progmodes/sql.el: Version 3.3
6593         (sql-product-alist): Improve oracle :prompt-cont-regexp.
6594         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6595         (sql-interactive-remove-continuation-prompt): Rewrite, use
6596         functions above.  Fix continuation prompt and complete output line
6597         handling.
6598         (sql-redirect-one, sql-execute): Use `read-only-mode' on
6599         redirected output buffer.
6600         (sql-mode): Restore deleted code (Bug#13591).
6602 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6604         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6606 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
6608         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6610         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6611         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6612         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6614 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6616         * desktop.el (desktop-clear): Simplify; remove useless checks
6617         against invalid buffer names.
6618         (desktop-list*): Use cl-list*.
6619         (desktop-buffer-info, desktop-create-buffer): Simplify.
6621 2013-07-23  Leo Liu  <sdl.web@gmail.com>
6623         * bookmark.el (bookmark-make-record): Restore NAME as a default
6624         value.  (Bug#14933)
6626 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6628         * emacs-lisp/autoload.el (autoload--setup-output): New function,
6629         extracted from autoload--insert-text.
6630         (autoload--insert-text): Remove.
6631         (autoload--print-cookie-text): New function, extracted from
6632         autoload--insert-cookie-text.
6633         (autoload--insert-cookie-text): Remove.
6634         (autoload-generate-file-autoloads): Adjust calls accordingly.
6636         * winner.el (winner-hook-installed-p): Remove.
6637         (winner-mode): Simplify accordingly.
6639         * subr.el (add-to-list): Fix compiler-macro when `append' is
6640         not constant.  Don't use `cl-member' for the base case.
6642         * progmodes/subword.el: Fix boundary case (bug#13758).
6643         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
6644         own group.
6645         (subword-backward-regexp): Make it a constant.
6646         (subword-forward-internal): Don't treat a trailing capital as the
6647         beginning of a word.
6649 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
6651         * emacs-lisp/package.el (package-menu-mode): Don't modify the
6652         global value of tabulated-list-revert-hook (bug#14930).
6654 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
6656         * desktop.el: Require 'cl-lib.
6657         (desktop-before-saving-frames-functions): New hook.
6658         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6659         for frames being saved.  Rename from desktop--save-minibuffer-frames.
6660         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6661         Do not save frames with non-nil `desktop-dont-save' parameter.
6662         Filter out deleted frames.
6663         (desktop--find-frame): Use cl-find-if.
6664         (desktop--select-frame): Use cl-(first|second|third) to access values
6665         of desktop-mini.
6666         (desktop--make-frame): Use cl-delete-if.
6667         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6668         (desktop-restore-frames): Use cl-(first|second|third) to access values
6669         of desktop-mini.  Look for visible frame at the end, not while
6670         restoring frames.
6672         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6673         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6674         Use string-match-p, looking-at-p (bug#14927).
6676 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
6678         * desktop.el (desktop-saved-frame-states):
6679         Rename from desktop--saved-states; all users changed.
6680         (desktop-save-frames): Rename from desktop--save-frames.
6681         Do not save state to desktop file.
6682         (desktop-save): Save desktop-saved-frame-states to desktop file
6683         and reset to nil.
6684         (desktop-restoring-frames-p): New function.
6685         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
6686         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
6687         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
6689         * desktop.el: Correctly restore iconified frames.
6690         (desktop--filter-iconified-position): New function.
6691         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6693 2013-07-20  Glenn Morris  <rgm@gnu.org>
6695         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6696         Let `message' do the formatting.
6697         (def-gdb-preempt-display-buffer): Add explicit format.
6699         * image-dired.el (image-dired-track-original-file):
6700         Use with-current-buffer.
6701         (image-dired-track-thumbnail): Use with-current-buffer.
6702         Avoid changing point of wrong window.
6704         * image-dired.el (image-dired-track-original-file):
6705         Avoid changing point of wrong window.  (Bug#14909)
6707 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
6709         * progmodes/gdb-mi.el (gdb-done-or-error):
6710         Guard against "%" in gdb output.  (Bug#14127)
6712 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
6714         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6715         (Bug#14826)
6717         * international/mule.el (coding-system-iso-2022-flags): Fix last
6718         change.
6720 2013-07-20  Kenichi Handa  <handa@gnu.org>
6722         * international/mule.el (coding-system-iso-2022-flags):
6723         Add `8-bit-level-4'.  (Bug#8522)
6725 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6727         * net/shr.el (shr-mouse-browse-url): New command and keystroke
6728         (bug#14815).
6730         * net/eww.el (eww-process-text-input): Allow inputting when the
6731         point is at the start of the line, as the properties aren't
6732         front-sticky.
6734         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6735         degenerate widths.
6737 2013-07-19  Richard Stallman  <rms@gnu.org>
6739         * epa.el (epa-popup-info-window): Doc fix.
6741         * subr.el (split-string): New arg TRIM.
6743 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
6745         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6746         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6748 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
6750         * filenotify.el (file-notify--library): Rename from
6751         `file-notify-support'.  Do not autoload.  Adapt all uses.
6752         (file-notify-supported-p): New defun.
6754         * autorevert.el (auto-revert-use-notify):
6755         Use `file-notify-supported-p' instead of `file-notify-support'.
6756         Adapt docstring.
6757         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6759         * net/tramp.el (tramp-file-name-for-operation):
6760         Add `file-notify-supported-p'.
6762         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6763         New defun.
6764         (tramp-sh-file-name-handler-alist): Add it as handler for
6765         `file-notify-supported-p '.
6767         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6768         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6769         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6770         Add `ignore' as handler for `file-notify-*' functions.
6772 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
6774         * simple.el (line-move-partial, line-move): Don't start vscroll or
6775         scroll-up if the current line is not taller than the window.
6776         (Bug#14881)
6778 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
6780         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6781         highlight question marks in the method names as strings.
6782         (ruby-block-beg-keywords): Inline.
6783         (ruby-font-lock-keyword-beg-re): Extract from
6784         `ruby-font-lock-keywords'.
6786 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
6788         * frame.el (blink-cursor-blinks): New defcustom.
6789         (blink-cursor-blinks-done): New defvar.
6790         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6791         (blink-cursor-timer-function): Check if number of blinks has been
6792         done on X and NS.
6793         (blink-cursor-suspend, blink-cursor-check): New defuns.
6795 2013-07-15  Glenn Morris  <rgm@gnu.org>
6797         * edmacro.el (edmacro-format-keys): Fix previous change.
6799 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
6801         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6802         The hack didn't work outside English locales anyway.
6804 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
6806         * simple.el (define-alternatives): Rename from alternatives-define,
6807         per RMS' suggestion.
6809 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
6811         * desktop.el (desktop-restore-frames): Change default to t.
6812         (desktop-restore-in-current-display): Now offer more options.
6813         (desktop-restoring-reuses-frames): New customization option.
6814         (desktop--saved-states): Doc fix.
6815         (desktop-filter-parameters-alist): New variable, renamed and expanded
6816         from desktop--excluded-frame-parameters.
6817         (desktop--target-display): New variable.
6818         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6819         (desktop--filter-tty*, desktop--filter-*-color)
6820         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6821         (desktop--filter-save-desktop-parm)
6822         (desktop-restore-in-original-display-p): New functions.
6823         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6824         (desktop--save-minibuffer-frames): New function, inspired by a similar
6825         function from Martin Rudalics.
6826         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6827         (desktop--restore-in-this-display-p): Remove.
6828         (desktop--find-frame): Rename from desktop--find-frame-in-display
6829         and add predicate argument.
6830         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6831         (desktop--reuse-list): New variable.
6832         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6833         New functions.
6834         (desktop--restore-frames): Add support for "minibuffer-special" frames.
6836 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
6838         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6840 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
6842         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6843         Highlight conversion methods on Kernel.
6845 2013-07-13  Alan Mackenzie  <acm@muc.de>
6847         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6848         and comment it out.  This out-commenting enables certain C++
6849         declarations to be parsed correctly.
6851 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
6853         * international/mule.el (define-coding-system): Doc fix.
6855         * simple.el (default-font-height): Don't call font-info if the
6856         frame's default font didn't change since the frame was created.
6857         (Bug#14838)
6859 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6861         * ido.el (ido-read-file-name): Guard against non-symbol value.
6863 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6865         * progmodes/python.el (python-imenu--build-tree): Fix corner case
6866         in nested defuns.
6868 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6870         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6871         ido-set-matches call.  (Bug#6852)
6873 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
6875         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6876         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6877         Ruby 2.0.
6878         (ruby-font-lock-keywords): Distinguish calls to functions with
6879         module-like names from module references.  Highlight character
6880         literals.
6882 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
6884         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6885         (gdb-send): Handle continued commands.  (Bug#14847)
6887 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6889         * desktop.el (desktop--v2s): Remove unused local variable.
6890         (desktop-save-buffer): Make defvar-local; adjust docstring.
6891         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6892         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6894 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6896         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6898 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
6900         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6901         (Bug#14842)
6903 2013-07-12  Glenn Morris  <rgm@gnu.org>
6905         * doc-view.el: Require cl-lib at runtime too.
6906         (doc-view-remove-if): Remove.
6907         (doc-view-search-next-match, doc-view-search-previous-match):
6908         Use cl-remove-if.
6910         * edmacro.el: Require cl-lib at runtime too.
6911         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6912         (edmacro-mismatch, edmacro-subseq): Remove.
6914         * shadowfile.el: Require cl-lib.
6915         (shadow-remove-if): Remove.
6916         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6917         Use cl-remove-if.
6919         * wid-edit.el: Require cl-lib.
6920         (widget-choose): Use cl-remove-if.
6921         (widget-remove-if): Remove.
6923         * progmodes/ebrowse.el: Require cl-lib at runtime too.
6924         (ebrowse-delete-if-not): Remove.
6925         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6926         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6927         Use cl-delete-if-not.
6929 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6931         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6932         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6934 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6936         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6938 2013-07-11  Glenn Morris  <rgm@gnu.org>
6940         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6941         (edebug-gensym-index, edebug-gensym):
6942         Remove reimplementation of cl-gensym.
6943         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6945         * thumbs.el: Require cl-lib at run-time too.
6946         (thumbs-gensym-counter, thumbs-gensym):
6947         Remove reimplementation of cl-gensym.
6948         (thumbs-temp-file): Use cl-gensym.
6950         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6951         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6952         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6953         (ert--union, ert--gensym-counter, ert--gensym-counter)
6954         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6955         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6956         (ert-make-test-unbound, ert--expand-should-1)
6957         (ert--expand-should, ert--should-error-handle-error)
6958         (should-error, ert--explain-equal-rec)
6959         (ert--plist-difference-explanation, ert-select-tests)
6960         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6961         Use cl-lib functions rather than reimplementations.
6963 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
6965         * net/tramp.el (tramp-methods): Extend docstring.
6966         (tramp-connection-timeout): New defcustom.
6967         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6968         (with-tramp-progress-reporter): Simplify.
6969         (tramp-process-actions): Improve messages.
6971         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6972         * net/tramp-sh.el (tramp-maybe-open-connection):
6973         Use `tramp-connection-timeout'.
6974         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6975         (Bug#14808)
6977 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6979         * ido.el (ido-read-file-name): Conform to the requirements of
6980         read-file-name.  (Bug#11861)
6981         (ido-read-directory-name): Conform to the requirements of
6982         read-directory-name.
6984 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6986         * subr.el (delay-warning): New function.
6988 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6990         * simple.el (default-line-height): New function.
6991         (line-move-partial, line-move): Use it instead of computing the
6992         line height inline.
6993         (line-move-partial): Always compute ROWH.  If the last line is
6994         partially-visible, but its text is completely visible, allow
6995         cursor to enter such a partially-visible line.
6997 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6999         Improve error messages.  (Bug#14808)
7001         * net/tramp.el (tramp-current-connection): New defvar, moved from
7002         tramp-sh.el.
7003         (tramp-message-show-progress-reporter-message): Remove, not
7004         needed anymore.
7005         (tramp-error-with-buffer): Show message in minibuffer.
7006         Discard input before waiting.  Reset connection timestamp.
7007         (with-tramp-progress-reporter): Improve messages.
7008         (tramp-process-actions): Use progress reporter.  Delete process in
7009         case of error.  Improve messages.
7011         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7012         Call `tramp-error-with-buffer' with vector and buffer.
7013         (tramp-current-connection): Remove.
7014         (tramp-maybe-open-connection): The car of
7015         `tramp-current-connection' are the first 3 slots of the vector.
7017 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
7019         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7020         inside continued strings.
7022 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
7024         Timestamp fixes for undo (Bug#14824).
7025         * files.el (clear-visited-file-modtime): Move here from fileio.c.
7027 2013-07-10  Leo Liu  <sdl.web@gmail.com>
7029         * files.el (require-final-newline): Allow safe local value.
7030         (Bug#14834)
7032 2013-07-09  Leo Liu  <sdl.web@gmail.com>
7034         * ido.el (ido-read-directory-name): Handle fallback.
7035         (ido-read-file-name): Update DIR to ido-current-directory.
7036         (Bug#1516)
7037         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
7039 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
7041         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7042         "autoload".  Remove "warn lower camel case" section, previously
7043         commented out.  Highlight negation char.  Do not highlight the
7044         target in singleton method definitions.
7046 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7048         * faces.el (tty-setup-hook): Declare the hook.
7050         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7051         and detect when a guard/pred depends on local vars (bug#14773).
7052         (pcase--u1): Adjust caller.
7054 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
7056         * simple.el (line-move-partial, line-move): Account for
7057         line-spacing.
7058         (line-move-partial): Avoid setting vscroll when the last
7059         partially-visible line in window is of default height.
7061 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7063         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7064         been used a while.
7066 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
7068         * subr.el (read-quoted-char): Remove unused local variable `char'.
7070 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
7072         * ediff.el (ediff-version): Version update.
7073         (ediff-files-command, ediff3-files-command, ediff-merge-command)
7074         (ediff-merge-with-ancestor-command, ediff-directories-command)
7075         (ediff-directories3-command, ediff-merge-directories-command)
7076         (ediff-merge-directories-with-ancestor-command): New functions.
7077         All are command-line interfaces to ediff: to facilitate calling
7078         Emacs with the appropriate ediff functions invoked.
7080         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7081         (viper-save-kill-buffer): Check if buffer is modified.
7083         * viper.el (viper-version): Version update.
7084         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7086 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7088         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7089         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7090         (viper-intercept-ESC-key): Simplify.
7091         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7092         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7093         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7094         (viper-setup-ESC-to-escape): New functions.
7095         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7096         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
7098 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
7100         * simple.el (default-font-height, window-screen-lines):
7101         New functions.
7102         (line-move, line-move-partial): Use them instead of
7103         frame-char-height and window-text-height.  This makes scrolling
7104         text smoother when the buffer's default face uses a font that is
7105         different from the frame's default font.
7107 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
7109         * files.el (write-file): Do not display confirm dialog for NS,
7110         it does its own dialog, which can't be cancelled (Bug#14578).
7112 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
7114         * simple.el (line-move-partial): Adjust the row returned by
7115         posn-at-point for the current window-vscroll.  (Bug#14567)
7117 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
7119         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7120         (tramp-sh-file-inotifywait-process-filter): Handle file names with
7121         spaces.
7123 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
7125         * window.el (window-state-put-stale-windows): New variable.
7126         (window--state-put-2): Save list of windows without matching buffer.
7127         (window-state-put): Remove "bufferless" windows if possible.
7129 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7131         * simple.el (alternatives-define): Remove leftover :group keyword.
7132         Tweak docstring.
7134 2013-07-06  Leo Liu  <sdl.web@gmail.com>
7136         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7137         (ido-enable-virtual-buffers): New variable.
7138         (ido-buffer-internal, ido-toggle-virtual-buffers)
7139         (ido-make-buffer-list): Use it.
7140         (ido-exhibit): Support turning on and off virtual buffers
7141         automatically.
7143 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7145         * simple.el (alternatives-define): New macro.
7147 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7149         * subr.el (read-quoted-char): Use read-key.
7150         (sit-for): Let read-event decode tty input (bug#14782).
7152 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
7154         * calendar/todo-mode.el: Add handling of file deletion, both by
7155         mode command and externally.  Fix various related bugs.
7156         Clarify Commentary and improve some documentation strings and code.
7157         (todo-delete-file): New command.
7158         (todo-check-file): New function.
7159         (todo-show): Handle external deletion of the file we're trying to
7160         show (bug#14688).  Replace called-interactively-p by an optional
7161         prefix argument to avoid problematic interaction with catch form
7162         when byte compiled (bug#14702).
7163         (todo-quit): Handle external deletion of the archive's todo file.
7164         Make sure the buffer that was visiting the archive file is still
7165         live before trying to bury it.
7166         (todo-category-completions): Handle external deletion of any
7167         category completion files.
7168         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7169         of todo files, in case of external deletion.
7170         (todo-add-file): Replace unnecessary setq by let-binding.
7171         (todo-find-archive): Check whether there are any archives.
7172         Replace unnecessary setq by let-binding.
7173         (todo-archive-done-item): Use find-file-noselect to get the
7174         archive buffer whether or not the archive already exists.
7175         Remove superfluous code.  Use file size instead of buffer-file-name to
7176         check if the archive is new; if it is, update list of archives.
7177         (todo-default-todo-file): Allow nil to be a valid value for when
7178         there are no todo files.
7179         (todo-reevaluate-default-file-defcustom): Use corrected definition
7180         of todo-default-todo-file.
7181         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7182         (todo-delete-category, todo-show-categories-table)
7183         (todo-category-number): Clarify comment.
7184         (todo-filter-items): Clarify documentation string.
7185         (todo-show-current-file, todo-display-as-todo-file)
7186         (todo-reset-and-enable-done-separator): Tweak documentation string.
7187         (todo-done-separator): Make separator length window-width, since
7188         bug#2749 is now fixed.
7190 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
7192         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7193         Support both "gvfs-monitor-dir" and "inotifywait".
7194         (tramp-sh-file-inotifywait-process-filter): Rename from
7195         `tramp-sh-file-notify-process-filter'.
7196         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7197         (tramp-get-remote-gvfs-monitor-dir): New defuns.
7199 2013-07-05  Leo Liu  <sdl.web@gmail.com>
7201         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7203 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7205         * frame.el (display-pixel-height, display-pixel-width)
7206         (display-mm-height, display-mm-width): Mention behavior on
7207         multi-monitor setups in docstrings.
7208         (w32-display-monitor-attributes-list): Declare function.
7209         (display-monitor-attributes-list): Use it.
7211 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
7213         * filenotify.el: New package.
7215         * autorevert.el (top): Require filenotify.el.
7216         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
7217         instead.
7218         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7219         (auto-revert-notify-handler): Use `file-notify-*' functions.
7221         * subr.el (file-notify-handle-event): Move function to filenotify.el.
7223         * net/tramp.el (tramp-file-name-for-operation):
7224         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7226         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7227         for `file-notify-add-watch' and `file-notify-rm-watch'.
7228         (tramp-process-sentinel): Improve trace.
7229         (tramp-sh-handle-file-notify-add-watch)
7230         (tramp-sh-file-notify-process-filter)
7231         (tramp-sh-handle-file-notify-rm-watch)
7232         (tramp-get-remote-inotifywait): New defuns.
7234 2013-07-03  Juri Linkov  <juri@jurta.org>
7236         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7237         call of `occur-read-primary-args' to interactive spec.
7239         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7240         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
7242 2013-07-03  Matthias Meulien  <orontee@gmail.com>
7244         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7245         `Buffer-menu-multi-occur'.  Add it to the menu.
7246         (Buffer-menu-mode): Document it in docstring.
7247         (Buffer-menu-multi-occur): New command.  (Bug#14673)
7249 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7251         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7252         keywords and built-ins.
7254 2013-07-03  Glenn Morris  <rgm@gnu.org>
7256         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
7258         Make info-xref checks case-sensitive by default
7259         * info.el (Info-find-node, Info-find-in-tag-table)
7260         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7261         Add option for exact case matching of nodes.
7262         * info-xref.el (info-xref): New custom group.
7263         (info-xref-case-fold): New option.
7264         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7266 2013-07-03  Leo Liu  <sdl.web@gmail.com>
7268         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7270 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7272         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7273         middle of block statement initially, lower the depth.  Remove
7274         FIXME comment, not longer valid.  Remove middle of block statement
7275         detection, no need to do that anymore since we've been using
7276         `ruby-parse-region' here.
7278 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
7280         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7282 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
7284         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7286 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
7288         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7289         (desktop-restore-in-current-display): New customization option.
7290         (desktop--excluded-frame-parameters): Add `font'.
7291         (desktop--save-frames): Rename from desktop--save-windows.
7292         (desktop--restore-in-this-display-p): New function.
7293         (desktop--make-full-frame): Remove unwanted width/height from
7294         full(width|height) frames.
7295         (desktop--restore-frames): Rename from desktop--restore-windows.
7296         Obey desktop-restore-current-display.  Do not delete old frames or
7297         select a new frame unless we were able to restore at least one frame.
7299 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
7301         * files.el (find-file-noselect): Simplify conditional expression.
7303         * remember.el (remember-append-to-file):
7304         Don't mix `find-buffer-visiting' and `get-file-buffer'.
7306         Add `remember-notes' function to store random notes across Emacs
7307         restarts.
7308         * remember.el (remember-data-file): Add :set callback to affect
7309         notes buffer (if any).
7310         (remember-notes): New command.
7311         (remember-notes-buffer-name, bury-remember-notes-on-kill):
7312         New defcustoms for the `remember-notes' function.
7313         (remember-notes-save-and-bury-buffer): New command.
7314         (remember-notes-mode-map): New variable.
7315         (remember-mode): New minor mode.
7316         (remember-notes--kill-buffer-query): New function.
7317         * startup.el (initial-buffer-choice): Add notes to custom type.
7319 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
7321         * bindings.el (right-char, left-char): Don't call sit-for, this is
7322         no longer needed.  Use arithmetic comparison only for numerical
7323         arguments.
7325         * international/mule-cmds.el (select-safe-coding-system):
7326         Handle the case of FROM being a string correctly.  (Bug#14755)
7328 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7330         * net/shr.el (shr-make-table-1): Add a sanity check that allows
7331         progression on degenerate tables.
7332         (shr-rescale-image): ImageMagick animated images currently don't work.
7334 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
7336         Some fixes and improvements for desktop frame restoration.
7337         It is still experimental and disabled by default.
7338         * desktop.el (desktop--save-windows): Put the selected frame at
7339         the head of the list.
7340         (desktop--make-full-frame): New function.
7341         (desktop--restore-windows): Try to re-select the frame that was
7342         selected upon saving.  Do not abort if some frames fail to restore,
7343         just show an error message and continue.  Set up maximized frames
7344         so they have default non-maximized dimensions.
7346 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
7348         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7349         Don't start heredoc inside a string or comment.
7351 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
7353         * bindings.el (visual-order-cursor-movement): New defcustom.
7354         (right-char, left-char): Provide visual-order cursor motion by
7355         calling move-point-visually.  Update the doc strings.
7357 2013-06-28  Kenichi Handa  <handa@gnu.org>
7359         * international/mule.el (define-coding-system): New coding system
7360         properties :inhibit-null-byte-detection,
7361         :inhibit-iso-escape-detection, and :prefer-utf-8.
7362         (set-buffer-file-coding-system): If :charset-list property of
7363         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7364         appropriate for setting.
7366         * international/mule-cmds.el (select-safe-coding-system):
7367         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7368         multibyte characters, return utf-8 (or one of its siblings).
7370         * international/mule-conf.el (prefer-utf-8): New coding system.
7371         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7372         files.
7374 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
7376         * net/shr.el (shr-render-region): New function.
7378         * net/eww.el: Autoload `eww-browse-url'.
7380 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
7382         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7383         Adapt to `package-desc-version' being a list.
7384         Use `package--ac-desc-version' to retrieve version from a package
7385         archive element.
7387 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
7389         New experimental feature to save&restore window and frame setup.
7390         * desktop.el (desktop-save-windows): New defcustom.
7391         (desktop--saved-states): New var.
7392         (desktop--excluded-frame-parameters): New defconst.
7393         (desktop--filter-frame-parms, desktop--find-frame-in-display)
7394         (desktop--restore-windows, desktop--save-windows): New functions.
7395         (desktop-save): Call `desktop--save-windows'.
7396         (desktop-read): Call `desktop--restore-windows'.
7398 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7400         * net/shr.el (add-face-text-property): Remove compat definition.
7402 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7404         * info.el (Info-try-follow-nearest-node): Move search for footnote
7405         above search for node name to prevent missing a footnote (bug#14717).
7407 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7409         * obsolete/otodo-mode.el: Add obsolescence info to file header.
7411 2013-06-27  Leo Liu  <sdl.web@gmail.com>
7413         * net/eww.el (eww-read-bookmarks): Check file size.
7415 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7417         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7418         advice--pending if newdef is nil or an autoload (bug#13820).
7419         (advice-mapc): New function.
7421 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7423         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7424         probably.
7425         (eww-mode-map): Add a menu bar.
7426         (eww-add-bookmark): New command.
7427         (eww-bookmark-mode): New mode and commands.
7428         (eww-add-bookmark): Remove newlines from the title.
7429         (eww-bookmark-browse): Don't bug out if it's the only window.
7431 2013-06-26  Glenn Morris  <rgm@gnu.org>
7433         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7434         (hfy-size): Handle ttys.  (Bug#14668)
7436         * info-xref.el: Update for Texinfo 5 change in *note format.
7437         (info-xref-node-re, info-xref-note-re): New constants.
7438         (info-xref-check-buffer): Use info-xref-note-re.
7440 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7442         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7444         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7445         nil terminate the loop (bug#14718).
7447 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7449         * net/eww.el: Rework history traversal.  When going forward/back,
7450         put these actions into the history, too, so that they can be
7451         replayed.
7452         (eww-render): Move the history reset to the correct buffer.
7454 2013-06-25  Juri Linkov  <juri@jurta.org>
7456         * files-x.el (modify-dir-local-variable): Change the header comment
7457         in the file with directory local variables.  (Bug#14692)
7459         * files-x.el (read-file-local-variable-value): Add `default'.
7460         (Bug#14710)
7462 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7464         * net/eww.el (eww-make-unique-file-name): Create a unique file
7465         name before saving to entering `y' accidentally asynchronously.
7467 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
7469         * net/eww.el (eww-download): New command and keystroke.
7471 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7473         * net/eww.el (eww-copy-page-url): Change name of command.
7475         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7476         be more consistent with Info and dired.
7478         * net/eww.el (eww-mode-map): Ditto.
7480 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7482         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
7483         packages from archives.
7484         (package-archive-contents): Change format; include obsolete packages.
7485         (package-desc): Use `dir' to mark builtin packages.
7486         (package--from-builtin): Set the `dir' field to `builtin'.
7487         (generated-autoload-file, version-control): Declare.
7488         (package-compute-transaction): Change first arg and return value to be
7489         lists of package-descs.  Adjust to new package-archive-contents format.
7490         (package--add-to-archive-contents): Adjust to new
7491         package-archive-contents format.
7492         (package-download-transaction): Arg is now a list of package-descs.
7493         (package-install): If `pkg' is a package name, pass it as
7494         a requirement, so it is subject to the usual (e.g. disabled) checks.
7495         (describe-package): Accept package-desc as well.
7496         (describe-package-1): Describe a specific package-desc.  Add links to
7497         other package-descs for the same package name.
7498         (package-menu-describe-package): Pass the actual package-desc.
7499         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7500         works correctly.
7501         (package-desc-status): New function.
7502         (package-menu--refresh): New function, extracted
7503         from package-menu--generate.
7504         (package-menu--generate): Use it.
7505         (package-delete): Update package-alist.
7506         (package-menu-execute): Don't call package-initialize.
7508         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7509         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7510         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7511         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7512         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7513         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7515 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
7517         * window.el (window--state-get-1): Workaround for bug#14527.
7518         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7520 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7522         * net/eww.el (eww-back-url): Implement the history by stashing all
7523         the data into a list.
7524         (eww-forward-url): Allow going forward in the history, too.
7526 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7528         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7529         for values and use read--expression for expressions (bug#14710).
7530         (read-file-local-variable): Avoid setq.
7531         (read-file-local-variable-mode): Use minor-mode-list.
7533 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7535         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7536         for DOI URLs.
7538 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7540         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7541         Update imenu-support when dialect changes.
7543 2013-06-25  Leo Liu  <sdl.web@gmail.com>
7545         * ido.el (ido-read-internal): Allow forward slash on windows.
7547 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7549         * net/eww.el (eww): Start of strings is \\`, not ^.
7551 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7553         * net/shr.el (shr-browse-url): Fix interactive spec.
7555         * net/eww.el (eww): Add a trailing slash to domain names.
7557 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
7559         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7561 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7563         * net/shr.el (shr-browse-url): Use an external browser if given a
7564         prefix.
7566         * net/eww.el (eww-external-browser): Move to shr.
7568 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7570         * net/eww.el (eww): Work more correctly for file: URLs.
7571         (eww-detect-charset): Allow quoted charsets.
7572         (eww-yank-page-url): New command and keystroke.
7574 2013-06-24  Daiki Ueno  <ueno@gnu.org>
7576         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7577         file name of gpg executable.
7578         (epg-context-program): New function.
7579         (epg-context-home-directory): New function.
7580         (epg-context-set-program): New function.
7581         (epg-context-set-home-directory): New function.
7582         (epg--start): Use `epg-context-program' instead of
7583         'epg-gpg-program'.
7584         (epg--list-keys-1): Likewise.
7586 2013-06-24  Leo Liu  <sdl.web@gmail.com>
7588         * ido.el (ido-read-internal): Fix bug#14620.
7590 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7592         * faces.el (face-documentation): Simplify.
7593         (read-face-attribute, tty-find-type, x-resolve-font-name):
7594         Use `string-match-p'.
7595         (list-faces-display): Use `string-match-p'.  Simplify.
7596         (face-spec-recalc): Check face to avoid face alias loops.
7597         (read-color): Use `string-match-p' and non-capturing parenthesis.
7599 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7601         * net/shr.el (shr-rescale-image): Use the new
7602         :max-width/:max-height functionality.
7604 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
7606         * net/eww.el (eww-search-prefix): New variable.
7607         (eww): Use it.
7608         (eww-external-browser): New variable.
7609         (eww-mode-map): New keystroke.
7610         (eww-browse-with-external-browser): New command.
7612         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7614 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7616         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7617         Don't skip aligning the next header field when padding is 0;
7618         otherwise, field width is not respected unless the title is as
7619         wide as the field.
7621 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7623         * emacs-lisp/package.el (package-el-version): Remove.
7624         (package-process-define-package): Fix inf-loop.
7625         (package-install): Allow symbols as arguments again.
7627 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7629         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7630         add some more keyword-like methods.
7631         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7633 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
7635         * bs.el (bs-buffer-show-mark): Make defvar-local.
7636         (bs-mode): Use setq-local.
7638         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7639         (emacs-lock--try-unlocking): Make defvar-local.
7641 2013-06-22  Glenn Morris  <rgm@gnu.org>
7643         * play/cookie1.el (cookie-apropos): Minor simplification.
7645         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7647 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7649         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7650         `regexp-opt', it breaks the build during dumping.
7652 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
7654         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7655         Highlight keyword-like methods on Kernel and Module with
7656         font-lock-builtin-face.
7657         (auto-mode-alist): Consolidate different entries into one regexp
7658         and add more *file-s.
7660 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
7662         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7664         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7665         (diary-entry): Use it in the action of this button type instead of
7666         diary-goto-entry.
7668         * calendar/todo-mode.el: New version.
7669         (todo-add-category): Append new category to end of file and give
7670         it the highest number, instead of putting it at the beginning and
7671         giving it 0.  Incorporate noninteractive functionality.
7672         (todo-forward-category): Adapt to 1-based category numbering.
7673         Allow skipping over archived categories.
7674         (todo-backward-category): Derive from todo-forward-category.
7675         (todo-backward-item, todo-forward-item): Make noninteractive and
7676         delegate interactive part to new commands.  Make sensitive to done items.
7677         (todo-categories): Make value an alist of category names and
7678         vectors of item counts.
7679         (todo-category-beg): Make a defconst.
7680         (todo-category-number): Use 1 instead of 0 as initial value.
7681         (todo-category-select): Make sensitive to overlays, optional item
7682         highlighting and done items.
7683         (todo-delete-item): Make sensitive to overlays and marked and done items.
7684         (todo-edit-item): Make sensitive to overlays and editing of
7685         date/time header optional.  Add format checks.
7686         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
7687         no-op if point is not on an item.  Advertise using todo-edit-quit.
7688         (todo-edit-mode): Make sensitive to new format, font-locking, and
7689         multiple todo files.
7690         (todo-insert-item, todo-insert-item-here): Derive from
7691         todo-basic-insert-item and extend functionality.
7692         (todo-item-end, todo-item-start): Make sensitive to done items.
7693         (todo-item-string): Don't return text properties.  Restore point.
7694         (todo-jump-to-category): Make sensitive to multiple todo files and
7695         todo archives.  Use extended category completion.
7696         (todo-lower-item, todo-raise-item): Rename to *-priority and
7697         derive from todo-set-item-priority.
7698         (todo-mode): Derive from special-mode.  Make sensitive to new
7699         format, font-locking and multiple todo files.  Make read-only.
7700         (todo-mode-map): Don't suppress digit keys, so they can supply
7701         prefix arguments.  Add many new key bindings.
7702         (todo-prefix): Insert as an overlay instead of file text.
7703         Change semantics from diary date expression to purely visual mark.
7704         (todo-print): Rename to todo-print-buffer.  Make buffer display
7705         features printable.  Remove option to restrict number of items
7706         printed.  Add option to print to file.
7707         (todo-print-function): Rename to todo-print-buffer-function.
7708         (todo-quit): Extend to handle exiting new todo modes.
7709         (todo-remove-item): Make sensitive to overlays.
7710         (todo-save): Extend to buffers of filtered items.
7711         (todo-show): Make sensitive to done items, multiple todo files and
7712         new todo modes.  Offer to convert legacy todo file before creating
7713         first new todo file.
7714         (todo-show-priorities): Rename to todo-top-priorities.
7715         Change semantics of value 0.
7716         (todo-top-priorities): Rename to todo-filter-top-priorities,
7717         derive from todo-filter-items and extend functionality.
7718         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7719         and extend functionality to other types of filtered items.
7720         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7721         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7722         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7723         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7724         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7725         (todo-edit-mode-hook, todo-entry-prefix-function)
7726         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7727         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7728         (todo-initials, todo-insert-threshold, todo-item-string-start)
7729         (todo-line-string, todo-menu, todo-mode-hook)
7730         (todo-more-important-p, todo-previous-answer, todo-previous-line)
7731         (todo-print-priorities, todo-remove-separator)
7732         (todo-save-top-priorities-too, todo-string-count-lines)
7733         (todo-string-multiline-p, todo-time-string-format)
7734         (todo-tmp-buffer-name): Remove.
7735         (todo-add-file, todo-archive-done-item, todo-choose-archive)
7736         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7737         (todo-edit-category-diary-inclusion)
7738         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7739         (todo-edit-file, todo-edit-item-date-day)
7740         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7741         (todo-edit-item-date-month, todo-edit-item-date-to-today)
7742         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7743         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7744         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7745         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7746         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7747         (todo-filter-top-priorities-multifile, todo-find-archive)
7748         (todo-find-filtered-items-file, todo-go-to-source-item)
7749         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7750         (todo-jump-to-archive-category, todo-lower-category)
7751         (todo-mark-category, todo-marked-item-p, todo-merge-category)
7752         (todo-move-category, todo-move-item, todo-next-button)
7753         (todo-next-item, todo-padded-string, todo-powerset)
7754         (todo-previous-button, todo-previous-item)
7755         (todo-print-buffer-to-file, todo-raise-category)
7756         (todo-rename-category, todo-repair-categories-sexp, todo-search)
7757         (todo-set-category-number, todo-set-item-priority)
7758         (todo-set-top-priorities-in-category)
7759         (todo-set-top-priorities-in-file, todo-show-categories-table)
7760         (todo-sort-categories-alphabetically-or-numerically)
7761         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7762         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7763         (todo-toggle-item-header, todo-toggle-item-highlighting)
7764         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7765         (todo-toggle-view-done-items, todo-toggle-view-done-only)
7766         (todo-unarchive-items, todo-unmark-category): New commands.
7767         (todo-absolute-file-name, todo-add-to-buffer-list)
7768         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7769         (todo-basic-insert-item, todo-category-completions)
7770         (todo-category-number, todo-category-string-matcher-1)
7771         (todo-category-string-matcher-2, todo-check-filtered-items-file)
7772         (todo-check-format, todo-clear-matches)
7773         (todo-comment-string-matcher, todo-convert-legacy-date-time)
7774         (todo-current-category, todo-date-string-matcher)
7775         (todo-define-insertion-command, todo-diary-expired-matcher)
7776         (todo-diary-goto-entry, todo-diary-item-p)
7777         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7778         (todo-display-categories, todo-display-sorted, todo-done-item-p)
7779         (todo-done-item-section-p, todo-done-separator)
7780         (todo-done-string-matcher, todo-files, todo-filter-items)
7781         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7782         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7783         (todo-insert-category-line, todo-insert-item-from-calendar)
7784         (todo-insert-sort-button, todo-insert-with-overlays)
7785         (todo-insertion-command-name, todo-insertion-key-bindings)
7786         (todo-label-to-key, todo-longest-category-name-length)
7787         (todo-make-categories-list, todo-mode-external-set)
7788         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7789         (todo-modes-set-3, todo-multiple-filter-files)
7790         (todo-nondiary-marker-matcher, todo-prefix-overlays)
7791         (todo-read-category, todo-read-date, todo-read-dayname)
7792         (todo-read-file-name, todo-read-time)
7793         (todo-reevaluate-category-completions-files-defcustom)
7794         (todo-reevaluate-default-file-defcustom)
7795         (todo-reevaluate-filelist-defcustoms)
7796         (todo-reevaluate-filter-files-defcustom)
7797         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7798         (todo-reset-done-separator, todo-reset-done-separator-string)
7799         (todo-reset-done-string, todo-reset-global-current-todo-file)
7800         (todo-reset-highlight-item, todo-reset-nondiary-marker)
7801         (todo-reset-prefix, todo-set-categories)
7802         (todo-set-date-from-calendar, todo-set-show-current-file)
7803         (todo-set-top-priorities, todo-short-file-name)
7804         (todo-show-current-file, todo-sort, todo-time-string-matcher)
7805         (todo-total-item-counts, todo-update-buffer-list)
7806         (todo-update-categories-display, todo-update-categories-sexp)
7807         (todo-update-count, todo-validate-name, todo-y-or-n-p):
7808         New functions.
7809         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7810         New major modes.
7811         (todo-categories, todo-display, todo-edit, todo-faces)
7812         (todo-filtered): New defgroups.
7813         (todo-archived-only, todo-button, todo-category-string, todo-date)
7814         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7815         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7816         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7817         (todo-add-item-if-new-category, todo-always-add-time-string)
7818         (todo-categories-align, todo-categories-archived-label)
7819         (todo-categories-category-label, todo-categories-diary-label)
7820         (todo-categories-done-label, todo-categories-number-separator)
7821         (todo-categories-todo-label, todo-categories-totals-label)
7822         (todo-category-completions-files, todo-completion-ignore-case)
7823         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7824         (todo-done-separator-string, todo-done-string)
7825         (todo-files-function, todo-filter-done-items, todo-filter-files)
7826         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7827         (todo-initial-category, todo-initial-file, todo-item-mark)
7828         (todo-legacy-date-time-regexp, todo-mode-line-function)
7829         (todo-nondiary-marker, todo-number-prefix)
7830         (todo-print-buffer-function, todo-show-current-file)
7831         (todo-show-done-only, todo-show-first, todo-show-with-done)
7832         (todo-skip-archived-categories, todo-top-priorities-overrides)
7833         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7834         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7835         New defcustoms.
7836         (todo-category-done, todo-date-pattern, todo-date-string-start)
7837         (todo-diary-items-buffer, todo-done-string-start)
7838         (todo-filtered-items-buffer, todo-item-start)
7839         (todo-month-abbrev-array, todo-month-name-array)
7840         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7841         (todo-top-priorities-buffer): New defconsts.
7842         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7843         (todo-categories-with-marks, todo-category-string-face)
7844         (todo-comment-face, todo-comment-string, todo-current-todo-file)
7845         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7846         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7847         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7848         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7849         (todo-font-lock-keywords, todo-global-current-todo-file)
7850         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7851         (todo-insertion-commands-args)
7852         (todo-insertion-commands-args-genlist)
7853         (todo-insertion-commands-names, todo-insertion-map)
7854         (todo-key-bindings-t, todo-key-bindings-t+a)
7855         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7856         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7857         (todo-nondiary-face, todo-print-buffer, todo-time-face)
7858         (todo-visited): New variables.
7860 2013-06-21  Glenn Morris  <rgm@gnu.org>
7862         * play/cookie1.el (cookie-apropos): Add optional display argument.
7863         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7864         (psychoanalyze-pinhead): Use cookie-doctor.
7866 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7868         * emacs-lisp/package.el (tar-get-file-descriptor)
7869         (tar--extract): Declare.
7871 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
7873         Extend flymake's warning predicate to be a function (bug#14217).
7874         * progmodes/flymake.el (flymake-warning-predicate): New.
7875         (flymake-parse-line): Use it.
7876         (flymake-warning-re): Make obsolete alias to
7877         `flymake-warning-predicate'.
7879 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7881         * emacs-lisp/package.el (package-alist): Include obsolete packages.
7882         (package-obsolete-list): Remove.
7883         (package-activate): Remove min-version argument.  Add `force' argument.
7884         Adjust to new package-alist format.
7885         (package-mark-obsolete): Remove.
7886         (package-unpack): Force reload of the package's autoloads.
7887         (package-installed-p): Check builtins if the installed package is not
7888         recent enough.
7889         (package-initialize): Don't reset package-obsolete-list.
7890         Don't specify which package version to activate.
7891         (package-process-define-package, describe-package-1)
7892         (package-menu--generate): Adjust to new package-alist format.
7894 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7896         * allout-widgets.el (allout-widgets-mode-off)
7897         (allout-widgets-mode-on, allout-widgets-pre-command-business)
7898         (allout-widgets-post-command-business)
7899         (allout-widgets-after-copy-or-kill-function)
7900         (allout-widgets-after-undo-function, allout-test-range-overlaps)
7901         (allout-decorate-item-and-context)
7902         (allout-graphics-modification-handler): Fix typos in docstrings.
7903         (allout-get-or-create-parent-widget): Use `looking-at-p'.
7905         * cmuscheme.el (scheme-start-file): Doc fix.
7906         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7907         (scheme-input-filter): Use `string-match-p'.
7909         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7911         * dired-x.el: Use Dired consistently in docstrings.
7913         * dired.el: Use Dired consistently in docstrings.
7914         (dired-readin, dired-mode): Use `setq-local'.
7915         (dired-switches-alist): Make defvar-local.
7916         (dired-buffers-for-dir): Use `zerop'.
7917         (dired-safe-switches-p, dired-switches-escape-p)
7918         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7919         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7920         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7921         (dired-goto-next-nontrivial-file): Use `string-match-p'.
7922         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7923         (dired-toggle-marks, dired-mark-files-containing-regexp)
7924         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7925         (dired-flag-auto-save-files, dired-flag-backup-files):
7926         Use `looking-at-p'.
7927         (dired-mark-files-regexp, dired-build-subdir-alist):
7928         Use `string-match-p', `looking-at-p'.
7930         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7931         (direct-print-region-helper): Use `string-match-p'.
7933 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7935         * comint.el (comint-redirect-results-list-from-process):
7936         Fix infinite loop.
7938 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7940         * net/eww.el (eww-update-header-line-format): Quote % characters.
7942 2013-06-21  Glenn Morris  <rgm@gnu.org>
7944         * play/cookie1.el (cookie): New custom group.
7945         (cookie-file): New option.
7946         (cookie-check-file): New function.
7947         (cookie): Make it interactive.  Make start and end messages optional.
7948         Interactively, display the result.  Default to cookie-file.
7949         (cookie-insert): Default to cookie-file.
7950         (cookie-snarf): Make start and end messages optional.
7951         Default to cookie-file.  Use with-temp-buffer.
7952         (cookie-read): Rename from read-cookie.
7953         Make start and end messages optional.  Default to cookie-file.
7954         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7955         Do not autoload it.
7956         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7957         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7959 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7961         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7963 2013-06-21  Glenn Morris  <rgm@gnu.org>
7965         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7967 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7968             Daniel Hackney  <dan@haxney.org>
7970         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7971         Consolidate the single-file vs tarball code.
7972         (package-desc-suffix): New function.
7973         (package-desc-full-name): Don't bother inlining it.
7974         (package-load-descriptor): Return the new package-desc.
7975         (package-mark-obsolete): Remove unused arg `package'.
7976         (package-unpack): Make it work for single files as well.
7977         Make it update package-alist.
7978         (package--make-autoloads-and-stuff): Rename from
7979         package--make-autoloads-and-compile.  Don't compile any more.
7980         (package--compile): New function.
7981         (package-generate-description-file): New function, extracted from
7982         package-unpack-single.
7983         (package-unpack-single): Remove.
7984         (package--with-work-buffer): Add indentation and debugging info.
7985         (package-download-single): Remove.
7986         (package-install-from-archive): Rename from package-download-tar, make
7987         it take a pkg-desc, and make it work for single files as well.
7988         (package-download-transaction): Simplify.
7989         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7990         external tar program.
7991         (package-install-from-buffer): Remove `pkg-desc' argument.
7992         Use package-tar-file-info for tar-mode buffers.
7993         (package-install-file): Simplify accordingly.
7994         (package-archive-base): Change to take a pkg-desc.
7995         * tar-mode.el (tar--check-descriptor): New function, extracted from
7996         tar-get-descriptor.
7997         (tar-get-descriptor): Use it.
7998         (tar-get-file-descriptor): New function.
7999         (tar--extract): New function, extracted from tar-extract.
8000         (tar--extract): Use it.
8001         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8002         case the summary uses non-ascii.  Adjust to new calling convention of
8003         package-tar-file-info.
8005 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8007         * comint.el (comint-redirect-results-list-from-process):
8008         Fix random delay.  (Bug#14681)
8010 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8012         * profiler.el (profiler-format-number): Use log, not log10.
8014 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8016         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8018 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8020         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8021         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8022         yet available.
8023         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8024         (AUTOGENEL): ... here.
8025         * emacs-lisp/cl-macs.el (cl--sublis): New function.
8026         (cl--defsubst-expand): Use it.
8028 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
8030         * subr.el (log10): Move here from C code, and declare as obsolete.
8031         All uses of (log10 X) replaced with (log X 10).
8033 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8035         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8036         Declare with `defvar-local'.
8037         (tabulated-list-use-header-line, tabulated-list-entries)
8038         (tabulated-list-padding, tabulated-list-printer)
8039         (tabulated-list-sort-key): Declare with `defvar-local'.
8040         (tabulated-list-init-header, tabulated-list-print-fake-header):
8041         Use `setq-local'.
8043 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
8045         * arc-mode.el (archive-mode): Add `archive-write-file' to
8046         `write-contents-functions' also for remote files.  (Bug#14652)
8048 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8050         * cus-edit.el (custom-commands): Fix typos.
8051         (custom-display): Fix tooltip text.
8052         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8053         Fix typos in docstrings.
8054         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8055         (custom-unlispify-menu-entry, custom-magic-value-create)
8056         (custom-add-see-also, custom-group-value-create): Use ?\s.
8057         (custom-guess-type, customize-apropos, editable-field)
8058         (custom-face-value-create): Use `string-match-p'.
8059         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8061         * custom.el (custom-load-symbol): Use `string-match-p'.
8063         * ansi-color.el: Convert to lexical binding.
8064         (ansi-colors): Fix URL.
8065         (ansi-color-context, ansi-color-context-region): Use defvar-local.
8066         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8067         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8069 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8071         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8073         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8075 2013-06-19  Tom Tromey  <tromey@redhat.com>
8077         * net/eww.el (eww-top-url): Remove.
8078         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8079         (eww-render): Set new variables.  Don't set eww-top-url.
8080         (eww-handle-link): Handle "prev", "home", and "contents".
8081         Downcase the rel text.
8082         (eww-top-url): Choose best top URL.
8084 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8086         * net/eww.el: Rewrite to implement form elements "by hand" instead of
8087         relying in widget.el.  Using widget.el leads to too many
8088         user interface inconsistencies.
8089         (eww-self-insert): Implement entering commands in text fields.
8090         (eww-process-text-input): New function to make text input field editing
8091         work.
8092         (eww-submit): Rewrite to use the new-style form methods.
8093         (eww-select-display): Display the correct selected item.
8094         (eww-change-select): Implement changing the select value.
8095         (eww-toggle-checkbox): Implement radio/checkboxes.
8096         (eww-update-field): Fix compilation error.
8097         (eww-tag-textarea): Implement <textarea>.
8099         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8100         we don't shadow mode-specific bindings.
8102         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8103         nothing to push.
8105         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8107 2013-06-19  Glenn Morris  <rgm@gnu.org>
8109         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8111 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8113         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8114         not needed.
8116         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8118 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8120         * net/browse-url.el (browse-url-browser-function):
8121         `eww-browse-url' has the right calling signature, `eww' does not.
8123 2013-06-19  Glenn Morris  <rgm@gnu.org>
8125         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8126         Only eval autoloaded macros.
8127         (byte-compile-autoload): Only give the macro warning for macros.
8129         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8130         (ps-underlined-faces): Declare.
8132         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8133         (speedbar-add-supported-extension): Declare.
8135         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8136         Don't include a date stamp in the header of the generated file;
8137         it leads to needless differences between output files.
8139 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8141         * net/secrets.el (secrets-struct-secret-content-type):
8142         Replace check of introspection data by a test call of "CreateItem".
8143         Some servers do not offer introspection.
8145 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8147         * electric.el (electric-pair-mode): Improve interaction with
8148         electric-layout-mode.
8149         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8150         (electric-pair-syntax): Use text-mode-syntax-table in comments
8151         and strings.
8152         (electric-pair--insert): New function.
8153         (electric-pair-post-self-insert-function): Use it and
8154         electric--after-char-pos.
8156 2013-06-19  Leo Liu  <sdl.web@gmail.com>
8158         * progmodes/octave.el (octave-help): Fix regexp.
8160 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8162         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8163         (shr-table-horizontal-line): Allow nil as a value, and change the
8164         default.
8165         (shr-insert-table-ruler): Respect the nil value.
8167 2013-06-18  Tom Tromey  <tromey@barimba>
8169         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8170         New defvars.
8171         (eww-open-file): New defun.
8172         (eww-render): Initialize new variables.
8173         (eww-display-html): Handle "link" and "a".
8174         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8175         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
8176         (eww-back-url): Rename from eww-previous-url.
8177         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8178         New defuns.
8180 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
8182         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8183         Distinguish ternary operator tokens from slash symbol and slash
8184         char literal.
8186 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8188         Convert symbol prettification into minor mode and global minor mode.
8190         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8191         `prog-prettify-symbols', and make a local defvar instead of defcustom.
8192         (prettify-symbols--keywords): Rename from
8193         `prog-prettify-symbols-alist' and make a local defvar.
8194         (prettify-symbols--compose-symbol): Rename from
8195         `prog--prettify-font-lock-compose-symbol'.
8196         (prettify-symbols--make-keywords): Rename from
8197         `prog-prettify-font-lock-symbols-keywords' and simplify.
8198         (prog-prettify-install): Remove.
8199         (prettify-symbols-mode): New minor mode, based on
8200         `prog-prettify-install'.
8201         (turn-on-prettify-symbols-mode): New function.
8202         (global-prettify-symbols-mode): New globalized minor mode.
8204         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8205         * progmodes/cfengine.el (cfengine3-mode):
8206         * progmodes/perl-mode.el (perl-mode): Don't call
8207         `prog-prettify-install'; set `prettify-symbols-alist' instead.
8209 2013-06-18  Juri Linkov  <juri@jurta.org>
8211         * files-x.el (modify-file-local-variable-message): New function.
8212         (modify-file-local-variable)
8213         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8214         and call `modify-file-local-variable-message' when it's non-nil.
8215         (add-file-local-variable, delete-file-local-variable)
8216         (add-file-local-variable-prop-line)
8217         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8218         and use it.  (Bug#9820)
8220 2013-06-18  Juri Linkov  <juri@jurta.org>
8222         * emulation/vi.el (vi-shell-op):
8223         * emulation/vip.el (vip-execute-com, ex-command):
8224         * emulation/viper-cmd.el (viper-exec-bang):
8225         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8226         the call of `shell-command-on-region'.  (Bug#14637)
8228         * simple.el (shell-command-on-region): Doc fix.
8230 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8232         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8233         (bug#14633).
8235 2013-06-18  Glenn Morris  <rgm@gnu.org>
8237         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8239         * newcomment.el (comment-search-forward, comment-search-backward):
8240         Doc fix.  (Bug#14376)
8242 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8244         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8245         (buffer-face-mode-invoke): Doc fix.
8247 2013-06-18  Matthias Meulien  <orontee@gmail.com>
8249         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8250         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8252 2013-06-18  Glenn Morris  <rgm@gnu.org>
8254         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8255         Replace obsolete function generic-make-keywords with its expansion.
8257         * progmodes/python.el (ffap-alist): Declare.
8259         * textmodes/reftex.el (bibtex-mode-map): Declare.
8261 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8263         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8264         (package-unpack, package-unpack-single): Return the pkg-dir.
8265         (package-download-transaction): Use it to update package-alist.
8267 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8269         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8270         possible choice.
8272 2013-06-17  Juri Linkov  <juri@jurta.org>
8274         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8276 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8278         * emacs-lisp/package.el (package-load-descriptor):
8279         Remove `with-syntax-table' call, `read' doesn't need it.
8280         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8282 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8284         * startup.el (command-line): Expand package name returned by
8285         `package--description-file' (bug#14639).
8287 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8289         * emacs-lisp/package.el (package-load-descriptor): Do not call
8290         `emacs-lisp-mode', just use its syntax table.
8292 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8294         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8295         `font-lock-extra-managed-props' if any prettifying keyword is added.
8296         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8297         (prog-mode): Use `setq-local'.
8299 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8301         * international/characters.el (standard-case-table): Set syntax of ?»
8302         and ?« to punctuation.
8304 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
8306         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8307         Save relevant match data before calling `syntax-ppss' (bug#14595).
8309 2013-06-15  Juri Linkov  <juri@jurta.org>
8311         * files-x.el (modify-file-local-variable-prop-line): Add local
8312         variables to the end of the existing comment on the first line.
8313         Use `file-auto-mode-skip' to skip interpreter magic line,
8314         and also skip XML declaration.
8316 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8318         * startup.el (package--builtin-versions): New var.
8319         (package-subdirectory-regexp): Remove.
8320         (package--description-file): Hard code its value instead.
8322         * emacs-lisp/package.el: Don't activate packages older than builtin.
8323         (package-obsolete-list): Rename from package-obsolete-alist, and make
8324         it into a simple list of package-desc.
8325         (package-strip-version): Remove.
8326         (package-built-in-p): Use package--builtin-versions.
8327         (package-mark-obsolete): Simplify.
8328         (package-process-define-package): Mark it obsolete if older than the
8329         builtin version.
8330         (package-handle-response): Use line-end-position.
8331         (package-read-archive-contents, package--download-one-archive):
8332         Simplify.
8333         (package--add-to-archive-contents): Skip if older than the builtin or
8334         installed version.
8335         (package-menu-describe-package): Fix last change.
8336         (package-list-unversioned): New var.
8337         (package-menu--generate): Use it.
8339         * emacs-lisp/autoload.el: Manage package--builtin-versions.
8340         (autoload--insert-text, autoload--insert-cookie-text): New functions.
8341         (autoload-builtin-package-versions): New variable.
8342         (autoload-generate-file-autoloads): Use them.
8343         Remove the list of autoloaded functions/macros from the
8344         (autoload...) comments.
8346         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8348 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
8350         * simple.el (line-move-partial): Don't jump to the next screen
8351         line as soon as it becomes visible.  Instead, continue enlarging
8352         the vscroll until the portion of a tall screen line that's left on
8353         display is about the height of the frame's default font.
8354         (Bug#14567)
8356 2013-06-15  Glenn Morris  <rgm@gnu.org>
8358         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8359         compilation-error-regexp-alist void, or local while let-bound.
8361         * progmodes/make-mode.el (makefile-mode-syntax-table):
8362         Treat "=" as punctuation.  (Bug#14614)
8364 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
8366         * help-fns.el (describe-variable):
8367         Add extra line for permanent-local variables.
8369 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
8371         * progmodes/scheme.el (scheme-font-lock-keywords-2):
8372         Add export, import, library.  (Bug#9164)
8373         (library): Set indent function.
8375 2013-06-14  Glenn Morris  <rgm@gnu.org>
8377         * term/xterm.el (xterm--query):
8378         Stop after first matching handler.  (Bug#14615)
8380 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
8382         Add support for dired in saveplace.
8383         * dired.el (dired-initial-position-hook): New variable.
8384         (dired-initial-position): Call hook to place cursor position.
8385         * saveplace.el (save-place-to-alist): Add dired position.
8386         (save-place-dired-hook): New function.
8388 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8390         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8391         through a symbol rather than letrec.
8393         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
8394         (package-desc): Add `dir' field.
8395         (package-desc-full-name): New function.
8396         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
8397         (package-maybe-load-descriptor): Remove.
8398         (package-load-all-descriptors): Just call package-load-descriptor.
8399         (package--disabled-p): New function.
8400         (package-desc-vers, package-desc-doc): Remove aliases.
8401         (package--dir): Remove function.
8402         (package-activate): Check if a package is disabled.
8403         (package-process-define-package): New function, extracted from
8404         define-package.
8405         (define-package): Turn into a place holder.
8406         (package-unpack-single, package-tar-file-info):
8407         Use package--description-file.
8408         (package-compute-transaction): Use package--disabled-p.
8409         (package-download-transaction): Don't call
8410         package-maybe-load-descriptor since they're all loaded anyway.
8411         (package-install): Change argument to be a pkg-desc.
8412         (package-delete): Use a single pkg-desc argument.
8413         (describe-package-1): Use package-desc-dir instead of package--dir.
8414         Use package-desc property instead of package-symbol.
8415         (package-install-button-action): Adjust accordingly.
8416         (package--push): Rewrite.
8417         (package-menu--print-info): Adjust accordingly.  Change the ID format
8418         to be a pkg-desc.
8419         (package-menu-describe-package, package-menu-get-status)
8420         (package-menu--find-upgrades, package-menu-mark-upgrades)
8421         (package-menu-execute, package-menu--name-predicate):
8422         Adjust accordingly.
8423         * startup.el (package--description-file): New function.
8424         (command-line): Use it.
8425         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8426         Use package-desc-version.
8428         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8429         (byte-compile-preprocess): Use it.
8430         (byte-compile-file-form-defalias): Try a bit harder to use macros we
8431         can't quite recognize.
8432         (byte-compile-add-to-list): Remove.
8433         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8434         (cconv-closure-convert): Add assertion.
8436         * emacs-lisp/map-ynp.el: Use lexical-binding.
8437         (map-y-or-n-p): Remove unused vars `tail' and `object'.
8438         Factor out some repeated code.
8440 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8442         * subr.el (with-eval-after-load): New macro.
8443         (eval-after-load): Allow form to be a function.
8444         take advantage of lexical-binding.
8445         (do-after-load-evaluation): Use dolist and adjust to new format.
8446         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8448 2013-06-13  Juri Linkov  <juri@jurta.org>
8450         * replace.el (perform-replace): Display "symbol " and other search
8451         modes from `isearch-message-prefix' in the *Help* buffer.
8453         * isearch.el (isearch-query-replace): Add " symbol" and other
8454         possible search modes from `isearch-message-prefix' to the prompt.
8455         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8456         when reading a regexp to collect.
8458 2013-06-13  Juri Linkov  <juri@jurta.org>
8460         * isearch.el (word-search-regexp): Match whitespace if the search
8461         string begins or ends in whitespace.  The LAX arg is applied to
8462         both ends of the search string.  Use `regexp-quote' and explicit
8463         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
8464         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8465         boundaries are replaced with symbol boundaries, and characters
8466         between symbols match non-word non-symbol syntax.  (Bug#14602)
8468 2013-06-13  Juri Linkov  <juri@jurta.org>
8470         * isearch.el (isearch-del-char): Don't exceed the length of
8471         `isearch-string' by the prefix arg.  (Bug#14563)
8473 2013-06-13  Juri Linkov  <juri@jurta.org>
8475         * isearch.el (isearch-yank-word, isearch-yank-line)
8476         (isearch-char-by-name, isearch-quote-char)
8477         (isearch-printing-char, isearch-process-search-char):
8478         Add optional count prefix arg.  (Bug#14563)
8480         * international/isearch-x.el
8481         (isearch-process-search-multibyte-characters):
8482         Add optional count prefix arg.
8484 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8486         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8487         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8488         lexical-binding.
8490 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
8492         * subr.el (set-temporary-overlay-map): Add on-exit argument.
8494 2013-06-13  Glenn Morris  <rgm@gnu.org>
8496         * startup.el (tty-handle-args):
8497         Don't just discard "--" and anything after.  (Bug#14608)
8499         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8501 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
8503         Implement changes in Secret Service API.  Make it backward compatible.
8504         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8505         (secrets-create-item): Use it.  Prefix properties with interface.
8507 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
8509         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
8510         (term-emulate-terminal): Respect term-suppress-hard-newline.
8512 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
8514         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8515         Only remove a `thumb-file' overlay.  (Bug#14548)
8517 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
8519         * mail/reporter.el (reporter-submit-bug-report):
8520         Handle missing package-name.  (Bug#14600)
8522 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8524         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8525         (reftex-citation-prompt, reftex-default-bibliography)
8526         (reftex-bib-or-thebib, reftex-get-bibfile-list)
8527         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8528         (reftex-bib-sort-author, reftex-bib-sort-year)
8529         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8530         (reftex-extract-bib-entries-from-thebibliography)
8531         (reftex-get-bibkey-default, reftex-get-bib-names)
8532         (reftex-parse-bibtex-entry, reftex-get-bib-field)
8533         (reftex-format-bib-entry, reftex-parse-bibitem)
8534         (reftex-format-bibitem, reftex-do-citation)
8535         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8536         (reftex-restrict-bib-matches, reftex-extract-bib-file)
8537         (reftex-insert-bib-matches, reftex-format-citation)
8538         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8539         (reftex-create-bibtex-file): Add docstrings, mostly by converting
8540         existing comments into docstrings.
8542 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8544         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8546 2013-06-12  Andreas Schwab  <schwab@suse.de>
8548         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8549         for auto-save files.
8551 2013-06-12  Glenn Morris  <rgm@gnu.org>
8553         * ido.el (ido-delete-ignored-files): Remove.
8554         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8555         Go back to calling ido-ignore-item-p directly.
8557 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
8559         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8561         * ido.el (ido-delete-ignored-files): New function,
8562         split from ido-make-file-list-1.
8563         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
8564         (ido-make-file-list-1): Use ido-delete-ignored-files.
8566 2013-06-12  Leo Liu  <sdl.web@gmail.com>
8568         * progmodes/octave.el (inferior-octave-startup)
8569         (inferior-octave-completion-table)
8570         (inferior-octave-track-window-width-change)
8571         (octave-eldoc-function-signatures, octave-help)
8572         (octave-find-definition): Use single quoted strings.
8573         (inferior-octave-startup-args): Change default value.
8574         (inferior-octave-startup): Do not hard code "-i" and
8575         "--no-line-editing".
8576         (inferior-octave-resync-dirs): Add optional arg NOERROR.
8577         (inferior-octave-directory-tracker): Use it.
8578         (octave-goto-function-definition): Robustify.
8579         (octave-help): Support highlighting operators in 'See also'.
8580         (octave-find-definition): Find subfunctions only in Octave mode.
8582 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8584         * help-fns.el (help-fns--compiler-macro): If the handler function is
8585         named, then put a link to it.
8586         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8587         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8588         (cl-typep): Use it.
8589         (cl-eval-when): Simplify debug spec.
8590         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
8591         compiler-macro function instead of setting `compiler-macro-file'.
8593 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8595         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8596         * vc/vc-hooks.el (vc-stay-local): Doc fix.
8598 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8599             Daniel Hackney  <dan@haxney.org>
8601         First part of Daniel Hackney's patch to package.el.
8602         * emacs-lisp/package.el: Use defstruct.
8603         (package-desc): New, main struct.
8604         (package--bi-desc, package--ac-desc): New structs, used to describe the
8605         format in external files.
8606         (package-desc-vers): Replace with package-desc-version accessor.
8607         (package-desc-doc): Replace with package-desc-summary accessor.
8608         (package-activate-1): Remove `package' arg since the pkg-vec now
8609         includes the name.
8610         (define-package): Use package-desc-from-define.
8611         (package-unpack-single): Change file-name arg to be a symbol.
8612         (package--add-to-archive-contents): Use package-desc-create and new
8613         accessor functions to package--ac-desc.
8614         (package-buffer-info, package-tar-file-info): Return a package-desc.
8615         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
8616         arg to be a package-desc.
8617         (package-install-file): Adjust accordingly.  Use \' to match EOS.
8618         (package--from-builtin): New function.
8619         (describe-package-1, package-menu--generate): Use it.
8620         (package--make-autoloads-and-compile): Change name arg to be a symbol.
8621         (package-generate-autoloads): Idem and return the name of the file.
8622         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8623         Change pkg-info arg to be a package-desc.
8624         Use package-make-ac-desc.
8625         (package-upload-file): Use \' to match EOS.
8626         * finder.el (finder-compile-keywords): Use package-make-builtin.
8628 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8630         * vc/vc.el (vc-deduce-fileset): Change error message.
8631         (vc-read-backend): New function.
8632         (vc-next-action): Use it.
8634         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8636         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8637         (prolog-font-lock-keywords): Use regexp-opt instead.
8638         Don't manually highlight strings.
8639         (prolog-mode-variables): Simplify comment-start-skip.
8640         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
8642         * emacs-lisp/generic.el (generic--normalise-comments)
8643         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8644         (generic-mode-set-comments): Use them.
8645         (generic-bracket-support): Use setq-local.
8646         (generic-make-keywords-list): Declare obsolete.
8648 2013-06-11  Glenn Morris  <rgm@gnu.org>
8650         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8651         Prettify after setting font-lock-defaults.  (Bug#14574)
8653 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
8655         * replace.el (query-replace, occur-read-regexp-defaults-function)
8656         (replace-search):
8657         * subr.el (declare-function, number-sequence, local-set-key)
8658         (substitute-key-definition, locate-user-emacs-file)
8659         (with-silent-modifications, split-string, eval-after-load):
8660         Fix typos, remove unneeded backslashes and reflow some docstrings.
8662 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8664         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8665         default for Elisp files.
8667 2013-06-11  Glenn Morris  <rgm@gnu.org>
8669         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8670         although define-derived-mode was doing this anyway.  (Bug#14583)
8672 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
8674         * allout.el (allout-encryption-plaintext-sanitization-regexps):
8675         Fix make-variable-buffer-local call to refer to the correct variable.
8677 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
8679         * eshell/em-term.el (eshell-visual-commands)
8680         (eshell-visual-subcommands, eshell-visual-options):
8681         Add summary line to docstrings.  Add cross-references.
8683 2013-06-10  Glenn Morris  <rgm@gnu.org>
8685         * epa.el (epa-read-file-name): New function.  (Bug#14510)
8686         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
8688 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8690         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8691         output redirection to be ignored with visual commands.
8693 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8695         * eshell/em-term.el (eshell-visual-command-p): New function.
8696         (eshell-term-initialize): Move long lambda to separate function
8697         eshell-visual-command-p.
8698         * eshell/em-dirs.el (eshell-dirs-initialise):
8699         * eshell/em-script.el (eshell-script-initialize):
8700         Add missing #' to lambda.
8702 2013-06-08  Leo Liu  <sdl.web@gmail.com>
8704         * progmodes/octave.el (octave-add-log-current-defun): New function.
8705         (octave-mode): Set add-log-current-defun-function.
8706         (octave-goto-function-definition): Do not move point if not found.
8707         (octave-find-definition): Enhance to try subfunctions first.
8709 2013-06-08  Glenn Morris  <rgm@gnu.org>
8711         * emacs-lisp/bytecomp.el (byte-compile-char-before)
8712         (byte-compile-backward-char, byte-compile-backward-word):
8713         Improve previous change, to handle non-explicit nil.
8715 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8717         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8718         (smie--opener/closer-at-point): New function.
8719         (smie--matching-block-data): Use it.  Don't match from right after an
8720         opener or right before a closer.  Obey smie-blink-matching-inners.
8721         Don't signal a mismatch for repeated inners like "switch..case..case".
8723 2013-06-07  Leo Liu  <sdl.web@gmail.com>
8725         * progmodes/octave.el (octave-mode): Set comment-use-global-state
8726         to t.  (Bug#14303)
8727         (octave-function-header-regexp): Fix.  (Bug#14570)
8728         (octave-help-mode-finish-hook, octave-help-mode-finish):
8729         Remove.  Just use temp-buffer-show-hook.
8731         * newcomment.el (comment-search-backward): Revert last change.
8732         (Bug#14434)
8734         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8736 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
8738         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8739         through xargs, to avoid failure due to MS-Windows limitations on
8740         command-line length.
8742 2013-06-06  Glenn Morris  <rgm@gnu.org>
8744         * font-lock.el (lisp-font-lock-keywords-2):
8745         Treat user-error like error.
8747         * emacs-lisp/bytecomp.el (byte-compile-char-before)
8748         (byte-compile-backward-char, byte-compile-backward-word):
8749         Handle explicit nil arguments.  (Bug#14565)
8751 2013-06-05  Alan Mackenzie  <acm@muc.de>
8753         * isearch.el (isearch-allow-prefix): New user option.
8754         (isearch-other-meta-char): Don't exit isearch when a prefix
8755         argument is typed whilst `isearch-allow-prefix' is non-nil.
8756         (Bug#9706)
8758 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8760         * autorevert.el (auto-revert-notify-handler): Use memq.
8761         Hide assertion failure.
8763         * skeleton.el: Use cl-lib.
8764         (skeleton-further-elements): Use defvar-local.
8765         (skeleton-insert): Use cl-progv.
8767 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8769         * progmodes/prog-mode.el (prog-prettify-symbols)
8770         (prog-prettify-install): Update docstrings.
8772 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8774         * simple.el: Move all the prog-mode code to prog-mode.el.
8775         * progmodes/prog-mode.el: New file.
8776         * loadup.el: Add prog-mode.el.
8778 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8780         * simple.el (prog-prettify-symbols): Add version.
8781         (prog-prettify-install): Add convenience function to prettify symbols.
8783         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8784         (perl--augmented-font-lock-keywords-1)
8785         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8786         variables and use it.
8788         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8789         (cfengine3-mode): Remove unneeded variable and use it.
8791         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8792         (lisp--augmented-font-lock-keywords-1)
8793         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8794         Remove unneeded variables and use it.
8796 2013-06-05  João Távora  <joaotavora@gmail.com>
8798         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8799         to point when opening the connection.  (Bug#14380)
8801 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8803         * subr.el (load-history-regexp, load-history-filename-element)
8804         (eval-after-load, after-load-functions, do-after-load-evaluation)
8805         (eval-next-after-load, display-delayed-warnings)
8806         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8807         definition of save-match-data.
8808         (overriding-local-map): Remove accidental obsolescence declaration.
8810         * emacs-lisp/edebug.el (edebug-result): Move before first use.
8812 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8814         Generalize symbol prettify support to prog-mode and implement it
8815         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8816         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8817         (prog--prettify-font-lock-compose-symbol)
8818         (prog-prettify-font-lock-symbols-keywords): New variables and
8819         functions to support symbol prettification.
8820         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8821         (lisp--augmented-font-lock-keywords-1)
8822         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8823         (lisp--prettify-symbols-alist): Implement prettify of lambda.
8824         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8825         (cfengine3--prettify-symbols-alist, cfengine3-mode):
8826         Implement prettify of -> => :: strings.
8827         * progmodes/perl-mode.el (perl-prettify-symbols)
8828         (perl--font-lock-compose-symbol)
8829         (perl--font-lock-symbols-keywords): Move to prog-mode.
8830         (perl--prettify-symbols-alist): Prettify -> => :: strings.
8831         (perl-font-lock-keywords-1)
8832         (perl-font-lock-keywords-2): Remove explicit prettify support.
8833         (perl--augmented-font-lock-keywords)
8834         (perl--augmented-font-lock-keywords-1)
8835         (perl--augmented-font-lock-keywords-2, perl-mode):
8836         Implement prettify support.
8838 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8840         Re-implement smie matching block highlight using
8841         show-paren-data-function.  (Bug#14395)
8842         * emacs-lisp/smie.el (smie-matching-block-highlight)
8843         (smie--highlight-matching-block-overlay)
8844         (smie--highlight-matching-block-lastpos)
8845         (smie-highlight-matching-block)
8846         (smie-highlight-matching-block-mode): Remove.
8847         (smie--matching-block-data-cache): New variable.
8848         (smie--matching-block-data): New function.
8849         (smie-setup): Use smie--matching-block-data for
8850         show-paren-data-function.
8852         * progmodes/octave.el (octave-mode-menu): Fix.
8853         (octave-find-definition): Skip garbage lines.
8855 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8857         Fix compilation error with simultaneous dynamic+lexical scoping.
8858         Add warning when a defvar appears after the first let-binding.
8859         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8860         (byte-compile-close-variables): Initialize it.
8861         (byte-compile--declare-var): New function.
8862         (byte-compile-file-form-defvar)
8863         (byte-compile-file-form-define-abbrev-table)
8864         (byte-compile-file-form-custom-declare-variable): Use it.
8865         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
8866         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8867         (byte-compile-bind): Handle dynamic bindings that shadow
8868         lexical bindings.
8869         (byte-compile-unbind): Make arg non-optional.
8870         (byte-compile-let): Simplify.
8871         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8872         (cconv--analyse-function, cconv-analyse-form): Populate it.
8873         Protect byte-compile-bound-variables to limit the scope of defvars.
8874         (cconv-analyse-form): Add missing rule for (defvar <foo>).
8875         Remove unneeded rule for `declare'.
8877         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8878         so as to avoid depending on cl-adjoin at run-time.
8879         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8881         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8882         (macroexp--warn-and-return): Use it.
8884 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8886         * lisp/subr.el: Convert to lexical binding.
8887         (overriding-local-map): Make obsolete.
8888         (add-to-list): Doc fix.  Add compiler macro.
8889         (read-key): Swap values of local maps.
8891 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8893         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8895 2013-06-04  Leo Liu  <sdl.web@gmail.com>
8897         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8898         (compilation-auto-jump): Suppress the "Mark set" message to give
8899         way to exit message.
8901 2013-06-04  Alan Mackenzie  <acm@muc.de>
8903         Remove faulty optimisation from indentation calculation.
8904         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8905         search limit based on 2000 characters back from indent-point.
8907 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8909         * eshell/em-term.el (cl-lib): Require `cl-lib'.
8911 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8913         * emacs-lisp/lisp.el: Use lexical-binding.
8914         (lisp--local-variables-1, lisp--local-variables): New functions.
8915         (lisp--local-variables-completion-table): New var.
8916         (lisp-completion-at-point): Use it complete let-bound vars.
8918         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8919         eagerly (bug#14422).
8921 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
8923         * autorevert.el (auto-revert-notify-enabled)
8924         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8925         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8926         (auto-revert-notify-handler): Handle also gfilenotify.
8928         * subr.el (file-notify-handle-event): New defun.  Replacing ...
8929         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8930         Remove.
8932 2013-06-03  Juri Linkov  <juri@jurta.org>
8934         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8935         `M-s h .'.  (Bug#14427)
8937         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8938         command `hi-lock-face-symbol-at-point'.
8939         (hi-lock-face-symbol-at-point): New command.
8940         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8941         (hi-lock-menu): Add `highlight-symbol-at-point'.
8942         (hi-lock-mode): Doc fix.
8944         * isearch.el (isearch-forward-symbol-at-point): New command.
8945         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8946         (isearch-highlight-regexp): Add a regexp which matches
8947         words/symbols for word/symbol mode.
8949         * subr.el (find-tag-default-bounds): New function with the body
8950         mostly moved from `find-tag-default'.
8951         (find-tag-default): Move most code to `find-tag-default-bounds',
8952         call it and apply `buffer-substring-no-properties' afterwards.
8954 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8956         * eshell/em-term.el (eshell-term-initialize):
8957         Use `cl-intersection' rather than `intersection'.
8959 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8961         * vc/log-view.el: Doc fix.
8962         (log-view-mode-map): Copy keymap from `special-mode-map'.
8964 2013-06-02  Eric Ludlam  <zappo@gnu.org>
8966         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8967         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8968         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8969         (eieio-unbound, eieio-default-superclass)
8970         (eieio--define-field-accessors, method-static, method-before)
8971         (method-primary, method-after, method-num-lists)
8972         (method-generic-before, method-generic-primary)
8973         (method-generic-after, method-num-slots)
8974         (eieio-specialized-key-to-generic-key)
8975         (eieio--check-type, class-v, class-p)
8976         (eieio-class-name, define-obsolete-function-alias)
8977         (eieio-class-parents-fast, eieio-class-children-fast)
8978         (same-class-fast-p, class-constructor, generic-p)
8979         (generic-primary-only-p, generic-primary-only-one-p)
8980         (class-option-assoc, class-option, eieio-object-p)
8981         (class-abstract-p, class-method-invocation-order)
8982         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8983         (eieio-class-un-autoload, eieio-defclass)
8984         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8985         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8986         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8987         (eieio-defgeneric-reset-generic-form)
8988         (eieio-defgeneric-form-primary-only)
8989         (eieio-defgeneric-reset-generic-form-primary-only)
8990         (eieio-defgeneric-form-primary-only-one)
8991         (eieio-defgeneric-reset-generic-form-primary-only-one)
8992         (eieio-unbind-method-implementations)
8993         (eieio--defmethod, eieio--typep)
8994         (eieio-perform-slot-validation, eieio-validate-slot-value)
8995         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8996         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8997         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8998         (eieio-slot-name-index, eieio-class-slot-name-index)
8999         (eieio-set-defaults, eieio-initarg-to-attribute)
9000         (eieio-attribute-to-initarg, eieio-c3-candidate)
9001         (eieio-c3-merge-lists, eieio-class-precedence-c3)
9002         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9003         (eieio-class-precedence-list, eieio-generic-call-methodname)
9004         (eieio-generic-call-arglst, eieio-generic-call-key)
9005         (eieio-generic-call-next-method-list)
9006         (eieio-pre-method-execution-functions, eieio-generic-call)
9007         (eieio-generic-call-primary-only, eieiomt-method-list)
9008         (eieiomt-optimizing-obarray, eieiomt-install)
9009         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9010         (eieio-generic-form, eieio-defmethod, make-obsolete)
9011         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9012         (defclass): Remove `eval-and-compile' from macro.
9013         (call-next-method, shared-initialize): Instead of using
9014         `scoped-class' variable, use new eieio--scoped-class, and
9015         eieio--with-scoped-class.
9016         (initialize-instance): Rename local variable 'scoped-class' to
9017         'this-class' to remove ambiguitity from old global.
9019         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
9020         eieio.el.
9021         (eieio--scoped-class-stack): New variable.
9022         (eieio--scoped-class): New fcn.
9023         (eieio--with-scoped-class): New scoping macro.
9024         (eieio-defclass): Use pushnew instead of add-to-list.
9025         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9026         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9027         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9028         `scoped-class' variable, use new eieio--scoped-class, and
9029         eieio--with-scoped-class.
9031         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9033 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
9035         * eshell/esh-ext.el (eshell-external-command): Pass args to
9036         `eshell-find-interpreter'.
9037         (eshell-find-interpreter): Add new second parameter ARGS.
9039         * eshell/em-script.el (eshell-script-initialize): Add second arg
9040         to the function added as MATCH to `eshell-interpreter-alist'.
9042         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9043         the function added as MATCH to `eshell-interpreter-alist'.
9045         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9046         (eshell-visual-options): New defcustom.
9047         (eshell-escape-control-x): Adapt docstring.
9048         (eshell-term-initialize): Test `eshell-visual-subcommands' and
9049         `eshell-visual-options' in addition to `eshell-visual-commands'.
9050         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9052 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9054         * progmodes/python.el (python-indent-block-enders): Add break,
9055         continue and raise keywords.
9057 2013-06-01  Glenn Morris  <rgm@gnu.org>
9059         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9061         Plain (f)boundp silences compilation warnings since Emacs 22.1.
9062         * progmodes/cc-cmds.el (delete-forward-p):
9063         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9064         * progmodes/cc-engine.el (buffer-syntactic-context):
9065         * progmodes/cc-fonts.el (face-property-instance):
9066         * progmodes/cc-mode.el (set-keymap-parents):
9067         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9068         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9069         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9070         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9071         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9073         * progmodes/cc-vars.el (other): Emacs has this widget since
9074         at least 21.1, so don't (re)define it.
9076         * eshell/em-cmpl.el (eshell-cmpl-initialize):
9077         Replace the obsolete alias pcomplete-arg-quote-list.
9079 2013-06-01  Leo Liu  <sdl.web@gmail.com>
9081         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9082         punctuation syntax.
9083         (inferior-octave-minimal-columns)
9084         (inferior-octave-last-column-width): New variables.
9085         (inferior-octave-track-window-width-change): New function.
9086         (inferior-octave-mode): Adjust column width so that Octave output,
9087         for example from 'ls', can fit into the window nicely.
9089 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9091         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9092         Highlight expansions inside regexp literals.
9094 2013-05-31  Glenn Morris  <rgm@gnu.org>
9096         * obsolete/sym-comp.el (symbol-complete):
9097         Replace obsolete completion-annotate-function.
9099         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9101 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9103         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9104         New function, checks if point is inside a literal that allows
9105         expression expansion.
9106         (ruby-syntax-propertize-expansion): Use it.
9107         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9108         around the body.
9110 2013-05-30  Juri Linkov  <juri@jurta.org>
9112         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9113         to "\M-si".
9114         (isearch-invisible): New variable.
9115         (isearch-forward): Doc fix.
9116         (isearch-mode): Set `isearch-invisible'
9117         to the value of `search-invisible'.
9118         (isearch-toggle-case-fold): Doc fix.
9119         (isearch-toggle-invisible): New command.
9120         (isearch-query-replace): Let-bind `search-invisible'
9121         to the value of `isearch-invisible'.
9122         (isearch-search): Use `isearch-invisible' instead of
9123         `search-invisible'.  Let-bind `search-invisible'
9124         to the value of `isearch-invisible'.  (Bug#11378)
9126 2013-05-30  Juri Linkov  <juri@jurta.org>
9128         * replace.el (perform-replace): Avoid `isearch-range-invisible'
9129         call when `query-flag' is nil and `search-invisible' is non-nil.
9130         (Bug#11746)
9132 2013-05-30  Glenn Morris  <rgm@gnu.org>
9134         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9136         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9137         (cc-require): Suppress spurious "noruntime" warnings.
9138         (cc-require-when-compile): Use fboundp, for sake of compiler.
9140         * progmodes/cc-mode.el: Move load of cc-vars before that of
9141         cc-langs (which in turn loads cc-vars), to quieten compiler.
9143 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9145         * paren.el: Simplify the code.
9146         (show-paren-mode): Always start the timer.
9147         (show-paren--idle-timer): Rename from show-paren-idle-timer.
9148         (show-paren--overlay, show-paren--overlay-1): Rename from
9149         show-paren-overlay and show-paren-overlay-1, and initialize to an
9150         overlay rather than to nil.
9151         (show-paren-function): Misc cleanup and simplifications.
9153 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9155         * paren.el (show-paren-data-function): New hook.
9156         (show-paren--default): New function, extracted from show-paren-function.
9157         (show-paren-function): Use show-paren-data-function.
9159 2013-05-30  Glenn Morris  <rgm@gnu.org>
9161         * ielm.el (ielm-map, ielm-complete-symbol):
9162         Use completion-at-point rather than obsolete functions.
9163         (inferior-emacs-lisp-mode): Doc fix.
9164         Set completion-at-point-functions, rather than
9165         comint-dynamic-complete-functions.
9167         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9168         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9169         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9171         * image.el (image-animated-p): Tweak definition.
9173         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9174         (rlogin-process-connection-type): Tweak default.  Add set-after.
9175         (rlogin-host): Doc fix.
9176         (rlogin): Tweak prompt.
9177         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9179         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9180         * progmodes/tcl.el (inferior-tcl-mode-map):
9181         Use completion-at-point rather than obsolete alias.
9183         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9185         * minibuffer.el (read-file-name-completion-ignore-case):
9186         Move before completion--in-region, for eager macro expansion.
9188 2013-05-29  Juri Linkov  <juri@jurta.org>
9190         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9191         for total count of matching lines.  Add `global-matches' for total
9192         count of matches.  Rename `matches' to `lines' for count of
9193         matching lines.  Add `matches' for count of matches.
9194         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
9195         to `prev-line' for line number of prev match endpt.
9196         Increment `matches' for every match.  Print the number of
9197         matching lines in the header.
9198         (occur-context-lines): Rename `lines' to `curr-line'.
9199         Rename `prev-lines' to `prev-line'.  (Bug#14017)
9201 2013-05-29  Juri Linkov  <juri@jurta.org>
9203         * replace.el (perform-replace): Add `skip-read-only-count',
9204         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9205         Increment them for corresponding conditions and report the number
9206         of skipped occurrences in the final message.  (Bug#11746)
9207         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9208         (replace-string, replace-regexp): Doc fix.
9210 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9212         * emacs-lisp/trace.el (trace--read-args): Provide a default.
9214         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9215         prog-mode-map (bug#14504).
9217 2013-05-29  Leo Liu  <sdl.web@gmail.com>
9219         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9220         (octave-help): Small simplification.
9222         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9223         off the highlight first.
9225 2013-05-29  Glenn Morris  <rgm@gnu.org>
9227         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9228         Handle idlwave-last-system-routine-info-cons-cell being nil.
9230         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9231         (idlwave-write-paths): Simplify via with-temp-buffer.
9233         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9234         * emulation/cua-rect.el: Also load cua-base at run time.
9236         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9237         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9238         (cperl-imenu-on-info): Require imenu.
9240 2013-05-28  Alan Mackenzie  <acm@muc.de>
9242         Handle "capitalised keywords" correctly.
9243         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9245 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
9247         * eshell/em-unix.el: Add -r option to cp.
9249 2013-05-28  Glenn Morris  <rgm@gnu.org>
9251         * vc/vc-arch.el (vc-exec-after): Declare.
9252         (vc-switches): Autoload.
9253         * vc/vc-bzr.el: No need to require vc when compiling.
9254         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9255         (vc-resynch-buffer, vc-dir-refresh): Declare.
9256         (vc-setup-buffer, vc-switches): Autoload.
9257         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9258         (vc-resynch-buffer): Declare.
9259         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9260         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9261         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9262         (grep-read-regexp, grep-read-files, grep-expand-template)
9263         (vc-dir-refresh): Declare.
9264         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9265         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9266         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9267         * vc/vc-mtn.el (vc-exec-after): Declare.
9268         (vc-switches): Autoload.
9269         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9270         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9271         (vc-file-tree-walk): Declare.
9272         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9273         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9274         (vc-tag-precondition, vc-rename-master): Autoload.
9275         * vc/vc-svn.el (vc-exec-after): Declare.
9276         (vc-switches, vc-setup-buffer): Autoload.
9277         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9278         Autoload.
9279         (vc-resynch-buffer): Declare.
9281         * obsolete/fast-lock.el (byte-compile-warnings):
9282         Don't warn about obsolete features in this obsolete file.
9284         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9285         Move definition before use.
9287         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9288         (dun-unix-verbs): Remove dun-zippy.
9289         (dun-zippy): Remove function.
9291         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9293 2013-05-27  Juri Linkov  <juri@jurta.org>
9295         * replace.el (replace-search): New function with code moved out
9296         from `perform-replace'.
9297         (replace-highlight, replace-dehighlight): Move function definitions
9298         up closer to `replace-search'.  (Bug#11746)
9300 2013-05-27  Juri Linkov  <juri@jurta.org>
9302         * replace.el (perform-replace): Ignore invisible matches.
9303         In addition to checking `query-replace-skip-read-only', also
9304         filter out matches by calling `run-hook-with-args-until-failure'
9305         on `isearch-filter-predicates', and also check `search-invisible'
9306         for t or call `isearch-range-invisible'.
9307         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
9309 2013-05-27  Juri Linkov  <juri@jurta.org>
9311         * isearch.el (isearch-filter-predicates): Rename from
9312         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
9313         (isearch-message-prefix): Display text from the property
9314         `isearch-message-prefix' of the currently active filters.
9315         (isearch-search): Don't compare `isearch-filter-predicate' with
9316         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
9317         on `isearch-filter-predicates'.  Also check `search-invisible' for t
9318         or call `isearch-range-invisible'.
9319         (isearch-filter-visible): Make obsolete.
9320         (isearch-lazy-highlight-search):
9321         Call `run-hook-with-args-until-failure' on
9322         `isearch-filter-predicates' and use `isearch-range-invisible'.
9324         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9325         `isearch-filter-predicates' instead of `funcall'ing
9326         `isearch-filter-predicate'.
9327         (Info-mode): Set `Info-isearch-filter' to
9328         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9330         * dired-aux.el (dired-isearch-filter-predicate-orig):
9331         Remove variable.
9332         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9333         (dired-isearch-filenames-end): Add and remove
9334         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9335         instead of changing the value of `isearch-filter-predicate'.
9336         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9337         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9338         Put property `isearch-message-prefix' to "filename " on
9339         `dired-isearch-filter-filenames'.
9341         * wdired.el (wdired-change-to-wdired-mode):
9342         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9343         locally instead of changing `isearch-filter-predicate'.
9344         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9346 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
9348         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9349         return the commit hash (Bug#14459).  Also set the
9350         `vc-git-detached' property.
9351         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9352         (vc-git-mode-line-string): Use the same help-echo format whether
9353         in detached mode or not, because we know the actual revision now.
9354         When in detached mode, shorten the revision to 7 chars.
9356 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9358         * emacs-lisp/easy-mmode.el (define-minor-mode):
9359         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9360         mode hook and provide a docstring.
9362 2013-05-27  Alan Mackenzie  <acm@muc.de>
9364         Remove spurious syntax-table text properties inserted by C-y.
9365         * progmodes/cc-mode.el (c-after-change): Also clear hard
9366         syntax-table property with value nil.
9368 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
9370         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9371         when reading the events; the buffer layout shall not be changed.
9373 2013-05-27  Leo Liu  <sdl.web@gmail.com>
9375         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9376         New variable.
9377         (inferior-octave-directory-tracker): Automatically re-sync
9378         default-directory.
9379         (octave-help): Improve handling of 'See also'.
9381 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9383         * doc-view.el: Minor naming convention tweaks.
9384         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9386         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9387         even if there's no `display' property yet (bug#14435).
9389 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
9391         * subr.el (unmsys--file-name): Rename from reveal-filename.
9393         * Makefile.in (custom-deps, finder-data, autoloads)
9394         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9395         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9396         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9398 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9400         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9401         error-completion on the first 2 args of condition-case (bug#14446).
9402         Don't burp at EOB.
9404 2013-05-25  Leo Liu  <sdl.web@gmail.com>
9406         * comint.el (comint-previous-matching-input): Do not flood the
9407         *Messages* buffer with trivial messages.
9409 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9411         * progmodes/flymake.el (flymake-nop): Don't return a string.
9412         (flymake-set-at): Fix typo.
9414         * simple.el (read--expression): New function, extracted from
9415         eval-expression.  Set completion-at-point-functions (bug#14465).
9416         (eval-expression, eval-minibuffer): Use it.
9418 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
9420         * progmodes/flymake.el (flymake-save-buffer-in-file)
9421         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9422         (flymake-selected-frame, flymake-log, flymake-ins-after)
9423         (flymake-set-at, flymake-get-buildfile-from-cache)
9424         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9425         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9426         Refine the doc string.
9427         (flymake-get-file-name-mode-and-masks): Reformat.
9428         (flymake-get-real-file-name-function): Fix a minor bug.
9430 2013-05-24  Juri Linkov  <juri@jurta.org>
9432         * progmodes/grep.el (grep-mode-font-lock-keywords):
9433         Support =linenumber= format used by git-grep for lines with
9434         function names.  (Bug#13549)
9436 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9438         * progmodes/octave.el (octave-smie-rules): Return nil rather than
9439         0 after a semi-colon; it works better for smie-auto-fill.
9440         (octave--indent-new-comment-line): New function.
9441         (octave-indent-new-comment-line): Use it (indirectly).
9442         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
9443         modify comment-line-break-function.
9445         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9446         (smie-setup): Use add-function to set it.
9448 2013-05-24  Sam Steingold  <sds@gnu.org>
9450         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9451         argument (before the `interactive' argument).
9453 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9455         * image-mode.el (image-mode-winprops): Add winprops to
9456         image-mode-winprops-alist before running
9457         image-mode-new-window-functions.
9458         * doc-view.el (doc-view-new-window-function): Don't delay
9459         doc-view-goto-page via timers (bug#14435).
9461 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
9463         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
9464         (doc-view-desktop-save-buffer): New function.
9465         (doc-view-restore-desktop-buffer): New function.
9466         (desktop-buffer-mode-handlers):
9467         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9468         handler.
9469         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9470         `desktop-save-buffer' function.
9472 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
9474         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9475         (tramp-gvfs-file-name-handler): Raise a user error when
9476         `tramp-gvfs-enabled' is nil.
9477         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9478         Do not raise a user error when loading package.  (Bug#14447)
9480         * net/xesam.el: Move to obsolete/.
9482 2013-05-24  Glenn Morris  <rgm@gnu.org>
9484         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9486         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9488         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9489         (Info-find-node, Man-getpage-in-background): Declare.
9491         * mail/unrmail.el (unrmail):
9492         Replace obsolete detect-coding-with-priority.
9494         * net/socks.el (socks-split-string): Use this rather than split-string.
9495         (socks-nslookup-host): Update for above change.
9496         (dynamic-choice, s5-dynamic-choice-match)
9497         (s5-dynamic-choice-match-inline, s5-widget-value-create):
9498         Comment out unused code.
9500         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9501         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9502         (gud-tooltip-echo-area): Make obsolete.
9503         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9505         * progmodes/js.el (js--optimize-arglist): Declare.
9507         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9509         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9510         (ediff-window-C): Declare.
9512         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9513         Tweak requires to silence compiler.
9515         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9516         (he-search-string, he-tried-table, he-expand-list)
9517         (he-init-string, he-string-member, he-substitute-string)
9518         (he-reset-string): Declare.
9520         * obsolete/options.el (list-options): Use custom-variable-p,
9521         rather than obsolete alias.
9523 2013-05-23  Sam Steingold  <sds@gnu.org>
9525         * simple.el (shell-command-on-region): Pass the `replace' argument
9526         down to `call-process-region' to comply with the doc as reported on
9527         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9529 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9531         * emacs-lisp/smie.el (smie-indent-forward-token)
9532         (smie-indent-backward-token): Handle string tokens (bug#14381).
9534 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9536         * ielm.el (ielm-menu): New menu.
9537         (inferior-emacs-lisp-mode): Set comment-start.
9539 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9541         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9542         Fix deactivate action.
9544         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9545         Add cleveref macros.
9547         * lisp/textmodes/reftex-parse.el
9548         (reftex-locate-bibliography-files): Accept options for
9549         bibliography commands.
9550         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9551         Add addbibresource.  Basic Biblatex support.
9553 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
9555         * net/tramp-gvfs.el (top):
9556         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9557         when loading package.  (Bug#14447)
9559 2013-05-23  Glenn Morris  <rgm@gnu.org>
9561         * progmodes/js.el: No need to load comint when compiling.
9562         (ring-insert, comint-send-string, comint-send-input)
9563         (comint-last-input-end, ido-chop): Declare.
9565         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9566         * vc/ediff-mult.el: Adjust requires.
9567         (ediff-directories-internal, ediff-directory-revisions-internal)
9568         (ediff-patch-file-internal): Declare.
9569         * vc/ediff-ptch.el: Adjust requires.
9570         (ediff-use-last-dir, ediff-buffers-internal): Declare.
9571         (ediff-find-file): Autoload.
9572         * vc/ediff-util.el: No need to load ediff when compiling.
9573         (ediff-regions-internal): Declare.
9574         * vc/ediff-wind.el: Adjust requires.
9575         (ediff-compute-toolbar-width): Define when compiling.
9576         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9577         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9578         (dired-get-filename, dired-get-marked-files)
9579         (ediff-last-dir-patch, ediff-patch-default-directory)
9580         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9581         (ediff-patch-buffer-internal): Declare.
9583         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9584         (ispell-process, ispell-buffer-local-words, lm-summary)
9585         (lm-section-start, lm-section-end): Declare.
9586         (checkdoc-ispell-init): Simplify.
9588         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9589         (he-string-member, he-reset-string, he-substitute-string): Declare.
9591         * eshell/em-ls.el: Adjust requires.
9592         (eshell-glob-regexp): Declare.
9593         * eshell/em-tramp.el: Adjust requires.
9594         (eshell-parse-command): Autoload.
9595         * eshell/em-xtra.el: Adjust requires.
9596         (eshell-parse-command): Autoload.
9597         * eshell/esh-ext.el: Adjust requires.
9598         (eshell-parse-command, eshell-close-handles): Autoload.
9599         * eshell/esh-io.el: Adjust requires.
9600         (eshell-output-filter): Autoload.
9601         * eshell/esh-util.el: No need to load tramp when compiling.
9602         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9603         Declare.
9604         (eshell-parse-ange-ls): Require ange-ftp and tramp.
9605         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9606         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9607         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9608         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9609         * eshell/esh-opt.el, eshell/esh-proc.el:
9610         * eshell/esh-var.el: Adjust requires.
9611         * eshell/eshell.el: Do not require esh-util twice.
9612         (eshell-add-input-to-history): Declare.
9613         (eshell-command): Check history module is active before using it.
9615         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9617 2013-05-22  Leo Liu  <sdl.web@gmail.com>
9619         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9621 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
9623         * autorevert.el (auto-revert-notify-add-watch)
9624         (auto-revert-notify-handler): Add `attrib' for the inotify case,
9625         it indicates changes in file modification time.
9627 2013-05-22  Glenn Morris  <rgm@gnu.org>
9629         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9630         Always delete the autoloaded function from the noruntime and
9631         unresolved functions lists.
9633         * allout.el: No need to load epa, epg, overlay when compiling.
9634         (epg-context-set-passphrase-callback, epg-list-keys)
9635         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9636         (epg-key-user-id-list): Declare.
9638         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9639         (viper-set-parsing-style-toggling-macro)
9640         (viper-set-emacs-state-searchstyle-macros):
9641         Use called-interactively-p on Emacs.
9642         (viper-looking-back): Make it an obsolete alias.  Update callers.
9643         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9644         Use looking-back rather than viper-looking-back.
9645         (viper-tmp-insert-at-eob, viper-enlarge-region)
9646         (viper-read-string-with-history, viper-register-to-point)
9647         (viper-append-to-register, viper-change-state-to-vi)
9648         (viper-backward-char-carefully, viper-forward-char-carefully)
9649         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9650         (viper-change-state-to-emacs): Declare.
9651         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9652         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9653         * emulation/viper-mous.el: Do not load viper-cmd.
9654         (viper-backward-char-carefully, viper-forward-char-carefully)
9655         (viper-forward-word, viper-adjust-window): Declare.
9657         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9659         * progmodes/idlw-help.el (idlwave-help-fontify):
9660         Use called-interactively-p.
9662         * term/w32console.el (w32-get-console-codepage)
9663         (w32-get-console-output-codepage): Declare.
9665         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9666         Remove unnecessary declarations.
9667         (dframe-message): Doc fix.
9669         * info.el (dframe-select-attached-frame, dframe-current-frame):
9670         Declare.
9672         * speedbar.el (speedbar-message): Make it an obsolete alias.
9673         Update all callers.
9674         (speedbar-with-attached-buffer)
9675         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9676         (speedbar-with-writable): Use backquote.
9677         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9678         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9679         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9680         rather than speedbar- aliases.
9681         * mail/rmail.el: Load dframe rather than speedbar when compiling.
9682         (speedbar-make-specialized-keymap, speedbar-insert-button)
9683         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9684         (speedbar-do-function-pointer): Declare.
9685         (rmail-speedbar-button, rmail-speedbar-find-file)
9686         (rmail-speedbar-move-message):
9687         Use dframe-with-attached-buffer rather than speedbar- alias.
9688         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9689         (dframe-message, speedbar-make-specialized-keymap)
9690         (speedbar-add-expansion-list, speedbar-mode-functions-list)
9691         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9692         (speedbar-insert-button, dframe-select-attached-frame)
9693         (dframe-maybee-jump-to-attached-frame)
9694         (speedbar-change-initial-expansion-list)
9695         (speedbar-previously-used-expansion-list-name): Declare.
9696         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9697         Use dframe-message, dframe-with-attached-buffer rather than
9698         speedbar- aliases.
9699         (gud-sentinel): Silence compiler.
9700         * progmodes/vhdl-mode.el (speedbar-refresh)
9701         (speedbar-do-function-pointer, speedbar-add-supported-extension)
9702         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9703         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9704         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9705         (speedbar-file-lists, speedbar-make-tag-line)
9706         (speedbar-line-directory, speedbar-goto-this-file)
9707         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9708         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9709         (speedbar-make-button, speedbar-reset-scanners)
9710         (speedbar-files-item-info, speedbar-line-text)
9711         (speedbar-find-file-in-frame, speedbar-set-timer)
9712         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9713         (speedbar-with-writable): Do not (re)define it.
9714         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9715         rather than speedbar- alias.
9717 2013-05-21  Leo Liu  <sdl.web@gmail.com>
9719         * progmodes/octave.el (octave-mode-menu): Update and re-organize
9720         menu items.
9721         (octave-mode): Tweak fill-nobreak-predicate.
9722         (inferior-octave-startup): Check process to avoid infinite loop.
9723         (inferior-octave): Pop to buffer first to show abornmal process
9724         exit information.
9726 2013-05-21  Glenn Morris  <rgm@gnu.org>
9728         * printing.el (pr-menu-bar): Define when compiling.
9730 2013-05-21  Leo Liu  <sdl.web@gmail.com>
9732         * progmodes/octave.el (octave-auto-fill): Remove.
9733         (octave-indent-new-comment-line): Improve.
9734         (octave-mode): Use auto fill mode through
9735         comment-line-break-function and fill-nobreak-predicate.
9736         (octave-goto-function-definition): Support DEFUN_DLD.
9737         (octave-beginning-of-defun): Small tweak.
9738         (octave-help): Show parent directory.
9740 2013-05-21  Glenn Morris  <rgm@gnu.org>
9742         * files.el (dired-unmark):
9743         * progmodes/gud.el (gdb-input): Update declarations.
9745         * calculator.el (electric, ehelp): No need to load when compiling.
9746         (Electric-command-loop, electric-describe-mode): Declare.
9748         * doc-view.el (doc-view-current-converter-processes): Move before use.
9750         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9751         Move MODE-set-explicitly definition before use.
9753         * international/mule-diag.el (mule-diag):
9754         Don't use obsolete window-system-version.
9756         * mail/feedmail.el (smtpmail): No need to load when compiling.
9757         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9759         * mail/mail-utils.el (rfc822): No need to load when compiling.
9760         (rfc822-addresses): Autoload it.
9761         (mail-strip-quoted-names): Trivial simplification.
9763         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9764         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9766         * net/snmp-mode.el (tempo): Don't duplicate requires.
9768         * progmodes/prolog.el (info): No need to load when compiling.
9769         (comint): Require before shell requires it.
9770         (Info-goto-node): Autoload it.
9771         (Info-follow-nearest-node): Declare.
9772         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9774         * textmodes/artist.el (picture-mode-exit): Declare.
9776         * textmodes/reftex-parse.el (reftex-parse-from-file):
9777         Trivial rewrite so the compiler can parse it better.
9779 2013-05-20  Leo Liu  <sdl.web@gmail.com>
9781         * progmodes/octave.el (octave-help-mode-map)
9782         (octave-help-mode-finish-hook): New variables.
9783         (octave-help-mode, octave-help-mode-finish): New functions.
9784         (octave-help): Use octave-help-mode.
9786 2013-05-20  Glenn Morris  <rgm@gnu.org>
9788         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
9790 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
9792         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9793         start at point, so that expansion starting right after opening
9794         slash in a regexp is recognized.
9795         (ruby-syntax-before-regexp-re): New defvar, extracted from
9796         ruby-syntax-propertize-function.  Since the value of this regexp
9797         is looked up at runtime now, we should be able to turn
9798         `ruby-syntax-methods-before-regexp' into a defcustom later.
9799         (ruby-syntax-propertize-function): Split regexp matching into two
9800         parts, for opening and closing slashes.  That allows us to skip
9801         over string interpolations and support multiline regexps.
9802         Don't call `ruby-syntax-propertize-expansions', instead use another rule
9803         for them, which calls `ruby-syntax-propertize-expansion'.
9804         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9805         call to `ruby-syntax-propertize-function'.
9806         (ruby-syntax-propertize-expansion): Extracted from
9807         `ruby-syntax-propertize-expansions'.  Handles one expansion.
9808         (ruby-syntax-propertize-percent-literal): Leave point right after
9809         the percent symbol, so that the expression expansion rule can
9810         propertize the contents.
9811         (ruby-syntax-propertize-heredoc): Leave point at bol following the
9812         heredoc openers.
9813         (ruby-syntax-propertize-expansions): Remove.
9815 2013-05-18  Juri Linkov  <juri@jurta.org>
9817         * man.el (Man-default-man-entry): Remove `-' from the end
9818         of the default value.  (Bug#14400)
9820 2013-05-18  Glenn Morris  <rgm@gnu.org>
9822         * comint.el (comint-password-prompt-regexp):
9823         Allow "password for XXX" where XXX contains colons (eg https://...).
9825 2013-05-18  Leo Liu  <sdl.web@gmail.com>
9827         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9828         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
9829         (octave-source-directories): Don't check process.
9830         (octave-source-directories, octave-find-definition): Doc fix.
9832 2013-05-18  Glenn Morris  <rgm@gnu.org>
9834         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9835         Remove backspace/delete bindings.  (Bug#14392)
9837         * cus-dep.el (custom-make-dependencies): Sort the output.
9838         (custom-versions-load-alist): Convert comment to doc.
9840 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9842         * newcomment.el (comment-search-backward): Stricter in finding
9843         comment start.  (Bug#14303)
9845         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9846         (octave-comment-start-skip): Properly anchored.
9848 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9850         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9851         Clean up when turned off.  (Bug#14395)
9852         (smie--highlight-matching-block-overlay): No longer buffer-local.
9853         (smie-highlight-matching-block): Adjust.
9855 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
9857         Doc string fix for "nanoseconds" (Bug#14406).
9858         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9859         Fix doc string typo that had "nanoseconds" instead of "microseconds".
9861 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9863         * calc/calc-units.el (math-extract-units): Preserve powers
9864         of units.
9866 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9868         * subr.el (delete-consecutive-dups): New function.
9869         * ido.el (ido-set-matches-1): Use it.
9870         * progmodes/octave.el (inferior-octave-completion-table): Use it.
9871         * ido.el (ido-remove-consecutive-dups): Remove.
9873 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9875         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9876         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9877         regexp-opt's `words'.
9879 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9881         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9882         (smie--highlight-matching-block-overlay)
9883         (smie--highlight-matching-block-lastpos)
9884         (smie--highlight-matching-block-timer): New variables.
9885         (smie-highlight-matching-block): New function.
9886         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
9887         (smie-setup): Conditionally enable smie-blink-matching-open.
9889 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
9891         Sync with upstream verilog-mode r840.
9892         * progmodes/verilog-mode.el (verilog-mode-version)
9893         (verilog-mode-release-date): Update.
9894         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9895         (verilog-sig-tieoff): Fix string error on
9896         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
9897         (verilog-read-decls): Fix parameters confusing
9898         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
9900 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
9902         * subr.el (reveal-filename): New function.
9904         * loadup.el: Compute Emacs executable versions on MS-Windows,
9905         where executables have the .exe extension.  Add a hard link
9906         emacs-XX.YY.ZZ.exe on MS-Windows.
9908         * Makefile.in (XARGS_LIMIT): New variable.
9909         (custom-deps, finder-data, autoloads)
9910         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9911         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9912         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9913         (compile-main): Limit xargs according to $(XARGS_LIMIT).
9915 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9917         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9918         (octave-mode-menu, octave-mode-map): Remove its uses.
9920 2013-05-16  Reto Zimmermann  <reto@gnu.org>
9922         Sync with upstream vhdl mode v3.34.2.
9923         * progmodes/vhdl-mode.el: Use `push' throughout.
9924         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9925         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9926         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
9927         (vhdl-actual-generic-name): New option to derive actual generic name.
9928         (vhdl-port-paste-signals): Replace formal by actual generics.
9929         (vhdl-beautify): New name for old group vhdl-align.  Update users.
9930         (vhdl-beautify-options): New option.
9931         (vhdl-last-input-event): New compat alias.  Use throughout.
9932         (vhdl-goto-line): Replace user level function `goto-line'.
9933         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9934         vhdl-fix-statement-buffer.
9935         (vhdl-create-mode-menu): Add some entries.
9936         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9937         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9938         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9939         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9940         to force statements on one line.
9941         (vhdl-remove-trailing-spaces-region):
9942         New, split from vhdl-remove-trailing-spaces.
9943         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9944         Respect vhdl-beautify-options.
9945         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9946         (vhdl-update-sensitivity-list): Not add with index if exists without.
9947         Not include array index with signal.  Ignore keywords in comments.
9948         (vhdl-get-visible-signals): Regexp tweaks.
9949         (vhdl-template-component-inst): Handle empty library.
9950         (vhdl-template-type): Add template for 'enum' type.
9951         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9952         Use vhdl-replace-string.
9953         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9954         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9955         (vhdl-speedbar-initialize): Update for above name change.
9956         (vhdl-compose-wire-components): Fix in handling of constants.
9957         (vhdl-error-regexp-emacs-alist): New variable.
9958         (vhdl-error-regexp-add-emacs): New function;
9959         adds support for new compile.el (Emacs 22+)
9960         (vhdl-generate-makefile-1): Change target order for single lib. units.
9961         Allow use of absolute file names.
9963 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9965         * simple.el (prog-indent-sexp): Indent enclosing defun.
9967 2013-05-15  Glenn Morris  <rgm@gnu.org>
9969         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9970         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9971         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9972         (whitespace-highlight): Move to whitespace group.
9974         * comint.el (comint-source):
9975         * pcmpl-linux.el (pcmpl-linux):
9976         * shell.el (shell-faces):
9977         * eshell/esh-opt.el (eshell-opt):
9978         * international/ccl.el (ccl): Remove empty custom groups.
9980         * completion.el (dynamic-completion-mode):
9981         * jit-lock.el (jit-lock-debug-mode):
9982         * minibuffer.el (completion-in-region-mode):
9983         * type-break.el (type-break-mode-line-message-mode)
9984         (type-break-query-mode):
9985         * emulation/tpu-edt.el (tpu-edt-mode):
9986         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9987         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9988         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9990         * term/xterm.el (xterm): Change parent group to terminals.
9992         * master.el (master): Remove empty custom group.
9993         (master-mode): Remove unused :group argument.
9994         * textmodes/refill.el (refill): Remove empty custom group.
9995         (refill-mode): Remove unused :group argument.
9997         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9999         * cus-dep.el: Provide a feature.
10000         (custom-make-dependencies): Ignore dotfiles (dir-locals).
10001         Don't mistakenly ignore files whose basenames match a basename
10002         from preloaded-file-list (eg cedet/ede/simple.el).
10003         Add a fallback method for getting :group.
10005 2013-05-15  Juri Linkov  <juri@jurta.org>
10007         * isearch.el (isearch-char-by-name): Rename from
10008         `isearch-insert-char-by-name'.  Doc fix.
10009         (isearch-forward): Mention `isearch-char-by-name' in
10010         the docstring.  (Bug#13348)
10012         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10013         `exit-minibuffer' instead of
10014         `isearch-nonincremental-exit-minibuffer'.
10015         (isearch-edit-string): Remove mention of
10016         `isearch-nonincremental-exit-minibuffer' from docstring.
10017         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10018         (isearch-forward-exit-minibuffer)
10019         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
10021 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10023         * loadup.el: Just use unversioned DOC.
10025         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10026         literals as extending to EOB.
10027         (nxml-last-fontify-end): Remove unused variable.
10028         (nxml-after-change1): Use with-silent-modifications.
10029         (nxml-extend-after-change-region): Simplify.
10030         (nxml-extend-after-change-region1): Remove function.
10031         (nxml-after-change1): Don't adjust for dependent regions.
10032         (nxml-fontify-matcher): Simplify.
10033         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10034         (xmltok-add-dependent): Remove function.
10035         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10036         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10037         (xmltok-scan-prolog-after-processing-instruction-open): Treat
10038         unclosed <[[, <?, comment, and other literals as extending to EOB.
10039         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10040         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10041         Remove functions.
10042         (rng-do-some-validation-1): Don't mark dependent regions.
10043         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10044         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10045         (nxml-clear-dependent-regions): Remove functions.
10046         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10047         (nxml-ensure-scan-up-to-date):
10048         Don't clear&mark dependent regions.
10050 2013-05-15  Leo Liu  <sdl.web@gmail.com>
10052         * progmodes/octave.el (octave-goto-function-definition):
10053         Improve and fix callers.
10055 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10057         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10058         the setter (bug#14387).
10060         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10061         surrounding group (bug#14402).
10063 2013-05-14  Juri Linkov  <juri@jurta.org>
10065         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10066         (Bug#14390)
10068 2013-05-14  Glenn Morris  <rgm@gnu.org>
10070         * progmodes/f90.el (f90-imenu-generic-expression):
10071         Fix typo in 2013-05-08 change.  (Bug#14402)
10073 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10075         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10076         Remove signals for which replies are never received.
10078 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10080         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10081         (gdb-handler-alist, gdb-handler-number): Remove variables.
10082         (gdb-handler-list): New variable.
10083         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10084         (gdb-pending-handler-p, gdb-handle-reply)
10085         (gdb-remove-all-pending-triggers): New functions.
10086         (gdb-discard-unordered-replies): New defcustom.
10087         (gdb-handler): New defstruct.
10088         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
10089         instead of gdb-pending-triggers.  Update docstring.
10090         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
10091         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10092         (gdb-var-update-handler, def-gdb-auto-update-trigger)
10093         (def-gdb-auto-update-handler, gdb-get-changed-registers)
10094         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10095         (gdb-frame-handler): Pending triggers are now automatically managed.
10096         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10097         Remove argument.
10098         (gdb-input): Automatically handles pending triggers.  Update docstring.
10099         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10100         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10101         Update comments.
10102         (gdb-done-or-error): Now use gdb-handle-reply.
10104 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10106         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10107         gdb-debug-log.
10109 2013-05-14  Glenn Morris  <rgm@gnu.org>
10111         * subr.el (user-emacs-directory-warning): New option.
10112         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
10114 2013-05-14  Leo Liu  <sdl.web@gmail.com>
10116         * progmodes/octave.el (octave-font-lock-keywords): Fix error
10117         during redisplay.
10118         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10119         (octave-font-lock-texinfo-comment): Fix invalid search bound
10120         error: wrong side of point.
10122 2013-05-14  Glenn Morris  <rgm@gnu.org>
10124         * progmodes/flymake.el (flymake-xml-program): New option.
10125         (flymake-xml-init): Use it.
10127         * term/xterm.el: Provide a feature.
10129         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
10131 2013-05-13  Glenn Morris  <rgm@gnu.org>
10133         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10134         Add compat aliases as a hack workaround.  (Bug#14384)
10136 2013-05-13  Leo Liu  <sdl.web@gmail.com>
10138         * progmodes/octave.el (octave-indent-comment): Fix indentation for
10139         ###, and %!.
10140         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10141         C-M-q.
10142         (octave-comment-start-skip): Include %!.
10143         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10145 2013-05-12  Leo Liu  <sdl.web@gmail.com>
10147         * progmodes/octave.el (inferior-octave-startup): Store the value
10148         of __octave_srcdir__ for octave-source-directories.
10149         (inferior-octave-check-process): New function refactored out of
10150         inferior-octave-send-list-and-digest.
10151         (octave-source-directories)
10152         (octave-find-definition-filename-function): New variables.
10153         (octave-source-directories)
10154         (octave-find-definition-default-filename): New functions.
10155         (octave-find-definition): Improve to find functions implemented in C++.
10157 2013-05-12  Glenn Morris  <rgm@gnu.org>
10159         * calendar/diary-lib.el (diary-outlook-format-1):
10160         Don't include dayname in the output.  (Bug#14349)
10162 2013-05-11  Glenn Morris  <rgm@gnu.org>
10164         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10166         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10167         Treat cc-provide like provide.
10169 2013-05-11  Kevin Ryde  <user42@zip.com.au>
10171         * cus-dep.el (custom-make-dependencies):
10172         Use generated-autoload-load-name for the sake of files such
10173         such cedet/semantic/bovine/c.el, where the base file name
10174         is not in load-path.  (Bug#5277)
10176 2013-05-11  Glenn Morris  <rgm@gnu.org>
10178         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10179         Provide features.
10181 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10183         * progmodes/octave.el (octave-indent-comment): Improve.
10184         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10185         (octave-eldoc-function-signatures, octave-eldoc-function):
10186         New functions.
10187         (octave-mode, inferior-octave-mode): Add eldoc support.
10189 2013-05-11  Richard Stallman  <rms@gnu.org>
10191         * epa.el (epa-decrypt-file): Take output file name as argument
10192         and read it using `interactive'.
10194 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10196         * progmodes/octave.el (octave-beginning-of-line)
10197         (octave-end-of-line): Check before using up-list because it jumps
10198         out of more syntactic contructs since moving to smie.
10199         (octave-indent-comment): New function.
10200         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
10201         (octave-begin-keywords, octave-end-keywords)
10202         (octave-reserved-words, octave-smie-bnf-table)
10203         (octave-smie-rules): Add new keywords from Octave 3.6.4.
10205 2013-05-11  Glenn Morris  <rgm@gnu.org>
10207         * faces.el (internal-face-x-get-resource):
10208         * frame.el (ns-display-monitor-attributes-list):
10209         * calc/calc-aent.el (math-to-radians-2):
10210         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10211         Fix declarations.
10213         * calc/calc-menu.el: Make it loadable in isolation.
10215         * net/eudcb-bbdb.el: Make it loadable without bbdb.
10216         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10217         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10218         (eudc-bbdb-query-internal): Require 'bbdb.
10220         * lpr.el (lpr-headers-switches):
10221         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10223         * progmodes/sql.el (sql-login-params): Fix and improve :type.
10225         * emulation/edt-mapper.el: In batch mode, error rather than hang.
10227         * term.el (term-set-escape-char): Make it idempotent.
10229 2013-05-10  Leo Liu  <sdl.web@gmail.com>
10231         * progmodes/octave.el (inferior-octave-completion-table):
10232         No longer a function and all uses changed.  Use cache to speed up
10233         completion due to bug#11906.
10234         (octave-beginning-of-defun): Re-write to be more general.
10236 2013-05-10  Glenn Morris  <rgm@gnu.org>
10238         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10240 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10242         * comint.el (comint-redirect-send-command-to-process): Use :around
10243         rather than :override for comint-redirect-filter.
10244         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10245         Call it instead of comint-redirect-original-filter-function (which
10246         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
10248 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
10250         * frame.el (display-monitor-attributes-list): Add NS case.
10251         (ns-display-monitor-attributes-list): Declare.
10253 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
10255         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
10257 2013-05-09  Glenn Morris  <rgm@gnu.org>
10259         * international/fontset.el (vertical-centering-font-regexp):
10260         Set standard-value.
10262         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10264         * bookmark.el (bookmark-search-delay):
10265         * cus-start.el (vertical-centering-font-regexp):
10266         * ps-mule.el (ps-mule-font-info-database-default):
10267         * ps-print.el (ps-default-fg, ps-default-bg):
10268         * type-break.el (type-break-good-break-interval):
10269         * whitespace.el (whitespace-indentation-regexp)
10270         (whitespace-space-after-tab-regexp):
10271         * emacs-lisp/testcover.el (testcover-1value-functions)
10272         (testcover-noreturn-functions, testcover-progn-functions)
10273         (testcover-prog1-functions):
10274         * emulation/viper-init.el (viper-emacs-state-cursor-color):
10275         * eshell/em-glob.el (eshell-glob-translate-alist):
10276         * play/tetris.el (tetris-tty-colors):
10277         * progmodes/cpp.el (cpp-face-default-list):
10278         * progmodes/flymake.el (flymake-allowed-file-name-masks):
10279         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10280         (idlwave-help-browser-generic-args):
10281         * progmodes/make-mode.el (makefile-special-targets-list):
10282         * progmodes/python.el (python-shell-virtualenv-path):
10283         * progmodes/verilog-mode.el (verilog-active-low-regexp)
10284         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10285         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10286         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10287         * textmodes/reftex-vars.el (reftex-format-label-function):
10288         * textmodes/remember.el (remember-diary-file): Fix custom types.
10290         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10291         Add :version.
10293 2013-05-09  Leo Liu  <sdl.web@gmail.com>
10295         * progmodes/octave.el (inferior-octave-completion-at-point):
10296         Restore file completion.  (Bug#14300)
10297         (inferior-octave-startup): Fix incorrect highlighting for the
10298         first prompt.
10300 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10302         * progmodes/ruby-mode.el: First cut at SMIE support.
10303         (ruby-use-smie): New var.
10304         (ruby-smie-grammar): New constant.
10305         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10306         (ruby-smie--forward-token, ruby-smie--backward-token)
10307         (ruby-smie-rules): New functions.
10308         (ruby-mode-variables): Setup SMIE if applicable.
10310 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
10312         * simple.el (line-move-visual): Signal beginning/end of buffer
10313         only if vertical-motion moved less than it was requested.  Avoids
10314         silly incorrect error messages when there are display strings with
10315         multiple newlines at EOL.
10317 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10319         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10320         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10321         (prolog-char-quote-workaround):
10322         * progmodes/cperl-mode.el (cperl-under-as-char):
10323         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10324         Mark as obsolete.
10325         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10326         their declaration.
10327         (vhdl-mode-syntax-table-init): Remove.
10329         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10330         last change.
10332         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10333         syntax for "_".
10334         (ld-script-font-lock-keywords):
10335         Change regexps to use things like \_< and \_>.
10337         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10338         Change all regexps to use things like \_< and \_>.
10340         * progmodes/autoconf.el (autoconf-definition-regexp)
10341         (autoconf-font-lock-keywords, autoconf-current-defun-function):
10342         Handle a _ with symbol syntax.
10343         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10345         * progmodes/ada-mode.el (ada-mode-abbrev-table):
10346         Consolidate declaration.
10347         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10348         the declaration.
10349         (ada-create-syntax-table): Remove.
10350         (ada-capitalize-word): Don't mess with the syntax of "_" since it
10351         already has the right syntax nowadays.
10352         (ada-goto-next-word): Don't change the syntax of "_".
10354         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10355         with-wrapper-hook.
10357 2013-05-08  Sam Steingold  <sds@gnu.org>
10359         * thingatpt.el (thing-at-point): Accept optional second argument
10360         NO-PROPERTIES to strip the text properties from the return value.
10361         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10362         to `thing-at-point' instead of stripping the properties ourselves.
10363         Also, when `thing-at-point' fails to find a url, prepend "http://"
10364         to the filename at point on the assumption that the user is
10365         pointing at something like gnu.org/gnu.
10367 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
10369         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10370         * faces.el (crm-separator):
10371         Silence byte-compiler.
10373         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10374         (tool-bar-map): Remove unneeded defvars.
10376 2013-05-08  Leo Liu  <sdl.web@gmail.com>
10378         Re-work a fix for bug#10994 based on Le Wang's patch.
10379         * ido.el (ido-remove-consecutive-dups): New helper.
10380         (ido-completing-read): Use it.
10381         (ido-chop): Revert fix for bug#10994.
10383 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
10385         * cus-edit.el (custom-save-variables):
10386         Pretty-print long values.  (Bug#14187)
10388 2013-05-08  Glenn Morris  <rgm@gnu.org>
10390         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10391         (m4-mode-syntax-table): Init in the defvar.
10392         (m4-mode-abbrev-table): Let define-derived-mode define it.
10394 2013-05-08  Tom Tromey  <tromey@redhat.com>
10396         * progmodes/m4-mode.el (m4-mode-syntax-table):
10397         Do not treat "_" as word constituent.  (Bug#14167)
10399 2013-05-07  Glenn Morris  <rgm@gnu.org>
10401         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10402         Remove explicit eshell-isearch-cancel-map.
10404         * progmodes/f90.el (f90-smart-end-names): New option.
10405         (f90-smart-end): Doc fix.
10406         (f90-end-block-optional-name): New constant.
10407         (f90-block-match): Respect f90-smart-end-names.
10409 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10411         * progmodes/octave.el (octave-smie-forward-token): Be more careful
10412         about implicit semi-colons (bug#14218).
10414 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10416         * frame.el (display-monitor-attributes-list)
10417         (frame-monitor-attributes): New functions.
10419 2013-05-06  Leo Liu  <sdl.web@gmail.com>
10421         * progmodes/octave.el (octave-syntax-propertize-function): Change
10422         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
10423         (octave-font-lock-keywords): Use octave-operator-regexp.
10424         (octave-completion-at-point): Rename from
10425         octave-completion-at-point-function.
10426         (inferior-octave-directory-tracker): Robustify.
10427         (octave-text-functions): Remove and fix its uses.  No such things
10428         any more.
10430 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10432         * emacs-lisp/trace.el (trace--display-buffer): New function.
10433         (trace-make-advice): Use it.
10435 2013-05-06  Juri Linkov  <juri@jurta.org>
10437         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
10438         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10439         Doc fix.
10440         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10441         in the help string.  (Bug#12985)
10443 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
10445         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
10447 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10449         * progmodes/perl-mode.el: Add support for here documents.
10450         (perl-syntax-propertize-function): Match here-doc markers.
10451         (perl-syntax-propertize-special-constructs): Find their end.
10452         (perl-imenu-generic-expression): Use [:alnum:].
10454         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10455         (advice--add-function): Refresh the advice if already present
10456         (bug#14317).
10458 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
10460         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
10462 2013-05-06  Glenn Morris  <rgm@gnu.org>
10464         * w32-fns.el (w32-charset-info-alist): Declare.
10466         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10467         of its defcustom properties.
10468         (eshell-cmpl-initialize): No need to load pcomplete.
10470         * generic-x.el: No need to require comint when compiling.
10472         * net/eudc-export.el: Make it loadable without bbdb.
10473         (top-level): Use require rather than load-library.
10474         (eudc-create-bbdb-record, eudc-bbdbify-phone)
10475         (eudc-batch-export-records-to-bbdb)
10476         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10477         Require bbdb.
10479 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10481         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10482         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10483         some tweaks, instead.
10485 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10487         * progmodes/octave.el (octave-font-lock-keywords)
10488         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10489         (inferior-octave-send-list-and-digest): Improve error message.
10490         (octave-mode, inferior-octave-mode): Use setq-local.
10491         (octave-help): Set info-lookup-mode.
10493 2013-05-05  Richard Stallman  <rms@gnu.org>
10495         * vc/compare-w.el (compare-windows-whitespace):
10496         Treat no-break space as whitespace.
10498         * mail/rmailsum.el (rmail-summary-rmail-update):
10499         Detect empty summary and don't change selected message.
10500         (rmail-summary-goto-msg): Likewise.
10502         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10503         Doc fixes, rename args.
10505 2013-05-05  Alan Mackenzie  <acm@muc.de>
10507         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10509 2013-05-05  Juri Linkov  <juri@jurta.org>
10511         * info.el (Info-read-subfile): Use (point-min) instead of (point)
10512         to not add the length of the summary segment to the return value.
10513         (Bug#14125)
10515 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10517         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10518         (inferior-octave-output-filter): Remove.
10519         (octave-send-region, inferior-octave-startup): Fix callers.
10520         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10521         (octave-binary-file-extensions): New user variable.
10522         (octave-find-definition): Confirm if opening binary files.
10523         (octave-help-file): Use octave-find-definition to get the binary
10524         confirmation.
10525         (octave-help): Adjust for octave-help-file change.
10527 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10529         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10530         Merge the two entries that handle function definitions.
10531         (pascal--syntax-propertize): New const.
10532         (pascal-mode): Use it.  Use setq-local.
10534 2013-05-04  Glenn Morris  <rgm@gnu.org>
10536         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10537         (diary-from-outlook): Respect diary-from-outlook-function.
10539 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10541         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10542         Move the declaration from C.
10543         (read-minibuffer, eval-minibuffer): Move from C.
10544         (completion-setup-function): Avoid minibuffer-completion-contents.
10546 2013-05-03  Leo Liu  <sdl.web@gmail.com>
10548         * progmodes/octave.el (octave-font-lock-keywords): Do not
10549         dehighlight 'end' in comments or strings.
10550         (octave-completing-read, octave-goto-function-definition):
10551         New helpers.
10552         (octave-help-buffer): New user variable.
10553         (octave-help-file, octave-help-function): New button types.
10554         (octave-help): New command and bind it to C-h ;.
10555         (octave-find-definition): New command and bind it to M-.
10556         (user-error): Alias to error if not defined.
10558 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10560         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10561         for \.  (bug#14332)
10562         (octave-font-lock-keywords): Include [ and {.
10564 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10566         * progmodes/octave.el (inferior-octave-startup-file): Change default.
10567         (inferior-octave): Remove calling comint-mode and return the buffer.
10568         (inferior-octave-startup): Cosmetic changes.
10570 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10572         * progmodes/octave.el (octave-syntax-propertize-function):
10573         Include the case when ' is at line beginning.  (Bug#14336)
10575 2013-05-02  Glenn Morris  <rgm@gnu.org>
10577         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10578         * desktop.el (vc-dir-mode): Just autoload it here.
10580 2013-05-02  Alan Mackenzie  <acm@muc.de>
10582         Eliminate variable c-standard-font-lock-fontify-region-function.
10583         * progmodes/cc-mode.el
10584         (c-standard-font-lock-fontify-region-function): Remove.
10585         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10587 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10589         * progmodes/octave.el: Compatible with older emacs-24 releases.
10590         (inferior-octave-has-built-in-variables): Remove.  Built-in
10591         variables were removed from Octave in 2007.
10592         (inferior-octave-startup): Fix uses.
10593         (comint-line-beginning-position): Remove compatibility code for
10594         emacs 21.
10596 2013-05-01  Juri Linkov  <juri@jurta.org>
10598         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
10600 2013-05-01  Juri Linkov  <juri@jurta.org>
10602         * comint.el (comint-previous-matching-input): Don't print message
10603         "History item: %d" when `isearch-mode' is active.
10604         (comint-history-isearch-message): Print message "History item: %d"
10605         when `comint-input-ring-index' is not empty and this function is
10606         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
10608 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10610         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10611         definitions.  Use completion-at-point to insert keywords.
10612         (octave-abbrev-start): Remove.
10613         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10615 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10617         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10618         change.
10620 2013-04-30  Alan Mackenzie  <acm@muc.de>
10622         Handle arbitrarily long C++ member initialisation lists.
10623         * progmodes/cc-engine.el (c-back-over-member-initializers):
10624         new function.
10625         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10626         (most) member init lists.
10628 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10630         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10631         variable.
10633 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10635         * progmodes/octave.el (octave-variables): Remove.  No builtin
10636         variables any more.  All converted to functions.
10637         (octave-font-lock-keywords, octave-completion-at-point-function):
10638         Fix uses.
10639         (octave-font-lock-texinfo-comment): New user variable.
10640         (octave-texinfo-font-lock-keywords): New variable for texinfo
10641         comment block.
10642         (octave-function-comment-block): New face.
10643         (octave-font-lock-texinfo-comment): New function.
10644         (octave-mode): Font lock texinfo comment block.
10646 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10648         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10649         indexing expression.
10650         (octave-continuation-string): Do not use \.
10651         (inferior-octave-complete-impossible): Remove.
10652         (inferior-octave-completion-table)
10653         (inferior-octave-completion-at-point): Remove its uses.
10654         (inferior-octave-startup): completion_matches was introduced to
10655         Octave in 1996 so safe to assume it.
10656         (octave-function-file-comment): Improve to follow how Octave does it.
10657         (octave-update-function-file-comment): Tweak.
10659 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10661         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10662         (inferior-octave-startup): Remove inferior-octave-startup-hook.
10663         (octave-function-file-comment): Fix typo.
10664         (octave-sync-function-file-names): Use read-char-choice.
10666 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
10668         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10669         to t for the less important warnings.
10671 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
10673         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
10675 2013-04-27  Glenn Morris  <rgm@gnu.org>
10677         * vc/log-view.el (log-view-current-entry):
10678         Treat "---" separator lines as part of the following rev.  (Bug#14169)
10680 2013-04-27  Juri Linkov  <juri@jurta.org>
10682         * subr.el (read-number): Doc fix about using it by interactive
10683         code letter `n'.  (Bug#14254)
10685 2013-04-27  Juri Linkov  <juri@jurta.org>
10687         * desktop.el (desktop-auto-save-timeout): New option.
10688         (desktop-file-checksum): New variable.
10689         (desktop-save): Add optional arg `auto-save' and don't auto-save
10690         if nothing changed.
10691         (desktop-auto-save-timer): New variable.
10692         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10693         (after-init-hook): Call `desktop-auto-save-set-timer'.
10694         Suggested by Reuben Thomas <rrt@sc3d.org> in
10695         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10697 2013-04-27  Leo Liu  <sdl.web@gmail.com>
10699         * progmodes/octave.el (octave-function-file-p)
10700         (octave-skip-comment-forward, octave-function-file-comment)
10701         (octave-update-function-file-comment): New functions.
10702         (octave-mode-map): Bind C-c ; to
10703         octave-update-function-file-comment.
10704         (octave-mode-menu): Add octave-update-function-file-comment.
10705         (octave-mode, inferior-octave-mode): Fix doc-string.
10706         (octave-insert-defun): Conform to Octave's coding convention.
10707         (Bug#14285)
10709         * files.el (basic-save-buffer): Don't let errors in
10710         before-save-hook prevent saving buffer.
10712 2013-04-20  Roland Winkler  <winkler@gnu.org>
10714         * faces.el (read-face-name): Use completing-read if arg multiple
10715         is nil.
10717 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
10719         * ls-lisp.el (ls-lisp-insert-directory): If no files are
10720         displayed, move point to after the totals line.
10721         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10722         for the details.
10724 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10726         * emacs-lisp/package.el (package-autoload-ensure-default-file):
10727         Add current dir to the load-path.
10728         (package-generate-autoloads): Don't rely on
10729         autoload-ensure-default-file.
10731 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
10733         * textmodes/remember.el (remember-store-in-files): Document that
10734         the file name format is passed to `format-time-string'.
10736 2013-04-26  Leo Liu  <sdl.web@gmail.com>
10738         * progmodes/octave.el (octave-sync-function-file-names): New function.
10739         (octave-mode): Use it in before-save-hook.
10741 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10743         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10744         (bug#14274).
10746         * progmodes/octave.el (octave-smie-forward-token): Properly skip
10747         \n and comment, even if it's not an implicit ; (bug#14218).
10749 2013-04-26  Glenn Morris  <rgm@gnu.org>
10751         * subr.el (read-number): Once more use `read' rather than
10752         `string-to-number', to trap non-numeric input.  (Bug#14254)
10754 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
10756         * emacs-lisp/syntax.el (syntax-propertize-multiline):
10757         Use `syntax-multiline' text property consistently instead of
10758         `font-lock-multiline'.  (Bug#14237)
10760 2013-04-26  Glenn Morris  <rgm@gnu.org>
10762         * emacs-lisp/shadow.el (list-load-path-shadows):
10763         No longer necessary to check for duplicate simple.el, since
10764         2012-07-07 change to init_lread to not include installation lisp
10765         directories in load-path when running uninstalled.  (Bug#14270)
10767 2013-04-26  Leo Liu  <sdl.web@gmail.com>
10769         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10770         (octave-mode, inferior-octave-mode): Use setq-local.
10771         (octave-not-in-string-or-comment-p): Rename to
10772         octave-in-string-or-comment-p.
10773         (octave-in-comment-p, octave-in-string-p)
10774         (octave-in-string-or-comment-p): Replace defsubst with defun.
10776 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
10778         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10780 2013-04-25  Bastien Guerry  <bzg@gnu.org>
10782         * textmodes/remember.el (remember-data-directory)
10783         (remember-directory-file-name-format): Fix custom types.
10785 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10787         * progmodes/octave.el (octave-completion-at-point-function):
10788         Make use of inferior octave process.
10789         (octave-initialize-completions): Remove.
10790         (inferior-octave-completion-table): New function.
10791         (inferior-octave-completion-at-point): Use it.
10792         (octave-completion-alist): Remove.
10794 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10796         * progmodes/opascal.el: Use font-lock and syntax-propertize.
10797         (opascal-mode-syntax-table): New var.
10798         (opascal-literal-kind, opascal-is-literal-end)
10799         (opascal-literal-token-at): Rewrite.
10800         (opascal--literal-start-re, opascal-font-lock-keywords)
10801         (opascal--syntax-propertize): New constants.
10802         (opascal-font-lock-defaults): Adjust.
10803         (opascal-mode): Use them.  Set comment-<foo> variables as well.
10804         (delphi-comment-face, opascal-comment-face, delphi-string-face)
10805         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10806         (delphi-other-face, opascal-other-face): Remove face variables.
10807         (opascal-save-state): Remove macro.
10808         (opascal-fontifying-progress-step): Remove constant.
10809         (opascal--ignore-changes): Remove var.
10810         (opascal-set-token-property, opascal-parse-next-literal)
10811         (opascal-is-stable-literal, opascal-complete-literal)
10812         (opascal-is-literal-start, opascal-face-of)
10813         (opascal-parse-region, opascal-parse-region-until-stable)
10814         (opascal-fontify-region, opascal-after-change)
10815         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10816         (opascal-debug-parse-region, opascal-debug-parse-window)
10817         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10818         (opascal-debug-fontify-buffer): Remove.
10819         (opascal-debug-mode-map): Adjust accordingly.
10821 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10823         Merge octave-mod.el and octave-inf.el into octave.el with some
10824         cleanups.
10825         * progmodes/octave.el: New file renamed from octave-mod.el.
10826         * progmodes/octave-inf.el: Merged into octave.el.
10827         * progmodes/octave-mod.el: Renamed to octave.el.
10829 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
10831         * textmodes/reftex-vars.el
10832         (reftex-label-ignored-macros-and-environments): New defcustom.
10834         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10836 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10838         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10839         (smie-indent-keyword): Improve the check to ensure that the next
10840         comment is really on the same line.
10841         (smie-indent-comment): Don't align with a subsequent closer (or eob).
10843         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10844         semi-colons if the line is not otherwise empty (bug#14218).
10846 2013-04-25  Glenn Morris  <rgm@gnu.org>
10848         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10850 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10852         * progmodes/opascal.el (opascal-set-token-property): Rename from
10853         opascal-set-text-properties and only set `token' (bug#14134).
10854         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10855         (opascal-literal-text-properties): Remove.
10856         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10857         Adjust callers.
10859 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
10861         * textmodes/remember.el (remember-handler-functions): Add an
10862         option for a new handler `remember-store-in-files'.
10863         (remember-data-directory, remember-directory-file-name-format):
10864         New options.
10865         (remember-store-in-files): New function to store remember notes
10866         as separate files within a directory.
10868 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
10870         * progmodes/compile.el (compilation-next-error-function):
10871         Pass "formats" to compilation-find-file (bug#11777).
10873 2013-04-24  Glenn Morris  <rgm@gnu.org>
10875         * vc/vc-bzr.el (vc-bzr-print-log):
10876         * vc/vc-hg.el (vc-hg-print-log):
10877         * vc/vc-svn.el (vc-svn-print-log):
10878         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
10880         * vc/vc-bzr.el (vc-bzr-print-log):
10881         * vc/vc-cvs.el (vc-cvs-print-log):
10882         * vc/vc-git.el (vc-git-print-log):
10883         * vc/vc-hg.el (vc-hg-print-log):
10884         * vc/vc-mtn.el (vc-mtn-print-log):
10885         * vc/vc-rcs.el (vc-rcs-print-log):
10886         * vc/vc-sccs.el (vc-sccs-print-log):
10887         * vc/vc-svn.el (vc-svn-print-log):
10888         * vc/vc.el (vc-print-log-internal): Doc fixes.
10890 2013-04-23  Glenn Morris  <rgm@gnu.org>
10892         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10893         Remove venerable code attempting to avoid substitute-command-keys.
10895 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
10897         * textmodes/reftex-vars.el (reftex-label-regexps):
10898         Call `reftex-compile-variables' after changes to this variable.
10900 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10902         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10903         Use lexical-binding.
10904         (jit-lock-force-redisplay): Use markers, check buffer's continued
10905         existence and beware narrowed buffers.
10906         (jit-lock-fontify-now): Adjust call accordingly.
10908 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10910         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10911         to avoid misleading the user.
10913 2013-04-22  Leo Liu  <sdl.web@gmail.com>
10915         * info-look.el: Prefer latex2e.info.  (Bug#14240)
10917 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
10919         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
10921         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10922         * net/tramp.el (tramp-call-process): ... here.
10923         (tramp-set-completion-function, tramp-parse-putty):
10924         * net/tramp-adb.el (tramp-adb-execute-adb-command):
10925         * net/tramp-gvfs.el (tramp-gvfs-send-command):
10926         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10927         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10928         (tramp-call-local-coding-command): Use `tramp-call-process'
10929         instead of `tramp-compat-call-process'.
10931         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10932         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10933         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10934         (tramp-find-inline-compress): Improve traces.
10935         (tramp-maybe-send-script): Check for Perl binary.
10936         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10938 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10940         * epg.el (epg-context-pinentry-mode): New function.
10941         (epg-context-set-pinentry-mode): New function.
10942         (epg--start): Pass --pinentry-mode option to gpg command.
10944 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10946         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10947         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10948         `completion-at-point'.  (Bug#13774)
10950         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10951         default key binding for `describe-distribution' has been moved to
10952         `C-h C-o'.  (Bug#13970)
10954 2013-04-21  Glenn Morris  <rgm@gnu.org>
10956         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10957         Add doc strings.
10958         (vc-print-log): Clarify interactive prompt.
10960 2013-04-20  Glenn Morris  <rgm@gnu.org>
10962         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10963         No longer include timestamp etc information.
10965 2013-04-20  Roland Winkler  <winkler@gnu.org>
10967         * faces.el (read-face-name): Bug fix, return just one face if arg
10968         multiple is nil.  (Bug#14209)
10970 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10972         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10973         (remove-function): Autoload.
10975         * comint.el (comint-redirect-original-filter-function): Remove.
10976         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10977         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10978         (vc-cvs-annotate-command):
10979         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10980         * progmodes/prolog.el (prolog-consult-compile):
10981         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10982         Use add/remove-function instead.
10983         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10984         (gud-tooltip-process-output, gud-tooltip-tips):
10985         Use add/remove-function instead.
10986         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10987         (scheme-interaction-mode, exit-scheme-interaction-mode):
10988         Use add/remove-function instead.
10990         * vc/vc-dispatcher.el: Use lexical-binding.
10991         (vc--process-sentinel): Rename from vc-process-sentinel.
10992         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10993         and vc-sentinel-commands any more.
10994         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10995         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10997 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10999         * progmodes/sh-script.el (sh-imenu-generic-expression):
11000         Handle function names with a single character.   (Bug#14111)
11002 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
11004         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11005         for subroutines defined in an eval (bug#14182).
11007 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11009         * bookmark.el (bookmark-completing-read): Improve handling of empty
11010         string (bug#14176).
11012 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11014         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11016 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11018         New faster Imenu implementation (bug#14058).
11019         * progmodes/python.el:
11020         (python-imenu-prev-index-position):
11021         (python-imenu-format-item-label-function)
11022         (python-imenu-format-parent-item-label-function)
11023         (python-imenu-format-parent-item-jump-label-function):
11024         New vars.
11025         (python-imenu-format-item-label)
11026         (python-imenu-format-parent-item-label)
11027         (python-imenu-format-parent-item-jump-label)
11028         (python-imenu--put-parent, python-imenu--build-tree)
11029         (python-imenu-create-index, python-imenu-create-flat-index)
11030         (python-util-popn): New functions.
11031         (python-mode): Set imenu-create-index-function to
11032         python-imenu-create-index.
11034 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11036         * winner.el (winner-active-region): Use region-active-p, activate-mark
11037         and deactivate-mark (bug#14225).
11039         * simple.el (deactivate-mark): Don't inline it.
11041 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
11043         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11045 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
11047         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11048         file extensions from the archive-mode entry in order to prefer
11049         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11051 2013-04-18  Leo Liu  <sdl.web@gmail.com>
11053         * bindings.el (help-event-list): Add ?\?.
11055 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11057         * subr.el (with-wrapper-hook): Declare obsolete.
11058         * simple.el (filter-buffer-substring-function): New hook.
11059         (filter-buffer-substring): Use it.
11060         (filter-buffer-substring-functions): Mark obsolete.
11061         * minibuffer.el (completion-in-region-function): New hook.
11062         (completion-in-region): Use it.
11063         (completion-in-region-functions): Mark obsolete.
11064         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11065         * abbrev.el (abbrev-expand-function): New hook.
11066         (expand-abbrev): Use it.
11067         (abbrev-expand-functions): Mark obsolete.
11068         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11069         and :filter-return.
11071 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11073         * progmodes/python.el (python-nav--syntactically): Fix cornercases
11074         and do not care about match data.
11076 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11078         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11079         completion tables when completing error conditions and
11080         `declare' arguments.
11081         (lisp-complete-symbol, field-complete): Mark as obsolete.
11082         (check-parens): Unmatched parens are user errors.
11083         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11085 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
11087         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11088         command changed buffer (ie. `flyspell-pre-buffer' is not current
11089         buffer), which prevents making decisions based on invalid value of
11090         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
11091         cause an error when `flyspell-pre-point' was nil after switching
11092         buffers.
11093         (flyspell-post-command-hook): No longer needs to change buffers when
11094         checking pre-word.  While at it remove unnecessary progn.
11096 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
11098         * textmodes/ispell.el (ispell-add-per-file-word-list):
11099         Fix `flyspell-correct-word-before-point' error when accepting
11100         words and `coment-padding' is an integer by using
11101         `comment-normalize-vars' (Bug #14214).
11103 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11105         New defun movement commands.
11106         * progmodes/python.el (python-nav--syntactically)
11107         (python-nav--forward-defun, python-nav-backward-defun)
11108         (python-nav-forward-defun): New functions.
11110 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11112         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11113         (python-syntax-context): Use named compiler-macro for backwards
11114         compatibility with Emacs 24.x.
11116 2013-04-17  Leo Liu  <sdl.web@gmail.com>
11118         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11119         octave-hide-process-buffer.
11121 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11123         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11124         (bug#14216).
11126 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
11128         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11129         Fix adjustment of offset when receiving incomplete responses from GDB
11130         (bug#14129).
11132 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11134         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11135         python-mode-abbrev-table.
11136         (python-skeleton-define): Adjust accordingly.
11137         (python-mode-abbrev-table): New table that inherits from it so that
11138         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11140         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11141         (abbrev-symbol): Use it.
11142         (abbrev--before-point): Use it since we already handle inheritance.
11144 2013-04-16  Leo Liu  <sdl.web@gmail.com>
11146         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11147         binding to info-lookup-symbol.
11149 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
11151         * minibuffer.el (completion--twq-all):
11152         * term/ns-win.el (ns-initialize-window-system):
11153         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11155 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11157         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11158         global bindings.
11160         * doc-view.el (doc-view-start-process): Handle url-handler directories.
11162 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
11164         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11165         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11166         to nil.
11167         (ruby-end-of-defun): Remove the unused arg, change the docstring
11168         to reflect that this function is only used as the value of
11169         `end-of-defun-function'.
11170         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11171         to reflect an earlier change that beginning/end-of-defun functions
11172         jump between methods in a class definition, as well as top-level
11173         functions.
11175 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11177         * minibuffer.el (minibuffer-complete): Don't just scroll
11178         a *Completions* that's been iconified.
11179         (minibuffer-force-complete): Make sure repetitions do cycle when going
11180         through completion-in-region -> minibuffer-complete.
11182 2013-04-15  Alan Mackenzie  <acm@muc.de>
11184         Correct the placement of c-cpp-delimiters when there're #s not at
11185         col 0.
11187         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11188         place a submatch around the #.
11189         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11190         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
11191         on the #, not BOL.
11193 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11195         * emacs-lisp/nadvice.el: Properly test names when adding advice.
11196         (advice--member-p): New arg `name'.
11197         (advice--add-function, advice-member-p): Use it (bug#14202).
11199 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
11201         Reformulate java imenu-generic-expression.
11202         The old expression contained ill formed regexps.
11204         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11205         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11206         (cc-imenu-java-method-arg-regexp): New defconsts.
11207         (cc-imenu-java-build-type-args-regex): New defun.
11208         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11209         handling of spaces in the regexp.
11211 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11213         * textmodes/ispell.el (ispell-command-loop): Remove
11214         flyspell highlight of a word when ispell accepts it (bug #14178).
11216 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
11218         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11219         uses code from the previous `ange-ftp-run-real-handler'.
11220         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11221         only in case that function exist.  This is needed for proper
11222         unloading of Tramp.
11224 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
11226         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11228         * textmodes/reftex.el (reftex-compile-variables): Use it.
11230 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11232         * files.el (normal-mode): Only use default major-mode if no other mode
11233         was specified.
11235         * emacs-lisp/trace.el (trace-values): New function.
11237         * files.el: Allow : in local variables (bug#14089).
11238         (hack-local-variable-regexp): New var.
11239         (hack-local-variables-prop-line, hack-local-variables): Use it.
11241 2013-04-13  Roland Winkler  <winkler@gnu.org>
11243         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
11244         data before it gets modified by bibtex-beginning-of-entry.
11246 2013-04-13  Roland Winkler  <winkler@gnu.org>
11248         * textmodes/bibtex.el (bibtex-url): Doc fix.
11250 2013-04-13  Roland Winkler  <winkler@gnu.org>
11252         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11253         does not visit a BibTeX file, exclude it from the list of buffers
11254         returned by bibtex-initialize.
11256 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
11258         * window.el (split-window): Remove interactive form, since as a
11259         command this function is a special case of split-window-below.
11260         Correct doc string.
11262 2013-04-12  Roland Winkler  <winkler@gnu.org>
11264         * faces.el (read-face-name): Do not override value of arg default.
11265         Allow single faces and strings as default values.  Remove those
11266         elements from return value that are not faces.
11267         (describe-face): Simplify.
11268         (face-at-point): New optional args thing and multiple so that this
11269         function can provide the same functionality previously provided by
11270         read-face-name.
11271         (make-face-bold, make-face-unbold, make-face-italic)
11272         (make-face-unitalic, make-face-bold-italic, invert-face)
11273         (modify-face, read-face-and-attribute): Use face-at-point.
11275         * cus-edit.el (customize-face, customize-face-other-window)
11276         * cus-theme.el (custom-theme-add-face)
11277         * face-remap.el (buffer-face-set)
11278         * facemenu.el (facemenu-set-face): Use face-at-point.
11280 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
11282         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11284 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
11286         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11287         off leading { and trailing } from field values.
11289 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11291         * emacs-lisp/timer.el (timer--check): New function.
11292         (timer--time, timer-set-function, timer-event-handler): Use it.
11293         (timer-set-idle-time): Simplify.
11294         (timer--activate): CSE.
11295         (timer-event-handler): Give more info in error message.
11296         (internal-timer-start-idle): New function, moved from C.
11298         * mpc.el (mpc-proc): Add `restart' argument.
11299         (mpc-proc-cmd): Use it.
11300         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11301         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11302         less often.
11304 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
11306         * progmodes/sh-script.el: Implement `sh-mode' own
11307         `add-log-current-defun-function' (bug#14112).
11308         (sh-current-defun-name): New function.
11309         (sh-mode): Use the function.
11311 2013-04-09  Bastien Guerry  <bzg@gnu.org>
11313         * simple.el (choose-completion-string): Fix docstring (bug#14163).
11315 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11317         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11319         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11320         timer (bug#14156).
11322 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
11324         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11325         declaration.
11327 2013-04-07  Leo Liu  <sdl.web@gmail.com>
11329         * pcmpl-x.el: New file.
11331 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
11333         Do not set x-display-name until X connection is established.
11334         This is needed to prevent from weird situation described at
11335         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11336         * frame.el (make-frame): Set x-display-name after call to
11337         window system initialization function, not before.
11338         * term/x-win.el (x-initialize-window-system): Add optional
11339         display argument and use it.
11340         * term/w32-win.el (w32-initialize-window-system):
11341         * term/ns-win.el (ns-initialize-window-system):
11342         * term/pc-win.el (msdos-initialize-window-system):
11343         Add compatible optional display argument.
11345 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
11347         * files.el (normal-backup-enable-predicate): On MS-Windows and
11348         MS-DOS compare truenames of temporary-file-directory and of the
11349         file, so that 8+3 aliases (usually found in $TEMP on Windows)
11350         don't fail comparison by compare-strings.  Also, compare file
11351         names case-insensitively on MS-Windows and MS-DOS.
11353 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11355         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11356         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11358 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
11360         * whitespace.el (whitespace-color-on, whitespace-color-off):
11361         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11363 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
11365         * ispell.el (ispell-set-spellchecker-params):
11366         Really set `ispell-args' for all equivs.
11368 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11370         * ido.el (ido-completions): Use extra elements of ido-decorations
11371         (bug#14143).
11372         (ido-decorations): Update docstring.
11374 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
11376         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11377         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11378         nil during initialization, in order not to miss changes since the
11379         file was opened.  (Bug#14140)
11381 2013-04-05  Leo Liu  <sdl.web@gmail.com>
11383         * kmacro.el (kmacro-call-macro): Fix bug#14135.
11385 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
11387         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11389 2013-04-04  Glenn Morris  <rgm@gnu.org>
11391         * electric.el (electric-pair-inhibit-predicate): Add :version.
11393 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11395         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11396         when a package is required several times (bug#14082).
11398 2013-04-04  Roland Winkler  <winkler@gnu.org>
11400         * faces.el (read-face-name): Behave as promised by the docstring.
11401         Assume that arg default is a list of faces.
11402         (describe-face): Call read-face-name with list of default faces.
11404 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11406         * bookmark.el: Fix deletion of bookmarks (bug#13972).
11407         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11408         (bookmark-bmenu-execute-deletions): Only skip first line if it's
11409         the header.
11410         (bookmark-exit-hook-internal): Save even if list is empty.
11412 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
11414         * emacs-lisp/package.el (package-pinned-packages): New var.
11415         (package--add-to-archive-contents): Obey it (bug#14118).
11417 2013-04-03  Alan Mackenzie  <acm@muc.de>
11419         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11420         Also adapt to the new values of element 7 of a parse state.
11422         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11423         parameter `not-in-delimiter'.  Handle being inside comment opener.
11424         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11425         character in case we're typing a '*' after a '/'.
11426         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11427         instead by passing the parameter to c-state-pp-to-literal.
11429         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11430         for elt. 7 of a parse state.
11432 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
11434         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11435         * international/latin1-disp.el, international/mule-util.el:
11436         * language/cyril-util.el, language/european.el, language/ind-util.el:
11437         * language/lao-util.el, language/thai.el, language/tibet-util.el:
11438         * language/tibetan.el, language/viet-util.el:
11439         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11441 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11443         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11444         (electric-pair-post-self-insert-function): Use it.
11445         (electric-pair-default-inhibit): New function, extracted from
11446         electric-pair-post-self-insert-function.
11448 2013-03-31  Roland Winkler  <winkler@gnu.org>
11450         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11452 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11454         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11456 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
11458         Un-indent after "pass" and "return" statements (Bug#13888)
11459         * progmodes/python.el (python-indent-block-enders): New var.
11460         (python-indent-calculate-indentation): Use it.
11462 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
11464         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11465         defun.  Defining it as defalias could introduce too eager
11466         byte-compiler optimization.  (Bug#14030)
11468 2013-03-30  Chong Yidong  <cyd@gnu.org>
11470         * iswitchb.el (iswitchb-read-buffer): Fix typo.
11472 2013-03-30  Leo Liu  <sdl.web@gmail.com>
11474         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11475         (kmacro-execute-from-register): Pass the keyboard macro to
11476         kmacro-call-macro or repeating won't work correctly.
11478 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
11480         * progmodes/subword.el: Back to using `forward-symbol'.
11482         * subr.el (forward-whitespace, forward-symbol)
11483         (forward-same-syntax): Move from thingatpt.el.
11485 2013-03-29  Leo Liu  <sdl.web@gmail.com>
11487         * kmacro.el (kmacro-to-register): New command.
11488         (kmacro-execute-from-register): New function.
11489         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
11491 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11493         * mpc.el: Use defvar-local and setq-local.
11494         (mpc--proc-connect): Connection failures are not bugs.
11495         (mpc-mode-map): `follow-link' only applies to the buffer's content.
11496         (mpc-volume-map): Bind to the up-events.
11498 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
11500         * progmodes/subword.el (superword-mode): Use `forward-sexp'
11501         instead of `forward-symbol'.
11503 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11505         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11506         (edebug--recursive-edit): Use it.
11507         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11508         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11510 2013-03-28  Leo Liu  <sdl.web@gmail.com>
11512         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
11514 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
11516         * facemenu.el (list-colors-callback): New defvar.
11517         (list-colors-redisplay): New function.
11518         (list-colors-display): Install list-colors-redisplay as the
11519         revert-buffer-function.  (Bug#14063)
11521 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11523         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11524         and suffixes don't overlap (bug#14061).
11526         * case-table.el: Use lexical-binding.
11527         (case-table-get-table): New function.
11528         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
11530 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
11532         * progmodes/subword.el: Add `superword-mode' to do word motion
11533         over symbol_words (parallels and leverages `subword-mode' which
11534         does word motion inside MixedCaseWords).
11536 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
11538         * eshell/em-unix.el: Move su and sudo to...
11539         * eshell/em-tramp.el: ...Eshell tramp module.
11541 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11543         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11544         Change return value to be a sexp.  Delay `get-buffer' to after
11545         restoring the desktop (bug#13951).
11547 2013-03-26  Leo Liu  <sdl.web@gmail.com>
11549         * register.el: Move semantic tag handling back to
11550         cedet/semantic/senator.el.  (Bug#14052)
11552 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11554         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11555         into the prompt either (bug#13963).
11557 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11559         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11560         part of "(error-foo)".
11562 2013-03-24  Juri Linkov  <juri@jurta.org>
11564         * replace.el (list-matching-lines-prefix-face): New defcustom.
11565         (occur-1): Pass `list-matching-lines-prefix-face' to the function
11566         `occur-engine' if `face-differs-from-default-p' returns t.
11567         (occur-engine): Add `,' inside backquote construct to evaluate
11568         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
11569         Pass `prefix-face' to the functions `occur-context-lines' and
11570         `occur-engine-add-prefix'.
11571         (occur-engine-add-prefix, occur-context-lines): Add optional arg
11572         `prefix-face' and propertize the prefix with `prefix-face'.
11573         (Bug#14017)
11575 2013-03-24  Leo Liu  <sdl.web@gmail.com>
11577         * nxml/rng-valid.el (rng-validate-while-idle)
11578         (rng-validate-quick-while-idle): Guard against deleted buffer.
11579         (Bug#13999)
11581         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11582         is the last entry in kill-buffer-hook.
11584         * files.el (kill-buffer-hook): Doc fix.
11586 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
11588         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11589         Make it safe-local.
11591         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11593 2013-03-23  Leo Liu  <sdl.web@gmail.com>
11595         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11596         Remove.
11598         * nxml/rng-valid.el (rng-validate-mode)
11599         (rng-after-change-function, rng-do-some-validation):
11600         * nxml/rng-maint.el (rng-validate-buffer):
11601         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11602         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11603         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11604         (nxml-extend-after-change-region): Use with-silent-modifications.
11606         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11607         timer-idle-list.
11609         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11610         (rng-next-error-1, rng-previous-error-1): Do not let-bind
11611         timer-idle-list.  (Bug#13999)
11613 2013-03-23  Juri Linkov  <juri@jurta.org>
11615         * info.el (info-index-match): New face.
11616         (Info-index, Info-apropos-matches): Add a nested subgroup to the
11617         main pattern and add text properties with the new face to matches
11618         in index entries relative to the beginning of the index entry.
11619         (Bug#14015)
11621 2013-03-21  Eric Ludlam  <zappo@gnu.org>
11623         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11624         Inhibit read only while inserting objects.
11626 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
11628         * progmodes/cfengine.el: Update docs to mention
11629         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
11630         symbol motion.  Remove "_" from the word syntax.
11632 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
11634         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11635         syntax for both `cfengine2-mode' and `cfengine3-mode'.
11637 2013-03-20  Juri Linkov  <juri@jurta.org>
11639         * info.el (Info-next-reference-or-link)
11640         (Info-prev-reference-or-link): New functions.
11641         (Info-next-reference, Info-prev-reference): Use them.
11642         (Info-try-follow-nearest-node): Handle footnote navigation.
11643         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
11645 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11647         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11648         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11650 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
11652         Suppress unnecessary non-ASCII chatter during build process.
11653         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11654         (batch-skkdic-convert): Suppress most of the chatter.
11655         It's not needed so much now that machines are faster,
11656         and its non-ASCII component was confusing; see Dmitry Gutov in
11657         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11659 2013-03-20  Leo Liu  <sdl.web@gmail.com>
11661         * ido.el (ido-chop): Fix bug#10994.
11663 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11665         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11666         Remove vars.
11667         (whitespace-color-on, whitespace-color-off):
11668         Use `font-lock-fontify-buffer' (Bug#13817).
11670 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11672         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11673         remapping in mode-line.
11674         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11676 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11678         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11679         value for `whitespace-line' face (Bug#13875).
11680         (whitespace-font-lock-keywords): Change description.
11681         (whitespace-color-on): Don't save `font-lock-keywords' value, save
11682         the constructed keywords instead.
11683         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11685 2013-03-19  Leo Liu  <sdl.web@gmail.com>
11687         * progmodes/compile.el (compilation-display-error): New command.
11688         (compilation-mode-map, compilation-minor-mode-map): Bind it to
11689         C-o.  (Bug#13992)
11691 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
11693         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11695 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
11697         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11699 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
11701         * net/tramp-compat.el (tramp-compat-user-error): New defun.
11703         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11704         * net/tramp-gvfs.el (top):
11705         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11706         (tramp-handle-shell-command): Use it.
11707         (tramp-dissect-file-name): Raise an error when hostname is a
11708         method name, and neither method nor user is specified.
11710         * net/trampver.el: Update release number.
11712 2013-03-18  Leo Liu  <sdl.web@gmail.com>
11714         Make sure eldoc can be turned off properly.
11715         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11716         eldoc-mode.
11717         (eldoc-display-message-p): Revert last change.
11718         (eldoc-display-message-no-interference-p)
11719         (eldoc-print-current-symbol-info): Tweak.
11721 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
11723         * doc-view.el (doc-view-new-window-function): Check the new window
11724         overlay's display property instead the char property of the
11725         buffer's first char.  Use `with-selected-window' instead of
11726         `save-window-excursion' with `select-window'.
11727         (doc-view-document->bitmap): Check the current doc-view overlay's
11728         display property instead the char property of the buffer's first char.
11730 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
11732         Automate the build of ja-dic.el (Bug#13984).
11733         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11734         from the input, rather than assume that it's been done for us by the
11735         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
11736         the current date into a ja-dic.el comment, as that complicates
11737         regression testing.
11739 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11741         * whitespace.el: Fix double evaluation.
11742         (whitespace-space, whitespace-hspace, whitespace-tab)
11743         (whitespace-newline, whitespace-trailing, whitespace-line)
11744         (whitespace-space-before-tab, whitespace-indentation)
11745         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11746         obsolete defvars.
11747         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11748         (whitespace-color-on): Use a single font-lock-add-keywords call.
11749         Fix double-evaluation of face variables.
11751 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
11753         * net/tramp-adb.el (tramp-adb-parse-device-names):
11754         Use `start-process' instead of `call-process'.  Otherwise, the
11755         function might be blocked under MS Windows.  (Bug#13299)
11757 2013-03-17  Leo Liu  <sdl.web@gmail.com>
11759         Extend eldoc to display info in the mode-line.  (Bug#13978)
11760         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11761         (eldoc-mode-line-string): New variable.
11762         (eldoc-minibuffer-message): New function.
11763         (eldoc-message-function): New variable.
11764         (eldoc-message): Use it.
11765         (eldoc-display-message-p)
11766         (eldoc-display-message-no-interference-p):
11767         Support eldoc-post-insert-mode.
11769         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11770         (eval-expression): Run it.
11772 2013-03-17  Roland Winkler  <winkler@gnu.org>
11774         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11775         strings in the list of return values.
11777 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11779         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11780         radix before checking for HMS forms.
11782 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11784         * progmodes/scheme.el: Add indentation and font-locking for λ.
11785         (Bug#13975)
11787 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11789         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11790         token before point (bug#13942).
11792 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11794         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
11796 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
11798         * startup.el (command-line-normalize-file-name): Fix handling of
11799         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
11800         <xfq.free@gmail.com> in
11801         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11803 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
11805         Sync with Tramp 2.2.7.
11807         * net/trampver.el: Update release number.
11809 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
11811         * doc-view.el: Fix bug#13887.
11812         (doc-view-insert-image): Don't modify overlay associated to
11813         non-live windows, and implement horizontal centering of image in
11814         case it's smaller than the window.
11815         (doc-view-new-window-function): Force redisplay of new windows on
11816         doc-view buffers.
11818 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
11820         * saveplace.el (save-place-alist-to-file): Don't sort
11821         `save-place-alist', just pretty-print it (bug#13882).
11823 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
11825         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11826         Check whether `default-file-name-coding-system' is bound.
11827         It isn't in XEmacs.
11829 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11831         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11832         backquotes for `obsolete' (bug#13929).
11834         * international/mule.el (find-auto-coding): Include file name in
11835         obsolescence warning (bug#13922).
11837 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
11839         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11840         for CFEngine 3-specific indentation.
11841         (cfengine3-indent-line): Use it.  Fix up category regex.
11842         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11844 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11846         * type-break.el (type-break-file-name):
11847         * textmodes/remember.el (remember-data-file):
11848         * strokes.el (strokes-file):
11849         * shadowfile.el (shadow-initialize):
11850         * saveplace.el (save-place-file):
11851         * ps-bdf.el (bdf-cache-file):
11852         * progmodes/idlwave.el (idlwave-config-directory):
11853         * net/quickurl.el (quickurl-url-file):
11854         * international/kkc.el (kkc-init-file-name):
11855         * ido.el (ido-save-directory-list-file):
11856         * emulation/viper.el (viper-custom-file-name):
11857         * emulation/vip.el (vip-startup-file):
11858         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11859         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11861 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
11863         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11864         * language/thai-word.el: Switch to UTF-8.
11866 See ChangeLog.16 for earlier changes.
11868 ;; Local Variables:
11869 ;; coding: utf-8
11870 ;; End:
11872   Copyright (C) 2011-2014 Free Software Foundation, Inc.
11874   This file is part of GNU Emacs.
11876   GNU Emacs is free software: you can redistribute it and/or modify
11877   it under the terms of the GNU General Public License as published by
11878   the Free Software Foundation, either version 3 of the License, or
11879   (at your option) any later version.
11881   GNU Emacs is distributed in the hope that it will be useful,
11882   but WITHOUT ANY WARRANTY; without even the implied warranty of
11883   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11884   GNU General Public License for more details.
11886   You should have received a copy of the GNU General Public License
11887   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.