rst-mode indentation is non-deterministic, so inhibit electric indentation
[emacs.git] / lisp / ChangeLog
blob551ef51d2e57f0d4824f886c7f29992894411199
1 2014-01-06  Daniel Colascione  <dancol@dancol.org>
3         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4         rst-mode.
6 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
8         * window.el (balance-windows): Add mising t to fix Bug#16351.
10 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13         (bug#16285).
14         (shr-insert): If we have a word that's longer than `shr-width',
15         break after it anyway.  Otherwise we'll do no breaking once we get
16         such a long word.
18 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
20         * net/eww.el (eww):  Support single/double quote for search.
21         * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
22         (eww-history-quit): Delete and use quit-window.
23         (eww-history-kill): Delete, because it doesn't work well and
24         not necessary.
25         (eww-history-mode-map): Delete some keys and add easy-menu.
27 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
29         Fix misspelling of 'chinese' in rx (Bug#16237).
30         * emacs-lisp/rx.el (rx-categories): Correct spelling of
31         chinese-two-byte.
33         Change subword regexps back to vars (Bug#16296).
34         * progmodes/subword.el (subword-forward-regexp)
35         (subword-backward-regexp): Change these back to variables.
37 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
39         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
40         syntax-begin-function (bug#16247).
42 2014-01-03  Chong Yidong  <cyd@gnu.org>
44         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
45         (advice--docstring): Delete variable.
46         (advice--make-1): Leave the docstring empty.
47         (advice-add): Use function-documentation for advised docstring.
49         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
50         Ignore function-documentation property when getting documentation.
51         (ad-activate-advised-definition): Use function-documentation
52         generate the docstring.
53         (ad-make-advised-definition): Don't call
54         ad-make-advised-definition-docstring.
55         (ad-make-advised-definition-docstring, ad-advised-definition-p):
56         Delete functions.
58         * progmodes/sql.el (sql-help): Use function-documentation instead
59         of dynamic-docstring-function property.  No need to autoload now.
60         (sql--help-docstring): New variable.
61         (sql--make-help-docstring): Use it.
63 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
65         * ielm.el (ielm-tab): Retarget.
66         (ielm-map): Use ielm-tab for tab.
67         (ielm-complete-filename): Use comint-filename-completion.
68         (ielm-complete-symbol): Remove.
69         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
70         remove ielm-tab from completion-at-point-functions (bug#16224).
72         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
73         Beware signals raised by predicates (bug#16201).
75 2014-01-02  Richard Stallman  <rms@gnu.org>
77         * dired-aux.el (dired-do-print): Handle printer-name.
79         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
80         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
81         (rmail-epa-decrypt): Turn off mime processing.
83         * mail/rmail.el (rmail-make-in-reply-to-field):
84         Add parens in message-id.
86         * mail/rmail.el (rmail-get-coding-function): Variable.
87         (rmail-get-coding-system): Use it.
89 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
91         * international/mule-conf.el: Unify the charset indian-is13194.
92         (indian-is13194): Specify unify-map.
94 2013-12-31  Leo Liu  <sdl.web@gmail.com>
96         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
98 2013-12-30  Daniel Colascione  <dancol@dancol.org>
100         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
101         of printing a useless when we resume from sleep.
103         * progmodes/sh-script.el
104         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
105         in indentation code.  (Bug#16233)
107 2013-12-28  João Távora  <joaotavora@gmail.com>
109         * elec-pair.el (electric-pair-post-self-insert-function):
110         Don't open extra newlines at beginning of buffer.  (Bug#16272)
112 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
114         * frame.el (window-system-for-display): Don't allow to create a
115         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
117 2013-12-28  Glenn Morris  <rgm@gnu.org>
119         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
120         Update callers.
122         * apropos.el (apropos-match-face):
123         * calculator.el (calculator-displayer):
124         * dabbrev.el (dabbrev-search-these-buffers-only):
125         * face-remap.el (buffer-face-mode-face):
126         * simple.el (yank-handled-properties):
127         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
128         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
129         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
130         (hashcash-double-spend-database):
131         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
132         (ruby-deep-indent-paren-style):
133         * textmodes/flyspell.el (flyspell-auto-correct-binding):
134         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
135         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
136         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
137         Specify custom types.
139         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
140         * bookmark.el (bookmark-bmenu-use-header-line):
141         * doc-view.el (doc-view-scale-internally):
142         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
143         * register.el (register-preview-delay):
144         * net/shr.el (shr-bullet):
145         * progmodes/cfengine.el (cfengine-cf-promises)
146         (cfengine-parameters-indent):
147         * progmodes/octave.el (inferior-octave-error-regexp-alist):
148         * textmodes/reftex-vars.el (reftex-label-regexps):
149         * vc/log-edit.el (log-edit-setup-add-author): Add version.
151         * net/tls.el (tls-certtool-program): Fix default value.
153         * desktop.el (desktop-restore-in-current-display):
154         * newcomment.el (comment-empty-lines):
155         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
156         (idlwave-pad-keyword):
157         * progmodes/tcl.el (tcl-tab-always-indent):
158         * textmodes/reftex-vars.el (reftex-index-default-tag):
159         * elec-pair.el (electric-pair-skip-whitespace):
160         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
162         * emacs-lisp/authors.el (authors-ignored-files)
163         (authors-valid-file-names, authors-renamed-files-alist): Additions.
165 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
167         * shell.el (shell-dynamic-complete-command): Doc fix.
168         (shell--command-completion-data): Shell completion now matches
169         executable filenames from the current buffer's directory, on
170         systems in which this behavior is the default (windows-nt, ms-dos).
172 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
174         * net/shr.el (shr-insert): Don't infloop if the width is zero.
176 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
178         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
179         (bug#16251).
181         * electric.el: Move all electric-pair-* to elec-pair.el.
182         * elec-pair.el: New file, split from electric.el.
184 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
186         * net/shr.el (shr-find-fill-point): Don't try to fill if the
187         indentation level is larger than the width, because that will
188         infloop.
189         (shr-insert): Fill repeatedly long texts, so that Japanese is
190         formatted correctly (bug#16263).
191         (shr-find-fill-point): Off by one error in comparison with the
192         indentation.
194 2013-12-26  João Távora  <joaotavora@gmail.com>
196         * electric.el (electric-pair-mode): More flexible engine for skip-
197         and inhibit predicates, new options for pairing-related functionality.
198         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
199         if that keeps or improves their balance in buffers.
200         (electric-pair-delete-adjacent-pairs): Delete the pair when
201         backspacing over adjacent matched delimiters.
202         (electric-pair-open-extra-newline): Open extra newline when
203         inserting newlines between adjacent matched delimiters.
204         (electric--sort-post-self-insertion-hook):
205         Sort post-self-insert-hook according to priority values when
206         minor-modes are activated.
207         * simple.el (newline-and-indent): Call newline with interactive
208         set to t.
209         (blink-paren-post-self-insert-function): Set priority to 100.
210         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
211         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
212         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
213         electric-pair-open-newline-between-pairs to nil.
215 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
217         * progmodes/python.el: Use lexical-binding.
218         (python-nav-beginning-of-defun): Stop searching ASAP.
220 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
222         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
223         Fix interactive spec.  Doc fix.  (Bug#15754)
225 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
227         * emacs-lisp/byte-run.el (eval-when-compile):
228         * progmodes/cc-defs.el (cc-eval-when-compile):
229         Fix edebug spec (bug#16184).
231 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
233         * net/shr.el (shr-visit-file): Remove debugging function.
234         (shr-insert): Don't infloop if we can't find a good place to break
235         the line (bug#16256).
237 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
239         * progmodes/python.el:
240         (python-nav--lisp-forward-sexp): New function.
241         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
242         python-nav-lisp-forward-sexp-safe.
243         (python-nav--forward-sexp): New argument SAFE allows switching
244         forward sexp movement behavior for parens.
245         (python-nav-forward-sexp): Throw errors on unterminated parens
246         (Bug#16191).
247         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
248         (python-nav-backward-sexp-safe): New functions.
249         (python-shell-buffer-substring):
250         Use `python-nav-forward-sexp-safe'.
252 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
254         * net/shr.el (shr-find-fill-point): Don't break lines before a
255         quotation mark.
256         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
257         (shr-find-fill-point): Remove the special checks for the quotation
258         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
260 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
262         * net/eww.el (eww-form-textarea): Use a different face for
263         textareas than text input since they have different keymaps
264         (bug#16142).
266 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
268         * progmodes/python.el (python-nav-beginning-of-statement):
269         Speed up (Bug#15295).
271 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
273         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
274         the window configuration.
276 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
278         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
279         we run on MS-Windows or MS-DOS.
281 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
283         * window.el (balance-windows-area): Call window-size instead of
284         window-height and window-width.  Bug#16241.
286 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
288         * net/eww.el (eww-bookmark-quit): Remove.
289         (eww-bookmark-browse): Restore the window configuration when you
290         choose a bookmark (bug#16144).
292 2013-12-24  Daniel Colascione  <dancol@dancol.org>
294         * icomplete.el: Remove redundant :group arguments to `defcustom'
295         throughout.
296         (icomplete-show-matches-on-no-input): New customizable variable.
297         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
298         we have something to show.
299         (icomplete-exhibit): Compute completions even if we have no user input.
301 2013-12-23  Daniel Colascione  <dancol@dancol.org>
303         * icomplete.el: Move `provide' to end of file.
305 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
307         * net/gnutls.el (gnutls-verify-error): Add version tag.
309 2013-12-23  Chong Yidong  <cyd@gnu.org>
311         * subr.el (set-transient-map): Rename from
312         set-temporary-overlay-map.  Doc fix.
314         * face-remap.el (text-scale-adjust):
315         * indent.el (indent-rigidly):
316         * kmacro.el (kmacro-call-macro):
317         * minibuffer.el (minibuffer-force-complete):
318         * repeat.el (repeat):
319         * simple.el (universal-argument--mode):
320         * calendar/todo-mode.el (todo-insert-item--next-param):
321         * progmodes/f90.el (f90-abbrev-start): Callers changed.
323         * indent.el (indent-rigidly): Use substitute-command-keys.
325 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
327         * net/eww.el (eww-tag-select): Add text-property to jump to next
328         select field.
329         (eww): Add non-supported ftp error.
331 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
333         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
334         comments.  Handle electric indent after typing `?' and `!'.
336 2013-12-22  Chong Yidong  <cyd@gnu.org>
338         * faces.el (face-spec-recalc): If the theme specs are not
339         applicable to a frame, fall back on the defface spec.
340         This prevents themes from obliterating faces on low-color terminals.
342 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
344         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
345         after `{'.  We need it after block openers, and it doesn't seem
346         to hurt after hash openers.
348 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
350         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
351         extracted from `ruby-smie-rules'.
352         (ruby--electric-indent-chars): New variable.
353         (ruby--electric-indent-p): New function.
354         (ruby-mode): Use `electric-indent-functions' instead of
355         `electric-indent-chars'.
357 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
359         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
360         docstring.
361         (ruby-smie-rules): Indent plus one level after `=>'.
363 2013-12-21  Richard Stallman  <rms@gnu.org>
365         * simple.el (newline): Doc fix.
367 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
369         * net/eww.el (eww-list-histories, eww-list-histories)
370         (eww-history-browse, eww-history-quit, eww-history-kill)
371         (eww-history-mode-map, eww-history-mode): New command and
372         functions to list browser histories.
373         (eww-form-text): Support text form with disabled
374         and readonly attributes.
375         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
377 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
379         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
380         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
381         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
382         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
383         Use `user-error'.
384         (eww-bookmark-mode-map): Add menu.
385         (eww-render, eww-mode): Use `setq-local'.
386         (eww-tool-bar-map): New variable.
387         (eww-mode): Set `tool-bar-map'.
388         (eww-view-source): Check for `html-mode' with `fboundp'.
390 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
392         * net/shr.el (shr--extract-best-source): Don't bug out on audio
393         elements with text inside.  Also remove debugging.
395 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
397         * cus-start.el (all): Add ns-use-srgb-colorspace.
399 2013-12-21  Chong Yidong  <cyd@gnu.org>
401         * custom.el (custom-theme-recalc-face): Do nothing if the face is
402         undefined.  Thus, theme settings for undefined faces do not take
403         effect until the faces are defined with defface, the same as with
404         theme variables.
406         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
407         (face-spec-reset-face): Don't assign extra properties in temacs.
408         (face-spec-recalc): Apply X resources too.
410 2013-12-21  Chong Yidong  <cyd@gnu.org>
412         * faces.el (face-spec-set):
413         * cus-face.el (custom-theme-set-faces, custom-set-faces):
414         * custom.el (defface): Doc fixes (Bug#16203).
416         * indent.el (indent-rigidly-map): Add docstring, and move commands
417         into named functions.
418         (indent-rigidly-left, indent-rigidly-right)
419         (indent-rigidly-left-to-tab-stop)
420         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
421         indentation direction based on bidi direction, and accumulate
422         sequential commands in a single undo boundary.
423         (indent-rigidly--pop-undo): New utility function.
425 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
427         * faces.el (read-face-name): Require crm.el when using crm-separator.
429 2013-12-20  Daniel Colascione  <dancol@dancol.org>
431         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
432         so that we don't reflow comments into the shebang line.
434 2013-12-20  Juri Linkov  <juri@jurta.org>
436         * saveplace.el (save-place-to-alist): Add `dired-filename' as
437         a position when `dired-directory' is non-nil.  Check integer
438         positions with `integerp'.
439         (toggle-save-place, save-places-to-alist): Add check for
440         `dired-directory'.
441         (save-place-find-file-hook): Check integer positions with
442         `integerp'.
443         (save-place-dired-hook): Use `dired-goto-file' when
444         `dired-filename' is found in the assoc list.  Check integer
445         positions with `integerp'.
446         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
448         * dired.el (dired-initial-position-hook): Rename back from
449         `dired-initial-point-hook'.
450         (dired-initial-position): Rename `dired-initial-point-hook' to
451         `dired-initial-position-hook'.
452         (dired-file-name-at-point): Doc fix.  (Bug#15329)
454 2013-12-20  Juri Linkov  <juri@jurta.org>
456         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
457         (read-regexp-suggestions): New function.
458         (read-regexp): Use `read-regexp-defaults-function' to get default values.
459         Use `read-regexp-suggestions'.  Add non-empty default to history
460         for empty input.
461         (occur-read-regexp-defaults-function): Remove function.
462         (occur-read-primary-args): Use `regexp-history-last' instead of
463         `occur-read-regexp-defaults-function'.
465         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
466         (hi-lock-line-face-buffer, hi-lock-face-buffer)
467         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
468         `hi-lock-read-regexp-defaults-function'.  Doc fix.
469         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
470         with `find-tag-default-as-symbol-regexp'.  Doc fix.
471         (hi-lock-read-regexp-defaults): Remove function.
472         (hi-lock-regexp-okay): Add check for null.
474         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
475         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
477         * subr.el (find-tag-default-as-symbol-regexp): New function.
478         (find-tag-default-as-regexp): Move symbol regexp formatting to
479         `find-tag-default-as-symbol-regexp'.
481 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
483         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
484         (Bug#14179)
486 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
488         * calendar/todo-mode.el: New implementation of item insertion
489         commands and key bindings.
490         (todo-key-prompt): New face.
491         (todo-insert-item): New command.
492         (todo-insert-item--parameters): New defconst, replacing defvar
493         todo-insertion-commands-args-genlist.
494         (todo-insert-item--param-key-alist): New defconst, replacing
495         defvar todo-insertion-commands-arg-key-list.
496         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
497         (todo-insert-item--argsleft, todo-insert-item--apply-args)
498         (todo-insert-item--next-param): New functions.
499         (todo-insert-item--args, todo-insert-item--argleft)
500         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
501         New variables.
502         (todo-key-bindings-t): Change binding of "i" from
503         todo-insertion-map to todo-insert-item.
504         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
505         (todo-insertion-command-name, todo-insertion-commands-names)
506         (todo-define-insertion-command, todo-insertion-commands)
507         (todo-insertion-key-bindings, todo-insertion-map): Remove.
509 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
511         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
512         (todo-toggle-item-highlighting): Use eval-and-compile instead of
513         eval-when-compile.
514         (todo-move-category): Allow choosing a non-existing todo file to
515         move the category to, and create that file.
516         (todo-default-priority): New user option.
517         (todo-set-item-priority): Use it.
518         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
519         (desktop-restore-file-buffer): Declare.
520         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
521         (todo-modes-set-2): Locally set desktop-save-buffer to
522         todo-desktop-save-buffer.
523         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
524         (auto-mode-alist): Add autoload cookie.
526 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
528         * emacs-lisp/subr-x.el: Renamed from helpers.el.
529         helpers.el was a poor choice of name.
530         (string-remove-prefix): New function.
531         (string-remove-suffix): New function.
533 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
535         Fix assignment for new window total sizes.
536         * window.el (window--pixel-to-size): Remove function.
537         (window--pixel-to-total-1, window--pixel-to-total):
538         Fix calculation of new total sizes.
540 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
542         * comint.el (comint-output-filter): Fix rear-nonsticky property
543         placement (Bug#16010).
545 2013-12-20  Chong Yidong  <cyd@gnu.org>
547         * faces.el (read-color): Minor fix for completion function.
549 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
551         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
552         New option.  (Bug#16182)
553         (ruby-smie--indent-to-stmt-p): Use it.
554         (ruby-smie-rules): Revert the logic in the handling of `when'.
555         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
556         (ruby-deep-arglist, ruby-deep-indent-paren)
557         (ruby-deep-indent-paren-style): Update docstrings to note that the
558         vars don't have any effect with SMIE.
560 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
562         * calc/calc.el (calc-enter, calc-pop): Use the variable
563         `calc-context-sensitive-enter'.
565 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
567         * net/shr.el (shr-insert): Protect against infloops in degenerate
568         tables.
570 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
572         * progmodes/octave.el (octave): Add link to manual and octave
573         homepage.
574         (octave-mode-menu): Link to octave-mode manual.
576 2013-12-20  Leo Liu  <sdl.web@gmail.com>
578         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
579         insertion using skeleton-end-newline.  (Bug#16138)
581 2013-12-20  Juri Linkov  <juri@jurta.org>
583         * replace.el (occur-engine): Use `add-face-text-property'
584         to add the face property to matches and titles.  (Bug#14645)
586         * hi-lock.el (hi-green): Use lighter color "light green" closer to
587         the palette of other hi-lock colors.
588         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
590 2013-12-19  Juri Linkov  <juri@jurta.org>
592         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
593         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
594         (minibuffer-history-symbol): Move variable declaration closer to
595         its usage.
597         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
598         (Bug#14785)
600 2013-12-19  Juri Linkov  <juri@jurta.org>
602         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
603         New function.
604         (log-edit-hook): Add it to :options.  (Bug#16170)
606 2013-12-19  Juri Linkov  <juri@jurta.org>
608         * simple.el (eval-expression-print-format): Don't check for
609         command names and the last command.  Always display additional
610         formats of the integer result in the echo area, and insert them
611         to the current buffer only with a zero prefix arg.
612         Display character when char-displayable-p is non-nil.
613         (eval-expression): With a zero prefix arg, set `print-length' and
614         `print-level' to nil, and insert the integer values from
615         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
617         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
618         `eval-last-sexp-arg-internal'.  Doc fix.
619         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
620         `eval-last-sexp-print-value'.  Doc fix.
621         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
622         Set `print-length' and `print-level' to nil when arg is zero.
623         (eval-last-sexp): Doc fix.
624         (eval-defun-2): Print the integer values from
625         `eval-expression-print-format' at the end.
627         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
628         values from `eval-expression-print-format' at the end.
630         * ielm.el (ielm-eval-input): Print the integer
631         values from `eval-expression-print-format' at the end.
633 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
635         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
636         2013-12-11T19:01:44Z!tzz@lifelogs.com.
638 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
640         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
641         (hl-line-highlight, global-hl-line-highlight): Use it.
642         (hl-line-overlay): Use defvar-local.
644 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
646         * term/ns-win.el: Require dnd.
647         (global-map): Remove drag items.
648         (ns-insert-text, ns-set-foreground-at-mouse)
649         (ns-set-background-at-mouse):
650         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
651         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
652         New functions.
654 2013-12-19  Glenn Morris  <rgm@gnu.org>
656         * emacs-lisp/ert.el (ert-select-tests):
657         Fix string/symbol mixup.  (Bug#16121)
659 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
661         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
662         keywords to their parent.
664 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
666         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
667         first arg to be a string (fixed dead code), or an operator symbol.
668         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
669         operator symbols.
670         (ruby-smie-rules): Remove parent token check in the `.' clause, it
671         did nothing.  Don't respond to `(:after ".")', it will be called
672         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
673         change anything.  Only return indentation for binary operators
674         when they are hanging.  De-dent opening paren when its parent is
675         `.', otherwise it looks bad when the dot is not at bol or eol
676         (bug#16182).
678 2013-12-19  Juri Linkov  <juri@jurta.org>
680         * replace.el (query-replace-read-args): Split a non-negative arg
681         and a negative arg into separate elements.
682         (query-replace, query-replace-regexp, replace-string)
683         (replace-regexp): Add arg `backward'.  Doc fix.
684         (replace-match-maybe-edit): When new arg `backward' is non-nil,
685         move point to the beginning of the match.
686         (replace-search, replace-highlight): Use new arg `backward'
687         to set the value of `isearch-forward'.
688         (perform-replace): Add arg `backward' and use it to perform
689         replacement backward.  (Bug#14979)
691         * isearch.el (isearch-query-replace): Use a negative prefix arg
692         to call `perform-replace' with a non-nil arg `backward'.
694 2013-12-18  Juri Linkov  <juri@jurta.org>
696         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
697         to the default list.  Move `log-edit-show-files' to the end.
698         Add more available functions to options.
699         (log-edit): Move default specific settings to
700         `log-edit-insert-message-template'.  Don't move point.
701         (log-edit-insert-message-template): New function.
702         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
703         (Bug#16170)
705 2013-12-18  Juri Linkov  <juri@jurta.org>
707         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
708         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
710 2013-12-18  Leo Liu  <sdl.web@gmail.com>
712         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
713         (Bug#16186)
715 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
717         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
718         formats for displaying file sizes when the -s switch is given.
719         Instead, compute a separate format for displaying the size in
720         blocks, which is displayed in addition to the "regular" size.
721         When -h is given in addition to -s, produce size in blocks in
722         human-readable form as well.  (Bug#16179)
724 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
726         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
727         Reference tables with ~\ref{...} instead of only \ref{...}.
729 2013-12-18  Chong Yidong  <cyd@gnu.org>
731         * cus-edit.el (custom-magic-alist): Fix "themed" description
732         (Bug#14348).
734         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
735         is non-nil, do not create a new entry in the symbol's theme-value
736         or theme-face property; update theme-settings only (Bug#14664).
737         (custom-available-themes): Doc fix.
739         * cus-theme.el (custom-new-theme-mode-map): Add bindings
740         (Bug#15674).
742         * replace.el (occur-engine): Avoid infloop (Bug#7593).
744 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
746         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
747         (Bug#13914).
749 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
751         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
753 2013-12-18  Glenn Morris  <rgm@gnu.org>
755         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
756         * cus-start.el (load-prefer-newer): New option.
758 2013-12-18  Le Wang  <l26wang@gmail.com>
760         * comint.el (comint-previous-matching-input-from-input):
761         Retain point (Bug#13404).
763 2013-12-18  Chong Yidong  <cyd@gnu.org>
765         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
767 2013-12-18  Glenn Morris  <rgm@gnu.org>
769         * mail/emacsbug.el (report-emacs-bug):
770         Only mention enable-multibyte-characters if non-standard.
772 2013-12-17  Juri Linkov  <juri@jurta.org>
774         * arc-mode.el (archive-extract-by-file): Check if directory exists
775         before deletion to not show irrelevant errors if it doesn't exist.
777 2013-12-17  Juri Linkov  <juri@jurta.org>
779         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
780         (Bug#14751)
782         * net/eww.el (browse-web): Add alias to `eww'.
783         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
784         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
786         * net/browse-url.el (browse-url-browser-function): Move `eww'
787         closer to similar functions.
789         * startup.el (fancy-startup-screen, fancy-about-screen):
790         Set browse-url-browser-function to eww-browse-url locally.
791         (Bug#14751)
793 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
795         * window.el (window--pixel-to-total): Remove unused `mini' var.
796         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
797         (split-window): Remove unused `new' var.
798         (window--display-buffer): Remove unused `frame' and `delta' vars.
799         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
800         and display-width'.
802 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
804         * dired.el (dired-mark-pop-up):
805         * register.el (register-preview): Don't bind
806         split-height-threshold here since it's now done in
807         display-buffer-below-selected.
809 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
811         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
812         xterm-rgb-convert-to-16bit.
813         (rxvt-register-default-colors): Standardize with
814         xterm-register-default-colors (Bug#14078).
816 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
818         * simple.el (kill-region): Pass mark first, then point, so that
819         kill-append works right (Bug#12819).
820         (copy-region-as-kill, kill-ring-save): Likewise.
822 2013-12-17  Leo Liu  <sdl.web@gmail.com>
824         * net/rcirc.el (rcirc-add-face):
825         * eshell/em-prompt.el (eshell-emit-prompt):
826         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
827         (Bug#16167)
829 2013-12-17  Chong Yidong  <cyd@gnu.org>
831         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
832         Suggested by Xue Fuqiao.
834 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
836         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
838 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
840         * net/shr.el (shr-insert-document): Remove unused var
841         `shr-preliminary-table-render'.
842         (shr-rescale-image): Remove unused arg `force'.
843         (shr-put-image): Update calls accordingly.
844         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
846 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
848         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
849         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
850         :close-all, to see which indentation method to use (Bug#16116).
851         (smie-rules-function): Document the method :close-all.
853 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
855         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
857         * net/eww.el (eww-display-html): If we can't find the anchor we're
858         looking for, then go to point-min.
860 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
862         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
863         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
864         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
865         Expand dir too, in case it's relative.
867 2013-12-16  Juri Linkov  <juri@jurta.org>
869         * desktop.el (desktop-auto-save-timeout): Change default to
870         `auto-save-timeout'.  Doc fix.
871         (desktop-save): Skip the timestamp in desktop-saved-frameset
872         when checking for auto-save changes.
873         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
874         `desktop-auto-save' is called repeatedly by the idle timer.
875         (desktop-auto-save-set-timer): Replace `run-with-timer' with
876         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
877         (Bug#15331)
879 2013-12-16  Juri Linkov  <juri@jurta.org>
881         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
882         (Bug#16035)
883         (isearch-pre-command-hook): Check `this-command' for symbolp.
885 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
887         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
889 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
891         * progmodes/cfengine.el (cfengine3--current-word): Remove.
892         (cfengine3--current-function): Bring in the current-function
893         functionality from `cfengine3--current-word'.
894         (cfengine3-completion-function): Bring in the
895         bounds-of-current-word functionality from
896         `cfengine3--current-word'.
898 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
900         * window.el (display-buffer-below-selected):
901         Bind split-height-threshold to 0 as suggested by Juri Linkov.
903 2013-12-16  Leo Liu  <sdl.web@gmail.com>
905         * progmodes/compile.el (compile-goto-error): Do not push-mark.
906         Remove NOMSG arg and all uses changed.
908 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
910         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
911         (cua--deactivate-rectangle): Don't deactivate the mark.
912         (cua-set-rectangle-mark): Don't set mark-active since
913         cua--activate-rectangle already does it for us.
914         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
915         non-rectangular region.
917         * emulation/cua-base.el (cua-repeat-replace-region):
918         Use with-current-buffer.
920         * net/gnutls.el: Use cl-lib.
921         (gnutls-negotiate): `mapcan' -> cl-mapcan.
923 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
925         * emacs-lisp/package.el (package-built-in-p): Support both
926         built-in and the package.el converted package descriptions.
927         (package-show-package-list): Allow keywords.
928         (package-keyword-button-action): Use it instead of
929         `finder-list-matches'.
930         (package-menu-filter-interactive): Interactive filtering (by
931         keyword) function.
932         (package-menu--generate): Support keywords and change keymappings
933         and headers when they are given.
934         (package--has-keyword-p): Helper function.
935         (package-menu--refresh): Use it.
936         (package--mapc): Helper function.
937         (package-all-keywords): Use it.
938         (package-menu-mode-map): Set up menu items and keybindings to
939         provide a filtering UI.
941 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
943         * net/gnutls.el (gnutls-verify-error): New defcustom to control
944         the behavior when a certificate fails validation.  Defaults to
945         old behavior: never abort, just warn.
946         (gnutls-negotiate): Use it.
948 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
950         * window.el (display-buffer-below-selected): Never split window
951         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
953 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
955         * emacs-lisp/package.el (package--prepare-dependencies): New function.
956         (package-buffer-info): Use it (bug#15108).
958 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
960         * icomplete.el (icomplete-completions): Make sure the prefix is already
961         displayed elsewhere before hiding it (bug#16219).
963 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
965         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
966         open-paren tokens when preceded by a open-paren, too.
967         (ruby-smie-rules): Handle virtual indentation after open-paren
968         tokens specially.  If there is code between it and eol, return the
969         column where is starts (Bug#16118).
971 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
973         * progmodes/cfengine.el: Fix `add-hook' doc.
974         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
975         (cfengine3--current-word): Fix parameters.
976         (cfengine3-make-syntax-cache): Simplify further.
977         (cfengine3-completion-function, cfengine3--current-function):
978         Use `assq' for symbols.
979         (cfengine3--current-function): Fix `cfengine3--current-word' call.
981 2013-12-13  Glenn Morris  <rgm@gnu.org>
983         * loadup.el (load-path): Warn if site-load or site-init changes it.
984         No more need to reset it when bootstrapping.
986 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
988         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
989         locations for cf-promises.
990         (cfengine-mode-syntax-functions-regex): New caching variable.
991         (cfengine3-fallback-syntax): Fallback syntax for cases where
992         cf-promises doesn't run.
993         (cfengine3--current-word): Reimplement using
994         `cfengine-mode-syntax-functions-regex'.
995         (cfengine3-completion-function, cfengine3--current-function):
996         Use `cfengine3-make-syntax-cache' directly.
997         (cfengine3-clear-syntax-cache): New function.
998         (cfengine3-make-syntax-cache): Simplify and create
999         `cfengine-mode-syntax-functions-regex' on demand.
1000         (cfengine3-format-function-docstring): Don't call
1001         `cfengine3-make-syntax-cache' explicitly.
1003 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
1005         Fix windmove-find-other-window broken after pixelwise resizing
1006         (Bug#16017).
1007         * windmove.el (windmove-other-window-loc): Revert change from
1008         2013-12-04.
1009         (windmove-find-other-window): Call window-in-direction.
1010         * window.el (window-in-direction): New arguments SIGN, WRAP and
1011         MINI to emulate original windmove-find-other-window behavior.
1013 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
1015         * simple.el (blink-matching--overlay): New variable.
1016         (blink-matching-open): Instead of moving point, highlight the
1017         matching paren with an overlay
1018         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1020         * faces.el (paren-showing-faces, show-paren-match)
1021         (show-paren-mismatch): Move from paren.el.
1023 2013-12-13  Leo Liu  <sdl.web@gmail.com>
1025         * indent.el (indent-region): Disable progress reporter in
1026         minibuffer.  (Bug#16108)
1028         * bindings.el (visual-order-cursor-movement): Fix version.
1030 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1032         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1033         Also match after beginning of line.
1034         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1035         files.  Thanks to Russell Sim.  (Bug#15378)
1037 2013-12-13  Juri Linkov  <juri@jurta.org>
1039         * simple.el <Keypad support>: Remove key bindings duplicated
1040         with bindings.el.  (Bug#14397)
1042 2013-12-13  Juri Linkov  <juri@jurta.org>
1044         * comint.el (comint-mode-map): Replace `delete-char' with
1045         `delete-forward-char'.  (Bug#16109)
1047 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1049         * progmodes/python.el (python-indent-calculate-indentation):
1050         Fix de-denters cornercase.  (Bug#15731)
1052 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1054         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1055         (advice--make): Pay attention to `depth'.
1056         (advice--make-1): Don't autoload commands eagerly.
1057         * emacs-lisp/elp.el (elp-instrument-function):
1058         * emacs-lisp/trace.el (trace-function-internal):
1059         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1061         * iswitchb.el (iswitchb-mode): Don't belittle ido.
1063 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
1065         * term/w32-win.el (w32-handle-dropped-file):
1066         * startup.el (normal-top-level):
1067         * net/browse-url.el (browse-url-file-url):
1068         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1069         decode file names using 'utf-8' rather than
1070         file-name-coding-system.
1072 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1074         * progmodes/python.el (python-indent-context)
1075         (python-indent-calculate-indentation): Fix auto-identation
1076         behavior for comment blocks.  (Bug#15916)
1078 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1080         * progmodes/python.el (python-indent-calculate-indentation):
1081         When determining indentation, don't treat "return", "pass", etc., as
1082         operators when they are just string constituents.  (Bug#15812)
1084 2013-12-12  Juri Linkov  <juri@jurta.org>
1086         * uniquify.el (uniquify-buffer-name-style): Change default to
1087         `post-forward-angle-brackets'.
1089         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1090         `uniquify'.  Change default to `post-forward-angle-brackets'.
1092 2013-12-11  Glenn Morris  <rgm@gnu.org>
1094         * emacs-lisp/package.el (finder-list-matches):
1095         Autoload rather than falsely declaring.
1097 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
1099         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1100         (eww-mode-map): Use them.
1102 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
1104         * window.el (display-buffer-in-side-window): Fix doc-string
1105         (Bug#16115).
1107 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
1109         * vc/vc-git.el: Silence byte-compiler warnings.
1110         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1111         (log-edit-set-header): Declare.
1113 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
1115         * Makefile.in (custom-deps, finder-data): Run output file names
1116         through unmsys--file-name.  (Bug#16099)
1118 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1120         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1121         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1123         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1124         instead of deleting the selection "by hand" (bug#16098).
1125         Rely on insert-for-yank to yank rectangles.
1126         (cua-highlight-region-shift-only): Mark obsolete.
1127         (cua-mode): Don't enable/disable transient-mark-mode,
1128         shift-select-mode (cua-mode works both with and without them), and
1129         pc-selection-mode (obsolete).
1130         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1131         (cua--deactivate-rectangle): Deactivate it.
1133         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1134         (delete-selection-helper): Make sure yank starts at the top of the
1135         deleted region.
1136         (minibuffer-keyboard-quit): Use region-active-p.
1138         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1140         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1141         to `delete' (bug#16109).
1143 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1145         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1146         info manual and show keybindings and set `:group' keyword.
1148 2013-12-11  Juri Linkov  <juri@jurta.org>
1150         * delsel.el (delete-active-region): Let-bind `this-command'
1151         to prevent `kill-region' from changing its original value.
1152         (delete-selection-helper): Handle `overwrite-mode' for the type
1153         `kill' exactly the same way as for the type `t'.
1154         (insert-char, quoted-insert, reindent-then-newline-and-indent):
1155         Support more commands.  (Bug#13312)
1157 2013-12-11  Juri Linkov  <juri@jurta.org>
1159         * bindings.el: Map kp keys to non-kp keys systematically
1160         with basic modifiers control, meta and shift.  (Bug#14397)
1162 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1164         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1165         "Close browser" menu items.  Fix wrong function of "List
1166         bookmarks".
1168 2013-12-11  Juri Linkov  <juri@jurta.org>
1170         * misearch.el (multi-isearch-buffers): Set the value of
1171         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1172         arg of isearch-forward to t.
1173         (multi-isearch-buffers-regexp): Set the value of
1174         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1175         arg of isearch-forward-regexp to t.
1176         (multi-isearch-files): Set the value of
1177         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
1178         arg of isearch-forward to t.
1179         (multi-isearch-files-regexp): Set the value of
1180         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
1181         arg of isearch-forward-regexp to t.  (Bug#16035)
1183         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1184         arg of isearch-forward to t.
1185         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1186         arg of isearch-forward-regexp to t.
1187         (dired-isearch-filter-filenames): Remove unnecessary check for
1188         `dired-isearch-filenames'.
1190         * comint.el (comint-history-isearch-backward):
1191         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1192         (comint-history-isearch-backward-regexp):
1193         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1195 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
1197         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1198         unmsys--file-name.  (Bug#16099)
1200 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
1202         * emacs-lisp/package.el (package-keyword-button-action):
1203         Remove finder.el require dependency.
1205 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
1207         * emacs-lisp/package.el: Require finder.el.
1208         (describe-package-1): Add keyword buttons.
1209         (package-make-button): New convenience function.
1210         (package-keyword-button-action): Keyword button action using
1211         `finder-list-matches'.
1213 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
1215         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1216         last commit.
1218 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
1220         * autorevert.el (auto-revert-notify-add-watch): Do not handle
1221         symlinked files.
1223 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1225         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1226         after the end of a percent literal.
1228 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1230         * progmodes/ruby-mode.el (ruby-forward-string): Document.
1231         Handle caret-delimited strings (Bug#16079).
1233 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1235         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1236         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1237         `ruby-parse-partial' (Bug#16078).
1239 2013-12-09  Leo Liu  <sdl.web@gmail.com>
1241         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
1243 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
1245         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1246         (js-switch-indent-offset): New option.
1247         (js--proper-indentation): Use it.  And handle the case when
1248         "default" is actually a key in an object literal.
1249         (js--same-line): New function.
1250         (js--multi-line-declaration-indentation): Use it.
1251         (js--indent-in-array-comp, js--array-comp-indentation):
1252         New functions.
1253         (js--proper-indentation): Use them, to handle array comprehension
1254         continuations.
1256 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1258         * progmodes/flymake.el (flymake-highlight-line): Re-write.
1259         (flymake-make-overlay): Remove arg MOUSE-FACE.
1260         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1262 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1264         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1265         New function.
1266         (redisplay-highlight-region-function): Use it.
1268         * emulation/cua-base.el (cua--explicit-region-start)
1269         (cua--last-region-shifted): Remove.
1270         (cua--deactivate): Use deactivate-mark.
1271         (cua--pre-command-handler-1): Don't handle shift-selection.
1272         (cua--post-command-handler-1): Don't change transient-mark-mode.
1273         (cua--select-keymaps): Use region-active-p rather than
1274         cua--explicit-region-start or cua--last-region-shifted.
1275         (cua-mode): Enable shift-select-mode.
1277 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1279         * progmodes/flymake.el (flymake-popup-current-error-menu):
1280         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
1281         (flymake-posn-at-point-as-event, flymake-popup-menu)
1282         (flymake-make-emacs-menu): Remove.  (Bug#16077)
1284 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1286         * rect.el (rectangle-mark-mode): Activate mark even if
1287         transient-mark-mode is off (bug#16066).
1288         (rectangle--highlight-for-redisplay): Fix boundary condition when point
1289         is > mark and at bolp.
1291         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1292         (region-extract-function): Use it.
1293         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1294         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1295         Delete functions.
1296         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1297         kill-ring-save, kill-region, delete-char, delete-forward-char.
1298         Ignore self-insert-iso.
1300         * emulation/cua-gmrk.el (cua--init-global-mark):
1301         Ignore `self-insert-iso'.
1303         * emulation/cua-base.el (cua--prefix-copy-handler)
1304         (cua--prefix-cut-handler): Rely on region-extract-function rather than
1305         checking cua--rectangle.
1306         (cua-delete-region): Use region-extract-function.
1307         (cua-replace-region): Delete function.
1308         (cua-copy-region, cua-cut-region): Obey region-extract-function.
1309         (cua--pre-command-handler-1): Don't do the delete-selection thing.
1310         (cua--self-insert-char-p): Ignore `self-insert-iso'.
1311         (cua--init-keymaps): Don't remap delete-selection commands.
1312         (cua-mode): Use delete-selection-mode instead of rolling our own
1313         (bug#16085).
1315         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1316         Obey region-extract-function.
1318         Make registers and delete-selection-mode work on rectangles.
1319         * register.el (describe-register-1): Don't modify the register's value.
1320         (copy-to-register): Obey region-extract-function.
1321         * delsel.el (delete-active-region): Obey region-extract-function.
1323 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1325         * progmodes/flymake.el (flymake, flymake-error-bitmap)
1326         (flymake-warning-bitmap, flymake-fringe-indicator-position)
1327         (flymake-compilation-prevents-syntax-check)
1328         (flymake-start-syntax-check-on-newline)
1329         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1330         (flymake-start-syntax-check-on-find-file, flymake-log-level)
1331         (flymake-xml-program, flymake-master-file-dirs)
1332         (flymake-master-file-count-limit)
1333         (flymake-allowed-file-name-masks): Relocate.
1334         (flymake-makehash, flymake-float-time)
1335         (flymake-replace-regexp-in-string, flymake-split-string)
1336         (flymake-get-temp-dir): Remove.
1337         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1338         (flymake-current-row, flymake-selected-frame)
1339         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1340         related functions.  (Bug#16077)
1342 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
1344         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1346 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
1348         * help-fns.el (describe-function-1): Use new advice-* functions
1349         rather than old ad-* functions.  Fix function type description and
1350         source links for advised functions and subrs.
1352 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1354         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1356 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
1358         * progmodes/compile.el (compilation-start):
1359         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1361         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1362         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
1364 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1366         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1367         Touch up the last change.
1369 2013-12-06  Leo Liu  <sdl.web@gmail.com>
1371         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1372         (inferior-octave-startup): Always use "octave> " for prompt.
1373         (octave-goto-function-definition)
1374         (octave-sync-function-file-names)
1375         (octave-find-definition-default-filename): Remove redundant backquotes.
1377 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1379         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1380         syntax for `?'.
1381         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1382         where appropriate already.
1383         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1384         end of method names (Bug#15874).
1386 2013-12-06  Juri Linkov  <juri@jurta.org>
1388         * isearch.el (isearch--saved-overriding-local-map):
1389         New internal variable.
1390         (isearch-mode): Set it to the initial value of
1391         `overriding-terminal-local-map'.
1392         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1393         with `isearch--saved-overriding-local-map'.  (Bug#16035)
1395 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1397         * progmodes/octave.el (inferior-octave-completion-table):
1398         Turn back into function, use `completion-table-with-cache'
1399         (Bug#11906).  Update all references.
1401         * minibuffer.el (completion-table-with-cache): New function.
1403 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1405         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1407 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
1409         * net/eww.el (eww-current-source): New variable to store page
1410         source.
1411         (eww-display-html, eww-mode, eww-save-history)
1412         (eww-restore-history): Use it.
1413         (eww-view-source): New command to view page source.
1414         Opportunistically uses `html-mode' to highlight the buffer.
1415         (eww-mode-map): Install it.
1417 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
1419         * net/dbus.el (dbus-unregister-service)
1420         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1421         Fix docstring.
1422         (dbus-unregister-service): Skip :serial entries in
1423         `dbus-registered-objects-table'.
1424         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1426 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
1428         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1429         around keywords with extra `split-string' argument.
1431 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
1433         * windmove.el (windmove-other-window-loc): Handle navigation
1434         between windows (excluding the minibuffer window - Bug#16017).
1436 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
1438         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1439         in D-Bus type syntax.
1440         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1441         preserve unibyte strings.  (Bug#16048)
1443 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1445         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1446         Call force-mode-line-update is the proper buffer (bug#16042).
1448 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
1450         * vc/log-edit.el (log-edit-add-new-comment): Rename to
1451         `log-edit-remember-comment', make argument optional.  Adjust all
1452         callers.
1453         (log-edit-mode): Add `log-edit-remember-comment' to
1454         `kill-buffer-hook' locally.
1455         (log-edit-kill-buffer): Don't remember comment explicitly since
1456         the buffer is killed anyway.
1458 2013-12-04  Juri Linkov  <juri@jurta.org>
1460         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1461         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
1463 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
1465         * notifications.el (notifications-close-notification): Call the
1466         D-Bus method with ID being a `:uint32'.  (Bug#16030)
1468 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1470         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1472 2013-12-03  Juri Linkov  <juri@jurta.org>
1474         * progmodes/compile.el (compilation-start): Rename window alist
1475         entry `no-display-ok' to `allow-no-window'.
1477         * simple.el (shell-command): Add window alist entry
1478         `allow-no-window' to `display-buffer'.
1479         (async-shell-command): Doc fix.
1481         * window.el (display-buffer-no-window): New action function.
1482         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
1484 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1486         * vc/log-edit.el (log-edit-set-header): Extract from
1487         `log-edit-toggle-header'.
1488         (log-edit-extract-headers): Separate the summary, when extracted
1489         from header, from the rest of the message with an empty line.
1491         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1492         line, if present, to the Summary header.
1494 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1496         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1497         in current-buffer (bug#16029).
1499 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
1501         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1502         (debugger-mode-map): Bind it.
1503         (debugger--backtrace-base): New function.
1504         (debugger-eval-expression): Use it.
1505         (debugger-frame-number): Skip local vars when present.
1506         (debugger--locals-visible-p, debugger--insert-locals)
1507         (debugger--show-locals, debugger--hide-locals): New functions.
1509 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
1511         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1512         "LC_ALL".
1513         (tramp-get-remote-locale): New defun.
1514         (tramp-open-connection-setup-interactive-shell): Use it.
1516 2013-12-02  Leo Liu  <sdl.web@gmail.com>
1518         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
1520         * progmodes/sh-script.el (sh-shell-process):
1521         * progmodes/octave.el (inferior-octave-process-live-p):
1522         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1523         (gdb-inferior-io-sentinel):
1524         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1526 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1528         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1529         `save-selected-window' to `log-edit-hide-buf'.  This makes
1530         `log-edit-show-files' idempotent.
1531         (log-edit-show-files): Mark the new window as dedicated.
1533 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1535         * vc/log-edit.el (log-edit-mode-map): Add binding for
1536         `log-edit-kill-biffer'.
1537         (log-edit-hide-buf): Add a FIXME comment.
1538         (log-edit-add-new-comment): New function, extracted from
1539         `log-edit-done'.
1540         (log-edit-done, log-edit-add-to-changelog): Use it.
1541         (log-edit-kill-buffer): New command.
1543 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1545         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1546         instead of killing the buffer.
1548 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1550         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1552 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1554         * net/eww.el (eww-form-checkbox-selected-symbol)
1555         (eww-form-checkbox-symbol): New customizable variable.
1556         (eww-form-checkbox, eww-toggle-checkbox):
1557         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1559         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1560         (shr--get-media-pref, shr--extract-best-source): New function.
1561         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1562         no :src tag was specified.
1564         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1565         (eww-render): Handle `eww-use-external-browser-for-content-type'.
1566         Use \\` to match beginning of string instead of ^.
1567         (eww-browse-with-external-browser): Provide optional URL parameter.
1568         (eww-render): Set `eww-current-title' back to "".
1570         * net/shr.el (shr-tag-video): Display content for video if no
1571         poster is available.
1572         (shr-tag-audio): Add support for <audio> tag.
1574         * net/eww.el (eww-text-input-types): New const.
1575         (eww-process-text-input): Treat input types in
1576         `eww-text-input-types' as text.
1578         * net/shr.el (shr-tag-table): Fix comment typo.
1580 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1582         * net/eww.el (eww-follow-link): New command to avoid reloading
1583         pages when we follow #target links (bug#15243).
1584         (eww-quit): Special mode buffers shouldn't query before exiting.
1586 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1588         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1589         forms.
1591 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1593         * net/eww.el (eww-restore-history): Update the window title after
1594         moving in the history.
1595         (eww-current-dom): New variable used to save the current DOM.
1597 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
1599         * vc/log-edit.el (log-edit-mode-map): Add binding for
1600         `log-edit-beginning-of-line'.
1601         (log-edit-setup-add-author): New user option.
1602         (log-edit-beginning-of-line): New command.
1603         (log-edit): Move major mode call above the contents setup so that
1604         the local variable values are already applied.
1605         (log-edit): Only insert "Author: " when
1606         `log-edit-setup-add-author' is non-nil.
1607         (log-edit): When SETUP is non-nil, position point after ": "
1608         instead of point-min.
1610 2013-12-01  Glenn Morris  <rgm@gnu.org>
1612         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1614 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
1616         * startup.el (fancy-splash-frame): On MS-Windows, trigger
1617         redisplay to make sure the initial frame gets a chance to become
1618         visible.  (Bug#16014)
1620 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
1622         Support resizing frames and windows pixelwise.
1623         * cus-start.el (frame-resize-pixelwise)
1624         (window-resize-pixelwise): New entries.
1625         * emacs-lisp/debug.el (debug): Use window-total-height instead
1626         of window-total-size.
1627         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1628         * help.el (describe-bindings-internal): Call help-buffer
1629         (temp-buffer-max-width): New option.
1630         (resize-temp-buffer-window, help-window-setup)
1631         (with-help-window): Rewrite.
1632         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
1633         dragging dividers.
1634         * window.el (frame-char-size, window-min-pixel-height)
1635         (window-safe-min-pixel-height, window-safe-min-pixel-width)
1636         (window-min-pixel-width, window-safe-min-pixel-size)
1637         (window-combination-p, window-safe-min-size)
1638         (window-resizable-p, window--size-to-pixel)
1639         (window--pixel-to-size, window--resize-apply-p): New functions.
1640         (window-safe-min-height): Fix doc-string.
1641         (window-size, window-min-size, window--min-size-1)
1642         (window-sizable, window-sizable-p, window--min-delta-1)
1643         (window-min-delta, window--max-delta-1, window-max-delta)
1644         (window--resizable, window--resizable-p, window-resizable)
1645         (window-full-height-p, window-full-width-p, window-at-side-p)
1646         (window--in-direction-2, window-in-direction)
1647         (window--resize-reset-1, window--resize-mini-window)
1648         (window-resize, window-resize-no-error)
1649         (window--resize-child-windows-normal)
1650         (window--resize-child-windows, window--resize-siblings)
1651         (window--resize-this-window, window--resize-root-window)
1652         (window--resize-root-window-vertically)
1653         (adjust-window-trailing-edge, enlarge-window, shrink-window)
1654         (maximize-window, minimize-window, delete-window)
1655         (quit-restore-window, window-split-min-size, split-window)
1656         (balance-windows-2, balance-windows)
1657         (balance-windows-area-adjust, balance-windows-area)
1658         (window--state-get-1, window-state-get, window--state-put-1)
1659         (window--state-put-2, window-state-put)
1660         (display-buffer-record-window, window--display-buffer):
1661         Make functions handle pixelwise sizing of windows.
1662         (display-buffer--action-function-custom-type)
1663         (display-buffer-fallback-action):
1664         Add display-buffer-in-previous-window.
1665         (display-buffer-use-some-window): Resize window to height it had
1666         before.
1667         (fit-window-to-buffer-horizontally): New option.
1668         (fit-frame-to-buffer): Describe new values.
1669         (fit-frame-to-buffer-bottom-margin): Replace with
1670         fit-frame-to-buffer-margins.
1671         (window--sanitize-margin): New function.
1672         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1673         using window-text-pixel-size.
1675 2013-11-30  Glenn Morris  <rgm@gnu.org>
1677         * emacs-lisp/bytecomp.el (byte-compile-form):
1678         Make the `interactive-only' warning like the `obsolete' one.
1679         * comint.el (comint-run):
1680         * files.el (insert-file-literally, insert-file):
1681         * replace.el (replace-string, replace-regexp):
1682         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1683         (goto-line, insert-buffer, next-line, previous-line):
1684         Tweak `interactive-only' spec.
1686         Stop keeping (most) generated cedet grammar files in the repository.
1687         * Makefile.in (semantic): New.
1688         (compile-main): Depend on semantic.
1690 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1692         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1693         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1695         * uniquify.el (uniquify-buffer-name-style): Change default.
1697         * loadup.el: Preload "uniquify".
1699         * time.el (display-time-update): Update all mode lines (bug#15999).
1701         * electric.el (electric-indent-mode): Enable by default.
1702         * loadup.el: Preload "electric".
1704 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
1706         * emacs-lisp/helpers.el (string-empty-p): New function.
1707         (string-blank-p): New function.
1709 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
1711         * imenu.el (imenu--index-alist): Add missing dot to the docstring
1712         (Bug#14029).
1714 2013-11-29  Andreas Politz  <politza@fh-trier.de>
1715         * imenu.el (imenu--subalist-p): Don't error on non-conses and
1716         allow non-lambda lists as functions.
1717         (imenu--in-alist): Don't recurse into non-subalists.
1718         (imenu): Don't pass function itself as an argument (Bug#14029).
1720 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1722         * progmodes/python.el (python-mode-map): Remove binding for ":".
1723         (python-indent-electric-colon): Remove command.
1724         (python-indent-post-self-insert-function): Integrate the previous code
1725         of python-indent-electric-colon.  Make it conditional on
1726         electric-indent-mode.
1727         (python-mode): Add ?: to electric-indent-chars.
1728         Move python-indent-post-self-insert-function to the end of
1729         post-self-insert-hook.
1731 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1733         * doc-view.el (doc-view-goto-page): Update mode-line.
1735         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1737 2013-11-27  Glenn Morris  <rgm@gnu.org>
1739         * international/charprop.el, international/uni-bidi.el:
1740         * international/uni-category.el, international/uni-combining.el:
1741         * international/uni-comment.el, international/uni-decimal.el:
1742         * international/uni-decomposition.el, international/uni-digit.el:
1743         * international/uni-lowercase.el, international/uni-mirrored.el:
1744         * international/uni-name.el, international/uni-numeric.el:
1745         * international/uni-old-name.el, international/uni-titlecase.el:
1746         * international/uni-uppercase.el:
1747         Remove generated files from VCS repository.
1749 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
1751         * filenotify.el (file-notify-add-watch): Don't special-case
1752         w32notify when computing the directory to watch.
1754 2013-11-27  Glenn Morris  <rgm@gnu.org>
1756         Make bootstrap without generated uni-*.el files possible again.
1757         * loadup.el: Update command-line-args checking for unidata-gen.
1758         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1759         * composite.el, international/characters.el:
1760         Handle unicode tables being undefined.
1762         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1763         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1764         (compile-main): Depend on leim rule.
1765         (leim): New rule.
1766         * loadup.el: Move leim-list.el to leim/ subdirectory.
1767         * startup.el (normal-top-level): No more leim directory.
1768         * international/ja-dic-cnv.el (skkdic-convert):
1769         Disable version-control and autoloads in output files.
1770         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1771         Disable version-control and autoloads in output files.
1772         * leim/quail: Move here from ../leim.
1773         * leim/quail/hangul.el (hangul-input-method-activate):
1774         Add autoload cookie.
1775         (generated-autoload-load-name): Set file-local value.
1776         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1777         (generated-autoload-load-name): Set file-local value.
1779 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
1781         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1782         (eww-add-bookmark): Ask confirmation when add to bookmarks.
1783         (eww-quit): Ask confirmation before quitting eww.
1785 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
1787         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1788         reading output from Diff on MS-Windows and MS-DOS.
1790 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
1792         * emacs-lisp/helpers.el (string-reverse): New function.
1794 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
1796         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1797         names on MS Windows, like "/[::1]:".
1799         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1800         SWITCHES.
1802 2013-11-26  Glenn Morris  <rgm@gnu.org>
1804         * progmodes/python.el (python-indent-guess-indent-offset):
1805         Avoid corner-case error.  (Bug#15975)
1807         Preload leim-list.el.  (Bug#4789)
1808         * loadup.el: Load leim-list.el when found.
1809         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1811 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
1813         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1815         * emacs-lisp/helpers.el (string-join): New function.
1817 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
1819         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1820         Mark as obsolete and replace it with a symbol property.
1821         (byte-compile-form): Use new 'interactive-only property.
1822         * comint.el, files.el, replace.el, simple.el:
1823         Apply new 'interactive-only properly.
1825 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
1827         * window.el (display-buffer-at-bottom): Make sure that
1828         split-window-sensibly creates the new window on bottom
1829         (Bug#15961).
1831 2013-11-23  David Kastrup  <dak@gnu.org>
1833         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1834         on the conflict markers when available.
1835         (smerge--get-marker): New function.
1836         (smerge-end-re, smerge-base-re): Add subgroup.
1838 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1840         * frame.el (handle-focus-in, handle-focus-out): Add missing
1841         interactive spec.
1843 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
1845         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1846         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1848 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1850         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
1851         (gomoku--last-pos): New var.
1852         (gomoku--intangible-chars): New const.
1853         (gomoku--intangible): New function.
1854         (gomoku-mode): Use it.  Derive from special-mode.
1855         (gomoku-move-up): Adjust line count.
1856         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1857         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1858         Simplify accordingly.
1860         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1861         Remove blink-cursor code.
1862         (blink-cursor-timer-function, blink-cursor-suspend):
1863         Don't special-case GUIs.
1864         (blink-cursor-mode): Use focus-in/out-hook.
1866 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
1868         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1869         work when annotation is invisible (Bug#13886).
1871 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
1873         * json.el (json-alist-p): Only return non-nil if the alist has
1874         simple keys (Bug#13518).
1876 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
1878         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1879         when control-statement is the first statement in a buffer (Bug#15956).
1881 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
1883         * imenu.el (imenu-generic-skip-comments-and-strings):
1884         New option (Bug#15560).
1885         (imenu--generic-function): Use it.
1887 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
1889         * minibuffer.el (completion--in-region-1): Scroll the correct window.
1890         (Bug#13898)
1892 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
1894         * emacs-lisp/helpers.el: Add some string helpers.
1895         (string-trim-left): Removes leading whitespace.
1896         (string-trim-right): Removes trailing whitespace.
1897         (string-trim): Removes leading and trailing whitespace.
1899         * subr.el (string-suffix-p): New function.
1901 2013-11-23  Glenn Morris  <rgm@gnu.org>
1903         * progmodes/python.el (python-shell-send-file):
1904         Add option to delete file when done.  (Bug#15647)
1905         (python-shell-send-string, python-shell-send-region): Use it.
1907 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
1909         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1910         to set buffer-read-only to t, never to nil.  (Bug#15938)
1912         * textmodes/tex-mode.el (latex-noindent-environments):
1913         Add safe-local-variable property.  (Bug#15936)
1915 2013-11-23  Glenn Morris  <rgm@gnu.org>
1917         * textmodes/enriched.el (enriched-mode): Doc fix.
1918         * emacs-lisp/authors.el (authors-renamed-files-alist):
1919         Add enriched.doc -> enriched.txt.
1921         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1923 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1925         * progmodes/octave.el (inferior-octave-startup): Spit out error
1926         message.
1928 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
1930         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1931         Improve docstring.
1932         Add :version.
1933         (ruby-encoding-magic-comment-style): Add :version.
1935 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1937         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1938         (Bug#15076)
1939         (octave-help-mode): Adapt to change to help-mode-finish to use
1940         derived-mode-p on 2013-09-17.
1941         (inferior-octave-prompt): Also match octave-gui.
1942         (octave-kill-process): Don't ask twice.  (Bug#10564)
1944 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1946         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1947         (inferior-octave-startup, inferior-octave-check-process)
1948         (inferior-octave-track-window-width-change)
1949         (octave-completion-at-point, octave-eldoc-function): Use it.
1950         (octave-kill-process): Provide confirmation.  (Bug#10564)
1952 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1954         * progmodes/octave.el (octave-mode, inferior-octave-mode):
1955         Fix obsolete variable comment-use-global-state.
1957 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1959         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1960         Add `octave-source-file'.
1961         (octave-source-file): New function.  (Bug#15935)
1963 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
1965         * net/eww.el (eww-local-regex): New variable.
1966         (eww): Use it to detect localhost and similar.
1968 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1970         Add completion for command `ag'.
1971         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1972         (pcomplete/ag): New function.
1973         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
1975 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1977         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1978         (bug#14646).
1979         (make-obsolete): Remove interactive spec.
1981 2013-11-21  Glenn Morris  <rgm@gnu.org>
1983         * startup.el (command-line-1): Use path-separator with -L.
1985 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1987         * emacs-lisp/package.el (describe-package-1): Add package archive
1988         to shown fields.
1990 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1992         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1993         Change default to "# encoding: %s" to differentiate it from the
1994         default Ruby encoding comment template.
1996 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1998         * ses.el (ses-mode): Doc fix.  (Bug#14748)
2000 2013-11-20  Leo Liu  <sdl.web@gmail.com>
2002         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
2004 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
2006         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2007         when rebase or bisect are in progress.
2009 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
2011         * filenotify.el (file-notify-add-watch): Doc fix.
2013 2013-11-19  Leo Liu  <sdl.web@gmail.com>
2015         * obsolete/rcompile.el: Mark obsolete.
2017         * progmodes/compile.el (compilation-start)
2018         (compilation-goto-locus, compilation-find-file):
2019         Pass no-display-ok and handle nil value from display-buffer.
2020         (Bug#13594)
2022         * window.el (display-buffer-alist, display-buffer): Document the
2023         new parameter no-display-ok.  Return either a window or nil
2024         but never a non-window value.
2026 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2028         * electric.el (electric-indent-mode-map): Remove.
2029         (electric-indent-mode): Change the global-map instead (bug#15915).
2031         * textmodes/text-mode.el (paragraph-indent-minor-mode):
2032         Use add-function.
2034 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2036         * emacs-lisp/nadvice.el (remove-function): Align with
2037         add-function's behavior.
2039         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2040         (gdb--string-regexp): New constant.
2041         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2042         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2043         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2044         submatch 1.
2045         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2046         Adjust use accordingly.
2047         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2049 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
2051         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2052         interpolation curlies (Bug#15914).
2054 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
2056         * calc/calc.el (calc-context-sensitive-enter): New variable.
2057         (calc-enter): Use `calc-context-sensitive-enter'.
2059 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
2061         * progmodes/cfengine.el: Version bump.
2062         (cfengine-cf-promises): New defcustom to locate cf-promises.
2063         (cfengine3-vartypes): Add new "data" type.
2064         (cfengine3--current-word): New function to get current name-like
2065         word or its bounds.
2066         (cfengine3--current-function): New function to look up a CFEngine
2067         function's definition.
2068         (cfengine3-format-function-docstring): New function.
2069         (cfengine3-make-syntax-cache): New function.
2070         (cfengine3-documentation-function): New function: ElDoc glue.
2071         (cfengine3-completion-function): New function: completion glue.
2072         (cfengine3-mode): Set `compile-command',
2073         `eldoc-documentation-function', and add to
2074         `completion-at-point-functions'.
2076 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
2078         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2079         `tramp-current-connection'.
2081 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
2083         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2084         nil/self/true/false with "end of symbol".
2086 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
2088         * subr.el (version-regexp-alist): Fix a typo.
2090 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
2092         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2093         "en_US.utf8" and "LC_CTYPE" to "".
2094         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2095         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2097 2013-11-15  Leo Liu  <sdl.web@gmail.com>
2099         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
2101 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2103         * progmodes/gud.el (ctl-x-map):
2104         Remove C-x SPC binding.  (Bug#12342)
2105         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2107 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
2109         * subr.el (version-regexp-alist):
2110         Recognize hg, svn and darcs versions as snapshot versions.
2112         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2113         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2114         (ruby--encoding-comment-required-p): Extract from
2115         `ruby-mode-set-encoding'.
2116         (ruby-mode-set-encoding): Add the ability to always insert an
2117         utf-8 encoding comment.  Fix and simplify coding comment update
2118         logic.
2120 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
2122         * net/tramp-gvfs.el (top): Run init code only when
2123         `tramp-gvfs-enabled' is not nil.
2124         (tramp-gvfs-enabled): Check also :system bus.
2126 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2128         Sync with upstream verilog-mode revision 78e66ba.
2129         * progmodes/verilog-mode.el (verilog-end-of-defun)
2130         (verilog-type-completion, verilog-get-list): Remove unused funcs.
2131         (verilog-get-end-of-defun): Remove unused argument.
2132         (verilog-comment-depth): Remove unused local `e'.
2133         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2134         Don't pass arg to verilog-get-end-of-defun.
2136 2013-11-14  Glenn Morris  <rgm@gnu.org>
2138         * obsolete/assoc.el (aget): Prefix dynamic variable.
2140         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2142 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2144         * widget.el, hfy-cmap.el: Remove bogus package version number.
2146 2013-11-13  Glenn Morris  <rgm@gnu.org>
2148         * replace.el (replace-eval-replacement):
2149         Try to give more helpful error message.  (Bug#15836)
2151         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2152         (archive-7z-update): Avoid custom type mismatches.
2154         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2156 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
2158         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2159         address can be empty.
2161         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2162         Accept nil SWITCHES.
2163         (tramp-gvfs-handle-write-region): Implement APPEND.
2165 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
2167         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2168         binary "|" operator and closing block args delimiter.
2169         Remove FIXME comment referring to Ruby 1.8-only syntax.
2170         (ruby-smie--implicit-semi-p): Not after "|" operator.
2171         (ruby-smie--closing-pipe-p): New function.
2172         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2173         (ruby-smie-rules): Indent after "|".
2175 2013-11-12  Glenn Morris  <rgm@gnu.org>
2177         * ps-print.el (ps-face-attribute-list):
2178         Handle anonymous faces.  (Bug#15827)
2180 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
2182         * window.el (display-buffer-other-frame): Fix doc-string.
2183         (Bug#15868)
2185 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2187         * subr.el (force-mode-line-update): Delete, move to buffer.c.
2189 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
2191         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2192         (tramp-sh-handle-file-local-copy): Don't write a message when
2193         saving temporary files.
2195         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2196         both directories are remote.
2197         (tramp-smb-handle-directory-files): Do not return double entries.
2198         Do not expand full file names.
2199         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2200         (tramp-smb-handle-write-region): Implement APPEND.
2201         (tramp-smb-get-stat-capability): Fix a stupid bug.
2203 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2205         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2207 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2209         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2210         throwing error over malformed let/let* (bug#15814).
2212 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2214         * iswitchb.el (iswitchb-mode): Mark obsolete.
2216 2013-11-11  Glenn Morris  <rgm@gnu.org>
2218         * international/uni-bidi.el, international/uni-category.el:
2219         * international/uni-name.el, international/uni-numeric.el:
2220         Regenerate for Unicode 6.3.0.
2222 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
2224         * net/tramp.el (tramp-methods):
2225         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2226         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2228 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
2230         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2231         Force highlighting text after Summary keyword in doc face for rpm.
2233 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
2235         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2236         available and the word has no wildcards, append one to the grep pattern.
2237         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2238         (ispell-complete-word): Call `ispell-lookup-words' with the value
2239         independent of `ispell-look-p'.
2241 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2243         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2244         Not after "||".
2245         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2246         their parent.
2248 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2250         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
2251         (ruby-font-lock-keywords): Use backquote.
2253 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2255         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2256         (ruby-smie--backward-token): Only consider full-string matches.
2258 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
2260         * faces.el (describe-face): Add distant-foreground.
2262 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
2264         * progmodes/ruby-mode.el: Improve encoding comment handling.
2265         (ruby-encoding-magic-comment-style): New option.
2266         (ruby-custom-encoding-magic-comment-template): New option.
2267         (ruby--insert-coding-comment, ruby--detect-encoding):
2268         New functions extracted from `ruby-mode-set-encoding'.
2269         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2270         to control the style of the auto-inserted encoding comment.
2272 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2274         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2275         Use `smie-backward-sexp' with token argument.
2277 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
2279         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2280         Remove instrumentation code.
2282 2013-11-08  Glenn Morris  <rgm@gnu.org>
2284         * progmodes/autoconf.el (autoconf-mode):
2285         Tweak comment-start-skip.  (Bug#15822)
2287 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2289         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2290         at bobp (bug#15826).
2291         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2293 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
2295         * man.el (Man-start-calling): New macro, extracted from
2296         Man-getpage-in-background.
2297         (Man-getpage-in-background): Use it.
2298         (Man-update-manpage): New command.
2299         (Man-mode-map): Bind it.
2301 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2303         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2304         of "and", "or", "&&" and "||".
2305         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2306         argument.  Prohibit opening curly brace because it could only be a
2307         block opener in that position.
2308         (ruby-smie--forward-token, ruby-smie--backward-token):
2309         Separate "|" from "&" or "*" going after it.  That can happen in block
2310         arguments.
2311         (ruby-smie--indent-to-stmt): New function, seeks the end of
2312         previous statement or beginning of buffer.
2313         (ruby-smie-rules): Use it.
2314         (ruby-smie-rules): Check if there's a ":" before a curly block
2315         opener candidate; if there is, it's a hash.
2317 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2319         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2320         (cl--block-wrapper): Fix last accidental change.
2322 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
2324         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2325         Instrument, in order to hunt failure on hydra.
2327 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2329         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2330         malformed bindings form (bug#15814).
2332 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
2334         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2335         "." compared to " @ ".  This incidentally fixes some indentation
2336         examples with "do".
2337         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2338         (ruby-smie-grammar): New tokens: "and" and "or".
2339         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2340         Exclude "and" and "or".  Remove "do" in order to work around token
2341         priorities.
2342         (ruby-smie-rules): Add all infix tokens.  Handle the case of
2343         beginning-of-buffer.
2345 2013-11-06  Glenn Morris  <rgm@gnu.org>
2347         * Makefile.in (setwins_almost, setwins_for_subdirs):
2348         Avoid accidental matches.
2350 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2352         * menu-bar.el (popup-menu): Use key-binding.
2354 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
2356         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2357         menus, support also the menus produced by minor modes.
2358         (Bug#15817)
2360 2013-11-06  Leo Liu  <sdl.web@gmail.com>
2362         * thingatpt.el (thing-at-point-looking-at): Add optional arg
2363         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
2365 2013-11-06  Glenn Morris  <rgm@gnu.org>
2367         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2368         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2369         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2371 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2373         * electric.el (electric-indent-just-newline): New command.
2374         (electric-indent-mode-map): New keymap.
2375         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2376         Re-add :group which weren't redundant.
2378         * electric.el (electric-indent-local-mode): New minor mode.
2379         (electric-indent-functions-without-reindent): New var.
2380         (electric-indent-post-self-insert-function): Use it.
2381         * emacs-lisp/gv.el (buffer-local-value): Add setter.
2383 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
2385         * international/quail.el (quail-help): Be more explicit about the
2386         meaning of the labels shown on the keys.  (Bug#15800)
2388         * startup.el (normal-top-level): Load the subdirs.el files before
2389         setting the locale environment.  (Bug#15805)
2391 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2393         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2394         via arguments so as to get the right ones (bug#15418).
2396         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2398 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
2400         Fix problems found while writing a test suite.
2402         * net/tramp-compat.el (tramp-compat-load): New defun.
2403         * net/tramp.el (tramp-handle-load): Use it.
2405         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2406         "(numberp ok-if-already-exists)" correctly.
2408 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
2410         * international/characters.el (glyphless-char-display-control):
2411         Add usage note.
2413 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
2415         * progmodes/python.el (python-mode):
2416         * progmodes/scheme.el (scheme-mode):
2417         * progmodes/prolog.el (prolog-mode):
2418         * progmodes/ruby-mode.el (ruby-mode):
2419         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2420         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2422 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2424         * rect.el (rectangle--highlight-for-redisplay):
2425         * emacs-lisp/smie.el (smie--next-indent-change):
2426         Use buffer-chars-modified-tick.
2428         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2430         * electric.el (electric-indent-post-self-insert-function):
2431         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2433 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
2435         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2437 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2439         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2440         (bug#15786).
2442 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2444         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
2446         * progmodes/python.el: Fix up last change.
2447         (python-shell--save-temp-file): New function.
2448         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
2449         `string' comes from the current buffer.
2450         (python-shell-send-string-no-output): Remove `msg' arg.
2451         (python--use-fake-loc): New var.
2452         (python-shell-buffer-substring): Obey it.  Try to compensate for the
2453         extra coding line added by python-shell--save-temp-file.
2454         (python-shell-send-region): Use python-shell--save-temp-file and
2455         python-shell-send-file directly.  Add `nomain' argument.
2456         (python-shell-send-buffer): Use python-shell-send-region.
2457         (python-electric-pair-string-delimiter): New function.
2458         (python-mode): Use it.
2460 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
2462         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2463         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2464         environment and decoding all of the default-directory's to here
2465         from command-line.
2466         (command-line): Decode also argv[0].
2468         * loadup.el: Error out if default-directory is a multibyte string
2469         when we are dumping.
2471         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
2473 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
2475         * emacs-lisp/package.el (package-menu-mode)
2476         (package-menu--print-info, package-menu--archive-predicate):
2477         Add Archive column to package list.
2479 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
2481         Fix problems found while writing a test suite.
2483         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2484         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2485         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2486         to nil when running original file name handler.  Otherwise,
2487         there are problems with constructs like "$$FOO".
2489         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2490         for `localname'.
2492 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
2494         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2496         * subr.el (version<, version<=, version=):
2497         Update docstrings with information for snapshot versions.
2499         * helpers.el: New library for misc helper functions.
2500         (hash-table-keys): New function returning a list of hash keys.
2501         (hash-table-values): New function returning a list of hash values.
2503 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
2505         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2506         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2508 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
2510         * textmodes/fill.el (fill-single-char-nobreak-p): New function
2511         checking whether point is after a 1-letter word.
2513 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2515         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2516         Don't infloop when expanding region over `multiline' syntax-type that
2517         begins a line (bug#15778).
2519 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2521         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2522         Make it into a proper minor mode.
2523         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2524         (rectangle-mark-mode-map): New keymap.
2525         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2527 2013-11-04  Glenn Morris  <rgm@gnu.org>
2529         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2531 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2533         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2534         (ruby-smie-rules): Use smie-rule-parent instead.
2536         * emacs-lisp/smie.el (smie-rule-parent): Always call
2537         smie-indent-virtual rather than only for hanging tokens.
2538         (smie--next-indent-change): New helper command.
2540 2013-11-03  Glenn Morris  <rgm@gnu.org>
2542         * Makefile.in (abs_srcdir): Remove.
2543         (emacs): Unset EMACSLOADPATH.
2545 2013-11-02  Glenn Morris  <rgm@gnu.org>
2547         * Makefile.in (EMACS): Use a relative filename.
2548         (abs_top_builddir): Remove.
2549         (custom-deps, finder-data, autoloads): Use --chdir.
2551         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2553         Use relative filenames in TAGS files.
2554         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2555         (lisptagsfiles4, TAGS): Use relative file names.
2556         (TAGS-LISP): Remove.
2557         (maintainer-clean): No more TAGS-LISP file.
2559         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2560         (lisptagsfiles4): Use absolute filenames again.
2561         (TAGS, TAGS-LISP): Not everything needs to run in one line.
2562         Remove all *loaddefs files, not just the first.  Remove esh-groups.
2563         (maintainer-clean): Delete TAGS, TAGS-LISP.
2565 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2567         * emacs-lisp/package.el (package-version-join):
2568         Recognize snapshot versions.
2570 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2572         * subr.el (version-regexp-alist): Add support for snapshot versions.
2574 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2576         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2577         New function, replacement for `smie-rule-parent' for when we want to
2578         skip over our direct parent if it's an assignment token..
2579         (ruby-smie-rules): Use it.
2581 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2583         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2584         unconditionally.  Remove now unnecessary forward declarations.
2585         Remove XEmacs-specific setup.
2586         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2587         (ruby-font-lock-syntactic-keywords)
2588         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2589         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2590         (ruby-here-doc-end-syntax): Remove.
2591         (ruby-mode): Don't check whether `syntax-propertize-rules' is
2592         defined as function.
2594 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2596         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2598 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2600         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2601         table and abbrev table, `define-derived-mode' does that for us
2602         anyway.
2604 2013-11-01  Glenn Morris  <rgm@gnu.org>
2606         * Makefile.in: Remove manual mh-e dependencies (writing .elc
2607         files is atomic for some time, so no parallel compilation issues).
2609 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
2611         * faces.el (face-x-resources): Add :distant-foreground.
2612         (region): Use :distant-foreground for gtk and ns.
2614 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
2616         Allow multiple bibliographies when BibLaTeX is used rather than
2617         BibTeX.
2618         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2619         (reftex-locate-bibliography-files): Us it.
2621 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
2623         * image.el (image-type-header-regexps): Fix the 'pbm' part to
2624         allow comments in pbm files.
2626         * term/w32-win.el (dynamic-library-alist): Support newer versions
2627         of libjpeg starting with v7: look only for the DLL from the
2628         version against which Emacs was built.
2629         Support versions of libpng beyond 1.4.x.
2630         Support libtiff v4.x.
2632 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2634         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2635         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2636         Add property :safe.
2637         (ruby-deep-arglist): Add property :type.
2639 2013-10-31  Glenn Morris  <rgm@gnu.org>
2641         * Makefile.in (custom-deps, finder-data): No need to setq the target
2642         variables, we are in the right directory and the defaults work fine.
2644 2013-10-30  Glenn Morris  <rgm@gnu.org>
2646         * Makefile.in (autoloads): Do not use abs_lisp.
2648         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2649         `newline' does not respect `standard-output', so use `princ'.
2651 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
2653         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
2654         * buff-menu.el (Buffer-menu--unmark): New function.
2655         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2657 2013-10-30  Glenn Morris  <rgm@gnu.org>
2659         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2661         * emacs-lisp/package.el (lm-homepage): Declare.
2663         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2664         Fix doc typos.
2666         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2668         * Makefile.in (finder-data, autoloads, update-subdirs)
2669         (compile-main, compile-clean, compile-always, bootstrap-clean):
2670         Check return value of cd.
2671         (compile-calc): Remove.
2673 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2675         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2677         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2678         (byte-compile-and-folded): New function.
2679         (=, <, >, <=, >=): Use it.
2681         * dos-w32.el (minibuffer-history-case-insensitive-variables)
2682         (path-separator, null-device, buffer-file-coding-system)
2683         (lpr-headers-switches): Check system-type before modifying them.
2684         (find-buffer-file-type-coding-system): Mark obsolete.
2685         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2686         find-file-not-found-set-buffer-file-coding-system.
2687         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2688         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2689         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2690         (w32-direct-print-region-helper, w32-direct-print-region-function)
2691         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2692         * startup.el (normal-top-level-add-subdirs-to-load-path):
2693         * ps-print.el (ps-print-region-function):
2694         * lpr.el (print-region-function): Use new name.
2696         * subr.el (custom-declare-variable-early): Remove function.
2697         (custom-declare-variable-list): Remove var.
2698         (error, user-error): Remove `while' loop.
2699         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2700         (user-emacs-directory-warning, locate-user-emacs-file):
2701         Move to files.el.
2702         * simple.el (read-quoted-char-radix, read-quoted-char):
2703         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2704         Move from subr.el.
2705         * custom.el (custom-declare-variable-list): Don't process
2706         custom-declare-variable-list.
2708         * progmodes/python.el (python-shell-get-buffer): New function.
2709         (python-shell-get-process): Use it.
2710         (python-shell-send-string): Always use utf-8 and add a cookie to tell
2711         Python which encoding was used.  Don't split-string since we only care
2712         about the first line.  Return the temp-file, if applicable.
2713         (python-shell-send-region): Tell compile.el how to turn locations in
2714         the temp-file into locations in the source buffer.
2716 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2718         * subr.el (undefined): Add missing behavior from the C code for
2719         unbound keys.
2721         * rect.el: Use lexical-binding.  Add new rectangular region support.
2722         (rectangle-mark): New command.
2723         (rectangle--region): New var.
2724         (deactivate-mark-hook): Reset rectangle--region.
2725         (rectangle--extract-region, rectangle--insert-for-yank)
2726         (rectangle--highlight-for-redisplay)
2727         (rectangle--unhighlight-for-redisplay): New functions.
2728         (region-extract-function, redisplay-unhighlight-region-function)
2729         (redisplay-highlight-region-function): Use them to handle
2730         rectangular region.
2731         * simple.el (region-extract-function): New var.
2732         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2733         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2734         (kill-region): Replace obsolete `yank-handler' arg with `region'.
2735         (copy-region-as-kill, kill-ring-save): Add `region' argument.
2736         (redisplay-unhighlight-region-function)
2737         (redisplay-highlight-region-function): New vars.
2738         (redisplay--update-region-highlight): New function.
2739         (pre-redisplay-function): Use it.
2740         (exchange-point-and-mark): Don't deactivate the mark before
2741         reactivate-it anyway.
2742         * comint.el (comint-kill-region): Remove yank-handler argument.
2743         * delsel.el (delete-backward-char, backward-delete-char-untabify)
2744         (delete-char): Remove property, since it's now part of their
2745         default behavior.
2746         (self-insert-iso): Remove property since this command doesn't exist.
2748         * emacs-lisp/package.el (package--download-one-archive)
2749         (describe-package-1): Don't query the user about final newline.
2751 2013-10-29  Daniel Colascione  <dancol@dancol.org>
2753         * net/tramp.el (tramp-methods): Document new functionality.
2754         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2755         tramp-hostname-checker if method provides one instead of scanning
2756         argument list for "%h" to decide hostname acceptability.
2758 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
2760         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2761         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2762         Handle COPY-CONTENTS.  (Bug#15737)
2764 2013-10-28  Daiki Ueno  <ueno@gnu.org>
2766         * epa-file.el
2767         (epa-file-cache-passphrase-for-symmetric-encryption):
2768         Document that this option has no effect with GnuPG 2.0 (bug#15552).
2770 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
2772         * image.el (defimage):
2773         (image-load-path): Doc fixes.
2775 2013-10-27  Alan Mackenzie  <acm@muc.de>
2777         Indent statements in macros following "##" correctly.
2778         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2779         Modify the "#" arm of a cond form to handle "#" and "##" operators.
2781 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2783         * linum.el (linum-update-window): Fix boundary test (bug#13446).
2785 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
2787         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2788         after `=' is probably a new expression.
2790 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2792         * man.el (man-imenu-title): New option.
2793         (Man-mode-map): Add menu.  (Bug#15722)
2794         (Man-mode): Add imenu to menu.
2796 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
2798         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2799         specific in what the first arg can be: a non-keyword word,
2800         string/regexp/percent literal opener, opening paren, or unary
2801         operator followed directly by word.
2803 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2805         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2806         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2807         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2808         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2809         Remove vars, they do not apply any more.
2810         (prolog-mode-abbrev-table): Remove redundant declaration.
2811         (prolog-upper-case-string, prolog-lower-case-string): Remove.
2812         (prolog-use-smie): Remove.
2813         (prolog-smie-rules): Add indentation rule for the if-then-else layout
2814         supported by prolog-electric-if-then-else-flag.
2815         (prolog-mode-variables, prolog-menu): Use setq-local.
2816         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2817         Remove binding to `Backspace' since this key doesn't exist anyway.
2818         Remove bindings for electric self-inserting keys.
2819         (prog-mode): Assume it's defined.
2820         (prolog-post-self-insert): New function.
2821         (prolog-mode): Use it.
2822         (prolog-indent-line, prolog-indent-level)
2823         (prolog-find-indent-of-matching-paren)
2824         (prolog-indentation-level-of-line, prolog-goto-comment-column)
2825         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2826         (prolog-goto-next-paren, prolog-in-string-or-comment)
2827         (prolog-tokenize, prolog-inside-mline-comment)
2828         (prolog-find-start-of-mline-comment): Remove functions.
2829         (prolog-find-unmatched-paren, prolog-clause-end)
2830         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2831         (prolog-electric--if-then-else): Rename from
2832         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2833         (prolog-tokenize-searchkey): Remove const.
2834         (prolog-clause-info): Use forward-sexp.
2835         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2836         (prolog-electric-if-then-else): Remove commands.
2837         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2838         for use in post-self-insert-hook.
2839         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2840         for use in post-self-insert-hook.
2841         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2842         for use in post-self-insert-hook.
2843         (prolog-electric--underscore): Rename from prolog-electric--underscore;
2844         adapt it for use in post-self-insert-hook.
2846 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
2848         * emacs-lisp/ert.el (ert-run-tests-interactively):
2849         Use `completing-read'.  (Bug#9756)
2851 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
2853         * simple.el (line-move): Call line-move-1 instead of
2854         line-move-visual when the current window hscroll is zero, but
2855         temporary-goal-column indicates we will need to hscroll as result
2856         of the movement.  (Bug#15712)
2858 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
2860         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2861         capitalization.  Use :visible instead of :active.
2862         Fix `ruby-indent-exp' reference.  Add menu items for the generic
2863         commands that are used with SMIE.
2864         (ruby-do-end-to-brace): Insert space after `{'.
2866 2013-10-25  John Anthony  <john@jo.hnanthony.com>
2868         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
2870         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
2872 2013-10-25  Glenn Morris  <rgm@gnu.org>
2874         * vc/vc.el (vc-print-log): Don't use a working revision unless
2875         one was explicitly specified.  (Bug#15322)
2877 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2879         * subr.el (add-to-list): Preserve return value in compiler-macro
2880         (bug#15692).
2882 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2884         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2885         result.  Ask user to retry using '-all' flag.  (Bug#15701)
2887 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2889         * emacs-lisp/smie.el: New smie-config system.
2890         (smie-config): New defcustom.
2891         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2892         (smie-config-guess, smie-config-save): New commands.
2893         (smie-config--mode-local, smie-config--buffer-local)
2894         (smie-config--trace, smie-config--modefuns): New vars.
2895         (smie-config--advice, smie-config--mode-hook)
2896         (smie-config--setter, smie-config-local, smie-config--get-trace)
2897         (smie-config--guess-value, smie-config--guess): New functions.
2898         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2899         text properties.  Treat "string fence" syntax like string syntax.
2901         * progmodes/sh-script.el (sh-use-smie): Change default.
2902         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2903         (sh-var-value): Simplify by CSE.
2904         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2905         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2906         is used.
2907         (sh-guess-basic-offset): Use cl-incf.
2908         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2910 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
2912         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2913         (bug#15699).
2915 2013-10-24  Glenn Morris  <rgm@gnu.org>
2917         * Makefile.in (abs_top_srcdir): Remove.
2918         (update-subdirs): Use relative path to update-subdirs.
2920 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
2922         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2923         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2924         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2925         Call unmsys--file-name before expand-file-name, not after it.
2927 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
2929         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2930         (ert-test-skipped): New error.
2931         (ert-skip, ert-stats-skipped): New defuns.
2932         (ert--skip-unless): New macro.
2933         (ert-test-skipped): New struct.
2934         (ert--run-test-debugger, ert-test-result-type-p)
2935         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2936         (ert--stats-set-test-and-result, ert-char-for-test-result)
2937         (ert-string-for-test-result, ert-run-tests-batch)
2938         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2939         Handle skipped tests.  (Bug#9803)
2941 2013-10-24  Glenn Morris  <rgm@gnu.org>
2943         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2945         * Makefile.in (abs_top_srcdir): New, set by configure.
2946         (update-subdirs): Correct build-aux location.
2948 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
2950         * vc/vc.el (vc-print-root-log): Always set `default-directory'
2951         value, whether we could auto-deduce `backend', or not.
2953         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2954         with parameters" example.  Simplify the "is it block or is it
2955         hash" check, but also make it more thorough.
2957 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
2959         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
2961 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2963         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2964         { if it is hanging.
2966         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2967         :before ";".
2969 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2971         * progmodes/compile.el (compilation-directory-matcher)
2972         (compilation-page-delimiter):
2973         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2975 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2977         * ido.el (ido-tidy): Handle read-only text.
2979 2013-10-23  Glenn Morris  <rgm@gnu.org>
2981         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2982         (emacs, compile, compile-always):
2983         Quote entities that might contain whitespace.
2984         (custom-deps, finder-data, autoloads): Use abs_lisp.
2985         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2986         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2987         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2989 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2991         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2992         Use `following-char'.
2994 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2996         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2997         * progmodes/ruby-mode.el (ruby-smie-rules):
2998         Remove corresponding workaround.  Fix indentation rule of ";" so it
2999         also applies when ";" is the parent.
3001 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
3003         * frame.el (display-screens, display-pixel-height)
3004         (display-pixel-width, display-mm-width, display-backing-store)
3005         (display-save-under, display-planes, display-color-cells)
3006         (display-visual-class, display-monitor-attributes-list):
3007         Mention the optional ‘display’ argument in doc strings.
3009 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
3011         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3012         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
3014 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3016         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3017         TODO.  Add "." after " @ ".
3018         (ruby-smie--at-dot-call): New function.  Checks if point at method
3019         call with explicit target.
3020         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3021         to the method name tokens when it precedes them.
3022         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3023         (ruby-smie-rules): Add rule for indentation before and after "."
3024         token.
3026 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3028         * textmodes/remember.el (remember-diary-extract-entries):
3029         Avoid add-to-list.
3031         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3032         an instruction.
3034 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3036         * progmodes/ruby-mode.el (ruby-smie-grammar):
3037         Add (almost) all infix operators.
3038         (ruby-smie--implicit-semi-p): Add new operator chars.
3040         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3041         `smie-down-list'.
3042         (ruby-smie--args-separator-p): Check that there's no newline
3043         between method call and its arguments.
3045 2013-10-20  Alan Mackenzie  <acm@muc.de>
3047         Allow comma separated lists after Java "implements".
3049         * progmodes/cc-engine.el (c-backward-over-enum-header):
3050         Parse commas.
3051         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3052         from a "disallowed" list in enum fontification.
3054 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
3056         * startup.el (default-frame-background-mode): Remove unused defvar.
3058         * progmodes/verilog-mode.el (verilog-mode): Don't set
3059         comment-indent-function globally.
3061 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
3063         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3064         Move Info menu item creation to ns-win.el.
3066         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3067         in menu bar.
3069         * menu-bar.el: Move GNUStep specific menus...
3071         * term/ns-win.el (ns-initialize-window-system): ... to here.
3073 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3075         * simple.el (newline): Only run post-self-insert-hook when
3076         called interactively.
3078 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
3080         * icomplete.el (icomplete-with-completion-tables): Add :version.
3082 2013-10-19  Alan Mackenzie  <acm@muc.de>
3084         Fix fontification bugs with constructors and const.
3086         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3087         CASE 2) Remove the check for the absence of a suffix construct
3088         after a function declaration with only types (no identifiers) in
3089         the parentheses.  Also, accept a function declaration with just a
3090         type inside the parentheses, if this type can be positively
3091         recognised as such, or if a prefix keyword like "explicit" nails
3092         down the construct as a declaration.
3094 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
3096         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3097         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
3098         the problem whereby selecting a menu item that leads to a
3099         minibuffer prompt moves the cursor out of the minibuffer window,
3100         making it hard to type at the prompt.  Suggested by Stefan Monnier
3101         <monnier@iro.umontreal.ca>.
3103 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
3105         * menu-bar.el: Don't make Services menu.
3107 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3109         * ffap.el: Handle "/usr/include/c++/<version>" directories.
3110         (ffap-alist): Use ffap-c++-mode for c++-mode.
3111         (ffap-c++-path): New variable.
3112         (ffap-c++-mode): New function.
3114 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
3116         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
3118 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
3120         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3121         introduced on 2013-09-08, which results in an infinite loop
3122         requesting a password.
3124 2013-10-18  Glenn Morris  <rgm@gnu.org>
3126         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3128 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
3130         Sync with upstream verilog-mode revision 1a6ecec7.
3131         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3132         (verilog-mode-release-date): Remove.
3133         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3134         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3135         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3136         (verilog-auto-tieoff-ignore-regexp)
3137         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3138         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3139         (verilog-signals-with, verilog-dir-cache-preserving)
3140         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3141         Doc fixes.
3142         (verilog-case-fold): New option, to control case folding in
3143         regexp searches, bug597.
3144         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3145         (verilog-string-match-fold, verilog-in-paren-count)
3146         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3147         (verilog-at-close-struct-p): New functions.
3148         (verilog-beg-block-re-ordered, verilog-extended-case-re)
3149         (verilog-forward-sexp, verilog-set-auto-endcomments):
3150         (verilog-leap-to-case-head): Handle "unique0" case.
3151         (verilog-in-constraint-re): New constant.
3152         (verilog-keywords, verilog-type-font-keywords):
3153         Add some SystemVerilog 1800-2012 keywords.
3154         (verilog-label-be): Remove unimplemented argument, bug669.
3155         (verilog-batch-execute-func): When batch expanding clear
3156         create-lockfiles to prevent spurious user locks when a file ends
3157         up not changing.
3158         (verilog-calculate-indent, verilog-calc-1)
3159         (verilog-at-close-constraint-p, verilog-at-constraint-p)
3160         (verilog-do-indent): Fix indentation of nested constraints
3161         and structures.
3162         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3163         (verilog-auto-inst-param): Use verilog-string-match-fold.
3164         (verilog-read-inst-module-matcher):
3165         Fix AUTOINST on gate primitives with #1.
3166         (verilog-read-decls): Fix double-declaring user-defined typed signals.
3167         Reads all user-defined typed variables.
3168         (verilog-read-defines): Fix reading definitions inside comments, bug647.
3169         (verilog-signals-matching-regexp)
3170         (verilog-signals-not-matching-regexp, verilog-auto):
3171         Respect verilog-case-fold.
3172         (verilog-diff-report): Fix line count.
3173         (verilog-auto-assign-modport): Remove unused local `modi'.
3174         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3175         better handle multidimensional arrays.
3176         Fix packed array ports misadding bit index in AUTOINST, bug637.
3177         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3178         to not double-declare existing outputs and inputs, respectively.
3179         (verilog-template-map): Bind U to verilog-sk-uvm-component.
3180         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3181         (verilog-sk-uvm-component): New skeleton.
3182         (verilog-submit-bug-report): Add verilog-case-fold,
3183         remove verilog-mode-release-date.
3185 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
3187         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3188         as before.
3190 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
3192         * textmodes/remember.el (remember): Set buffer-offer-save in
3193         remember buffers (bug#13566).
3195 2013-10-18  Daniel Colascione  <dancol@dancol.org>
3197         When evaluating forms in ielm, direct standard output to ielm
3198         buffer.  Add new ielm-return-for-effect command.  Remove trailing
3199         whitespace throughout.
3201         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3202         (ielm-return-for-effect): New command.
3203         (ielm-send-input): Accept optional `for-effect' parameter.
3204         (ielm-eval-input): Accept optional `for-effect' parameter.
3205         Bind `standard-output' to stream we create using
3206         `ielm-standard-output-impl'.  Suppress printing result when
3207         `for-effect'.
3208         (ielm-standard-output-impl): New function.
3209         (inferior-emacs-lisp-mode): Explain new features in documentation.
3211 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
3213         Code cleanup.
3215         * net/tramp.el (tramp-debug-message): Do not check for connection
3216         buffer.
3217         (tramp-message): Use "vector" connection property.
3219         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3220         (tramp-equal-remote, tramp-eshell-directory-change)
3221         * net/tramp-adb.el (tramp-adb-handle-copy-file)
3222         (tramp-adb-handle-rename-file)
3223         * net/tramp-cmds.el (tramp-list-remote-buffers)
3224         (tramp-cleanup-connection, tramp-cleanup-this-connection)
3225         * net/tramp-compat.el (tramp-compat-process-running-p)
3226         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3227         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3228         (tramp-gvfs-handle-rename-file)
3229         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3230         (tramp-set-file-uid-gid)
3231         * net/tramp-smb.el (tramp-smb-handle-copy-file)
3232         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3233         of `file-remote-p'.
3235         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3236         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3237         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3238         (tramp-gw-open-network-stream): Suppress unrelated traces.
3240         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3241         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3242         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3243         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3244         connection property.
3246         * net/tramp-cache.el (top): Suppress traces when reading
3247         persistency file.
3249         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3250         Refactor common code.  Improve debug message.
3251         (tramp-maybe-open-connection)
3252         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3253         connection buffer too early.
3255         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3256         from `tramp-smb-actions-with-acl'.
3257         (tramp-smb-actions-set-acl): New defconst.
3258         (tramp-smb-handle-copy-directory)
3259         (tramp-smb-action-get-acl): New defun, renamed from
3260         `tramp-smb-action-with-acl'.
3261         (tramp-smb-action-set-acl): New defun.
3262         (tramp-smb-handle-set-file-acl): Rewrite.
3264 2013-10-17  Glenn Morris  <rgm@gnu.org>
3266         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
3268 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3270         * skeleton.el (skeleton-newline): Remove.
3271         (skeleton-internal-1): Use (insert "\n") instead.
3273         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3274         let-bindings.
3276         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3277         forward-sexp-function while we redo its job (bug#15613).
3279 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
3281         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3282         represented by lists.
3284 2013-10-16  Glenn Morris  <rgm@gnu.org>
3286         * tmm.el (tmm--history): New dynamic variable.
3287         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
3289 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
3291         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3292         (tramp-smb-errors): Add error messages.
3293         (tramp-smb-actions-with-acl): New defconst.
3294         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3295         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3296         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3297         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3298         (tramp-smb-get-stat-capability): Fix tests.
3300 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3302         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3303         (bug#15580).
3305 2013-10-16  Glenn Morris  <rgm@gnu.org>
3307         * ansi-color.el (ansi-color-drop-regexp):
3308         Add 1J, 1K, 2K.  (Bug#15617)
3310         * files.el (hack-local-variables--warned-lexical): New.
3311         (hack-local-variables):
3312         Warn about misplaced lexical-binding.  (Bug#15616)
3314         * net/eww.el (eww-render): Always set eww-current-url,
3315         and update header line.  (Bug#15622)
3316         (eww-display-html): ... Rather than just doing it here.
3318 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
3320         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3321         menu navigations commands.
3323 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3325         * progmodes/subword.el (subword-capitalize): Be careful when
3326         the search for [[:alpha:]] fails (bug#15580).
3328 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
3330         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3331         to commands that scroll the menu.
3333 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
3335         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3336         Handle methods ending with `?' and `!'.
3338 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
3340         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3341         `japanese-cp932' to `cp932' to fix the problem where saving a
3342         source file written in Shift_JIS twice would end up having
3343         `coding: japanese-cp932' which Ruby could not recognize.
3344         (ruby-mode-set-encoding): Add support for encodings mapped to nil
3345         in `ruby-encoding-map'.
3346         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3347         doesn't need to be explicitly declared in magic comment.
3348         (ruby-encoding-map): Add type declaration for better customize UI.
3350 2013-10-13  Glenn Morris  <rgm@gnu.org>
3352         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3353         Occur buffers are read-only.  http://bugs.debian.org/720775
3355         * emacs-lisp/authors.el (authors-fixed-entries):
3356         Comment out old alpha stuff.
3358 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
3360         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3361         to `after-save-hook' instead of `before-save-hook'.
3362         (ruby-mode-set-encoding): Use the value of coding system used to
3363         write the file.  Call `basic-save-buffer-1' after modifying the
3364         buffer.
3366 2013-10-13  Alan Mackenzie  <acm@muc.de>
3368         Fix indentation/fontification of Java enum with
3369         "implements"/generic.
3371         * progmodes/cc-engine.el (c-backward-over-enum-header):
3372         Extracted from the three other places and enhanced to handle generics.
3373         (c-inside-bracelist-p): Uses new function above.
3374         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3375         function above.
3376         (c-font-lock-enum-tail): Uses new function above.
3378 2013-10-13  Kenichi Handa  <handa@gnu.org>
3380         * international/mule-cmds.el (select-safe-coding-system): Remove a
3381         superfluous condition in chekcing whether a coding system is safe
3382         or not.
3384 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
3386         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
3388 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
3390         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
3392 2013-10-13  Glenn Morris  <rgm@gnu.org>
3394         * menu-bar.el (menu-bar-update-buffers):
3395         Unify Buffers menu prompt string.  (Bug#15576)
3397         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
3399         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3400         Add some entries.
3401         (authors-fixed-entries): Use accented form of name.
3403 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3405         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3406         method calls (bug#15594).
3407         (ruby-smie--args-separator-p): New function.
3408         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3409         recognize paren-free method calls.
3411         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3412         internals of universal-argument.
3414 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
3416         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3417         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3418         dropped menu on second mouse click on the menu bar.
3420 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3422         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3423         (explicit-shell-file-name): Declare.
3424         (sh--vars-before-point, sh--cmd-completion-table): New functions.
3425         (sh-completion-at-point-function): New function.
3426         (sh-mode): Use it.
3427         (sh-smie--keyword-p): Remove unused argument.
3428         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3429         vars.
3430         (sh-set-shell): Always setup SMIE, even if we use the
3431         old indentation code.
3433 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
3435         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3436         cases of ? and =.
3437         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
3438         predicate would return nil are almost non-existent.
3439         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3441         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3442         cache also after commands that modify the buffer but don't move
3443         point.
3445 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3447         * env.el (substitute-env-in-file-name): New function.
3448         (substitute-env-vars): Extend the meaning of the optional arg.
3450 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
3452         * term/w32-win.el (dynamic-library-alist): Define separate lists
3453         of GIF DLLs for versions before and after 5.0.0 of giflib.
3454         (Bug#15531)
3456 2013-10-10  João Távora  <joaotavora@gmail.com>
3458         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3459         not locked, use last revision and current source as
3460         defaults.  (Bug#15569)
3462 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
3464         * menu-bar.el (menu-bar-open): Don't use popup-menu if
3465         menu-bar is hidden.
3467 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
3469         * window.el (pop-to-buffer-same-window): Fix doc-string.
3470         (Bug#15492)
3472 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3476 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
3478         * calendar/icalendar.el (icalendar-import-file):
3479         Fix interactive spec.  (Bug#15482)
3481 2013-10-10  Glenn Morris  <rgm@gnu.org>
3483         * desktop.el (desktop-save): Default to saving in .emacs.d,
3484         since PWD is no longer in desktop-path by default.  (Bug#15319)
3486         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3487         now that text mode has a menu with the same entry.
3488         (menu-bar-text-mode-auto-fill): Remove now unused func.
3489         * textmodes/text-mode.el (text-mode-map):
3490         Use auto-fill help text from menu-bar.el.
3492 2013-10-10  John Anthony  <john@jo.hnanthony.com>
3494         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
3496 2013-10-09  Juri Linkov  <juri@jurta.org>
3498         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3499         instead of this-command-keys.  Add universal-argument-more and
3500         universal-argument-minus to the list of prefix commands.  (Bug#15568)
3502 2013-10-09  Glenn Morris  <rgm@gnu.org>
3504         * vc/vc-svn.el (vc-svn-create-repo):
3505         Expand paths in file://... url.  (Bug#15446)
3507         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3508         Add some entries.
3509         (authors): Remove unused local variables.
3511 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3513         * profiler.el: Create a more coherent calltree from partial backtraces.
3514         (profiler-format): Hide the tail with `invisible' so that C-s can still
3515         find the hidden elements.
3516         (profiler-calltree-depth): Don't recurse so enthusiastically.
3517         (profiler-function-equal): New hash-table-test.
3518         (profiler-calltree-build-unified): New function.
3519         (profiler-calltree-build): Use it.
3520         (profiler-report-make-name-part): Indent the calltree less.
3521         (profiler-report-mode): Add visibility specs for profiler-format.
3522         (profiler-report-expand-entry, profiler-report-toggle-entry):
3523         Expand the whole subtree when provided with a prefix arg.
3525 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
3527         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3528         iuwu-mod token.
3529         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3530         hanging iuwu-mod token.
3531         (ruby-smie--forward-token): Do not include a dot after a token in
3532         that token.
3533         (ruby-smie--backward-token): Likewise.
3535 2013-10-08  Juri Linkov  <juri@jurta.org>
3537         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3538         to isearch-other-control-char.
3539         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3540         and isearch-post-command-hook to post-command-hook.
3541         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3542         and isearch-post-command-hook from post-command-hook.
3543         (isearch-unread-key-sequence)
3544         (isearch-reread-key-sequence-naturally)
3545         (isearch-lookup-scroll-key, isearch-other-control-char)
3546         (isearch-other-meta-char): Remove functions.
3547         (isearch-pre-command-hook, isearch-post-command-hook):
3548         New functions based on isearch-other-meta-char rewritten
3549         relying on the new behavior of overriding-terminal-local-map
3550         that does not replace the local keymaps any more.  (Bug#15200)
3552 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
3554         Support menus on text-mode terminals.
3555         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3556         functionality.
3558         * tooltip.el (tooltip-mode): Don't error out on TTYs.
3560         * menu-bar.el (popup-menu, popup-menu-normalize-position):
3561         Move here from mouse.el.
3562         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3563         and arrow keys.
3564         (tty-menu-navigation-map): New map for TTY menu navigation.
3566         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3568         * frame.el (display-mouse-p): Report text-mode mouse as available
3569         on w32.
3570         (display-popup-menus-p): Report availability if mouse is
3571         available; don't condition on window-system.
3573         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3574         (tty-menu-selected-face): New faces.
3576 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3578         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3579         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3580         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3581         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3582         New constants.
3583         (lisp-mode-variables): New `elisp' argument.
3584         (emacs-lisp-mode): Use it.
3585         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3586         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3588         * indent.el: Use lexical-binding.
3589         (indent-region): Add progress reporter.
3590         (tab-stop-list): Make it implicitly extend to infinity by repeating the
3591         last step.
3592         (indent--next-tab-stop): New function to implement this behavior.
3593         (tab-to-tab-stop, move-to-tab-stop): Use it.
3595 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
3597         * indent.el (indent-rigidly--current-indentation): New function.
3598         (indent-rigidly-map): New var.
3599         (indent-rigidly): Use it to provide interactive mode (bug#8196).
3601 2013-10-08  Bastien Guerry  <bzg@gnu.org>
3603         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3605 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3607         * progmodes/perl-mode.el: Use lexical-binding.
3608         Remove redundant :group args.
3609         (perl-nochange): Change default to be closer to other major modes's
3610         standard behavior.
3611         (perl-indent-line): Don't consider text on current line as a
3612         valid beginning of function from which to indent.
3614         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3615         with more than one argument (bug#15538).
3617         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3619         * vc/pcvs.el: Use lexical-binding.
3620         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3621         environment of `eval'.
3622         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3623         than a list of expressions.  Adjust callers.
3624         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3626 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
3628         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3629         case of the dot in a chained method call being on the following line.
3631 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3633         * electric.el (electric-indent-inhibit): New var.
3634         (electric-indent-post-self-insert-function): Use it.
3635         * progmodes/python.el (python-mode): Set it.
3637         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3638         open braces.
3640         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3642         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3643         (css-mode): Use electric-indent-chars.
3645         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3646         (font-lock-beg, font-lock-end): Move before first use.
3647         (nxml-mode): Use syntax-propertize-function.
3648         (nxml-after-change, nxml-after-change1): Adjust accordingly.
3649         (nxml-extend-after-change-region): Remove.
3650         * nxml/xmltok.el: Use lexical-binding.
3651         (xmltok-save): Use `declare'.
3652         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3653         * nxml/nxml-util.el: Use lexical-binding.
3654         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3655         Use `declare'.
3656         * nxml/nxml-ns.el: Use lexical-binding.
3657         (nxml-ns-save): Use `declare'.
3658         (nxml-ns-prefixes-for): Avoid add-to-list.
3659         * nxml/rng-match.el: Use lexical-binding.
3660         (rng--ipattern): Use cl-defstruct.
3661         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3662         (rng-cons-group-after, rng-subst-group-after)
3663         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3664         Use closures instead of `(lambda...).
3666 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
3668         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3669         of BEG and END.
3671         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3672         Use `tramp-handle-insert-file-contents'.
3673         (tramp-gvfs-handle-insert-file-contents): Remove function.
3675         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3676         Use `save-restriction' in order to keep markers.
3678         * net/trampver.el: Update release number.
3680 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3682         * progmodes/compile.el (compilation-parse-errors):
3683         Use compilation--put-prop.
3684         (compilation--ensure-parse): Check compilation-multiline.
3686         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3688         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3689         lexical-binding.
3691         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3693         * progmodes/ruby-mode.el: Fix recently added tests.
3694         (ruby-smie-grammar): Add - and +.
3695         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3696         (ruby-smie--backward-id): New functions.
3697         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3698         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
3699         any more.
3701 2013-10-07  Leo Liu  <sdl.web@gmail.com>
3703         * register.el (register-preview-delay)
3704         (register-preview-functions): New variables.
3705         (register-read-with-preview, register-preview)
3706         (register-describe-oneline): New functions.
3707         (point-to-register, window-configuration-to-register)
3708         (frame-configuration-to-register, jump-to-register)
3709         (number-to-register, view-register, insert-register)
3710         (copy-to-register, append-to-register, prepend-to-register)
3711         (copy-rectangle-to-register): Use register-read-with-preview to
3712         read register.  (Bug#15525)
3714 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
3716         * net/network-stream.el (network-stream-open-starttls): Don't add
3717         --insecure if it's already present, because that gnutls-cli
3718         rejects getting that parameter twice.
3720 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
3722         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3723         keyword, too.
3725 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
3727         * newcomment.el (comment-use-global-state): Change default value
3728         to t, mark obsolete (Bug#15251).
3729         (comment-beginning): In addition to `comment-to-syntax', check the
3730         value of `comment-use-global-state'.
3732 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3734         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3735         (ruby-comment-column): Follow the global default, by default.
3736         (ruby-smie-grammar): Add assignment syntax.
3737         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3738         open-paren, a comma, or a \.
3739         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3740         and line continuations.
3741         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3742         followed by implicit semi-colons.  Add rule for string concatenation
3743         and for indentation at BOB.
3744         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3746         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3747         calling next-sexp, since next-token may have skipped chars which
3748         next-sexp doesn't know should be skipped!
3750 2013-10-05  Leo Liu  <sdl.web@gmail.com>
3752         * progmodes/octave.el (octave-send-region):
3753         Call compilation-forget-errors.
3755 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
3757         * vc/vc-svn.el (vc-svn-find-admin-dir):
3758         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3759         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3760         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3761         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3763 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3765         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3767 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3769         * subr.el (read-passwd): Hide chars even when called within a context
3770         where after-change-functions is disabled (bug#15501).
3771         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3772         until we removed ourself from overriding-terminal-local-map.
3774 2013-10-04  Leo Liu  <sdl.web@gmail.com>
3776         * progmodes/octave.el (inferior-octave-mode):
3777         Call compilation-forget-errors.
3779 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
3781         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3783 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
3785         * net/secrets.el (secrets-create-collection): Add optional
3786         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
3787         dbus-call-method argument.  (Bug#15516)
3789 2013-10-04  Leo Liu  <sdl.web@gmail.com>
3791         * progmodes/octave.el (inferior-octave-error-regexp-alist)
3792         (inferior-octave-compilation-font-lock-keywords): New variables.
3793         (compilation-error-regexp-alist)
3794         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3795         (inferior-octave-mode): Use compilation-shell-minor-mode.
3797 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
3799         * minibuffer.el (completion--replace): Be careful that `end' might be
3800         a marker.
3802 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3804         Add support for package signature checking.
3805         * emacs-lisp/package.el (url-http-file-exists-p)
3806         (epg-make-context, epg-context-set-home-directory)
3807         (epg-verify-string, epg-context-result-for)
3808         (epg-signature-status, epg-signature-to-string)
3809         (epg-check-configuration, epg-configuration)
3810         (epg-import-keys-from-file): Declare.
3811         (package-check-signature): New user option.
3812         (package-unsigned-archives): New user option.
3813         (package-desc): Add `signed' field.
3814         (package-load-descriptor): Set `signed' field if .signed file exists.
3815         (package--archive-file-exists-p): New function.
3816         (package--check-signature): New function.
3817         (package-install-from-archive): Check package signature.
3818         (package--download-one-archive): Check archive signature.
3819         (package-delete): Remove .signed file.
3820         (package-import-keyring): New command.
3821         (package-refresh-contents): Import default keyring.
3822         (package-desc-status): Add "unsigned" status.
3823         (describe-package-1, package-menu--print-info)
3824         (package-menu-mark-delete, package-menu--find-upgrades)
3825         (package-menu--status-predicate): Support "unsigned" status.
3827 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3829         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3830         the new compilation scheme using the new byte-codes.
3832         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3833         (byte-pophandler): New byte codes.
3834         (byte-goto-ops): Adjust accordingly.
3835         (byte-compile--use-old-handlers): New var.
3836         (byte-compile-catch): Use new byte codes depending on
3837         byte-compile--use-old-handlers.
3838         (byte-compile-condition-case--old): Rename from
3839         byte-compile-condition-case.
3840         (byte-compile-condition-case--new): New function.
3841         (byte-compile-condition-case): New function that dispatches depending
3842         on byte-compile--use-old-handlers.
3843         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3844         when we can.
3846         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3847         Optimize under `condition-case' and `catch' if
3848         byte-compile--use-old-handlers is nil.
3849         (disassemble-offset): Handle new bytecodes.
3851 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3853         * subr.el (error): Use `declare'.
3854         (decode-char, encode-char): Use advertised-calling-convention instead
3855         of the docstring to discourage use of the `restriction' arg.
3857 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3859         * epg.el (epg-verify-file): Add a comment saying that it does not
3860         notify verification error as a return value nor a signal.
3861         (epg-verify-string): Ditto.
3863 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3865         * progmodes/compile.el (compilation-start): Try globbing the arg to
3866         `cd' (bug#15417).
3868 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
3870         Sync with Tramp 2.2.8.
3872         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3873         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3874         * net/trampver.el: Update release number.
3876 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
3878         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3879         and default-process-coding-system for darwin only.
3881 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3883         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3885 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
3887         * vc/vc-git.el (vc-git-grep): Disable pager.
3889 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
3891         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3892         Use :url instead of :homepage, as per
3893         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3895         * newcomment.el (comment-beginning): When `comment-use-syntax' is
3896         non-nil, use `syntax-ppss' (Bug#15251).
3898 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3900         * progmodes/octave.el (inferior-octave-startup-file):
3901         Prefer ~/.emacs.d/init_octave.m.
3903 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
3905         * emacs-lisp/package.el (package-desc-from-define):
3906         Accept additional arguments as plist, convert them to an alist and store
3907         them in the `extras' slot.
3908         (package-generate-description-file): Convert extras alist back to
3909         plist and append to the `define-package' form arguments.
3910         (package--alist-to-plist): New function.
3911         (package--ac-desc): Add `extras' slot.
3912         (package--add-to-archive-contents): Check if the archive-contents
3913         vector is long enough, and if it is, pass its `extras' slot value
3914         to `package-desc-create'.
3915         (package-buffer-info): Call `lm-homepage', pass the returned value
3916         to `package-desc-from-define'.
3917         (describe-package-1): Render the homepage button (Bug#13291).
3919         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3920         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3922 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
3924         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3925         and default-process-coding-system to utf-8-unix (Bug#15402).
3927 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
3929         * subr.el (looking-back): Do not recommend using looking-back.
3931 2013-09-28  Alan Mackenzie  <acm@muc.de>
3933         Fix indentation/fontification of Java enum with "implements".
3935         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3936         regexp which matches "implements", etc., in Java.
3937         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3938         specifier clauses coming after "enum".
3939         * progmodes/cc-fonts.el (c-font-lock-declarations)
3940         (c-font-lock-enum-tail): Check for extra specifier clauses coming
3941         after "enum".
3943 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
3945         * faces.el (region): Change ns_selection_color to
3946         ns_selection_fg_color, add ns_selection_bg_color.
3948 2013-09-28  Leo Liu  <sdl.web@gmail.com>
3950         * progmodes/octave.el (inferior-octave-completion-table)
3951         (inferior-octave-completion-at-point): Minor tweaks.
3953         * textmodes/ispell.el (ispell-lookup-words): Rename from
3954         lookup-words.  (Bug#15460)
3955         (lookup-words): Obsolete.
3956         (ispell-complete-word, ispell-command-loop): All uses changed.
3958 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3960         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3961         (octave-mode-menu): Add octave-send-buffer.
3962         (octave-send-buffer): New function.
3964 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3966         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3967         octave-lookfor.
3968         (octave-mode-menu): Add octave-lookfor.
3969         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3970         octave-lookfor.
3971         (octave-lookfor): New function.
3973 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3975         * emacs-lisp/cl-macs.el:
3976         (cl--loop-destr-temps): Remove.
3977         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3978         its convention.
3979         (cl--loop-set-iterator-function): New function.
3980         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3981         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3982         Bind `it' with `let' instead of substituting it with `cl-subst'.
3983         (cl--unused-var-p): New function.
3984         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3985         Eliminate some unused variable warnings (bug#15326).
3987 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3989         * doc-view.el (doc-view-scale-reset): Rename from
3990         `doc-view-reset-zoom-level'.
3991         (doc-view-scale-adjust): New command.
3992         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3993         `doc-view-scale-adjust'.
3995 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3997         * doc-view.el (doc-view-reset-zoom-level): New command.
3998         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3999         zoom commands (bug#15466).
4001 2013-09-26  Kenichi Handa  <handa@gnu.org>
4003         * international/quail.el (quail-help): Make it not a command.
4005 2013-09-26  Leo Liu  <sdl.web@gmail.com>
4007         * minibuffer.el (completion-all-sorted-completions): Make args
4008         optional as they are.
4010 2013-09-25  Daniel Colascione  <dancol@dancol.org>
4012         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4013         specs are and that they're not evaluated.
4015 2013-09-24  Sam Steingold  <sds@gnu.org>
4017         * midnight.el (clean-buffer-list-kill-regexps)
4018         (clean-buffer-list-kill-buffer-names): Update for the new Man
4019         buffer naming which includes the object name.
4021 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4023         * eshell/esh-cmd.el (eshell--sep-terms): New var.
4024         (eshell-parse-command, eshell-parse-pipeline): Use it since
4025         eshell-separate-commands requires a dynamic scoped var.
4026         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4028 2013-09-23  Leo Liu  <sdl.web@gmail.com>
4030         * autoinsert.el (auto-insert-alist): Make the value of
4031         lexical-binding match its file setting.
4033 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
4035         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4037         * autoarg.el (autoarg-kp-digit-argument):
4038         * electric.el (Electric-command-loop):
4039         * kmacro.el (kmacro-step-edit-insert):
4040         Do not set universal-argument-num-events.
4042 2013-09-22  Leo Liu  <sdl.web@gmail.com>
4044         * files.el (interpreter-mode-alist): Add octave.
4046 2013-09-21  Alan Mackenzie  <acm@muc.de>
4048         C++: fontify identifier in declaration following "public:" correctly.
4049         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4050         to match "public", etc.
4051         (c-decl-prefix-re): Add ":" into the C++ value.
4052         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4053         bit.  Add a check for a ":" preceded by "public", etc.
4055 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
4057         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4058         recognized by GDB 7.5 and later.
4060 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
4062         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4064 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4066         * subr.el (internal--call-interactively): New const.
4067         (called-interactively-p): Use it (bug#3984).
4069 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
4071         * vc/pcvs.el (cvs-mode-ignore):
4072         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4073         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4075 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4077         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
4078         (eshell-ls-orig-insert-directory): Remove.
4079         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
4080         (eshell-ls-use-in-dired): Use advice-add/remove.
4081         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4082         Add `orig-fun' arg for use in :around advice.
4083         Make it check (redundantly) eshell-ls-use-in-dired.
4085 2013-09-19  Glenn Morris  <rgm@gnu.org>
4087         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4089         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4091         * emacs-lisp/eieio.el (class-parent): Undo previous change.
4093 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
4095         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4096         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4097         (tramp-get-remote-python): New defuns.
4098         (tramp-get-remote-uid-with-perl)
4099         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
4100         contributed by yary <not.com@gmail.com> (tiny change).
4101         (tramp-get-remote-uid-with-python)
4102         (tramp-get-remote-gid-with-python): New defuns.  Python code
4103         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4104         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4106 2013-09-19  Glenn Morris  <rgm@gnu.org>
4108         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4110         * eshell/em-unix.el (eshell-remove-entries):
4111         Rename argument to avoid name-clash with global `top-level'.
4113         * eshell/esh-proc.el (eshell-kill-process-function):
4114         Remove eshell-reset-after-proc from eshell-kill-hook if present.
4115         (eshell-reset-after-proc): Remove unused arg `proc'.
4117         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4118         (directory-files-and-attributes): Mark unused arg.
4120         * eshell/em-unix.el (eshell-remove-entries):
4121         Remove unused arg `path'.  Update callers.
4123         * eshell/em-hist.el (eshell-hist-parse-arguments):
4124         Remove unused arg `silent'.  Update callers.
4126         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4127         Fix (f)boundp mix-up.
4129         * eshell/em-smart.el (eshell-smart-scroll-window)
4130         (eshell-disable-after-change):
4131         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4133 2013-09-18  Alan Mackenzie  <acm@muc.de>
4135         Fix fontification of type when followed by "const".
4136         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4137         "known" types from fontification.
4139 2013-09-18  Glenn Morris  <rgm@gnu.org>
4141         * emacs-lisp/chart.el (x-display-color-cells): Declare.
4142         (chart-face-list): Drop Emacsen without display-color-p.
4144         * net/eww.el (libxml-parse-html-region): Declare.
4145         (eww-display-html): Explicit error if no libxml2 support.
4147         * doc-view.el (doc-view-mode): Silence --without-x compilation.
4149         * image.el (image-type-from-buffer, image-multi-frame-p):
4150         Remove --without-x warning/error.
4152         * mouse.el (mouse-yank-primary):
4153         * term.el (term-mouse-paste):
4154         Reorder to silence --without-x compilation.
4156         * mpc.el (doc-view-mode): Silence --without-x compilation.
4158         * mail/rmailmm.el (rmail-mime-set-bulk-data):
4159         Silence --without-x compilation.
4161         * progmodes/gud.el (gud-find-file, gud-mode):
4162         Silence --without-x compilation.
4163         (tooltip-mode): Declare.
4165         * wdired.el (dired-backup-overwrite): Remove declaration.
4166         (wdired-mode-map): Add doc string.
4168         * custom.el (x-get-resource): Declare.
4170         * eshell/em-glob.el (ange-cache):
4171         * eshell/em-unix.el (ange-cache): Declare.
4173         * faces.el (x-display-list, x-open-connection, x-get-resource):
4174         Declare.
4176         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4177         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4178         Declare.
4180         * frame.el (x-display-grayscale-p, x-display-name): Declare.
4182         * net/gnutls.el (gnutls-log-level): Declare.
4184         * net/shr.el (image-size, image-animate): Declare.
4186         * simple.el (font-info): Declare.
4188         * subr.el (x-popup-dialog): Declare.
4190         * term/common-win.el (x-select-enable-primary)
4191         (x-last-selected-text-primary, x-last-selected-text-clipboard):
4192         Declare.
4194         * term/ns-win.el (x-handle-args): Declare.
4196         * term/x-win.el (x-select-enable-clipboard): Declare.
4198         * term/w32-win.el (create-default-fontset): Declare.
4200         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4201         Declare.
4203         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4204         (fit-frame-to-buffer): Explicit error if --without-x.
4205         (mouse-autoselect-window-select): Silence compiler.
4207         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4209         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4210         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4211         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4212         * eshell/esh-util.el (eshell-sublist):
4213         Remove unused local variables.
4215         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4217         * textmodes/two-column.el: Make 2C-split work for --without-x.
4218         (scroll-bar-columns): Autoload.
4219         (top-level): Require fringe when compiling.
4221 2013-09-18  Leo Liu  <sdl.web@gmail.com>
4223         * subr.el (add-hook): Robustify to handle closure as well.
4225 2013-09-17  Glenn Morris  <rgm@gnu.org>
4227         * simple.el (messages-buffer-mode-map): Unbind "g".
4229 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4231         * help-mode.el (help-mode-finish): Use derived-mode-p.
4232         Remove obsolete highlighting.
4234         * play/life.el (life-mode): Use define-derived-mode.  Derive from
4235         special-mode.
4236         (life): Let-bind inhibit-read-only.
4237         (life-setup): Avoid `setq'.  Use `life-mode'.
4239         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4240         which should not be needed any more.
4241         (package-menu-refresh, package-menu-describe-package): Use user-error.
4243         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4244         (eshell-post-rewrite-command-hook): Make obsolete.
4245         (eshell-parse-command): Simplify.
4246         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4247         (eshell--cmd): Declare.
4248         (eshell-parse-pipeline): Remove unused var `final-p'.
4249         Pass a dynvar to eshell-post-rewrite-command-hook.
4250         Implement the new eshell-post-rewrite-command-function.
4251         (eshell-invoke-directly): Remove unused arg `input'.
4252         * eshell/esh-io.el (eshell-io-initialize):
4253         Use eshell-post-rewrite-command-function (bug#15399).
4254         (eshell--apply-redirections): Rename from eshell-apply-redirections;
4255         adjust to new calling convention.
4256         (eshell-create-handles): Rename args to avoid clashing with dynvar
4257         `standard-output'.
4259 2013-09-17  Glenn Morris  <rgm@gnu.org>
4261         * simple.el (messages-buffer-mode): New major mode.
4262         (messages-buffer): New function.
4263         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4264         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4265         (ert-run-test): Use `messages-buffer' function.
4266         (ert--force-message-log-buffer-truncation): Ignore read-only.
4267         * help.el (view-echo-area-messages): Use `messages-buffer' function.
4268         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4270 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4272         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4274         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4276 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4278         * icomplete.el (icomplete-in-buffer): New var.
4279         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4280         vars and replace them with functions.
4281         (icomplete-minibuffer-setup): Adjust accordingly.
4282         (icomplete--completion-table, icomplete--completion-predicate)
4283         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4284         New functions.
4285         (icomplete-forward-completions, icomplete-backward-completions)
4286         (icomplete-simple-completing-p, icomplete-exhibit)
4287         (icomplete-completions): Use them.
4288         (icomplete--in-region-buffer): New var.
4289         (icomplete--in-region-setup): New function.
4290         (icomplete-mode): Use it.
4292         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4293         (bug#15379).
4294         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4295         return args and options.
4296         (eshell-eval-using-options): Use the new return value of
4297         eshell--do-opts to set the options's vars in their scope.
4298         (eshell--set-option): Rename from eshell-set-option.
4299         Add arg `opt-vals'.
4300         (eshell--process-option): Rename from eshell-process-option.
4301         Add arg `opt-vals'.
4302         (eshell--process-args): Use an `opt-vals' alist to store the options's
4303         values during their processing and return them additionally to the
4304         remaining args.
4306 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
4308         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4309         continuation character an operator, as far as indentation is
4310         concerned (Bug#15369).
4312 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
4314         * window.el (window--state-put-2): Don't process buffer state
4315         when buffer doesn't exist any more (Bug#15382).
4317 2013-09-15  Glenn Morris  <rgm@gnu.org>
4319         * eshell/em-unix.el (eshell/rm):
4320         Make -f ignore missing files.  (Bug#15373)
4322         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
4323         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4324         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4326 2013-09-14  Glenn Morris  <rgm@gnu.org>
4328         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4330 2013-09-13  Glenn Morris  <rgm@gnu.org>
4332         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4333         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
4335 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
4337         * frame.el (x-focus-frame): Mark as declared in frame.c.
4339 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4341         * ls-lisp.el: Use advice-add.
4342         (original-insert-directory): Remove.
4343         (ls-lisp--insert-directory): Rename from insert-directory; add
4344         `orig-fun' argument.
4345         (insert-directory): Advise.
4347 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
4349         * term.el (term-emulate-terminal): Decode the command string
4350         before passing it to term-command-hook.  (Bug#15337)
4352 2013-09-13  Glenn Morris  <rgm@gnu.org>
4354         * eshell/esh-util.el (ange-cache): Move declaration earlier.
4356         * eshell/esh-ext.el (eshell-search-path): Declare.
4358         * eshell/em-prompt.el (eshell/pwd): Autoload it.
4359         Otherwise an error occurs if eshell-dirs module not loaded.
4361         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4363 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
4365         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4366         `tramp-check-proper-host'.  Check for a valid method name.
4368         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4369         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4370         * net/tramp-sh.el (tramp-maybe-open-connection):
4371         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4373         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4374         also for hash values.
4376 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4378         * term/ns-win.el (parameters): Don't declare as dynamic.
4379         (before-make-frame-hook): Don't add ineffective function.
4381         * eshell/*.el: Use lexical-binding (bug#15231).
4383 2013-09-12  Kenichi Handa  <handa@gnu.org>
4385         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4387 2013-09-12  Glenn Morris  <rgm@gnu.org>
4389         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4390         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4392         * subr.el (do-after-load-evaluation): Also give compiler warnings
4393         when obsolete files are used (except by obsolete files).
4395         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4396         in the status output, assume `filename' is the first.  (Bug#15322)
4398         * vc/vc.el (vc-deduce-fileset): Doc fix.
4400         * calc/calc-help.el (Info-goto-node):
4401         * progmodes/cperl-mode.el (Info-find-node):
4402         * vc/ediff.el (Info-goto-node): Update declarations.
4404         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4406         * vc/vc-bzr.el (vc-compilation-mode): Declare.
4407         (vc-bzr-pull): Require vc-dispatcher.
4408         * vc/vc-git.el (vc-compilation-mode): Declare.
4409         (vc-git-pull): Require vc-dispatcher.
4411         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4413         * progmodes/octave.el (help-button-action): Declare.
4415         * shell.el (shell-directory-tracker): Output error as a message
4416         rather than just returning it as a string.
4417         (shell-process-pushd): Remove useless use of message.
4419         * dframe.el (dframe-timer-fn):
4420         * files.el (dir-locals-read-from-file):
4421         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4422         (mpc-format):
4423         * reveal.el (reveal-post-command):
4424         * saveplace.el (load-save-place-alist-from-file):
4425         * shell.el (shell-resync-dirs):
4426         * w32-common-fns.el (x-get-selection-value):
4427         * emacs-lisp/copyright.el (copyright-find-copyright):
4428         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4429         * emulation/tpu-edt.el (tpu-copy-keyfile):
4430         * play/bubbles.el (bubbles--mark-neighbourhood):
4431         * progmodes/executable.el
4432         (executable-make-buffer-file-executable-if-script-p):
4433         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4435 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4437         Cleanup Eshell to rely less on dynamic scoping.
4438         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4439         last-value, and ext-command here.  Bind `args' closer to `body'.
4440         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4441         (eshell--args): Declare new dynamic var.
4442         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
4443         last-value, and ext-command.  Pass `args' to `body'.
4444         (eshell-process-args): Bind eshell--args.
4445         (eshell-set-option): Use eshell--args.
4446         * eshell/eshell.el (eshell): Use derived-mode-p.
4447         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4448         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4449         (eshell-glob-function): Declare.
4450         * eshell/esh-util.el: Require cl-lib.
4451         (eshell-read-hosts-file): Avoid add-to-list.
4452         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4453         `err'.
4454         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4455         Declare.
4456         (eshell/diff): Remove unused var `err'.
4457         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4458         `killflag'.
4459         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4460         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4461         first use.
4462         * eshell/em-glob.el (eshell-glob-matches, message-shown):
4463         Move declaration before first use.
4464         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4465         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4466         rely on cl-return.
4468 2013-09-12  Glenn Morris  <rgm@gnu.org>
4470         * term/ns-win.el (global-map): Remove binding for ispell-next,
4471         deleted 1999-05-29.  (Bug#15357)
4473 2013-09-11  Glenn Morris  <rgm@gnu.org>
4475         * echistory.el (electric-command-history): Remove call to deleted func.
4477         * play/landmark.el (landmark-mode): Fix typos.
4479         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4480         Check cvs-sort-ignore-file is bound.
4482         * savehist.el: No need for cl when compiling on Emacs.
4484 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4486         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4487         (bug#15338).
4488         (eshell-self-insert-command, eshell-send-invisible):
4489         Remove unused argument.
4490         (eshell-handle-control-codes): Remove unused var `orig'.
4491         Avoid delete-backward-char.
4493         * files.el (set-auto-mode): Simplify a bit further.
4495 2013-09-11  Glenn Morris  <rgm@gnu.org>
4497         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4498         (set-auto-mode): Don't regexp-quote elements.
4499         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4500         * progmodes/cc-mode.el (interpreter-mode-alist):
4501         * progmodes/ruby-mode.el (interpreter-mode-alist):
4502         Revert previous change.
4504 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4506         * play/snake.el (snake-mode):
4507         * play/mpuz.el (mpuz-mode):
4508         * play/landmark.el (lm-mode):
4509         * play/blackbox.el (blackbox-mode):
4510         * play/5x5.el (5x5-mode):
4511         * obsolete/options.el (Edit-options-mode):
4512         * net/quickurl.el (quickurl-list-mode):
4513         * net/newst-treeview.el (newsticker-treeview-mode):
4514         * mail/rmailsum.el (rmail-summary-mode):
4515         * mail/mspools.el (mspools-mode):
4516         * locate.el (locate-mode):
4517         * ibuffer.el (ibuffer-mode):
4518         * emulation/ws-mode.el (wordstar-mode):
4519         * emacs-lisp/debug.el (debugger-mode):
4520         * array.el (array-mode):
4521         * net/eudc.el (eudc-mode): Use define-derived-mode.
4522         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4523         Move initialization into declaration.
4524         (mairix-searches-mode): Use define-derived-mode.
4525         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4526         (eudc-edit-hotlist): Use dolist.
4527         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4528         (Man-mode): Use define-derived-mode.
4529         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4530         (Info-edit-mode): Use define-derived-mode.
4531         (Info-cease-edit): Use Info-mode.
4532         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4533         into declaration.
4534         (eshell-mode): Use define-derived-mode.
4535         * chistory.el (command-history-mode-map): Rename from
4536         command-history-map.
4537         (command-history-mode): Use define-derived-mode.
4538         (Command-history-setup): Remove function.
4539         * calc/calc.el (calc-trail-mode-map): New var.
4540         (calc-trail-mode): Use define-derived-mode.
4541         (calc-trail-buffer): Set calc-main-buffer manually.
4542         * bookmark.el (bookmark-insert-annotation): New function.
4543         (bookmark-edit-annotation): Use it.
4544         (bookmark-edit-annotation-mode): Make it a proper major mode.
4545         (bookmark-send-edited-annotation): Use derived-mode-p.
4546         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4547         closer to its ideal place.  Use \' to match EOS.
4549         * profiler.el (profiler-calltree-find): Use function-equal.
4551 2013-09-10  Glenn Morris  <rgm@gnu.org>
4553         * files.el (interpreter-mode-alist): Convert to regexps.
4554         (set-auto-mode): Adapt for this.  (Bug#15306)
4555         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4556         Comment out unused variable.
4557         * progmodes/cc-mode.el (interpreter-mode-alist):
4558         * progmodes/python.el (interpreter-mode-alist):
4559         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4560         * progmodes/sh-script.el (sh-set-shell):
4561         No longer use interpreter-mode-alist to get list of shells.
4563         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4565 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4567         * simple.el: Use set-temporary-overlay-map for universal-argument.
4568         (universal-argument-map): Don't use default-bindings (bug#15317).
4569         Bind switch-frame explicitly.  Replace universal-argument-minus with
4570         a conditional binding.
4571         (universal-argument-num-events, saved-overriding-map): Remove.
4572         (restore-overriding-map): Remove.
4573         (universal-argument--mode): Rename from save&set-overriding-map,
4574         and rewrite.
4575         (universal-argument, universal-argument-more, negative-argument)
4576         (digit-argument): Adjust accordingly.
4577         (universal-argument-minus): Remove.
4578         (universal-argument-other-key): Remove.
4580         * subr.el (with-demoted-errors): Add `format' argument.
4582 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
4584         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
4585         `tramp-cleanup-connection'.
4587         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4588         parameters KEEP-DEBUG and KEEP-PASSWORD.
4590         * net/tramp.el (tramp-file-name-handler):
4591         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4592         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4593         (tramp-maybe-open-connection):
4594         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4595         Use `tramp-cleanup-connection'.
4597         * net/tramp-sh.el (tramp-maybe-open-connection):
4598         Catch 'uname-changed inside the progress reporter.
4600 2013-09-10  Glenn Morris  <rgm@gnu.org>
4602         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
4604         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4605         returns "alternate access method" in mode (eg "-rw-r--r--.").
4607 2013-09-08  Glenn Morris  <rgm@gnu.org>
4609         * saveplace.el (load-save-place-alist-from-file):
4610         Demote errors.  (Bug#15305)
4612 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
4614         Improve compatibility with older Emacsen, and XEmacs.
4616         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4617         only if it is bound.  It isn't for XEmacs.
4618         (with-tramp-progress-reporter): Do not let-bind `result'.
4619         This yields to scoping errors in XEmacs.
4620         (tramp-handle-make-auto-save-file-name): New function, moved from
4621         tramp-sh.el.
4623         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4624         for `make-auto-save-file-name'.
4625         (tramp-adb--gnu-switches-to-ash):
4626         Use `tramp-compat-replace-regexp-in-string'.
4628         * net/tramp-cache.el (tramp-cache-print): Call
4629         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
4631         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4632         bound.  It isn't for XEmacs.
4634         * net/tramp-compat.el (tramp-compat-copy-file):
4635         Catch `wrong-number-of-arguments' error.
4636         (tramp-compat-replace-regexp-in-string): New defun.
4638         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4639         for `make-auto-save-file-name'.
4640         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4641         `copy-file'.
4642         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4643         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4644         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4646         * net/tramp-gw.el (tramp-gw-open-network-stream):
4647         Use `tramp-compat-replace-regexp-in-string'.
4649         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4650         Call `tramp-handle-make-auto-save-file-name'.
4651         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4652         (tramp-sh-file-gvfs-monitor-dir-process-filter)
4653         (tramp-sh-file-inotifywait-process-filter):
4654         Use `tramp-compat-replace-regexp-in-string'.
4655         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4657         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4658         for `make-auto-save-file-name'.
4659         (tramp-smb-handle-copy-directory):
4660         Call `tramp-compat-replace-regexp-in-string'.
4661         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4662         (tramp-smb-handle-copy-file): Improve error message.
4663         (tramp-smb-handle-rename-file): Rename directly only in case
4664         `newname' does not exist yet.  This is a restriction of smbclient.
4665         (tramp-smb-maybe-open-connection): Rerun the function only when
4666         `auth-sources' is non-nil.
4668 2013-09-08  Kenichi Handa  <handa@gnu.org>
4670         * international/characters.el: Set category "^" (Combining) for
4671         more characters.
4673 2013-09-07  Alan Mackenzie  <acm@muc.de>
4675         Correctly fontify Java class constructors.
4676         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4677         in Java Mode.
4678         (c-recognize-typeless-decls): Set the Java value to t.
4679         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4680         While handling a "(", add a check for, effectively, Java, and handle a
4681         "typeless" declaration there.
4683 2013-09-07  Roland Winkler  <winkler@gnu.org>
4685         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4686         field subtitle for entry type book.
4688 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4690         * minibuffer.el: Make minibuffer-complete call completion-in-region
4691         rather than other way around.
4692         (completion--some, completion-pcm--find-all-completions):
4693         Don't delay signals when debugging.
4694         (minibuffer-completion-contents): Beware fields within the
4695         minibuffer contents.
4696         (completion-all-sorted-completions): Use defvar-local.
4697         (completion--do-completion, completion--cache-all-sorted-completions)
4698         (completion-all-sorted-completions, minibuffer-force-complete):
4699         Add args `beg' and `end'.
4700         (completion--in-region-1): New fun, extracted from minibuffer-complete.
4701         (minibuffer-complete): Use completion-in-region.
4702         (completion-complete-and-exit): New fun, extracted from
4703         minibuffer-complete-and-exit.
4704         (minibuffer-complete-and-exit): Use it.
4705         (completion--complete-and-exit): Rename from
4706         minibuffer--complete-and-exit.
4707         (completion-in-region--single-word): New function, extracted from
4708         minibuffer-complete-word.
4709         (minibuffer-complete-word): Use it.
4710         (display-completion-list): Make `common-substring' argument obsolete.
4711         (completion--in-region): Call completion--in-region-1 instead of
4712         minibuffer-complete.
4713         (completion-help-at-point): Pass boundaries to
4714         minibuffer-completion-help as args rather than via an overlay.
4715         (completion-pcm--string->pattern): Use `any-delim'.
4716         (completion-pcm--optimize-pattern): New function.
4717         (completion-pcm--pattern->regex): Handle `any-delim'.
4718         * icomplete.el (icomplete-forward-completions)
4719         (icomplete-backward-completions, icomplete-completions):
4720         Adjust calls to completion-all-sorted-completions and
4721         completion--cache-all-sorted-completions.
4722         (icomplete-with-completion-tables): Default to t.
4723         * emacs-lisp/crm.el (crm--current-element): Rename from
4724         crm--select-current-element.  Don't put an overlay but return the
4725         boundaries instead.
4726         (crm--completion-command): Take two new args to bind to the boundaries.
4727         (crm-completion-help): Adjust accordingly.
4728         (crm-complete): Use completion-in-region.
4729         (crm-complete-word): Use completion-in-region--single-word.
4730         (crm-complete-and-exit): Use completion-complete-and-exit.
4732 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4735         than dynamically.
4737 2013-09-06  Juri Linkov  <juri@jurta.org>
4739         * info.el (Info-display-images-node): When image file doesn't exist
4740         display text version of the image if it's provided in the Info file.
4741         Otherwise, display the location of missing image from SRC attribute.
4742         Add help-echo text property from ALT attribute.  (Bug#15279)
4744 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4746         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4747         (edit-abbrevs-mode): Use define-derived-mode.
4749         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4750         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4751         that it's defined.
4752         (epa-key-list-mode, epa-key-mode, epa-info-mode):
4753         Use define-derived-mode.
4755         * epg.el (epg-start-encrypt): Minor CSE simplification.
4757 2013-09-06  William Xu  <william.xwl@gmail.com>
4759         * arc-mode.el: Add support for 7za (bug#15264).
4760         (archive-7z-program): New var.
4761         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4762         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4763         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4765 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
4767         Remove URL syntax.
4769         * net/tramp.el (tramp-syntax, tramp-prefix-format)
4770         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4771         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4772         (tramp-postfix-host-format, tramp-file-name-regexp)
4773         (tramp-completion-file-name-regexp)
4774         (tramp-completion-dissect-file-name)
4775         (tramp-handle-substitute-in-file-name): Remove 'url case.
4776         (tramp-file-name-regexp-url)
4777         (tramp-completion-file-name-regexp-url): Remove constants.
4779 2013-09-06  Glenn Morris  <rgm@gnu.org>
4781         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
4783 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
4785         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4786         keywords" below "here-doc beginnings" (Bug#15270).
4788 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4790         * subr.el (pop): Use `car-safe'.
4791         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4792         to detect unused `pop' return value.
4794         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4795         var `block-regexp'.
4796         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4797         (python-fill-string): Remove unused var `marker'.
4798         (python-skeleton-add-menu-items): Remove unused var `items'.
4800         * international/mule-cmds.el: Require CL.
4801         (find-coding-systems-for-charsets): Avoid add-to-list.
4802         (sanitize-coding-system-list): New function, extracted from
4803         select-safe-coding-system-interactively.
4804         (select-safe-coding-system-interactively): Use it.
4805         (read-input-method-name): Accept symbols for `default'.
4807         * emacs-lisp/advice.el (defadvice): Add indent rule.
4809 2013-09-05  Daniel Hackney  <dan@haxney.org>
4811         * dired-x.el:
4812         * net/ange-ftp.el:
4813         * net/browse-url.el:
4814         * net/dbus.el:
4815         * net/eudc.el:
4816         * net/eudcb-ldap.el:
4817         * net/eww.el:
4818         * net/imap.el:
4819         * printing.el:
4820         * vc/ediff-diff.el:
4821         * vc/ediff-init.el:
4822         * vc/ediff-merg.el:
4823         * vc/ediff-mult.el:
4824         * vc/ediff-util.el:
4825         * vc/ediff-wind.el:
4826         * vc/ediff.el:
4827         * vc/emerge.el:
4828         * vc/pcvs.el:
4829         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4830         byte compiler.  Remove some unused let-bound variables.
4832 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4834         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4835         a "ref-cell", since it gets better optimized (bug#14883).
4837 2013-09-05  Glenn Morris  <rgm@gnu.org>
4839         * progmodes/cc-awk.el (c-forward-sws): Declare.
4841 2013-09-04  Glenn Morris  <rgm@gnu.org>
4843         * generic-x.el [rul-generic-mode]: Require cc-mode.
4844         (c++-mode-syntax-table): Declare.
4845         (rul-generic-mode-syntax-table): Init in the defvar.
4847 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4849         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4850         (vc-do-command, vc-set-async-update):
4851         * vc/vc-mtn.el (vc-mtn-dir-status):
4852         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4853         (vc-hg-pull, vc-hg-merge-branch):
4854         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4855         (vc-git-merge-branch):
4856         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4857         (vc-cvs-dir-status-files):
4858         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4859         (vc-bzr-dir-status-files):
4860         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4861         * vc/vc-annotate.el: Use lexical-binding.
4862         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4863         (vc-sentinel-movepoint): Declare.
4864         (vc-annotate): Don't use `goto-line'.
4865         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4866         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4867         (vc-sentinel-movepoint): Declare.
4868         * vc/vc-svn.el: Use lexical-binding.
4869         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4870         * vc/vc-sccs.el:
4871         * vc/vc-rcs.el: Use lexical-binding.
4873         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4874         `deleted'.  Don't drop errors silently.
4876         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4878 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
4880         * vc/vc.el (vc-ignore): Rewrite.
4881         (vc-default-ignore): New function.
4882         (vc-default-ignore-completion-table): Use find-ignore-file.
4884         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4885         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4886         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4887         Remove.  Most code moved to vc.el.
4889 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4891         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4892         * net/tramp-smb.el (tramp-smb-get-file-entries):
4893         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4894         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4896         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4897         Update call to it.
4898         (eww-change-select): Remove unused var `properties'.
4899         (eww-make-unique-file-name): Remove unused var `base'.
4901         * finder.el (finder-compile-keywords): Don't mess with windows.
4903         * calculator.el (calculator-funcall): Fix typo in last change.
4905         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4907         * emacs-lisp/package.el (package-activate-1): Don't let a missing
4908         <pkg>-autoloads.el file stop us.
4910         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4911         warnings, and factor out common code.
4913 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
4915         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4916         two-character operators and whether the character preceding them
4917         changes their meaning (Bug#15208).
4919 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4921         Format code sent to Python shell for robustness.
4922         * progmodes/python.el (python-shell-buffer-substring):
4923         New function.
4924         (python-shell-send-region, python-shell-send-buffer): Use it.
4926 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
4928         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4929         * net/tramp.el (tramp-user-error): ... here.
4930         (tramp-find-method, tramp-check-proper-host)
4931         (tramp-dissect-file-name, tramp-debug-message)
4932         (tramp-handle-shell-command):
4933         * net/tramp-adb.el (tramp-adb-handle-shell-command):
4934         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4936         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4938 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
4940         * avoid.el (mouse-avoidance-point-position)
4941         (mouse-avoidance-too-close-p): Handle case where posn-at-point
4942         returns nil.
4944 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4946         * progmodes/python.el (python-shell-completion-get-completions):
4947         Drop use of deleted `comint-last-prompt-overlay'.
4948         (python-nav-if-name-main): New command.
4950 2013-09-01  Glenn Morris  <rgm@gnu.org>
4952         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4953         Avoid leading space in $wins.  Otherwise the sed command used by
4954         eg compile-main ends up containing "/*.el".  (Bug#15170)
4956         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
4958 2013-08-30  Glenn Morris  <rgm@gnu.org>
4960         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4961         Fix is-this-a-directory logic.  (Bug#15220)
4963 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4965         * textmodes/css-mode.el: Use SMIE.
4966         (css-smie-grammar): New var.
4967         (css-smie--forward-token, css-smie--backward-token)
4968         (css-smie-rules): New functions.
4969         (css-mode): Use them.
4970         (css-navigation-syntax-table): Remove var.
4971         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4972         (css-indent-calculate, css-indent-line): Remove functions.
4974         Misc changes to reduce use of `(lambda...); and other cleanups.
4975         * cus-edit.el: Use lexical-binding.
4976         (customize-push-and-save, customize-apropos)
4977         (custom-buffer-create-internal): Use closures.
4978         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4979         * progmodes/ada-xref.el: Use setq.
4980         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4981         * dframe.el: Use lexical-binding.
4982         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4983         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4984         * descr-text.el: Use lexical-binding.
4985         (describe-text-widget, describe-text-sexp, describe-property-list):
4986         Use closures.
4987         * comint.el (comint-history-isearch-push-state): Use a closure.
4988         * calculator.el: Use lexical-binding.
4989         (calculator-number-to-string): Make it work with lexical-binding.
4990         (calculator-funcall): Same and use cl-letf.
4992         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4993         (lisp--company-doc-string, lisp--company-location): New functions.
4994         (lisp-completion-at-point): Use them to improve Company support.
4996         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4997         params of lambda expressions.
4998         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4999         (ruby-smie--opening-pipe-p): New function.
5000         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5001         symbols and matched |...| for formal params.
5002         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5003         from being treated as hanging.  Handle "rescue".
5005 2013-08-29  Glenn Morris  <rgm@gnu.org>
5007         * progmodes/cc-engine.el (c-pull-open-brace):
5008         Move definition before use.
5010 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5012         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5013         are immutable.  Don't use `unsafe' any more.
5014         (cl--defsubst-expand): Don't substitute at the same time as keeping
5015         a residual unused let-binding.  Don't use `unsafe' any more.
5017 2013-08-29  Glenn Morris  <rgm@gnu.org>
5019         * calendar/cal-china.el (calendar-chinese-year-cache):
5020         Recenter on 2015.
5022         * nxml/nxml-util.el (nxml-debug-clear-inside):
5023         Use cl-loop rather than loop.
5025         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5027         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5029 2013-08-28  Glenn Morris  <rgm@gnu.org>
5031         * progmodes/antlr-mode.el: No need to require cc-mode twice.
5033         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5035         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5037 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5039         * simple.el (repeat-complex-command--called-interactively-skip):
5040         New function.
5041         (repeat-complex-command): Use it (bug#14136).
5043         * progmodes/cc-mode.el: Minor cleanup of var declarations.
5044         (c-define-abbrev-table): Add `doc' argument.
5045         (c-mode-abbrev-table, c++-mode-abbrev-table)
5046         (objc-mode-abbrev-table, java-mode-abbrev-table)
5047         (idl-mode-abbrev-table, pike-mode-abbrev-table)
5048         (awk-mode-abbrev-table): Use it.
5049         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5050         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5051         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5052         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5053         Move initialization into the declaration; and remove any
5054         autoload cookie.
5056         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5057         and dynamic let binding.
5059         * vc/smerge-mode.el: Remove redundant :group args.
5061         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5062         to load-path.
5064 2013-08-28  Juri Linkov  <juri@jurta.org>
5066         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5067         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5068         (isearch-other-meta-char): Handle an undefined shifted printing
5069         character by downshifting it.  (Bug#15200)
5071 2013-08-28  Juri Linkov  <juri@jurta.org>
5073         * isearch.el (isearch-search): Change regexp error message for
5074         non-regexp searches.  (Bug#15166)
5076 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
5078         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5079         for portability to hosts where /bin/sh has problems.
5081 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5083         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5085 2013-08-27  Juri Linkov  <juri@jurta.org>
5087         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5088         in the keyboard macro.  (Bug#15126)
5090 2013-08-27  Juri Linkov  <juri@jurta.org>
5092         * isearch.el (isearch-quote-char): Comment out converting unibyte
5093         to multibyte, thus syncing with its `quoted-insert' counterpart.
5094         (Bug#15166)
5096 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
5098         * window.el (display-buffer-use-some-window): Add missing
5099         argument in call of get-largest-window (Bug#15185).
5100         Reported by Stephen Leake.
5102 2013-08-27  Glenn Morris  <rgm@gnu.org>
5104         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5106 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5108         * progmodes/python.el (python-font-lock-keywords): Don't return nil
5109         from a matcher-function unless there's no more matches (bug#15161).
5111 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5113         * minibuffer.el: Revert change from 2013-08-20.
5115         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5116         with text property `tramp-default', if appropriate.
5117         (tramp-check-proper-host): New defun.
5118         (tramp-dissect-file-name): Do not check hostname.  Revert change
5119         of 2013-03-18.
5120         (tramp-backtrace): Make VEC-OR-PROC optional.
5122         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5123         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5124         * net/tramp-sh.el (tramp-maybe-open-connection):
5125         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5126         Apply `tramp-check-proper-host'.
5128 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
5130         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5131         lambda expression in order to have `describe-variable' display it.
5133 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5135         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5136         BUF can be optional.  (Bug#15186)
5138 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
5140         * progmodes/flymake.el (flymake-get-real-file-name-function):
5141         Fix broken customization.  (Bug#15184)
5143 2013-08-25  Alan Mackenzie  <acm@muc.de>
5145         Improve indentation of bracelists defined by macros (without "=").
5147         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5148         expansion begins with "{", regard it as bracelist when it doesn't
5149         contain a ";".
5151         Parse C++ inher-intro when there's a template split over 2 lines.
5153         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5154         rigorously the search for "class" etc. followed by ":".
5156         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5157         random languages a regexp which never matches rather than nil.
5159         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5161         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5162         (c-awk-regexp-one-line-possibly-open-char-list-re)
5163         (c-awk-one-line-possibly-open-regexp-re)
5164         (c-awk-one-line-non-syn-ws*-re): Remove.
5165         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5166         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5167         (c-awk-space*-unclosed-regexp-/-re): New constants.
5168         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5169         aren't regexp delimiters.
5171         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5172         handling for a rare situation in AWK Mode involving unterminated
5173         strings/regexps.
5175 2013-08-23  Glenn Morris  <rgm@gnu.org>
5177         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5179         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5181         * files.el (create-file-buffer): If the result would begin with
5182         spaces, prepend a "|" instead of removing them.  (Bug#15162)
5184 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5186         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5187         text-properties (bug#15155).
5189         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5190         exist any more.
5191         (calc-keypad-redraw): Remove unused var `pad'.
5192         (calc-keypad-press): Remove unused var `menu'.
5194 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
5196         * window.el (display-buffer-pop-up-frame):
5197         Call pop-up-frame-function with BUFFER current so `make-frame' will
5198         use it as the new frame's buffer (Bug#15133).
5200 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5202         * calendar/timeclock.el: Minor cleanups.
5203         (timeclock-ask-before-exiting, timeclock-use-display-time):
5204         Use `symbol'.
5205         (timeclock-modeline-display): Define as alias before the
5206         actual definition.
5207         (timeclock-mode-line-display): Use define-minor-mode.
5208         (timeclock-day-list-template): Make it a function, add an argument.
5209         (timeclock-day-list-required, timeclock-day-list-length)
5210         (timeclock-day-list-debt, timeclock-day-list-span)
5211         (timeclock-day-list-break): Adjust calls accordingly.
5213 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5215         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5216         Use read--expression so that completion works again.
5218 2013-08-21  Sam Steingold  <sds@gnu.org>
5220         Add rudimentary inferior shell interaction
5221         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5222         (sh-set-shell): Reset it.
5223         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5224         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5226 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5228         * align.el: Use lexical-binding.
5229         (align-region): Simplify accordingly.
5231 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
5233         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5235         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5236         `non-essential' up.
5238 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
5240         * net/tramp.el:
5241         * net/tramp-adb.el:
5242         * net/tramp-cmds.el:
5243         * net/tramp-ftp.el:
5244         * net/tramp-gvfs.el:
5245         * net/tramp-gw.el:
5246         * net/tramp-sh.el: Don't wrap external variable declarations by
5247         `eval-when-compile'.
5249 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5251         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5252         now that Emacs supports ImageMagick animations.
5254 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
5256         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5257         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5259 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
5261         * window.el (mouse-autoselect-window-select): Do autoselect when
5262         mouse pointer is on margin.
5264 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
5266         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
5268 2013-08-16  Glenn Morris  <rgm@gnu.org>
5270         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5271         Handle "Remote Directory" response of some clients.  (Bug#15058)
5273         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5274         Tweak warning.  (Bug#14926)
5276         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5277         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
5279         * image-mode.el (image-mode-map): Add menu items to reverse,
5280         increase, decrease, reset animation speed.
5281         (image--set-speed, image-increase-speed, image-decrease-speed)
5282         (image-reverse-speed, image-reset-speed): New functions.
5283         (image-mode-map): Add bindings for speed commands.
5285         * image.el (image-animate-get-speed, image-animate-set-speed):
5286         New functions.
5287         (image-animate-timeout): Respect image :speed property.
5289 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5291         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5292         previous line (bug#15101).
5293         (debugger-eval-expression, debugger-record-expression):
5294         Use read--expression (bug#15102).
5296 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
5298         Remove byte compiler warnings, visible when compiling with
5299         `byte-compile-force-lexical-warnings' set to t.
5301         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5302         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5303         (tramp-handle-unhandled-file-name-directory)
5304         (tramp-handle-file-notify-add-watch, tramp-action-login)
5305         (tramp-action-succeed, tramp-action-permission-denied)
5306         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5307         arguments with "_".
5309         * net/tramp-adb.el (tramp-adb-parse-device-names)
5310         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5311         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5312         (tramp-adb-handle-file-truename): Remove unused arguments.
5314         * net/tramp-cache.el (tramp-flush-directory-property)
5315         (tramp-flush-connection-property, tramp-list-connections)
5316         (tramp-parse-connection-properties): Prefix unused arguments with "_".
5318         * net/tramp-compat.el (tramp-compat-make-temp-file):
5319         Rename FILENAME to F.
5321         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5322         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5323         (tramp-zeroconf-parse-workstation-device-names)
5324         (tramp-zeroconf-parse-webdav-device-names)
5325         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5327         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5328         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5330         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5331         arguments.
5332         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5333         (tramp-sh-handle-insert-file-contents-literally)
5334         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5335         with "_".
5336         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5337         Remove unused variables.
5339         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5340         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5341         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5343         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5344         Make them a defconst.
5345         (tramp-uuencode-region): Remove unused variable.
5347 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
5349         * frameset.el (frameset--prop-setter): New function.
5350         (frameset-prop): Add gv-setter declaration.
5351         (frameset-filter-minibuffer): Deal with the case that the minibuffer
5352         parameter was already set in FILTERED.  Doc fix.
5353         (frameset--record-minibuffer-relationships): Allow saving a
5354         minibufferless frame without its corresponding minibuffer frame.
5355         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5356         frame, if the frame id matches.
5357         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5358         frames before orphaned ones.
5359         (frameset-restore): Warn about orphaned windows, instead of error out.
5361 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
5363         * window.el (window-make-atom): Don't overwrite parameter
5364         already present.
5365         (display-buffer-in-atom-window): Handle special case where we
5366         split an already atomic window.
5367         (window--major-non-side-window, display-buffer-in-side-window)
5368         (window--side-check): Ignore minibuffer window when walking
5369         window tree.
5370         (window-deletable-p): Return 'frame only if no other frame uses
5371         our minibuffer window.
5372         (record-window-buffer): Run buffer-list-update-hook.
5373         (split-window): Make sure window--check-frame won't destroy an
5374         existing atomic window in case the new window gets nested
5375         inside.
5376         (display-buffer-at-bottom): Ignore minibuffer window when
5377         walking window tree.  Don't split a side window.
5378         (pop-to-buffer): Don't set-buffer here, the select-window call
5379         should do that.
5380         (mouse-autoselect-window-select): Autoselect only if we are in the
5381         text portion of the window.
5383 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5385         * net/shr.el (shr-parse-image-data): New function to grab both the
5386         data itself and the Content-Type.
5387         (shr-put-image): Use it.
5389         * net/eww.el (eww-display-image): Ditto.
5391         * image.el (image-content-type-suffixes): New variable.
5393 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5395         * progmodes/python.el (python-imenu--build-tree)
5396         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5398 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
5400         * simple.el (backward-word): Mention the optional argument.
5402 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5404         * frameset.el (frameset--make): Rename constructor from make-frameset.
5405         (frameset-p, frameset-valid-p): Don't autoload.
5406         (frameset-valid-p): Use normal accessors.
5408 2013-08-13  Glenn Morris  <rgm@gnu.org>
5410         * progmodes/compile.el (compile-command): Tweak example in doc.
5411         * obsolete/scribe.el (scribe-mode):
5412         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
5414         * mail/feedmail.el (feedmail-confirm-outgoing)
5415         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5417         * cus-start.el (truncate-partial-width-windows): Fix type.
5419         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5421         * net/shr.el (shr-table-horizontal-line): Fix custom type.
5423 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5425         * emacs-lisp/timer.el (timer--time-setter): New function.
5426         (timer--time): Use it as gv-setter.
5428         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5429         setter is not a symbol.
5431 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
5433         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5434         if sending fails.  This makes debugging easier.
5436 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
5438         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5439         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5440         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5442 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
5444         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5446 2013-08-12  Glenn Morris  <rgm@gnu.org>
5448         * format.el (format-annotate-function):
5449         Handle read-only text properties in the source.  (Bug#14887)
5451 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5453         * net/eww.el (eww-display-html): Ignore coding system errors.
5454         One web site uses "utf-8lias" as the coding system.
5456 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
5458         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5460 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
5462         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5463         (tutorial--detailed-help): Remove unused local variables.
5464         (tutorial--save-tutorial-to): Use ignore-errors.
5465         (help-with-tutorial): Use looking-at-p.
5467         * view.el (view-buffer-other-window, view-buffer-other-frame):
5468         Mark unused arguments.
5470         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5471         (woman-select-symbol-fonts, woman, woman-find-file)
5472         (woman-insert-file-contents, woman-non-underline-faces):
5473         Use string-match-p.
5474         (woman1-unquote): Move declaration.
5476         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5477         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
5478         argument.  Remove unused local variable.
5479         (xml-parse-elem-type): Use string-match-p.
5480         (xml-substitute-numeric-entities): Use ignore-errors.
5482         * calculator.el (calculator): Mark unused argument.
5483         (calculator-paste, calculator-quit, calculator-integer-p):
5484         Use ignore-errors.
5485         (calculator-string-to-number, calculator-decimal, calculator-exp)
5486         (calculator-op-or-exp): Use string-match-p.
5488         * dired.el (dired-buffer-more-recently-used-p): Declare.
5489         (dired-insert-set-properties, dired-insert-old-subdirs):
5490         Use ignore-errors.
5492         * dired-aux.el (dired-compress): Use ignore-errors.
5493         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5494         (dired-do-async-shell-command, dired-do-shell-command)
5495         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5496         (dired-insert-subdir-validate): Use string-match-p.
5497         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5498         (dired-add-entry): Use string-match-p, looking-at-p.
5499         (dired-insert-subdir-newpos): Remove unused local variable.
5501         * filenotify.el (file-notify-callback): Remove unused local variable.
5503         * filesets.el (filesets-error): Mark unused argument.
5504         (filesets-which-command-p, filesets-filter-dir-names)
5505         (filesets-directory-files, filesets-get-external-viewer)
5506         (filesets-ingroup-get-data): Use string-match-p.
5508         * find-file.el (ff-other-file-name, ff-other-file-name)
5509         (ff-find-the-other-file, ff-cc-hh-converter):
5510         Remove unused local variables.
5511         (ff-get-file-name): Use string-match-p.
5512         (ff-all-dirs-under): Use ignore-errors.
5514         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5515         (follow-select-if-visible): Remove unused local variable.
5517         * forms.el (read-file-filter): Move declaration.
5518         (forms--make-format, forms--make-parser, forms-insert-record):
5519         Quote function with #'.
5520         (forms--update): Use string-match-p.  Quote function with #'.
5522         * help-mode.el (help-dir-local-var-def): Mark unused argument.
5523         (help-make-xrefs): Use looking-at-p.
5524         (help-xref-on-pp): Use looking-at-p, ignore-errors.
5526         * ibuffer.el (ibuffer-ext-visible-p): Declare.
5527         (ibuffer-confirm-operation-on): Use string-match-p.
5529         * msb.el (msb-item-handler, msb-dired-item-handler):
5530         Mark unused arguments.
5532         * ses.el (ses-decode-cell-symbol)
5533         (ses-kill-override): Remove unused local variable.
5534         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5535         (ses-load): Use ignore-errors, looking-at-p.
5536         (ses-jump-safe): Use ignore-errors.
5537         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5539         * tabify.el (untabify, tabify): Mark unused arguments.
5541         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5542         Mark unused argument.
5543         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5544         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5546         * emacs-lisp/timer.el (timer--time): Define setter with
5547         gv-define-setter to avoid deprecation warning.
5549         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5550         (*record-cmpl-statistics-p*): Remove (was commented out).
5551         (cmpl-statistics-block): Remove (body was commented out).
5552         All callers changed.
5553         (add-completions-from-buffer, load-completions-from-file):
5554         Remove unused variables.
5556 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5558         * filecache.el (file-cache-delete-file-list):
5559         Print message only when told so.
5560         (file-cache-files-matching): Use #' in mapconcat argument.
5562         * ffap.el (ffap-url-at-point): Fix reference to variable
5563         thing-at-point-default-mail-uri-scheme.
5565 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5567         * subr.el (define-error): New function.
5568         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5569         error-file-not-found and define with define-error.
5570         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5571         and define with define-error.
5572         * userlock.el (file-locked, file-supersession):
5573         * simple.el (mark-inactive):
5574         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5575         * progmodes/ada-mode.el (ada-mode-errors):
5576         * play/life.el (life-extinct):
5577         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5578         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5579         * nxml/rng-util.el (rng-error):
5580         * nxml/rng-uri.el (rng-uri-error):
5581         * nxml/rng-match.el (rng-compile-error):
5582         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5583         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5584         * nxml/nxml-rap.el (nxml-scan-error):
5585         * nxml/nxml-outln.el (nxml-outline-error):
5586         * net/soap-client.el (soap-error):
5587         * net/gnutls.el (gnutls-error):
5588         * net/ange-ftp.el (ftp-error):
5589         * mpc.el (mpc-proc-error):
5590         * json.el (json-error, json-readtable-error, json-unknown-keyword)
5591         (json-number-format, json-string-escape, json-string-format)
5592         (json-key-format, json-object-format):
5593         * jka-compr.el (compression-error):
5594         * international/quail.el (quail-error):
5595         * international/kkc.el (kkc-error):
5596         * emacs-lisp/ert.el (ert-test-failed):
5597         * calc/calc.el (calc-error, inexact-result, math-overflow)
5598         (math-underflow):
5599         * bookmark.el (bookmark-error-no-filename):
5600         * epg.el (epg-error): Define with define-error.
5602         * time.el (display-time-event-handler)
5603         (display-time-next-load-average): Don't call sit-for since it seems
5604         unnecessary (bug#15045).
5606         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5607         Use #' instead of ' to quote functions.
5608         (checkdoc-output-mode): Use setq-local.
5609         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5610         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5611         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5612         (checkdoc-ispell, checkdoc-ispell-current-buffer)
5613         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5614         (checkdoc-ispell-message-text, checkdoc-ispell-start)
5615         (checkdoc-ispell-continue, checkdoc-ispell-comments)
5616         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5618         * ido.el (ido-completion-help): Fix up compiler warning.
5620 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5622         * frameset.el (frameset-p): Add autoload cookie.
5623         (frameset--jump-to-register): New function, based on code moved from
5624         register.el.
5625         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
5627         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5628         (frameset-restore, frameset-save, frameset-session-filter-alist):
5629         Remove declarations.
5630         (register-alist): Doc fix.
5631         (frameset-to-register): Move to frameset.el.
5632         (jump-to-register, describe-register-1): Remove frameset-specific code.
5634 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5636         * allout-widgets.el (allout-widgets-pre-command-business)
5637         (allout-widgets-post-command-business)
5638         (allout-widgets-after-change-handler)
5639         (allout-decorate-item-and-context, allout-set-boundary-marker)
5640         (allout-body-modification-handler)
5641         (allout-graphics-modification-handler): Mark ignored arguments.
5642         (allout-widgets-post-command-business)
5643         (allout-widgets-exposure-change-processor)
5644         (allout-widgets-exposure-undo-processor)
5645         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5646         (allout-parse-item-at-point, allout-decorate-item-guides)
5647         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5648         * allout.el (epa-passphrase-callback-function): Declare.
5649         (allout-overlay-insert-in-front-handler)
5650         (allout-overlay-interior-modification-handler)
5651         (allout-isearch-end-handler, allout-chart-siblings)
5652         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5653         (allout-yank-processing, allout-process-exposed)
5654         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5655         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5656         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5657         (lisp-indent-defform): Mark ignored arguments.
5658         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
5659         (calculate-lisp-indent): Remove unused variables.
5660         * international/characters.el (indian-2-column, arabic-2-column)
5661         (tibetan): Mark ignored arguments.
5662         (use-cjk-char-width-table): Mark ignored arguments.
5663         Remove unused variables.
5664         * international/fontset.el (build-default-fontset-data)
5665         (x-compose-font-name, create-fontset-from-fontset-spec):
5666         Mark ignored arguments.
5667         (fontset-plain-name): Remove unused variables.
5668         * international/mule.el (charset-id, charset-bytes, generic-char-p)
5669         (keyboard-coding-system): Mark ignored arguments.
5670         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
5671         * help.el (resize-temp-buffer-window):
5672         * window.el (display-buffer-in-major-side-window)
5673         (display-buffer-in-side-window, display-buffer-in-previous-window):
5674         Remove unused variables.
5675         * isearch.el (isearch-forward-symbol):
5676         * version.el (emacs-bzr-version-bzr):
5677         * international/mule-cmds.el (current-language-environment):
5678         * term/common-win.el (x-handle-iconic, x-handle-geometry)
5679         (x-handle-display):
5680         * term/pc-win.el (x-list-fonts, x-display-planes)
5681         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5682         (x-server-version, x-display-screens, x-display-mm-height)
5683         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5684         (x-selection-owner-p, x-own-selection-internal)
5685         (x-disown-selection-internal, x-get-selection-internal)
5686         (msdos-initialize-window-system):
5687         * term/tty-colors.el (tty-color-alist, tty-color-clear):
5688         * term/x-win.el (x-handle-no-bitmap-icon):
5689         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5690         (vc-default-find-file-hook, vc-default-extra-menu):
5691         Mark ignored arguments.
5693 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5695         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5696         break-condition in the context of the debugged code (bug#12685).
5698 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
5700         * comint.el:
5701         Do not use an overlay to highlight the last prompt.  (Bug#14744)
5702         (comint-mode): Make comint-last-prompt buffer local.
5703         (comint-last-prompt): New variable.
5704         (comint-last-prompt-overlay): Remove.  Superseded by
5705         comint-last-prompt.
5706         (comint-snapshot-last-prompt, comint-output-filter):
5707         Use comint-last-prompt.
5709 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5711         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
5712         (frameset-save): Check validity of the resulting frameset.
5714 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
5716         * ido.el (ido-record-command): Add doc string.
5718 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5720         * frameset.el (frameset): Do not disable creation of the default
5721         frameset-p predicate.  Doc fix.
5722         (frameset-valid-p): New function, copied from the old predicate-p.
5723         Add additional checks.
5724         (frameset-restore): Check with frameset-valid-p.
5725         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5726         (frameset-name, frameset-description, frameset-properties)
5727         (frameset-states): Add docstring.
5728         (frameset-session-filter-alist, frameset-persistent-filter-alist)
5729         (frameset-filter-alist): Doc fixes.
5731 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5733         * frameset.el (frameset-p, frameset-prop): Doc fixes.
5735 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5737         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5738         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5739         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5740         (byte-compile-normal-call): Remove obsolescence check.
5742 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5744         * frameset.el (frameset-restore): Doc fix.
5746         * register.el (frameset-frame-id, frameset-frame-with-id)
5747         (frameset-p, frameset-restore, frameset-save): Declare.
5748         (register-alist): Document framesets.
5749         (frameset-session-filter-alist): Declare.
5750         (frameset-to-register): New function.
5751         (jump-to-register): Implement jumping to framesets.  Doc fix.
5752         (describe-register-1): Describe framesets.
5754         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5756 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
5758         * desktop.el (desktop-save-frameset): Use new frameset-save args.
5759         Use lexical-binding.
5761         * frameset.el (frameset): Use type vector, not list (incompatible
5762         change).  Do not declare a new constructor, use the default one.
5763         Upgrade suggested properties `app', `name' and `desc' to slots `app',
5764         `name' and `description', respectively, and add read-only slot
5765         `timestamp'.  Doc fixes.
5766         (frameset-copy, frameset-persistent-filter-alist)
5767         (frameset-filter-alist, frameset-switch-to-gui-p)
5768         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5769         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5770         (frameset-filter-iconified, frameset-keep-original-display-p):
5771         Doc fixes.
5772         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5773         Rename from frameset-filter-(save|restore)-param.  All callers changed.
5774         Doc fix.
5775         (frameset-p): Adapt to change to vector and be more thorough.
5776         Change arg name to OBJECT.  Doc fix.
5777         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
5778         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5779         All callers changed.
5780         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5781         All callers changed.
5782         (frameset--record-minibuffer-relationships): Rename from
5783         frameset--process-minibuffer-frames.  All callers changed.
5784         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5785         Use new default constructor (again).  Doc fix.
5786         (frameset--find-frame-if): Rename from `frameset--find-frame.
5787         All callers changed.
5788         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5789         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5790         Doc fix.
5791         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5792         PARAMETERS and WINDOW-STATE, respectively.
5793         (frameset-restore): Add new keyword argument PREDICATE.
5794         Reset frameset--target-display to nil.  Doc fix.
5796 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5798         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5799         (bat-mode): Use it.
5800         (bat-mode-syntax-table): Mark \n as end-of-comment.
5801         (bat-font-lock-keywords): Remove comment rule.
5803         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
5804         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
5806         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5807         (byte-compile-callargs-warn): Use `push'.
5808         (byte-compile-arglist-warn): Ignore higher-order "calls".
5809         (byte-compile-file-form-autoload): Use `pcase'.
5810         (byte-compile-function-form): If quoting a symbol, check that it exists.
5812 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
5814         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5815         and add a few popular commands found in batch files.
5816         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5817         (dos-mode): Doc fixes.
5819 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5821         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5822         (dos-mode): Use setq-local.  Add space after "rem".
5823         (dos-mode-syntax-table): Don't use "w" for symbol chars.
5824         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5826 2013-08-07  Arni Magnusson  <arnima@hafro.is>
5828         * progmodes/dos.el: New file.
5829         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5830         dos-mode.
5832 2013-08-06  Glenn Morris  <rgm@gnu.org>
5834         * calendar/calendar.el: Add new faces, and day-header-array.
5835         (calendar-weekday-header, calendar-weekend-header)
5836         (calendar-month-header): New faces.
5837         (calendar-day-header-construct): New function.
5838         (calendar-day-header-width): Also :set calendar-day-header-array.
5839         (calendar-american-month-header, calendar-european-month-header)
5840         (calendar-iso-month-header): Use calendar- faces.
5841         (calendar-generate-month):
5842         Use calendar-day-header-array for day headers; apply faces to them.
5843         (calendar-mode): Check calendar-font-lock-keywords non-nil.
5844         (calendar-abbrev-construct): Add optional maxlen argument.
5845         (calendar-day-name-array): Doc fix.
5846         (calendar-day-name-array, calendar-abbrev-length)
5847         (calendar-day-abbrev-array):
5848         Also :set calendar-day-header-array, and maybe redraw.
5849         (calendar-day-header-array): New option.  (Bug#15007)
5850         (calendar-font-lock-keywords): Set to nil and make obsolete.
5851         (calendar-day-name): Add option to use header array.
5853 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5855         * net/shr.el (shr-render-td): Remove debugging.
5856         (shr-render-td): Make width computation consistent by defaulting
5857         all zero-width columns to 10 characters.  This may not be optimal,
5858         but it's at least consistent.
5859         (shr-make-table-1): Redo last change to fix the real problem in
5860         colspan handling.
5862 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5864         * files.el (cache-long-line-scans):
5865         Make obsolete alias to `cache-long-scans'.
5867 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5869         * frameset.el (frameset, frameset-filter-alist)
5870         (frameset-filter-params, frameset-save, frameset--reuse-frame)
5871         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5872         (frameset-compute-pos): Rename from frameset--compute-pos,
5873         and add docstring.
5874         (frameset-move-onscreen): Use frameset-compute-pos.
5875         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5877         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5878         Fix typos in docstrings.
5880 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5882         * frame.el (get-other-frame): Tiny cleanup.
5884 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5886         * vc/vc.el (vc-default-ignore-completion-table):
5887         Silence byte-compiler warning.
5889         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5890         slot , which can indeed be nil.
5891         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5892         Move entry for `left' from persistent to live filter alist.
5893         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5894         Doc fixes.
5895         (frameset-filter-params): When restoring a frame, copy items added to
5896         `filtered', to avoid unwittingly modifying the original parameters.
5897         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
5898         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5900         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5901         to use looking-at-p instead of looking-at.  (Bug#15028)
5903 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5905         Revert introduction of isearch-filter-predicates (bug#14714).
5906         Rely on add-function instead.
5907         * isearch.el (isearch-filter-predicates): Rename it back to
5908         isearch-filter-predicate.
5909         (isearch-message-prefix): Use advice-function-mapc and advice
5910         properties to get the isearch-message-prefix.
5911         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5912         instead of run-hook-with-args-until-failure.
5913         (isearch-filter-visible): Not obsolete any more.
5914         * loadup.el: Preload nadvice.
5915         * replace.el (perform-replace): Revert to funcall
5916         instead of run-hook-with-args-until-failure.
5917         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5918         * dired-aux.el (dired-isearch-filenames-mode): Rename from
5919         dired-isearch-filenames-toggle; make it into a proper minor mode.
5920         Use add/remove-function.
5921         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5922         Call the minor-mode rather than add/remove-hook.
5923         (dired-isearch-filter-filenames):
5924         Remove isearch-message-prefix property.
5925         * info.el (Info--search-loop): New function, extracted from Info-search.
5926         Funcall isearch-filter-predicate instead of
5927         run-hook-with-args-until-failure isearch-filter-predicates.
5928         (Info-search): Use it.
5929         (Info-mode): Use isearch-filter-predicate instead of
5930         isearch-filter-predicates.
5932 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5934         Do not call to `selected-window' where it is assumed by default.
5935         Affected functions are `window-minibuffer-p', `window-dedicated-p',
5936         `window-hscroll', `window-width', `window-height', `window-buffer',
5937         `window-frame', `window-start', `window-point', `next-window'
5938         and `window-display-table'.
5939         * abbrev.el (abbrev--default-expand):
5940         * bs.el (bs--show-with-configuration):
5941         * buff-menu.el (Buffer-menu-mouse-select):
5942         * calc/calc.el (calc):
5943         * calendar/calendar.el (calendar-generate-window):
5944         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5945         (diary-make-entry):
5946         * comint.el (send-invisible, comint-dynamic-complete-filename)
5947         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5948         * completion.el (complete):
5949         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5950         * disp-table.el (describe-current-display-table):
5951         * doc-view.el (doc-view-insert-image):
5952         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5953         * ehelp.el (with-electric-help):
5954         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5955         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5956         * emacs-lisp/helper.el (Helper-help-scroller):
5957         * emulation/cua-base.el (cua--post-command-handler-1):
5958         * eshell/esh-mode.el (eshell-output-filter):
5959         * ffap.el (ffap-gnus-wrapper):
5960         * help-macro.el (make-help-screen):
5961         * hilit-chg.el (highlight-compare-buffers):
5962         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5963         * hl-line.el (global-hl-line-highlight):
5964         * icomplete.el (icomplete-simple-completing-p):
5965         * isearch.el (isearch-done):
5966         * jit-lock.el (jit-lock-stealth-fontify):
5967         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5968         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5969         * mpc.el (mpc-tagbrowser, mpc):
5970         * net/rcirc.el (rcirc-any-buffer):
5971         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5972         * play/landmark.el (landmark-max-width, landmark-max-height):
5973         * play/zone.el (zone):
5974         * progmodes/compile.el (compilation-goto-locus):
5975         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5976         * progmodes/etags.el (find-tag-other-window):
5977         * progmodes/fortran.el (fortran-column-ruler):
5978         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5979         * progmodes/verilog-mode.el (verilog-point-text):
5980         * reposition.el (reposition-window):
5981         * rot13.el (toggle-rot13-mode):
5982         * server.el (server-switch-buffer):
5983         * shell.el (shell-dynamic-complete-command)
5984         (shell-dynamic-complete-environment-variable):
5985         * simple.el (insert-buffer, set-selective-display)
5986         (delete-completion-window):
5987         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5988         (speedbar-recenter):
5989         * startup.el (fancy-splash-head):
5990         * textmodes/ispell.el (ispell-command-loop):
5991         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5992         * tutorial.el (help-with-tutorial):
5993         * vc/add-log.el (add-change-log-entry):
5994         * vc/compare-w.el (compare-windows):
5995         * vc/ediff-help.el (ediff-indent-help-message):
5996         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5997         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5998         (ediff-setup-control-frame):
5999         * vc/emerge.el (emerge-position-region):
6000         * vc/pcvs-util.el (cvs-bury-buffer):
6001         * window.el (walk-windows, mouse-autoselect-window-select):
6002         * winner.el (winner-set-conf, winner-undo): Related users changed.
6004 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6006         * frameset.el (frameset--set-id): Doc fix.
6007         (frameset-frame-id, frameset-frame-id-equal-p)
6008         (frameset-locate-frame-id): New functions.
6009         (frameset--process-minibuffer-frames, frameset--reuse-frame)
6010         (frameset-restore): Use them.
6012 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6014         Do not call to `selected-frame' where it is assumed by default.
6015         Affected functions are `raise-frame', `redraw-frame',
6016         `frame-first-window', `frame-terminal' and `delete-frame'.
6017         * calendar/appt.el (appt-disp-window):
6018         * epg.el (epg-wait-for-completion):
6019         * follow.el (follow-delete-other-windows-and-split)
6020         (follow-avoid-tail-recenter):
6021         * international/mule.el (set-terminal-coding-system):
6022         * mail/rmail.el (rmail-mail-return):
6023         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6024         * progmodes/f90.el (f90-add-imenu-menu):
6025         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6026         * server.el (server-switch-buffer):
6027         * simple.el (delete-completion-window):
6028         * talk.el (talk):
6029         * term/xterm.el (terminal-init-xterm-modify-other-keys)
6030         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6031         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6032         * vc/ediff.el (ediff-documentation): Related users changed.
6033         * frame.el (selected-terminal): Remove the leftover.
6035 2013-08-05  Glenn Morris  <rgm@gnu.org>
6037         * calendar/calendar.el (calendar-generate-month):
6038         Fix for calendar-column-width != 1 + calendar-day-digit-width.
6039         (calendar-generate-month, calendar-font-lock-keywords):
6040         Fix for calendar-day-header-width > length of any day name.
6042 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6044         * desktop.el (desktop-clear): Use new name of sort predicate.
6046         * frameset.el (frameset): Add docstring.  Move :version property to its
6047         own `version' slot.
6048         (frameset-copy): Rename from copy-frameset.
6049         (frameset-p): Check more thoroughly.
6050         (frameset-prop): Do not check for :version, which is no longer a prop.
6051         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6052         Use new :never value instead of t.
6053         (frameset-filter-alist): Expand and clarify docstring.
6054         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6055         (frameset-filter-minibuffer, frameset-filter-save-param)
6056         (frameset-filter-restore-param, frameset-filter-iconified):
6057         Add pointer to docstring of frameset-filter-alist.
6058         (frameset-filter-params): Rename filter values to be more meaningful:
6059         :never instead of t, and reverse the meanings of :save and :restore.
6060         (frameset--process-minibuffer-frames): Clarify error message.
6061         (frameset-save): Avoid unnecessary and confusing call to framep.
6062         Use new BOA constructor for framesets.
6063         (frameset--reuse-list): Doc fix.
6064         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
6065         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6066         (frameset-minibufferless-first-p): Doc fix.
6067         Rename from frameset-sort-frames-for-deletion.
6068         (frameset-restore): Doc fixes.  Use new function names.
6069         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6071 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6073         * desktop.el (desktop-restore-forces-onscreen)
6074         (desktop-restore-reuses-frames): Document :keyword constant values.
6075         (desktop-filter-parameters-alist): Remove, now identical to
6076         frameset-filter-alist.
6077         (desktop--filter-tty*): Remove, moved to frameset.el.
6078         (desktop-save-frameset, desktop-restore-frameset):
6079         Do not pass :filters argument.
6081         * frameset.el (frameset-live-filter-alist)
6082         (frameset-persistent-filter-alist): New variables.
6083         (frameset-filter-alist): Use them.  Add autoload cookie.
6084         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6085         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6086         `frameset--id' (it's supposed to be internal to frameset.el).
6087         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
6088         (frameset--initial-params): New function.
6089         (frameset--get-frame): Use it.  Doc fix.
6090         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6091         Accept :all, not 'all.
6092         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6093         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
6094         with fbound symbols.  Fix frame id matching, and remove matching ids if
6095         the frame being restored is deleted.  Obey :delete.
6097 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6099         * subr.el (macrop): New function.
6100         (text-clone--maintaining): New var.
6101         (text-clone--maintain): Rename from text-clone-maintain.  Use it
6102         instead of inhibit-modification-hooks.
6104         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6105         a proxy, so as handle autoloads and redefinitions of the target.
6106         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6108         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6109         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
6110         (pcase--mutually-exclusive-p): New function.
6111         (pcase--split-consp): Use it.
6112         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
6113         mutually exclusive with the current predicate.
6115         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6116         (edebug-macrop): Remove.  Use `macrop' instead.
6117         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
6118         (ad-macro-p):
6119         * eshell/esh-cmd.el (eshell-macrop):
6120         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
6122 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6124         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6125         (advice-mapc): New function, using it.
6126         (advice-function-member-p): New function.
6127         (advice--normalize): Store the cdr in advice--saved-rewrite since
6128         that's the part that will be changed.
6129         (advice--symbol-function): New function.
6130         (advice-remove): Handle removal before the function is defined.
6131         Adjust to new advice--saved-rewrite.
6132         (advice-member-p): Use advice-function-member-p and
6133         advice--symbol-function.
6135 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6137         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6138         (frameset-filter-minibuffer): Doc fix.
6139         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
6140         (frameset--set-id, frameset--process-minibuffer-frames)
6141         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6142         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6144         * desktop.el (desktop-clear): Only delete frames when called
6145         interactively and desktop-restore-frames is non-nil.  Doc fix.
6146         (desktop-read): Set desktop-saved-frameset to nil.
6148 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
6150         * vc/vc.el (vc-ignore): Rewrite.
6151         (vc-default-ignore-completion-table):
6152         (vc--read-lines):
6153         (vc--add-line, vc--remove-regexp): New functions.
6155         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6156         (vc-svn-ignore-completion-table): New function.
6158         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6159         (vc-hg-ignore-completion-table):
6160         (vc-hg-find-ignore-file): New functions.
6162         * vc/vc-git.el (vc-git-ignore): Rewrite.
6163         (vc-git-ignore-completion-table):
6164         (vc-git-find-ignore-file): New functions.
6166         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6168         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6169         (vc-bzr-ignore-completion-table):
6170         (vc-bzr-find-ignore-file): New functions.
6172 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
6174         * frameset.el (frameset-prop): New function and setter.
6175         (frameset-save): Do not modify frame list passed by the caller.
6177 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6179         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6181 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6183         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6184         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6186         * custom.el (custom-initialize-default, custom-initialize-set)
6187         (custom-initialize-reset, custom-initialize-changed): Affect the
6188         toplevel-default-value (bug#6275, bug#14586).
6189         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6190         for bug#6275.
6192 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6194         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6195         Add cl-def* expressions.
6197         * frameset.el (frameset-filter-params): Fix order of arguments.
6199 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6201         Move code related to saving frames to frameset.el.
6202         * desktop.el: Require frameset.
6203         (desktop-restore-frames): Doc fix.
6204         (desktop-restore-reuses-frames): Rename from
6205         desktop-restoring-reuses-frames.
6206         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6207         (desktop-clear): Clear frames too.
6208         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6209         (desktop--filter-tty*, desktop-save, desktop-read):
6210         Use frameset functions.
6211         (desktop-before-saving-frames-functions, desktop--filter-*-color)
6212         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6213         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6214         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6215         (desktop--process-minibuffer-frames, desktop-save-frames)
6216         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6217         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6218         (desktop--sort-states, desktop-restoring-frames-p)
6219         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
6220         (desktop-restoring-frameset-p, desktop-restore-frameset)
6221         (desktop--check-dont-save, desktop-save-frameset): New functions.
6222         (desktop--app-id): New constant.
6223         (desktop-first-buffer, desktop-buffer-ok-count)
6224         (desktop-buffer-fail-count): Move before first use.
6225         * frameset.el: New file.
6227 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6229         * files.el: Use lexical-binding.
6230         (dir-locals-read-from-file): Remove unused `err' variable.
6231         (hack-dir-local-variables--warned-coding): New var.
6232         (hack-dir-local-variables): Use it to avoid repeated warnings.
6233         (make-backup-file-name--default-function): New function.
6234         (make-backup-file-name-function): Use it as default.
6235         (buffer-stale--default-function): New function.
6236         (buffer-stale-function): Use it as default.
6237         (revert-buffer-insert-file-contents--default-function): New function.
6238         (revert-buffer-insert-file-contents-function): Use it as default.
6239         (insert-directory): Avoid add-to-list.
6241         * autorevert.el (auto-revert-handler): Simplify.
6242         Use buffer-stale--default-function.
6244 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
6246         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6248         * whitespace.el (whitespace-ensure-local-variables): New function.
6249         (whitespace-cleanup-region): Call it.
6250         (whitespace-turn-on): Call it.
6252 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
6254         Complete file name handlers.
6256         * net/tramp.el (tramp-handle-set-visited-file-modtime)
6257         (tramp-handle-verify-visited-file-modtime)
6258         (tramp-handle-file-notify-rm-watch): New functions.
6259         (tramp-call-process): Do not bind `default-directory'.
6261         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6262         Order alphabetically.
6263         [access-file, add-name-to-file, dired-call-process]:
6264         [dired-compress-file, file-acl, file-notify-rm-watch]:
6265         [file-ownership-preserved-p, file-selinux-context]:
6266         [make-directory-internal, make-symbolic-link, set-file-acl]:
6267         [set-file-selinux-context, set-visited-file-modtime]:
6268         [verify-visited-file-modtime]: Add handler.
6269         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6271         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6272         [file-notify-add-watch, file-notify-rm-watch]:
6273         [set-file-times, set-visited-file-modtime]:
6274         [verify-visited-file-modtime]: Add handler.
6275         (with-tramp-gvfs-error-message)
6276         (tramp-gvfs-handle-set-visited-file-modtime)
6277         (tramp-gvfs-fuse-file-name): Remove.
6278         (tramp-gvfs-handle-file-notify-add-watch)
6279         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6280         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6282         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6283         Order alphabetically.
6284         [file-notify-rm-watch ]: Use default Tramp handler.
6285         [executable-find]: Remove private handler.
6286         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6287         `default-directory'.
6288         (tramp-sh-handle-executable-find)
6289         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6290         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6291         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6292         Do not use `format' in `tramp-message'.
6294         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6295         [file-notify-rm-watch, set-visited-file-modtime]:
6296         [verify-visited-file-modtime]: Add handler.
6297         (tramp-smb-call-winexe): Do not bind `default-directory'.
6299 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
6301         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6303 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
6305         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6306         use it.
6307         (log-view-diff-changeset): Same.
6308         (log-view-diff-common): Call backend command `previous-revision'
6309         to find out the previous revision, in both cases.  Swap the
6310         variables `to' and `fr', so that `fr' usually refers to the
6311         earlier revision (Bug#14989).
6313 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
6315         * ibuf-ext.el (ibuffer-filter-by-filename):
6316         Make it work with dired buffers too.
6318 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
6320         * emacs-lisp/re-builder.el (reb-color-display-p):
6321         * files.el (save-buffers-kill-terminal):
6322         * net/browse-url.el (browse-url):
6323         * server.el (server-save-buffers-kill-terminal):
6324         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6325         Prefer nil to selected-frame for the first arg of frame-parameter.
6327 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
6329         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6331 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
6333         * minibuffer.el (completion--twq-all): Try and preserve each
6334         completion's case choice (bug#14907).
6336 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6338         * net/network-stream.el (open-network-stream): Mention the new
6339         :nogreeting parameter.
6340         (network-stream-open-starttls): Use the :nogreeting parameter
6341         (bug#14938).
6343         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6345         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6346         more natural than popping.
6348         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6349         (shr-urlify): Highlight under mouse.
6351 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6353         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6355         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6357         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
6358         buffer for output.
6360         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
6361         point-min==1.  Fix search string.  Fix parentheses missing.
6363         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
6364         assume point-min==1.  Fix search string.  Fix parentheses missing.
6366         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6368         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
6369         buffer for output.
6371 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
6373         * frame.el (frame-notice-user-settings): Avoid inflooping when the
6374         initial frame is minibuffer-less.  (Bug#14841)
6376 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
6378         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6379         option.
6381         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6382         (tramp-maybe-open-connection): Use it.
6384 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6386         * desktop.el (desktop--make-frame): Include `minibuffer' in the
6387         minimal set of parameters passed when creating a frame, because
6388         the minibuffer status of a frame cannot be changed later.
6390 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
6392         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6393         replace-regexp-in-string and inadvertent omissions in previous change.
6394         (todo-filter-items): Ensure only file names are comma-separated in
6395         name of filtered items buffer.
6397 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6399         * desktop.el: Optionally force offscreen frames back onscreen.
6400         (desktop-restoring-reuses-frames): New option.
6401         (desktop--compute-pos, desktop--move-onscreen): New functions.
6402         (desktop--make-frame): Use desktop--move-onscreen.
6404 2013-07-27  Alan Mackenzie  <acm@muc.de>
6406         Fontify a Java generic method as a function.
6407         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6408         value to t.
6410 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
6412         * calendar/todo-mode.el: Add command to rename todo files.
6413         (todo-rename-file): New command.
6414         (todo-key-bindings-t): Add key binding for it.  Change the
6415         bindings of todo-filter-regexp-items(-multifile) to use `x'
6416         instead of `r', since the latter is better suited to the new
6417         renaming command.
6419 2013-07-27  Alan Mackenzie  <acm@muc.de>
6421         Make Java try-with-resources statement parse properly.
6422         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6423         (c-block-stmt-1-2-key): New language constants/variables.
6424         * progmodes/cc-engine.el (c-beginning-of-statement-1)
6425         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6426         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6427         with c-block-stmt-1-2-key.
6429 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
6431         * desktop.el (desktop--make-frame): Apply most frame parameters after
6432         creating the frame to force (partially or totally) offscreen frames to
6433         be restored as such.
6435 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
6437         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6438         (Bug#14948)
6440 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6442         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6443         `base' arg of backtrace-frame.
6445 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
6447         * simple.el (list-processes): Doc fix.
6449 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6451         * desktop.el (desktop--select-frame):
6452         Try harder to reuse existing frames.
6454 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6456         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6457         (edebug-eval): Use backtrace-eval.
6458         (edebug--display, edebug--recursive-edit): Don't let-bind the
6459         edebug-outer-* vars that keep track of variables we locally let-bind.
6460         (edebug-outside-excursion): Don't restore outside values of locally
6461         let-bound vars.
6462         (edebug--display): Use user-error.
6463         (cl-lexical-debug, cl-debug-env): Remove.
6465 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6467         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6468         are restored to be sure that they are visible before deleting any
6469         remaining ones.
6471 2013-07-26  Matthias Meulien  <orontee@gmail.com>
6473         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6474         vc-print-root-log.  (Bug#14948)
6476 2013-07-26  Richard Stallman  <rms@gnu.org>
6478         Add aliases for encrypting mail.
6479         * epa.el (epa-mail-aliases): New option.
6480         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6481         Bind inhibit-read-only so read-only text doesn't ruin everything.
6482         (epa-mail-default-recipients): New subroutine broken out.
6483         Handle epa-mail-aliases.
6485 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6487         Add support for lexical variables to the debugger's `e' command.
6488         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6489         vars, except for debugger-outer-match-data.
6490         (debugger-frame-number): Move check for "on a function call" from
6491         callers into it.  Add `skip-base' argument.
6492         (debugger-frame, debugger-frame-clear): Simplify accordingly.
6493         (debugger-env-macro): Only reset the state stored in non-variables,
6494         i.e. current-buffer and match-data.
6495         (debugger-eval-expression): Rewrite using backtrace-eval.
6496         * subr.el (internal--called-interactively-p--get-frame): Remove.
6497         (called-interactively-p):
6498         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6499         `base' arg of backtrace-frame instead.
6501 2013-07-26  Glenn Morris  <rgm@gnu.org>
6503         * align.el (align-regexp): Doc fix.  (Bug#14857)
6504         (align-region): Explicit error if subexpression missing/does not match.
6506         * simple.el (global-visual-line-mode):
6507         Do not duplicate the mode lighter.  (Bug#14858)
6509 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
6511         * window.el (display-buffer): In display-buffer bind
6512         split-window-keep-point to t, bug#14829.
6514 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6516         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6517         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6518         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6519         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6520         Change accordingly.
6521         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6522         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6524 2013-07-25  Glenn Morris  <rgm@gnu.org>
6526         * dired-x.el (dired-mark-extension): Convert comment to doc string.
6528 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6530         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6531         parameter to modify-frame-parameters if the value has not changed;
6532         this is a workaround for bug#14949.
6533         (desktop--make-frame): On cl-delete-if call, check parameter name,
6534         not full parameter.
6536 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6538         * vc/vc.el (vc-ignore): New function.
6540         * vc/vc-svn.el (vc-svn-ignore): New function.
6542         * vc/vc-hg.el (vc-hg-ignore): New function.
6544         * vc/vc-git.el (vc-git-ignore): New function.
6546         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6547         (vc-dir-ignore): New function.
6549         * vc/vc-cvs.el (vc-cvs-ignore): New function.
6550         (cvs-append-to-ignore): Move here from pcvs.el.
6552         * vc/vc-bzr.el (vc-bzr-ignore): New function.
6554         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6556 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
6558         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6559         (desktop-restore-frames): Warn when deleting an existing frame failed.
6561 2013-07-24  Glenn Morris  <rgm@gnu.org>
6563         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
6565 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
6567         * filenotify.el (file-notify-supported-p):
6568         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6569         Remove functions.
6571         * autorevert.el (auto-revert-use-notify):
6572         (auto-revert-notify-add-watch):
6573         * net/tramp.el (tramp-file-name-for-operation):
6574         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6575         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6576         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6577         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6578         Remove `file-notify-supported-p' entry.
6580 2013-07-24  Glenn Morris  <rgm@gnu.org>
6582         * printing.el: Replace all uses of deleted ps-windows-system,
6583         ps-lp-system, ps-flatten-list with lpr- versions.
6585 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6587         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6588         checked with memq (bug#14935).
6590         * files.el (revert-buffer-function): Use a non-nil default.
6591         (revert-buffer-preserve-modes): Declare var to
6592         provide access to the `preserve-modes' argument.
6593         (revert-buffer): Let-bind it.
6594         (revert-buffer--default): New function, extracted from revert-buffer.
6596 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6598         * lpr.el: Signal print errors more prominently.
6599         (print-region-function): Don't default to nil.
6600         (lpr-print-region): New function, extracted from print-region-1.
6601         Check lpr's return value and signal an error in case of problem.
6602         (print-region-1): Use it.
6603         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
6604         versions instead.
6605         (ps-printer-name): Default to nil.
6606         (ps-printer-name-option): Default to lpr-printer-switch.
6607         (ps-print-region-function): Don't default to nil.
6608         (ps-postscript-code-directory): Simplify default.
6609         (ps-do-despool): Use lpr-print-region to properly check the outcome.
6610         (ps-string-list, ps-eval-switch, ps-flatten-list)
6611         (ps-flatten-list-1): Remove.
6612         (ps-multibyte-buffer): Avoid setq.
6613         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6614         (print-region-function, ps-print-region-function): Don't set them here.
6616 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
6618         * ido.el (ido-fractionp):
6619         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6620         (ido-max-file-prompt-width, ido-unc-hosts-cache)
6621         (ido-max-directory-size, ido-max-dir-file-cache)
6622         (ido-decorations): Doc fix.
6624         * ansi-color.el: Fix old URL.
6626 2013-07-23  Michael R. Mauger  <michael@mauger.com>
6628         * progmodes/sql.el: Version 3.3
6629         (sql-product-alist): Improve oracle :prompt-cont-regexp.
6630         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6631         (sql-interactive-remove-continuation-prompt): Rewrite, use
6632         functions above.  Fix continuation prompt and complete output line
6633         handling.
6634         (sql-redirect-one, sql-execute): Use `read-only-mode' on
6635         redirected output buffer.
6636         (sql-mode): Restore deleted code (Bug#13591).
6638 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6640         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6642 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
6644         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6646         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6647         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6648         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6650 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6652         * desktop.el (desktop-clear): Simplify; remove useless checks
6653         against invalid buffer names.
6654         (desktop-list*): Use cl-list*.
6655         (desktop-buffer-info, desktop-create-buffer): Simplify.
6657 2013-07-23  Leo Liu  <sdl.web@gmail.com>
6659         * bookmark.el (bookmark-make-record): Restore NAME as a default
6660         value.  (Bug#14933)
6662 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6664         * emacs-lisp/autoload.el (autoload--setup-output): New function,
6665         extracted from autoload--insert-text.
6666         (autoload--insert-text): Remove.
6667         (autoload--print-cookie-text): New function, extracted from
6668         autoload--insert-cookie-text.
6669         (autoload--insert-cookie-text): Remove.
6670         (autoload-generate-file-autoloads): Adjust calls accordingly.
6672         * winner.el (winner-hook-installed-p): Remove.
6673         (winner-mode): Simplify accordingly.
6675         * subr.el (add-to-list): Fix compiler-macro when `append' is
6676         not constant.  Don't use `cl-member' for the base case.
6678         * progmodes/subword.el: Fix boundary case (bug#13758).
6679         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
6680         own group.
6681         (subword-backward-regexp): Make it a constant.
6682         (subword-forward-internal): Don't treat a trailing capital as the
6683         beginning of a word.
6685 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
6687         * emacs-lisp/package.el (package-menu-mode): Don't modify the
6688         global value of tabulated-list-revert-hook (bug#14930).
6690 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
6692         * desktop.el: Require 'cl-lib.
6693         (desktop-before-saving-frames-functions): New hook.
6694         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6695         for frames being saved.  Rename from desktop--save-minibuffer-frames.
6696         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6697         Do not save frames with non-nil `desktop-dont-save' parameter.
6698         Filter out deleted frames.
6699         (desktop--find-frame): Use cl-find-if.
6700         (desktop--select-frame): Use cl-(first|second|third) to access values
6701         of desktop-mini.
6702         (desktop--make-frame): Use cl-delete-if.
6703         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6704         (desktop-restore-frames): Use cl-(first|second|third) to access values
6705         of desktop-mini.  Look for visible frame at the end, not while
6706         restoring frames.
6708         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6709         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6710         Use string-match-p, looking-at-p (bug#14927).
6712 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
6714         * desktop.el (desktop-saved-frame-states):
6715         Rename from desktop--saved-states; all users changed.
6716         (desktop-save-frames): Rename from desktop--save-frames.
6717         Do not save state to desktop file.
6718         (desktop-save): Save desktop-saved-frame-states to desktop file
6719         and reset to nil.
6720         (desktop-restoring-frames-p): New function.
6721         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
6722         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
6723         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
6725         * desktop.el: Correctly restore iconified frames.
6726         (desktop--filter-iconified-position): New function.
6727         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6729 2013-07-20  Glenn Morris  <rgm@gnu.org>
6731         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6732         Let `message' do the formatting.
6733         (def-gdb-preempt-display-buffer): Add explicit format.
6735         * image-dired.el (image-dired-track-original-file):
6736         Use with-current-buffer.
6737         (image-dired-track-thumbnail): Use with-current-buffer.
6738         Avoid changing point of wrong window.
6740         * image-dired.el (image-dired-track-original-file):
6741         Avoid changing point of wrong window.  (Bug#14909)
6743 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
6745         * progmodes/gdb-mi.el (gdb-done-or-error):
6746         Guard against "%" in gdb output.  (Bug#14127)
6748 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
6750         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6751         (Bug#14826)
6753         * international/mule.el (coding-system-iso-2022-flags): Fix last
6754         change.
6756 2013-07-20  Kenichi Handa  <handa@gnu.org>
6758         * international/mule.el (coding-system-iso-2022-flags):
6759         Add `8-bit-level-4'.  (Bug#8522)
6761 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6763         * net/shr.el (shr-mouse-browse-url): New command and keystroke
6764         (bug#14815).
6766         * net/eww.el (eww-process-text-input): Allow inputting when the
6767         point is at the start of the line, as the properties aren't
6768         front-sticky.
6770         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6771         degenerate widths.
6773 2013-07-19  Richard Stallman  <rms@gnu.org>
6775         * epa.el (epa-popup-info-window): Doc fix.
6777         * subr.el (split-string): New arg TRIM.
6779 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
6781         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6782         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6784 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
6786         * filenotify.el (file-notify--library): Rename from
6787         `file-notify-support'.  Do not autoload.  Adapt all uses.
6788         (file-notify-supported-p): New defun.
6790         * autorevert.el (auto-revert-use-notify):
6791         Use `file-notify-supported-p' instead of `file-notify-support'.
6792         Adapt docstring.
6793         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6795         * net/tramp.el (tramp-file-name-for-operation):
6796         Add `file-notify-supported-p'.
6798         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6799         New defun.
6800         (tramp-sh-file-name-handler-alist): Add it as handler for
6801         `file-notify-supported-p '.
6803         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6804         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6805         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6806         Add `ignore' as handler for `file-notify-*' functions.
6808 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
6810         * simple.el (line-move-partial, line-move): Don't start vscroll or
6811         scroll-up if the current line is not taller than the window.
6812         (Bug#14881)
6814 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
6816         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6817         highlight question marks in the method names as strings.
6818         (ruby-block-beg-keywords): Inline.
6819         (ruby-font-lock-keyword-beg-re): Extract from
6820         `ruby-font-lock-keywords'.
6822 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
6824         * frame.el (blink-cursor-blinks): New defcustom.
6825         (blink-cursor-blinks-done): New defvar.
6826         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6827         (blink-cursor-timer-function): Check if number of blinks has been
6828         done on X and NS.
6829         (blink-cursor-suspend, blink-cursor-check): New defuns.
6831 2013-07-15  Glenn Morris  <rgm@gnu.org>
6833         * edmacro.el (edmacro-format-keys): Fix previous change.
6835 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
6837         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6838         The hack didn't work outside English locales anyway.
6840 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
6842         * simple.el (define-alternatives): Rename from alternatives-define,
6843         per RMS' suggestion.
6845 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
6847         * desktop.el (desktop-restore-frames): Change default to t.
6848         (desktop-restore-in-current-display): Now offer more options.
6849         (desktop-restoring-reuses-frames): New customization option.
6850         (desktop--saved-states): Doc fix.
6851         (desktop-filter-parameters-alist): New variable, renamed and expanded
6852         from desktop--excluded-frame-parameters.
6853         (desktop--target-display): New variable.
6854         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6855         (desktop--filter-tty*, desktop--filter-*-color)
6856         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6857         (desktop--filter-save-desktop-parm)
6858         (desktop-restore-in-original-display-p): New functions.
6859         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6860         (desktop--save-minibuffer-frames): New function, inspired by a similar
6861         function from Martin Rudalics.
6862         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6863         (desktop--restore-in-this-display-p): Remove.
6864         (desktop--find-frame): Rename from desktop--find-frame-in-display
6865         and add predicate argument.
6866         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6867         (desktop--reuse-list): New variable.
6868         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6869         New functions.
6870         (desktop--restore-frames): Add support for "minibuffer-special" frames.
6872 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
6874         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6876 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
6878         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6879         Highlight conversion methods on Kernel.
6881 2013-07-13  Alan Mackenzie  <acm@muc.de>
6883         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6884         and comment it out.  This out-commenting enables certain C++
6885         declarations to be parsed correctly.
6887 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
6889         * international/mule.el (define-coding-system): Doc fix.
6891         * simple.el (default-font-height): Don't call font-info if the
6892         frame's default font didn't change since the frame was created.
6893         (Bug#14838)
6895 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6897         * ido.el (ido-read-file-name): Guard against non-symbol value.
6899 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6901         * progmodes/python.el (python-imenu--build-tree): Fix corner case
6902         in nested defuns.
6904 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6906         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6907         ido-set-matches call.  (Bug#6852)
6909 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
6911         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6912         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6913         Ruby 2.0.
6914         (ruby-font-lock-keywords): Distinguish calls to functions with
6915         module-like names from module references.  Highlight character
6916         literals.
6918 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
6920         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6921         (gdb-send): Handle continued commands.  (Bug#14847)
6923 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6925         * desktop.el (desktop--v2s): Remove unused local variable.
6926         (desktop-save-buffer): Make defvar-local; adjust docstring.
6927         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6928         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6930 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6932         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6934 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
6936         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6937         (Bug#14842)
6939 2013-07-12  Glenn Morris  <rgm@gnu.org>
6941         * doc-view.el: Require cl-lib at runtime too.
6942         (doc-view-remove-if): Remove.
6943         (doc-view-search-next-match, doc-view-search-previous-match):
6944         Use cl-remove-if.
6946         * edmacro.el: Require cl-lib at runtime too.
6947         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6948         (edmacro-mismatch, edmacro-subseq): Remove.
6950         * shadowfile.el: Require cl-lib.
6951         (shadow-remove-if): Remove.
6952         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6953         Use cl-remove-if.
6955         * wid-edit.el: Require cl-lib.
6956         (widget-choose): Use cl-remove-if.
6957         (widget-remove-if): Remove.
6959         * progmodes/ebrowse.el: Require cl-lib at runtime too.
6960         (ebrowse-delete-if-not): Remove.
6961         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6962         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6963         Use cl-delete-if-not.
6965 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6967         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6968         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6970 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6972         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6974 2013-07-11  Glenn Morris  <rgm@gnu.org>
6976         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6977         (edebug-gensym-index, edebug-gensym):
6978         Remove reimplementation of cl-gensym.
6979         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6981         * thumbs.el: Require cl-lib at run-time too.
6982         (thumbs-gensym-counter, thumbs-gensym):
6983         Remove reimplementation of cl-gensym.
6984         (thumbs-temp-file): Use cl-gensym.
6986         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6987         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6988         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6989         (ert--union, ert--gensym-counter, ert--gensym-counter)
6990         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6991         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6992         (ert-make-test-unbound, ert--expand-should-1)
6993         (ert--expand-should, ert--should-error-handle-error)
6994         (should-error, ert--explain-equal-rec)
6995         (ert--plist-difference-explanation, ert-select-tests)
6996         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6997         Use cl-lib functions rather than reimplementations.
6999 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
7001         * net/tramp.el (tramp-methods): Extend docstring.
7002         (tramp-connection-timeout): New defcustom.
7003         (tramp-error-with-buffer): Reset timestamp only when appropriate.
7004         (with-tramp-progress-reporter): Simplify.
7005         (tramp-process-actions): Improve messages.
7007         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7008         * net/tramp-sh.el (tramp-maybe-open-connection):
7009         Use `tramp-connection-timeout'.
7010         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7011         (Bug#14808)
7013 2013-07-11  Leo Liu  <sdl.web@gmail.com>
7015         * ido.el (ido-read-file-name): Conform to the requirements of
7016         read-file-name.  (Bug#11861)
7017         (ido-read-directory-name): Conform to the requirements of
7018         read-directory-name.
7020 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
7022         * subr.el (delay-warning): New function.
7024 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
7026         * simple.el (default-line-height): New function.
7027         (line-move-partial, line-move): Use it instead of computing the
7028         line height inline.
7029         (line-move-partial): Always compute ROWH.  If the last line is
7030         partially-visible, but its text is completely visible, allow
7031         cursor to enter such a partially-visible line.
7033 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
7035         Improve error messages.  (Bug#14808)
7037         * net/tramp.el (tramp-current-connection): New defvar, moved from
7038         tramp-sh.el.
7039         (tramp-message-show-progress-reporter-message): Remove, not
7040         needed anymore.
7041         (tramp-error-with-buffer): Show message in minibuffer.
7042         Discard input before waiting.  Reset connection timestamp.
7043         (with-tramp-progress-reporter): Improve messages.
7044         (tramp-process-actions): Use progress reporter.  Delete process in
7045         case of error.  Improve messages.
7047         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7048         Call `tramp-error-with-buffer' with vector and buffer.
7049         (tramp-current-connection): Remove.
7050         (tramp-maybe-open-connection): The car of
7051         `tramp-current-connection' are the first 3 slots of the vector.
7053 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
7055         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7056         inside continued strings.
7058 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
7060         Timestamp fixes for undo (Bug#14824).
7061         * files.el (clear-visited-file-modtime): Move here from fileio.c.
7063 2013-07-10  Leo Liu  <sdl.web@gmail.com>
7065         * files.el (require-final-newline): Allow safe local value.
7066         (Bug#14834)
7068 2013-07-09  Leo Liu  <sdl.web@gmail.com>
7070         * ido.el (ido-read-directory-name): Handle fallback.
7071         (ido-read-file-name): Update DIR to ido-current-directory.
7072         (Bug#1516)
7073         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
7075 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
7077         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7078         "autoload".  Remove "warn lower camel case" section, previously
7079         commented out.  Highlight negation char.  Do not highlight the
7080         target in singleton method definitions.
7082 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7084         * faces.el (tty-setup-hook): Declare the hook.
7086         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7087         and detect when a guard/pred depends on local vars (bug#14773).
7088         (pcase--u1): Adjust caller.
7090 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
7092         * simple.el (line-move-partial, line-move): Account for
7093         line-spacing.
7094         (line-move-partial): Avoid setting vscroll when the last
7095         partially-visible line in window is of default height.
7097 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7099         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7100         been used a while.
7102 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
7104         * subr.el (read-quoted-char): Remove unused local variable `char'.
7106 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
7108         * ediff.el (ediff-version): Version update.
7109         (ediff-files-command, ediff3-files-command, ediff-merge-command)
7110         (ediff-merge-with-ancestor-command, ediff-directories-command)
7111         (ediff-directories3-command, ediff-merge-directories-command)
7112         (ediff-merge-directories-with-ancestor-command): New functions.
7113         All are command-line interfaces to ediff: to facilitate calling
7114         Emacs with the appropriate ediff functions invoked.
7116         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7117         (viper-save-kill-buffer): Check if buffer is modified.
7119         * viper.el (viper-version): Version update.
7120         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7122 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7124         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7125         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7126         (viper-intercept-ESC-key): Simplify.
7127         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7128         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7129         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7130         (viper-setup-ESC-to-escape): New functions.
7131         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7132         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
7134 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
7136         * simple.el (default-font-height, window-screen-lines):
7137         New functions.
7138         (line-move, line-move-partial): Use them instead of
7139         frame-char-height and window-text-height.  This makes scrolling
7140         text smoother when the buffer's default face uses a font that is
7141         different from the frame's default font.
7143 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
7145         * files.el (write-file): Do not display confirm dialog for NS,
7146         it does its own dialog, which can't be cancelled (Bug#14578).
7148 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
7150         * simple.el (line-move-partial): Adjust the row returned by
7151         posn-at-point for the current window-vscroll.  (Bug#14567)
7153 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
7155         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7156         (tramp-sh-file-inotifywait-process-filter): Handle file names with
7157         spaces.
7159 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
7161         * window.el (window-state-put-stale-windows): New variable.
7162         (window--state-put-2): Save list of windows without matching buffer.
7163         (window-state-put): Remove "bufferless" windows if possible.
7165 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7167         * simple.el (alternatives-define): Remove leftover :group keyword.
7168         Tweak docstring.
7170 2013-07-06  Leo Liu  <sdl.web@gmail.com>
7172         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7173         (ido-enable-virtual-buffers): New variable.
7174         (ido-buffer-internal, ido-toggle-virtual-buffers)
7175         (ido-make-buffer-list): Use it.
7176         (ido-exhibit): Support turning on and off virtual buffers
7177         automatically.
7179 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7181         * simple.el (alternatives-define): New macro.
7183 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7185         * subr.el (read-quoted-char): Use read-key.
7186         (sit-for): Let read-event decode tty input (bug#14782).
7188 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
7190         * calendar/todo-mode.el: Add handling of file deletion, both by
7191         mode command and externally.  Fix various related bugs.
7192         Clarify Commentary and improve some documentation strings and code.
7193         (todo-delete-file): New command.
7194         (todo-check-file): New function.
7195         (todo-show): Handle external deletion of the file we're trying to
7196         show (bug#14688).  Replace called-interactively-p by an optional
7197         prefix argument to avoid problematic interaction with catch form
7198         when byte compiled (bug#14702).
7199         (todo-quit): Handle external deletion of the archive's todo file.
7200         Make sure the buffer that was visiting the archive file is still
7201         live before trying to bury it.
7202         (todo-category-completions): Handle external deletion of any
7203         category completion files.
7204         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7205         of todo files, in case of external deletion.
7206         (todo-add-file): Replace unnecessary setq by let-binding.
7207         (todo-find-archive): Check whether there are any archives.
7208         Replace unnecessary setq by let-binding.
7209         (todo-archive-done-item): Use find-file-noselect to get the
7210         archive buffer whether or not the archive already exists.
7211         Remove superfluous code.  Use file size instead of buffer-file-name to
7212         check if the archive is new; if it is, update list of archives.
7213         (todo-default-todo-file): Allow nil to be a valid value for when
7214         there are no todo files.
7215         (todo-reevaluate-default-file-defcustom): Use corrected definition
7216         of todo-default-todo-file.
7217         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7218         (todo-delete-category, todo-show-categories-table)
7219         (todo-category-number): Clarify comment.
7220         (todo-filter-items): Clarify documentation string.
7221         (todo-show-current-file, todo-display-as-todo-file)
7222         (todo-reset-and-enable-done-separator): Tweak documentation string.
7223         (todo-done-separator): Make separator length window-width, since
7224         bug#2749 is now fixed.
7226 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
7228         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7229         Support both "gvfs-monitor-dir" and "inotifywait".
7230         (tramp-sh-file-inotifywait-process-filter): Rename from
7231         `tramp-sh-file-notify-process-filter'.
7232         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7233         (tramp-get-remote-gvfs-monitor-dir): New defuns.
7235 2013-07-05  Leo Liu  <sdl.web@gmail.com>
7237         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7239 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7241         * frame.el (display-pixel-height, display-pixel-width)
7242         (display-mm-height, display-mm-width): Mention behavior on
7243         multi-monitor setups in docstrings.
7244         (w32-display-monitor-attributes-list): Declare function.
7245         (display-monitor-attributes-list): Use it.
7247 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
7249         * filenotify.el: New package.
7251         * autorevert.el (top): Require filenotify.el.
7252         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
7253         instead.
7254         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7255         (auto-revert-notify-handler): Use `file-notify-*' functions.
7257         * subr.el (file-notify-handle-event): Move function to filenotify.el.
7259         * net/tramp.el (tramp-file-name-for-operation):
7260         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7262         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7263         for `file-notify-add-watch' and `file-notify-rm-watch'.
7264         (tramp-process-sentinel): Improve trace.
7265         (tramp-sh-handle-file-notify-add-watch)
7266         (tramp-sh-file-notify-process-filter)
7267         (tramp-sh-handle-file-notify-rm-watch)
7268         (tramp-get-remote-inotifywait): New defuns.
7270 2013-07-03  Juri Linkov  <juri@jurta.org>
7272         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7273         call of `occur-read-primary-args' to interactive spec.
7275         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7276         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
7278 2013-07-03  Matthias Meulien  <orontee@gmail.com>
7280         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7281         `Buffer-menu-multi-occur'.  Add it to the menu.
7282         (Buffer-menu-mode): Document it in docstring.
7283         (Buffer-menu-multi-occur): New command.  (Bug#14673)
7285 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7287         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7288         keywords and built-ins.
7290 2013-07-03  Glenn Morris  <rgm@gnu.org>
7292         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
7294         Make info-xref checks case-sensitive by default
7295         * info.el (Info-find-node, Info-find-in-tag-table)
7296         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7297         Add option for exact case matching of nodes.
7298         * info-xref.el (info-xref): New custom group.
7299         (info-xref-case-fold): New option.
7300         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7302 2013-07-03  Leo Liu  <sdl.web@gmail.com>
7304         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7306 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7308         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7309         middle of block statement initially, lower the depth.  Remove
7310         FIXME comment, not longer valid.  Remove middle of block statement
7311         detection, no need to do that anymore since we've been using
7312         `ruby-parse-region' here.
7314 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
7316         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7318 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
7320         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7322 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
7324         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7325         (desktop-restore-in-current-display): New customization option.
7326         (desktop--excluded-frame-parameters): Add `font'.
7327         (desktop--save-frames): Rename from desktop--save-windows.
7328         (desktop--restore-in-this-display-p): New function.
7329         (desktop--make-full-frame): Remove unwanted width/height from
7330         full(width|height) frames.
7331         (desktop--restore-frames): Rename from desktop--restore-windows.
7332         Obey desktop-restore-current-display.  Do not delete old frames or
7333         select a new frame unless we were able to restore at least one frame.
7335 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
7337         * files.el (find-file-noselect): Simplify conditional expression.
7339         * remember.el (remember-append-to-file):
7340         Don't mix `find-buffer-visiting' and `get-file-buffer'.
7342         Add `remember-notes' function to store random notes across Emacs
7343         restarts.
7344         * remember.el (remember-data-file): Add :set callback to affect
7345         notes buffer (if any).
7346         (remember-notes): New command.
7347         (remember-notes-buffer-name, bury-remember-notes-on-kill):
7348         New defcustoms for the `remember-notes' function.
7349         (remember-notes-save-and-bury-buffer): New command.
7350         (remember-notes-mode-map): New variable.
7351         (remember-mode): New minor mode.
7352         (remember-notes--kill-buffer-query): New function.
7353         * startup.el (initial-buffer-choice): Add notes to custom type.
7355 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
7357         * bindings.el (right-char, left-char): Don't call sit-for, this is
7358         no longer needed.  Use arithmetic comparison only for numerical
7359         arguments.
7361         * international/mule-cmds.el (select-safe-coding-system):
7362         Handle the case of FROM being a string correctly.  (Bug#14755)
7364 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7366         * net/shr.el (shr-make-table-1): Add a sanity check that allows
7367         progression on degenerate tables.
7368         (shr-rescale-image): ImageMagick animated images currently don't work.
7370 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
7372         Some fixes and improvements for desktop frame restoration.
7373         It is still experimental and disabled by default.
7374         * desktop.el (desktop--save-windows): Put the selected frame at
7375         the head of the list.
7376         (desktop--make-full-frame): New function.
7377         (desktop--restore-windows): Try to re-select the frame that was
7378         selected upon saving.  Do not abort if some frames fail to restore,
7379         just show an error message and continue.  Set up maximized frames
7380         so they have default non-maximized dimensions.
7382 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
7384         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7385         Don't start heredoc inside a string or comment.
7387 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
7389         * bindings.el (visual-order-cursor-movement): New defcustom.
7390         (right-char, left-char): Provide visual-order cursor motion by
7391         calling move-point-visually.  Update the doc strings.
7393 2013-06-28  Kenichi Handa  <handa@gnu.org>
7395         * international/mule.el (define-coding-system): New coding system
7396         properties :inhibit-null-byte-detection,
7397         :inhibit-iso-escape-detection, and :prefer-utf-8.
7398         (set-buffer-file-coding-system): If :charset-list property of
7399         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7400         appropriate for setting.
7402         * international/mule-cmds.el (select-safe-coding-system):
7403         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7404         multibyte characters, return utf-8 (or one of its siblings).
7406         * international/mule-conf.el (prefer-utf-8): New coding system.
7407         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7408         files.
7410 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
7412         * net/shr.el (shr-render-region): New function.
7414         * net/eww.el: Autoload `eww-browse-url'.
7416 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
7418         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7419         Adapt to `package-desc-version' being a list.
7420         Use `package--ac-desc-version' to retrieve version from a package
7421         archive element.
7423 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
7425         New experimental feature to save&restore window and frame setup.
7426         * desktop.el (desktop-save-windows): New defcustom.
7427         (desktop--saved-states): New var.
7428         (desktop--excluded-frame-parameters): New defconst.
7429         (desktop--filter-frame-parms, desktop--find-frame-in-display)
7430         (desktop--restore-windows, desktop--save-windows): New functions.
7431         (desktop-save): Call `desktop--save-windows'.
7432         (desktop-read): Call `desktop--restore-windows'.
7434 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7436         * net/shr.el (add-face-text-property): Remove compat definition.
7438 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7440         * info.el (Info-try-follow-nearest-node): Move search for footnote
7441         above search for node name to prevent missing a footnote (bug#14717).
7443 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7445         * obsolete/otodo-mode.el: Add obsolescence info to file header.
7447 2013-06-27  Leo Liu  <sdl.web@gmail.com>
7449         * net/eww.el (eww-read-bookmarks): Check file size.
7451 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7453         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7454         advice--pending if newdef is nil or an autoload (bug#13820).
7455         (advice-mapc): New function.
7457 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7459         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7460         probably.
7461         (eww-mode-map): Add a menu bar.
7462         (eww-add-bookmark): New command.
7463         (eww-bookmark-mode): New mode and commands.
7464         (eww-add-bookmark): Remove newlines from the title.
7465         (eww-bookmark-browse): Don't bug out if it's the only window.
7467 2013-06-26  Glenn Morris  <rgm@gnu.org>
7469         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7470         (hfy-size): Handle ttys.  (Bug#14668)
7472         * info-xref.el: Update for Texinfo 5 change in *note format.
7473         (info-xref-node-re, info-xref-note-re): New constants.
7474         (info-xref-check-buffer): Use info-xref-note-re.
7476 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7478         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7480         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7481         nil terminate the loop (bug#14718).
7483 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7485         * net/eww.el: Rework history traversal.  When going forward/back,
7486         put these actions into the history, too, so that they can be
7487         replayed.
7488         (eww-render): Move the history reset to the correct buffer.
7490 2013-06-25  Juri Linkov  <juri@jurta.org>
7492         * files-x.el (modify-dir-local-variable): Change the header comment
7493         in the file with directory local variables.  (Bug#14692)
7495         * files-x.el (read-file-local-variable-value): Add `default'.
7496         (Bug#14710)
7498 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7500         * net/eww.el (eww-make-unique-file-name): Create a unique file
7501         name before saving to entering `y' accidentally asynchronously.
7503 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
7505         * net/eww.el (eww-download): New command and keystroke.
7507 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7509         * net/eww.el (eww-copy-page-url): Change name of command.
7511         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7512         be more consistent with Info and dired.
7514         * net/eww.el (eww-mode-map): Ditto.
7516 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7518         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
7519         packages from archives.
7520         (package-archive-contents): Change format; include obsolete packages.
7521         (package-desc): Use `dir' to mark builtin packages.
7522         (package--from-builtin): Set the `dir' field to `builtin'.
7523         (generated-autoload-file, version-control): Declare.
7524         (package-compute-transaction): Change first arg and return value to be
7525         lists of package-descs.  Adjust to new package-archive-contents format.
7526         (package--add-to-archive-contents): Adjust to new
7527         package-archive-contents format.
7528         (package-download-transaction): Arg is now a list of package-descs.
7529         (package-install): If `pkg' is a package name, pass it as
7530         a requirement, so it is subject to the usual (e.g. disabled) checks.
7531         (describe-package): Accept package-desc as well.
7532         (describe-package-1): Describe a specific package-desc.  Add links to
7533         other package-descs for the same package name.
7534         (package-menu-describe-package): Pass the actual package-desc.
7535         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7536         works correctly.
7537         (package-desc-status): New function.
7538         (package-menu--refresh): New function, extracted
7539         from package-menu--generate.
7540         (package-menu--generate): Use it.
7541         (package-delete): Update package-alist.
7542         (package-menu-execute): Don't call package-initialize.
7544         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7545         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7546         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7547         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7548         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7549         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7551 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
7553         * window.el (window--state-get-1): Workaround for bug#14527.
7554         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7556 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7558         * net/eww.el (eww-back-url): Implement the history by stashing all
7559         the data into a list.
7560         (eww-forward-url): Allow going forward in the history, too.
7562 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7564         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7565         for values and use read--expression for expressions (bug#14710).
7566         (read-file-local-variable): Avoid setq.
7567         (read-file-local-variable-mode): Use minor-mode-list.
7569 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7571         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7572         for DOI URLs.
7574 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7576         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7577         Update imenu-support when dialect changes.
7579 2013-06-25  Leo Liu  <sdl.web@gmail.com>
7581         * ido.el (ido-read-internal): Allow forward slash on windows.
7583 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7585         * net/eww.el (eww): Start of strings is \\`, not ^.
7587 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7589         * net/shr.el (shr-browse-url): Fix interactive spec.
7591         * net/eww.el (eww): Add a trailing slash to domain names.
7593 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
7595         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7597 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7599         * net/shr.el (shr-browse-url): Use an external browser if given a
7600         prefix.
7602         * net/eww.el (eww-external-browser): Move to shr.
7604 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7606         * net/eww.el (eww): Work more correctly for file: URLs.
7607         (eww-detect-charset): Allow quoted charsets.
7608         (eww-yank-page-url): New command and keystroke.
7610 2013-06-24  Daiki Ueno  <ueno@gnu.org>
7612         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7613         file name of gpg executable.
7614         (epg-context-program): New function.
7615         (epg-context-home-directory): New function.
7616         (epg-context-set-program): New function.
7617         (epg-context-set-home-directory): New function.
7618         (epg--start): Use `epg-context-program' instead of
7619         'epg-gpg-program'.
7620         (epg--list-keys-1): Likewise.
7622 2013-06-24  Leo Liu  <sdl.web@gmail.com>
7624         * ido.el (ido-read-internal): Fix bug#14620.
7626 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7628         * faces.el (face-documentation): Simplify.
7629         (read-face-attribute, tty-find-type, x-resolve-font-name):
7630         Use `string-match-p'.
7631         (list-faces-display): Use `string-match-p'.  Simplify.
7632         (face-spec-recalc): Check face to avoid face alias loops.
7633         (read-color): Use `string-match-p' and non-capturing parenthesis.
7635 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7637         * net/shr.el (shr-rescale-image): Use the new
7638         :max-width/:max-height functionality.
7640 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
7642         * net/eww.el (eww-search-prefix): New variable.
7643         (eww): Use it.
7644         (eww-external-browser): New variable.
7645         (eww-mode-map): New keystroke.
7646         (eww-browse-with-external-browser): New command.
7648         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7650 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7652         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7653         Don't skip aligning the next header field when padding is 0;
7654         otherwise, field width is not respected unless the title is as
7655         wide as the field.
7657 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7659         * emacs-lisp/package.el (package-el-version): Remove.
7660         (package-process-define-package): Fix inf-loop.
7661         (package-install): Allow symbols as arguments again.
7663 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7665         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7666         add some more keyword-like methods.
7667         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7669 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
7671         * bs.el (bs-buffer-show-mark): Make defvar-local.
7672         (bs-mode): Use setq-local.
7674         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7675         (emacs-lock--try-unlocking): Make defvar-local.
7677 2013-06-22  Glenn Morris  <rgm@gnu.org>
7679         * play/cookie1.el (cookie-apropos): Minor simplification.
7681         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7683 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7685         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7686         `regexp-opt', it breaks the build during dumping.
7688 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
7690         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7691         Highlight keyword-like methods on Kernel and Module with
7692         font-lock-builtin-face.
7693         (auto-mode-alist): Consolidate different entries into one regexp
7694         and add more *file-s.
7696 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
7698         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7700         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7701         (diary-entry): Use it in the action of this button type instead of
7702         diary-goto-entry.
7704         * calendar/todo-mode.el: New version.
7705         (todo-add-category): Append new category to end of file and give
7706         it the highest number, instead of putting it at the beginning and
7707         giving it 0.  Incorporate noninteractive functionality.
7708         (todo-forward-category): Adapt to 1-based category numbering.
7709         Allow skipping over archived categories.
7710         (todo-backward-category): Derive from todo-forward-category.
7711         (todo-backward-item, todo-forward-item): Make noninteractive and
7712         delegate interactive part to new commands.  Make sensitive to done items.
7713         (todo-categories): Make value an alist of category names and
7714         vectors of item counts.
7715         (todo-category-beg): Make a defconst.
7716         (todo-category-number): Use 1 instead of 0 as initial value.
7717         (todo-category-select): Make sensitive to overlays, optional item
7718         highlighting and done items.
7719         (todo-delete-item): Make sensitive to overlays and marked and done items.
7720         (todo-edit-item): Make sensitive to overlays and editing of
7721         date/time header optional.  Add format checks.
7722         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
7723         no-op if point is not on an item.  Advertise using todo-edit-quit.
7724         (todo-edit-mode): Make sensitive to new format, font-locking, and
7725         multiple todo files.
7726         (todo-insert-item, todo-insert-item-here): Derive from
7727         todo-basic-insert-item and extend functionality.
7728         (todo-item-end, todo-item-start): Make sensitive to done items.
7729         (todo-item-string): Don't return text properties.  Restore point.
7730         (todo-jump-to-category): Make sensitive to multiple todo files and
7731         todo archives.  Use extended category completion.
7732         (todo-lower-item, todo-raise-item): Rename to *-priority and
7733         derive from todo-set-item-priority.
7734         (todo-mode): Derive from special-mode.  Make sensitive to new
7735         format, font-locking and multiple todo files.  Make read-only.
7736         (todo-mode-map): Don't suppress digit keys, so they can supply
7737         prefix arguments.  Add many new key bindings.
7738         (todo-prefix): Insert as an overlay instead of file text.
7739         Change semantics from diary date expression to purely visual mark.
7740         (todo-print): Rename to todo-print-buffer.  Make buffer display
7741         features printable.  Remove option to restrict number of items
7742         printed.  Add option to print to file.
7743         (todo-print-function): Rename to todo-print-buffer-function.
7744         (todo-quit): Extend to handle exiting new todo modes.
7745         (todo-remove-item): Make sensitive to overlays.
7746         (todo-save): Extend to buffers of filtered items.
7747         (todo-show): Make sensitive to done items, multiple todo files and
7748         new todo modes.  Offer to convert legacy todo file before creating
7749         first new todo file.
7750         (todo-show-priorities): Rename to todo-top-priorities.
7751         Change semantics of value 0.
7752         (todo-top-priorities): Rename to todo-filter-top-priorities,
7753         derive from todo-filter-items and extend functionality.
7754         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7755         and extend functionality to other types of filtered items.
7756         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7757         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7758         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7759         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7760         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7761         (todo-edit-mode-hook, todo-entry-prefix-function)
7762         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7763         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7764         (todo-initials, todo-insert-threshold, todo-item-string-start)
7765         (todo-line-string, todo-menu, todo-mode-hook)
7766         (todo-more-important-p, todo-previous-answer, todo-previous-line)
7767         (todo-print-priorities, todo-remove-separator)
7768         (todo-save-top-priorities-too, todo-string-count-lines)
7769         (todo-string-multiline-p, todo-time-string-format)
7770         (todo-tmp-buffer-name): Remove.
7771         (todo-add-file, todo-archive-done-item, todo-choose-archive)
7772         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7773         (todo-edit-category-diary-inclusion)
7774         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7775         (todo-edit-file, todo-edit-item-date-day)
7776         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7777         (todo-edit-item-date-month, todo-edit-item-date-to-today)
7778         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7779         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7780         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7781         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7782         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7783         (todo-filter-top-priorities-multifile, todo-find-archive)
7784         (todo-find-filtered-items-file, todo-go-to-source-item)
7785         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7786         (todo-jump-to-archive-category, todo-lower-category)
7787         (todo-mark-category, todo-marked-item-p, todo-merge-category)
7788         (todo-move-category, todo-move-item, todo-next-button)
7789         (todo-next-item, todo-padded-string, todo-powerset)
7790         (todo-previous-button, todo-previous-item)
7791         (todo-print-buffer-to-file, todo-raise-category)
7792         (todo-rename-category, todo-repair-categories-sexp, todo-search)
7793         (todo-set-category-number, todo-set-item-priority)
7794         (todo-set-top-priorities-in-category)
7795         (todo-set-top-priorities-in-file, todo-show-categories-table)
7796         (todo-sort-categories-alphabetically-or-numerically)
7797         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7798         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7799         (todo-toggle-item-header, todo-toggle-item-highlighting)
7800         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7801         (todo-toggle-view-done-items, todo-toggle-view-done-only)
7802         (todo-unarchive-items, todo-unmark-category): New commands.
7803         (todo-absolute-file-name, todo-add-to-buffer-list)
7804         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7805         (todo-basic-insert-item, todo-category-completions)
7806         (todo-category-number, todo-category-string-matcher-1)
7807         (todo-category-string-matcher-2, todo-check-filtered-items-file)
7808         (todo-check-format, todo-clear-matches)
7809         (todo-comment-string-matcher, todo-convert-legacy-date-time)
7810         (todo-current-category, todo-date-string-matcher)
7811         (todo-define-insertion-command, todo-diary-expired-matcher)
7812         (todo-diary-goto-entry, todo-diary-item-p)
7813         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7814         (todo-display-categories, todo-display-sorted, todo-done-item-p)
7815         (todo-done-item-section-p, todo-done-separator)
7816         (todo-done-string-matcher, todo-files, todo-filter-items)
7817         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7818         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7819         (todo-insert-category-line, todo-insert-item-from-calendar)
7820         (todo-insert-sort-button, todo-insert-with-overlays)
7821         (todo-insertion-command-name, todo-insertion-key-bindings)
7822         (todo-label-to-key, todo-longest-category-name-length)
7823         (todo-make-categories-list, todo-mode-external-set)
7824         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7825         (todo-modes-set-3, todo-multiple-filter-files)
7826         (todo-nondiary-marker-matcher, todo-prefix-overlays)
7827         (todo-read-category, todo-read-date, todo-read-dayname)
7828         (todo-read-file-name, todo-read-time)
7829         (todo-reevaluate-category-completions-files-defcustom)
7830         (todo-reevaluate-default-file-defcustom)
7831         (todo-reevaluate-filelist-defcustoms)
7832         (todo-reevaluate-filter-files-defcustom)
7833         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7834         (todo-reset-done-separator, todo-reset-done-separator-string)
7835         (todo-reset-done-string, todo-reset-global-current-todo-file)
7836         (todo-reset-highlight-item, todo-reset-nondiary-marker)
7837         (todo-reset-prefix, todo-set-categories)
7838         (todo-set-date-from-calendar, todo-set-show-current-file)
7839         (todo-set-top-priorities, todo-short-file-name)
7840         (todo-show-current-file, todo-sort, todo-time-string-matcher)
7841         (todo-total-item-counts, todo-update-buffer-list)
7842         (todo-update-categories-display, todo-update-categories-sexp)
7843         (todo-update-count, todo-validate-name, todo-y-or-n-p):
7844         New functions.
7845         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7846         New major modes.
7847         (todo-categories, todo-display, todo-edit, todo-faces)
7848         (todo-filtered): New defgroups.
7849         (todo-archived-only, todo-button, todo-category-string, todo-date)
7850         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7851         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7852         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7853         (todo-add-item-if-new-category, todo-always-add-time-string)
7854         (todo-categories-align, todo-categories-archived-label)
7855         (todo-categories-category-label, todo-categories-diary-label)
7856         (todo-categories-done-label, todo-categories-number-separator)
7857         (todo-categories-todo-label, todo-categories-totals-label)
7858         (todo-category-completions-files, todo-completion-ignore-case)
7859         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7860         (todo-done-separator-string, todo-done-string)
7861         (todo-files-function, todo-filter-done-items, todo-filter-files)
7862         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7863         (todo-initial-category, todo-initial-file, todo-item-mark)
7864         (todo-legacy-date-time-regexp, todo-mode-line-function)
7865         (todo-nondiary-marker, todo-number-prefix)
7866         (todo-print-buffer-function, todo-show-current-file)
7867         (todo-show-done-only, todo-show-first, todo-show-with-done)
7868         (todo-skip-archived-categories, todo-top-priorities-overrides)
7869         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7870         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7871         New defcustoms.
7872         (todo-category-done, todo-date-pattern, todo-date-string-start)
7873         (todo-diary-items-buffer, todo-done-string-start)
7874         (todo-filtered-items-buffer, todo-item-start)
7875         (todo-month-abbrev-array, todo-month-name-array)
7876         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7877         (todo-top-priorities-buffer): New defconsts.
7878         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7879         (todo-categories-with-marks, todo-category-string-face)
7880         (todo-comment-face, todo-comment-string, todo-current-todo-file)
7881         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7882         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7883         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7884         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7885         (todo-font-lock-keywords, todo-global-current-todo-file)
7886         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7887         (todo-insertion-commands-args)
7888         (todo-insertion-commands-args-genlist)
7889         (todo-insertion-commands-names, todo-insertion-map)
7890         (todo-key-bindings-t, todo-key-bindings-t+a)
7891         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7892         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7893         (todo-nondiary-face, todo-print-buffer, todo-time-face)
7894         (todo-visited): New variables.
7896 2013-06-21  Glenn Morris  <rgm@gnu.org>
7898         * play/cookie1.el (cookie-apropos): Add optional display argument.
7899         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7900         (psychoanalyze-pinhead): Use cookie-doctor.
7902 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7904         * emacs-lisp/package.el (tar-get-file-descriptor)
7905         (tar--extract): Declare.
7907 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
7909         Extend flymake's warning predicate to be a function (bug#14217).
7910         * progmodes/flymake.el (flymake-warning-predicate): New.
7911         (flymake-parse-line): Use it.
7912         (flymake-warning-re): Make obsolete alias to
7913         `flymake-warning-predicate'.
7915 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7917         * emacs-lisp/package.el (package-alist): Include obsolete packages.
7918         (package-obsolete-list): Remove.
7919         (package-activate): Remove min-version argument.  Add `force' argument.
7920         Adjust to new package-alist format.
7921         (package-mark-obsolete): Remove.
7922         (package-unpack): Force reload of the package's autoloads.
7923         (package-installed-p): Check builtins if the installed package is not
7924         recent enough.
7925         (package-initialize): Don't reset package-obsolete-list.
7926         Don't specify which package version to activate.
7927         (package-process-define-package, describe-package-1)
7928         (package-menu--generate): Adjust to new package-alist format.
7930 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7932         * allout-widgets.el (allout-widgets-mode-off)
7933         (allout-widgets-mode-on, allout-widgets-pre-command-business)
7934         (allout-widgets-post-command-business)
7935         (allout-widgets-after-copy-or-kill-function)
7936         (allout-widgets-after-undo-function, allout-test-range-overlaps)
7937         (allout-decorate-item-and-context)
7938         (allout-graphics-modification-handler): Fix typos in docstrings.
7939         (allout-get-or-create-parent-widget): Use `looking-at-p'.
7941         * cmuscheme.el (scheme-start-file): Doc fix.
7942         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7943         (scheme-input-filter): Use `string-match-p'.
7945         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7947         * dired-x.el: Use Dired consistently in docstrings.
7949         * dired.el: Use Dired consistently in docstrings.
7950         (dired-readin, dired-mode): Use `setq-local'.
7951         (dired-switches-alist): Make defvar-local.
7952         (dired-buffers-for-dir): Use `zerop'.
7953         (dired-safe-switches-p, dired-switches-escape-p)
7954         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7955         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7956         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7957         (dired-goto-next-nontrivial-file): Use `string-match-p'.
7958         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7959         (dired-toggle-marks, dired-mark-files-containing-regexp)
7960         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7961         (dired-flag-auto-save-files, dired-flag-backup-files):
7962         Use `looking-at-p'.
7963         (dired-mark-files-regexp, dired-build-subdir-alist):
7964         Use `string-match-p', `looking-at-p'.
7966         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7967         (direct-print-region-helper): Use `string-match-p'.
7969 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7971         * comint.el (comint-redirect-results-list-from-process):
7972         Fix infinite loop.
7974 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7976         * net/eww.el (eww-update-header-line-format): Quote % characters.
7978 2013-06-21  Glenn Morris  <rgm@gnu.org>
7980         * play/cookie1.el (cookie): New custom group.
7981         (cookie-file): New option.
7982         (cookie-check-file): New function.
7983         (cookie): Make it interactive.  Make start and end messages optional.
7984         Interactively, display the result.  Default to cookie-file.
7985         (cookie-insert): Default to cookie-file.
7986         (cookie-snarf): Make start and end messages optional.
7987         Default to cookie-file.  Use with-temp-buffer.
7988         (cookie-read): Rename from read-cookie.
7989         Make start and end messages optional.  Default to cookie-file.
7990         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7991         Do not autoload it.
7992         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7993         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7995 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7997         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7999 2013-06-21  Glenn Morris  <rgm@gnu.org>
8001         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8003 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8004             Daniel Hackney  <dan@haxney.org>
8006         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8007         Consolidate the single-file vs tarball code.
8008         (package-desc-suffix): New function.
8009         (package-desc-full-name): Don't bother inlining it.
8010         (package-load-descriptor): Return the new package-desc.
8011         (package-mark-obsolete): Remove unused arg `package'.
8012         (package-unpack): Make it work for single files as well.
8013         Make it update package-alist.
8014         (package--make-autoloads-and-stuff): Rename from
8015         package--make-autoloads-and-compile.  Don't compile any more.
8016         (package--compile): New function.
8017         (package-generate-description-file): New function, extracted from
8018         package-unpack-single.
8019         (package-unpack-single): Remove.
8020         (package--with-work-buffer): Add indentation and debugging info.
8021         (package-download-single): Remove.
8022         (package-install-from-archive): Rename from package-download-tar, make
8023         it take a pkg-desc, and make it work for single files as well.
8024         (package-download-transaction): Simplify.
8025         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
8026         external tar program.
8027         (package-install-from-buffer): Remove `pkg-desc' argument.
8028         Use package-tar-file-info for tar-mode buffers.
8029         (package-install-file): Simplify accordingly.
8030         (package-archive-base): Change to take a pkg-desc.
8031         * tar-mode.el (tar--check-descriptor): New function, extracted from
8032         tar-get-descriptor.
8033         (tar-get-descriptor): Use it.
8034         (tar-get-file-descriptor): New function.
8035         (tar--extract): New function, extracted from tar-extract.
8036         (tar--extract): Use it.
8037         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8038         case the summary uses non-ascii.  Adjust to new calling convention of
8039         package-tar-file-info.
8041 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8043         * comint.el (comint-redirect-results-list-from-process):
8044         Fix random delay.  (Bug#14681)
8046 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8048         * profiler.el (profiler-format-number): Use log, not log10.
8050 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8052         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8054 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8056         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8057         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8058         yet available.
8059         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8060         (AUTOGENEL): ... here.
8061         * emacs-lisp/cl-macs.el (cl--sublis): New function.
8062         (cl--defsubst-expand): Use it.
8064 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
8066         * subr.el (log10): Move here from C code, and declare as obsolete.
8067         All uses of (log10 X) replaced with (log X 10).
8069 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8071         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8072         Declare with `defvar-local'.
8073         (tabulated-list-use-header-line, tabulated-list-entries)
8074         (tabulated-list-padding, tabulated-list-printer)
8075         (tabulated-list-sort-key): Declare with `defvar-local'.
8076         (tabulated-list-init-header, tabulated-list-print-fake-header):
8077         Use `setq-local'.
8079 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
8081         * arc-mode.el (archive-mode): Add `archive-write-file' to
8082         `write-contents-functions' also for remote files.  (Bug#14652)
8084 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8086         * cus-edit.el (custom-commands): Fix typos.
8087         (custom-display): Fix tooltip text.
8088         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8089         Fix typos in docstrings.
8090         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8091         (custom-unlispify-menu-entry, custom-magic-value-create)
8092         (custom-add-see-also, custom-group-value-create): Use ?\s.
8093         (custom-guess-type, customize-apropos, editable-field)
8094         (custom-face-value-create): Use `string-match-p'.
8095         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8097         * custom.el (custom-load-symbol): Use `string-match-p'.
8099         * ansi-color.el: Convert to lexical binding.
8100         (ansi-colors): Fix URL.
8101         (ansi-color-context, ansi-color-context-region): Use defvar-local.
8102         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8103         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8105 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8107         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8109         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8111 2013-06-19  Tom Tromey  <tromey@redhat.com>
8113         * net/eww.el (eww-top-url): Remove.
8114         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8115         (eww-render): Set new variables.  Don't set eww-top-url.
8116         (eww-handle-link): Handle "prev", "home", and "contents".
8117         Downcase the rel text.
8118         (eww-top-url): Choose best top URL.
8120 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8122         * net/eww.el: Rewrite to implement form elements "by hand" instead of
8123         relying in widget.el.  Using widget.el leads to too many
8124         user interface inconsistencies.
8125         (eww-self-insert): Implement entering commands in text fields.
8126         (eww-process-text-input): New function to make text input field editing
8127         work.
8128         (eww-submit): Rewrite to use the new-style form methods.
8129         (eww-select-display): Display the correct selected item.
8130         (eww-change-select): Implement changing the select value.
8131         (eww-toggle-checkbox): Implement radio/checkboxes.
8132         (eww-update-field): Fix compilation error.
8133         (eww-tag-textarea): Implement <textarea>.
8135         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8136         we don't shadow mode-specific bindings.
8138         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8139         nothing to push.
8141         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8143 2013-06-19  Glenn Morris  <rgm@gnu.org>
8145         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8147 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8149         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8150         not needed.
8152         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8154 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8156         * net/browse-url.el (browse-url-browser-function):
8157         `eww-browse-url' has the right calling signature, `eww' does not.
8159 2013-06-19  Glenn Morris  <rgm@gnu.org>
8161         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8162         Only eval autoloaded macros.
8163         (byte-compile-autoload): Only give the macro warning for macros.
8165         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8166         (ps-underlined-faces): Declare.
8168         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8169         (speedbar-add-supported-extension): Declare.
8171         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8172         Don't include a date stamp in the header of the generated file;
8173         it leads to needless differences between output files.
8175 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8177         * net/secrets.el (secrets-struct-secret-content-type):
8178         Replace check of introspection data by a test call of "CreateItem".
8179         Some servers do not offer introspection.
8181 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8183         * electric.el (electric-pair-mode): Improve interaction with
8184         electric-layout-mode.
8185         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8186         (electric-pair-syntax): Use text-mode-syntax-table in comments
8187         and strings.
8188         (electric-pair--insert): New function.
8189         (electric-pair-post-self-insert-function): Use it and
8190         electric--after-char-pos.
8192 2013-06-19  Leo Liu  <sdl.web@gmail.com>
8194         * progmodes/octave.el (octave-help): Fix regexp.
8196 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8198         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8199         (shr-table-horizontal-line): Allow nil as a value, and change the
8200         default.
8201         (shr-insert-table-ruler): Respect the nil value.
8203 2013-06-18  Tom Tromey  <tromey@barimba>
8205         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8206         New defvars.
8207         (eww-open-file): New defun.
8208         (eww-render): Initialize new variables.
8209         (eww-display-html): Handle "link" and "a".
8210         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8211         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
8212         (eww-back-url): Rename from eww-previous-url.
8213         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8214         New defuns.
8216 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
8218         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8219         Distinguish ternary operator tokens from slash symbol and slash
8220         char literal.
8222 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8224         Convert symbol prettification into minor mode and global minor mode.
8226         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8227         `prog-prettify-symbols', and make a local defvar instead of defcustom.
8228         (prettify-symbols--keywords): Rename from
8229         `prog-prettify-symbols-alist' and make a local defvar.
8230         (prettify-symbols--compose-symbol): Rename from
8231         `prog--prettify-font-lock-compose-symbol'.
8232         (prettify-symbols--make-keywords): Rename from
8233         `prog-prettify-font-lock-symbols-keywords' and simplify.
8234         (prog-prettify-install): Remove.
8235         (prettify-symbols-mode): New minor mode, based on
8236         `prog-prettify-install'.
8237         (turn-on-prettify-symbols-mode): New function.
8238         (global-prettify-symbols-mode): New globalized minor mode.
8240         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8241         * progmodes/cfengine.el (cfengine3-mode):
8242         * progmodes/perl-mode.el (perl-mode): Don't call
8243         `prog-prettify-install'; set `prettify-symbols-alist' instead.
8245 2013-06-18  Juri Linkov  <juri@jurta.org>
8247         * files-x.el (modify-file-local-variable-message): New function.
8248         (modify-file-local-variable)
8249         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8250         and call `modify-file-local-variable-message' when it's non-nil.
8251         (add-file-local-variable, delete-file-local-variable)
8252         (add-file-local-variable-prop-line)
8253         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8254         and use it.  (Bug#9820)
8256 2013-06-18  Juri Linkov  <juri@jurta.org>
8258         * emulation/vi.el (vi-shell-op):
8259         * emulation/vip.el (vip-execute-com, ex-command):
8260         * emulation/viper-cmd.el (viper-exec-bang):
8261         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8262         the call of `shell-command-on-region'.  (Bug#14637)
8264         * simple.el (shell-command-on-region): Doc fix.
8266 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8268         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8269         (bug#14633).
8271 2013-06-18  Glenn Morris  <rgm@gnu.org>
8273         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8275         * newcomment.el (comment-search-forward, comment-search-backward):
8276         Doc fix.  (Bug#14376)
8278 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8280         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8281         (buffer-face-mode-invoke): Doc fix.
8283 2013-06-18  Matthias Meulien  <orontee@gmail.com>
8285         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8286         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8288 2013-06-18  Glenn Morris  <rgm@gnu.org>
8290         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8291         Replace obsolete function generic-make-keywords with its expansion.
8293         * progmodes/python.el (ffap-alist): Declare.
8295         * textmodes/reftex.el (bibtex-mode-map): Declare.
8297 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8299         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8300         (package-unpack, package-unpack-single): Return the pkg-dir.
8301         (package-download-transaction): Use it to update package-alist.
8303 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8305         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8306         possible choice.
8308 2013-06-17  Juri Linkov  <juri@jurta.org>
8310         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8312 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8314         * emacs-lisp/package.el (package-load-descriptor):
8315         Remove `with-syntax-table' call, `read' doesn't need it.
8316         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8318 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8320         * startup.el (command-line): Expand package name returned by
8321         `package--description-file' (bug#14639).
8323 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8325         * emacs-lisp/package.el (package-load-descriptor): Do not call
8326         `emacs-lisp-mode', just use its syntax table.
8328 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8330         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8331         `font-lock-extra-managed-props' if any prettifying keyword is added.
8332         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8333         (prog-mode): Use `setq-local'.
8335 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8337         * international/characters.el (standard-case-table): Set syntax of ?»
8338         and ?« to punctuation.
8340 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
8342         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8343         Save relevant match data before calling `syntax-ppss' (bug#14595).
8345 2013-06-15  Juri Linkov  <juri@jurta.org>
8347         * files-x.el (modify-file-local-variable-prop-line): Add local
8348         variables to the end of the existing comment on the first line.
8349         Use `file-auto-mode-skip' to skip interpreter magic line,
8350         and also skip XML declaration.
8352 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8354         * startup.el (package--builtin-versions): New var.
8355         (package-subdirectory-regexp): Remove.
8356         (package--description-file): Hard code its value instead.
8358         * emacs-lisp/package.el: Don't activate packages older than builtin.
8359         (package-obsolete-list): Rename from package-obsolete-alist, and make
8360         it into a simple list of package-desc.
8361         (package-strip-version): Remove.
8362         (package-built-in-p): Use package--builtin-versions.
8363         (package-mark-obsolete): Simplify.
8364         (package-process-define-package): Mark it obsolete if older than the
8365         builtin version.
8366         (package-handle-response): Use line-end-position.
8367         (package-read-archive-contents, package--download-one-archive):
8368         Simplify.
8369         (package--add-to-archive-contents): Skip if older than the builtin or
8370         installed version.
8371         (package-menu-describe-package): Fix last change.
8372         (package-list-unversioned): New var.
8373         (package-menu--generate): Use it.
8375         * emacs-lisp/autoload.el: Manage package--builtin-versions.
8376         (autoload--insert-text, autoload--insert-cookie-text): New functions.
8377         (autoload-builtin-package-versions): New variable.
8378         (autoload-generate-file-autoloads): Use them.
8379         Remove the list of autoloaded functions/macros from the
8380         (autoload...) comments.
8382         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8384 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
8386         * simple.el (line-move-partial): Don't jump to the next screen
8387         line as soon as it becomes visible.  Instead, continue enlarging
8388         the vscroll until the portion of a tall screen line that's left on
8389         display is about the height of the frame's default font.
8390         (Bug#14567)
8392 2013-06-15  Glenn Morris  <rgm@gnu.org>
8394         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8395         compilation-error-regexp-alist void, or local while let-bound.
8397         * progmodes/make-mode.el (makefile-mode-syntax-table):
8398         Treat "=" as punctuation.  (Bug#14614)
8400 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
8402         * help-fns.el (describe-variable):
8403         Add extra line for permanent-local variables.
8405 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
8407         * progmodes/scheme.el (scheme-font-lock-keywords-2):
8408         Add export, import, library.  (Bug#9164)
8409         (library): Set indent function.
8411 2013-06-14  Glenn Morris  <rgm@gnu.org>
8413         * term/xterm.el (xterm--query):
8414         Stop after first matching handler.  (Bug#14615)
8416 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
8418         Add support for dired in saveplace.
8419         * dired.el (dired-initial-position-hook): New variable.
8420         (dired-initial-position): Call hook to place cursor position.
8421         * saveplace.el (save-place-to-alist): Add dired position.
8422         (save-place-dired-hook): New function.
8424 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8426         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8427         through a symbol rather than letrec.
8429         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
8430         (package-desc): Add `dir' field.
8431         (package-desc-full-name): New function.
8432         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
8433         (package-maybe-load-descriptor): Remove.
8434         (package-load-all-descriptors): Just call package-load-descriptor.
8435         (package--disabled-p): New function.
8436         (package-desc-vers, package-desc-doc): Remove aliases.
8437         (package--dir): Remove function.
8438         (package-activate): Check if a package is disabled.
8439         (package-process-define-package): New function, extracted from
8440         define-package.
8441         (define-package): Turn into a place holder.
8442         (package-unpack-single, package-tar-file-info):
8443         Use package--description-file.
8444         (package-compute-transaction): Use package--disabled-p.
8445         (package-download-transaction): Don't call
8446         package-maybe-load-descriptor since they're all loaded anyway.
8447         (package-install): Change argument to be a pkg-desc.
8448         (package-delete): Use a single pkg-desc argument.
8449         (describe-package-1): Use package-desc-dir instead of package--dir.
8450         Use package-desc property instead of package-symbol.
8451         (package-install-button-action): Adjust accordingly.
8452         (package--push): Rewrite.
8453         (package-menu--print-info): Adjust accordingly.  Change the ID format
8454         to be a pkg-desc.
8455         (package-menu-describe-package, package-menu-get-status)
8456         (package-menu--find-upgrades, package-menu-mark-upgrades)
8457         (package-menu-execute, package-menu--name-predicate):
8458         Adjust accordingly.
8459         * startup.el (package--description-file): New function.
8460         (command-line): Use it.
8461         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8462         Use package-desc-version.
8464         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8465         (byte-compile-preprocess): Use it.
8466         (byte-compile-file-form-defalias): Try a bit harder to use macros we
8467         can't quite recognize.
8468         (byte-compile-add-to-list): Remove.
8469         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8470         (cconv-closure-convert): Add assertion.
8472         * emacs-lisp/map-ynp.el: Use lexical-binding.
8473         (map-y-or-n-p): Remove unused vars `tail' and `object'.
8474         Factor out some repeated code.
8476 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8478         * subr.el (with-eval-after-load): New macro.
8479         (eval-after-load): Allow form to be a function.
8480         take advantage of lexical-binding.
8481         (do-after-load-evaluation): Use dolist and adjust to new format.
8482         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8484 2013-06-13  Juri Linkov  <juri@jurta.org>
8486         * replace.el (perform-replace): Display "symbol " and other search
8487         modes from `isearch-message-prefix' in the *Help* buffer.
8489         * isearch.el (isearch-query-replace): Add " symbol" and other
8490         possible search modes from `isearch-message-prefix' to the prompt.
8491         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8492         when reading a regexp to collect.
8494 2013-06-13  Juri Linkov  <juri@jurta.org>
8496         * isearch.el (word-search-regexp): Match whitespace if the search
8497         string begins or ends in whitespace.  The LAX arg is applied to
8498         both ends of the search string.  Use `regexp-quote' and explicit
8499         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
8500         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8501         boundaries are replaced with symbol boundaries, and characters
8502         between symbols match non-word non-symbol syntax.  (Bug#14602)
8504 2013-06-13  Juri Linkov  <juri@jurta.org>
8506         * isearch.el (isearch-del-char): Don't exceed the length of
8507         `isearch-string' by the prefix arg.  (Bug#14563)
8509 2013-06-13  Juri Linkov  <juri@jurta.org>
8511         * isearch.el (isearch-yank-word, isearch-yank-line)
8512         (isearch-char-by-name, isearch-quote-char)
8513         (isearch-printing-char, isearch-process-search-char):
8514         Add optional count prefix arg.  (Bug#14563)
8516         * international/isearch-x.el
8517         (isearch-process-search-multibyte-characters):
8518         Add optional count prefix arg.
8520 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8522         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8523         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8524         lexical-binding.
8526 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
8528         * subr.el (set-temporary-overlay-map): Add on-exit argument.
8530 2013-06-13  Glenn Morris  <rgm@gnu.org>
8532         * startup.el (tty-handle-args):
8533         Don't just discard "--" and anything after.  (Bug#14608)
8535         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8537 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
8539         Implement changes in Secret Service API.  Make it backward compatible.
8540         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8541         (secrets-create-item): Use it.  Prefix properties with interface.
8543 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
8545         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
8546         (term-emulate-terminal): Respect term-suppress-hard-newline.
8548 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
8550         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8551         Only remove a `thumb-file' overlay.  (Bug#14548)
8553 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
8555         * mail/reporter.el (reporter-submit-bug-report):
8556         Handle missing package-name.  (Bug#14600)
8558 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8560         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8561         (reftex-citation-prompt, reftex-default-bibliography)
8562         (reftex-bib-or-thebib, reftex-get-bibfile-list)
8563         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8564         (reftex-bib-sort-author, reftex-bib-sort-year)
8565         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8566         (reftex-extract-bib-entries-from-thebibliography)
8567         (reftex-get-bibkey-default, reftex-get-bib-names)
8568         (reftex-parse-bibtex-entry, reftex-get-bib-field)
8569         (reftex-format-bib-entry, reftex-parse-bibitem)
8570         (reftex-format-bibitem, reftex-do-citation)
8571         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8572         (reftex-restrict-bib-matches, reftex-extract-bib-file)
8573         (reftex-insert-bib-matches, reftex-format-citation)
8574         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8575         (reftex-create-bibtex-file): Add docstrings, mostly by converting
8576         existing comments into docstrings.
8578 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8580         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8582 2013-06-12  Andreas Schwab  <schwab@suse.de>
8584         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8585         for auto-save files.
8587 2013-06-12  Glenn Morris  <rgm@gnu.org>
8589         * ido.el (ido-delete-ignored-files): Remove.
8590         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8591         Go back to calling ido-ignore-item-p directly.
8593 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
8595         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8597         * ido.el (ido-delete-ignored-files): New function,
8598         split from ido-make-file-list-1.
8599         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
8600         (ido-make-file-list-1): Use ido-delete-ignored-files.
8602 2013-06-12  Leo Liu  <sdl.web@gmail.com>
8604         * progmodes/octave.el (inferior-octave-startup)
8605         (inferior-octave-completion-table)
8606         (inferior-octave-track-window-width-change)
8607         (octave-eldoc-function-signatures, octave-help)
8608         (octave-find-definition): Use single quoted strings.
8609         (inferior-octave-startup-args): Change default value.
8610         (inferior-octave-startup): Do not hard code "-i" and
8611         "--no-line-editing".
8612         (inferior-octave-resync-dirs): Add optional arg NOERROR.
8613         (inferior-octave-directory-tracker): Use it.
8614         (octave-goto-function-definition): Robustify.
8615         (octave-help): Support highlighting operators in 'See also'.
8616         (octave-find-definition): Find subfunctions only in Octave mode.
8618 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8620         * help-fns.el (help-fns--compiler-macro): If the handler function is
8621         named, then put a link to it.
8622         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8623         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8624         (cl-typep): Use it.
8625         (cl-eval-when): Simplify debug spec.
8626         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
8627         compiler-macro function instead of setting `compiler-macro-file'.
8629 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8631         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8632         * vc/vc-hooks.el (vc-stay-local): Doc fix.
8634 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8635             Daniel Hackney  <dan@haxney.org>
8637         First part of Daniel Hackney's patch to package.el.
8638         * emacs-lisp/package.el: Use defstruct.
8639         (package-desc): New, main struct.
8640         (package--bi-desc, package--ac-desc): New structs, used to describe the
8641         format in external files.
8642         (package-desc-vers): Replace with package-desc-version accessor.
8643         (package-desc-doc): Replace with package-desc-summary accessor.
8644         (package-activate-1): Remove `package' arg since the pkg-vec now
8645         includes the name.
8646         (define-package): Use package-desc-from-define.
8647         (package-unpack-single): Change file-name arg to be a symbol.
8648         (package--add-to-archive-contents): Use package-desc-create and new
8649         accessor functions to package--ac-desc.
8650         (package-buffer-info, package-tar-file-info): Return a package-desc.
8651         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
8652         arg to be a package-desc.
8653         (package-install-file): Adjust accordingly.  Use \' to match EOS.
8654         (package--from-builtin): New function.
8655         (describe-package-1, package-menu--generate): Use it.
8656         (package--make-autoloads-and-compile): Change name arg to be a symbol.
8657         (package-generate-autoloads): Idem and return the name of the file.
8658         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8659         Change pkg-info arg to be a package-desc.
8660         Use package-make-ac-desc.
8661         (package-upload-file): Use \' to match EOS.
8662         * finder.el (finder-compile-keywords): Use package-make-builtin.
8664 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8666         * vc/vc.el (vc-deduce-fileset): Change error message.
8667         (vc-read-backend): New function.
8668         (vc-next-action): Use it.
8670         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8672         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8673         (prolog-font-lock-keywords): Use regexp-opt instead.
8674         Don't manually highlight strings.
8675         (prolog-mode-variables): Simplify comment-start-skip.
8676         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
8678         * emacs-lisp/generic.el (generic--normalise-comments)
8679         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8680         (generic-mode-set-comments): Use them.
8681         (generic-bracket-support): Use setq-local.
8682         (generic-make-keywords-list): Declare obsolete.
8684 2013-06-11  Glenn Morris  <rgm@gnu.org>
8686         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8687         Prettify after setting font-lock-defaults.  (Bug#14574)
8689 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
8691         * replace.el (query-replace, occur-read-regexp-defaults-function)
8692         (replace-search):
8693         * subr.el (declare-function, number-sequence, local-set-key)
8694         (substitute-key-definition, locate-user-emacs-file)
8695         (with-silent-modifications, split-string, eval-after-load):
8696         Fix typos, remove unneeded backslashes and reflow some docstrings.
8698 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8700         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8701         default for Elisp files.
8703 2013-06-11  Glenn Morris  <rgm@gnu.org>
8705         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8706         although define-derived-mode was doing this anyway.  (Bug#14583)
8708 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
8710         * allout.el (allout-encryption-plaintext-sanitization-regexps):
8711         Fix make-variable-buffer-local call to refer to the correct variable.
8713 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
8715         * eshell/em-term.el (eshell-visual-commands)
8716         (eshell-visual-subcommands, eshell-visual-options):
8717         Add summary line to docstrings.  Add cross-references.
8719 2013-06-10  Glenn Morris  <rgm@gnu.org>
8721         * epa.el (epa-read-file-name): New function.  (Bug#14510)
8722         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
8724 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8726         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8727         output redirection to be ignored with visual commands.
8729 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8731         * eshell/em-term.el (eshell-visual-command-p): New function.
8732         (eshell-term-initialize): Move long lambda to separate function
8733         eshell-visual-command-p.
8734         * eshell/em-dirs.el (eshell-dirs-initialise):
8735         * eshell/em-script.el (eshell-script-initialize):
8736         Add missing #' to lambda.
8738 2013-06-08  Leo Liu  <sdl.web@gmail.com>
8740         * progmodes/octave.el (octave-add-log-current-defun): New function.
8741         (octave-mode): Set add-log-current-defun-function.
8742         (octave-goto-function-definition): Do not move point if not found.
8743         (octave-find-definition): Enhance to try subfunctions first.
8745 2013-06-08  Glenn Morris  <rgm@gnu.org>
8747         * emacs-lisp/bytecomp.el (byte-compile-char-before)
8748         (byte-compile-backward-char, byte-compile-backward-word):
8749         Improve previous change, to handle non-explicit nil.
8751 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8753         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8754         (smie--opener/closer-at-point): New function.
8755         (smie--matching-block-data): Use it.  Don't match from right after an
8756         opener or right before a closer.  Obey smie-blink-matching-inners.
8757         Don't signal a mismatch for repeated inners like "switch..case..case".
8759 2013-06-07  Leo Liu  <sdl.web@gmail.com>
8761         * progmodes/octave.el (octave-mode): Set comment-use-global-state
8762         to t.  (Bug#14303)
8763         (octave-function-header-regexp): Fix.  (Bug#14570)
8764         (octave-help-mode-finish-hook, octave-help-mode-finish):
8765         Remove.  Just use temp-buffer-show-hook.
8767         * newcomment.el (comment-search-backward): Revert last change.
8768         (Bug#14434)
8770         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8772 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
8774         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8775         through xargs, to avoid failure due to MS-Windows limitations on
8776         command-line length.
8778 2013-06-06  Glenn Morris  <rgm@gnu.org>
8780         * font-lock.el (lisp-font-lock-keywords-2):
8781         Treat user-error like error.
8783         * emacs-lisp/bytecomp.el (byte-compile-char-before)
8784         (byte-compile-backward-char, byte-compile-backward-word):
8785         Handle explicit nil arguments.  (Bug#14565)
8787 2013-06-05  Alan Mackenzie  <acm@muc.de>
8789         * isearch.el (isearch-allow-prefix): New user option.
8790         (isearch-other-meta-char): Don't exit isearch when a prefix
8791         argument is typed whilst `isearch-allow-prefix' is non-nil.
8792         (Bug#9706)
8794 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8796         * autorevert.el (auto-revert-notify-handler): Use memq.
8797         Hide assertion failure.
8799         * skeleton.el: Use cl-lib.
8800         (skeleton-further-elements): Use defvar-local.
8801         (skeleton-insert): Use cl-progv.
8803 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8805         * progmodes/prog-mode.el (prog-prettify-symbols)
8806         (prog-prettify-install): Update docstrings.
8808 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8810         * simple.el: Move all the prog-mode code to prog-mode.el.
8811         * progmodes/prog-mode.el: New file.
8812         * loadup.el: Add prog-mode.el.
8814 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8816         * simple.el (prog-prettify-symbols): Add version.
8817         (prog-prettify-install): Add convenience function to prettify symbols.
8819         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8820         (perl--augmented-font-lock-keywords-1)
8821         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8822         variables and use it.
8824         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8825         (cfengine3-mode): Remove unneeded variable and use it.
8827         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8828         (lisp--augmented-font-lock-keywords-1)
8829         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8830         Remove unneeded variables and use it.
8832 2013-06-05  João Távora  <joaotavora@gmail.com>
8834         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8835         to point when opening the connection.  (Bug#14380)
8837 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8839         * subr.el (load-history-regexp, load-history-filename-element)
8840         (eval-after-load, after-load-functions, do-after-load-evaluation)
8841         (eval-next-after-load, display-delayed-warnings)
8842         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8843         definition of save-match-data.
8844         (overriding-local-map): Remove accidental obsolescence declaration.
8846         * emacs-lisp/edebug.el (edebug-result): Move before first use.
8848 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8850         Generalize symbol prettify support to prog-mode and implement it
8851         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8852         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8853         (prog--prettify-font-lock-compose-symbol)
8854         (prog-prettify-font-lock-symbols-keywords): New variables and
8855         functions to support symbol prettification.
8856         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8857         (lisp--augmented-font-lock-keywords-1)
8858         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8859         (lisp--prettify-symbols-alist): Implement prettify of lambda.
8860         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8861         (cfengine3--prettify-symbols-alist, cfengine3-mode):
8862         Implement prettify of -> => :: strings.
8863         * progmodes/perl-mode.el (perl-prettify-symbols)
8864         (perl--font-lock-compose-symbol)
8865         (perl--font-lock-symbols-keywords): Move to prog-mode.
8866         (perl--prettify-symbols-alist): Prettify -> => :: strings.
8867         (perl-font-lock-keywords-1)
8868         (perl-font-lock-keywords-2): Remove explicit prettify support.
8869         (perl--augmented-font-lock-keywords)
8870         (perl--augmented-font-lock-keywords-1)
8871         (perl--augmented-font-lock-keywords-2, perl-mode):
8872         Implement prettify support.
8874 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8876         Re-implement smie matching block highlight using
8877         show-paren-data-function.  (Bug#14395)
8878         * emacs-lisp/smie.el (smie-matching-block-highlight)
8879         (smie--highlight-matching-block-overlay)
8880         (smie--highlight-matching-block-lastpos)
8881         (smie-highlight-matching-block)
8882         (smie-highlight-matching-block-mode): Remove.
8883         (smie--matching-block-data-cache): New variable.
8884         (smie--matching-block-data): New function.
8885         (smie-setup): Use smie--matching-block-data for
8886         show-paren-data-function.
8888         * progmodes/octave.el (octave-mode-menu): Fix.
8889         (octave-find-definition): Skip garbage lines.
8891 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8893         Fix compilation error with simultaneous dynamic+lexical scoping.
8894         Add warning when a defvar appears after the first let-binding.
8895         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8896         (byte-compile-close-variables): Initialize it.
8897         (byte-compile--declare-var): New function.
8898         (byte-compile-file-form-defvar)
8899         (byte-compile-file-form-define-abbrev-table)
8900         (byte-compile-file-form-custom-declare-variable): Use it.
8901         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
8902         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8903         (byte-compile-bind): Handle dynamic bindings that shadow
8904         lexical bindings.
8905         (byte-compile-unbind): Make arg non-optional.
8906         (byte-compile-let): Simplify.
8907         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8908         (cconv--analyse-function, cconv-analyse-form): Populate it.
8909         Protect byte-compile-bound-variables to limit the scope of defvars.
8910         (cconv-analyse-form): Add missing rule for (defvar <foo>).
8911         Remove unneeded rule for `declare'.
8913         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8914         so as to avoid depending on cl-adjoin at run-time.
8915         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8917         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8918         (macroexp--warn-and-return): Use it.
8920 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8922         * lisp/subr.el: Convert to lexical binding.
8923         (overriding-local-map): Make obsolete.
8924         (add-to-list): Doc fix.  Add compiler macro.
8925         (read-key): Swap values of local maps.
8927 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8929         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8931 2013-06-04  Leo Liu  <sdl.web@gmail.com>
8933         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8934         (compilation-auto-jump): Suppress the "Mark set" message to give
8935         way to exit message.
8937 2013-06-04  Alan Mackenzie  <acm@muc.de>
8939         Remove faulty optimisation from indentation calculation.
8940         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8941         search limit based on 2000 characters back from indent-point.
8943 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8945         * eshell/em-term.el (cl-lib): Require `cl-lib'.
8947 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8949         * emacs-lisp/lisp.el: Use lexical-binding.
8950         (lisp--local-variables-1, lisp--local-variables): New functions.
8951         (lisp--local-variables-completion-table): New var.
8952         (lisp-completion-at-point): Use it complete let-bound vars.
8954         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8955         eagerly (bug#14422).
8957 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
8959         * autorevert.el (auto-revert-notify-enabled)
8960         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8961         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8962         (auto-revert-notify-handler): Handle also gfilenotify.
8964         * subr.el (file-notify-handle-event): New defun.  Replacing ...
8965         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8966         Remove.
8968 2013-06-03  Juri Linkov  <juri@jurta.org>
8970         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8971         `M-s h .'.  (Bug#14427)
8973         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8974         command `hi-lock-face-symbol-at-point'.
8975         (hi-lock-face-symbol-at-point): New command.
8976         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8977         (hi-lock-menu): Add `highlight-symbol-at-point'.
8978         (hi-lock-mode): Doc fix.
8980         * isearch.el (isearch-forward-symbol-at-point): New command.
8981         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8982         (isearch-highlight-regexp): Add a regexp which matches
8983         words/symbols for word/symbol mode.
8985         * subr.el (find-tag-default-bounds): New function with the body
8986         mostly moved from `find-tag-default'.
8987         (find-tag-default): Move most code to `find-tag-default-bounds',
8988         call it and apply `buffer-substring-no-properties' afterwards.
8990 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8992         * eshell/em-term.el (eshell-term-initialize):
8993         Use `cl-intersection' rather than `intersection'.
8995 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8997         * vc/log-view.el: Doc fix.
8998         (log-view-mode-map): Copy keymap from `special-mode-map'.
9000 2013-06-02  Eric Ludlam  <zappo@gnu.org>
9002         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9003         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9004         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9005         (eieio-unbound, eieio-default-superclass)
9006         (eieio--define-field-accessors, method-static, method-before)
9007         (method-primary, method-after, method-num-lists)
9008         (method-generic-before, method-generic-primary)
9009         (method-generic-after, method-num-slots)
9010         (eieio-specialized-key-to-generic-key)
9011         (eieio--check-type, class-v, class-p)
9012         (eieio-class-name, define-obsolete-function-alias)
9013         (eieio-class-parents-fast, eieio-class-children-fast)
9014         (same-class-fast-p, class-constructor, generic-p)
9015         (generic-primary-only-p, generic-primary-only-one-p)
9016         (class-option-assoc, class-option, eieio-object-p)
9017         (class-abstract-p, class-method-invocation-order)
9018         (eieio-defclass-autoload-map, eieio-defclass-autoload)
9019         (eieio-class-un-autoload, eieio-defclass)
9020         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9021         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9022         (eieio--defgeneric-init-form, eieio-defgeneric-form)
9023         (eieio-defgeneric-reset-generic-form)
9024         (eieio-defgeneric-form-primary-only)
9025         (eieio-defgeneric-reset-generic-form-primary-only)
9026         (eieio-defgeneric-form-primary-only-one)
9027         (eieio-defgeneric-reset-generic-form-primary-only-one)
9028         (eieio-unbind-method-implementations)
9029         (eieio--defmethod, eieio--typep)
9030         (eieio-perform-slot-validation, eieio-validate-slot-value)
9031         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9032         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9033         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9034         (eieio-slot-name-index, eieio-class-slot-name-index)
9035         (eieio-set-defaults, eieio-initarg-to-attribute)
9036         (eieio-attribute-to-initarg, eieio-c3-candidate)
9037         (eieio-c3-merge-lists, eieio-class-precedence-c3)
9038         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9039         (eieio-class-precedence-list, eieio-generic-call-methodname)
9040         (eieio-generic-call-arglst, eieio-generic-call-key)
9041         (eieio-generic-call-next-method-list)
9042         (eieio-pre-method-execution-functions, eieio-generic-call)
9043         (eieio-generic-call-primary-only, eieiomt-method-list)
9044         (eieiomt-optimizing-obarray, eieiomt-install)
9045         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9046         (eieio-generic-form, eieio-defmethod, make-obsolete)
9047         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9048         (defclass): Remove `eval-and-compile' from macro.
9049         (call-next-method, shared-initialize): Instead of using
9050         `scoped-class' variable, use new eieio--scoped-class, and
9051         eieio--with-scoped-class.
9052         (initialize-instance): Rename local variable 'scoped-class' to
9053         'this-class' to remove ambiguitity from old global.
9055         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
9056         eieio.el.
9057         (eieio--scoped-class-stack): New variable.
9058         (eieio--scoped-class): New fcn.
9059         (eieio--with-scoped-class): New scoping macro.
9060         (eieio-defclass): Use pushnew instead of add-to-list.
9061         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9062         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9063         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9064         `scoped-class' variable, use new eieio--scoped-class, and
9065         eieio--with-scoped-class.
9067         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9069 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
9071         * eshell/esh-ext.el (eshell-external-command): Pass args to
9072         `eshell-find-interpreter'.
9073         (eshell-find-interpreter): Add new second parameter ARGS.
9075         * eshell/em-script.el (eshell-script-initialize): Add second arg
9076         to the function added as MATCH to `eshell-interpreter-alist'.
9078         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9079         the function added as MATCH to `eshell-interpreter-alist'.
9081         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9082         (eshell-visual-options): New defcustom.
9083         (eshell-escape-control-x): Adapt docstring.
9084         (eshell-term-initialize): Test `eshell-visual-subcommands' and
9085         `eshell-visual-options' in addition to `eshell-visual-commands'.
9086         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9088 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9090         * progmodes/python.el (python-indent-block-enders): Add break,
9091         continue and raise keywords.
9093 2013-06-01  Glenn Morris  <rgm@gnu.org>
9095         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9097         Plain (f)boundp silences compilation warnings since Emacs 22.1.
9098         * progmodes/cc-cmds.el (delete-forward-p):
9099         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9100         * progmodes/cc-engine.el (buffer-syntactic-context):
9101         * progmodes/cc-fonts.el (face-property-instance):
9102         * progmodes/cc-mode.el (set-keymap-parents):
9103         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9104         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9105         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9106         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9107         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9109         * progmodes/cc-vars.el (other): Emacs has this widget since
9110         at least 21.1, so don't (re)define it.
9112         * eshell/em-cmpl.el (eshell-cmpl-initialize):
9113         Replace the obsolete alias pcomplete-arg-quote-list.
9115 2013-06-01  Leo Liu  <sdl.web@gmail.com>
9117         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9118         punctuation syntax.
9119         (inferior-octave-minimal-columns)
9120         (inferior-octave-last-column-width): New variables.
9121         (inferior-octave-track-window-width-change): New function.
9122         (inferior-octave-mode): Adjust column width so that Octave output,
9123         for example from 'ls', can fit into the window nicely.
9125 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9127         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9128         Highlight expansions inside regexp literals.
9130 2013-05-31  Glenn Morris  <rgm@gnu.org>
9132         * obsolete/sym-comp.el (symbol-complete):
9133         Replace obsolete completion-annotate-function.
9135         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9137 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9139         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9140         New function, checks if point is inside a literal that allows
9141         expression expansion.
9142         (ruby-syntax-propertize-expansion): Use it.
9143         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9144         around the body.
9146 2013-05-30  Juri Linkov  <juri@jurta.org>
9148         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9149         to "\M-si".
9150         (isearch-invisible): New variable.
9151         (isearch-forward): Doc fix.
9152         (isearch-mode): Set `isearch-invisible'
9153         to the value of `search-invisible'.
9154         (isearch-toggle-case-fold): Doc fix.
9155         (isearch-toggle-invisible): New command.
9156         (isearch-query-replace): Let-bind `search-invisible'
9157         to the value of `isearch-invisible'.
9158         (isearch-search): Use `isearch-invisible' instead of
9159         `search-invisible'.  Let-bind `search-invisible'
9160         to the value of `isearch-invisible'.  (Bug#11378)
9162 2013-05-30  Juri Linkov  <juri@jurta.org>
9164         * replace.el (perform-replace): Avoid `isearch-range-invisible'
9165         call when `query-flag' is nil and `search-invisible' is non-nil.
9166         (Bug#11746)
9168 2013-05-30  Glenn Morris  <rgm@gnu.org>
9170         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9172         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9173         (cc-require): Suppress spurious "noruntime" warnings.
9174         (cc-require-when-compile): Use fboundp, for sake of compiler.
9176         * progmodes/cc-mode.el: Move load of cc-vars before that of
9177         cc-langs (which in turn loads cc-vars), to quieten compiler.
9179 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9181         * paren.el: Simplify the code.
9182         (show-paren-mode): Always start the timer.
9183         (show-paren--idle-timer): Rename from show-paren-idle-timer.
9184         (show-paren--overlay, show-paren--overlay-1): Rename from
9185         show-paren-overlay and show-paren-overlay-1, and initialize to an
9186         overlay rather than to nil.
9187         (show-paren-function): Misc cleanup and simplifications.
9189 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9191         * paren.el (show-paren-data-function): New hook.
9192         (show-paren--default): New function, extracted from show-paren-function.
9193         (show-paren-function): Use show-paren-data-function.
9195 2013-05-30  Glenn Morris  <rgm@gnu.org>
9197         * ielm.el (ielm-map, ielm-complete-symbol):
9198         Use completion-at-point rather than obsolete functions.
9199         (inferior-emacs-lisp-mode): Doc fix.
9200         Set completion-at-point-functions, rather than
9201         comint-dynamic-complete-functions.
9203         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9204         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9205         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9207         * image.el (image-animated-p): Tweak definition.
9209         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9210         (rlogin-process-connection-type): Tweak default.  Add set-after.
9211         (rlogin-host): Doc fix.
9212         (rlogin): Tweak prompt.
9213         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9215         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9216         * progmodes/tcl.el (inferior-tcl-mode-map):
9217         Use completion-at-point rather than obsolete alias.
9219         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9221         * minibuffer.el (read-file-name-completion-ignore-case):
9222         Move before completion--in-region, for eager macro expansion.
9224 2013-05-29  Juri Linkov  <juri@jurta.org>
9226         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9227         for total count of matching lines.  Add `global-matches' for total
9228         count of matches.  Rename `matches' to `lines' for count of
9229         matching lines.  Add `matches' for count of matches.
9230         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
9231         to `prev-line' for line number of prev match endpt.
9232         Increment `matches' for every match.  Print the number of
9233         matching lines in the header.
9234         (occur-context-lines): Rename `lines' to `curr-line'.
9235         Rename `prev-lines' to `prev-line'.  (Bug#14017)
9237 2013-05-29  Juri Linkov  <juri@jurta.org>
9239         * replace.el (perform-replace): Add `skip-read-only-count',
9240         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9241         Increment them for corresponding conditions and report the number
9242         of skipped occurrences in the final message.  (Bug#11746)
9243         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9244         (replace-string, replace-regexp): Doc fix.
9246 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9248         * emacs-lisp/trace.el (trace--read-args): Provide a default.
9250         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9251         prog-mode-map (bug#14504).
9253 2013-05-29  Leo Liu  <sdl.web@gmail.com>
9255         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9256         (octave-help): Small simplification.
9258         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9259         off the highlight first.
9261 2013-05-29  Glenn Morris  <rgm@gnu.org>
9263         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9264         Handle idlwave-last-system-routine-info-cons-cell being nil.
9266         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9267         (idlwave-write-paths): Simplify via with-temp-buffer.
9269         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9270         * emulation/cua-rect.el: Also load cua-base at run time.
9272         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9273         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9274         (cperl-imenu-on-info): Require imenu.
9276 2013-05-28  Alan Mackenzie  <acm@muc.de>
9278         Handle "capitalised keywords" correctly.
9279         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9281 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
9283         * eshell/em-unix.el: Add -r option to cp.
9285 2013-05-28  Glenn Morris  <rgm@gnu.org>
9287         * vc/vc-arch.el (vc-exec-after): Declare.
9288         (vc-switches): Autoload.
9289         * vc/vc-bzr.el: No need to require vc when compiling.
9290         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9291         (vc-resynch-buffer, vc-dir-refresh): Declare.
9292         (vc-setup-buffer, vc-switches): Autoload.
9293         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9294         (vc-resynch-buffer): Declare.
9295         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9296         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9297         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9298         (grep-read-regexp, grep-read-files, grep-expand-template)
9299         (vc-dir-refresh): Declare.
9300         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9301         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9302         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9303         * vc/vc-mtn.el (vc-exec-after): Declare.
9304         (vc-switches): Autoload.
9305         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9306         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9307         (vc-file-tree-walk): Declare.
9308         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9309         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9310         (vc-tag-precondition, vc-rename-master): Autoload.
9311         * vc/vc-svn.el (vc-exec-after): Declare.
9312         (vc-switches, vc-setup-buffer): Autoload.
9313         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9314         Autoload.
9315         (vc-resynch-buffer): Declare.
9317         * obsolete/fast-lock.el (byte-compile-warnings):
9318         Don't warn about obsolete features in this obsolete file.
9320         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9321         Move definition before use.
9323         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9324         (dun-unix-verbs): Remove dun-zippy.
9325         (dun-zippy): Remove function.
9327         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9329 2013-05-27  Juri Linkov  <juri@jurta.org>
9331         * replace.el (replace-search): New function with code moved out
9332         from `perform-replace'.
9333         (replace-highlight, replace-dehighlight): Move function definitions
9334         up closer to `replace-search'.  (Bug#11746)
9336 2013-05-27  Juri Linkov  <juri@jurta.org>
9338         * replace.el (perform-replace): Ignore invisible matches.
9339         In addition to checking `query-replace-skip-read-only', also
9340         filter out matches by calling `run-hook-with-args-until-failure'
9341         on `isearch-filter-predicates', and also check `search-invisible'
9342         for t or call `isearch-range-invisible'.
9343         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
9345 2013-05-27  Juri Linkov  <juri@jurta.org>
9347         * isearch.el (isearch-filter-predicates): Rename from
9348         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
9349         (isearch-message-prefix): Display text from the property
9350         `isearch-message-prefix' of the currently active filters.
9351         (isearch-search): Don't compare `isearch-filter-predicate' with
9352         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
9353         on `isearch-filter-predicates'.  Also check `search-invisible' for t
9354         or call `isearch-range-invisible'.
9355         (isearch-filter-visible): Make obsolete.
9356         (isearch-lazy-highlight-search):
9357         Call `run-hook-with-args-until-failure' on
9358         `isearch-filter-predicates' and use `isearch-range-invisible'.
9360         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9361         `isearch-filter-predicates' instead of `funcall'ing
9362         `isearch-filter-predicate'.
9363         (Info-mode): Set `Info-isearch-filter' to
9364         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9366         * dired-aux.el (dired-isearch-filter-predicate-orig):
9367         Remove variable.
9368         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9369         (dired-isearch-filenames-end): Add and remove
9370         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9371         instead of changing the value of `isearch-filter-predicate'.
9372         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9373         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9374         Put property `isearch-message-prefix' to "filename " on
9375         `dired-isearch-filter-filenames'.
9377         * wdired.el (wdired-change-to-wdired-mode):
9378         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9379         locally instead of changing `isearch-filter-predicate'.
9380         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9382 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
9384         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9385         return the commit hash (Bug#14459).  Also set the
9386         `vc-git-detached' property.
9387         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9388         (vc-git-mode-line-string): Use the same help-echo format whether
9389         in detached mode or not, because we know the actual revision now.
9390         When in detached mode, shorten the revision to 7 chars.
9392 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9394         * emacs-lisp/easy-mmode.el (define-minor-mode):
9395         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9396         mode hook and provide a docstring.
9398 2013-05-27  Alan Mackenzie  <acm@muc.de>
9400         Remove spurious syntax-table text properties inserted by C-y.
9401         * progmodes/cc-mode.el (c-after-change): Also clear hard
9402         syntax-table property with value nil.
9404 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
9406         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9407         when reading the events; the buffer layout shall not be changed.
9409 2013-05-27  Leo Liu  <sdl.web@gmail.com>
9411         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9412         New variable.
9413         (inferior-octave-directory-tracker): Automatically re-sync
9414         default-directory.
9415         (octave-help): Improve handling of 'See also'.
9417 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9419         * doc-view.el: Minor naming convention tweaks.
9420         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9422         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9423         even if there's no `display' property yet (bug#14435).
9425 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
9427         * subr.el (unmsys--file-name): Rename from reveal-filename.
9429         * Makefile.in (custom-deps, finder-data, autoloads)
9430         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9431         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9432         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9434 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9436         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9437         error-completion on the first 2 args of condition-case (bug#14446).
9438         Don't burp at EOB.
9440 2013-05-25  Leo Liu  <sdl.web@gmail.com>
9442         * comint.el (comint-previous-matching-input): Do not flood the
9443         *Messages* buffer with trivial messages.
9445 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9447         * progmodes/flymake.el (flymake-nop): Don't return a string.
9448         (flymake-set-at): Fix typo.
9450         * simple.el (read--expression): New function, extracted from
9451         eval-expression.  Set completion-at-point-functions (bug#14465).
9452         (eval-expression, eval-minibuffer): Use it.
9454 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
9456         * progmodes/flymake.el (flymake-save-buffer-in-file)
9457         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9458         (flymake-selected-frame, flymake-log, flymake-ins-after)
9459         (flymake-set-at, flymake-get-buildfile-from-cache)
9460         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9461         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9462         Refine the doc string.
9463         (flymake-get-file-name-mode-and-masks): Reformat.
9464         (flymake-get-real-file-name-function): Fix a minor bug.
9466 2013-05-24  Juri Linkov  <juri@jurta.org>
9468         * progmodes/grep.el (grep-mode-font-lock-keywords):
9469         Support =linenumber= format used by git-grep for lines with
9470         function names.  (Bug#13549)
9472 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9474         * progmodes/octave.el (octave-smie-rules): Return nil rather than
9475         0 after a semi-colon; it works better for smie-auto-fill.
9476         (octave--indent-new-comment-line): New function.
9477         (octave-indent-new-comment-line): Use it (indirectly).
9478         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
9479         modify comment-line-break-function.
9481         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9482         (smie-setup): Use add-function to set it.
9484 2013-05-24  Sam Steingold  <sds@gnu.org>
9486         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9487         argument (before the `interactive' argument).
9489 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9491         * image-mode.el (image-mode-winprops): Add winprops to
9492         image-mode-winprops-alist before running
9493         image-mode-new-window-functions.
9494         * doc-view.el (doc-view-new-window-function): Don't delay
9495         doc-view-goto-page via timers (bug#14435).
9497 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
9499         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
9500         (doc-view-desktop-save-buffer): New function.
9501         (doc-view-restore-desktop-buffer): New function.
9502         (desktop-buffer-mode-handlers):
9503         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9504         handler.
9505         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9506         `desktop-save-buffer' function.
9508 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
9510         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9511         (tramp-gvfs-file-name-handler): Raise a user error when
9512         `tramp-gvfs-enabled' is nil.
9513         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9514         Do not raise a user error when loading package.  (Bug#14447)
9516         * net/xesam.el: Move to obsolete/.
9518 2013-05-24  Glenn Morris  <rgm@gnu.org>
9520         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9522         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9524         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9525         (Info-find-node, Man-getpage-in-background): Declare.
9527         * mail/unrmail.el (unrmail):
9528         Replace obsolete detect-coding-with-priority.
9530         * net/socks.el (socks-split-string): Use this rather than split-string.
9531         (socks-nslookup-host): Update for above change.
9532         (dynamic-choice, s5-dynamic-choice-match)
9533         (s5-dynamic-choice-match-inline, s5-widget-value-create):
9534         Comment out unused code.
9536         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9537         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9538         (gud-tooltip-echo-area): Make obsolete.
9539         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9541         * progmodes/js.el (js--optimize-arglist): Declare.
9543         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9545         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9546         (ediff-window-C): Declare.
9548         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9549         Tweak requires to silence compiler.
9551         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9552         (he-search-string, he-tried-table, he-expand-list)
9553         (he-init-string, he-string-member, he-substitute-string)
9554         (he-reset-string): Declare.
9556         * obsolete/options.el (list-options): Use custom-variable-p,
9557         rather than obsolete alias.
9559 2013-05-23  Sam Steingold  <sds@gnu.org>
9561         * simple.el (shell-command-on-region): Pass the `replace' argument
9562         down to `call-process-region' to comply with the doc as reported on
9563         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9565 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9567         * emacs-lisp/smie.el (smie-indent-forward-token)
9568         (smie-indent-backward-token): Handle string tokens (bug#14381).
9570 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9572         * ielm.el (ielm-menu): New menu.
9573         (inferior-emacs-lisp-mode): Set comment-start.
9575 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9577         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9578         Fix deactivate action.
9580         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9581         Add cleveref macros.
9583         * lisp/textmodes/reftex-parse.el
9584         (reftex-locate-bibliography-files): Accept options for
9585         bibliography commands.
9586         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9587         Add addbibresource.  Basic Biblatex support.
9589 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
9591         * net/tramp-gvfs.el (top):
9592         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9593         when loading package.  (Bug#14447)
9595 2013-05-23  Glenn Morris  <rgm@gnu.org>
9597         * progmodes/js.el: No need to load comint when compiling.
9598         (ring-insert, comint-send-string, comint-send-input)
9599         (comint-last-input-end, ido-chop): Declare.
9601         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9602         * vc/ediff-mult.el: Adjust requires.
9603         (ediff-directories-internal, ediff-directory-revisions-internal)
9604         (ediff-patch-file-internal): Declare.
9605         * vc/ediff-ptch.el: Adjust requires.
9606         (ediff-use-last-dir, ediff-buffers-internal): Declare.
9607         (ediff-find-file): Autoload.
9608         * vc/ediff-util.el: No need to load ediff when compiling.
9609         (ediff-regions-internal): Declare.
9610         * vc/ediff-wind.el: Adjust requires.
9611         (ediff-compute-toolbar-width): Define when compiling.
9612         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9613         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9614         (dired-get-filename, dired-get-marked-files)
9615         (ediff-last-dir-patch, ediff-patch-default-directory)
9616         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9617         (ediff-patch-buffer-internal): Declare.
9619         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9620         (ispell-process, ispell-buffer-local-words, lm-summary)
9621         (lm-section-start, lm-section-end): Declare.
9622         (checkdoc-ispell-init): Simplify.
9624         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9625         (he-string-member, he-reset-string, he-substitute-string): Declare.
9627         * eshell/em-ls.el: Adjust requires.
9628         (eshell-glob-regexp): Declare.
9629         * eshell/em-tramp.el: Adjust requires.
9630         (eshell-parse-command): Autoload.
9631         * eshell/em-xtra.el: Adjust requires.
9632         (eshell-parse-command): Autoload.
9633         * eshell/esh-ext.el: Adjust requires.
9634         (eshell-parse-command, eshell-close-handles): Autoload.
9635         * eshell/esh-io.el: Adjust requires.
9636         (eshell-output-filter): Autoload.
9637         * eshell/esh-util.el: No need to load tramp when compiling.
9638         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9639         Declare.
9640         (eshell-parse-ange-ls): Require ange-ftp and tramp.
9641         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9642         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9643         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9644         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9645         * eshell/esh-opt.el, eshell/esh-proc.el:
9646         * eshell/esh-var.el: Adjust requires.
9647         * eshell/eshell.el: Do not require esh-util twice.
9648         (eshell-add-input-to-history): Declare.
9649         (eshell-command): Check history module is active before using it.
9651         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9653 2013-05-22  Leo Liu  <sdl.web@gmail.com>
9655         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9657 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
9659         * autorevert.el (auto-revert-notify-add-watch)
9660         (auto-revert-notify-handler): Add `attrib' for the inotify case,
9661         it indicates changes in file modification time.
9663 2013-05-22  Glenn Morris  <rgm@gnu.org>
9665         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9666         Always delete the autoloaded function from the noruntime and
9667         unresolved functions lists.
9669         * allout.el: No need to load epa, epg, overlay when compiling.
9670         (epg-context-set-passphrase-callback, epg-list-keys)
9671         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9672         (epg-key-user-id-list): Declare.
9674         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9675         (viper-set-parsing-style-toggling-macro)
9676         (viper-set-emacs-state-searchstyle-macros):
9677         Use called-interactively-p on Emacs.
9678         (viper-looking-back): Make it an obsolete alias.  Update callers.
9679         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9680         Use looking-back rather than viper-looking-back.
9681         (viper-tmp-insert-at-eob, viper-enlarge-region)
9682         (viper-read-string-with-history, viper-register-to-point)
9683         (viper-append-to-register, viper-change-state-to-vi)
9684         (viper-backward-char-carefully, viper-forward-char-carefully)
9685         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9686         (viper-change-state-to-emacs): Declare.
9687         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9688         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9689         * emulation/viper-mous.el: Do not load viper-cmd.
9690         (viper-backward-char-carefully, viper-forward-char-carefully)
9691         (viper-forward-word, viper-adjust-window): Declare.
9693         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9695         * progmodes/idlw-help.el (idlwave-help-fontify):
9696         Use called-interactively-p.
9698         * term/w32console.el (w32-get-console-codepage)
9699         (w32-get-console-output-codepage): Declare.
9701         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9702         Remove unnecessary declarations.
9703         (dframe-message): Doc fix.
9705         * info.el (dframe-select-attached-frame, dframe-current-frame):
9706         Declare.
9708         * speedbar.el (speedbar-message): Make it an obsolete alias.
9709         Update all callers.
9710         (speedbar-with-attached-buffer)
9711         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9712         (speedbar-with-writable): Use backquote.
9713         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9714         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9715         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9716         rather than speedbar- aliases.
9717         * mail/rmail.el: Load dframe rather than speedbar when compiling.
9718         (speedbar-make-specialized-keymap, speedbar-insert-button)
9719         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9720         (speedbar-do-function-pointer): Declare.
9721         (rmail-speedbar-button, rmail-speedbar-find-file)
9722         (rmail-speedbar-move-message):
9723         Use dframe-with-attached-buffer rather than speedbar- alias.
9724         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9725         (dframe-message, speedbar-make-specialized-keymap)
9726         (speedbar-add-expansion-list, speedbar-mode-functions-list)
9727         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9728         (speedbar-insert-button, dframe-select-attached-frame)
9729         (dframe-maybee-jump-to-attached-frame)
9730         (speedbar-change-initial-expansion-list)
9731         (speedbar-previously-used-expansion-list-name): Declare.
9732         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9733         Use dframe-message, dframe-with-attached-buffer rather than
9734         speedbar- aliases.
9735         (gud-sentinel): Silence compiler.
9736         * progmodes/vhdl-mode.el (speedbar-refresh)
9737         (speedbar-do-function-pointer, speedbar-add-supported-extension)
9738         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9739         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9740         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9741         (speedbar-file-lists, speedbar-make-tag-line)
9742         (speedbar-line-directory, speedbar-goto-this-file)
9743         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9744         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9745         (speedbar-make-button, speedbar-reset-scanners)
9746         (speedbar-files-item-info, speedbar-line-text)
9747         (speedbar-find-file-in-frame, speedbar-set-timer)
9748         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9749         (speedbar-with-writable): Do not (re)define it.
9750         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9751         rather than speedbar- alias.
9753 2013-05-21  Leo Liu  <sdl.web@gmail.com>
9755         * progmodes/octave.el (octave-mode-menu): Update and re-organize
9756         menu items.
9757         (octave-mode): Tweak fill-nobreak-predicate.
9758         (inferior-octave-startup): Check process to avoid infinite loop.
9759         (inferior-octave): Pop to buffer first to show abornmal process
9760         exit information.
9762 2013-05-21  Glenn Morris  <rgm@gnu.org>
9764         * printing.el (pr-menu-bar): Define when compiling.
9766 2013-05-21  Leo Liu  <sdl.web@gmail.com>
9768         * progmodes/octave.el (octave-auto-fill): Remove.
9769         (octave-indent-new-comment-line): Improve.
9770         (octave-mode): Use auto fill mode through
9771         comment-line-break-function and fill-nobreak-predicate.
9772         (octave-goto-function-definition): Support DEFUN_DLD.
9773         (octave-beginning-of-defun): Small tweak.
9774         (octave-help): Show parent directory.
9776 2013-05-21  Glenn Morris  <rgm@gnu.org>
9778         * files.el (dired-unmark):
9779         * progmodes/gud.el (gdb-input): Update declarations.
9781         * calculator.el (electric, ehelp): No need to load when compiling.
9782         (Electric-command-loop, electric-describe-mode): Declare.
9784         * doc-view.el (doc-view-current-converter-processes): Move before use.
9786         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9787         Move MODE-set-explicitly definition before use.
9789         * international/mule-diag.el (mule-diag):
9790         Don't use obsolete window-system-version.
9792         * mail/feedmail.el (smtpmail): No need to load when compiling.
9793         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9795         * mail/mail-utils.el (rfc822): No need to load when compiling.
9796         (rfc822-addresses): Autoload it.
9797         (mail-strip-quoted-names): Trivial simplification.
9799         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9800         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9802         * net/snmp-mode.el (tempo): Don't duplicate requires.
9804         * progmodes/prolog.el (info): No need to load when compiling.
9805         (comint): Require before shell requires it.
9806         (Info-goto-node): Autoload it.
9807         (Info-follow-nearest-node): Declare.
9808         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9810         * textmodes/artist.el (picture-mode-exit): Declare.
9812         * textmodes/reftex-parse.el (reftex-parse-from-file):
9813         Trivial rewrite so the compiler can parse it better.
9815 2013-05-20  Leo Liu  <sdl.web@gmail.com>
9817         * progmodes/octave.el (octave-help-mode-map)
9818         (octave-help-mode-finish-hook): New variables.
9819         (octave-help-mode, octave-help-mode-finish): New functions.
9820         (octave-help): Use octave-help-mode.
9822 2013-05-20  Glenn Morris  <rgm@gnu.org>
9824         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
9826 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
9828         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9829         start at point, so that expansion starting right after opening
9830         slash in a regexp is recognized.
9831         (ruby-syntax-before-regexp-re): New defvar, extracted from
9832         ruby-syntax-propertize-function.  Since the value of this regexp
9833         is looked up at runtime now, we should be able to turn
9834         `ruby-syntax-methods-before-regexp' into a defcustom later.
9835         (ruby-syntax-propertize-function): Split regexp matching into two
9836         parts, for opening and closing slashes.  That allows us to skip
9837         over string interpolations and support multiline regexps.
9838         Don't call `ruby-syntax-propertize-expansions', instead use another rule
9839         for them, which calls `ruby-syntax-propertize-expansion'.
9840         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9841         call to `ruby-syntax-propertize-function'.
9842         (ruby-syntax-propertize-expansion): Extracted from
9843         `ruby-syntax-propertize-expansions'.  Handles one expansion.
9844         (ruby-syntax-propertize-percent-literal): Leave point right after
9845         the percent symbol, so that the expression expansion rule can
9846         propertize the contents.
9847         (ruby-syntax-propertize-heredoc): Leave point at bol following the
9848         heredoc openers.
9849         (ruby-syntax-propertize-expansions): Remove.
9851 2013-05-18  Juri Linkov  <juri@jurta.org>
9853         * man.el (Man-default-man-entry): Remove `-' from the end
9854         of the default value.  (Bug#14400)
9856 2013-05-18  Glenn Morris  <rgm@gnu.org>
9858         * comint.el (comint-password-prompt-regexp):
9859         Allow "password for XXX" where XXX contains colons (eg https://...).
9861 2013-05-18  Leo Liu  <sdl.web@gmail.com>
9863         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9864         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
9865         (octave-source-directories): Don't check process.
9866         (octave-source-directories, octave-find-definition): Doc fix.
9868 2013-05-18  Glenn Morris  <rgm@gnu.org>
9870         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9871         Remove backspace/delete bindings.  (Bug#14392)
9873         * cus-dep.el (custom-make-dependencies): Sort the output.
9874         (custom-versions-load-alist): Convert comment to doc.
9876 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9878         * newcomment.el (comment-search-backward): Stricter in finding
9879         comment start.  (Bug#14303)
9881         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9882         (octave-comment-start-skip): Properly anchored.
9884 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9886         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9887         Clean up when turned off.  (Bug#14395)
9888         (smie--highlight-matching-block-overlay): No longer buffer-local.
9889         (smie-highlight-matching-block): Adjust.
9891 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
9893         Doc string fix for "nanoseconds" (Bug#14406).
9894         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9895         Fix doc string typo that had "nanoseconds" instead of "microseconds".
9897 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9899         * calc/calc-units.el (math-extract-units): Preserve powers
9900         of units.
9902 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9904         * subr.el (delete-consecutive-dups): New function.
9905         * ido.el (ido-set-matches-1): Use it.
9906         * progmodes/octave.el (inferior-octave-completion-table): Use it.
9907         * ido.el (ido-remove-consecutive-dups): Remove.
9909 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9911         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9912         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9913         regexp-opt's `words'.
9915 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9917         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9918         (smie--highlight-matching-block-overlay)
9919         (smie--highlight-matching-block-lastpos)
9920         (smie--highlight-matching-block-timer): New variables.
9921         (smie-highlight-matching-block): New function.
9922         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
9923         (smie-setup): Conditionally enable smie-blink-matching-open.
9925 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
9927         Sync with upstream verilog-mode r840.
9928         * progmodes/verilog-mode.el (verilog-mode-version)
9929         (verilog-mode-release-date): Update.
9930         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9931         (verilog-sig-tieoff): Fix string error on
9932         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
9933         (verilog-read-decls): Fix parameters confusing
9934         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
9936 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
9938         * subr.el (reveal-filename): New function.
9940         * loadup.el: Compute Emacs executable versions on MS-Windows,
9941         where executables have the .exe extension.  Add a hard link
9942         emacs-XX.YY.ZZ.exe on MS-Windows.
9944         * Makefile.in (XARGS_LIMIT): New variable.
9945         (custom-deps, finder-data, autoloads)
9946         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9947         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9948         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9949         (compile-main): Limit xargs according to $(XARGS_LIMIT).
9951 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9953         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9954         (octave-mode-menu, octave-mode-map): Remove its uses.
9956 2013-05-16  Reto Zimmermann  <reto@gnu.org>
9958         Sync with upstream vhdl mode v3.34.2.
9959         * progmodes/vhdl-mode.el: Use `push' throughout.
9960         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9961         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9962         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
9963         (vhdl-actual-generic-name): New option to derive actual generic name.
9964         (vhdl-port-paste-signals): Replace formal by actual generics.
9965         (vhdl-beautify): New name for old group vhdl-align.  Update users.
9966         (vhdl-beautify-options): New option.
9967         (vhdl-last-input-event): New compat alias.  Use throughout.
9968         (vhdl-goto-line): Replace user level function `goto-line'.
9969         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9970         vhdl-fix-statement-buffer.
9971         (vhdl-create-mode-menu): Add some entries.
9972         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9973         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9974         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9975         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9976         to force statements on one line.
9977         (vhdl-remove-trailing-spaces-region):
9978         New, split from vhdl-remove-trailing-spaces.
9979         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9980         Respect vhdl-beautify-options.
9981         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9982         (vhdl-update-sensitivity-list): Not add with index if exists without.
9983         Not include array index with signal.  Ignore keywords in comments.
9984         (vhdl-get-visible-signals): Regexp tweaks.
9985         (vhdl-template-component-inst): Handle empty library.
9986         (vhdl-template-type): Add template for 'enum' type.
9987         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9988         Use vhdl-replace-string.
9989         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9990         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9991         (vhdl-speedbar-initialize): Update for above name change.
9992         (vhdl-compose-wire-components): Fix in handling of constants.
9993         (vhdl-error-regexp-emacs-alist): New variable.
9994         (vhdl-error-regexp-add-emacs): New function;
9995         adds support for new compile.el (Emacs 22+)
9996         (vhdl-generate-makefile-1): Change target order for single lib. units.
9997         Allow use of absolute file names.
9999 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10001         * simple.el (prog-indent-sexp): Indent enclosing defun.
10003 2013-05-15  Glenn Morris  <rgm@gnu.org>
10005         * cus-start.el (show-trailing-whitespace): Move to editing basics.
10006         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10007         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10008         (whitespace-highlight): Move to whitespace group.
10010         * comint.el (comint-source):
10011         * pcmpl-linux.el (pcmpl-linux):
10012         * shell.el (shell-faces):
10013         * eshell/esh-opt.el (eshell-opt):
10014         * international/ccl.el (ccl): Remove empty custom groups.
10016         * completion.el (dynamic-completion-mode):
10017         * jit-lock.el (jit-lock-debug-mode):
10018         * minibuffer.el (completion-in-region-mode):
10019         * type-break.el (type-break-mode-line-message-mode)
10020         (type-break-query-mode):
10021         * emulation/tpu-edt.el (tpu-edt-mode):
10022         * progmodes/subword.el (global-subword-mode, global-superword-mode):
10023         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10024         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10026         * term/xterm.el (xterm): Change parent group to terminals.
10028         * master.el (master): Remove empty custom group.
10029         (master-mode): Remove unused :group argument.
10030         * textmodes/refill.el (refill): Remove empty custom group.
10031         (refill-mode): Remove unused :group argument.
10033         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10035         * cus-dep.el: Provide a feature.
10036         (custom-make-dependencies): Ignore dotfiles (dir-locals).
10037         Don't mistakenly ignore files whose basenames match a basename
10038         from preloaded-file-list (eg cedet/ede/simple.el).
10039         Add a fallback method for getting :group.
10041 2013-05-15  Juri Linkov  <juri@jurta.org>
10043         * isearch.el (isearch-char-by-name): Rename from
10044         `isearch-insert-char-by-name'.  Doc fix.
10045         (isearch-forward): Mention `isearch-char-by-name' in
10046         the docstring.  (Bug#13348)
10048         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10049         `exit-minibuffer' instead of
10050         `isearch-nonincremental-exit-minibuffer'.
10051         (isearch-edit-string): Remove mention of
10052         `isearch-nonincremental-exit-minibuffer' from docstring.
10053         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10054         (isearch-forward-exit-minibuffer)
10055         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
10057 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10059         * loadup.el: Just use unversioned DOC.
10061         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10062         literals as extending to EOB.
10063         (nxml-last-fontify-end): Remove unused variable.
10064         (nxml-after-change1): Use with-silent-modifications.
10065         (nxml-extend-after-change-region): Simplify.
10066         (nxml-extend-after-change-region1): Remove function.
10067         (nxml-after-change1): Don't adjust for dependent regions.
10068         (nxml-fontify-matcher): Simplify.
10069         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10070         (xmltok-add-dependent): Remove function.
10071         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10072         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10073         (xmltok-scan-prolog-after-processing-instruction-open): Treat
10074         unclosed <[[, <?, comment, and other literals as extending to EOB.
10075         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10076         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10077         Remove functions.
10078         (rng-do-some-validation-1): Don't mark dependent regions.
10079         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10080         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10081         (nxml-clear-dependent-regions): Remove functions.
10082         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10083         (nxml-ensure-scan-up-to-date):
10084         Don't clear&mark dependent regions.
10086 2013-05-15  Leo Liu  <sdl.web@gmail.com>
10088         * progmodes/octave.el (octave-goto-function-definition):
10089         Improve and fix callers.
10091 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10093         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10094         the setter (bug#14387).
10096         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10097         surrounding group (bug#14402).
10099 2013-05-14  Juri Linkov  <juri@jurta.org>
10101         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10102         (Bug#14390)
10104 2013-05-14  Glenn Morris  <rgm@gnu.org>
10106         * progmodes/f90.el (f90-imenu-generic-expression):
10107         Fix typo in 2013-05-08 change.  (Bug#14402)
10109 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10111         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10112         Remove signals for which replies are never received.
10114 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10116         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10117         (gdb-handler-alist, gdb-handler-number): Remove variables.
10118         (gdb-handler-list): New variable.
10119         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10120         (gdb-pending-handler-p, gdb-handle-reply)
10121         (gdb-remove-all-pending-triggers): New functions.
10122         (gdb-discard-unordered-replies): New defcustom.
10123         (gdb-handler): New defstruct.
10124         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
10125         instead of gdb-pending-triggers.  Update docstring.
10126         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
10127         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10128         (gdb-var-update-handler, def-gdb-auto-update-trigger)
10129         (def-gdb-auto-update-handler, gdb-get-changed-registers)
10130         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10131         (gdb-frame-handler): Pending triggers are now automatically managed.
10132         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10133         Remove argument.
10134         (gdb-input): Automatically handles pending triggers.  Update docstring.
10135         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10136         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10137         Update comments.
10138         (gdb-done-or-error): Now use gdb-handle-reply.
10140 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10142         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10143         gdb-debug-log.
10145 2013-05-14  Glenn Morris  <rgm@gnu.org>
10147         * subr.el (user-emacs-directory-warning): New option.
10148         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
10150 2013-05-14  Leo Liu  <sdl.web@gmail.com>
10152         * progmodes/octave.el (octave-font-lock-keywords): Fix error
10153         during redisplay.
10154         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10155         (octave-font-lock-texinfo-comment): Fix invalid search bound
10156         error: wrong side of point.
10158 2013-05-14  Glenn Morris  <rgm@gnu.org>
10160         * progmodes/flymake.el (flymake-xml-program): New option.
10161         (flymake-xml-init): Use it.
10163         * term/xterm.el: Provide a feature.
10165         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
10167 2013-05-13  Glenn Morris  <rgm@gnu.org>
10169         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10170         Add compat aliases as a hack workaround.  (Bug#14384)
10172 2013-05-13  Leo Liu  <sdl.web@gmail.com>
10174         * progmodes/octave.el (octave-indent-comment): Fix indentation for
10175         ###, and %!.
10176         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10177         C-M-q.
10178         (octave-comment-start-skip): Include %!.
10179         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10181 2013-05-12  Leo Liu  <sdl.web@gmail.com>
10183         * progmodes/octave.el (inferior-octave-startup): Store the value
10184         of __octave_srcdir__ for octave-source-directories.
10185         (inferior-octave-check-process): New function refactored out of
10186         inferior-octave-send-list-and-digest.
10187         (octave-source-directories)
10188         (octave-find-definition-filename-function): New variables.
10189         (octave-source-directories)
10190         (octave-find-definition-default-filename): New functions.
10191         (octave-find-definition): Improve to find functions implemented in C++.
10193 2013-05-12  Glenn Morris  <rgm@gnu.org>
10195         * calendar/diary-lib.el (diary-outlook-format-1):
10196         Don't include dayname in the output.  (Bug#14349)
10198 2013-05-11  Glenn Morris  <rgm@gnu.org>
10200         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10202         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10203         Treat cc-provide like provide.
10205 2013-05-11  Kevin Ryde  <user42@zip.com.au>
10207         * cus-dep.el (custom-make-dependencies):
10208         Use generated-autoload-load-name for the sake of files such
10209         such cedet/semantic/bovine/c.el, where the base file name
10210         is not in load-path.  (Bug#5277)
10212 2013-05-11  Glenn Morris  <rgm@gnu.org>
10214         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10215         Provide features.
10217 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10219         * progmodes/octave.el (octave-indent-comment): Improve.
10220         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10221         (octave-eldoc-function-signatures, octave-eldoc-function):
10222         New functions.
10223         (octave-mode, inferior-octave-mode): Add eldoc support.
10225 2013-05-11  Richard Stallman  <rms@gnu.org>
10227         * epa.el (epa-decrypt-file): Take output file name as argument
10228         and read it using `interactive'.
10230 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10232         * progmodes/octave.el (octave-beginning-of-line)
10233         (octave-end-of-line): Check before using up-list because it jumps
10234         out of more syntactic contructs since moving to smie.
10235         (octave-indent-comment): New function.
10236         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
10237         (octave-begin-keywords, octave-end-keywords)
10238         (octave-reserved-words, octave-smie-bnf-table)
10239         (octave-smie-rules): Add new keywords from Octave 3.6.4.
10241 2013-05-11  Glenn Morris  <rgm@gnu.org>
10243         * faces.el (internal-face-x-get-resource):
10244         * frame.el (ns-display-monitor-attributes-list):
10245         * calc/calc-aent.el (math-to-radians-2):
10246         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10247         Fix declarations.
10249         * calc/calc-menu.el: Make it loadable in isolation.
10251         * net/eudcb-bbdb.el: Make it loadable without bbdb.
10252         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10253         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10254         (eudc-bbdb-query-internal): Require 'bbdb.
10256         * lpr.el (lpr-headers-switches):
10257         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10259         * progmodes/sql.el (sql-login-params): Fix and improve :type.
10261         * emulation/edt-mapper.el: In batch mode, error rather than hang.
10263         * term.el (term-set-escape-char): Make it idempotent.
10265 2013-05-10  Leo Liu  <sdl.web@gmail.com>
10267         * progmodes/octave.el (inferior-octave-completion-table):
10268         No longer a function and all uses changed.  Use cache to speed up
10269         completion due to bug#11906.
10270         (octave-beginning-of-defun): Re-write to be more general.
10272 2013-05-10  Glenn Morris  <rgm@gnu.org>
10274         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10276 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10278         * comint.el (comint-redirect-send-command-to-process): Use :around
10279         rather than :override for comint-redirect-filter.
10280         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10281         Call it instead of comint-redirect-original-filter-function (which
10282         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
10284 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
10286         * frame.el (display-monitor-attributes-list): Add NS case.
10287         (ns-display-monitor-attributes-list): Declare.
10289 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
10291         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
10293 2013-05-09  Glenn Morris  <rgm@gnu.org>
10295         * international/fontset.el (vertical-centering-font-regexp):
10296         Set standard-value.
10298         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10300         * bookmark.el (bookmark-search-delay):
10301         * cus-start.el (vertical-centering-font-regexp):
10302         * ps-mule.el (ps-mule-font-info-database-default):
10303         * ps-print.el (ps-default-fg, ps-default-bg):
10304         * type-break.el (type-break-good-break-interval):
10305         * whitespace.el (whitespace-indentation-regexp)
10306         (whitespace-space-after-tab-regexp):
10307         * emacs-lisp/testcover.el (testcover-1value-functions)
10308         (testcover-noreturn-functions, testcover-progn-functions)
10309         (testcover-prog1-functions):
10310         * emulation/viper-init.el (viper-emacs-state-cursor-color):
10311         * eshell/em-glob.el (eshell-glob-translate-alist):
10312         * play/tetris.el (tetris-tty-colors):
10313         * progmodes/cpp.el (cpp-face-default-list):
10314         * progmodes/flymake.el (flymake-allowed-file-name-masks):
10315         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10316         (idlwave-help-browser-generic-args):
10317         * progmodes/make-mode.el (makefile-special-targets-list):
10318         * progmodes/python.el (python-shell-virtualenv-path):
10319         * progmodes/verilog-mode.el (verilog-active-low-regexp)
10320         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10321         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10322         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10323         * textmodes/reftex-vars.el (reftex-format-label-function):
10324         * textmodes/remember.el (remember-diary-file): Fix custom types.
10326         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10327         Add :version.
10329 2013-05-09  Leo Liu  <sdl.web@gmail.com>
10331         * progmodes/octave.el (inferior-octave-completion-at-point):
10332         Restore file completion.  (Bug#14300)
10333         (inferior-octave-startup): Fix incorrect highlighting for the
10334         first prompt.
10336 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10338         * progmodes/ruby-mode.el: First cut at SMIE support.
10339         (ruby-use-smie): New var.
10340         (ruby-smie-grammar): New constant.
10341         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10342         (ruby-smie--forward-token, ruby-smie--backward-token)
10343         (ruby-smie-rules): New functions.
10344         (ruby-mode-variables): Setup SMIE if applicable.
10346 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
10348         * simple.el (line-move-visual): Signal beginning/end of buffer
10349         only if vertical-motion moved less than it was requested.  Avoids
10350         silly incorrect error messages when there are display strings with
10351         multiple newlines at EOL.
10353 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10355         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10356         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10357         (prolog-char-quote-workaround):
10358         * progmodes/cperl-mode.el (cperl-under-as-char):
10359         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10360         Mark as obsolete.
10361         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10362         their declaration.
10363         (vhdl-mode-syntax-table-init): Remove.
10365         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10366         last change.
10368         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10369         syntax for "_".
10370         (ld-script-font-lock-keywords):
10371         Change regexps to use things like \_< and \_>.
10373         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10374         Change all regexps to use things like \_< and \_>.
10376         * progmodes/autoconf.el (autoconf-definition-regexp)
10377         (autoconf-font-lock-keywords, autoconf-current-defun-function):
10378         Handle a _ with symbol syntax.
10379         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10381         * progmodes/ada-mode.el (ada-mode-abbrev-table):
10382         Consolidate declaration.
10383         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10384         the declaration.
10385         (ada-create-syntax-table): Remove.
10386         (ada-capitalize-word): Don't mess with the syntax of "_" since it
10387         already has the right syntax nowadays.
10388         (ada-goto-next-word): Don't change the syntax of "_".
10390         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10391         with-wrapper-hook.
10393 2013-05-08  Sam Steingold  <sds@gnu.org>
10395         * thingatpt.el (thing-at-point): Accept optional second argument
10396         NO-PROPERTIES to strip the text properties from the return value.
10397         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10398         to `thing-at-point' instead of stripping the properties ourselves.
10399         Also, when `thing-at-point' fails to find a url, prepend "http://"
10400         to the filename at point on the assumption that the user is
10401         pointing at something like gnu.org/gnu.
10403 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
10405         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10406         * faces.el (crm-separator):
10407         Silence byte-compiler.
10409         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10410         (tool-bar-map): Remove unneeded defvars.
10412 2013-05-08  Leo Liu  <sdl.web@gmail.com>
10414         Re-work a fix for bug#10994 based on Le Wang's patch.
10415         * ido.el (ido-remove-consecutive-dups): New helper.
10416         (ido-completing-read): Use it.
10417         (ido-chop): Revert fix for bug#10994.
10419 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
10421         * cus-edit.el (custom-save-variables):
10422         Pretty-print long values.  (Bug#14187)
10424 2013-05-08  Glenn Morris  <rgm@gnu.org>
10426         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10427         (m4-mode-syntax-table): Init in the defvar.
10428         (m4-mode-abbrev-table): Let define-derived-mode define it.
10430 2013-05-08  Tom Tromey  <tromey@redhat.com>
10432         * progmodes/m4-mode.el (m4-mode-syntax-table):
10433         Do not treat "_" as word constituent.  (Bug#14167)
10435 2013-05-07  Glenn Morris  <rgm@gnu.org>
10437         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10438         Remove explicit eshell-isearch-cancel-map.
10440         * progmodes/f90.el (f90-smart-end-names): New option.
10441         (f90-smart-end): Doc fix.
10442         (f90-end-block-optional-name): New constant.
10443         (f90-block-match): Respect f90-smart-end-names.
10445 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10447         * progmodes/octave.el (octave-smie-forward-token): Be more careful
10448         about implicit semi-colons (bug#14218).
10450 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10452         * frame.el (display-monitor-attributes-list)
10453         (frame-monitor-attributes): New functions.
10455 2013-05-06  Leo Liu  <sdl.web@gmail.com>
10457         * progmodes/octave.el (octave-syntax-propertize-function): Change
10458         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
10459         (octave-font-lock-keywords): Use octave-operator-regexp.
10460         (octave-completion-at-point): Rename from
10461         octave-completion-at-point-function.
10462         (inferior-octave-directory-tracker): Robustify.
10463         (octave-text-functions): Remove and fix its uses.  No such things
10464         any more.
10466 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10468         * emacs-lisp/trace.el (trace--display-buffer): New function.
10469         (trace-make-advice): Use it.
10471 2013-05-06  Juri Linkov  <juri@jurta.org>
10473         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
10474         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10475         Doc fix.
10476         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10477         in the help string.  (Bug#12985)
10479 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
10481         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
10483 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10485         * progmodes/perl-mode.el: Add support for here documents.
10486         (perl-syntax-propertize-function): Match here-doc markers.
10487         (perl-syntax-propertize-special-constructs): Find their end.
10488         (perl-imenu-generic-expression): Use [:alnum:].
10490         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10491         (advice--add-function): Refresh the advice if already present
10492         (bug#14317).
10494 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
10496         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
10498 2013-05-06  Glenn Morris  <rgm@gnu.org>
10500         * w32-fns.el (w32-charset-info-alist): Declare.
10502         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10503         of its defcustom properties.
10504         (eshell-cmpl-initialize): No need to load pcomplete.
10506         * generic-x.el: No need to require comint when compiling.
10508         * net/eudc-export.el: Make it loadable without bbdb.
10509         (top-level): Use require rather than load-library.
10510         (eudc-create-bbdb-record, eudc-bbdbify-phone)
10511         (eudc-batch-export-records-to-bbdb)
10512         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10513         Require bbdb.
10515 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10517         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10518         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10519         some tweaks, instead.
10521 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10523         * progmodes/octave.el (octave-font-lock-keywords)
10524         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10525         (inferior-octave-send-list-and-digest): Improve error message.
10526         (octave-mode, inferior-octave-mode): Use setq-local.
10527         (octave-help): Set info-lookup-mode.
10529 2013-05-05  Richard Stallman  <rms@gnu.org>
10531         * vc/compare-w.el (compare-windows-whitespace):
10532         Treat no-break space as whitespace.
10534         * mail/rmailsum.el (rmail-summary-rmail-update):
10535         Detect empty summary and don't change selected message.
10536         (rmail-summary-goto-msg): Likewise.
10538         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10539         Doc fixes, rename args.
10541 2013-05-05  Alan Mackenzie  <acm@muc.de>
10543         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10545 2013-05-05  Juri Linkov  <juri@jurta.org>
10547         * info.el (Info-read-subfile): Use (point-min) instead of (point)
10548         to not add the length of the summary segment to the return value.
10549         (Bug#14125)
10551 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10553         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10554         (inferior-octave-output-filter): Remove.
10555         (octave-send-region, inferior-octave-startup): Fix callers.
10556         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10557         (octave-binary-file-extensions): New user variable.
10558         (octave-find-definition): Confirm if opening binary files.
10559         (octave-help-file): Use octave-find-definition to get the binary
10560         confirmation.
10561         (octave-help): Adjust for octave-help-file change.
10563 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10565         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10566         Merge the two entries that handle function definitions.
10567         (pascal--syntax-propertize): New const.
10568         (pascal-mode): Use it.  Use setq-local.
10570 2013-05-04  Glenn Morris  <rgm@gnu.org>
10572         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10573         (diary-from-outlook): Respect diary-from-outlook-function.
10575 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10577         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10578         Move the declaration from C.
10579         (read-minibuffer, eval-minibuffer): Move from C.
10580         (completion-setup-function): Avoid minibuffer-completion-contents.
10582 2013-05-03  Leo Liu  <sdl.web@gmail.com>
10584         * progmodes/octave.el (octave-font-lock-keywords): Do not
10585         dehighlight 'end' in comments or strings.
10586         (octave-completing-read, octave-goto-function-definition):
10587         New helpers.
10588         (octave-help-buffer): New user variable.
10589         (octave-help-file, octave-help-function): New button types.
10590         (octave-help): New command and bind it to C-h ;.
10591         (octave-find-definition): New command and bind it to M-.
10592         (user-error): Alias to error if not defined.
10594 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10596         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10597         for \.  (bug#14332)
10598         (octave-font-lock-keywords): Include [ and {.
10600 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10602         * progmodes/octave.el (inferior-octave-startup-file): Change default.
10603         (inferior-octave): Remove calling comint-mode and return the buffer.
10604         (inferior-octave-startup): Cosmetic changes.
10606 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10608         * progmodes/octave.el (octave-syntax-propertize-function):
10609         Include the case when ' is at line beginning.  (Bug#14336)
10611 2013-05-02  Glenn Morris  <rgm@gnu.org>
10613         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10614         * desktop.el (vc-dir-mode): Just autoload it here.
10616 2013-05-02  Alan Mackenzie  <acm@muc.de>
10618         Eliminate variable c-standard-font-lock-fontify-region-function.
10619         * progmodes/cc-mode.el
10620         (c-standard-font-lock-fontify-region-function): Remove.
10621         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10623 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10625         * progmodes/octave.el: Compatible with older emacs-24 releases.
10626         (inferior-octave-has-built-in-variables): Remove.  Built-in
10627         variables were removed from Octave in 2007.
10628         (inferior-octave-startup): Fix uses.
10629         (comint-line-beginning-position): Remove compatibility code for
10630         emacs 21.
10632 2013-05-01  Juri Linkov  <juri@jurta.org>
10634         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
10636 2013-05-01  Juri Linkov  <juri@jurta.org>
10638         * comint.el (comint-previous-matching-input): Don't print message
10639         "History item: %d" when `isearch-mode' is active.
10640         (comint-history-isearch-message): Print message "History item: %d"
10641         when `comint-input-ring-index' is not empty and this function is
10642         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
10644 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10646         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10647         definitions.  Use completion-at-point to insert keywords.
10648         (octave-abbrev-start): Remove.
10649         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10651 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10653         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10654         change.
10656 2013-04-30  Alan Mackenzie  <acm@muc.de>
10658         Handle arbitrarily long C++ member initialisation lists.
10659         * progmodes/cc-engine.el (c-back-over-member-initializers):
10660         new function.
10661         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10662         (most) member init lists.
10664 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10666         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10667         variable.
10669 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10671         * progmodes/octave.el (octave-variables): Remove.  No builtin
10672         variables any more.  All converted to functions.
10673         (octave-font-lock-keywords, octave-completion-at-point-function):
10674         Fix uses.
10675         (octave-font-lock-texinfo-comment): New user variable.
10676         (octave-texinfo-font-lock-keywords): New variable for texinfo
10677         comment block.
10678         (octave-function-comment-block): New face.
10679         (octave-font-lock-texinfo-comment): New function.
10680         (octave-mode): Font lock texinfo comment block.
10682 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10684         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10685         indexing expression.
10686         (octave-continuation-string): Do not use \.
10687         (inferior-octave-complete-impossible): Remove.
10688         (inferior-octave-completion-table)
10689         (inferior-octave-completion-at-point): Remove its uses.
10690         (inferior-octave-startup): completion_matches was introduced to
10691         Octave in 1996 so safe to assume it.
10692         (octave-function-file-comment): Improve to follow how Octave does it.
10693         (octave-update-function-file-comment): Tweak.
10695 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10697         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10698         (inferior-octave-startup): Remove inferior-octave-startup-hook.
10699         (octave-function-file-comment): Fix typo.
10700         (octave-sync-function-file-names): Use read-char-choice.
10702 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
10704         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10705         to t for the less important warnings.
10707 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
10709         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
10711 2013-04-27  Glenn Morris  <rgm@gnu.org>
10713         * vc/log-view.el (log-view-current-entry):
10714         Treat "---" separator lines as part of the following rev.  (Bug#14169)
10716 2013-04-27  Juri Linkov  <juri@jurta.org>
10718         * subr.el (read-number): Doc fix about using it by interactive
10719         code letter `n'.  (Bug#14254)
10721 2013-04-27  Juri Linkov  <juri@jurta.org>
10723         * desktop.el (desktop-auto-save-timeout): New option.
10724         (desktop-file-checksum): New variable.
10725         (desktop-save): Add optional arg `auto-save' and don't auto-save
10726         if nothing changed.
10727         (desktop-auto-save-timer): New variable.
10728         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10729         (after-init-hook): Call `desktop-auto-save-set-timer'.
10730         Suggested by Reuben Thomas <rrt@sc3d.org> in
10731         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10733 2013-04-27  Leo Liu  <sdl.web@gmail.com>
10735         * progmodes/octave.el (octave-function-file-p)
10736         (octave-skip-comment-forward, octave-function-file-comment)
10737         (octave-update-function-file-comment): New functions.
10738         (octave-mode-map): Bind C-c ; to
10739         octave-update-function-file-comment.
10740         (octave-mode-menu): Add octave-update-function-file-comment.
10741         (octave-mode, inferior-octave-mode): Fix doc-string.
10742         (octave-insert-defun): Conform to Octave's coding convention.
10743         (Bug#14285)
10745         * files.el (basic-save-buffer): Don't let errors in
10746         before-save-hook prevent saving buffer.
10748 2013-04-20  Roland Winkler  <winkler@gnu.org>
10750         * faces.el (read-face-name): Use completing-read if arg multiple
10751         is nil.
10753 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
10755         * ls-lisp.el (ls-lisp-insert-directory): If no files are
10756         displayed, move point to after the totals line.
10757         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10758         for the details.
10760 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10762         * emacs-lisp/package.el (package-autoload-ensure-default-file):
10763         Add current dir to the load-path.
10764         (package-generate-autoloads): Don't rely on
10765         autoload-ensure-default-file.
10767 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
10769         * textmodes/remember.el (remember-store-in-files): Document that
10770         the file name format is passed to `format-time-string'.
10772 2013-04-26  Leo Liu  <sdl.web@gmail.com>
10774         * progmodes/octave.el (octave-sync-function-file-names): New function.
10775         (octave-mode): Use it in before-save-hook.
10777 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10779         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10780         (bug#14274).
10782         * progmodes/octave.el (octave-smie-forward-token): Properly skip
10783         \n and comment, even if it's not an implicit ; (bug#14218).
10785 2013-04-26  Glenn Morris  <rgm@gnu.org>
10787         * subr.el (read-number): Once more use `read' rather than
10788         `string-to-number', to trap non-numeric input.  (Bug#14254)
10790 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
10792         * emacs-lisp/syntax.el (syntax-propertize-multiline):
10793         Use `syntax-multiline' text property consistently instead of
10794         `font-lock-multiline'.  (Bug#14237)
10796 2013-04-26  Glenn Morris  <rgm@gnu.org>
10798         * emacs-lisp/shadow.el (list-load-path-shadows):
10799         No longer necessary to check for duplicate simple.el, since
10800         2012-07-07 change to init_lread to not include installation lisp
10801         directories in load-path when running uninstalled.  (Bug#14270)
10803 2013-04-26  Leo Liu  <sdl.web@gmail.com>
10805         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10806         (octave-mode, inferior-octave-mode): Use setq-local.
10807         (octave-not-in-string-or-comment-p): Rename to
10808         octave-in-string-or-comment-p.
10809         (octave-in-comment-p, octave-in-string-p)
10810         (octave-in-string-or-comment-p): Replace defsubst with defun.
10812 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
10814         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10816 2013-04-25  Bastien Guerry  <bzg@gnu.org>
10818         * textmodes/remember.el (remember-data-directory)
10819         (remember-directory-file-name-format): Fix custom types.
10821 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10823         * progmodes/octave.el (octave-completion-at-point-function):
10824         Make use of inferior octave process.
10825         (octave-initialize-completions): Remove.
10826         (inferior-octave-completion-table): New function.
10827         (inferior-octave-completion-at-point): Use it.
10828         (octave-completion-alist): Remove.
10830 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10832         * progmodes/opascal.el: Use font-lock and syntax-propertize.
10833         (opascal-mode-syntax-table): New var.
10834         (opascal-literal-kind, opascal-is-literal-end)
10835         (opascal-literal-token-at): Rewrite.
10836         (opascal--literal-start-re, opascal-font-lock-keywords)
10837         (opascal--syntax-propertize): New constants.
10838         (opascal-font-lock-defaults): Adjust.
10839         (opascal-mode): Use them.  Set comment-<foo> variables as well.
10840         (delphi-comment-face, opascal-comment-face, delphi-string-face)
10841         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10842         (delphi-other-face, opascal-other-face): Remove face variables.
10843         (opascal-save-state): Remove macro.
10844         (opascal-fontifying-progress-step): Remove constant.
10845         (opascal--ignore-changes): Remove var.
10846         (opascal-set-token-property, opascal-parse-next-literal)
10847         (opascal-is-stable-literal, opascal-complete-literal)
10848         (opascal-is-literal-start, opascal-face-of)
10849         (opascal-parse-region, opascal-parse-region-until-stable)
10850         (opascal-fontify-region, opascal-after-change)
10851         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10852         (opascal-debug-parse-region, opascal-debug-parse-window)
10853         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10854         (opascal-debug-fontify-buffer): Remove.
10855         (opascal-debug-mode-map): Adjust accordingly.
10857 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10859         Merge octave-mod.el and octave-inf.el into octave.el with some
10860         cleanups.
10861         * progmodes/octave.el: New file renamed from octave-mod.el.
10862         * progmodes/octave-inf.el: Merged into octave.el.
10863         * progmodes/octave-mod.el: Renamed to octave.el.
10865 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
10867         * textmodes/reftex-vars.el
10868         (reftex-label-ignored-macros-and-environments): New defcustom.
10870         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10872 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10874         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10875         (smie-indent-keyword): Improve the check to ensure that the next
10876         comment is really on the same line.
10877         (smie-indent-comment): Don't align with a subsequent closer (or eob).
10879         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10880         semi-colons if the line is not otherwise empty (bug#14218).
10882 2013-04-25  Glenn Morris  <rgm@gnu.org>
10884         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10886 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10888         * progmodes/opascal.el (opascal-set-token-property): Rename from
10889         opascal-set-text-properties and only set `token' (bug#14134).
10890         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10891         (opascal-literal-text-properties): Remove.
10892         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10893         Adjust callers.
10895 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
10897         * textmodes/remember.el (remember-handler-functions): Add an
10898         option for a new handler `remember-store-in-files'.
10899         (remember-data-directory, remember-directory-file-name-format):
10900         New options.
10901         (remember-store-in-files): New function to store remember notes
10902         as separate files within a directory.
10904 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
10906         * progmodes/compile.el (compilation-next-error-function):
10907         Pass "formats" to compilation-find-file (bug#11777).
10909 2013-04-24  Glenn Morris  <rgm@gnu.org>
10911         * vc/vc-bzr.el (vc-bzr-print-log):
10912         * vc/vc-hg.el (vc-hg-print-log):
10913         * vc/vc-svn.el (vc-svn-print-log):
10914         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
10916         * vc/vc-bzr.el (vc-bzr-print-log):
10917         * vc/vc-cvs.el (vc-cvs-print-log):
10918         * vc/vc-git.el (vc-git-print-log):
10919         * vc/vc-hg.el (vc-hg-print-log):
10920         * vc/vc-mtn.el (vc-mtn-print-log):
10921         * vc/vc-rcs.el (vc-rcs-print-log):
10922         * vc/vc-sccs.el (vc-sccs-print-log):
10923         * vc/vc-svn.el (vc-svn-print-log):
10924         * vc/vc.el (vc-print-log-internal): Doc fixes.
10926 2013-04-23  Glenn Morris  <rgm@gnu.org>
10928         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10929         Remove venerable code attempting to avoid substitute-command-keys.
10931 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
10933         * textmodes/reftex-vars.el (reftex-label-regexps):
10934         Call `reftex-compile-variables' after changes to this variable.
10936 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10938         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10939         Use lexical-binding.
10940         (jit-lock-force-redisplay): Use markers, check buffer's continued
10941         existence and beware narrowed buffers.
10942         (jit-lock-fontify-now): Adjust call accordingly.
10944 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10946         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10947         to avoid misleading the user.
10949 2013-04-22  Leo Liu  <sdl.web@gmail.com>
10951         * info-look.el: Prefer latex2e.info.  (Bug#14240)
10953 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
10955         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
10957         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10958         * net/tramp.el (tramp-call-process): ... here.
10959         (tramp-set-completion-function, tramp-parse-putty):
10960         * net/tramp-adb.el (tramp-adb-execute-adb-command):
10961         * net/tramp-gvfs.el (tramp-gvfs-send-command):
10962         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10963         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10964         (tramp-call-local-coding-command): Use `tramp-call-process'
10965         instead of `tramp-compat-call-process'.
10967         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10968         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10969         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10970         (tramp-find-inline-compress): Improve traces.
10971         (tramp-maybe-send-script): Check for Perl binary.
10972         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10974 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10976         * epg.el (epg-context-pinentry-mode): New function.
10977         (epg-context-set-pinentry-mode): New function.
10978         (epg--start): Pass --pinentry-mode option to gpg command.
10980 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10982         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10983         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10984         `completion-at-point'.  (Bug#13774)
10986         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10987         default key binding for `describe-distribution' has been moved to
10988         `C-h C-o'.  (Bug#13970)
10990 2013-04-21  Glenn Morris  <rgm@gnu.org>
10992         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10993         Add doc strings.
10994         (vc-print-log): Clarify interactive prompt.
10996 2013-04-20  Glenn Morris  <rgm@gnu.org>
10998         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10999         No longer include timestamp etc information.
11001 2013-04-20  Roland Winkler  <winkler@gnu.org>
11003         * faces.el (read-face-name): Bug fix, return just one face if arg
11004         multiple is nil.  (Bug#14209)
11006 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11008         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11009         (remove-function): Autoload.
11011         * comint.el (comint-redirect-original-filter-function): Remove.
11012         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11013         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11014         (vc-cvs-annotate-command):
11015         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11016         * progmodes/prolog.el (prolog-consult-compile):
11017         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11018         Use add/remove-function instead.
11019         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11020         (gud-tooltip-process-output, gud-tooltip-tips):
11021         Use add/remove-function instead.
11022         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11023         (scheme-interaction-mode, exit-scheme-interaction-mode):
11024         Use add/remove-function instead.
11026         * vc/vc-dispatcher.el: Use lexical-binding.
11027         (vc--process-sentinel): Rename from vc-process-sentinel.
11028         Change last arg to be the code to run.  Don't use vc-previous-sentinel
11029         and vc-sentinel-commands any more.
11030         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
11031         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11033 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
11035         * progmodes/sh-script.el (sh-imenu-generic-expression):
11036         Handle function names with a single character.   (Bug#14111)
11038 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
11040         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11041         for subroutines defined in an eval (bug#14182).
11043 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11045         * bookmark.el (bookmark-completing-read): Improve handling of empty
11046         string (bug#14176).
11048 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11050         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11052 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11054         New faster Imenu implementation (bug#14058).
11055         * progmodes/python.el:
11056         (python-imenu-prev-index-position):
11057         (python-imenu-format-item-label-function)
11058         (python-imenu-format-parent-item-label-function)
11059         (python-imenu-format-parent-item-jump-label-function):
11060         New vars.
11061         (python-imenu-format-item-label)
11062         (python-imenu-format-parent-item-label)
11063         (python-imenu-format-parent-item-jump-label)
11064         (python-imenu--put-parent, python-imenu--build-tree)
11065         (python-imenu-create-index, python-imenu-create-flat-index)
11066         (python-util-popn): New functions.
11067         (python-mode): Set imenu-create-index-function to
11068         python-imenu-create-index.
11070 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11072         * winner.el (winner-active-region): Use region-active-p, activate-mark
11073         and deactivate-mark (bug#14225).
11075         * simple.el (deactivate-mark): Don't inline it.
11077 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
11079         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11081 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
11083         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11084         file extensions from the archive-mode entry in order to prefer
11085         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11087 2013-04-18  Leo Liu  <sdl.web@gmail.com>
11089         * bindings.el (help-event-list): Add ?\?.
11091 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11093         * subr.el (with-wrapper-hook): Declare obsolete.
11094         * simple.el (filter-buffer-substring-function): New hook.
11095         (filter-buffer-substring): Use it.
11096         (filter-buffer-substring-functions): Mark obsolete.
11097         * minibuffer.el (completion-in-region-function): New hook.
11098         (completion-in-region): Use it.
11099         (completion-in-region-functions): Mark obsolete.
11100         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11101         * abbrev.el (abbrev-expand-function): New hook.
11102         (expand-abbrev): Use it.
11103         (abbrev-expand-functions): Mark obsolete.
11104         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11105         and :filter-return.
11107 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11109         * progmodes/python.el (python-nav--syntactically): Fix cornercases
11110         and do not care about match data.
11112 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11114         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11115         completion tables when completing error conditions and
11116         `declare' arguments.
11117         (lisp-complete-symbol, field-complete): Mark as obsolete.
11118         (check-parens): Unmatched parens are user errors.
11119         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11121 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
11123         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11124         command changed buffer (ie. `flyspell-pre-buffer' is not current
11125         buffer), which prevents making decisions based on invalid value of
11126         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
11127         cause an error when `flyspell-pre-point' was nil after switching
11128         buffers.
11129         (flyspell-post-command-hook): No longer needs to change buffers when
11130         checking pre-word.  While at it remove unnecessary progn.
11132 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
11134         * textmodes/ispell.el (ispell-add-per-file-word-list):
11135         Fix `flyspell-correct-word-before-point' error when accepting
11136         words and `coment-padding' is an integer by using
11137         `comment-normalize-vars' (Bug #14214).
11139 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11141         New defun movement commands.
11142         * progmodes/python.el (python-nav--syntactically)
11143         (python-nav--forward-defun, python-nav-backward-defun)
11144         (python-nav-forward-defun): New functions.
11146 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11148         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11149         (python-syntax-context): Use named compiler-macro for backwards
11150         compatibility with Emacs 24.x.
11152 2013-04-17  Leo Liu  <sdl.web@gmail.com>
11154         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11155         octave-hide-process-buffer.
11157 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11159         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11160         (bug#14216).
11162 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
11164         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11165         Fix adjustment of offset when receiving incomplete responses from GDB
11166         (bug#14129).
11168 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11170         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11171         python-mode-abbrev-table.
11172         (python-skeleton-define): Adjust accordingly.
11173         (python-mode-abbrev-table): New table that inherits from it so that
11174         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11176         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11177         (abbrev-symbol): Use it.
11178         (abbrev--before-point): Use it since we already handle inheritance.
11180 2013-04-16  Leo Liu  <sdl.web@gmail.com>
11182         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11183         binding to info-lookup-symbol.
11185 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
11187         * minibuffer.el (completion--twq-all):
11188         * term/ns-win.el (ns-initialize-window-system):
11189         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11191 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11193         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11194         global bindings.
11196         * doc-view.el (doc-view-start-process): Handle url-handler directories.
11198 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
11200         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11201         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11202         to nil.
11203         (ruby-end-of-defun): Remove the unused arg, change the docstring
11204         to reflect that this function is only used as the value of
11205         `end-of-defun-function'.
11206         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11207         to reflect an earlier change that beginning/end-of-defun functions
11208         jump between methods in a class definition, as well as top-level
11209         functions.
11211 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11213         * minibuffer.el (minibuffer-complete): Don't just scroll
11214         a *Completions* that's been iconified.
11215         (minibuffer-force-complete): Make sure repetitions do cycle when going
11216         through completion-in-region -> minibuffer-complete.
11218 2013-04-15  Alan Mackenzie  <acm@muc.de>
11220         Correct the placement of c-cpp-delimiters when there're #s not at
11221         col 0.
11223         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11224         place a submatch around the #.
11225         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11226         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
11227         on the #, not BOL.
11229 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11231         * emacs-lisp/nadvice.el: Properly test names when adding advice.
11232         (advice--member-p): New arg `name'.
11233         (advice--add-function, advice-member-p): Use it (bug#14202).
11235 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
11237         Reformulate java imenu-generic-expression.
11238         The old expression contained ill formed regexps.
11240         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11241         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11242         (cc-imenu-java-method-arg-regexp): New defconsts.
11243         (cc-imenu-java-build-type-args-regex): New defun.
11244         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11245         handling of spaces in the regexp.
11247 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11249         * textmodes/ispell.el (ispell-command-loop): Remove
11250         flyspell highlight of a word when ispell accepts it (bug #14178).
11252 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
11254         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11255         uses code from the previous `ange-ftp-run-real-handler'.
11256         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11257         only in case that function exist.  This is needed for proper
11258         unloading of Tramp.
11260 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
11262         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11264         * textmodes/reftex.el (reftex-compile-variables): Use it.
11266 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11268         * files.el (normal-mode): Only use default major-mode if no other mode
11269         was specified.
11271         * emacs-lisp/trace.el (trace-values): New function.
11273         * files.el: Allow : in local variables (bug#14089).
11274         (hack-local-variable-regexp): New var.
11275         (hack-local-variables-prop-line, hack-local-variables): Use it.
11277 2013-04-13  Roland Winkler  <winkler@gnu.org>
11279         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
11280         data before it gets modified by bibtex-beginning-of-entry.
11282 2013-04-13  Roland Winkler  <winkler@gnu.org>
11284         * textmodes/bibtex.el (bibtex-url): Doc fix.
11286 2013-04-13  Roland Winkler  <winkler@gnu.org>
11288         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11289         does not visit a BibTeX file, exclude it from the list of buffers
11290         returned by bibtex-initialize.
11292 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
11294         * window.el (split-window): Remove interactive form, since as a
11295         command this function is a special case of split-window-below.
11296         Correct doc string.
11298 2013-04-12  Roland Winkler  <winkler@gnu.org>
11300         * faces.el (read-face-name): Do not override value of arg default.
11301         Allow single faces and strings as default values.  Remove those
11302         elements from return value that are not faces.
11303         (describe-face): Simplify.
11304         (face-at-point): New optional args thing and multiple so that this
11305         function can provide the same functionality previously provided by
11306         read-face-name.
11307         (make-face-bold, make-face-unbold, make-face-italic)
11308         (make-face-unitalic, make-face-bold-italic, invert-face)
11309         (modify-face, read-face-and-attribute): Use face-at-point.
11311         * cus-edit.el (customize-face, customize-face-other-window)
11312         * cus-theme.el (custom-theme-add-face)
11313         * face-remap.el (buffer-face-set)
11314         * facemenu.el (facemenu-set-face): Use face-at-point.
11316 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
11318         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11320 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
11322         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11323         off leading { and trailing } from field values.
11325 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11327         * emacs-lisp/timer.el (timer--check): New function.
11328         (timer--time, timer-set-function, timer-event-handler): Use it.
11329         (timer-set-idle-time): Simplify.
11330         (timer--activate): CSE.
11331         (timer-event-handler): Give more info in error message.
11332         (internal-timer-start-idle): New function, moved from C.
11334         * mpc.el (mpc-proc): Add `restart' argument.
11335         (mpc-proc-cmd): Use it.
11336         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11337         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11338         less often.
11340 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
11342         * progmodes/sh-script.el: Implement `sh-mode' own
11343         `add-log-current-defun-function' (bug#14112).
11344         (sh-current-defun-name): New function.
11345         (sh-mode): Use the function.
11347 2013-04-09  Bastien Guerry  <bzg@gnu.org>
11349         * simple.el (choose-completion-string): Fix docstring (bug#14163).
11351 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11353         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11355         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11356         timer (bug#14156).
11358 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
11360         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11361         declaration.
11363 2013-04-07  Leo Liu  <sdl.web@gmail.com>
11365         * pcmpl-x.el: New file.
11367 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
11369         Do not set x-display-name until X connection is established.
11370         This is needed to prevent from weird situation described at
11371         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11372         * frame.el (make-frame): Set x-display-name after call to
11373         window system initialization function, not before.
11374         * term/x-win.el (x-initialize-window-system): Add optional
11375         display argument and use it.
11376         * term/w32-win.el (w32-initialize-window-system):
11377         * term/ns-win.el (ns-initialize-window-system):
11378         * term/pc-win.el (msdos-initialize-window-system):
11379         Add compatible optional display argument.
11381 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
11383         * files.el (normal-backup-enable-predicate): On MS-Windows and
11384         MS-DOS compare truenames of temporary-file-directory and of the
11385         file, so that 8+3 aliases (usually found in $TEMP on Windows)
11386         don't fail comparison by compare-strings.  Also, compare file
11387         names case-insensitively on MS-Windows and MS-DOS.
11389 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11391         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11392         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11394 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
11396         * whitespace.el (whitespace-color-on, whitespace-color-off):
11397         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11399 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
11401         * ispell.el (ispell-set-spellchecker-params):
11402         Really set `ispell-args' for all equivs.
11404 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11406         * ido.el (ido-completions): Use extra elements of ido-decorations
11407         (bug#14143).
11408         (ido-decorations): Update docstring.
11410 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
11412         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11413         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11414         nil during initialization, in order not to miss changes since the
11415         file was opened.  (Bug#14140)
11417 2013-04-05  Leo Liu  <sdl.web@gmail.com>
11419         * kmacro.el (kmacro-call-macro): Fix bug#14135.
11421 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
11423         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11425 2013-04-04  Glenn Morris  <rgm@gnu.org>
11427         * electric.el (electric-pair-inhibit-predicate): Add :version.
11429 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11431         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11432         when a package is required several times (bug#14082).
11434 2013-04-04  Roland Winkler  <winkler@gnu.org>
11436         * faces.el (read-face-name): Behave as promised by the docstring.
11437         Assume that arg default is a list of faces.
11438         (describe-face): Call read-face-name with list of default faces.
11440 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11442         * bookmark.el: Fix deletion of bookmarks (bug#13972).
11443         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11444         (bookmark-bmenu-execute-deletions): Only skip first line if it's
11445         the header.
11446         (bookmark-exit-hook-internal): Save even if list is empty.
11448 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
11450         * emacs-lisp/package.el (package-pinned-packages): New var.
11451         (package--add-to-archive-contents): Obey it (bug#14118).
11453 2013-04-03  Alan Mackenzie  <acm@muc.de>
11455         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11456         Also adapt to the new values of element 7 of a parse state.
11458         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11459         parameter `not-in-delimiter'.  Handle being inside comment opener.
11460         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11461         character in case we're typing a '*' after a '/'.
11462         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11463         instead by passing the parameter to c-state-pp-to-literal.
11465         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11466         for elt. 7 of a parse state.
11468 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
11470         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11471         * international/latin1-disp.el, international/mule-util.el:
11472         * language/cyril-util.el, language/european.el, language/ind-util.el:
11473         * language/lao-util.el, language/thai.el, language/tibet-util.el:
11474         * language/tibetan.el, language/viet-util.el:
11475         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11477 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11479         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11480         (electric-pair-post-self-insert-function): Use it.
11481         (electric-pair-default-inhibit): New function, extracted from
11482         electric-pair-post-self-insert-function.
11484 2013-03-31  Roland Winkler  <winkler@gnu.org>
11486         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11488 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11490         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11492 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
11494         Un-indent after "pass" and "return" statements (Bug#13888)
11495         * progmodes/python.el (python-indent-block-enders): New var.
11496         (python-indent-calculate-indentation): Use it.
11498 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
11500         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11501         defun.  Defining it as defalias could introduce too eager
11502         byte-compiler optimization.  (Bug#14030)
11504 2013-03-30  Chong Yidong  <cyd@gnu.org>
11506         * iswitchb.el (iswitchb-read-buffer): Fix typo.
11508 2013-03-30  Leo Liu  <sdl.web@gmail.com>
11510         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11511         (kmacro-execute-from-register): Pass the keyboard macro to
11512         kmacro-call-macro or repeating won't work correctly.
11514 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
11516         * progmodes/subword.el: Back to using `forward-symbol'.
11518         * subr.el (forward-whitespace, forward-symbol)
11519         (forward-same-syntax): Move from thingatpt.el.
11521 2013-03-29  Leo Liu  <sdl.web@gmail.com>
11523         * kmacro.el (kmacro-to-register): New command.
11524         (kmacro-execute-from-register): New function.
11525         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
11527 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11529         * mpc.el: Use defvar-local and setq-local.
11530         (mpc--proc-connect): Connection failures are not bugs.
11531         (mpc-mode-map): `follow-link' only applies to the buffer's content.
11532         (mpc-volume-map): Bind to the up-events.
11534 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
11536         * progmodes/subword.el (superword-mode): Use `forward-sexp'
11537         instead of `forward-symbol'.
11539 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11541         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11542         (edebug--recursive-edit): Use it.
11543         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11544         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11546 2013-03-28  Leo Liu  <sdl.web@gmail.com>
11548         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
11550 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
11552         * facemenu.el (list-colors-callback): New defvar.
11553         (list-colors-redisplay): New function.
11554         (list-colors-display): Install list-colors-redisplay as the
11555         revert-buffer-function.  (Bug#14063)
11557 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11559         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11560         and suffixes don't overlap (bug#14061).
11562         * case-table.el: Use lexical-binding.
11563         (case-table-get-table): New function.
11564         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
11566 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
11568         * progmodes/subword.el: Add `superword-mode' to do word motion
11569         over symbol_words (parallels and leverages `subword-mode' which
11570         does word motion inside MixedCaseWords).
11572 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
11574         * eshell/em-unix.el: Move su and sudo to...
11575         * eshell/em-tramp.el: ...Eshell tramp module.
11577 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11579         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11580         Change return value to be a sexp.  Delay `get-buffer' to after
11581         restoring the desktop (bug#13951).
11583 2013-03-26  Leo Liu  <sdl.web@gmail.com>
11585         * register.el: Move semantic tag handling back to
11586         cedet/semantic/senator.el.  (Bug#14052)
11588 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11590         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11591         into the prompt either (bug#13963).
11593 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11595         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11596         part of "(error-foo)".
11598 2013-03-24  Juri Linkov  <juri@jurta.org>
11600         * replace.el (list-matching-lines-prefix-face): New defcustom.
11601         (occur-1): Pass `list-matching-lines-prefix-face' to the function
11602         `occur-engine' if `face-differs-from-default-p' returns t.
11603         (occur-engine): Add `,' inside backquote construct to evaluate
11604         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
11605         Pass `prefix-face' to the functions `occur-context-lines' and
11606         `occur-engine-add-prefix'.
11607         (occur-engine-add-prefix, occur-context-lines): Add optional arg
11608         `prefix-face' and propertize the prefix with `prefix-face'.
11609         (Bug#14017)
11611 2013-03-24  Leo Liu  <sdl.web@gmail.com>
11613         * nxml/rng-valid.el (rng-validate-while-idle)
11614         (rng-validate-quick-while-idle): Guard against deleted buffer.
11615         (Bug#13999)
11617         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11618         is the last entry in kill-buffer-hook.
11620         * files.el (kill-buffer-hook): Doc fix.
11622 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
11624         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11625         Make it safe-local.
11627         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11629 2013-03-23  Leo Liu  <sdl.web@gmail.com>
11631         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11632         Remove.
11634         * nxml/rng-valid.el (rng-validate-mode)
11635         (rng-after-change-function, rng-do-some-validation):
11636         * nxml/rng-maint.el (rng-validate-buffer):
11637         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11638         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11639         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11640         (nxml-extend-after-change-region): Use with-silent-modifications.
11642         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11643         timer-idle-list.
11645         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11646         (rng-next-error-1, rng-previous-error-1): Do not let-bind
11647         timer-idle-list.  (Bug#13999)
11649 2013-03-23  Juri Linkov  <juri@jurta.org>
11651         * info.el (info-index-match): New face.
11652         (Info-index, Info-apropos-matches): Add a nested subgroup to the
11653         main pattern and add text properties with the new face to matches
11654         in index entries relative to the beginning of the index entry.
11655         (Bug#14015)
11657 2013-03-21  Eric Ludlam  <zappo@gnu.org>
11659         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11660         Inhibit read only while inserting objects.
11662 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
11664         * progmodes/cfengine.el: Update docs to mention
11665         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
11666         symbol motion.  Remove "_" from the word syntax.
11668 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
11670         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11671         syntax for both `cfengine2-mode' and `cfengine3-mode'.
11673 2013-03-20  Juri Linkov  <juri@jurta.org>
11675         * info.el (Info-next-reference-or-link)
11676         (Info-prev-reference-or-link): New functions.
11677         (Info-next-reference, Info-prev-reference): Use them.
11678         (Info-try-follow-nearest-node): Handle footnote navigation.
11679         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
11681 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11683         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11684         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11686 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
11688         Suppress unnecessary non-ASCII chatter during build process.
11689         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11690         (batch-skkdic-convert): Suppress most of the chatter.
11691         It's not needed so much now that machines are faster,
11692         and its non-ASCII component was confusing; see Dmitry Gutov in
11693         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11695 2013-03-20  Leo Liu  <sdl.web@gmail.com>
11697         * ido.el (ido-chop): Fix bug#10994.
11699 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11701         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11702         Remove vars.
11703         (whitespace-color-on, whitespace-color-off):
11704         Use `font-lock-fontify-buffer' (Bug#13817).
11706 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11708         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11709         remapping in mode-line.
11710         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11712 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11714         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11715         value for `whitespace-line' face (Bug#13875).
11716         (whitespace-font-lock-keywords): Change description.
11717         (whitespace-color-on): Don't save `font-lock-keywords' value, save
11718         the constructed keywords instead.
11719         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11721 2013-03-19  Leo Liu  <sdl.web@gmail.com>
11723         * progmodes/compile.el (compilation-display-error): New command.
11724         (compilation-mode-map, compilation-minor-mode-map): Bind it to
11725         C-o.  (Bug#13992)
11727 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
11729         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11731 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
11733         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11735 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
11737         * net/tramp-compat.el (tramp-compat-user-error): New defun.
11739         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11740         * net/tramp-gvfs.el (top):
11741         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11742         (tramp-handle-shell-command): Use it.
11743         (tramp-dissect-file-name): Raise an error when hostname is a
11744         method name, and neither method nor user is specified.
11746         * net/trampver.el: Update release number.
11748 2013-03-18  Leo Liu  <sdl.web@gmail.com>
11750         Make sure eldoc can be turned off properly.
11751         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11752         eldoc-mode.
11753         (eldoc-display-message-p): Revert last change.
11754         (eldoc-display-message-no-interference-p)
11755         (eldoc-print-current-symbol-info): Tweak.
11757 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
11759         * doc-view.el (doc-view-new-window-function): Check the new window
11760         overlay's display property instead the char property of the
11761         buffer's first char.  Use `with-selected-window' instead of
11762         `save-window-excursion' with `select-window'.
11763         (doc-view-document->bitmap): Check the current doc-view overlay's
11764         display property instead the char property of the buffer's first char.
11766 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
11768         Automate the build of ja-dic.el (Bug#13984).
11769         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11770         from the input, rather than assume that it's been done for us by the
11771         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
11772         the current date into a ja-dic.el comment, as that complicates
11773         regression testing.
11775 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11777         * whitespace.el: Fix double evaluation.
11778         (whitespace-space, whitespace-hspace, whitespace-tab)
11779         (whitespace-newline, whitespace-trailing, whitespace-line)
11780         (whitespace-space-before-tab, whitespace-indentation)
11781         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11782         obsolete defvars.
11783         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11784         (whitespace-color-on): Use a single font-lock-add-keywords call.
11785         Fix double-evaluation of face variables.
11787 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
11789         * net/tramp-adb.el (tramp-adb-parse-device-names):
11790         Use `start-process' instead of `call-process'.  Otherwise, the
11791         function might be blocked under MS Windows.  (Bug#13299)
11793 2013-03-17  Leo Liu  <sdl.web@gmail.com>
11795         Extend eldoc to display info in the mode-line.  (Bug#13978)
11796         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11797         (eldoc-mode-line-string): New variable.
11798         (eldoc-minibuffer-message): New function.
11799         (eldoc-message-function): New variable.
11800         (eldoc-message): Use it.
11801         (eldoc-display-message-p)
11802         (eldoc-display-message-no-interference-p):
11803         Support eldoc-post-insert-mode.
11805         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11806         (eval-expression): Run it.
11808 2013-03-17  Roland Winkler  <winkler@gnu.org>
11810         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11811         strings in the list of return values.
11813 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11815         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11816         radix before checking for HMS forms.
11818 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11820         * progmodes/scheme.el: Add indentation and font-locking for λ.
11821         (Bug#13975)
11823 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11825         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11826         token before point (bug#13942).
11828 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11830         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
11832 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
11834         * startup.el (command-line-normalize-file-name): Fix handling of
11835         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
11836         <xfq.free@gmail.com> in
11837         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11839 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
11841         Sync with Tramp 2.2.7.
11843         * net/trampver.el: Update release number.
11845 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
11847         * doc-view.el: Fix bug#13887.
11848         (doc-view-insert-image): Don't modify overlay associated to
11849         non-live windows, and implement horizontal centering of image in
11850         case it's smaller than the window.
11851         (doc-view-new-window-function): Force redisplay of new windows on
11852         doc-view buffers.
11854 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
11856         * saveplace.el (save-place-alist-to-file): Don't sort
11857         `save-place-alist', just pretty-print it (bug#13882).
11859 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
11861         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11862         Check whether `default-file-name-coding-system' is bound.
11863         It isn't in XEmacs.
11865 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11867         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11868         backquotes for `obsolete' (bug#13929).
11870         * international/mule.el (find-auto-coding): Include file name in
11871         obsolescence warning (bug#13922).
11873 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
11875         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11876         for CFEngine 3-specific indentation.
11877         (cfengine3-indent-line): Use it.  Fix up category regex.
11878         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11880 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11882         * type-break.el (type-break-file-name):
11883         * textmodes/remember.el (remember-data-file):
11884         * strokes.el (strokes-file):
11885         * shadowfile.el (shadow-initialize):
11886         * saveplace.el (save-place-file):
11887         * ps-bdf.el (bdf-cache-file):
11888         * progmodes/idlwave.el (idlwave-config-directory):
11889         * net/quickurl.el (quickurl-url-file):
11890         * international/kkc.el (kkc-init-file-name):
11891         * ido.el (ido-save-directory-list-file):
11892         * emulation/viper.el (viper-custom-file-name):
11893         * emulation/vip.el (vip-startup-file):
11894         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11895         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11897 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
11899         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11900         * language/thai-word.el: Switch to UTF-8.
11902 See ChangeLog.16 for earlier changes.
11904 ;; Local Variables:
11905 ;; coding: utf-8
11906 ;; End:
11908   Copyright (C) 2011-2014 Free Software Foundation, Inc.
11910   This file is part of GNU Emacs.
11912   GNU Emacs is free software: you can redistribute it and/or modify
11913   it under the terms of the GNU General Public License as published by
11914   the Free Software Foundation, either version 3 of the License, or
11915   (at your option) any later version.
11917   GNU Emacs is distributed in the hope that it will be useful,
11918   but WITHOUT ANY WARRANTY; without even the implied warranty of
11919   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11920   GNU General Public License for more details.
11922   You should have received a copy of the GNU General Public License
11923   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.