merge trunk
[emacs.git] / lisp / ChangeLog
blob795dec24bf196c25d2c81573ddbccbeb3469d783
1 2014-01-10  K. Handa  <handa@gnu.org>
3         * mail/rmail.el (rmail-get-coding-system): Check
4         rmail-get-coding-function before "funcall"ing it.
6 2014-01-10  Glenn Morris  <rgm@gnu.org>
8         * emacs-lisp/authors.el (authors-fixed-entries):
9         Update for files that no longer exist.
11 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
13         * version.el (emacs-bzr-get-version): Restore compatibilty with
14         24.3 (Tested).
16 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
18         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
19         and Podfile.
21 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
23         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
25 2014-01-10  Chong Yidong  <cyd@gnu.org>
27         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is
28         loaded.
30 2014-01-10  Anders Lindgren  <andlind@gmail.com>
32         * follow.el (follow-cache-command-list): Include right-char and
33         left-char.
35 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
37         Spelling fixes.
38         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
39         * woman.el (woman-mark-horizontal-position):
40         Rename from woman-mark-horizonal-position.  Use changed.
42 2014-01-10  Glenn Morris  <rgm@gnu.org>
44         * info.el (info-initialize): If running uninstalled, ensure our
45         own info files are always found first, even if INFOPATH is set.
47         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
49 2014-01-09  David Engster  <deng@randomsample.de>
51         * emacs-lisp/eieio-custom.el:
52         * emacs-lisp/eieio-opt.el: Set generated autoload file to
53         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
54         * emacs-lisp/eieio.el: Regenerate autoloads.
56 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
58         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
59         following renames.  (Bug#8756)
61 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
63         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
64         (bug#16382).
65         (activate-mark): Add `no-tmm' argument.
66         (set-mark, push-mark-command): Use it instead of running
67         activate-mark-hook by hand.
69 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
71         In preparation for the move to git, sanitize out some
72         Bazaar-specific names.
74         * version.el (emacs-bzr-version): Name changed to
75         emacs-repository-version. Obsolete-variable alias made.
76         * loadup.el: Follow through on this name change.
77         * mail/emacsbug.el (report-emacs-bug): Factor out any
78         assumption about the version control system in use.
80 2014-01-08  David Engster  <deng@randomsample.de>
82         * help-fns.el (help-fns-describe-function-functions):
83         New variable to call functions for augmenting help buffers.
84         (describe-function-1): Remove explicit calls to
85         `help-fns--compiler-macro', `help-fns--parent-mode' and
86         `help-fns--obsolete'.  Put them in above new variable instead, and
87         call them through `run-hook-with-args'.
88         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
89         `eieio-describe-class'.  Not meant for interactive use anymore,
90         but to augment existing help buffers.  Remove optional second
91         argument.  Create proper button for file location.
92         Rewrite function to use `insert' instead of `princ' and `prin1' where
93         possible.
94         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
95         (eieio-method-def, eieio-class-def): Move further up.
96         (describe-method, describe-generic, eieio-describe-method):
97         Remove aliases.
98         (eieio-help-constructor, eieio-help-generic): Rename from
99         `eieio-describe-constructor' and `eieio-describe-generic', resp.
100         Rewrite to use `insert' in the current buffer and use proper help
101         buttons.
102         (eieio-help-find-method-definition)
103         (eieio-help-find-class-definition): Also accept symbols as
104         arguments.
105         (eieio-help-mode-augmentation-maybee): Remove.
106         (eieio-describe-class-sb): Use `describe-function'.
107         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
108         Add `eieio-help-generic' and `eieio-help-constructor'.
110 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
112         Spelling fixes.
113         * language/china-util.el (hz-ascii-designation):
114         Rename from hz-ascii-designnation.
115         (hz-ascii-designation): Rename from hz-ascii-designnation.
116         All uses changed.
118 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
120         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
121         package-alist.
123 2014-01-08  Bastien Guerry  <bzg@gnu.org>
125         * emacs-lisp/package.el (package-delete):
126         Correctly delete the package from package-alist.
128 2014-01-08  Daiki Ueno  <ueno@gnu.org>
130         * emacs-lisp/package.el (url-recreate-url): Declare.
131         (url-http-target-url): Declare.
132         (package-handle-response): Include requested URL in the error message.
133         (package--check-signature): Don't re-signal errors from
134         package--with-work-buffer.  Suggested by Stefan Monnier.
136 2014-01-07  Bastien Guerry  <bzg@gnu.org>
138         * minibuffer.el (completion--try-word-completion): When both a
139         hyphen and a space are possible candidates for the character
140         following a word, display both candidates.  (Bug#15980)
142 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
144         * window.el (balance-windows-2): While rounding don't give a
145         window more than the remainder.  Bug#16351, Bug#16383.
147 2014-01-07  Glenn Morris  <rgm@gnu.org>
149         * menu-bar.el (menu-bar-help-extra-packages): Remove.
150         (menu-bar-help-menu): Use view-external-packages instead.
152 2014-01-07  Bastien Guerry  <bzg@gnu.org>
154         * emacs-lisp/package.el (package-delete): Also delete the package
155         name from `package-alist', not its description only.
157 2014-01-07  Glenn Morris  <rgm@gnu.org>
159         * help.el (view-external-packages):
160         * menu-bar.el (menu-bar-help-extra-packages):
161         Visit efaq.info rather than etc/MORE.STUFF.
163 2014-01-07  Juri Linkov  <juri@jurta.org>
165         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
166         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
168         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
169         that shadows RET.  (Bug#16342)
171 2014-01-07  Chong Yidong  <cyd@gnu.org>
173         * isearch.el (isearch-yank-char, isearch-yank-word)
174         (isearch-yank-line): Doc fix.
176 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
178         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
179         * emacs-lisp/elint.el (elint-find-builtins):
180         * emacs-lisp/eldoc.el (eldoc-symbol-function):
181         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
182         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
183         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
184         * apropos.el (apropos-safe-documentation):
185         * subr.el (symbol-file): Remove redundant fboundp.
186         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
188 2014-01-06  Bastien Guerry  <bzg@gnu.org>
190         * hl-line.el (global-hl-line-overlay): Make a local variable.
191         (global-hl-line-overlays): New variable to store all overlays.
192         (global-hl-line-mode): Don't delete overlays from the current
193         buffer when `global-hl-line-sticky-flag' is non-nil.
194         (global-hl-line-highlight): Add new overlays to
195         `global-hl-line-overlays'.
196         (global-hl-line-unhighlight-all): New function to delete all
197         overlays when turning off `global-hl-line-mode'.
198         This fixes Bug#16183.
200 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
202         * subr.el (set-transient-map): Fix nested case and docstring.
204 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
206         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
207         `Texinfo' entry.
209 2014-01-06  Daniel Colascione  <dancol@dancol.org>
211         Fix defun navigation in vc log view.
213         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
214         like `beginning-of-defun'.
215         (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
216         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
217         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
218         (log-view-extract-comment): Call `log-view-current-entry' directly
219         instead of relying on broken `log-view-beginning-of-defun' behavior.
221 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
223         Spelling fixes.
224         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
225         * emacs-lisp/debug.el (cancel-debug-on-entry):
226         * epg.el (epg-error-to-string):
227         * files.el (recover-file):
228         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
229         * mail/emacsbug.el (report-emacs-bug-hook):
230         * mail/sendmail.el (mail-recover):
231         * ses.el (ses-yank-resize):
232         * term/ns-win.el (ns-print-buffer):
233         Spelling fixes in diagnostics, mostly for "canceled" with one L.
234         * epg.el (epg-key-capability-alist): Rename from misspelled version.
235         All uses changed.
236         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
238 2014-01-06  Leo Liu  <sdl.web@gmail.com>
240         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
241         to avoid shadowning global key.  (Bug#16354)
243 2014-01-06  Daniel Colascione  <dancol@dancol.org>
245         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
246         rst-mode.
248 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
250         * window.el (balance-windows): Add mising t to fix Bug#16351.
252 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
254         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
255         (bug#16285).
256         (shr-insert): If we have a word that's longer than `shr-width',
257         break after it anyway.  Otherwise we'll do no breaking once we get
258         such a long word.
260 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
262         * net/eww.el (eww):  Support single/double quote for search.
263         * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
264         (eww-history-quit): Delete and use quit-window.
265         (eww-history-kill): Delete, because it doesn't work well and
266         not necessary.
267         (eww-history-mode-map): Delete some keys and add easy-menu.
269 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
271         Fix misspelling of 'chinese' in rx (Bug#16237).
272         * emacs-lisp/rx.el (rx-categories): Correct spelling of
273         chinese-two-byte.
275         Change subword regexps back to vars (Bug#16296).
276         * progmodes/subword.el (subword-forward-regexp)
277         (subword-backward-regexp): Change these back to variables.
279 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
281         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
282         syntax-begin-function (bug#16247).
284 2014-01-03  Chong Yidong  <cyd@gnu.org>
286         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
287         (advice--docstring): Delete variable.
288         (advice--make-1): Leave the docstring empty.
289         (advice-add): Use function-documentation for advised docstring.
291         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
292         Ignore function-documentation property when getting documentation.
293         (ad-activate-advised-definition): Use function-documentation
294         generate the docstring.
295         (ad-make-advised-definition): Don't call
296         ad-make-advised-definition-docstring.
297         (ad-make-advised-definition-docstring, ad-advised-definition-p):
298         Delete functions.
300         * progmodes/sql.el (sql-help): Use function-documentation instead
301         of dynamic-docstring-function property.  No need to autoload now.
302         (sql--help-docstring): New variable.
303         (sql--make-help-docstring): Use it.
305 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
307         * ielm.el (ielm-tab): Retarget.
308         (ielm-map): Use ielm-tab for tab.
309         (ielm-complete-filename): Use comint-filename-completion.
310         (ielm-complete-symbol): Remove.
311         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
312         remove ielm-tab from completion-at-point-functions (bug#16224).
314         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
315         Beware signals raised by predicates (bug#16201).
317 2014-01-02  Richard Stallman  <rms@gnu.org>
319         * dired-aux.el (dired-do-print): Handle printer-name.
321         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
322         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
323         (rmail-epa-decrypt): Turn off mime processing.
325         * mail/rmail.el (rmail-make-in-reply-to-field):
326         Add parens in message-id.
328         * mail/rmail.el (rmail-get-coding-function): Variable.
329         (rmail-get-coding-system): Use it.
331 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
333         * international/mule-conf.el: Unify the charset indian-is13194.
334         (indian-is13194): Specify unify-map.
336 2013-12-31  Leo Liu  <sdl.web@gmail.com>
338         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
340 2013-12-30  Daniel Colascione  <dancol@dancol.org>
342         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
343         of printing a useless when we resume from sleep.
345         * progmodes/sh-script.el
346         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
347         in indentation code.  (Bug#16233)
349 2013-12-28  João Távora  <joaotavora@gmail.com>
351         * elec-pair.el (electric-pair-post-self-insert-function):
352         Don't open extra newlines at beginning of buffer.  (Bug#16272)
354 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
356         * frame.el (window-system-for-display): Don't allow to create a
357         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
359 2013-12-28  Glenn Morris  <rgm@gnu.org>
361         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
362         Update callers.
364         * apropos.el (apropos-match-face):
365         * calculator.el (calculator-displayer):
366         * dabbrev.el (dabbrev-search-these-buffers-only):
367         * face-remap.el (buffer-face-mode-face):
368         * simple.el (yank-handled-properties):
369         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
370         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
371         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
372         (hashcash-double-spend-database):
373         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
374         (ruby-deep-indent-paren-style):
375         * textmodes/flyspell.el (flyspell-auto-correct-binding):
376         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
377         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
378         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
379         Specify custom types.
381         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
382         * bookmark.el (bookmark-bmenu-use-header-line):
383         * doc-view.el (doc-view-scale-internally):
384         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
385         * register.el (register-preview-delay):
386         * net/shr.el (shr-bullet):
387         * progmodes/cfengine.el (cfengine-cf-promises)
388         (cfengine-parameters-indent):
389         * progmodes/octave.el (inferior-octave-error-regexp-alist):
390         * textmodes/reftex-vars.el (reftex-label-regexps):
391         * vc/log-edit.el (log-edit-setup-add-author): Add version.
393         * net/tls.el (tls-certtool-program): Fix default value.
395         * desktop.el (desktop-restore-in-current-display):
396         * newcomment.el (comment-empty-lines):
397         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
398         (idlwave-pad-keyword):
399         * progmodes/tcl.el (tcl-tab-always-indent):
400         * textmodes/reftex-vars.el (reftex-index-default-tag):
401         * elec-pair.el (electric-pair-skip-whitespace):
402         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
404         * emacs-lisp/authors.el (authors-ignored-files)
405         (authors-valid-file-names, authors-renamed-files-alist): Additions.
407 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
409         * shell.el (shell-dynamic-complete-command): Doc fix.
410         (shell--command-completion-data): Shell completion now matches
411         executable filenames from the current buffer's directory, on
412         systems in which this behavior is the default (windows-nt, ms-dos).
414 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
416         * net/shr.el (shr-insert): Don't infloop if the width is zero.
418 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
420         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
421         (bug#16251).
423         * electric.el: Move all electric-pair-* to elec-pair.el.
424         * elec-pair.el: New file, split from electric.el.
426 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
428         * net/shr.el (shr-find-fill-point): Don't try to fill if the
429         indentation level is larger than the width, because that will
430         infloop.
431         (shr-insert): Fill repeatedly long texts, so that Japanese is
432         formatted correctly (bug#16263).
433         (shr-find-fill-point): Off by one error in comparison with the
434         indentation.
436 2013-12-26  João Távora  <joaotavora@gmail.com>
438         * electric.el (electric-pair-mode): More flexible engine for skip-
439         and inhibit predicates, new options for pairing-related functionality.
440         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
441         if that keeps or improves their balance in buffers.
442         (electric-pair-delete-adjacent-pairs): Delete the pair when
443         backspacing over adjacent matched delimiters.
444         (electric-pair-open-extra-newline): Open extra newline when
445         inserting newlines between adjacent matched delimiters.
446         (electric--sort-post-self-insertion-hook):
447         Sort post-self-insert-hook according to priority values when
448         minor-modes are activated.
449         * simple.el (newline-and-indent): Call newline with interactive
450         set to t.
451         (blink-paren-post-self-insert-function): Set priority to 100.
452         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
453         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
454         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
455         electric-pair-open-newline-between-pairs to nil.
457 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
459         * progmodes/python.el: Use lexical-binding.
460         (python-nav-beginning-of-defun): Stop searching ASAP.
462 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
464         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
465         Fix interactive spec.  Doc fix.  (Bug#15754)
467 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
469         * emacs-lisp/byte-run.el (eval-when-compile):
470         * progmodes/cc-defs.el (cc-eval-when-compile):
471         Fix edebug spec (bug#16184).
473 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
475         * net/shr.el (shr-visit-file): Remove debugging function.
476         (shr-insert): Don't infloop if we can't find a good place to break
477         the line (bug#16256).
479 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
481         * progmodes/python.el:
482         (python-nav--lisp-forward-sexp): New function.
483         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
484         python-nav-lisp-forward-sexp-safe.
485         (python-nav--forward-sexp): New argument SAFE allows switching
486         forward sexp movement behavior for parens.
487         (python-nav-forward-sexp): Throw errors on unterminated parens
488         (Bug#16191).
489         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
490         (python-nav-backward-sexp-safe): New functions.
491         (python-shell-buffer-substring):
492         Use `python-nav-forward-sexp-safe'.
494 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
496         * net/shr.el (shr-find-fill-point): Don't break lines before a
497         quotation mark.
498         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
499         (shr-find-fill-point): Remove the special checks for the quotation
500         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
502 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
504         * net/eww.el (eww-form-textarea): Use a different face for
505         textareas than text input since they have different keymaps
506         (bug#16142).
508 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
510         * progmodes/python.el (python-nav-beginning-of-statement):
511         Speed up (Bug#15295).
513 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
515         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
516         the window configuration.
518 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
520         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
521         we run on MS-Windows or MS-DOS.
523 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
525         * window.el (balance-windows-area): Call window-size instead of
526         window-height and window-width.  Bug#16241.
528 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
530         * net/eww.el (eww-bookmark-quit): Remove.
531         (eww-bookmark-browse): Restore the window configuration when you
532         choose a bookmark (bug#16144).
534 2013-12-24  Daniel Colascione  <dancol@dancol.org>
536         * icomplete.el: Remove redundant :group arguments to `defcustom'
537         throughout.
538         (icomplete-show-matches-on-no-input): New customizable variable.
539         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
540         we have something to show.
541         (icomplete-exhibit): Compute completions even if we have no user input.
543 2013-12-23  Daniel Colascione  <dancol@dancol.org>
545         * icomplete.el: Move `provide' to end of file.
547 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
549         * net/gnutls.el (gnutls-verify-error): Add version tag.
551 2013-12-23  Chong Yidong  <cyd@gnu.org>
553         * subr.el (set-transient-map): Rename from
554         set-temporary-overlay-map.  Doc fix.
556         * face-remap.el (text-scale-adjust):
557         * indent.el (indent-rigidly):
558         * kmacro.el (kmacro-call-macro):
559         * minibuffer.el (minibuffer-force-complete):
560         * repeat.el (repeat):
561         * simple.el (universal-argument--mode):
562         * calendar/todo-mode.el (todo-insert-item--next-param):
563         * progmodes/f90.el (f90-abbrev-start): Callers changed.
565         * indent.el (indent-rigidly): Use substitute-command-keys.
567 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
569         * net/eww.el (eww-tag-select): Add text-property to jump to next
570         select field.
571         (eww): Add non-supported ftp error.
573 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
575         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
576         comments.  Handle electric indent after typing `?' and `!'.
578 2013-12-22  Chong Yidong  <cyd@gnu.org>
580         * faces.el (face-spec-recalc): If the theme specs are not
581         applicable to a frame, fall back on the defface spec.
582         This prevents themes from obliterating faces on low-color terminals.
584 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
586         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
587         after `{'.  We need it after block openers, and it doesn't seem
588         to hurt after hash openers.
590 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
592         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
593         extracted from `ruby-smie-rules'.
594         (ruby--electric-indent-chars): New variable.
595         (ruby--electric-indent-p): New function.
596         (ruby-mode): Use `electric-indent-functions' instead of
597         `electric-indent-chars'.
599 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
601         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
602         docstring.
603         (ruby-smie-rules): Indent plus one level after `=>'.
605 2013-12-21  Richard Stallman  <rms@gnu.org>
607         * simple.el (newline): Doc fix.
609 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
611         * net/eww.el (eww-list-histories, eww-list-histories)
612         (eww-history-browse, eww-history-quit, eww-history-kill)
613         (eww-history-mode-map, eww-history-mode): New command and
614         functions to list browser histories.
615         (eww-form-text): Support text form with disabled
616         and readonly attributes.
617         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
619 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
621         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
622         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
623         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
624         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
625         Use `user-error'.
626         (eww-bookmark-mode-map): Add menu.
627         (eww-render, eww-mode): Use `setq-local'.
628         (eww-tool-bar-map): New variable.
629         (eww-mode): Set `tool-bar-map'.
630         (eww-view-source): Check for `html-mode' with `fboundp'.
632 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
634         * net/shr.el (shr--extract-best-source): Don't bug out on audio
635         elements with text inside.  Also remove debugging.
637 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
639         * cus-start.el (all): Add ns-use-srgb-colorspace.
641 2013-12-21  Chong Yidong  <cyd@gnu.org>
643         * custom.el (custom-theme-recalc-face): Do nothing if the face is
644         undefined.  Thus, theme settings for undefined faces do not take
645         effect until the faces are defined with defface, the same as with
646         theme variables.
648         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
649         (face-spec-reset-face): Don't assign extra properties in temacs.
650         (face-spec-recalc): Apply X resources too.
652 2013-12-21  Chong Yidong  <cyd@gnu.org>
654         * faces.el (face-spec-set):
655         * cus-face.el (custom-theme-set-faces, custom-set-faces):
656         * custom.el (defface): Doc fixes (Bug#16203).
658         * indent.el (indent-rigidly-map): Add docstring, and move commands
659         into named functions.
660         (indent-rigidly-left, indent-rigidly-right)
661         (indent-rigidly-left-to-tab-stop)
662         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
663         indentation direction based on bidi direction, and accumulate
664         sequential commands in a single undo boundary.
665         (indent-rigidly--pop-undo): New utility function.
667 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
669         * faces.el (read-face-name): Require crm.el when using crm-separator.
671 2013-12-20  Daniel Colascione  <dancol@dancol.org>
673         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
674         so that we don't reflow comments into the shebang line.
676 2013-12-20  Juri Linkov  <juri@jurta.org>
678         * saveplace.el (save-place-to-alist): Add `dired-filename' as
679         a position when `dired-directory' is non-nil.  Check integer
680         positions with `integerp'.
681         (toggle-save-place, save-places-to-alist): Add check for
682         `dired-directory'.
683         (save-place-find-file-hook): Check integer positions with
684         `integerp'.
685         (save-place-dired-hook): Use `dired-goto-file' when
686         `dired-filename' is found in the assoc list.  Check integer
687         positions with `integerp'.
688         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
690         * dired.el (dired-initial-position-hook): Rename back from
691         `dired-initial-point-hook'.
692         (dired-initial-position): Rename `dired-initial-point-hook' to
693         `dired-initial-position-hook'.
694         (dired-file-name-at-point): Doc fix.  (Bug#15329)
696 2013-12-20  Juri Linkov  <juri@jurta.org>
698         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
699         (read-regexp-suggestions): New function.
700         (read-regexp): Use `read-regexp-defaults-function' to get default values.
701         Use `read-regexp-suggestions'.  Add non-empty default to history
702         for empty input.
703         (occur-read-regexp-defaults-function): Remove function.
704         (occur-read-primary-args): Use `regexp-history-last' instead of
705         `occur-read-regexp-defaults-function'.
707         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
708         (hi-lock-line-face-buffer, hi-lock-face-buffer)
709         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
710         `hi-lock-read-regexp-defaults-function'.  Doc fix.
711         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
712         with `find-tag-default-as-symbol-regexp'.  Doc fix.
713         (hi-lock-read-regexp-defaults): Remove function.
714         (hi-lock-regexp-okay): Add check for null.
716         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
717         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
719         * subr.el (find-tag-default-as-symbol-regexp): New function.
720         (find-tag-default-as-regexp): Move symbol regexp formatting to
721         `find-tag-default-as-symbol-regexp'.
723 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
725         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
726         (Bug#14179)
728 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
730         * calendar/todo-mode.el: New implementation of item insertion
731         commands and key bindings.
732         (todo-key-prompt): New face.
733         (todo-insert-item): New command.
734         (todo-insert-item--parameters): New defconst, replacing defvar
735         todo-insertion-commands-args-genlist.
736         (todo-insert-item--param-key-alist): New defconst, replacing
737         defvar todo-insertion-commands-arg-key-list.
738         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
739         (todo-insert-item--argsleft, todo-insert-item--apply-args)
740         (todo-insert-item--next-param): New functions.
741         (todo-insert-item--args, todo-insert-item--argleft)
742         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
743         New variables.
744         (todo-key-bindings-t): Change binding of "i" from
745         todo-insertion-map to todo-insert-item.
746         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
747         (todo-insertion-command-name, todo-insertion-commands-names)
748         (todo-define-insertion-command, todo-insertion-commands)
749         (todo-insertion-key-bindings, todo-insertion-map): Remove.
751 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
753         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
754         (todo-toggle-item-highlighting): Use eval-and-compile instead of
755         eval-when-compile.
756         (todo-move-category): Allow choosing a non-existing todo file to
757         move the category to, and create that file.
758         (todo-default-priority): New user option.
759         (todo-set-item-priority): Use it.
760         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
761         (desktop-restore-file-buffer): Declare.
762         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
763         (todo-modes-set-2): Locally set desktop-save-buffer to
764         todo-desktop-save-buffer.
765         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
766         (auto-mode-alist): Add autoload cookie.
768 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
770         * emacs-lisp/subr-x.el: Renamed from helpers.el.
771         helpers.el was a poor choice of name.
772         (string-remove-prefix): New function.
773         (string-remove-suffix): New function.
775 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
777         Fix assignment for new window total sizes.
778         * window.el (window--pixel-to-size): Remove function.
779         (window--pixel-to-total-1, window--pixel-to-total):
780         Fix calculation of new total sizes.
782 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
784         * comint.el (comint-output-filter): Fix rear-nonsticky property
785         placement (Bug#16010).
787 2013-12-20  Chong Yidong  <cyd@gnu.org>
789         * faces.el (read-color): Minor fix for completion function.
791 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
793         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
794         New option.  (Bug#16182)
795         (ruby-smie--indent-to-stmt-p): Use it.
796         (ruby-smie-rules): Revert the logic in the handling of `when'.
797         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
798         (ruby-deep-arglist, ruby-deep-indent-paren)
799         (ruby-deep-indent-paren-style): Update docstrings to note that the
800         vars don't have any effect with SMIE.
802 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
804         * calc/calc.el (calc-enter, calc-pop): Use the variable
805         `calc-context-sensitive-enter'.
807 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
809         * net/shr.el (shr-insert): Protect against infloops in degenerate
810         tables.
812 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
814         * progmodes/octave.el (octave): Add link to manual and octave
815         homepage.
816         (octave-mode-menu): Link to octave-mode manual.
818 2013-12-20  Leo Liu  <sdl.web@gmail.com>
820         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
821         insertion using skeleton-end-newline.  (Bug#16138)
823 2013-12-20  Juri Linkov  <juri@jurta.org>
825         * replace.el (occur-engine): Use `add-face-text-property'
826         to add the face property to matches and titles.  (Bug#14645)
828         * hi-lock.el (hi-green): Use lighter color "light green" closer to
829         the palette of other hi-lock colors.
830         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
832 2013-12-19  Juri Linkov  <juri@jurta.org>
834         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
835         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
836         (minibuffer-history-symbol): Move variable declaration closer to
837         its usage.
839         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
840         (Bug#14785)
842 2013-12-19  Juri Linkov  <juri@jurta.org>
844         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
845         New function.
846         (log-edit-hook): Add it to :options.  (Bug#16170)
848 2013-12-19  Juri Linkov  <juri@jurta.org>
850         * simple.el (eval-expression-print-format): Don't check for
851         command names and the last command.  Always display additional
852         formats of the integer result in the echo area, and insert them
853         to the current buffer only with a zero prefix arg.
854         Display character when char-displayable-p is non-nil.
855         (eval-expression): With a zero prefix arg, set `print-length' and
856         `print-level' to nil, and insert the integer values from
857         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
859         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
860         `eval-last-sexp-arg-internal'.  Doc fix.
861         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
862         `eval-last-sexp-print-value'.  Doc fix.
863         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
864         Set `print-length' and `print-level' to nil when arg is zero.
865         (eval-last-sexp): Doc fix.
866         (eval-defun-2): Print the integer values from
867         `eval-expression-print-format' at the end.
869         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
870         values from `eval-expression-print-format' at the end.
872         * ielm.el (ielm-eval-input): Print the integer
873         values from `eval-expression-print-format' at the end.
875 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
877         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
878         2013-12-11T19:01:44Z!tzz@lifelogs.com.
880 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
882         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
883         (hl-line-highlight, global-hl-line-highlight): Use it.
884         (hl-line-overlay): Use defvar-local.
886 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
888         * term/ns-win.el: Require dnd.
889         (global-map): Remove drag items.
890         (ns-insert-text, ns-set-foreground-at-mouse)
891         (ns-set-background-at-mouse):
892         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
893         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
894         New functions.
896 2013-12-19  Glenn Morris  <rgm@gnu.org>
898         * emacs-lisp/ert.el (ert-select-tests):
899         Fix string/symbol mixup.  (Bug#16121)
901 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
903         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
904         keywords to their parent.
906 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
908         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
909         first arg to be a string (fixed dead code), or an operator symbol.
910         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
911         operator symbols.
912         (ruby-smie-rules): Remove parent token check in the `.' clause, it
913         did nothing.  Don't respond to `(:after ".")', it will be called
914         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
915         change anything.  Only return indentation for binary operators
916         when they are hanging.  De-dent opening paren when its parent is
917         `.', otherwise it looks bad when the dot is not at bol or eol
918         (bug#16182).
920 2013-12-19  Juri Linkov  <juri@jurta.org>
922         * replace.el (query-replace-read-args): Split a non-negative arg
923         and a negative arg into separate elements.
924         (query-replace, query-replace-regexp, replace-string)
925         (replace-regexp): Add arg `backward'.  Doc fix.
926         (replace-match-maybe-edit): When new arg `backward' is non-nil,
927         move point to the beginning of the match.
928         (replace-search, replace-highlight): Use new arg `backward'
929         to set the value of `isearch-forward'.
930         (perform-replace): Add arg `backward' and use it to perform
931         replacement backward.  (Bug#14979)
933         * isearch.el (isearch-query-replace): Use a negative prefix arg
934         to call `perform-replace' with a non-nil arg `backward'.
936 2013-12-18  Juri Linkov  <juri@jurta.org>
938         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
939         to the default list.  Move `log-edit-show-files' to the end.
940         Add more available functions to options.
941         (log-edit): Move default specific settings to
942         `log-edit-insert-message-template'.  Don't move point.
943         (log-edit-insert-message-template): New function.
944         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
945         (Bug#16170)
947 2013-12-18  Juri Linkov  <juri@jurta.org>
949         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
950         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
952 2013-12-18  Leo Liu  <sdl.web@gmail.com>
954         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
955         (Bug#16186)
957 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
959         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
960         formats for displaying file sizes when the -s switch is given.
961         Instead, compute a separate format for displaying the size in
962         blocks, which is displayed in addition to the "regular" size.
963         When -h is given in addition to -s, produce size in blocks in
964         human-readable form as well.  (Bug#16179)
966 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
968         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
969         Reference tables with ~\ref{...} instead of only \ref{...}.
971 2013-12-18  Chong Yidong  <cyd@gnu.org>
973         * cus-edit.el (custom-magic-alist): Fix "themed" description
974         (Bug#14348).
976         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
977         is non-nil, do not create a new entry in the symbol's theme-value
978         or theme-face property; update theme-settings only (Bug#14664).
979         (custom-available-themes): Doc fix.
981         * cus-theme.el (custom-new-theme-mode-map): Add bindings
982         (Bug#15674).
984         * replace.el (occur-engine): Avoid infloop (Bug#7593).
986 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
988         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
989         (Bug#13914).
991 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
993         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
995 2013-12-18  Glenn Morris  <rgm@gnu.org>
997         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
998         * cus-start.el (load-prefer-newer): New option.
1000 2013-12-18  Le Wang  <l26wang@gmail.com>
1002         * comint.el (comint-previous-matching-input-from-input):
1003         Retain point (Bug#13404).
1005 2013-12-18  Chong Yidong  <cyd@gnu.org>
1007         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1009 2013-12-18  Glenn Morris  <rgm@gnu.org>
1011         * mail/emacsbug.el (report-emacs-bug):
1012         Only mention enable-multibyte-characters if non-standard.
1014 2013-12-17  Juri Linkov  <juri@jurta.org>
1016         * arc-mode.el (archive-extract-by-file): Check if directory exists
1017         before deletion to not show irrelevant errors if it doesn't exist.
1019 2013-12-17  Juri Linkov  <juri@jurta.org>
1021         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1022         (Bug#14751)
1024         * net/eww.el (browse-web): Add alias to `eww'.
1025         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1026         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
1028         * net/browse-url.el (browse-url-browser-function): Move `eww'
1029         closer to similar functions.
1031         * startup.el (fancy-startup-screen, fancy-about-screen):
1032         Set browse-url-browser-function to eww-browse-url locally.
1033         (Bug#14751)
1035 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1037         * window.el (window--pixel-to-total): Remove unused `mini' var.
1038         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1039         (split-window): Remove unused `new' var.
1040         (window--display-buffer): Remove unused `frame' and `delta' vars.
1041         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1042         and display-width'.
1044 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
1046         * dired.el (dired-mark-pop-up):
1047         * register.el (register-preview): Don't bind
1048         split-height-threshold here since it's now done in
1049         display-buffer-below-selected.
1051 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
1053         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1054         xterm-rgb-convert-to-16bit.
1055         (rxvt-register-default-colors): Standardize with
1056         xterm-register-default-colors (Bug#14078).
1058 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1060         * simple.el (kill-region): Pass mark first, then point, so that
1061         kill-append works right (Bug#12819).
1062         (copy-region-as-kill, kill-ring-save): Likewise.
1064 2013-12-17  Leo Liu  <sdl.web@gmail.com>
1066         * net/rcirc.el (rcirc-add-face):
1067         * eshell/em-prompt.el (eshell-emit-prompt):
1068         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1069         (Bug#16167)
1071 2013-12-17  Chong Yidong  <cyd@gnu.org>
1073         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1074         Suggested by Xue Fuqiao.
1076 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1078         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1080 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1082         * net/shr.el (shr-insert-document): Remove unused var
1083         `shr-preliminary-table-render'.
1084         (shr-rescale-image): Remove unused arg `force'.
1085         (shr-put-image): Update calls accordingly.
1086         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1088 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1090         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1091         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1092         :close-all, to see which indentation method to use (Bug#16116).
1093         (smie-rules-function): Document the method :close-all.
1095 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1097         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1099         * net/eww.el (eww-display-html): If we can't find the anchor we're
1100         looking for, then go to point-min.
1102 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
1104         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1105         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1106         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1107         Expand dir too, in case it's relative.
1109 2013-12-16  Juri Linkov  <juri@jurta.org>
1111         * desktop.el (desktop-auto-save-timeout): Change default to
1112         `auto-save-timeout'.  Doc fix.
1113         (desktop-save): Skip the timestamp in desktop-saved-frameset
1114         when checking for auto-save changes.
1115         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1116         `desktop-auto-save' is called repeatedly by the idle timer.
1117         (desktop-auto-save-set-timer): Replace `run-with-timer' with
1118         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
1119         (Bug#15331)
1121 2013-12-16  Juri Linkov  <juri@jurta.org>
1123         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1124         (Bug#16035)
1125         (isearch-pre-command-hook): Check `this-command' for symbolp.
1127 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1129         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1131 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
1133         * progmodes/cfengine.el (cfengine3--current-word): Remove.
1134         (cfengine3--current-function): Bring in the current-function
1135         functionality from `cfengine3--current-word'.
1136         (cfengine3-completion-function): Bring in the
1137         bounds-of-current-word functionality from
1138         `cfengine3--current-word'.
1140 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
1142         * window.el (display-buffer-below-selected):
1143         Bind split-height-threshold to 0 as suggested by Juri Linkov.
1145 2013-12-16  Leo Liu  <sdl.web@gmail.com>
1147         * progmodes/compile.el (compile-goto-error): Do not push-mark.
1148         Remove NOMSG arg and all uses changed.
1150 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1152         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1153         (cua--deactivate-rectangle): Don't deactivate the mark.
1154         (cua-set-rectangle-mark): Don't set mark-active since
1155         cua--activate-rectangle already does it for us.
1156         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1157         non-rectangular region.
1159         * emulation/cua-base.el (cua-repeat-replace-region):
1160         Use with-current-buffer.
1162         * net/gnutls.el: Use cl-lib.
1163         (gnutls-negotiate): `mapcan' -> cl-mapcan.
1165 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1167         * emacs-lisp/package.el (package-built-in-p): Support both
1168         built-in and the package.el converted package descriptions.
1169         (package-show-package-list): Allow keywords.
1170         (package-keyword-button-action): Use it instead of
1171         `finder-list-matches'.
1172         (package-menu-filter-interactive): Interactive filtering (by
1173         keyword) function.
1174         (package-menu--generate): Support keywords and change keymappings
1175         and headers when they are given.
1176         (package--has-keyword-p): Helper function.
1177         (package-menu--refresh): Use it.
1178         (package--mapc): Helper function.
1179         (package-all-keywords): Use it.
1180         (package-menu-mode-map): Set up menu items and keybindings to
1181         provide a filtering UI.
1183 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1185         * net/gnutls.el (gnutls-verify-error): New defcustom to control
1186         the behavior when a certificate fails validation.  Defaults to
1187         old behavior: never abort, just warn.
1188         (gnutls-negotiate): Use it.
1190 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
1192         * window.el (display-buffer-below-selected): Never split window
1193         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
1195 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1197         * emacs-lisp/package.el (package--prepare-dependencies): New function.
1198         (package-buffer-info): Use it (bug#15108).
1200 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1202         * icomplete.el (icomplete-completions): Make sure the prefix is already
1203         displayed elsewhere before hiding it (bug#16219).
1205 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1207         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1208         open-paren tokens when preceded by a open-paren, too.
1209         (ruby-smie-rules): Handle virtual indentation after open-paren
1210         tokens specially.  If there is code between it and eol, return the
1211         column where is starts (Bug#16118).
1213 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1215         * progmodes/cfengine.el: Fix `add-hook' doc.
1216         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1217         (cfengine3--current-word): Fix parameters.
1218         (cfengine3-make-syntax-cache): Simplify further.
1219         (cfengine3-completion-function, cfengine3--current-function):
1220         Use `assq' for symbols.
1221         (cfengine3--current-function): Fix `cfengine3--current-word' call.
1223 2013-12-13  Glenn Morris  <rgm@gnu.org>
1225         * loadup.el (load-path): Warn if site-load or site-init changes it.
1226         No more need to reset it when bootstrapping.
1228 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1230         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1231         locations for cf-promises.
1232         (cfengine-mode-syntax-functions-regex): New caching variable.
1233         (cfengine3-fallback-syntax): Fallback syntax for cases where
1234         cf-promises doesn't run.
1235         (cfengine3--current-word): Reimplement using
1236         `cfengine-mode-syntax-functions-regex'.
1237         (cfengine3-completion-function, cfengine3--current-function):
1238         Use `cfengine3-make-syntax-cache' directly.
1239         (cfengine3-clear-syntax-cache): New function.
1240         (cfengine3-make-syntax-cache): Simplify and create
1241         `cfengine-mode-syntax-functions-regex' on demand.
1242         (cfengine3-format-function-docstring): Don't call
1243         `cfengine3-make-syntax-cache' explicitly.
1245 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
1247         Fix windmove-find-other-window broken after pixelwise resizing
1248         (Bug#16017).
1249         * windmove.el (windmove-other-window-loc): Revert change from
1250         2013-12-04.
1251         (windmove-find-other-window): Call window-in-direction.
1252         * window.el (window-in-direction): New arguments SIGN, WRAP and
1253         MINI to emulate original windmove-find-other-window behavior.
1255 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
1257         * simple.el (blink-matching--overlay): New variable.
1258         (blink-matching-open): Instead of moving point, highlight the
1259         matching paren with an overlay
1260         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1262         * faces.el (paren-showing-faces, show-paren-match)
1263         (show-paren-mismatch): Move from paren.el.
1265 2013-12-13  Leo Liu  <sdl.web@gmail.com>
1267         * indent.el (indent-region): Disable progress reporter in
1268         minibuffer.  (Bug#16108)
1270         * bindings.el (visual-order-cursor-movement): Fix version.
1272 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1274         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1275         Also match after beginning of line.
1276         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1277         files.  Thanks to Russell Sim.  (Bug#15378)
1279 2013-12-13  Juri Linkov  <juri@jurta.org>
1281         * simple.el <Keypad support>: Remove key bindings duplicated
1282         with bindings.el.  (Bug#14397)
1284 2013-12-13  Juri Linkov  <juri@jurta.org>
1286         * comint.el (comint-mode-map): Replace `delete-char' with
1287         `delete-forward-char'.  (Bug#16109)
1289 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1291         * progmodes/python.el (python-indent-calculate-indentation):
1292         Fix de-denters cornercase.  (Bug#15731)
1294 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1296         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1297         (advice--make): Pay attention to `depth'.
1298         (advice--make-1): Don't autoload commands eagerly.
1299         * emacs-lisp/elp.el (elp-instrument-function):
1300         * emacs-lisp/trace.el (trace-function-internal):
1301         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1303         * iswitchb.el (iswitchb-mode): Don't belittle ido.
1305 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
1307         * term/w32-win.el (w32-handle-dropped-file):
1308         * startup.el (normal-top-level):
1309         * net/browse-url.el (browse-url-file-url):
1310         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1311         decode file names using 'utf-8' rather than
1312         file-name-coding-system.
1314 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1316         * progmodes/python.el (python-indent-context)
1317         (python-indent-calculate-indentation): Fix auto-identation
1318         behavior for comment blocks.  (Bug#15916)
1320 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1322         * progmodes/python.el (python-indent-calculate-indentation):
1323         When determining indentation, don't treat "return", "pass", etc., as
1324         operators when they are just string constituents.  (Bug#15812)
1326 2013-12-12  Juri Linkov  <juri@jurta.org>
1328         * uniquify.el (uniquify-buffer-name-style): Change default to
1329         `post-forward-angle-brackets'.
1331         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1332         `uniquify'.  Change default to `post-forward-angle-brackets'.
1334 2013-12-11  Glenn Morris  <rgm@gnu.org>
1336         * emacs-lisp/package.el (finder-list-matches):
1337         Autoload rather than falsely declaring.
1339 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
1341         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1342         (eww-mode-map): Use them.
1344 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
1346         * window.el (display-buffer-in-side-window): Fix doc-string
1347         (Bug#16115).
1349 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
1351         * vc/vc-git.el: Silence byte-compiler warnings.
1352         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1353         (log-edit-set-header): Declare.
1355 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
1357         * Makefile.in (custom-deps, finder-data): Run output file names
1358         through unmsys--file-name.  (Bug#16099)
1360 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1362         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1363         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1365         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1366         instead of deleting the selection "by hand" (bug#16098).
1367         Rely on insert-for-yank to yank rectangles.
1368         (cua-highlight-region-shift-only): Mark obsolete.
1369         (cua-mode): Don't enable/disable transient-mark-mode,
1370         shift-select-mode (cua-mode works both with and without them), and
1371         pc-selection-mode (obsolete).
1372         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1373         (cua--deactivate-rectangle): Deactivate it.
1375         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1376         (delete-selection-helper): Make sure yank starts at the top of the
1377         deleted region.
1378         (minibuffer-keyboard-quit): Use region-active-p.
1380         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1382         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1383         to `delete' (bug#16109).
1385 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1387         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1388         info manual and show keybindings and set `:group' keyword.
1390 2013-12-11  Juri Linkov  <juri@jurta.org>
1392         * delsel.el (delete-active-region): Let-bind `this-command'
1393         to prevent `kill-region' from changing its original value.
1394         (delete-selection-helper): Handle `overwrite-mode' for the type
1395         `kill' exactly the same way as for the type `t'.
1396         (insert-char, quoted-insert, reindent-then-newline-and-indent):
1397         Support more commands.  (Bug#13312)
1399 2013-12-11  Juri Linkov  <juri@jurta.org>
1401         * bindings.el: Map kp keys to non-kp keys systematically
1402         with basic modifiers control, meta and shift.  (Bug#14397)
1404 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1406         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1407         "Close browser" menu items.  Fix wrong function of "List
1408         bookmarks".
1410 2013-12-11  Juri Linkov  <juri@jurta.org>
1412         * misearch.el (multi-isearch-buffers): Set the value of
1413         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1414         arg of isearch-forward to t.
1415         (multi-isearch-buffers-regexp): Set the value of
1416         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1417         arg of isearch-forward-regexp to t.
1418         (multi-isearch-files): Set the value of
1419         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
1420         arg of isearch-forward to t.
1421         (multi-isearch-files-regexp): Set the value of
1422         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
1423         arg of isearch-forward-regexp to t.  (Bug#16035)
1425         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1426         arg of isearch-forward to t.
1427         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1428         arg of isearch-forward-regexp to t.
1429         (dired-isearch-filter-filenames): Remove unnecessary check for
1430         `dired-isearch-filenames'.
1432         * comint.el (comint-history-isearch-backward):
1433         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1434         (comint-history-isearch-backward-regexp):
1435         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1437 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
1439         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1440         unmsys--file-name.  (Bug#16099)
1442 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
1444         * emacs-lisp/package.el (package-keyword-button-action):
1445         Remove finder.el require dependency.
1447 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
1449         * emacs-lisp/package.el: Require finder.el.
1450         (describe-package-1): Add keyword buttons.
1451         (package-make-button): New convenience function.
1452         (package-keyword-button-action): Keyword button action using
1453         `finder-list-matches'.
1455 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
1457         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1458         last commit.
1460 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
1462         * autorevert.el (auto-revert-notify-add-watch): Do not handle
1463         symlinked files.
1465 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1467         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1468         after the end of a percent literal.
1470 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1472         * progmodes/ruby-mode.el (ruby-forward-string): Document.
1473         Handle caret-delimited strings (Bug#16079).
1475 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1477         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1478         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1479         `ruby-parse-partial' (Bug#16078).
1481 2013-12-09  Leo Liu  <sdl.web@gmail.com>
1483         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
1485 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
1487         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1488         (js-switch-indent-offset): New option.
1489         (js--proper-indentation): Use it.  And handle the case when
1490         "default" is actually a key in an object literal.
1491         (js--same-line): New function.
1492         (js--multi-line-declaration-indentation): Use it.
1493         (js--indent-in-array-comp, js--array-comp-indentation):
1494         New functions.
1495         (js--proper-indentation): Use them, to handle array comprehension
1496         continuations.
1498 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1500         * progmodes/flymake.el (flymake-highlight-line): Re-write.
1501         (flymake-make-overlay): Remove arg MOUSE-FACE.
1502         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1504 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1506         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1507         New function.
1508         (redisplay-highlight-region-function): Use it.
1510         * emulation/cua-base.el (cua--explicit-region-start)
1511         (cua--last-region-shifted): Remove.
1512         (cua--deactivate): Use deactivate-mark.
1513         (cua--pre-command-handler-1): Don't handle shift-selection.
1514         (cua--post-command-handler-1): Don't change transient-mark-mode.
1515         (cua--select-keymaps): Use region-active-p rather than
1516         cua--explicit-region-start or cua--last-region-shifted.
1517         (cua-mode): Enable shift-select-mode.
1519 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1521         * progmodes/flymake.el (flymake-popup-current-error-menu):
1522         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
1523         (flymake-posn-at-point-as-event, flymake-popup-menu)
1524         (flymake-make-emacs-menu): Remove.  (Bug#16077)
1526 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1528         * rect.el (rectangle-mark-mode): Activate mark even if
1529         transient-mark-mode is off (bug#16066).
1530         (rectangle--highlight-for-redisplay): Fix boundary condition when point
1531         is > mark and at bolp.
1533         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1534         (region-extract-function): Use it.
1535         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1536         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1537         Delete functions.
1538         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1539         kill-ring-save, kill-region, delete-char, delete-forward-char.
1540         Ignore self-insert-iso.
1542         * emulation/cua-gmrk.el (cua--init-global-mark):
1543         Ignore `self-insert-iso'.
1545         * emulation/cua-base.el (cua--prefix-copy-handler)
1546         (cua--prefix-cut-handler): Rely on region-extract-function rather than
1547         checking cua--rectangle.
1548         (cua-delete-region): Use region-extract-function.
1549         (cua-replace-region): Delete function.
1550         (cua-copy-region, cua-cut-region): Obey region-extract-function.
1551         (cua--pre-command-handler-1): Don't do the delete-selection thing.
1552         (cua--self-insert-char-p): Ignore `self-insert-iso'.
1553         (cua--init-keymaps): Don't remap delete-selection commands.
1554         (cua-mode): Use delete-selection-mode instead of rolling our own
1555         (bug#16085).
1557         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1558         Obey region-extract-function.
1560         Make registers and delete-selection-mode work on rectangles.
1561         * register.el (describe-register-1): Don't modify the register's value.
1562         (copy-to-register): Obey region-extract-function.
1563         * delsel.el (delete-active-region): Obey region-extract-function.
1565 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1567         * progmodes/flymake.el (flymake, flymake-error-bitmap)
1568         (flymake-warning-bitmap, flymake-fringe-indicator-position)
1569         (flymake-compilation-prevents-syntax-check)
1570         (flymake-start-syntax-check-on-newline)
1571         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1572         (flymake-start-syntax-check-on-find-file, flymake-log-level)
1573         (flymake-xml-program, flymake-master-file-dirs)
1574         (flymake-master-file-count-limit)
1575         (flymake-allowed-file-name-masks): Relocate.
1576         (flymake-makehash, flymake-float-time)
1577         (flymake-replace-regexp-in-string, flymake-split-string)
1578         (flymake-get-temp-dir): Remove.
1579         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1580         (flymake-current-row, flymake-selected-frame)
1581         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1582         related functions.  (Bug#16077)
1584 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
1586         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1588 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
1590         * help-fns.el (describe-function-1): Use new advice-* functions
1591         rather than old ad-* functions.  Fix function type description and
1592         source links for advised functions and subrs.
1594 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1596         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1598 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
1600         * progmodes/compile.el (compilation-start):
1601         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1603         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1604         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
1606 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1608         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1609         Touch up the last change.
1611 2013-12-06  Leo Liu  <sdl.web@gmail.com>
1613         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1614         (inferior-octave-startup): Always use "octave> " for prompt.
1615         (octave-goto-function-definition)
1616         (octave-sync-function-file-names)
1617         (octave-find-definition-default-filename): Remove redundant backquotes.
1619 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1621         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1622         syntax for `?'.
1623         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1624         where appropriate already.
1625         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1626         end of method names (Bug#15874).
1628 2013-12-06  Juri Linkov  <juri@jurta.org>
1630         * isearch.el (isearch--saved-overriding-local-map):
1631         New internal variable.
1632         (isearch-mode): Set it to the initial value of
1633         `overriding-terminal-local-map'.
1634         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1635         with `isearch--saved-overriding-local-map'.  (Bug#16035)
1637 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1639         * progmodes/octave.el (inferior-octave-completion-table):
1640         Turn back into function, use `completion-table-with-cache'
1641         (Bug#11906).  Update all references.
1643         * minibuffer.el (completion-table-with-cache): New function.
1645 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1647         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1649 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
1651         * net/eww.el (eww-current-source): New variable to store page
1652         source.
1653         (eww-display-html, eww-mode, eww-save-history)
1654         (eww-restore-history): Use it.
1655         (eww-view-source): New command to view page source.
1656         Opportunistically uses `html-mode' to highlight the buffer.
1657         (eww-mode-map): Install it.
1659 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
1661         * net/dbus.el (dbus-unregister-service)
1662         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1663         Fix docstring.
1664         (dbus-unregister-service): Skip :serial entries in
1665         `dbus-registered-objects-table'.
1666         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1668 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
1670         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1671         around keywords with extra `split-string' argument.
1673 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
1675         * windmove.el (windmove-other-window-loc): Handle navigation
1676         between windows (excluding the minibuffer window - Bug#16017).
1678 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
1680         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1681         in D-Bus type syntax.
1682         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1683         preserve unibyte strings.  (Bug#16048)
1685 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1687         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1688         Call force-mode-line-update is the proper buffer (bug#16042).
1690 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
1692         * vc/log-edit.el (log-edit-add-new-comment): Rename to
1693         `log-edit-remember-comment', make argument optional.  Adjust all
1694         callers.
1695         (log-edit-mode): Add `log-edit-remember-comment' to
1696         `kill-buffer-hook' locally.
1697         (log-edit-kill-buffer): Don't remember comment explicitly since
1698         the buffer is killed anyway.
1700 2013-12-04  Juri Linkov  <juri@jurta.org>
1702         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1703         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
1705 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
1707         * notifications.el (notifications-close-notification): Call the
1708         D-Bus method with ID being a `:uint32'.  (Bug#16030)
1710 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1712         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1714 2013-12-03  Juri Linkov  <juri@jurta.org>
1716         * progmodes/compile.el (compilation-start): Rename window alist
1717         entry `no-display-ok' to `allow-no-window'.
1719         * simple.el (shell-command): Add window alist entry
1720         `allow-no-window' to `display-buffer'.
1721         (async-shell-command): Doc fix.
1723         * window.el (display-buffer-no-window): New action function.
1724         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
1726 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1728         * vc/log-edit.el (log-edit-set-header): Extract from
1729         `log-edit-toggle-header'.
1730         (log-edit-extract-headers): Separate the summary, when extracted
1731         from header, from the rest of the message with an empty line.
1733         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1734         line, if present, to the Summary header.
1736 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1738         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1739         in current-buffer (bug#16029).
1741 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
1743         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1744         (debugger-mode-map): Bind it.
1745         (debugger--backtrace-base): New function.
1746         (debugger-eval-expression): Use it.
1747         (debugger-frame-number): Skip local vars when present.
1748         (debugger--locals-visible-p, debugger--insert-locals)
1749         (debugger--show-locals, debugger--hide-locals): New functions.
1751 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
1753         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1754         "LC_ALL".
1755         (tramp-get-remote-locale): New defun.
1756         (tramp-open-connection-setup-interactive-shell): Use it.
1758 2013-12-02  Leo Liu  <sdl.web@gmail.com>
1760         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
1762         * progmodes/sh-script.el (sh-shell-process):
1763         * progmodes/octave.el (inferior-octave-process-live-p):
1764         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1765         (gdb-inferior-io-sentinel):
1766         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1768 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1770         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1771         `save-selected-window' to `log-edit-hide-buf'.  This makes
1772         `log-edit-show-files' idempotent.
1773         (log-edit-show-files): Mark the new window as dedicated.
1775 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1777         * vc/log-edit.el (log-edit-mode-map): Add binding for
1778         `log-edit-kill-biffer'.
1779         (log-edit-hide-buf): Add a FIXME comment.
1780         (log-edit-add-new-comment): New function, extracted from
1781         `log-edit-done'.
1782         (log-edit-done, log-edit-add-to-changelog): Use it.
1783         (log-edit-kill-buffer): New command.
1785 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1787         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1788         instead of killing the buffer.
1790 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1792         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1794 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1796         * net/eww.el (eww-form-checkbox-selected-symbol)
1797         (eww-form-checkbox-symbol): New customizable variable.
1798         (eww-form-checkbox, eww-toggle-checkbox):
1799         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1801         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1802         (shr--get-media-pref, shr--extract-best-source): New function.
1803         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1804         no :src tag was specified.
1806         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1807         (eww-render): Handle `eww-use-external-browser-for-content-type'.
1808         Use \\` to match beginning of string instead of ^.
1809         (eww-browse-with-external-browser): Provide optional URL parameter.
1810         (eww-render): Set `eww-current-title' back to "".
1812         * net/shr.el (shr-tag-video): Display content for video if no
1813         poster is available.
1814         (shr-tag-audio): Add support for <audio> tag.
1816         * net/eww.el (eww-text-input-types): New const.
1817         (eww-process-text-input): Treat input types in
1818         `eww-text-input-types' as text.
1820         * net/shr.el (shr-tag-table): Fix comment typo.
1822 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1824         * net/eww.el (eww-follow-link): New command to avoid reloading
1825         pages when we follow #target links (bug#15243).
1826         (eww-quit): Special mode buffers shouldn't query before exiting.
1828 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1830         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1831         forms.
1833 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1835         * net/eww.el (eww-restore-history): Update the window title after
1836         moving in the history.
1837         (eww-current-dom): New variable used to save the current DOM.
1839 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
1841         * vc/log-edit.el (log-edit-mode-map): Add binding for
1842         `log-edit-beginning-of-line'.
1843         (log-edit-setup-add-author): New user option.
1844         (log-edit-beginning-of-line): New command.
1845         (log-edit): Move major mode call above the contents setup so that
1846         the local variable values are already applied.
1847         (log-edit): Only insert "Author: " when
1848         `log-edit-setup-add-author' is non-nil.
1849         (log-edit): When SETUP is non-nil, position point after ": "
1850         instead of point-min.
1852 2013-12-01  Glenn Morris  <rgm@gnu.org>
1854         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1856 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
1858         * startup.el (fancy-splash-frame): On MS-Windows, trigger
1859         redisplay to make sure the initial frame gets a chance to become
1860         visible.  (Bug#16014)
1862 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
1864         Support resizing frames and windows pixelwise.
1865         * cus-start.el (frame-resize-pixelwise)
1866         (window-resize-pixelwise): New entries.
1867         * emacs-lisp/debug.el (debug): Use window-total-height instead
1868         of window-total-size.
1869         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1870         * help.el (describe-bindings-internal): Call help-buffer
1871         (temp-buffer-max-width): New option.
1872         (resize-temp-buffer-window, help-window-setup)
1873         (with-help-window): Rewrite.
1874         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
1875         dragging dividers.
1876         * window.el (frame-char-size, window-min-pixel-height)
1877         (window-safe-min-pixel-height, window-safe-min-pixel-width)
1878         (window-min-pixel-width, window-safe-min-pixel-size)
1879         (window-combination-p, window-safe-min-size)
1880         (window-resizable-p, window--size-to-pixel)
1881         (window--pixel-to-size, window--resize-apply-p): New functions.
1882         (window-safe-min-height): Fix doc-string.
1883         (window-size, window-min-size, window--min-size-1)
1884         (window-sizable, window-sizable-p, window--min-delta-1)
1885         (window-min-delta, window--max-delta-1, window-max-delta)
1886         (window--resizable, window--resizable-p, window-resizable)
1887         (window-full-height-p, window-full-width-p, window-at-side-p)
1888         (window--in-direction-2, window-in-direction)
1889         (window--resize-reset-1, window--resize-mini-window)
1890         (window-resize, window-resize-no-error)
1891         (window--resize-child-windows-normal)
1892         (window--resize-child-windows, window--resize-siblings)
1893         (window--resize-this-window, window--resize-root-window)
1894         (window--resize-root-window-vertically)
1895         (adjust-window-trailing-edge, enlarge-window, shrink-window)
1896         (maximize-window, minimize-window, delete-window)
1897         (quit-restore-window, window-split-min-size, split-window)
1898         (balance-windows-2, balance-windows)
1899         (balance-windows-area-adjust, balance-windows-area)
1900         (window--state-get-1, window-state-get, window--state-put-1)
1901         (window--state-put-2, window-state-put)
1902         (display-buffer-record-window, window--display-buffer):
1903         Make functions handle pixelwise sizing of windows.
1904         (display-buffer--action-function-custom-type)
1905         (display-buffer-fallback-action):
1906         Add display-buffer-in-previous-window.
1907         (display-buffer-use-some-window): Resize window to height it had
1908         before.
1909         (fit-window-to-buffer-horizontally): New option.
1910         (fit-frame-to-buffer): Describe new values.
1911         (fit-frame-to-buffer-bottom-margin): Replace with
1912         fit-frame-to-buffer-margins.
1913         (window--sanitize-margin): New function.
1914         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1915         using window-text-pixel-size.
1917 2013-11-30  Glenn Morris  <rgm@gnu.org>
1919         * emacs-lisp/bytecomp.el (byte-compile-form):
1920         Make the `interactive-only' warning like the `obsolete' one.
1921         * comint.el (comint-run):
1922         * files.el (insert-file-literally, insert-file):
1923         * replace.el (replace-string, replace-regexp):
1924         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1925         (goto-line, insert-buffer, next-line, previous-line):
1926         Tweak `interactive-only' spec.
1928         Stop keeping (most) generated cedet grammar files in the repository.
1929         * Makefile.in (semantic): New.
1930         (compile-main): Depend on semantic.
1932 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1934         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1935         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1937         * uniquify.el (uniquify-buffer-name-style): Change default.
1939         * loadup.el: Preload "uniquify".
1941         * time.el (display-time-update): Update all mode lines (bug#15999).
1943         * electric.el (electric-indent-mode): Enable by default.
1944         * loadup.el: Preload "electric".
1946 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
1948         * emacs-lisp/helpers.el (string-empty-p): New function.
1949         (string-blank-p): New function.
1951 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
1953         * imenu.el (imenu--index-alist): Add missing dot to the docstring
1954         (Bug#14029).
1956 2013-11-29  Andreas Politz  <politza@fh-trier.de>
1957         * imenu.el (imenu--subalist-p): Don't error on non-conses and
1958         allow non-lambda lists as functions.
1959         (imenu--in-alist): Don't recurse into non-subalists.
1960         (imenu): Don't pass function itself as an argument (Bug#14029).
1962 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1964         * progmodes/python.el (python-mode-map): Remove binding for ":".
1965         (python-indent-electric-colon): Remove command.
1966         (python-indent-post-self-insert-function): Integrate the previous code
1967         of python-indent-electric-colon.  Make it conditional on
1968         electric-indent-mode.
1969         (python-mode): Add ?: to electric-indent-chars.
1970         Move python-indent-post-self-insert-function to the end of
1971         post-self-insert-hook.
1973 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1975         * doc-view.el (doc-view-goto-page): Update mode-line.
1977         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1979 2013-11-27  Glenn Morris  <rgm@gnu.org>
1981         * international/charprop.el, international/uni-bidi.el:
1982         * international/uni-category.el, international/uni-combining.el:
1983         * international/uni-comment.el, international/uni-decimal.el:
1984         * international/uni-decomposition.el, international/uni-digit.el:
1985         * international/uni-lowercase.el, international/uni-mirrored.el:
1986         * international/uni-name.el, international/uni-numeric.el:
1987         * international/uni-old-name.el, international/uni-titlecase.el:
1988         * international/uni-uppercase.el:
1989         Remove generated files from VCS repository.
1991 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
1993         * filenotify.el (file-notify-add-watch): Don't special-case
1994         w32notify when computing the directory to watch.
1996 2013-11-27  Glenn Morris  <rgm@gnu.org>
1998         Make bootstrap without generated uni-*.el files possible again.
1999         * loadup.el: Update command-line-args checking for unidata-gen.
2000         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2001         * composite.el, international/characters.el:
2002         Handle unicode tables being undefined.
2004         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2005         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2006         (compile-main): Depend on leim rule.
2007         (leim): New rule.
2008         * loadup.el: Move leim-list.el to leim/ subdirectory.
2009         * startup.el (normal-top-level): No more leim directory.
2010         * international/ja-dic-cnv.el (skkdic-convert):
2011         Disable version-control and autoloads in output files.
2012         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2013         Disable version-control and autoloads in output files.
2014         * leim/quail: Move here from ../leim.
2015         * leim/quail/hangul.el (hangul-input-method-activate):
2016         Add autoload cookie.
2017         (generated-autoload-load-name): Set file-local value.
2018         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2019         (generated-autoload-load-name): Set file-local value.
2021 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
2023         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2024         (eww-add-bookmark): Ask confirmation when add to bookmarks.
2025         (eww-quit): Ask confirmation before quitting eww.
2027 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
2029         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2030         reading output from Diff on MS-Windows and MS-DOS.
2032 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
2034         * emacs-lisp/helpers.el (string-reverse): New function.
2036 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
2038         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2039         names on MS Windows, like "/[::1]:".
2041         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2042         SWITCHES.
2044 2013-11-26  Glenn Morris  <rgm@gnu.org>
2046         * progmodes/python.el (python-indent-guess-indent-offset):
2047         Avoid corner-case error.  (Bug#15975)
2049         Preload leim-list.el.  (Bug#4789)
2050         * loadup.el: Load leim-list.el when found.
2051         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2053 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
2055         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2057         * emacs-lisp/helpers.el (string-join): New function.
2059 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
2061         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2062         Mark as obsolete and replace it with a symbol property.
2063         (byte-compile-form): Use new 'interactive-only property.
2064         * comint.el, files.el, replace.el, simple.el:
2065         Apply new 'interactive-only properly.
2067 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
2069         * window.el (display-buffer-at-bottom): Make sure that
2070         split-window-sensibly creates the new window on bottom
2071         (Bug#15961).
2073 2013-11-23  David Kastrup  <dak@gnu.org>
2075         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2076         on the conflict markers when available.
2077         (smerge--get-marker): New function.
2078         (smerge-end-re, smerge-base-re): Add subgroup.
2080 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2082         * frame.el (handle-focus-in, handle-focus-out): Add missing
2083         interactive spec.
2085 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
2087         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2088         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2090 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2092         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
2093         (gomoku--last-pos): New var.
2094         (gomoku--intangible-chars): New const.
2095         (gomoku--intangible): New function.
2096         (gomoku-mode): Use it.  Derive from special-mode.
2097         (gomoku-move-up): Adjust line count.
2098         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2099         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2100         Simplify accordingly.
2102         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2103         Remove blink-cursor code.
2104         (blink-cursor-timer-function, blink-cursor-suspend):
2105         Don't special-case GUIs.
2106         (blink-cursor-mode): Use focus-in/out-hook.
2108 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
2110         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2111         work when annotation is invisible (Bug#13886).
2113 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
2115         * json.el (json-alist-p): Only return non-nil if the alist has
2116         simple keys (Bug#13518).
2118 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
2120         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2121         when control-statement is the first statement in a buffer (Bug#15956).
2123 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
2125         * imenu.el (imenu-generic-skip-comments-and-strings):
2126         New option (Bug#15560).
2127         (imenu--generic-function): Use it.
2129 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
2131         * minibuffer.el (completion--in-region-1): Scroll the correct window.
2132         (Bug#13898)
2134 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
2136         * emacs-lisp/helpers.el: Add some string helpers.
2137         (string-trim-left): Removes leading whitespace.
2138         (string-trim-right): Removes trailing whitespace.
2139         (string-trim): Removes leading and trailing whitespace.
2141         * subr.el (string-suffix-p): New function.
2143 2013-11-23  Glenn Morris  <rgm@gnu.org>
2145         * progmodes/python.el (python-shell-send-file):
2146         Add option to delete file when done.  (Bug#15647)
2147         (python-shell-send-string, python-shell-send-region): Use it.
2149 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
2151         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2152         to set buffer-read-only to t, never to nil.  (Bug#15938)
2154         * textmodes/tex-mode.el (latex-noindent-environments):
2155         Add safe-local-variable property.  (Bug#15936)
2157 2013-11-23  Glenn Morris  <rgm@gnu.org>
2159         * textmodes/enriched.el (enriched-mode): Doc fix.
2160         * emacs-lisp/authors.el (authors-renamed-files-alist):
2161         Add enriched.doc -> enriched.txt.
2163         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2165 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2167         * progmodes/octave.el (inferior-octave-startup): Spit out error
2168         message.
2170 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
2172         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2173         Improve docstring.
2174         Add :version.
2175         (ruby-encoding-magic-comment-style): Add :version.
2177 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2179         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2180         (Bug#15076)
2181         (octave-help-mode): Adapt to change to help-mode-finish to use
2182         derived-mode-p on 2013-09-17.
2183         (inferior-octave-prompt): Also match octave-gui.
2184         (octave-kill-process): Don't ask twice.  (Bug#10564)
2186 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2188         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2189         (inferior-octave-startup, inferior-octave-check-process)
2190         (inferior-octave-track-window-width-change)
2191         (octave-completion-at-point, octave-eldoc-function): Use it.
2192         (octave-kill-process): Provide confirmation.  (Bug#10564)
2194 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2196         * progmodes/octave.el (octave-mode, inferior-octave-mode):
2197         Fix obsolete variable comment-use-global-state.
2199 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2201         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2202         Add `octave-source-file'.
2203         (octave-source-file): New function.  (Bug#15935)
2205 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
2207         * net/eww.el (eww-local-regex): New variable.
2208         (eww): Use it to detect localhost and similar.
2210 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2212         Add completion for command `ag'.
2213         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2214         (pcomplete/ag): New function.
2215         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
2217 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2219         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2220         (bug#14646).
2221         (make-obsolete): Remove interactive spec.
2223 2013-11-21  Glenn Morris  <rgm@gnu.org>
2225         * startup.el (command-line-1): Use path-separator with -L.
2227 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
2229         * emacs-lisp/package.el (describe-package-1): Add package archive
2230         to shown fields.
2232 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
2234         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2235         Change default to "# encoding: %s" to differentiate it from the
2236         default Ruby encoding comment template.
2238 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
2240         * ses.el (ses-mode): Doc fix.  (Bug#14748)
2242 2013-11-20  Leo Liu  <sdl.web@gmail.com>
2244         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
2246 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
2248         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2249         when rebase or bisect are in progress.
2251 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
2253         * filenotify.el (file-notify-add-watch): Doc fix.
2255 2013-11-19  Leo Liu  <sdl.web@gmail.com>
2257         * obsolete/rcompile.el: Mark obsolete.
2259         * progmodes/compile.el (compilation-start)
2260         (compilation-goto-locus, compilation-find-file):
2261         Pass no-display-ok and handle nil value from display-buffer.
2262         (Bug#13594)
2264         * window.el (display-buffer-alist, display-buffer): Document the
2265         new parameter no-display-ok.  Return either a window or nil
2266         but never a non-window value.
2268 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2270         * electric.el (electric-indent-mode-map): Remove.
2271         (electric-indent-mode): Change the global-map instead (bug#15915).
2273         * textmodes/text-mode.el (paragraph-indent-minor-mode):
2274         Use add-function.
2276 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * emacs-lisp/nadvice.el (remove-function): Align with
2279         add-function's behavior.
2281         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2282         (gdb--string-regexp): New constant.
2283         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2284         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2285         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2286         submatch 1.
2287         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2288         Adjust use accordingly.
2289         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2291 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
2293         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2294         interpolation curlies (Bug#15914).
2296 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
2298         * calc/calc.el (calc-context-sensitive-enter): New variable.
2299         (calc-enter): Use `calc-context-sensitive-enter'.
2301 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
2303         * progmodes/cfengine.el: Version bump.
2304         (cfengine-cf-promises): New defcustom to locate cf-promises.
2305         (cfengine3-vartypes): Add new "data" type.
2306         (cfengine3--current-word): New function to get current name-like
2307         word or its bounds.
2308         (cfengine3--current-function): New function to look up a CFEngine
2309         function's definition.
2310         (cfengine3-format-function-docstring): New function.
2311         (cfengine3-make-syntax-cache): New function.
2312         (cfengine3-documentation-function): New function: ElDoc glue.
2313         (cfengine3-completion-function): New function: completion glue.
2314         (cfengine3-mode): Set `compile-command',
2315         `eldoc-documentation-function', and add to
2316         `completion-at-point-functions'.
2318 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
2320         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2321         `tramp-current-connection'.
2323 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
2325         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2326         nil/self/true/false with "end of symbol".
2328 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
2330         * subr.el (version-regexp-alist): Fix a typo.
2332 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
2334         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2335         "en_US.utf8" and "LC_CTYPE" to "".
2336         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2337         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2339 2013-11-15  Leo Liu  <sdl.web@gmail.com>
2341         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
2343 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2345         * progmodes/gud.el (ctl-x-map):
2346         Remove C-x SPC binding.  (Bug#12342)
2347         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2349 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
2351         * subr.el (version-regexp-alist):
2352         Recognize hg, svn and darcs versions as snapshot versions.
2354         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2355         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2356         (ruby--encoding-comment-required-p): Extract from
2357         `ruby-mode-set-encoding'.
2358         (ruby-mode-set-encoding): Add the ability to always insert an
2359         utf-8 encoding comment.  Fix and simplify coding comment update
2360         logic.
2362 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
2364         * net/tramp-gvfs.el (top): Run init code only when
2365         `tramp-gvfs-enabled' is not nil.
2366         (tramp-gvfs-enabled): Check also :system bus.
2368 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2370         Sync with upstream verilog-mode revision 78e66ba.
2371         * progmodes/verilog-mode.el (verilog-end-of-defun)
2372         (verilog-type-completion, verilog-get-list): Remove unused funcs.
2373         (verilog-get-end-of-defun): Remove unused argument.
2374         (verilog-comment-depth): Remove unused local `e'.
2375         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2376         Don't pass arg to verilog-get-end-of-defun.
2378 2013-11-14  Glenn Morris  <rgm@gnu.org>
2380         * obsolete/assoc.el (aget): Prefix dynamic variable.
2382         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2384 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2386         * widget.el, hfy-cmap.el: Remove bogus package version number.
2388 2013-11-13  Glenn Morris  <rgm@gnu.org>
2390         * replace.el (replace-eval-replacement):
2391         Try to give more helpful error message.  (Bug#15836)
2393         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2394         (archive-7z-update): Avoid custom type mismatches.
2396         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2398 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
2400         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2401         address can be empty.
2403         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2404         Accept nil SWITCHES.
2405         (tramp-gvfs-handle-write-region): Implement APPEND.
2407 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
2409         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2410         binary "|" operator and closing block args delimiter.
2411         Remove FIXME comment referring to Ruby 1.8-only syntax.
2412         (ruby-smie--implicit-semi-p): Not after "|" operator.
2413         (ruby-smie--closing-pipe-p): New function.
2414         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2415         (ruby-smie-rules): Indent after "|".
2417 2013-11-12  Glenn Morris  <rgm@gnu.org>
2419         * ps-print.el (ps-face-attribute-list):
2420         Handle anonymous faces.  (Bug#15827)
2422 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
2424         * window.el (display-buffer-other-frame): Fix doc-string.
2425         (Bug#15868)
2427 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2429         * subr.el (force-mode-line-update): Delete, move to buffer.c.
2431 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
2433         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2434         (tramp-sh-handle-file-local-copy): Don't write a message when
2435         saving temporary files.
2437         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2438         both directories are remote.
2439         (tramp-smb-handle-directory-files): Do not return double entries.
2440         Do not expand full file names.
2441         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2442         (tramp-smb-handle-write-region): Implement APPEND.
2443         (tramp-smb-get-stat-capability): Fix a stupid bug.
2445 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2447         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2449 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2451         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2452         throwing error over malformed let/let* (bug#15814).
2454 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2456         * iswitchb.el (iswitchb-mode): Mark obsolete.
2458 2013-11-11  Glenn Morris  <rgm@gnu.org>
2460         * international/uni-bidi.el, international/uni-category.el:
2461         * international/uni-name.el, international/uni-numeric.el:
2462         Regenerate for Unicode 6.3.0.
2464 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
2466         * net/tramp.el (tramp-methods):
2467         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2468         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2470 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
2472         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2473         Force highlighting text after Summary keyword in doc face for rpm.
2475 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
2477         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2478         available and the word has no wildcards, append one to the grep pattern.
2479         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2480         (ispell-complete-word): Call `ispell-lookup-words' with the value
2481         independent of `ispell-look-p'.
2483 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2485         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2486         Not after "||".
2487         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2488         their parent.
2490 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2492         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
2493         (ruby-font-lock-keywords): Use backquote.
2495 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2497         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2498         (ruby-smie--backward-token): Only consider full-string matches.
2500 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
2502         * faces.el (describe-face): Add distant-foreground.
2504 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
2506         * progmodes/ruby-mode.el: Improve encoding comment handling.
2507         (ruby-encoding-magic-comment-style): New option.
2508         (ruby-custom-encoding-magic-comment-template): New option.
2509         (ruby--insert-coding-comment, ruby--detect-encoding):
2510         New functions extracted from `ruby-mode-set-encoding'.
2511         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2512         to control the style of the auto-inserted encoding comment.
2514 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2516         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2517         Use `smie-backward-sexp' with token argument.
2519 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
2521         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2522         Remove instrumentation code.
2524 2013-11-08  Glenn Morris  <rgm@gnu.org>
2526         * progmodes/autoconf.el (autoconf-mode):
2527         Tweak comment-start-skip.  (Bug#15822)
2529 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2531         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2532         at bobp (bug#15826).
2533         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2535 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
2537         * man.el (Man-start-calling): New macro, extracted from
2538         Man-getpage-in-background.
2539         (Man-getpage-in-background): Use it.
2540         (Man-update-manpage): New command.
2541         (Man-mode-map): Bind it.
2543 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2545         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2546         of "and", "or", "&&" and "||".
2547         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2548         argument.  Prohibit opening curly brace because it could only be a
2549         block opener in that position.
2550         (ruby-smie--forward-token, ruby-smie--backward-token):
2551         Separate "|" from "&" or "*" going after it.  That can happen in block
2552         arguments.
2553         (ruby-smie--indent-to-stmt): New function, seeks the end of
2554         previous statement or beginning of buffer.
2555         (ruby-smie-rules): Use it.
2556         (ruby-smie-rules): Check if there's a ":" before a curly block
2557         opener candidate; if there is, it's a hash.
2559 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2561         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2562         (cl--block-wrapper): Fix last accidental change.
2564 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
2566         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2567         Instrument, in order to hunt failure on hydra.
2569 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2571         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2572         malformed bindings form (bug#15814).
2574 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
2576         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2577         "." compared to " @ ".  This incidentally fixes some indentation
2578         examples with "do".
2579         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2580         (ruby-smie-grammar): New tokens: "and" and "or".
2581         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2582         Exclude "and" and "or".  Remove "do" in order to work around token
2583         priorities.
2584         (ruby-smie-rules): Add all infix tokens.  Handle the case of
2585         beginning-of-buffer.
2587 2013-11-06  Glenn Morris  <rgm@gnu.org>
2589         * Makefile.in (setwins_almost, setwins_for_subdirs):
2590         Avoid accidental matches.
2592 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2594         * menu-bar.el (popup-menu): Use key-binding.
2596 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
2598         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2599         menus, support also the menus produced by minor modes.
2600         (Bug#15817)
2602 2013-11-06  Leo Liu  <sdl.web@gmail.com>
2604         * thingatpt.el (thing-at-point-looking-at): Add optional arg
2605         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
2607 2013-11-06  Glenn Morris  <rgm@gnu.org>
2609         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2610         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2611         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2613 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * electric.el (electric-indent-just-newline): New command.
2616         (electric-indent-mode-map): New keymap.
2617         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2618         Re-add :group which weren't redundant.
2620         * electric.el (electric-indent-local-mode): New minor mode.
2621         (electric-indent-functions-without-reindent): New var.
2622         (electric-indent-post-self-insert-function): Use it.
2623         * emacs-lisp/gv.el (buffer-local-value): Add setter.
2625 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
2627         * international/quail.el (quail-help): Be more explicit about the
2628         meaning of the labels shown on the keys.  (Bug#15800)
2630         * startup.el (normal-top-level): Load the subdirs.el files before
2631         setting the locale environment.  (Bug#15805)
2633 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2635         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2636         via arguments so as to get the right ones (bug#15418).
2638         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2640 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
2642         Fix problems found while writing a test suite.
2644         * net/tramp-compat.el (tramp-compat-load): New defun.
2645         * net/tramp.el (tramp-handle-load): Use it.
2647         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2648         "(numberp ok-if-already-exists)" correctly.
2650 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
2652         * international/characters.el (glyphless-char-display-control):
2653         Add usage note.
2655 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
2657         * progmodes/python.el (python-mode):
2658         * progmodes/scheme.el (scheme-mode):
2659         * progmodes/prolog.el (prolog-mode):
2660         * progmodes/ruby-mode.el (ruby-mode):
2661         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2662         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2664 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2666         * rect.el (rectangle--highlight-for-redisplay):
2667         * emacs-lisp/smie.el (smie--next-indent-change):
2668         Use buffer-chars-modified-tick.
2670         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2672         * electric.el (electric-indent-post-self-insert-function):
2673         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2675 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
2677         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2679 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2681         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2682         (bug#15786).
2684 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2686         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
2688         * progmodes/python.el: Fix up last change.
2689         (python-shell--save-temp-file): New function.
2690         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
2691         `string' comes from the current buffer.
2692         (python-shell-send-string-no-output): Remove `msg' arg.
2693         (python--use-fake-loc): New var.
2694         (python-shell-buffer-substring): Obey it.  Try to compensate for the
2695         extra coding line added by python-shell--save-temp-file.
2696         (python-shell-send-region): Use python-shell--save-temp-file and
2697         python-shell-send-file directly.  Add `nomain' argument.
2698         (python-shell-send-buffer): Use python-shell-send-region.
2699         (python-electric-pair-string-delimiter): New function.
2700         (python-mode): Use it.
2702 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
2704         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2705         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2706         environment and decoding all of the default-directory's to here
2707         from command-line.
2708         (command-line): Decode also argv[0].
2710         * loadup.el: Error out if default-directory is a multibyte string
2711         when we are dumping.
2713         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
2715 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
2717         * emacs-lisp/package.el (package-menu-mode)
2718         (package-menu--print-info, package-menu--archive-predicate):
2719         Add Archive column to package list.
2721 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
2723         Fix problems found while writing a test suite.
2725         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2726         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2727         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2728         to nil when running original file name handler.  Otherwise,
2729         there are problems with constructs like "$$FOO".
2731         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2732         for `localname'.
2734 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
2736         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2738         * subr.el (version<, version<=, version=):
2739         Update docstrings with information for snapshot versions.
2741         * helpers.el: New library for misc helper functions.
2742         (hash-table-keys): New function returning a list of hash keys.
2743         (hash-table-values): New function returning a list of hash values.
2745 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
2747         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2748         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2750 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
2752         * textmodes/fill.el (fill-single-char-nobreak-p): New function
2753         checking whether point is after a 1-letter word.
2755 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2757         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2758         Don't infloop when expanding region over `multiline' syntax-type that
2759         begins a line (bug#15778).
2761 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2763         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2764         Make it into a proper minor mode.
2765         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2766         (rectangle-mark-mode-map): New keymap.
2767         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2769 2013-11-04  Glenn Morris  <rgm@gnu.org>
2771         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2773 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2775         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2776         (ruby-smie-rules): Use smie-rule-parent instead.
2778         * emacs-lisp/smie.el (smie-rule-parent): Always call
2779         smie-indent-virtual rather than only for hanging tokens.
2780         (smie--next-indent-change): New helper command.
2782 2013-11-03  Glenn Morris  <rgm@gnu.org>
2784         * Makefile.in (abs_srcdir): Remove.
2785         (emacs): Unset EMACSLOADPATH.
2787 2013-11-02  Glenn Morris  <rgm@gnu.org>
2789         * Makefile.in (EMACS): Use a relative filename.
2790         (abs_top_builddir): Remove.
2791         (custom-deps, finder-data, autoloads): Use --chdir.
2793         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2795         Use relative filenames in TAGS files.
2796         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2797         (lisptagsfiles4, TAGS): Use relative file names.
2798         (TAGS-LISP): Remove.
2799         (maintainer-clean): No more TAGS-LISP file.
2801         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2802         (lisptagsfiles4): Use absolute filenames again.
2803         (TAGS, TAGS-LISP): Not everything needs to run in one line.
2804         Remove all *loaddefs files, not just the first.  Remove esh-groups.
2805         (maintainer-clean): Delete TAGS, TAGS-LISP.
2807 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2809         * emacs-lisp/package.el (package-version-join):
2810         Recognize snapshot versions.
2812 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2814         * subr.el (version-regexp-alist): Add support for snapshot versions.
2816 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2818         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2819         New function, replacement for `smie-rule-parent' for when we want to
2820         skip over our direct parent if it's an assignment token..
2821         (ruby-smie-rules): Use it.
2823 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
2825         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2826         unconditionally.  Remove now unnecessary forward declarations.
2827         Remove XEmacs-specific setup.
2828         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2829         (ruby-font-lock-syntactic-keywords)
2830         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2831         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2832         (ruby-here-doc-end-syntax): Remove.
2833         (ruby-mode): Don't check whether `syntax-propertize-rules' is
2834         defined as function.
2836 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
2838         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2840 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2842         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2843         table and abbrev table, `define-derived-mode' does that for us
2844         anyway.
2846 2013-11-01  Glenn Morris  <rgm@gnu.org>
2848         * Makefile.in: Remove manual mh-e dependencies (writing .elc
2849         files is atomic for some time, so no parallel compilation issues).
2851 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
2853         * faces.el (face-x-resources): Add :distant-foreground.
2854         (region): Use :distant-foreground for gtk and ns.
2856 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
2858         Allow multiple bibliographies when BibLaTeX is used rather than
2859         BibTeX.
2860         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2861         (reftex-locate-bibliography-files): Us it.
2863 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
2865         * image.el (image-type-header-regexps): Fix the 'pbm' part to
2866         allow comments in pbm files.
2868         * term/w32-win.el (dynamic-library-alist): Support newer versions
2869         of libjpeg starting with v7: look only for the DLL from the
2870         version against which Emacs was built.
2871         Support versions of libpng beyond 1.4.x.
2872         Support libtiff v4.x.
2874 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
2876         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2877         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2878         Add property :safe.
2879         (ruby-deep-arglist): Add property :type.
2881 2013-10-31  Glenn Morris  <rgm@gnu.org>
2883         * Makefile.in (custom-deps, finder-data): No need to setq the target
2884         variables, we are in the right directory and the defaults work fine.
2886 2013-10-30  Glenn Morris  <rgm@gnu.org>
2888         * Makefile.in (autoloads): Do not use abs_lisp.
2890         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2891         `newline' does not respect `standard-output', so use `princ'.
2893 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
2895         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
2896         * buff-menu.el (Buffer-menu--unmark): New function.
2897         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2899 2013-10-30  Glenn Morris  <rgm@gnu.org>
2901         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2903         * emacs-lisp/package.el (lm-homepage): Declare.
2905         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2906         Fix doc typos.
2908         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2910         * Makefile.in (finder-data, autoloads, update-subdirs)
2911         (compile-main, compile-clean, compile-always, bootstrap-clean):
2912         Check return value of cd.
2913         (compile-calc): Remove.
2915 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2917         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2919         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2920         (byte-compile-and-folded): New function.
2921         (=, <, >, <=, >=): Use it.
2923         * dos-w32.el (minibuffer-history-case-insensitive-variables)
2924         (path-separator, null-device, buffer-file-coding-system)
2925         (lpr-headers-switches): Check system-type before modifying them.
2926         (find-buffer-file-type-coding-system): Mark obsolete.
2927         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2928         find-file-not-found-set-buffer-file-coding-system.
2929         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2930         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2931         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2932         (w32-direct-print-region-helper, w32-direct-print-region-function)
2933         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2934         * startup.el (normal-top-level-add-subdirs-to-load-path):
2935         * ps-print.el (ps-print-region-function):
2936         * lpr.el (print-region-function): Use new name.
2938         * subr.el (custom-declare-variable-early): Remove function.
2939         (custom-declare-variable-list): Remove var.
2940         (error, user-error): Remove `while' loop.
2941         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2942         (user-emacs-directory-warning, locate-user-emacs-file):
2943         Move to files.el.
2944         * simple.el (read-quoted-char-radix, read-quoted-char):
2945         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2946         Move from subr.el.
2947         * custom.el (custom-declare-variable-list): Don't process
2948         custom-declare-variable-list.
2950         * progmodes/python.el (python-shell-get-buffer): New function.
2951         (python-shell-get-process): Use it.
2952         (python-shell-send-string): Always use utf-8 and add a cookie to tell
2953         Python which encoding was used.  Don't split-string since we only care
2954         about the first line.  Return the temp-file, if applicable.
2955         (python-shell-send-region): Tell compile.el how to turn locations in
2956         the temp-file into locations in the source buffer.
2958 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2960         * subr.el (undefined): Add missing behavior from the C code for
2961         unbound keys.
2963         * rect.el: Use lexical-binding.  Add new rectangular region support.
2964         (rectangle-mark): New command.
2965         (rectangle--region): New var.
2966         (deactivate-mark-hook): Reset rectangle--region.
2967         (rectangle--extract-region, rectangle--insert-for-yank)
2968         (rectangle--highlight-for-redisplay)
2969         (rectangle--unhighlight-for-redisplay): New functions.
2970         (region-extract-function, redisplay-unhighlight-region-function)
2971         (redisplay-highlight-region-function): Use them to handle
2972         rectangular region.
2973         * simple.el (region-extract-function): New var.
2974         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2975         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2976         (kill-region): Replace obsolete `yank-handler' arg with `region'.
2977         (copy-region-as-kill, kill-ring-save): Add `region' argument.
2978         (redisplay-unhighlight-region-function)
2979         (redisplay-highlight-region-function): New vars.
2980         (redisplay--update-region-highlight): New function.
2981         (pre-redisplay-function): Use it.
2982         (exchange-point-and-mark): Don't deactivate the mark before
2983         reactivate-it anyway.
2984         * comint.el (comint-kill-region): Remove yank-handler argument.
2985         * delsel.el (delete-backward-char, backward-delete-char-untabify)
2986         (delete-char): Remove property, since it's now part of their
2987         default behavior.
2988         (self-insert-iso): Remove property since this command doesn't exist.
2990         * emacs-lisp/package.el (package--download-one-archive)
2991         (describe-package-1): Don't query the user about final newline.
2993 2013-10-29  Daniel Colascione  <dancol@dancol.org>
2995         * net/tramp.el (tramp-methods): Document new functionality.
2996         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2997         tramp-hostname-checker if method provides one instead of scanning
2998         argument list for "%h" to decide hostname acceptability.
3000 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
3002         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3003         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3004         Handle COPY-CONTENTS.  (Bug#15737)
3006 2013-10-28  Daiki Ueno  <ueno@gnu.org>
3008         * epa-file.el
3009         (epa-file-cache-passphrase-for-symmetric-encryption):
3010         Document that this option has no effect with GnuPG 2.0 (bug#15552).
3012 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
3014         * image.el (defimage):
3015         (image-load-path): Doc fixes.
3017 2013-10-27  Alan Mackenzie  <acm@muc.de>
3019         Indent statements in macros following "##" correctly.
3020         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3021         Modify the "#" arm of a cond form to handle "#" and "##" operators.
3023 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3025         * linum.el (linum-update-window): Fix boundary test (bug#13446).
3027 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
3029         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3030         after `=' is probably a new expression.
3032 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3034         * man.el (man-imenu-title): New option.
3035         (Man-mode-map): Add menu.  (Bug#15722)
3036         (Man-mode): Add imenu to menu.
3038 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
3040         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3041         specific in what the first arg can be: a non-keyword word,
3042         string/regexp/percent literal opener, opening paren, or unary
3043         operator followed directly by word.
3045 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3047         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3048         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3049         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3050         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3051         Remove vars, they do not apply any more.
3052         (prolog-mode-abbrev-table): Remove redundant declaration.
3053         (prolog-upper-case-string, prolog-lower-case-string): Remove.
3054         (prolog-use-smie): Remove.
3055         (prolog-smie-rules): Add indentation rule for the if-then-else layout
3056         supported by prolog-electric-if-then-else-flag.
3057         (prolog-mode-variables, prolog-menu): Use setq-local.
3058         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3059         Remove binding to `Backspace' since this key doesn't exist anyway.
3060         Remove bindings for electric self-inserting keys.
3061         (prog-mode): Assume it's defined.
3062         (prolog-post-self-insert): New function.
3063         (prolog-mode): Use it.
3064         (prolog-indent-line, prolog-indent-level)
3065         (prolog-find-indent-of-matching-paren)
3066         (prolog-indentation-level-of-line, prolog-goto-comment-column)
3067         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3068         (prolog-goto-next-paren, prolog-in-string-or-comment)
3069         (prolog-tokenize, prolog-inside-mline-comment)
3070         (prolog-find-start-of-mline-comment): Remove functions.
3071         (prolog-find-unmatched-paren, prolog-clause-end)
3072         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3073         (prolog-electric--if-then-else): Rename from
3074         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3075         (prolog-tokenize-searchkey): Remove const.
3076         (prolog-clause-info): Use forward-sexp.
3077         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3078         (prolog-electric-if-then-else): Remove commands.
3079         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3080         for use in post-self-insert-hook.
3081         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3082         for use in post-self-insert-hook.
3083         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3084         for use in post-self-insert-hook.
3085         (prolog-electric--underscore): Rename from prolog-electric--underscore;
3086         adapt it for use in post-self-insert-hook.
3088 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
3090         * emacs-lisp/ert.el (ert-run-tests-interactively):
3091         Use `completing-read'.  (Bug#9756)
3093 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
3095         * simple.el (line-move): Call line-move-1 instead of
3096         line-move-visual when the current window hscroll is zero, but
3097         temporary-goal-column indicates we will need to hscroll as result
3098         of the movement.  (Bug#15712)
3100 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
3102         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3103         capitalization.  Use :visible instead of :active.
3104         Fix `ruby-indent-exp' reference.  Add menu items for the generic
3105         commands that are used with SMIE.
3106         (ruby-do-end-to-brace): Insert space after `{'.
3108 2013-10-25  John Anthony  <john@jo.hnanthony.com>
3110         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
3112         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
3114 2013-10-25  Glenn Morris  <rgm@gnu.org>
3116         * vc/vc.el (vc-print-log): Don't use a working revision unless
3117         one was explicitly specified.  (Bug#15322)
3119 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3121         * subr.el (add-to-list): Preserve return value in compiler-macro
3122         (bug#15692).
3124 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3126         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3127         result.  Ask user to retry using '-all' flag.  (Bug#15701)
3129 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3131         * emacs-lisp/smie.el: New smie-config system.
3132         (smie-config): New defcustom.
3133         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3134         (smie-config-guess, smie-config-save): New commands.
3135         (smie-config--mode-local, smie-config--buffer-local)
3136         (smie-config--trace, smie-config--modefuns): New vars.
3137         (smie-config--advice, smie-config--mode-hook)
3138         (smie-config--setter, smie-config-local, smie-config--get-trace)
3139         (smie-config--guess-value, smie-config--guess): New functions.
3140         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3141         text properties.  Treat "string fence" syntax like string syntax.
3143         * progmodes/sh-script.el (sh-use-smie): Change default.
3144         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3145         (sh-var-value): Simplify by CSE.
3146         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3147         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3148         is used.
3149         (sh-guess-basic-offset): Use cl-incf.
3150         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3152 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
3154         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3155         (bug#15699).
3157 2013-10-24  Glenn Morris  <rgm@gnu.org>
3159         * Makefile.in (abs_top_srcdir): Remove.
3160         (update-subdirs): Use relative path to update-subdirs.
3162 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
3164         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3165         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3166         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3167         Call unmsys--file-name before expand-file-name, not after it.
3169 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
3171         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3172         (ert-test-skipped): New error.
3173         (ert-skip, ert-stats-skipped): New defuns.
3174         (ert--skip-unless): New macro.
3175         (ert-test-skipped): New struct.
3176         (ert--run-test-debugger, ert-test-result-type-p)
3177         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3178         (ert--stats-set-test-and-result, ert-char-for-test-result)
3179         (ert-string-for-test-result, ert-run-tests-batch)
3180         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3181         Handle skipped tests.  (Bug#9803)
3183 2013-10-24  Glenn Morris  <rgm@gnu.org>
3185         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3187         * Makefile.in (abs_top_srcdir): New, set by configure.
3188         (update-subdirs): Correct build-aux location.
3190 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
3192         * vc/vc.el (vc-print-root-log): Always set `default-directory'
3193         value, whether we could auto-deduce `backend', or not.
3195         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3196         with parameters" example.  Simplify the "is it block or is it
3197         hash" check, but also make it more thorough.
3199 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
3201         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
3203 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3205         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3206         { if it is hanging.
3208         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3209         :before ";".
3211 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
3213         * progmodes/compile.el (compilation-directory-matcher)
3214         (compilation-page-delimiter):
3215         Support GNU Make-4.0 directory quoting.  (Bug#15678)
3217 2013-10-23  Leo Liu  <sdl.web@gmail.com>
3219         * ido.el (ido-tidy): Handle read-only text.
3221 2013-10-23  Glenn Morris  <rgm@gnu.org>
3223         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3224         (emacs, compile, compile-always):
3225         Quote entities that might contain whitespace.
3226         (custom-deps, finder-data, autoloads): Use abs_lisp.
3227         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3228         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3229         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3231 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
3233         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3234         Use `following-char'.
3236 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3238         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3239         * progmodes/ruby-mode.el (ruby-smie-rules):
3240         Remove corresponding workaround.  Fix indentation rule of ";" so it
3241         also applies when ";" is the parent.
3243 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
3245         * frame.el (display-screens, display-pixel-height)
3246         (display-pixel-width, display-mm-width, display-backing-store)
3247         (display-save-under, display-planes, display-color-cells)
3248         (display-visual-class, display-monitor-attributes-list):
3249         Mention the optional ‘display’ argument in doc strings.
3251 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
3253         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3254         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
3256 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3258         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3259         TODO.  Add "." after " @ ".
3260         (ruby-smie--at-dot-call): New function.  Checks if point at method
3261         call with explicit target.
3262         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3263         to the method name tokens when it precedes them.
3264         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3265         (ruby-smie-rules): Add rule for indentation before and after "."
3266         token.
3268 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3270         * textmodes/remember.el (remember-diary-extract-entries):
3271         Avoid add-to-list.
3273         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3274         an instruction.
3276 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3278         * progmodes/ruby-mode.el (ruby-smie-grammar):
3279         Add (almost) all infix operators.
3280         (ruby-smie--implicit-semi-p): Add new operator chars.
3282         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3283         `smie-down-list'.
3284         (ruby-smie--args-separator-p): Check that there's no newline
3285         between method call and its arguments.
3287 2013-10-20  Alan Mackenzie  <acm@muc.de>
3289         Allow comma separated lists after Java "implements".
3291         * progmodes/cc-engine.el (c-backward-over-enum-header):
3292         Parse commas.
3293         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3294         from a "disallowed" list in enum fontification.
3296 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
3298         * startup.el (default-frame-background-mode): Remove unused defvar.
3300         * progmodes/verilog-mode.el (verilog-mode): Don't set
3301         comment-indent-function globally.
3303 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
3305         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3306         Move Info menu item creation to ns-win.el.
3308         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3309         in menu bar.
3311         * menu-bar.el: Move GNUStep specific menus...
3313         * term/ns-win.el (ns-initialize-window-system): ... to here.
3315 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3317         * simple.el (newline): Only run post-self-insert-hook when
3318         called interactively.
3320 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
3322         * icomplete.el (icomplete-with-completion-tables): Add :version.
3324 2013-10-19  Alan Mackenzie  <acm@muc.de>
3326         Fix fontification bugs with constructors and const.
3328         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3329         CASE 2) Remove the check for the absence of a suffix construct
3330         after a function declaration with only types (no identifiers) in
3331         the parentheses.  Also, accept a function declaration with just a
3332         type inside the parentheses, if this type can be positively
3333         recognised as such, or if a prefix keyword like "explicit" nails
3334         down the construct as a declaration.
3336 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
3338         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3339         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
3340         the problem whereby selecting a menu item that leads to a
3341         minibuffer prompt moves the cursor out of the minibuffer window,
3342         making it hard to type at the prompt.  Suggested by Stefan Monnier
3343         <monnier@iro.umontreal.ca>.
3345 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
3347         * menu-bar.el: Don't make Services menu.
3349 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3351         * ffap.el: Handle "/usr/include/c++/<version>" directories.
3352         (ffap-alist): Use ffap-c++-mode for c++-mode.
3353         (ffap-c++-path): New variable.
3354         (ffap-c++-mode): New function.
3356 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
3358         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
3360 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
3362         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3363         introduced on 2013-09-08, which results in an infinite loop
3364         requesting a password.
3366 2013-10-18  Glenn Morris  <rgm@gnu.org>
3368         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3370 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
3372         Sync with upstream verilog-mode revision 1a6ecec7.
3373         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3374         (verilog-mode-release-date): Remove.
3375         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3376         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3377         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3378         (verilog-auto-tieoff-ignore-regexp)
3379         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3380         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3381         (verilog-signals-with, verilog-dir-cache-preserving)
3382         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3383         Doc fixes.
3384         (verilog-case-fold): New option, to control case folding in
3385         regexp searches, bug597.
3386         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3387         (verilog-string-match-fold, verilog-in-paren-count)
3388         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3389         (verilog-at-close-struct-p): New functions.
3390         (verilog-beg-block-re-ordered, verilog-extended-case-re)
3391         (verilog-forward-sexp, verilog-set-auto-endcomments):
3392         (verilog-leap-to-case-head): Handle "unique0" case.
3393         (verilog-in-constraint-re): New constant.
3394         (verilog-keywords, verilog-type-font-keywords):
3395         Add some SystemVerilog 1800-2012 keywords.
3396         (verilog-label-be): Remove unimplemented argument, bug669.
3397         (verilog-batch-execute-func): When batch expanding clear
3398         create-lockfiles to prevent spurious user locks when a file ends
3399         up not changing.
3400         (verilog-calculate-indent, verilog-calc-1)
3401         (verilog-at-close-constraint-p, verilog-at-constraint-p)
3402         (verilog-do-indent): Fix indentation of nested constraints
3403         and structures.
3404         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3405         (verilog-auto-inst-param): Use verilog-string-match-fold.
3406         (verilog-read-inst-module-matcher):
3407         Fix AUTOINST on gate primitives with #1.
3408         (verilog-read-decls): Fix double-declaring user-defined typed signals.
3409         Reads all user-defined typed variables.
3410         (verilog-read-defines): Fix reading definitions inside comments, bug647.
3411         (verilog-signals-matching-regexp)
3412         (verilog-signals-not-matching-regexp, verilog-auto):
3413         Respect verilog-case-fold.
3414         (verilog-diff-report): Fix line count.
3415         (verilog-auto-assign-modport): Remove unused local `modi'.
3416         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3417         better handle multidimensional arrays.
3418         Fix packed array ports misadding bit index in AUTOINST, bug637.
3419         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3420         to not double-declare existing outputs and inputs, respectively.
3421         (verilog-template-map): Bind U to verilog-sk-uvm-component.
3422         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3423         (verilog-sk-uvm-component): New skeleton.
3424         (verilog-submit-bug-report): Add verilog-case-fold,
3425         remove verilog-mode-release-date.
3427 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
3429         * subr.el (sit-for): Call (input-pending-p t) so as to behave
3430         as before.
3432 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
3434         * textmodes/remember.el (remember): Set buffer-offer-save in
3435         remember buffers (bug#13566).
3437 2013-10-18  Daniel Colascione  <dancol@dancol.org>
3439         When evaluating forms in ielm, direct standard output to ielm
3440         buffer.  Add new ielm-return-for-effect command.  Remove trailing
3441         whitespace throughout.
3443         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3444         (ielm-return-for-effect): New command.
3445         (ielm-send-input): Accept optional `for-effect' parameter.
3446         (ielm-eval-input): Accept optional `for-effect' parameter.
3447         Bind `standard-output' to stream we create using
3448         `ielm-standard-output-impl'.  Suppress printing result when
3449         `for-effect'.
3450         (ielm-standard-output-impl): New function.
3451         (inferior-emacs-lisp-mode): Explain new features in documentation.
3453 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
3455         Code cleanup.
3457         * net/tramp.el (tramp-debug-message): Do not check for connection
3458         buffer.
3459         (tramp-message): Use "vector" connection property.
3461         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3462         (tramp-equal-remote, tramp-eshell-directory-change)
3463         * net/tramp-adb.el (tramp-adb-handle-copy-file)
3464         (tramp-adb-handle-rename-file)
3465         * net/tramp-cmds.el (tramp-list-remote-buffers)
3466         (tramp-cleanup-connection, tramp-cleanup-this-connection)
3467         * net/tramp-compat.el (tramp-compat-process-running-p)
3468         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3469         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3470         (tramp-gvfs-handle-rename-file)
3471         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3472         (tramp-set-file-uid-gid)
3473         * net/tramp-smb.el (tramp-smb-handle-copy-file)
3474         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3475         of `file-remote-p'.
3477         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3478         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3479         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3480         (tramp-gw-open-network-stream): Suppress unrelated traces.
3482         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3483         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3484         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3485         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3486         connection property.
3488         * net/tramp-cache.el (top): Suppress traces when reading
3489         persistency file.
3491         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3492         Refactor common code.  Improve debug message.
3493         (tramp-maybe-open-connection)
3494         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3495         connection buffer too early.
3497         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3498         from `tramp-smb-actions-with-acl'.
3499         (tramp-smb-actions-set-acl): New defconst.
3500         (tramp-smb-handle-copy-directory)
3501         (tramp-smb-action-get-acl): New defun, renamed from
3502         `tramp-smb-action-with-acl'.
3503         (tramp-smb-action-set-acl): New defun.
3504         (tramp-smb-handle-set-file-acl): Rewrite.
3506 2013-10-17  Glenn Morris  <rgm@gnu.org>
3508         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
3510 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3512         * skeleton.el (skeleton-newline): Remove.
3513         (skeleton-internal-1): Use (insert "\n") instead.
3515         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3516         let-bindings.
3518         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3519         forward-sexp-function while we redo its job (bug#15613).
3521 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
3523         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3524         represented by lists.
3526 2013-10-16  Glenn Morris  <rgm@gnu.org>
3528         * tmm.el (tmm--history): New dynamic variable.
3529         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
3531 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
3533         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3534         (tramp-smb-errors): Add error messages.
3535         (tramp-smb-actions-with-acl): New defconst.
3536         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3537         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3538         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3539         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3540         (tramp-smb-get-stat-capability): Fix tests.
3542 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3544         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3545         (bug#15580).
3547 2013-10-16  Glenn Morris  <rgm@gnu.org>
3549         * ansi-color.el (ansi-color-drop-regexp):
3550         Add 1J, 1K, 2K.  (Bug#15617)
3552         * files.el (hack-local-variables--warned-lexical): New.
3553         (hack-local-variables):
3554         Warn about misplaced lexical-binding.  (Bug#15616)
3556         * net/eww.el (eww-render): Always set eww-current-url,
3557         and update header line.  (Bug#15622)
3558         (eww-display-html): ... Rather than just doing it here.
3560 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
3562         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3563         menu navigations commands.
3565 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3567         * progmodes/subword.el (subword-capitalize): Be careful when
3568         the search for [[:alpha:]] fails (bug#15580).
3570 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
3572         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3573         to commands that scroll the menu.
3575 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
3577         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3578         Handle methods ending with `?' and `!'.
3580 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
3582         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3583         `japanese-cp932' to `cp932' to fix the problem where saving a
3584         source file written in Shift_JIS twice would end up having
3585         `coding: japanese-cp932' which Ruby could not recognize.
3586         (ruby-mode-set-encoding): Add support for encodings mapped to nil
3587         in `ruby-encoding-map'.
3588         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3589         doesn't need to be explicitly declared in magic comment.
3590         (ruby-encoding-map): Add type declaration for better customize UI.
3592 2013-10-13  Glenn Morris  <rgm@gnu.org>
3594         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3595         Occur buffers are read-only.  http://bugs.debian.org/720775
3597         * emacs-lisp/authors.el (authors-fixed-entries):
3598         Comment out old alpha stuff.
3600 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
3602         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3603         to `after-save-hook' instead of `before-save-hook'.
3604         (ruby-mode-set-encoding): Use the value of coding system used to
3605         write the file.  Call `basic-save-buffer-1' after modifying the
3606         buffer.
3608 2013-10-13  Alan Mackenzie  <acm@muc.de>
3610         Fix indentation/fontification of Java enum with
3611         "implements"/generic.
3613         * progmodes/cc-engine.el (c-backward-over-enum-header):
3614         Extracted from the three other places and enhanced to handle generics.
3615         (c-inside-bracelist-p): Uses new function above.
3616         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3617         function above.
3618         (c-font-lock-enum-tail): Uses new function above.
3620 2013-10-13  Kenichi Handa  <handa@gnu.org>
3622         * international/mule-cmds.el (select-safe-coding-system): Remove a
3623         superfluous condition in chekcing whether a coding system is safe
3624         or not.
3626 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
3628         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
3630 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
3632         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
3634 2013-10-13  Glenn Morris  <rgm@gnu.org>
3636         * menu-bar.el (menu-bar-update-buffers):
3637         Unify Buffers menu prompt string.  (Bug#15576)
3639         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
3641         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3642         Add some entries.
3643         (authors-fixed-entries): Use accented form of name.
3645 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3647         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3648         method calls (bug#15594).
3649         (ruby-smie--args-separator-p): New function.
3650         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3651         recognize paren-free method calls.
3653         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3654         internals of universal-argument.
3656 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
3658         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3659         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3660         dropped menu on second mouse click on the menu bar.
3662 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3664         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3665         (explicit-shell-file-name): Declare.
3666         (sh--vars-before-point, sh--cmd-completion-table): New functions.
3667         (sh-completion-at-point-function): New function.
3668         (sh-mode): Use it.
3669         (sh-smie--keyword-p): Remove unused argument.
3670         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3671         vars.
3672         (sh-set-shell): Always setup SMIE, even if we use the
3673         old indentation code.
3675 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
3677         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3678         cases of ? and =.
3679         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
3680         predicate would return nil are almost non-existent.
3681         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3683         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3684         cache also after commands that modify the buffer but don't move
3685         point.
3687 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3689         * env.el (substitute-env-in-file-name): New function.
3690         (substitute-env-vars): Extend the meaning of the optional arg.
3692 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
3694         * term/w32-win.el (dynamic-library-alist): Define separate lists
3695         of GIF DLLs for versions before and after 5.0.0 of giflib.
3696         (Bug#15531)
3698 2013-10-10  João Távora  <joaotavora@gmail.com>
3700         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3701         not locked, use last revision and current source as
3702         defaults.  (Bug#15569)
3704 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
3706         * menu-bar.el (menu-bar-open): Don't use popup-menu if
3707         menu-bar is hidden.
3709 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
3711         * window.el (pop-to-buffer-same-window): Fix doc-string.
3712         (Bug#15492)
3714 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3716         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3718 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
3720         * calendar/icalendar.el (icalendar-import-file):
3721         Fix interactive spec.  (Bug#15482)
3723 2013-10-10  Glenn Morris  <rgm@gnu.org>
3725         * desktop.el (desktop-save): Default to saving in .emacs.d,
3726         since PWD is no longer in desktop-path by default.  (Bug#15319)
3728         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3729         now that text mode has a menu with the same entry.
3730         (menu-bar-text-mode-auto-fill): Remove now unused func.
3731         * textmodes/text-mode.el (text-mode-map):
3732         Use auto-fill help text from menu-bar.el.
3734 2013-10-10  John Anthony  <john@jo.hnanthony.com>
3736         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
3738 2013-10-09  Juri Linkov  <juri@jurta.org>
3740         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3741         instead of this-command-keys.  Add universal-argument-more and
3742         universal-argument-minus to the list of prefix commands.  (Bug#15568)
3744 2013-10-09  Glenn Morris  <rgm@gnu.org>
3746         * vc/vc-svn.el (vc-svn-create-repo):
3747         Expand paths in file://... url.  (Bug#15446)
3749         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3750         Add some entries.
3751         (authors): Remove unused local variables.
3753 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3755         * profiler.el: Create a more coherent calltree from partial backtraces.
3756         (profiler-format): Hide the tail with `invisible' so that C-s can still
3757         find the hidden elements.
3758         (profiler-calltree-depth): Don't recurse so enthusiastically.
3759         (profiler-function-equal): New hash-table-test.
3760         (profiler-calltree-build-unified): New function.
3761         (profiler-calltree-build): Use it.
3762         (profiler-report-make-name-part): Indent the calltree less.
3763         (profiler-report-mode): Add visibility specs for profiler-format.
3764         (profiler-report-expand-entry, profiler-report-toggle-entry):
3765         Expand the whole subtree when provided with a prefix arg.
3767 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
3769         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3770         iuwu-mod token.
3771         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3772         hanging iuwu-mod token.
3773         (ruby-smie--forward-token): Do not include a dot after a token in
3774         that token.
3775         (ruby-smie--backward-token): Likewise.
3777 2013-10-08  Juri Linkov  <juri@jurta.org>
3779         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3780         to isearch-other-control-char.
3781         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3782         and isearch-post-command-hook to post-command-hook.
3783         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3784         and isearch-post-command-hook from post-command-hook.
3785         (isearch-unread-key-sequence)
3786         (isearch-reread-key-sequence-naturally)
3787         (isearch-lookup-scroll-key, isearch-other-control-char)
3788         (isearch-other-meta-char): Remove functions.
3789         (isearch-pre-command-hook, isearch-post-command-hook):
3790         New functions based on isearch-other-meta-char rewritten
3791         relying on the new behavior of overriding-terminal-local-map
3792         that does not replace the local keymaps any more.  (Bug#15200)
3794 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
3796         Support menus on text-mode terminals.
3797         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3798         functionality.
3800         * tooltip.el (tooltip-mode): Don't error out on TTYs.
3802         * menu-bar.el (popup-menu, popup-menu-normalize-position):
3803         Move here from mouse.el.
3804         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3805         and arrow keys.
3806         (tty-menu-navigation-map): New map for TTY menu navigation.
3808         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3810         * frame.el (display-mouse-p): Report text-mode mouse as available
3811         on w32.
3812         (display-popup-menus-p): Report availability if mouse is
3813         available; don't condition on window-system.
3815         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3816         (tty-menu-selected-face): New faces.
3818 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3820         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3821         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3822         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3823         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3824         New constants.
3825         (lisp-mode-variables): New `elisp' argument.
3826         (emacs-lisp-mode): Use it.
3827         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3828         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3830         * indent.el: Use lexical-binding.
3831         (indent-region): Add progress reporter.
3832         (tab-stop-list): Make it implicitly extend to infinity by repeating the
3833         last step.
3834         (indent--next-tab-stop): New function to implement this behavior.
3835         (tab-to-tab-stop, move-to-tab-stop): Use it.
3837 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
3839         * indent.el (indent-rigidly--current-indentation): New function.
3840         (indent-rigidly-map): New var.
3841         (indent-rigidly): Use it to provide interactive mode (bug#8196).
3843 2013-10-08  Bastien Guerry  <bzg@gnu.org>
3845         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3847 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3849         * progmodes/perl-mode.el: Use lexical-binding.
3850         Remove redundant :group args.
3851         (perl-nochange): Change default to be closer to other major modes's
3852         standard behavior.
3853         (perl-indent-line): Don't consider text on current line as a
3854         valid beginning of function from which to indent.
3856         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3857         with more than one argument (bug#15538).
3859         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3861         * vc/pcvs.el: Use lexical-binding.
3862         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3863         environment of `eval'.
3864         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3865         than a list of expressions.  Adjust callers.
3866         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3868 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
3870         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3871         case of the dot in a chained method call being on the following line.
3873 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3875         * electric.el (electric-indent-inhibit): New var.
3876         (electric-indent-post-self-insert-function): Use it.
3877         * progmodes/python.el (python-mode): Set it.
3879         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3880         open braces.
3882         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3884         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3885         (css-mode): Use electric-indent-chars.
3887         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3888         (font-lock-beg, font-lock-end): Move before first use.
3889         (nxml-mode): Use syntax-propertize-function.
3890         (nxml-after-change, nxml-after-change1): Adjust accordingly.
3891         (nxml-extend-after-change-region): Remove.
3892         * nxml/xmltok.el: Use lexical-binding.
3893         (xmltok-save): Use `declare'.
3894         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3895         * nxml/nxml-util.el: Use lexical-binding.
3896         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3897         Use `declare'.
3898         * nxml/nxml-ns.el: Use lexical-binding.
3899         (nxml-ns-save): Use `declare'.
3900         (nxml-ns-prefixes-for): Avoid add-to-list.
3901         * nxml/rng-match.el: Use lexical-binding.
3902         (rng--ipattern): Use cl-defstruct.
3903         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3904         (rng-cons-group-after, rng-subst-group-after)
3905         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3906         Use closures instead of `(lambda...).
3908 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
3910         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3911         of BEG and END.
3913         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3914         Use `tramp-handle-insert-file-contents'.
3915         (tramp-gvfs-handle-insert-file-contents): Remove function.
3917         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3918         Use `save-restriction' in order to keep markers.
3920         * net/trampver.el: Update release number.
3922 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3924         * progmodes/compile.el (compilation-parse-errors):
3925         Use compilation--put-prop.
3926         (compilation--ensure-parse): Check compilation-multiline.
3928         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3930         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3931         lexical-binding.
3933         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3935         * progmodes/ruby-mode.el: Fix recently added tests.
3936         (ruby-smie-grammar): Add - and +.
3937         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3938         (ruby-smie--backward-id): New functions.
3939         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3940         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
3941         any more.
3943 2013-10-07  Leo Liu  <sdl.web@gmail.com>
3945         * register.el (register-preview-delay)
3946         (register-preview-functions): New variables.
3947         (register-read-with-preview, register-preview)
3948         (register-describe-oneline): New functions.
3949         (point-to-register, window-configuration-to-register)
3950         (frame-configuration-to-register, jump-to-register)
3951         (number-to-register, view-register, insert-register)
3952         (copy-to-register, append-to-register, prepend-to-register)
3953         (copy-rectangle-to-register): Use register-read-with-preview to
3954         read register.  (Bug#15525)
3956 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
3958         * net/network-stream.el (network-stream-open-starttls): Don't add
3959         --insecure if it's already present, because that gnutls-cli
3960         rejects getting that parameter twice.
3962 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
3964         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3965         keyword, too.
3967 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
3969         * newcomment.el (comment-use-global-state): Change default value
3970         to t, mark obsolete (Bug#15251).
3971         (comment-beginning): In addition to `comment-to-syntax', check the
3972         value of `comment-use-global-state'.
3974 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3976         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3977         (ruby-comment-column): Follow the global default, by default.
3978         (ruby-smie-grammar): Add assignment syntax.
3979         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3980         open-paren, a comma, or a \.
3981         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3982         and line continuations.
3983         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3984         followed by implicit semi-colons.  Add rule for string concatenation
3985         and for indentation at BOB.
3986         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3988         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3989         calling next-sexp, since next-token may have skipped chars which
3990         next-sexp doesn't know should be skipped!
3992 2013-10-05  Leo Liu  <sdl.web@gmail.com>
3994         * progmodes/octave.el (octave-send-region):
3995         Call compilation-forget-errors.
3997 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
3999         * vc/vc-svn.el (vc-svn-find-admin-dir):
4000         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4001         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4002         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4003         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4005 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4007         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4009 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4011         * subr.el (read-passwd): Hide chars even when called within a context
4012         where after-change-functions is disabled (bug#15501).
4013         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4014         until we removed ourself from overriding-terminal-local-map.
4016 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4018         * progmodes/octave.el (inferior-octave-mode):
4019         Call compilation-forget-errors.
4021 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4023         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4025 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
4027         * net/secrets.el (secrets-create-collection): Add optional
4028         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
4029         dbus-call-method argument.  (Bug#15516)
4031 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4033         * progmodes/octave.el (inferior-octave-error-regexp-alist)
4034         (inferior-octave-compilation-font-lock-keywords): New variables.
4035         (compilation-error-regexp-alist)
4036         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4037         (inferior-octave-mode): Use compilation-shell-minor-mode.
4039 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
4041         * minibuffer.el (completion--replace): Be careful that `end' might be
4042         a marker.
4044 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4046         Add support for package signature checking.
4047         * emacs-lisp/package.el (url-http-file-exists-p)
4048         (epg-make-context, epg-context-set-home-directory)
4049         (epg-verify-string, epg-context-result-for)
4050         (epg-signature-status, epg-signature-to-string)
4051         (epg-check-configuration, epg-configuration)
4052         (epg-import-keys-from-file): Declare.
4053         (package-check-signature): New user option.
4054         (package-unsigned-archives): New user option.
4055         (package-desc): Add `signed' field.
4056         (package-load-descriptor): Set `signed' field if .signed file exists.
4057         (package--archive-file-exists-p): New function.
4058         (package--check-signature): New function.
4059         (package-install-from-archive): Check package signature.
4060         (package--download-one-archive): Check archive signature.
4061         (package-delete): Remove .signed file.
4062         (package-import-keyring): New command.
4063         (package-refresh-contents): Import default keyring.
4064         (package-desc-status): Add "unsigned" status.
4065         (describe-package-1, package-menu--print-info)
4066         (package-menu-mark-delete, package-menu--find-upgrades)
4067         (package-menu--status-predicate): Support "unsigned" status.
4069 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4071         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4072         the new compilation scheme using the new byte-codes.
4074         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4075         (byte-pophandler): New byte codes.
4076         (byte-goto-ops): Adjust accordingly.
4077         (byte-compile--use-old-handlers): New var.
4078         (byte-compile-catch): Use new byte codes depending on
4079         byte-compile--use-old-handlers.
4080         (byte-compile-condition-case--old): Rename from
4081         byte-compile-condition-case.
4082         (byte-compile-condition-case--new): New function.
4083         (byte-compile-condition-case): New function that dispatches depending
4084         on byte-compile--use-old-handlers.
4085         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4086         when we can.
4088         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4089         Optimize under `condition-case' and `catch' if
4090         byte-compile--use-old-handlers is nil.
4091         (disassemble-offset): Handle new bytecodes.
4093 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4095         * subr.el (error): Use `declare'.
4096         (decode-char, encode-char): Use advertised-calling-convention instead
4097         of the docstring to discourage use of the `restriction' arg.
4099 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4101         * epg.el (epg-verify-file): Add a comment saying that it does not
4102         notify verification error as a return value nor a signal.
4103         (epg-verify-string): Ditto.
4105 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4107         * progmodes/compile.el (compilation-start): Try globbing the arg to
4108         `cd' (bug#15417).
4110 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
4112         Sync with Tramp 2.2.8.
4114         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4115         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4116         * net/trampver.el: Update release number.
4118 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
4120         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4121         and default-process-coding-system for darwin only.
4123 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4125         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4127 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
4129         * vc/vc-git.el (vc-git-grep): Disable pager.
4131 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
4133         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4134         Use :url instead of :homepage, as per
4135         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4137         * newcomment.el (comment-beginning): When `comment-use-syntax' is
4138         non-nil, use `syntax-ppss' (Bug#15251).
4140 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4142         * progmodes/octave.el (inferior-octave-startup-file):
4143         Prefer ~/.emacs.d/init_octave.m.
4145 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
4147         * emacs-lisp/package.el (package-desc-from-define):
4148         Accept additional arguments as plist, convert them to an alist and store
4149         them in the `extras' slot.
4150         (package-generate-description-file): Convert extras alist back to
4151         plist and append to the `define-package' form arguments.
4152         (package--alist-to-plist): New function.
4153         (package--ac-desc): Add `extras' slot.
4154         (package--add-to-archive-contents): Check if the archive-contents
4155         vector is long enough, and if it is, pass its `extras' slot value
4156         to `package-desc-create'.
4157         (package-buffer-info): Call `lm-homepage', pass the returned value
4158         to `package-desc-from-define'.
4159         (describe-package-1): Render the homepage button (Bug#13291).
4161         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4162         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4164 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
4166         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4167         and default-process-coding-system to utf-8-unix (Bug#15402).
4169 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
4171         * subr.el (looking-back): Do not recommend using looking-back.
4173 2013-09-28  Alan Mackenzie  <acm@muc.de>
4175         Fix indentation/fontification of Java enum with "implements".
4177         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4178         regexp which matches "implements", etc., in Java.
4179         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4180         specifier clauses coming after "enum".
4181         * progmodes/cc-fonts.el (c-font-lock-declarations)
4182         (c-font-lock-enum-tail): Check for extra specifier clauses coming
4183         after "enum".
4185 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
4187         * faces.el (region): Change ns_selection_color to
4188         ns_selection_fg_color, add ns_selection_bg_color.
4190 2013-09-28  Leo Liu  <sdl.web@gmail.com>
4192         * progmodes/octave.el (inferior-octave-completion-table)
4193         (inferior-octave-completion-at-point): Minor tweaks.
4195         * textmodes/ispell.el (ispell-lookup-words): Rename from
4196         lookup-words.  (Bug#15460)
4197         (lookup-words): Obsolete.
4198         (ispell-complete-word, ispell-command-loop): All uses changed.
4200 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4202         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4203         (octave-mode-menu): Add octave-send-buffer.
4204         (octave-send-buffer): New function.
4206 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4208         * progmodes/octave.el (octave-mode-map): Add key binding for
4209         octave-lookfor.
4210         (octave-mode-menu): Add octave-lookfor.
4211         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4212         octave-lookfor.
4213         (octave-lookfor): New function.
4215 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4217         * emacs-lisp/cl-macs.el:
4218         (cl--loop-destr-temps): Remove.
4219         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4220         its convention.
4221         (cl--loop-set-iterator-function): New function.
4222         (cl-loop): Adjust accordingly, so as not to use cl-subst.
4223         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4224         Bind `it' with `let' instead of substituting it with `cl-subst'.
4225         (cl--unused-var-p): New function.
4226         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4227         Eliminate some unused variable warnings (bug#15326).
4229 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
4231         * doc-view.el (doc-view-scale-reset): Rename from
4232         `doc-view-reset-zoom-level'.
4233         (doc-view-scale-adjust): New command.
4234         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4235         `doc-view-scale-adjust'.
4237 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
4239         * doc-view.el (doc-view-reset-zoom-level): New command.
4240         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4241         zoom commands (bug#15466).
4243 2013-09-26  Kenichi Handa  <handa@gnu.org>
4245         * international/quail.el (quail-help): Make it not a command.
4247 2013-09-26  Leo Liu  <sdl.web@gmail.com>
4249         * minibuffer.el (completion-all-sorted-completions): Make args
4250         optional as they are.
4252 2013-09-25  Daniel Colascione  <dancol@dancol.org>
4254         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4255         specs are and that they're not evaluated.
4257 2013-09-24  Sam Steingold  <sds@gnu.org>
4259         * midnight.el (clean-buffer-list-kill-regexps)
4260         (clean-buffer-list-kill-buffer-names): Update for the new Man
4261         buffer naming which includes the object name.
4263 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4265         * eshell/esh-cmd.el (eshell--sep-terms): New var.
4266         (eshell-parse-command, eshell-parse-pipeline): Use it since
4267         eshell-separate-commands requires a dynamic scoped var.
4268         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4270 2013-09-23  Leo Liu  <sdl.web@gmail.com>
4272         * autoinsert.el (auto-insert-alist): Make the value of
4273         lexical-binding match its file setting.
4275 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
4277         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4279         * autoarg.el (autoarg-kp-digit-argument):
4280         * electric.el (Electric-command-loop):
4281         * kmacro.el (kmacro-step-edit-insert):
4282         Do not set universal-argument-num-events.
4284 2013-09-22  Leo Liu  <sdl.web@gmail.com>
4286         * files.el (interpreter-mode-alist): Add octave.
4288 2013-09-21  Alan Mackenzie  <acm@muc.de>
4290         C++: fontify identifier in declaration following "public:" correctly.
4291         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4292         to match "public", etc.
4293         (c-decl-prefix-re): Add ":" into the C++ value.
4294         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4295         bit.  Add a check for a ":" preceded by "public", etc.
4297 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
4299         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4300         recognized by GDB 7.5 and later.
4302 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
4304         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4306 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4308         * subr.el (internal--call-interactively): New const.
4309         (called-interactively-p): Use it (bug#3984).
4311 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
4313         * vc/pcvs.el (cvs-mode-ignore):
4314         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4315         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4317 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4319         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
4320         (eshell-ls-orig-insert-directory): Remove.
4321         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
4322         (eshell-ls-use-in-dired): Use advice-add/remove.
4323         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4324         Add `orig-fun' arg for use in :around advice.
4325         Make it check (redundantly) eshell-ls-use-in-dired.
4327 2013-09-19  Glenn Morris  <rgm@gnu.org>
4329         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4331         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4333         * emacs-lisp/eieio.el (class-parent): Undo previous change.
4335 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
4337         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4338         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4339         (tramp-get-remote-python): New defuns.
4340         (tramp-get-remote-uid-with-perl)
4341         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
4342         contributed by yary <not.com@gmail.com> (tiny change).
4343         (tramp-get-remote-uid-with-python)
4344         (tramp-get-remote-gid-with-python): New defuns.  Python code
4345         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4346         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4348 2013-09-19  Glenn Morris  <rgm@gnu.org>
4350         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4352         * eshell/em-unix.el (eshell-remove-entries):
4353         Rename argument to avoid name-clash with global `top-level'.
4355         * eshell/esh-proc.el (eshell-kill-process-function):
4356         Remove eshell-reset-after-proc from eshell-kill-hook if present.
4357         (eshell-reset-after-proc): Remove unused arg `proc'.
4359         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4360         (directory-files-and-attributes): Mark unused arg.
4362         * eshell/em-unix.el (eshell-remove-entries):
4363         Remove unused arg `path'.  Update callers.
4365         * eshell/em-hist.el (eshell-hist-parse-arguments):
4366         Remove unused arg `silent'.  Update callers.
4368         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4369         Fix (f)boundp mix-up.
4371         * eshell/em-smart.el (eshell-smart-scroll-window)
4372         (eshell-disable-after-change):
4373         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4375 2013-09-18  Alan Mackenzie  <acm@muc.de>
4377         Fix fontification of type when followed by "const".
4378         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4379         "known" types from fontification.
4381 2013-09-18  Glenn Morris  <rgm@gnu.org>
4383         * emacs-lisp/chart.el (x-display-color-cells): Declare.
4384         (chart-face-list): Drop Emacsen without display-color-p.
4386         * net/eww.el (libxml-parse-html-region): Declare.
4387         (eww-display-html): Explicit error if no libxml2 support.
4389         * doc-view.el (doc-view-mode): Silence --without-x compilation.
4391         * image.el (image-type-from-buffer, image-multi-frame-p):
4392         Remove --without-x warning/error.
4394         * mouse.el (mouse-yank-primary):
4395         * term.el (term-mouse-paste):
4396         Reorder to silence --without-x compilation.
4398         * mpc.el (doc-view-mode): Silence --without-x compilation.
4400         * mail/rmailmm.el (rmail-mime-set-bulk-data):
4401         Silence --without-x compilation.
4403         * progmodes/gud.el (gud-find-file, gud-mode):
4404         Silence --without-x compilation.
4405         (tooltip-mode): Declare.
4407         * wdired.el (dired-backup-overwrite): Remove declaration.
4408         (wdired-mode-map): Add doc string.
4410         * custom.el (x-get-resource): Declare.
4412         * eshell/em-glob.el (ange-cache):
4413         * eshell/em-unix.el (ange-cache): Declare.
4415         * faces.el (x-display-list, x-open-connection, x-get-resource):
4416         Declare.
4418         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4419         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4420         Declare.
4422         * frame.el (x-display-grayscale-p, x-display-name): Declare.
4424         * net/gnutls.el (gnutls-log-level): Declare.
4426         * net/shr.el (image-size, image-animate): Declare.
4428         * simple.el (font-info): Declare.
4430         * subr.el (x-popup-dialog): Declare.
4432         * term/common-win.el (x-select-enable-primary)
4433         (x-last-selected-text-primary, x-last-selected-text-clipboard):
4434         Declare.
4436         * term/ns-win.el (x-handle-args): Declare.
4438         * term/x-win.el (x-select-enable-clipboard): Declare.
4440         * term/w32-win.el (create-default-fontset): Declare.
4442         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4443         Declare.
4445         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4446         (fit-frame-to-buffer): Explicit error if --without-x.
4447         (mouse-autoselect-window-select): Silence compiler.
4449         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4451         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4452         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4453         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4454         * eshell/esh-util.el (eshell-sublist):
4455         Remove unused local variables.
4457         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4459         * textmodes/two-column.el: Make 2C-split work for --without-x.
4460         (scroll-bar-columns): Autoload.
4461         (top-level): Require fringe when compiling.
4463 2013-09-18  Leo Liu  <sdl.web@gmail.com>
4465         * subr.el (add-hook): Robustify to handle closure as well.
4467 2013-09-17  Glenn Morris  <rgm@gnu.org>
4469         * simple.el (messages-buffer-mode-map): Unbind "g".
4471 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4473         * help-mode.el (help-mode-finish): Use derived-mode-p.
4474         Remove obsolete highlighting.
4476         * play/life.el (life-mode): Use define-derived-mode.  Derive from
4477         special-mode.
4478         (life): Let-bind inhibit-read-only.
4479         (life-setup): Avoid `setq'.  Use `life-mode'.
4481         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4482         which should not be needed any more.
4483         (package-menu-refresh, package-menu-describe-package): Use user-error.
4485         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4486         (eshell-post-rewrite-command-hook): Make obsolete.
4487         (eshell-parse-command): Simplify.
4488         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4489         (eshell--cmd): Declare.
4490         (eshell-parse-pipeline): Remove unused var `final-p'.
4491         Pass a dynvar to eshell-post-rewrite-command-hook.
4492         Implement the new eshell-post-rewrite-command-function.
4493         (eshell-invoke-directly): Remove unused arg `input'.
4494         * eshell/esh-io.el (eshell-io-initialize):
4495         Use eshell-post-rewrite-command-function (bug#15399).
4496         (eshell--apply-redirections): Rename from eshell-apply-redirections;
4497         adjust to new calling convention.
4498         (eshell-create-handles): Rename args to avoid clashing with dynvar
4499         `standard-output'.
4501 2013-09-17  Glenn Morris  <rgm@gnu.org>
4503         * simple.el (messages-buffer-mode): New major mode.
4504         (messages-buffer): New function.
4505         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4506         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4507         (ert-run-test): Use `messages-buffer' function.
4508         (ert--force-message-log-buffer-truncation): Ignore read-only.
4509         * help.el (view-echo-area-messages): Use `messages-buffer' function.
4510         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4512 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4514         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4516         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4518 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         * icomplete.el (icomplete-in-buffer): New var.
4521         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4522         vars and replace them with functions.
4523         (icomplete-minibuffer-setup): Adjust accordingly.
4524         (icomplete--completion-table, icomplete--completion-predicate)
4525         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4526         New functions.
4527         (icomplete-forward-completions, icomplete-backward-completions)
4528         (icomplete-simple-completing-p, icomplete-exhibit)
4529         (icomplete-completions): Use them.
4530         (icomplete--in-region-buffer): New var.
4531         (icomplete--in-region-setup): New function.
4532         (icomplete-mode): Use it.
4534         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4535         (bug#15379).
4536         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4537         return args and options.
4538         (eshell-eval-using-options): Use the new return value of
4539         eshell--do-opts to set the options's vars in their scope.
4540         (eshell--set-option): Rename from eshell-set-option.
4541         Add arg `opt-vals'.
4542         (eshell--process-option): Rename from eshell-process-option.
4543         Add arg `opt-vals'.
4544         (eshell--process-args): Use an `opt-vals' alist to store the options's
4545         values during their processing and return them additionally to the
4546         remaining args.
4548 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
4550         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4551         continuation character an operator, as far as indentation is
4552         concerned (Bug#15369).
4554 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
4556         * window.el (window--state-put-2): Don't process buffer state
4557         when buffer doesn't exist any more (Bug#15382).
4559 2013-09-15  Glenn Morris  <rgm@gnu.org>
4561         * eshell/em-unix.el (eshell/rm):
4562         Make -f ignore missing files.  (Bug#15373)
4564         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
4565         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4566         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4568 2013-09-14  Glenn Morris  <rgm@gnu.org>
4570         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4572 2013-09-13  Glenn Morris  <rgm@gnu.org>
4574         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4575         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
4577 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
4579         * frame.el (x-focus-frame): Mark as declared in frame.c.
4581 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4583         * ls-lisp.el: Use advice-add.
4584         (original-insert-directory): Remove.
4585         (ls-lisp--insert-directory): Rename from insert-directory; add
4586         `orig-fun' argument.
4587         (insert-directory): Advise.
4589 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
4591         * term.el (term-emulate-terminal): Decode the command string
4592         before passing it to term-command-hook.  (Bug#15337)
4594 2013-09-13  Glenn Morris  <rgm@gnu.org>
4596         * eshell/esh-util.el (ange-cache): Move declaration earlier.
4598         * eshell/esh-ext.el (eshell-search-path): Declare.
4600         * eshell/em-prompt.el (eshell/pwd): Autoload it.
4601         Otherwise an error occurs if eshell-dirs module not loaded.
4603         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4605 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
4607         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4608         `tramp-check-proper-host'.  Check for a valid method name.
4610         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4611         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4612         * net/tramp-sh.el (tramp-maybe-open-connection):
4613         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4615         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4616         also for hash values.
4618 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4620         * term/ns-win.el (parameters): Don't declare as dynamic.
4621         (before-make-frame-hook): Don't add ineffective function.
4623         * eshell/*.el: Use lexical-binding (bug#15231).
4625 2013-09-12  Kenichi Handa  <handa@gnu.org>
4627         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4629 2013-09-12  Glenn Morris  <rgm@gnu.org>
4631         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4632         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4634         * subr.el (do-after-load-evaluation): Also give compiler warnings
4635         when obsolete files are used (except by obsolete files).
4637         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4638         in the status output, assume `filename' is the first.  (Bug#15322)
4640         * vc/vc.el (vc-deduce-fileset): Doc fix.
4642         * calc/calc-help.el (Info-goto-node):
4643         * progmodes/cperl-mode.el (Info-find-node):
4644         * vc/ediff.el (Info-goto-node): Update declarations.
4646         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4648         * vc/vc-bzr.el (vc-compilation-mode): Declare.
4649         (vc-bzr-pull): Require vc-dispatcher.
4650         * vc/vc-git.el (vc-compilation-mode): Declare.
4651         (vc-git-pull): Require vc-dispatcher.
4653         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4655         * progmodes/octave.el (help-button-action): Declare.
4657         * shell.el (shell-directory-tracker): Output error as a message
4658         rather than just returning it as a string.
4659         (shell-process-pushd): Remove useless use of message.
4661         * dframe.el (dframe-timer-fn):
4662         * files.el (dir-locals-read-from-file):
4663         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4664         (mpc-format):
4665         * reveal.el (reveal-post-command):
4666         * saveplace.el (load-save-place-alist-from-file):
4667         * shell.el (shell-resync-dirs):
4668         * w32-common-fns.el (x-get-selection-value):
4669         * emacs-lisp/copyright.el (copyright-find-copyright):
4670         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4671         * emulation/tpu-edt.el (tpu-copy-keyfile):
4672         * play/bubbles.el (bubbles--mark-neighbourhood):
4673         * progmodes/executable.el
4674         (executable-make-buffer-file-executable-if-script-p):
4675         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4677 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4679         Cleanup Eshell to rely less on dynamic scoping.
4680         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4681         last-value, and ext-command here.  Bind `args' closer to `body'.
4682         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4683         (eshell--args): Declare new dynamic var.
4684         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
4685         last-value, and ext-command.  Pass `args' to `body'.
4686         (eshell-process-args): Bind eshell--args.
4687         (eshell-set-option): Use eshell--args.
4688         * eshell/eshell.el (eshell): Use derived-mode-p.
4689         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4690         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4691         (eshell-glob-function): Declare.
4692         * eshell/esh-util.el: Require cl-lib.
4693         (eshell-read-hosts-file): Avoid add-to-list.
4694         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4695         `err'.
4696         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4697         Declare.
4698         (eshell/diff): Remove unused var `err'.
4699         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4700         `killflag'.
4701         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4702         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4703         first use.
4704         * eshell/em-glob.el (eshell-glob-matches, message-shown):
4705         Move declaration before first use.
4706         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4707         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4708         rely on cl-return.
4710 2013-09-12  Glenn Morris  <rgm@gnu.org>
4712         * term/ns-win.el (global-map): Remove binding for ispell-next,
4713         deleted 1999-05-29.  (Bug#15357)
4715 2013-09-11  Glenn Morris  <rgm@gnu.org>
4717         * echistory.el (electric-command-history): Remove call to deleted func.
4719         * play/landmark.el (landmark-mode): Fix typos.
4721         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4722         Check cvs-sort-ignore-file is bound.
4724         * savehist.el: No need for cl when compiling on Emacs.
4726 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4728         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4729         (bug#15338).
4730         (eshell-self-insert-command, eshell-send-invisible):
4731         Remove unused argument.
4732         (eshell-handle-control-codes): Remove unused var `orig'.
4733         Avoid delete-backward-char.
4735         * files.el (set-auto-mode): Simplify a bit further.
4737 2013-09-11  Glenn Morris  <rgm@gnu.org>
4739         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4740         (set-auto-mode): Don't regexp-quote elements.
4741         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4742         * progmodes/cc-mode.el (interpreter-mode-alist):
4743         * progmodes/ruby-mode.el (interpreter-mode-alist):
4744         Revert previous change.
4746 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4748         * play/snake.el (snake-mode):
4749         * play/mpuz.el (mpuz-mode):
4750         * play/landmark.el (lm-mode):
4751         * play/blackbox.el (blackbox-mode):
4752         * play/5x5.el (5x5-mode):
4753         * obsolete/options.el (Edit-options-mode):
4754         * net/quickurl.el (quickurl-list-mode):
4755         * net/newst-treeview.el (newsticker-treeview-mode):
4756         * mail/rmailsum.el (rmail-summary-mode):
4757         * mail/mspools.el (mspools-mode):
4758         * locate.el (locate-mode):
4759         * ibuffer.el (ibuffer-mode):
4760         * emulation/ws-mode.el (wordstar-mode):
4761         * emacs-lisp/debug.el (debugger-mode):
4762         * array.el (array-mode):
4763         * net/eudc.el (eudc-mode): Use define-derived-mode.
4764         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4765         Move initialization into declaration.
4766         (mairix-searches-mode): Use define-derived-mode.
4767         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4768         (eudc-edit-hotlist): Use dolist.
4769         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4770         (Man-mode): Use define-derived-mode.
4771         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4772         (Info-edit-mode): Use define-derived-mode.
4773         (Info-cease-edit): Use Info-mode.
4774         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4775         into declaration.
4776         (eshell-mode): Use define-derived-mode.
4777         * chistory.el (command-history-mode-map): Rename from
4778         command-history-map.
4779         (command-history-mode): Use define-derived-mode.
4780         (Command-history-setup): Remove function.
4781         * calc/calc.el (calc-trail-mode-map): New var.
4782         (calc-trail-mode): Use define-derived-mode.
4783         (calc-trail-buffer): Set calc-main-buffer manually.
4784         * bookmark.el (bookmark-insert-annotation): New function.
4785         (bookmark-edit-annotation): Use it.
4786         (bookmark-edit-annotation-mode): Make it a proper major mode.
4787         (bookmark-send-edited-annotation): Use derived-mode-p.
4788         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4789         closer to its ideal place.  Use \' to match EOS.
4791         * profiler.el (profiler-calltree-find): Use function-equal.
4793 2013-09-10  Glenn Morris  <rgm@gnu.org>
4795         * files.el (interpreter-mode-alist): Convert to regexps.
4796         (set-auto-mode): Adapt for this.  (Bug#15306)
4797         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4798         Comment out unused variable.
4799         * progmodes/cc-mode.el (interpreter-mode-alist):
4800         * progmodes/python.el (interpreter-mode-alist):
4801         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4802         * progmodes/sh-script.el (sh-set-shell):
4803         No longer use interpreter-mode-alist to get list of shells.
4805         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4807 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4809         * simple.el: Use set-temporary-overlay-map for universal-argument.
4810         (universal-argument-map): Don't use default-bindings (bug#15317).
4811         Bind switch-frame explicitly.  Replace universal-argument-minus with
4812         a conditional binding.
4813         (universal-argument-num-events, saved-overriding-map): Remove.
4814         (restore-overriding-map): Remove.
4815         (universal-argument--mode): Rename from save&set-overriding-map,
4816         and rewrite.
4817         (universal-argument, universal-argument-more, negative-argument)
4818         (digit-argument): Adjust accordingly.
4819         (universal-argument-minus): Remove.
4820         (universal-argument-other-key): Remove.
4822         * subr.el (with-demoted-errors): Add `format' argument.
4824 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
4826         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
4827         `tramp-cleanup-connection'.
4829         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4830         parameters KEEP-DEBUG and KEEP-PASSWORD.
4832         * net/tramp.el (tramp-file-name-handler):
4833         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4834         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4835         (tramp-maybe-open-connection):
4836         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4837         Use `tramp-cleanup-connection'.
4839         * net/tramp-sh.el (tramp-maybe-open-connection):
4840         Catch 'uname-changed inside the progress reporter.
4842 2013-09-10  Glenn Morris  <rgm@gnu.org>
4844         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
4846         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4847         returns "alternate access method" in mode (eg "-rw-r--r--.").
4849 2013-09-08  Glenn Morris  <rgm@gnu.org>
4851         * saveplace.el (load-save-place-alist-from-file):
4852         Demote errors.  (Bug#15305)
4854 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
4856         Improve compatibility with older Emacsen, and XEmacs.
4858         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4859         only if it is bound.  It isn't for XEmacs.
4860         (with-tramp-progress-reporter): Do not let-bind `result'.
4861         This yields to scoping errors in XEmacs.
4862         (tramp-handle-make-auto-save-file-name): New function, moved from
4863         tramp-sh.el.
4865         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4866         for `make-auto-save-file-name'.
4867         (tramp-adb--gnu-switches-to-ash):
4868         Use `tramp-compat-replace-regexp-in-string'.
4870         * net/tramp-cache.el (tramp-cache-print): Call
4871         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
4873         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4874         bound.  It isn't for XEmacs.
4876         * net/tramp-compat.el (tramp-compat-copy-file):
4877         Catch `wrong-number-of-arguments' error.
4878         (tramp-compat-replace-regexp-in-string): New defun.
4880         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4881         for `make-auto-save-file-name'.
4882         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4883         `copy-file'.
4884         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4885         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4886         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4888         * net/tramp-gw.el (tramp-gw-open-network-stream):
4889         Use `tramp-compat-replace-regexp-in-string'.
4891         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4892         Call `tramp-handle-make-auto-save-file-name'.
4893         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4894         (tramp-sh-file-gvfs-monitor-dir-process-filter)
4895         (tramp-sh-file-inotifywait-process-filter):
4896         Use `tramp-compat-replace-regexp-in-string'.
4897         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4899         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4900         for `make-auto-save-file-name'.
4901         (tramp-smb-handle-copy-directory):
4902         Call `tramp-compat-replace-regexp-in-string'.
4903         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4904         (tramp-smb-handle-copy-file): Improve error message.
4905         (tramp-smb-handle-rename-file): Rename directly only in case
4906         `newname' does not exist yet.  This is a restriction of smbclient.
4907         (tramp-smb-maybe-open-connection): Rerun the function only when
4908         `auth-sources' is non-nil.
4910 2013-09-08  Kenichi Handa  <handa@gnu.org>
4912         * international/characters.el: Set category "^" (Combining) for
4913         more characters.
4915 2013-09-07  Alan Mackenzie  <acm@muc.de>
4917         Correctly fontify Java class constructors.
4918         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4919         in Java Mode.
4920         (c-recognize-typeless-decls): Set the Java value to t.
4921         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4922         While handling a "(", add a check for, effectively, Java, and handle a
4923         "typeless" declaration there.
4925 2013-09-07  Roland Winkler  <winkler@gnu.org>
4927         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4928         field subtitle for entry type book.
4930 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4932         * minibuffer.el: Make minibuffer-complete call completion-in-region
4933         rather than other way around.
4934         (completion--some, completion-pcm--find-all-completions):
4935         Don't delay signals when debugging.
4936         (minibuffer-completion-contents): Beware fields within the
4937         minibuffer contents.
4938         (completion-all-sorted-completions): Use defvar-local.
4939         (completion--do-completion, completion--cache-all-sorted-completions)
4940         (completion-all-sorted-completions, minibuffer-force-complete):
4941         Add args `beg' and `end'.
4942         (completion--in-region-1): New fun, extracted from minibuffer-complete.
4943         (minibuffer-complete): Use completion-in-region.
4944         (completion-complete-and-exit): New fun, extracted from
4945         minibuffer-complete-and-exit.
4946         (minibuffer-complete-and-exit): Use it.
4947         (completion--complete-and-exit): Rename from
4948         minibuffer--complete-and-exit.
4949         (completion-in-region--single-word): New function, extracted from
4950         minibuffer-complete-word.
4951         (minibuffer-complete-word): Use it.
4952         (display-completion-list): Make `common-substring' argument obsolete.
4953         (completion--in-region): Call completion--in-region-1 instead of
4954         minibuffer-complete.
4955         (completion-help-at-point): Pass boundaries to
4956         minibuffer-completion-help as args rather than via an overlay.
4957         (completion-pcm--string->pattern): Use `any-delim'.
4958         (completion-pcm--optimize-pattern): New function.
4959         (completion-pcm--pattern->regex): Handle `any-delim'.
4960         * icomplete.el (icomplete-forward-completions)
4961         (icomplete-backward-completions, icomplete-completions):
4962         Adjust calls to completion-all-sorted-completions and
4963         completion--cache-all-sorted-completions.
4964         (icomplete-with-completion-tables): Default to t.
4965         * emacs-lisp/crm.el (crm--current-element): Rename from
4966         crm--select-current-element.  Don't put an overlay but return the
4967         boundaries instead.
4968         (crm--completion-command): Take two new args to bind to the boundaries.
4969         (crm-completion-help): Adjust accordingly.
4970         (crm-complete): Use completion-in-region.
4971         (crm-complete-word): Use completion-in-region--single-word.
4972         (crm-complete-and-exit): Use completion-complete-and-exit.
4974 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4976         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4977         than dynamically.
4979 2013-09-06  Juri Linkov  <juri@jurta.org>
4981         * info.el (Info-display-images-node): When image file doesn't exist
4982         display text version of the image if it's provided in the Info file.
4983         Otherwise, display the location of missing image from SRC attribute.
4984         Add help-echo text property from ALT attribute.  (Bug#15279)
4986 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4988         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4989         (edit-abbrevs-mode): Use define-derived-mode.
4991         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4992         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4993         that it's defined.
4994         (epa-key-list-mode, epa-key-mode, epa-info-mode):
4995         Use define-derived-mode.
4997         * epg.el (epg-start-encrypt): Minor CSE simplification.
4999 2013-09-06  William Xu  <william.xwl@gmail.com>
5001         * arc-mode.el: Add support for 7za (bug#15264).
5002         (archive-7z-program): New var.
5003         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5004         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5005         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5007 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
5009         Remove URL syntax.
5011         * net/tramp.el (tramp-syntax, tramp-prefix-format)
5012         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5013         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5014         (tramp-postfix-host-format, tramp-file-name-regexp)
5015         (tramp-completion-file-name-regexp)
5016         (tramp-completion-dissect-file-name)
5017         (tramp-handle-substitute-in-file-name): Remove 'url case.
5018         (tramp-file-name-regexp-url)
5019         (tramp-completion-file-name-regexp-url): Remove constants.
5021 2013-09-06  Glenn Morris  <rgm@gnu.org>
5023         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
5025 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
5027         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5028         keywords" below "here-doc beginnings" (Bug#15270).
5030 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5032         * subr.el (pop): Use `car-safe'.
5033         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5034         to detect unused `pop' return value.
5036         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5037         var `block-regexp'.
5038         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5039         (python-fill-string): Remove unused var `marker'.
5040         (python-skeleton-add-menu-items): Remove unused var `items'.
5042         * international/mule-cmds.el: Require CL.
5043         (find-coding-systems-for-charsets): Avoid add-to-list.
5044         (sanitize-coding-system-list): New function, extracted from
5045         select-safe-coding-system-interactively.
5046         (select-safe-coding-system-interactively): Use it.
5047         (read-input-method-name): Accept symbols for `default'.
5049         * emacs-lisp/advice.el (defadvice): Add indent rule.
5051 2013-09-05  Daniel Hackney  <dan@haxney.org>
5053         * dired-x.el:
5054         * net/ange-ftp.el:
5055         * net/browse-url.el:
5056         * net/dbus.el:
5057         * net/eudc.el:
5058         * net/eudcb-ldap.el:
5059         * net/eww.el:
5060         * net/imap.el:
5061         * printing.el:
5062         * vc/ediff-diff.el:
5063         * vc/ediff-init.el:
5064         * vc/ediff-merg.el:
5065         * vc/ediff-mult.el:
5066         * vc/ediff-util.el:
5067         * vc/ediff-wind.el:
5068         * vc/ediff.el:
5069         * vc/emerge.el:
5070         * vc/pcvs.el:
5071         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5072         byte compiler.  Remove some unused let-bound variables.
5074 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5076         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5077         a "ref-cell", since it gets better optimized (bug#14883).
5079 2013-09-05  Glenn Morris  <rgm@gnu.org>
5081         * progmodes/cc-awk.el (c-forward-sws): Declare.
5083 2013-09-04  Glenn Morris  <rgm@gnu.org>
5085         * generic-x.el [rul-generic-mode]: Require cc-mode.
5086         (c++-mode-syntax-table): Declare.
5087         (rul-generic-mode-syntax-table): Init in the defvar.
5089 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5091         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5092         (vc-do-command, vc-set-async-update):
5093         * vc/vc-mtn.el (vc-mtn-dir-status):
5094         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5095         (vc-hg-pull, vc-hg-merge-branch):
5096         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5097         (vc-git-merge-branch):
5098         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5099         (vc-cvs-dir-status-files):
5100         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5101         (vc-bzr-dir-status-files):
5102         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5103         * vc/vc-annotate.el: Use lexical-binding.
5104         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5105         (vc-sentinel-movepoint): Declare.
5106         (vc-annotate): Don't use `goto-line'.
5107         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5108         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5109         (vc-sentinel-movepoint): Declare.
5110         * vc/vc-svn.el: Use lexical-binding.
5111         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5112         * vc/vc-sccs.el:
5113         * vc/vc-rcs.el: Use lexical-binding.
5115         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5116         `deleted'.  Don't drop errors silently.
5118         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5120 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
5122         * vc/vc.el (vc-ignore): Rewrite.
5123         (vc-default-ignore): New function.
5124         (vc-default-ignore-completion-table): Use find-ignore-file.
5126         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5127         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5128         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5129         Remove.  Most code moved to vc.el.
5131 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5133         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5134         * net/tramp-smb.el (tramp-smb-get-file-entries):
5135         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5136         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5138         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5139         Update call to it.
5140         (eww-change-select): Remove unused var `properties'.
5141         (eww-make-unique-file-name): Remove unused var `base'.
5143         * finder.el (finder-compile-keywords): Don't mess with windows.
5145         * calculator.el (calculator-funcall): Fix typo in last change.
5147         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5149         * emacs-lisp/package.el (package-activate-1): Don't let a missing
5150         <pkg>-autoloads.el file stop us.
5152         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5153         warnings, and factor out common code.
5155 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
5157         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5158         two-character operators and whether the character preceding them
5159         changes their meaning (Bug#15208).
5161 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5163         Format code sent to Python shell for robustness.
5164         * progmodes/python.el (python-shell-buffer-substring):
5165         New function.
5166         (python-shell-send-region, python-shell-send-buffer): Use it.
5168 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
5170         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5171         * net/tramp.el (tramp-user-error): ... here.
5172         (tramp-find-method, tramp-check-proper-host)
5173         (tramp-dissect-file-name, tramp-debug-message)
5174         (tramp-handle-shell-command):
5175         * net/tramp-adb.el (tramp-adb-handle-shell-command):
5176         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5178         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5180 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
5182         * avoid.el (mouse-avoidance-point-position)
5183         (mouse-avoidance-too-close-p): Handle case where posn-at-point
5184         returns nil.
5186 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5188         * progmodes/python.el (python-shell-completion-get-completions):
5189         Drop use of deleted `comint-last-prompt-overlay'.
5190         (python-nav-if-name-main): New command.
5192 2013-09-01  Glenn Morris  <rgm@gnu.org>
5194         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5195         Avoid leading space in $wins.  Otherwise the sed command used by
5196         eg compile-main ends up containing "/*.el".  (Bug#15170)
5198         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
5200 2013-08-30  Glenn Morris  <rgm@gnu.org>
5202         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5203         Fix is-this-a-directory logic.  (Bug#15220)
5205 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5207         * textmodes/css-mode.el: Use SMIE.
5208         (css-smie-grammar): New var.
5209         (css-smie--forward-token, css-smie--backward-token)
5210         (css-smie-rules): New functions.
5211         (css-mode): Use them.
5212         (css-navigation-syntax-table): Remove var.
5213         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5214         (css-indent-calculate, css-indent-line): Remove functions.
5216         Misc changes to reduce use of `(lambda...); and other cleanups.
5217         * cus-edit.el: Use lexical-binding.
5218         (customize-push-and-save, customize-apropos)
5219         (custom-buffer-create-internal): Use closures.
5220         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5221         * progmodes/ada-xref.el: Use setq.
5222         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5223         * dframe.el: Use lexical-binding.
5224         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
5225         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5226         * descr-text.el: Use lexical-binding.
5227         (describe-text-widget, describe-text-sexp, describe-property-list):
5228         Use closures.
5229         * comint.el (comint-history-isearch-push-state): Use a closure.
5230         * calculator.el: Use lexical-binding.
5231         (calculator-number-to-string): Make it work with lexical-binding.
5232         (calculator-funcall): Same and use cl-letf.
5234         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5235         (lisp--company-doc-string, lisp--company-location): New functions.
5236         (lisp-completion-at-point): Use them to improve Company support.
5238         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5239         params of lambda expressions.
5240         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5241         (ruby-smie--opening-pipe-p): New function.
5242         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5243         symbols and matched |...| for formal params.
5244         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5245         from being treated as hanging.  Handle "rescue".
5247 2013-08-29  Glenn Morris  <rgm@gnu.org>
5249         * progmodes/cc-engine.el (c-pull-open-brace):
5250         Move definition before use.
5252 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5254         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5255         are immutable.  Don't use `unsafe' any more.
5256         (cl--defsubst-expand): Don't substitute at the same time as keeping
5257         a residual unused let-binding.  Don't use `unsafe' any more.
5259 2013-08-29  Glenn Morris  <rgm@gnu.org>
5261         * calendar/cal-china.el (calendar-chinese-year-cache):
5262         Recenter on 2015.
5264         * nxml/nxml-util.el (nxml-debug-clear-inside):
5265         Use cl-loop rather than loop.
5267         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5269         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5271 2013-08-28  Glenn Morris  <rgm@gnu.org>
5273         * progmodes/antlr-mode.el: No need to require cc-mode twice.
5275         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5277         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5279 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5281         * simple.el (repeat-complex-command--called-interactively-skip):
5282         New function.
5283         (repeat-complex-command): Use it (bug#14136).
5285         * progmodes/cc-mode.el: Minor cleanup of var declarations.
5286         (c-define-abbrev-table): Add `doc' argument.
5287         (c-mode-abbrev-table, c++-mode-abbrev-table)
5288         (objc-mode-abbrev-table, java-mode-abbrev-table)
5289         (idl-mode-abbrev-table, pike-mode-abbrev-table)
5290         (awk-mode-abbrev-table): Use it.
5291         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5292         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5293         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5294         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5295         Move initialization into the declaration; and remove any
5296         autoload cookie.
5298         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5299         and dynamic let binding.
5301         * vc/smerge-mode.el: Remove redundant :group args.
5303         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5304         to load-path.
5306 2013-08-28  Juri Linkov  <juri@jurta.org>
5308         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5309         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5310         (isearch-other-meta-char): Handle an undefined shifted printing
5311         character by downshifting it.  (Bug#15200)
5313 2013-08-28  Juri Linkov  <juri@jurta.org>
5315         * isearch.el (isearch-search): Change regexp error message for
5316         non-regexp searches.  (Bug#15166)
5318 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
5320         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5321         for portability to hosts where /bin/sh has problems.
5323 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5325         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5327 2013-08-27  Juri Linkov  <juri@jurta.org>
5329         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5330         in the keyboard macro.  (Bug#15126)
5332 2013-08-27  Juri Linkov  <juri@jurta.org>
5334         * isearch.el (isearch-quote-char): Comment out converting unibyte
5335         to multibyte, thus syncing with its `quoted-insert' counterpart.
5336         (Bug#15166)
5338 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
5340         * window.el (display-buffer-use-some-window): Add missing
5341         argument in call of get-largest-window (Bug#15185).
5342         Reported by Stephen Leake.
5344 2013-08-27  Glenn Morris  <rgm@gnu.org>
5346         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5348 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5350         * progmodes/python.el (python-font-lock-keywords): Don't return nil
5351         from a matcher-function unless there's no more matches (bug#15161).
5353 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5355         * minibuffer.el: Revert change from 2013-08-20.
5357         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5358         with text property `tramp-default', if appropriate.
5359         (tramp-check-proper-host): New defun.
5360         (tramp-dissect-file-name): Do not check hostname.  Revert change
5361         of 2013-03-18.
5362         (tramp-backtrace): Make VEC-OR-PROC optional.
5364         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5365         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5366         * net/tramp-sh.el (tramp-maybe-open-connection):
5367         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5368         Apply `tramp-check-proper-host'.
5370 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
5372         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5373         lambda expression in order to have `describe-variable' display it.
5375 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5377         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5378         BUF can be optional.  (Bug#15186)
5380 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
5382         * progmodes/flymake.el (flymake-get-real-file-name-function):
5383         Fix broken customization.  (Bug#15184)
5385 2013-08-25  Alan Mackenzie  <acm@muc.de>
5387         Improve indentation of bracelists defined by macros (without "=").
5389         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5390         expansion begins with "{", regard it as bracelist when it doesn't
5391         contain a ";".
5393         Parse C++ inher-intro when there's a template split over 2 lines.
5395         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5396         rigorously the search for "class" etc. followed by ":".
5398         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5399         random languages a regexp which never matches rather than nil.
5401         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5403         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5404         (c-awk-regexp-one-line-possibly-open-char-list-re)
5405         (c-awk-one-line-possibly-open-regexp-re)
5406         (c-awk-one-line-non-syn-ws*-re): Remove.
5407         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5408         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5409         (c-awk-space*-unclosed-regexp-/-re): New constants.
5410         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5411         aren't regexp delimiters.
5413         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5414         handling for a rare situation in AWK Mode involving unterminated
5415         strings/regexps.
5417 2013-08-23  Glenn Morris  <rgm@gnu.org>
5419         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5421         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5423         * files.el (create-file-buffer): If the result would begin with
5424         spaces, prepend a "|" instead of removing them.  (Bug#15162)
5426 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5428         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5429         text-properties (bug#15155).
5431         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5432         exist any more.
5433         (calc-keypad-redraw): Remove unused var `pad'.
5434         (calc-keypad-press): Remove unused var `menu'.
5436 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
5438         * window.el (display-buffer-pop-up-frame):
5439         Call pop-up-frame-function with BUFFER current so `make-frame' will
5440         use it as the new frame's buffer (Bug#15133).
5442 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5444         * calendar/timeclock.el: Minor cleanups.
5445         (timeclock-ask-before-exiting, timeclock-use-display-time):
5446         Use `symbol'.
5447         (timeclock-modeline-display): Define as alias before the
5448         actual definition.
5449         (timeclock-mode-line-display): Use define-minor-mode.
5450         (timeclock-day-list-template): Make it a function, add an argument.
5451         (timeclock-day-list-required, timeclock-day-list-length)
5452         (timeclock-day-list-debt, timeclock-day-list-span)
5453         (timeclock-day-list-break): Adjust calls accordingly.
5455 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5457         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5458         Use read--expression so that completion works again.
5460 2013-08-21  Sam Steingold  <sds@gnu.org>
5462         Add rudimentary inferior shell interaction
5463         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5464         (sh-set-shell): Reset it.
5465         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5466         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5468 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5470         * align.el: Use lexical-binding.
5471         (align-region): Simplify accordingly.
5473 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
5475         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5477         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5478         `non-essential' up.
5480 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
5482         * net/tramp.el:
5483         * net/tramp-adb.el:
5484         * net/tramp-cmds.el:
5485         * net/tramp-ftp.el:
5486         * net/tramp-gvfs.el:
5487         * net/tramp-gw.el:
5488         * net/tramp-sh.el: Don't wrap external variable declarations by
5489         `eval-when-compile'.
5491 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5493         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5494         now that Emacs supports ImageMagick animations.
5496 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
5498         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5499         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5501 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
5503         * window.el (mouse-autoselect-window-select): Do autoselect when
5504         mouse pointer is on margin.
5506 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
5508         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
5510 2013-08-16  Glenn Morris  <rgm@gnu.org>
5512         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5513         Handle "Remote Directory" response of some clients.  (Bug#15058)
5515         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5516         Tweak warning.  (Bug#14926)
5518         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5519         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
5521         * image-mode.el (image-mode-map): Add menu items to reverse,
5522         increase, decrease, reset animation speed.
5523         (image--set-speed, image-increase-speed, image-decrease-speed)
5524         (image-reverse-speed, image-reset-speed): New functions.
5525         (image-mode-map): Add bindings for speed commands.
5527         * image.el (image-animate-get-speed, image-animate-set-speed):
5528         New functions.
5529         (image-animate-timeout): Respect image :speed property.
5531 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5533         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5534         previous line (bug#15101).
5535         (debugger-eval-expression, debugger-record-expression):
5536         Use read--expression (bug#15102).
5538 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
5540         Remove byte compiler warnings, visible when compiling with
5541         `byte-compile-force-lexical-warnings' set to t.
5543         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5544         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5545         (tramp-handle-unhandled-file-name-directory)
5546         (tramp-handle-file-notify-add-watch, tramp-action-login)
5547         (tramp-action-succeed, tramp-action-permission-denied)
5548         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5549         arguments with "_".
5551         * net/tramp-adb.el (tramp-adb-parse-device-names)
5552         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5553         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5554         (tramp-adb-handle-file-truename): Remove unused arguments.
5556         * net/tramp-cache.el (tramp-flush-directory-property)
5557         (tramp-flush-connection-property, tramp-list-connections)
5558         (tramp-parse-connection-properties): Prefix unused arguments with "_".
5560         * net/tramp-compat.el (tramp-compat-make-temp-file):
5561         Rename FILENAME to F.
5563         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5564         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5565         (tramp-zeroconf-parse-workstation-device-names)
5566         (tramp-zeroconf-parse-webdav-device-names)
5567         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5569         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5570         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5572         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5573         arguments.
5574         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5575         (tramp-sh-handle-insert-file-contents-literally)
5576         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5577         with "_".
5578         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5579         Remove unused variables.
5581         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5582         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5583         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5585         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5586         Make them a defconst.
5587         (tramp-uuencode-region): Remove unused variable.
5589 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
5591         * frameset.el (frameset--prop-setter): New function.
5592         (frameset-prop): Add gv-setter declaration.
5593         (frameset-filter-minibuffer): Deal with the case that the minibuffer
5594         parameter was already set in FILTERED.  Doc fix.
5595         (frameset--record-minibuffer-relationships): Allow saving a
5596         minibufferless frame without its corresponding minibuffer frame.
5597         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5598         frame, if the frame id matches.
5599         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5600         frames before orphaned ones.
5601         (frameset-restore): Warn about orphaned windows, instead of error out.
5603 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
5605         * window.el (window-make-atom): Don't overwrite parameter
5606         already present.
5607         (display-buffer-in-atom-window): Handle special case where we
5608         split an already atomic window.
5609         (window--major-non-side-window, display-buffer-in-side-window)
5610         (window--side-check): Ignore minibuffer window when walking
5611         window tree.
5612         (window-deletable-p): Return 'frame only if no other frame uses
5613         our minibuffer window.
5614         (record-window-buffer): Run buffer-list-update-hook.
5615         (split-window): Make sure window--check-frame won't destroy an
5616         existing atomic window in case the new window gets nested
5617         inside.
5618         (display-buffer-at-bottom): Ignore minibuffer window when
5619         walking window tree.  Don't split a side window.
5620         (pop-to-buffer): Don't set-buffer here, the select-window call
5621         should do that.
5622         (mouse-autoselect-window-select): Autoselect only if we are in the
5623         text portion of the window.
5625 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5627         * net/shr.el (shr-parse-image-data): New function to grab both the
5628         data itself and the Content-Type.
5629         (shr-put-image): Use it.
5631         * net/eww.el (eww-display-image): Ditto.
5633         * image.el (image-content-type-suffixes): New variable.
5635 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5637         * progmodes/python.el (python-imenu--build-tree)
5638         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5640 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
5642         * simple.el (backward-word): Mention the optional argument.
5644 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5646         * frameset.el (frameset--make): Rename constructor from make-frameset.
5647         (frameset-p, frameset-valid-p): Don't autoload.
5648         (frameset-valid-p): Use normal accessors.
5650 2013-08-13  Glenn Morris  <rgm@gnu.org>
5652         * progmodes/compile.el (compile-command): Tweak example in doc.
5653         * obsolete/scribe.el (scribe-mode):
5654         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
5656         * mail/feedmail.el (feedmail-confirm-outgoing)
5657         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5659         * cus-start.el (truncate-partial-width-windows): Fix type.
5661         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5663         * net/shr.el (shr-table-horizontal-line): Fix custom type.
5665 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5667         * emacs-lisp/timer.el (timer--time-setter): New function.
5668         (timer--time): Use it as gv-setter.
5670         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5671         setter is not a symbol.
5673 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
5675         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5676         if sending fails.  This makes debugging easier.
5678 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
5680         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5681         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5682         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5684 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
5686         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5688 2013-08-12  Glenn Morris  <rgm@gnu.org>
5690         * format.el (format-annotate-function):
5691         Handle read-only text properties in the source.  (Bug#14887)
5693 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5695         * net/eww.el (eww-display-html): Ignore coding system errors.
5696         One web site uses "utf-8lias" as the coding system.
5698 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
5700         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5702 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
5704         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5705         (tutorial--detailed-help): Remove unused local variables.
5706         (tutorial--save-tutorial-to): Use ignore-errors.
5707         (help-with-tutorial): Use looking-at-p.
5709         * view.el (view-buffer-other-window, view-buffer-other-frame):
5710         Mark unused arguments.
5712         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5713         (woman-select-symbol-fonts, woman, woman-find-file)
5714         (woman-insert-file-contents, woman-non-underline-faces):
5715         Use string-match-p.
5716         (woman1-unquote): Move declaration.
5718         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5719         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
5720         argument.  Remove unused local variable.
5721         (xml-parse-elem-type): Use string-match-p.
5722         (xml-substitute-numeric-entities): Use ignore-errors.
5724         * calculator.el (calculator): Mark unused argument.
5725         (calculator-paste, calculator-quit, calculator-integer-p):
5726         Use ignore-errors.
5727         (calculator-string-to-number, calculator-decimal, calculator-exp)
5728         (calculator-op-or-exp): Use string-match-p.
5730         * dired.el (dired-buffer-more-recently-used-p): Declare.
5731         (dired-insert-set-properties, dired-insert-old-subdirs):
5732         Use ignore-errors.
5734         * dired-aux.el (dired-compress): Use ignore-errors.
5735         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5736         (dired-do-async-shell-command, dired-do-shell-command)
5737         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5738         (dired-insert-subdir-validate): Use string-match-p.
5739         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5740         (dired-add-entry): Use string-match-p, looking-at-p.
5741         (dired-insert-subdir-newpos): Remove unused local variable.
5743         * filenotify.el (file-notify-callback): Remove unused local variable.
5745         * filesets.el (filesets-error): Mark unused argument.
5746         (filesets-which-command-p, filesets-filter-dir-names)
5747         (filesets-directory-files, filesets-get-external-viewer)
5748         (filesets-ingroup-get-data): Use string-match-p.
5750         * find-file.el (ff-other-file-name, ff-other-file-name)
5751         (ff-find-the-other-file, ff-cc-hh-converter):
5752         Remove unused local variables.
5753         (ff-get-file-name): Use string-match-p.
5754         (ff-all-dirs-under): Use ignore-errors.
5756         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5757         (follow-select-if-visible): Remove unused local variable.
5759         * forms.el (read-file-filter): Move declaration.
5760         (forms--make-format, forms--make-parser, forms-insert-record):
5761         Quote function with #'.
5762         (forms--update): Use string-match-p.  Quote function with #'.
5764         * help-mode.el (help-dir-local-var-def): Mark unused argument.
5765         (help-make-xrefs): Use looking-at-p.
5766         (help-xref-on-pp): Use looking-at-p, ignore-errors.
5768         * ibuffer.el (ibuffer-ext-visible-p): Declare.
5769         (ibuffer-confirm-operation-on): Use string-match-p.
5771         * msb.el (msb-item-handler, msb-dired-item-handler):
5772         Mark unused arguments.
5774         * ses.el (ses-decode-cell-symbol)
5775         (ses-kill-override): Remove unused local variable.
5776         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5777         (ses-load): Use ignore-errors, looking-at-p.
5778         (ses-jump-safe): Use ignore-errors.
5779         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5781         * tabify.el (untabify, tabify): Mark unused arguments.
5783         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5784         Mark unused argument.
5785         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5786         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5788         * emacs-lisp/timer.el (timer--time): Define setter with
5789         gv-define-setter to avoid deprecation warning.
5791         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5792         (*record-cmpl-statistics-p*): Remove (was commented out).
5793         (cmpl-statistics-block): Remove (body was commented out).
5794         All callers changed.
5795         (add-completions-from-buffer, load-completions-from-file):
5796         Remove unused variables.
5798 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5800         * filecache.el (file-cache-delete-file-list):
5801         Print message only when told so.
5802         (file-cache-files-matching): Use #' in mapconcat argument.
5804         * ffap.el (ffap-url-at-point): Fix reference to variable
5805         thing-at-point-default-mail-uri-scheme.
5807 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5809         * subr.el (define-error): New function.
5810         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5811         error-file-not-found and define with define-error.
5812         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5813         and define with define-error.
5814         * userlock.el (file-locked, file-supersession):
5815         * simple.el (mark-inactive):
5816         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5817         * progmodes/ada-mode.el (ada-mode-errors):
5818         * play/life.el (life-extinct):
5819         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5820         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5821         * nxml/rng-util.el (rng-error):
5822         * nxml/rng-uri.el (rng-uri-error):
5823         * nxml/rng-match.el (rng-compile-error):
5824         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5825         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5826         * nxml/nxml-rap.el (nxml-scan-error):
5827         * nxml/nxml-outln.el (nxml-outline-error):
5828         * net/soap-client.el (soap-error):
5829         * net/gnutls.el (gnutls-error):
5830         * net/ange-ftp.el (ftp-error):
5831         * mpc.el (mpc-proc-error):
5832         * json.el (json-error, json-readtable-error, json-unknown-keyword)
5833         (json-number-format, json-string-escape, json-string-format)
5834         (json-key-format, json-object-format):
5835         * jka-compr.el (compression-error):
5836         * international/quail.el (quail-error):
5837         * international/kkc.el (kkc-error):
5838         * emacs-lisp/ert.el (ert-test-failed):
5839         * calc/calc.el (calc-error, inexact-result, math-overflow)
5840         (math-underflow):
5841         * bookmark.el (bookmark-error-no-filename):
5842         * epg.el (epg-error): Define with define-error.
5844         * time.el (display-time-event-handler)
5845         (display-time-next-load-average): Don't call sit-for since it seems
5846         unnecessary (bug#15045).
5848         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5849         Use #' instead of ' to quote functions.
5850         (checkdoc-output-mode): Use setq-local.
5851         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5852         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5853         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5854         (checkdoc-ispell, checkdoc-ispell-current-buffer)
5855         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5856         (checkdoc-ispell-message-text, checkdoc-ispell-start)
5857         (checkdoc-ispell-continue, checkdoc-ispell-comments)
5858         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5860         * ido.el (ido-completion-help): Fix up compiler warning.
5862 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
5864         * frameset.el (frameset-p): Add autoload cookie.
5865         (frameset--jump-to-register): New function, based on code moved from
5866         register.el.
5867         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
5869         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5870         (frameset-restore, frameset-save, frameset-session-filter-alist):
5871         Remove declarations.
5872         (register-alist): Doc fix.
5873         (frameset-to-register): Move to frameset.el.
5874         (jump-to-register, describe-register-1): Remove frameset-specific code.
5876 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5878         * allout-widgets.el (allout-widgets-pre-command-business)
5879         (allout-widgets-post-command-business)
5880         (allout-widgets-after-change-handler)
5881         (allout-decorate-item-and-context, allout-set-boundary-marker)
5882         (allout-body-modification-handler)
5883         (allout-graphics-modification-handler): Mark ignored arguments.
5884         (allout-widgets-post-command-business)
5885         (allout-widgets-exposure-change-processor)
5886         (allout-widgets-exposure-undo-processor)
5887         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5888         (allout-parse-item-at-point, allout-decorate-item-guides)
5889         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5890         * allout.el (epa-passphrase-callback-function): Declare.
5891         (allout-overlay-insert-in-front-handler)
5892         (allout-overlay-interior-modification-handler)
5893         (allout-isearch-end-handler, allout-chart-siblings)
5894         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5895         (allout-yank-processing, allout-process-exposed)
5896         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5897         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5898         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5899         (lisp-indent-defform): Mark ignored arguments.
5900         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
5901         (calculate-lisp-indent): Remove unused variables.
5902         * international/characters.el (indian-2-column, arabic-2-column)
5903         (tibetan): Mark ignored arguments.
5904         (use-cjk-char-width-table): Mark ignored arguments.
5905         Remove unused variables.
5906         * international/fontset.el (build-default-fontset-data)
5907         (x-compose-font-name, create-fontset-from-fontset-spec):
5908         Mark ignored arguments.
5909         (fontset-plain-name): Remove unused variables.
5910         * international/mule.el (charset-id, charset-bytes, generic-char-p)
5911         (keyboard-coding-system): Mark ignored arguments.
5912         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
5913         * help.el (resize-temp-buffer-window):
5914         * window.el (display-buffer-in-major-side-window)
5915         (display-buffer-in-side-window, display-buffer-in-previous-window):
5916         Remove unused variables.
5917         * isearch.el (isearch-forward-symbol):
5918         * version.el (emacs-bzr-version-bzr):
5919         * international/mule-cmds.el (current-language-environment):
5920         * term/common-win.el (x-handle-iconic, x-handle-geometry)
5921         (x-handle-display):
5922         * term/pc-win.el (x-list-fonts, x-display-planes)
5923         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5924         (x-server-version, x-display-screens, x-display-mm-height)
5925         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5926         (x-selection-owner-p, x-own-selection-internal)
5927         (x-disown-selection-internal, x-get-selection-internal)
5928         (msdos-initialize-window-system):
5929         * term/tty-colors.el (tty-color-alist, tty-color-clear):
5930         * term/x-win.el (x-handle-no-bitmap-icon):
5931         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5932         (vc-default-find-file-hook, vc-default-extra-menu):
5933         Mark ignored arguments.
5935 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5937         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5938         break-condition in the context of the debugged code (bug#12685).
5940 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
5942         * comint.el:
5943         Do not use an overlay to highlight the last prompt.  (Bug#14744)
5944         (comint-mode): Make comint-last-prompt buffer local.
5945         (comint-last-prompt): New variable.
5946         (comint-last-prompt-overlay): Remove.  Superseded by
5947         comint-last-prompt.
5948         (comint-snapshot-last-prompt, comint-output-filter):
5949         Use comint-last-prompt.
5951 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5953         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
5954         (frameset-save): Check validity of the resulting frameset.
5956 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
5958         * ido.el (ido-record-command): Add doc string.
5960 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5962         * frameset.el (frameset): Do not disable creation of the default
5963         frameset-p predicate.  Doc fix.
5964         (frameset-valid-p): New function, copied from the old predicate-p.
5965         Add additional checks.
5966         (frameset-restore): Check with frameset-valid-p.
5967         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5968         (frameset-name, frameset-description, frameset-properties)
5969         (frameset-states): Add docstring.
5970         (frameset-session-filter-alist, frameset-persistent-filter-alist)
5971         (frameset-filter-alist): Doc fixes.
5973 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5975         * frameset.el (frameset-p, frameset-prop): Doc fixes.
5977 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5979         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5980         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5981         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5982         (byte-compile-normal-call): Remove obsolescence check.
5984 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
5986         * frameset.el (frameset-restore): Doc fix.
5988         * register.el (frameset-frame-id, frameset-frame-with-id)
5989         (frameset-p, frameset-restore, frameset-save): Declare.
5990         (register-alist): Document framesets.
5991         (frameset-session-filter-alist): Declare.
5992         (frameset-to-register): New function.
5993         (jump-to-register): Implement jumping to framesets.  Doc fix.
5994         (describe-register-1): Describe framesets.
5996         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5998 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
6000         * desktop.el (desktop-save-frameset): Use new frameset-save args.
6001         Use lexical-binding.
6003         * frameset.el (frameset): Use type vector, not list (incompatible
6004         change).  Do not declare a new constructor, use the default one.
6005         Upgrade suggested properties `app', `name' and `desc' to slots `app',
6006         `name' and `description', respectively, and add read-only slot
6007         `timestamp'.  Doc fixes.
6008         (frameset-copy, frameset-persistent-filter-alist)
6009         (frameset-filter-alist, frameset-switch-to-gui-p)
6010         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6011         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6012         (frameset-filter-iconified, frameset-keep-original-display-p):
6013         Doc fixes.
6014         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6015         Rename from frameset-filter-(save|restore)-param.  All callers changed.
6016         Doc fix.
6017         (frameset-p): Adapt to change to vector and be more thorough.
6018         Change arg name to OBJECT.  Doc fix.
6019         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
6020         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6021         All callers changed.
6022         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6023         All callers changed.
6024         (frameset--record-minibuffer-relationships): Rename from
6025         frameset--process-minibuffer-frames.  All callers changed.
6026         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6027         Use new default constructor (again).  Doc fix.
6028         (frameset--find-frame-if): Rename from `frameset--find-frame.
6029         All callers changed.
6030         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6031         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6032         Doc fix.
6033         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6034         PARAMETERS and WINDOW-STATE, respectively.
6035         (frameset-restore): Add new keyword argument PREDICATE.
6036         Reset frameset--target-display to nil.  Doc fix.
6038 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6040         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6041         (bat-mode): Use it.
6042         (bat-mode-syntax-table): Mark \n as end-of-comment.
6043         (bat-font-lock-keywords): Remove comment rule.
6045         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
6046         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
6048         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6049         (byte-compile-callargs-warn): Use `push'.
6050         (byte-compile-arglist-warn): Ignore higher-order "calls".
6051         (byte-compile-file-form-autoload): Use `pcase'.
6052         (byte-compile-function-form): If quoting a symbol, check that it exists.
6054 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
6056         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6057         and add a few popular commands found in batch files.
6058         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6059         (dos-mode): Doc fixes.
6061 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6063         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6064         (dos-mode): Use setq-local.  Add space after "rem".
6065         (dos-mode-syntax-table): Don't use "w" for symbol chars.
6066         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6068 2013-08-07  Arni Magnusson  <arnima@hafro.is>
6070         * progmodes/dos.el: New file.
6071         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6072         dos-mode.
6074 2013-08-06  Glenn Morris  <rgm@gnu.org>
6076         * calendar/calendar.el: Add new faces, and day-header-array.
6077         (calendar-weekday-header, calendar-weekend-header)
6078         (calendar-month-header): New faces.
6079         (calendar-day-header-construct): New function.
6080         (calendar-day-header-width): Also :set calendar-day-header-array.
6081         (calendar-american-month-header, calendar-european-month-header)
6082         (calendar-iso-month-header): Use calendar- faces.
6083         (calendar-generate-month):
6084         Use calendar-day-header-array for day headers; apply faces to them.
6085         (calendar-mode): Check calendar-font-lock-keywords non-nil.
6086         (calendar-abbrev-construct): Add optional maxlen argument.
6087         (calendar-day-name-array): Doc fix.
6088         (calendar-day-name-array, calendar-abbrev-length)
6089         (calendar-day-abbrev-array):
6090         Also :set calendar-day-header-array, and maybe redraw.
6091         (calendar-day-header-array): New option.  (Bug#15007)
6092         (calendar-font-lock-keywords): Set to nil and make obsolete.
6093         (calendar-day-name): Add option to use header array.
6095 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6097         * net/shr.el (shr-render-td): Remove debugging.
6098         (shr-render-td): Make width computation consistent by defaulting
6099         all zero-width columns to 10 characters.  This may not be optimal,
6100         but it's at least consistent.
6101         (shr-make-table-1): Redo last change to fix the real problem in
6102         colspan handling.
6104 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6106         * files.el (cache-long-line-scans):
6107         Make obsolete alias to `cache-long-scans'.
6109 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6111         * frameset.el (frameset, frameset-filter-alist)
6112         (frameset-filter-params, frameset-save, frameset--reuse-frame)
6113         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6114         (frameset-compute-pos): Rename from frameset--compute-pos,
6115         and add docstring.
6116         (frameset-move-onscreen): Use frameset-compute-pos.
6117         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6119         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6120         Fix typos in docstrings.
6122 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6124         * frame.el (get-other-frame): Tiny cleanup.
6126 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6128         * vc/vc.el (vc-default-ignore-completion-table):
6129         Silence byte-compiler warning.
6131         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6132         slot , which can indeed be nil.
6133         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6134         Move entry for `left' from persistent to live filter alist.
6135         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6136         Doc fixes.
6137         (frameset-filter-params): When restoring a frame, copy items added to
6138         `filtered', to avoid unwittingly modifying the original parameters.
6139         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
6140         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6142         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6143         to use looking-at-p instead of looking-at.  (Bug#15028)
6145 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6147         Revert introduction of isearch-filter-predicates (bug#14714).
6148         Rely on add-function instead.
6149         * isearch.el (isearch-filter-predicates): Rename it back to
6150         isearch-filter-predicate.
6151         (isearch-message-prefix): Use advice-function-mapc and advice
6152         properties to get the isearch-message-prefix.
6153         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6154         instead of run-hook-with-args-until-failure.
6155         (isearch-filter-visible): Not obsolete any more.
6156         * loadup.el: Preload nadvice.
6157         * replace.el (perform-replace): Revert to funcall
6158         instead of run-hook-with-args-until-failure.
6159         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6160         * dired-aux.el (dired-isearch-filenames-mode): Rename from
6161         dired-isearch-filenames-toggle; make it into a proper minor mode.
6162         Use add/remove-function.
6163         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6164         Call the minor-mode rather than add/remove-hook.
6165         (dired-isearch-filter-filenames):
6166         Remove isearch-message-prefix property.
6167         * info.el (Info--search-loop): New function, extracted from Info-search.
6168         Funcall isearch-filter-predicate instead of
6169         run-hook-with-args-until-failure isearch-filter-predicates.
6170         (Info-search): Use it.
6171         (Info-mode): Use isearch-filter-predicate instead of
6172         isearch-filter-predicates.
6174 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6176         Do not call to `selected-window' where it is assumed by default.
6177         Affected functions are `window-minibuffer-p', `window-dedicated-p',
6178         `window-hscroll', `window-width', `window-height', `window-buffer',
6179         `window-frame', `window-start', `window-point', `next-window'
6180         and `window-display-table'.
6181         * abbrev.el (abbrev--default-expand):
6182         * bs.el (bs--show-with-configuration):
6183         * buff-menu.el (Buffer-menu-mouse-select):
6184         * calc/calc.el (calc):
6185         * calendar/calendar.el (calendar-generate-window):
6186         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6187         (diary-make-entry):
6188         * comint.el (send-invisible, comint-dynamic-complete-filename)
6189         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6190         * completion.el (complete):
6191         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6192         * disp-table.el (describe-current-display-table):
6193         * doc-view.el (doc-view-insert-image):
6194         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6195         * ehelp.el (with-electric-help):
6196         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6197         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6198         * emacs-lisp/helper.el (Helper-help-scroller):
6199         * emulation/cua-base.el (cua--post-command-handler-1):
6200         * eshell/esh-mode.el (eshell-output-filter):
6201         * ffap.el (ffap-gnus-wrapper):
6202         * help-macro.el (make-help-screen):
6203         * hilit-chg.el (highlight-compare-buffers):
6204         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6205         * hl-line.el (global-hl-line-highlight):
6206         * icomplete.el (icomplete-simple-completing-p):
6207         * isearch.el (isearch-done):
6208         * jit-lock.el (jit-lock-stealth-fontify):
6209         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6210         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6211         * mpc.el (mpc-tagbrowser, mpc):
6212         * net/rcirc.el (rcirc-any-buffer):
6213         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6214         * play/landmark.el (landmark-max-width, landmark-max-height):
6215         * play/zone.el (zone):
6216         * progmodes/compile.el (compilation-goto-locus):
6217         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6218         * progmodes/etags.el (find-tag-other-window):
6219         * progmodes/fortran.el (fortran-column-ruler):
6220         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6221         * progmodes/verilog-mode.el (verilog-point-text):
6222         * reposition.el (reposition-window):
6223         * rot13.el (toggle-rot13-mode):
6224         * server.el (server-switch-buffer):
6225         * shell.el (shell-dynamic-complete-command)
6226         (shell-dynamic-complete-environment-variable):
6227         * simple.el (insert-buffer, set-selective-display)
6228         (delete-completion-window):
6229         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6230         (speedbar-recenter):
6231         * startup.el (fancy-splash-head):
6232         * textmodes/ispell.el (ispell-command-loop):
6233         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6234         * tutorial.el (help-with-tutorial):
6235         * vc/add-log.el (add-change-log-entry):
6236         * vc/compare-w.el (compare-windows):
6237         * vc/ediff-help.el (ediff-indent-help-message):
6238         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6239         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6240         (ediff-setup-control-frame):
6241         * vc/emerge.el (emerge-position-region):
6242         * vc/pcvs-util.el (cvs-bury-buffer):
6243         * window.el (walk-windows, mouse-autoselect-window-select):
6244         * winner.el (winner-set-conf, winner-undo): Related users changed.
6246 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6248         * frameset.el (frameset--set-id): Doc fix.
6249         (frameset-frame-id, frameset-frame-id-equal-p)
6250         (frameset-locate-frame-id): New functions.
6251         (frameset--process-minibuffer-frames, frameset--reuse-frame)
6252         (frameset-restore): Use them.
6254 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6256         Do not call to `selected-frame' where it is assumed by default.
6257         Affected functions are `raise-frame', `redraw-frame',
6258         `frame-first-window', `frame-terminal' and `delete-frame'.
6259         * calendar/appt.el (appt-disp-window):
6260         * epg.el (epg-wait-for-completion):
6261         * follow.el (follow-delete-other-windows-and-split)
6262         (follow-avoid-tail-recenter):
6263         * international/mule.el (set-terminal-coding-system):
6264         * mail/rmail.el (rmail-mail-return):
6265         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6266         * progmodes/f90.el (f90-add-imenu-menu):
6267         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6268         * server.el (server-switch-buffer):
6269         * simple.el (delete-completion-window):
6270         * talk.el (talk):
6271         * term/xterm.el (terminal-init-xterm-modify-other-keys)
6272         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6273         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6274         * vc/ediff.el (ediff-documentation): Related users changed.
6275         * frame.el (selected-terminal): Remove the leftover.
6277 2013-08-05  Glenn Morris  <rgm@gnu.org>
6279         * calendar/calendar.el (calendar-generate-month):
6280         Fix for calendar-column-width != 1 + calendar-day-digit-width.
6281         (calendar-generate-month, calendar-font-lock-keywords):
6282         Fix for calendar-day-header-width > length of any day name.
6284 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6286         * desktop.el (desktop-clear): Use new name of sort predicate.
6288         * frameset.el (frameset): Add docstring.  Move :version property to its
6289         own `version' slot.
6290         (frameset-copy): Rename from copy-frameset.
6291         (frameset-p): Check more thoroughly.
6292         (frameset-prop): Do not check for :version, which is no longer a prop.
6293         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6294         Use new :never value instead of t.
6295         (frameset-filter-alist): Expand and clarify docstring.
6296         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6297         (frameset-filter-minibuffer, frameset-filter-save-param)
6298         (frameset-filter-restore-param, frameset-filter-iconified):
6299         Add pointer to docstring of frameset-filter-alist.
6300         (frameset-filter-params): Rename filter values to be more meaningful:
6301         :never instead of t, and reverse the meanings of :save and :restore.
6302         (frameset--process-minibuffer-frames): Clarify error message.
6303         (frameset-save): Avoid unnecessary and confusing call to framep.
6304         Use new BOA constructor for framesets.
6305         (frameset--reuse-list): Doc fix.
6306         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
6307         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6308         (frameset-minibufferless-first-p): Doc fix.
6309         Rename from frameset-sort-frames-for-deletion.
6310         (frameset-restore): Doc fixes.  Use new function names.
6311         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6313 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6315         * desktop.el (desktop-restore-forces-onscreen)
6316         (desktop-restore-reuses-frames): Document :keyword constant values.
6317         (desktop-filter-parameters-alist): Remove, now identical to
6318         frameset-filter-alist.
6319         (desktop--filter-tty*): Remove, moved to frameset.el.
6320         (desktop-save-frameset, desktop-restore-frameset):
6321         Do not pass :filters argument.
6323         * frameset.el (frameset-live-filter-alist)
6324         (frameset-persistent-filter-alist): New variables.
6325         (frameset-filter-alist): Use them.  Add autoload cookie.
6326         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6327         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6328         `frameset--id' (it's supposed to be internal to frameset.el).
6329         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
6330         (frameset--initial-params): New function.
6331         (frameset--get-frame): Use it.  Doc fix.
6332         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6333         Accept :all, not 'all.
6334         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6335         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
6336         with fbound symbols.  Fix frame id matching, and remove matching ids if
6337         the frame being restored is deleted.  Obey :delete.
6339 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6341         * subr.el (macrop): New function.
6342         (text-clone--maintaining): New var.
6343         (text-clone--maintain): Rename from text-clone-maintain.  Use it
6344         instead of inhibit-modification-hooks.
6346         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6347         a proxy, so as handle autoloads and redefinitions of the target.
6348         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6350         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6351         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
6352         (pcase--mutually-exclusive-p): New function.
6353         (pcase--split-consp): Use it.
6354         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
6355         mutually exclusive with the current predicate.
6357         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6358         (edebug-macrop): Remove.  Use `macrop' instead.
6359         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
6360         (ad-macro-p):
6361         * eshell/esh-cmd.el (eshell-macrop):
6362         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
6364 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6366         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6367         (advice-mapc): New function, using it.
6368         (advice-function-member-p): New function.
6369         (advice--normalize): Store the cdr in advice--saved-rewrite since
6370         that's the part that will be changed.
6371         (advice--symbol-function): New function.
6372         (advice-remove): Handle removal before the function is defined.
6373         Adjust to new advice--saved-rewrite.
6374         (advice-member-p): Use advice-function-member-p and
6375         advice--symbol-function.
6377 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6379         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6380         (frameset-filter-minibuffer): Doc fix.
6381         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
6382         (frameset--set-id, frameset--process-minibuffer-frames)
6383         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6384         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6386         * desktop.el (desktop-clear): Only delete frames when called
6387         interactively and desktop-restore-frames is non-nil.  Doc fix.
6388         (desktop-read): Set desktop-saved-frameset to nil.
6390 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
6392         * vc/vc.el (vc-ignore): Rewrite.
6393         (vc-default-ignore-completion-table):
6394         (vc--read-lines):
6395         (vc--add-line, vc--remove-regexp): New functions.
6397         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6398         (vc-svn-ignore-completion-table): New function.
6400         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6401         (vc-hg-ignore-completion-table):
6402         (vc-hg-find-ignore-file): New functions.
6404         * vc/vc-git.el (vc-git-ignore): Rewrite.
6405         (vc-git-ignore-completion-table):
6406         (vc-git-find-ignore-file): New functions.
6408         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6410         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6411         (vc-bzr-ignore-completion-table):
6412         (vc-bzr-find-ignore-file): New functions.
6414 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
6416         * frameset.el (frameset-prop): New function and setter.
6417         (frameset-save): Do not modify frame list passed by the caller.
6419 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6421         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6423 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6425         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6426         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6428         * custom.el (custom-initialize-default, custom-initialize-set)
6429         (custom-initialize-reset, custom-initialize-changed): Affect the
6430         toplevel-default-value (bug#6275, bug#14586).
6431         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6432         for bug#6275.
6434 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6436         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6437         Add cl-def* expressions.
6439         * frameset.el (frameset-filter-params): Fix order of arguments.
6441 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6443         Move code related to saving frames to frameset.el.
6444         * desktop.el: Require frameset.
6445         (desktop-restore-frames): Doc fix.
6446         (desktop-restore-reuses-frames): Rename from
6447         desktop-restoring-reuses-frames.
6448         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6449         (desktop-clear): Clear frames too.
6450         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6451         (desktop--filter-tty*, desktop-save, desktop-read):
6452         Use frameset functions.
6453         (desktop-before-saving-frames-functions, desktop--filter-*-color)
6454         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6455         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6456         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6457         (desktop--process-minibuffer-frames, desktop-save-frames)
6458         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6459         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6460         (desktop--sort-states, desktop-restoring-frames-p)
6461         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
6462         (desktop-restoring-frameset-p, desktop-restore-frameset)
6463         (desktop--check-dont-save, desktop-save-frameset): New functions.
6464         (desktop--app-id): New constant.
6465         (desktop-first-buffer, desktop-buffer-ok-count)
6466         (desktop-buffer-fail-count): Move before first use.
6467         * frameset.el: New file.
6469 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6471         * files.el: Use lexical-binding.
6472         (dir-locals-read-from-file): Remove unused `err' variable.
6473         (hack-dir-local-variables--warned-coding): New var.
6474         (hack-dir-local-variables): Use it to avoid repeated warnings.
6475         (make-backup-file-name--default-function): New function.
6476         (make-backup-file-name-function): Use it as default.
6477         (buffer-stale--default-function): New function.
6478         (buffer-stale-function): Use it as default.
6479         (revert-buffer-insert-file-contents--default-function): New function.
6480         (revert-buffer-insert-file-contents-function): Use it as default.
6481         (insert-directory): Avoid add-to-list.
6483         * autorevert.el (auto-revert-handler): Simplify.
6484         Use buffer-stale--default-function.
6486 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
6488         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6490         * whitespace.el (whitespace-ensure-local-variables): New function.
6491         (whitespace-cleanup-region): Call it.
6492         (whitespace-turn-on): Call it.
6494 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
6496         Complete file name handlers.
6498         * net/tramp.el (tramp-handle-set-visited-file-modtime)
6499         (tramp-handle-verify-visited-file-modtime)
6500         (tramp-handle-file-notify-rm-watch): New functions.
6501         (tramp-call-process): Do not bind `default-directory'.
6503         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6504         Order alphabetically.
6505         [access-file, add-name-to-file, dired-call-process]:
6506         [dired-compress-file, file-acl, file-notify-rm-watch]:
6507         [file-ownership-preserved-p, file-selinux-context]:
6508         [make-directory-internal, make-symbolic-link, set-file-acl]:
6509         [set-file-selinux-context, set-visited-file-modtime]:
6510         [verify-visited-file-modtime]: Add handler.
6511         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6513         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6514         [file-notify-add-watch, file-notify-rm-watch]:
6515         [set-file-times, set-visited-file-modtime]:
6516         [verify-visited-file-modtime]: Add handler.
6517         (with-tramp-gvfs-error-message)
6518         (tramp-gvfs-handle-set-visited-file-modtime)
6519         (tramp-gvfs-fuse-file-name): Remove.
6520         (tramp-gvfs-handle-file-notify-add-watch)
6521         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6522         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6524         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6525         Order alphabetically.
6526         [file-notify-rm-watch ]: Use default Tramp handler.
6527         [executable-find]: Remove private handler.
6528         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6529         `default-directory'.
6530         (tramp-sh-handle-executable-find)
6531         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6532         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6533         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6534         Do not use `format' in `tramp-message'.
6536         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6537         [file-notify-rm-watch, set-visited-file-modtime]:
6538         [verify-visited-file-modtime]: Add handler.
6539         (tramp-smb-call-winexe): Do not bind `default-directory'.
6541 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
6543         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6545 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
6547         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6548         use it.
6549         (log-view-diff-changeset): Same.
6550         (log-view-diff-common): Call backend command `previous-revision'
6551         to find out the previous revision, in both cases.  Swap the
6552         variables `to' and `fr', so that `fr' usually refers to the
6553         earlier revision (Bug#14989).
6555 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
6557         * ibuf-ext.el (ibuffer-filter-by-filename):
6558         Make it work with dired buffers too.
6560 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
6562         * emacs-lisp/re-builder.el (reb-color-display-p):
6563         * files.el (save-buffers-kill-terminal):
6564         * net/browse-url.el (browse-url):
6565         * server.el (server-save-buffers-kill-terminal):
6566         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6567         Prefer nil to selected-frame for the first arg of frame-parameter.
6569 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
6571         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6573 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
6575         * minibuffer.el (completion--twq-all): Try and preserve each
6576         completion's case choice (bug#14907).
6578 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6580         * net/network-stream.el (open-network-stream): Mention the new
6581         :nogreeting parameter.
6582         (network-stream-open-starttls): Use the :nogreeting parameter
6583         (bug#14938).
6585         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6587         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6588         more natural than popping.
6590         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6591         (shr-urlify): Highlight under mouse.
6593 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6595         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6597         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6599         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
6600         buffer for output.
6602         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
6603         point-min==1.  Fix search string.  Fix parentheses missing.
6605         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
6606         assume point-min==1.  Fix search string.  Fix parentheses missing.
6608         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6610         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
6611         buffer for output.
6613 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
6615         * frame.el (frame-notice-user-settings): Avoid inflooping when the
6616         initial frame is minibuffer-less.  (Bug#14841)
6618 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
6620         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6621         option.
6623         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6624         (tramp-maybe-open-connection): Use it.
6626 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6628         * desktop.el (desktop--make-frame): Include `minibuffer' in the
6629         minimal set of parameters passed when creating a frame, because
6630         the minibuffer status of a frame cannot be changed later.
6632 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
6634         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6635         replace-regexp-in-string and inadvertent omissions in previous change.
6636         (todo-filter-items): Ensure only file names are comma-separated in
6637         name of filtered items buffer.
6639 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6641         * desktop.el: Optionally force offscreen frames back onscreen.
6642         (desktop-restoring-reuses-frames): New option.
6643         (desktop--compute-pos, desktop--move-onscreen): New functions.
6644         (desktop--make-frame): Use desktop--move-onscreen.
6646 2013-07-27  Alan Mackenzie  <acm@muc.de>
6648         Fontify a Java generic method as a function.
6649         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6650         value to t.
6652 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
6654         * calendar/todo-mode.el: Add command to rename todo files.
6655         (todo-rename-file): New command.
6656         (todo-key-bindings-t): Add key binding for it.  Change the
6657         bindings of todo-filter-regexp-items(-multifile) to use `x'
6658         instead of `r', since the latter is better suited to the new
6659         renaming command.
6661 2013-07-27  Alan Mackenzie  <acm@muc.de>
6663         Make Java try-with-resources statement parse properly.
6664         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6665         (c-block-stmt-1-2-key): New language constants/variables.
6666         * progmodes/cc-engine.el (c-beginning-of-statement-1)
6667         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6668         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6669         with c-block-stmt-1-2-key.
6671 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
6673         * desktop.el (desktop--make-frame): Apply most frame parameters after
6674         creating the frame to force (partially or totally) offscreen frames to
6675         be restored as such.
6677 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
6679         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6680         (Bug#14948)
6682 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6684         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6685         `base' arg of backtrace-frame.
6687 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
6689         * simple.el (list-processes): Doc fix.
6691 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6693         * desktop.el (desktop--select-frame):
6694         Try harder to reuse existing frames.
6696 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6698         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6699         (edebug-eval): Use backtrace-eval.
6700         (edebug--display, edebug--recursive-edit): Don't let-bind the
6701         edebug-outer-* vars that keep track of variables we locally let-bind.
6702         (edebug-outside-excursion): Don't restore outside values of locally
6703         let-bound vars.
6704         (edebug--display): Use user-error.
6705         (cl-lexical-debug, cl-debug-env): Remove.
6707 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6709         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6710         are restored to be sure that they are visible before deleting any
6711         remaining ones.
6713 2013-07-26  Matthias Meulien  <orontee@gmail.com>
6715         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6716         vc-print-root-log.  (Bug#14948)
6718 2013-07-26  Richard Stallman  <rms@gnu.org>
6720         Add aliases for encrypting mail.
6721         * epa.el (epa-mail-aliases): New option.
6722         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6723         Bind inhibit-read-only so read-only text doesn't ruin everything.
6724         (epa-mail-default-recipients): New subroutine broken out.
6725         Handle epa-mail-aliases.
6727 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6729         Add support for lexical variables to the debugger's `e' command.
6730         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6731         vars, except for debugger-outer-match-data.
6732         (debugger-frame-number): Move check for "on a function call" from
6733         callers into it.  Add `skip-base' argument.
6734         (debugger-frame, debugger-frame-clear): Simplify accordingly.
6735         (debugger-env-macro): Only reset the state stored in non-variables,
6736         i.e. current-buffer and match-data.
6737         (debugger-eval-expression): Rewrite using backtrace-eval.
6738         * subr.el (internal--called-interactively-p--get-frame): Remove.
6739         (called-interactively-p):
6740         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6741         `base' arg of backtrace-frame instead.
6743 2013-07-26  Glenn Morris  <rgm@gnu.org>
6745         * align.el (align-regexp): Doc fix.  (Bug#14857)
6746         (align-region): Explicit error if subexpression missing/does not match.
6748         * simple.el (global-visual-line-mode):
6749         Do not duplicate the mode lighter.  (Bug#14858)
6751 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
6753         * window.el (display-buffer): In display-buffer bind
6754         split-window-keep-point to t, bug#14829.
6756 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6758         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6759         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6760         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6761         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6762         Change accordingly.
6763         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6764         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6766 2013-07-25  Glenn Morris  <rgm@gnu.org>
6768         * dired-x.el (dired-mark-extension): Convert comment to doc string.
6770 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
6772         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6773         parameter to modify-frame-parameters if the value has not changed;
6774         this is a workaround for bug#14949.
6775         (desktop--make-frame): On cl-delete-if call, check parameter name,
6776         not full parameter.
6778 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6780         * vc/vc.el (vc-ignore): New function.
6782         * vc/vc-svn.el (vc-svn-ignore): New function.
6784         * vc/vc-hg.el (vc-hg-ignore): New function.
6786         * vc/vc-git.el (vc-git-ignore): New function.
6788         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6789         (vc-dir-ignore): New function.
6791         * vc/vc-cvs.el (vc-cvs-ignore): New function.
6792         (cvs-append-to-ignore): Move here from pcvs.el.
6794         * vc/vc-bzr.el (vc-bzr-ignore): New function.
6796         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6798 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
6800         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6801         (desktop-restore-frames): Warn when deleting an existing frame failed.
6803 2013-07-24  Glenn Morris  <rgm@gnu.org>
6805         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
6807 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
6809         * filenotify.el (file-notify-supported-p):
6810         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6811         Remove functions.
6813         * autorevert.el (auto-revert-use-notify):
6814         (auto-revert-notify-add-watch):
6815         * net/tramp.el (tramp-file-name-for-operation):
6816         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6817         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6818         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6819         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6820         Remove `file-notify-supported-p' entry.
6822 2013-07-24  Glenn Morris  <rgm@gnu.org>
6824         * printing.el: Replace all uses of deleted ps-windows-system,
6825         ps-lp-system, ps-flatten-list with lpr- versions.
6827 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6829         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6830         checked with memq (bug#14935).
6832         * files.el (revert-buffer-function): Use a non-nil default.
6833         (revert-buffer-preserve-modes): Declare var to
6834         provide access to the `preserve-modes' argument.
6835         (revert-buffer): Let-bind it.
6836         (revert-buffer--default): New function, extracted from revert-buffer.
6838 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6840         * lpr.el: Signal print errors more prominently.
6841         (print-region-function): Don't default to nil.
6842         (lpr-print-region): New function, extracted from print-region-1.
6843         Check lpr's return value and signal an error in case of problem.
6844         (print-region-1): Use it.
6845         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
6846         versions instead.
6847         (ps-printer-name): Default to nil.
6848         (ps-printer-name-option): Default to lpr-printer-switch.
6849         (ps-print-region-function): Don't default to nil.
6850         (ps-postscript-code-directory): Simplify default.
6851         (ps-do-despool): Use lpr-print-region to properly check the outcome.
6852         (ps-string-list, ps-eval-switch, ps-flatten-list)
6853         (ps-flatten-list-1): Remove.
6854         (ps-multibyte-buffer): Avoid setq.
6855         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6856         (print-region-function, ps-print-region-function): Don't set them here.
6858 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
6860         * ido.el (ido-fractionp):
6861         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6862         (ido-max-file-prompt-width, ido-unc-hosts-cache)
6863         (ido-max-directory-size, ido-max-dir-file-cache)
6864         (ido-decorations): Doc fix.
6866         * ansi-color.el: Fix old URL.
6868 2013-07-23  Michael R. Mauger  <michael@mauger.com>
6870         * progmodes/sql.el: Version 3.3
6871         (sql-product-alist): Improve oracle :prompt-cont-regexp.
6872         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6873         (sql-interactive-remove-continuation-prompt): Rewrite, use
6874         functions above.  Fix continuation prompt and complete output line
6875         handling.
6876         (sql-redirect-one, sql-execute): Use `read-only-mode' on
6877         redirected output buffer.
6878         (sql-mode): Restore deleted code (Bug#13591).
6880 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6882         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6884 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
6886         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6888         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6889         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6890         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6892 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
6894         * desktop.el (desktop-clear): Simplify; remove useless checks
6895         against invalid buffer names.
6896         (desktop-list*): Use cl-list*.
6897         (desktop-buffer-info, desktop-create-buffer): Simplify.
6899 2013-07-23  Leo Liu  <sdl.web@gmail.com>
6901         * bookmark.el (bookmark-make-record): Restore NAME as a default
6902         value.  (Bug#14933)
6904 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6906         * emacs-lisp/autoload.el (autoload--setup-output): New function,
6907         extracted from autoload--insert-text.
6908         (autoload--insert-text): Remove.
6909         (autoload--print-cookie-text): New function, extracted from
6910         autoload--insert-cookie-text.
6911         (autoload--insert-cookie-text): Remove.
6912         (autoload-generate-file-autoloads): Adjust calls accordingly.
6914         * winner.el (winner-hook-installed-p): Remove.
6915         (winner-mode): Simplify accordingly.
6917         * subr.el (add-to-list): Fix compiler-macro when `append' is
6918         not constant.  Don't use `cl-member' for the base case.
6920         * progmodes/subword.el: Fix boundary case (bug#13758).
6921         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
6922         own group.
6923         (subword-backward-regexp): Make it a constant.
6924         (subword-forward-internal): Don't treat a trailing capital as the
6925         beginning of a word.
6927 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
6929         * emacs-lisp/package.el (package-menu-mode): Don't modify the
6930         global value of tabulated-list-revert-hook (bug#14930).
6932 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
6934         * desktop.el: Require 'cl-lib.
6935         (desktop-before-saving-frames-functions): New hook.
6936         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6937         for frames being saved.  Rename from desktop--save-minibuffer-frames.
6938         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6939         Do not save frames with non-nil `desktop-dont-save' parameter.
6940         Filter out deleted frames.
6941         (desktop--find-frame): Use cl-find-if.
6942         (desktop--select-frame): Use cl-(first|second|third) to access values
6943         of desktop-mini.
6944         (desktop--make-frame): Use cl-delete-if.
6945         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6946         (desktop-restore-frames): Use cl-(first|second|third) to access values
6947         of desktop-mini.  Look for visible frame at the end, not while
6948         restoring frames.
6950         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6951         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6952         Use string-match-p, looking-at-p (bug#14927).
6954 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
6956         * desktop.el (desktop-saved-frame-states):
6957         Rename from desktop--saved-states; all users changed.
6958         (desktop-save-frames): Rename from desktop--save-frames.
6959         Do not save state to desktop file.
6960         (desktop-save): Save desktop-saved-frame-states to desktop file
6961         and reset to nil.
6962         (desktop-restoring-frames-p): New function.
6963         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
6964         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
6965         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
6967         * desktop.el: Correctly restore iconified frames.
6968         (desktop--filter-iconified-position): New function.
6969         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6971 2013-07-20  Glenn Morris  <rgm@gnu.org>
6973         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6974         Let `message' do the formatting.
6975         (def-gdb-preempt-display-buffer): Add explicit format.
6977         * image-dired.el (image-dired-track-original-file):
6978         Use with-current-buffer.
6979         (image-dired-track-thumbnail): Use with-current-buffer.
6980         Avoid changing point of wrong window.
6982         * image-dired.el (image-dired-track-original-file):
6983         Avoid changing point of wrong window.  (Bug#14909)
6985 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
6987         * progmodes/gdb-mi.el (gdb-done-or-error):
6988         Guard against "%" in gdb output.  (Bug#14127)
6990 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
6992         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6993         (Bug#14826)
6995         * international/mule.el (coding-system-iso-2022-flags): Fix last
6996         change.
6998 2013-07-20  Kenichi Handa  <handa@gnu.org>
7000         * international/mule.el (coding-system-iso-2022-flags):
7001         Add `8-bit-level-4'.  (Bug#8522)
7003 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7005         * net/shr.el (shr-mouse-browse-url): New command and keystroke
7006         (bug#14815).
7008         * net/eww.el (eww-process-text-input): Allow inputting when the
7009         point is at the start of the line, as the properties aren't
7010         front-sticky.
7012         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7013         degenerate widths.
7015 2013-07-19  Richard Stallman  <rms@gnu.org>
7017         * epa.el (epa-popup-info-window): Doc fix.
7019         * subr.el (split-string): New arg TRIM.
7021 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
7023         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7024         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7026 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
7028         * filenotify.el (file-notify--library): Rename from
7029         `file-notify-support'.  Do not autoload.  Adapt all uses.
7030         (file-notify-supported-p): New defun.
7032         * autorevert.el (auto-revert-use-notify):
7033         Use `file-notify-supported-p' instead of `file-notify-support'.
7034         Adapt docstring.
7035         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7037         * net/tramp.el (tramp-file-name-for-operation):
7038         Add `file-notify-supported-p'.
7040         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7041         New defun.
7042         (tramp-sh-file-name-handler-alist): Add it as handler for
7043         `file-notify-supported-p '.
7045         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7046         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7047         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7048         Add `ignore' as handler for `file-notify-*' functions.
7050 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
7052         * simple.el (line-move-partial, line-move): Don't start vscroll or
7053         scroll-up if the current line is not taller than the window.
7054         (Bug#14881)
7056 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
7058         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7059         highlight question marks in the method names as strings.
7060         (ruby-block-beg-keywords): Inline.
7061         (ruby-font-lock-keyword-beg-re): Extract from
7062         `ruby-font-lock-keywords'.
7064 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
7066         * frame.el (blink-cursor-blinks): New defcustom.
7067         (blink-cursor-blinks-done): New defvar.
7068         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7069         (blink-cursor-timer-function): Check if number of blinks has been
7070         done on X and NS.
7071         (blink-cursor-suspend, blink-cursor-check): New defuns.
7073 2013-07-15  Glenn Morris  <rgm@gnu.org>
7075         * edmacro.el (edmacro-format-keys): Fix previous change.
7077 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
7079         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7080         The hack didn't work outside English locales anyway.
7082 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
7084         * simple.el (define-alternatives): Rename from alternatives-define,
7085         per RMS' suggestion.
7087 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
7089         * desktop.el (desktop-restore-frames): Change default to t.
7090         (desktop-restore-in-current-display): Now offer more options.
7091         (desktop-restoring-reuses-frames): New customization option.
7092         (desktop--saved-states): Doc fix.
7093         (desktop-filter-parameters-alist): New variable, renamed and expanded
7094         from desktop--excluded-frame-parameters.
7095         (desktop--target-display): New variable.
7096         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7097         (desktop--filter-tty*, desktop--filter-*-color)
7098         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7099         (desktop--filter-save-desktop-parm)
7100         (desktop-restore-in-original-display-p): New functions.
7101         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7102         (desktop--save-minibuffer-frames): New function, inspired by a similar
7103         function from Martin Rudalics.
7104         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7105         (desktop--restore-in-this-display-p): Remove.
7106         (desktop--find-frame): Rename from desktop--find-frame-in-display
7107         and add predicate argument.
7108         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7109         (desktop--reuse-list): New variable.
7110         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7111         New functions.
7112         (desktop--restore-frames): Add support for "minibuffer-special" frames.
7114 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
7116         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7118 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
7120         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7121         Highlight conversion methods on Kernel.
7123 2013-07-13  Alan Mackenzie  <acm@muc.de>
7125         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7126         and comment it out.  This out-commenting enables certain C++
7127         declarations to be parsed correctly.
7129 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
7131         * international/mule.el (define-coding-system): Doc fix.
7133         * simple.el (default-font-height): Don't call font-info if the
7134         frame's default font didn't change since the frame was created.
7135         (Bug#14838)
7137 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7139         * ido.el (ido-read-file-name): Guard against non-symbol value.
7141 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7143         * progmodes/python.el (python-imenu--build-tree): Fix corner case
7144         in nested defuns.
7146 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7148         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7149         ido-set-matches call.  (Bug#6852)
7151 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
7153         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7154         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7155         Ruby 2.0.
7156         (ruby-font-lock-keywords): Distinguish calls to functions with
7157         module-like names from module references.  Highlight character
7158         literals.
7160 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
7162         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7163         (gdb-send): Handle continued commands.  (Bug#14847)
7165 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7167         * desktop.el (desktop--v2s): Remove unused local variable.
7168         (desktop-save-buffer): Make defvar-local; adjust docstring.
7169         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7170         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7172 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7174         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7176 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
7178         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7179         (Bug#14842)
7181 2013-07-12  Glenn Morris  <rgm@gnu.org>
7183         * doc-view.el: Require cl-lib at runtime too.
7184         (doc-view-remove-if): Remove.
7185         (doc-view-search-next-match, doc-view-search-previous-match):
7186         Use cl-remove-if.
7188         * edmacro.el: Require cl-lib at runtime too.
7189         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7190         (edmacro-mismatch, edmacro-subseq): Remove.
7192         * shadowfile.el: Require cl-lib.
7193         (shadow-remove-if): Remove.
7194         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7195         Use cl-remove-if.
7197         * wid-edit.el: Require cl-lib.
7198         (widget-choose): Use cl-remove-if.
7199         (widget-remove-if): Remove.
7201         * progmodes/ebrowse.el: Require cl-lib at runtime too.
7202         (ebrowse-delete-if-not): Remove.
7203         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7204         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7205         Use cl-delete-if-not.
7207 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7209         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7210         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7212 2013-07-12  Leo Liu  <sdl.web@gmail.com>
7214         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
7216 2013-07-11  Glenn Morris  <rgm@gnu.org>
7218         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7219         (edebug-gensym-index, edebug-gensym):
7220         Remove reimplementation of cl-gensym.
7221         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7223         * thumbs.el: Require cl-lib at run-time too.
7224         (thumbs-gensym-counter, thumbs-gensym):
7225         Remove reimplementation of cl-gensym.
7226         (thumbs-temp-file): Use cl-gensym.
7228         * emacs-lisp/ert.el: Require cl-lib at runtime too.
7229         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7230         (ert--intersection, ert--set-difference, ert--set-difference-eq)
7231         (ert--union, ert--gensym-counter, ert--gensym-counter)
7232         (ert--coerce-to-vector, ert--remove*, ert--string-position)
7233         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7234         (ert-make-test-unbound, ert--expand-should-1)
7235         (ert--expand-should, ert--should-error-handle-error)
7236         (should-error, ert--explain-equal-rec)
7237         (ert--plist-difference-explanation, ert-select-tests)
7238         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7239         Use cl-lib functions rather than reimplementations.
7241 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
7243         * net/tramp.el (tramp-methods): Extend docstring.
7244         (tramp-connection-timeout): New defcustom.
7245         (tramp-error-with-buffer): Reset timestamp only when appropriate.
7246         (with-tramp-progress-reporter): Simplify.
7247         (tramp-process-actions): Improve messages.
7249         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7250         * net/tramp-sh.el (tramp-maybe-open-connection):
7251         Use `tramp-connection-timeout'.
7252         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7253         (Bug#14808)
7255 2013-07-11  Leo Liu  <sdl.web@gmail.com>
7257         * ido.el (ido-read-file-name): Conform to the requirements of
7258         read-file-name.  (Bug#11861)
7259         (ido-read-directory-name): Conform to the requirements of
7260         read-directory-name.
7262 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
7264         * subr.el (delay-warning): New function.
7266 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
7268         * simple.el (default-line-height): New function.
7269         (line-move-partial, line-move): Use it instead of computing the
7270         line height inline.
7271         (line-move-partial): Always compute ROWH.  If the last line is
7272         partially-visible, but its text is completely visible, allow
7273         cursor to enter such a partially-visible line.
7275 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
7277         Improve error messages.  (Bug#14808)
7279         * net/tramp.el (tramp-current-connection): New defvar, moved from
7280         tramp-sh.el.
7281         (tramp-message-show-progress-reporter-message): Remove, not
7282         needed anymore.
7283         (tramp-error-with-buffer): Show message in minibuffer.
7284         Discard input before waiting.  Reset connection timestamp.
7285         (with-tramp-progress-reporter): Improve messages.
7286         (tramp-process-actions): Use progress reporter.  Delete process in
7287         case of error.  Improve messages.
7289         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7290         Call `tramp-error-with-buffer' with vector and buffer.
7291         (tramp-current-connection): Remove.
7292         (tramp-maybe-open-connection): The car of
7293         `tramp-current-connection' are the first 3 slots of the vector.
7295 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
7297         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7298         inside continued strings.
7300 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
7302         Timestamp fixes for undo (Bug#14824).
7303         * files.el (clear-visited-file-modtime): Move here from fileio.c.
7305 2013-07-10  Leo Liu  <sdl.web@gmail.com>
7307         * files.el (require-final-newline): Allow safe local value.
7308         (Bug#14834)
7310 2013-07-09  Leo Liu  <sdl.web@gmail.com>
7312         * ido.el (ido-read-directory-name): Handle fallback.
7313         (ido-read-file-name): Update DIR to ido-current-directory.
7314         (Bug#1516)
7315         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
7317 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
7319         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7320         "autoload".  Remove "warn lower camel case" section, previously
7321         commented out.  Highlight negation char.  Do not highlight the
7322         target in singleton method definitions.
7324 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7326         * faces.el (tty-setup-hook): Declare the hook.
7328         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7329         and detect when a guard/pred depends on local vars (bug#14773).
7330         (pcase--u1): Adjust caller.
7332 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
7334         * simple.el (line-move-partial, line-move): Account for
7335         line-spacing.
7336         (line-move-partial): Avoid setting vscroll when the last
7337         partially-visible line in window is of default height.
7339 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7341         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7342         been used a while.
7344 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
7346         * subr.el (read-quoted-char): Remove unused local variable `char'.
7348 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
7350         * ediff.el (ediff-version): Version update.
7351         (ediff-files-command, ediff3-files-command, ediff-merge-command)
7352         (ediff-merge-with-ancestor-command, ediff-directories-command)
7353         (ediff-directories3-command, ediff-merge-directories-command)
7354         (ediff-merge-directories-with-ancestor-command): New functions.
7355         All are command-line interfaces to ediff: to facilitate calling
7356         Emacs with the appropriate ediff functions invoked.
7358         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7359         (viper-save-kill-buffer): Check if buffer is modified.
7361         * viper.el (viper-version): Version update.
7362         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7364 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7366         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7367         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7368         (viper-intercept-ESC-key): Simplify.
7369         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7370         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7371         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7372         (viper-setup-ESC-to-escape): New functions.
7373         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7374         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
7376 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
7378         * simple.el (default-font-height, window-screen-lines):
7379         New functions.
7380         (line-move, line-move-partial): Use them instead of
7381         frame-char-height and window-text-height.  This makes scrolling
7382         text smoother when the buffer's default face uses a font that is
7383         different from the frame's default font.
7385 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
7387         * files.el (write-file): Do not display confirm dialog for NS,
7388         it does its own dialog, which can't be canceled (Bug#14578).
7390 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
7392         * simple.el (line-move-partial): Adjust the row returned by
7393         posn-at-point for the current window-vscroll.  (Bug#14567)
7395 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
7397         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7398         (tramp-sh-file-inotifywait-process-filter): Handle file names with
7399         spaces.
7401 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
7403         * window.el (window-state-put-stale-windows): New variable.
7404         (window--state-put-2): Save list of windows without matching buffer.
7405         (window-state-put): Remove "bufferless" windows if possible.
7407 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7409         * simple.el (alternatives-define): Remove leftover :group keyword.
7410         Tweak docstring.
7412 2013-07-06  Leo Liu  <sdl.web@gmail.com>
7414         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7415         (ido-enable-virtual-buffers): New variable.
7416         (ido-buffer-internal, ido-toggle-virtual-buffers)
7417         (ido-make-buffer-list): Use it.
7418         (ido-exhibit): Support turning on and off virtual buffers
7419         automatically.
7421 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7423         * simple.el (alternatives-define): New macro.
7425 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7427         * subr.el (read-quoted-char): Use read-key.
7428         (sit-for): Let read-event decode tty input (bug#14782).
7430 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
7432         * calendar/todo-mode.el: Add handling of file deletion, both by
7433         mode command and externally.  Fix various related bugs.
7434         Clarify Commentary and improve some documentation strings and code.
7435         (todo-delete-file): New command.
7436         (todo-check-file): New function.
7437         (todo-show): Handle external deletion of the file we're trying to
7438         show (bug#14688).  Replace called-interactively-p by an optional
7439         prefix argument to avoid problematic interaction with catch form
7440         when byte compiled (bug#14702).
7441         (todo-quit): Handle external deletion of the archive's todo file.
7442         Make sure the buffer that was visiting the archive file is still
7443         live before trying to bury it.
7444         (todo-category-completions): Handle external deletion of any
7445         category completion files.
7446         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7447         of todo files, in case of external deletion.
7448         (todo-add-file): Replace unnecessary setq by let-binding.
7449         (todo-find-archive): Check whether there are any archives.
7450         Replace unnecessary setq by let-binding.
7451         (todo-archive-done-item): Use find-file-noselect to get the
7452         archive buffer whether or not the archive already exists.
7453         Remove superfluous code.  Use file size instead of buffer-file-name to
7454         check if the archive is new; if it is, update list of archives.
7455         (todo-default-todo-file): Allow nil to be a valid value for when
7456         there are no todo files.
7457         (todo-reevaluate-default-file-defcustom): Use corrected definition
7458         of todo-default-todo-file.
7459         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7460         (todo-delete-category, todo-show-categories-table)
7461         (todo-category-number): Clarify comment.
7462         (todo-filter-items): Clarify documentation string.
7463         (todo-show-current-file, todo-display-as-todo-file)
7464         (todo-reset-and-enable-done-separator): Tweak documentation string.
7465         (todo-done-separator): Make separator length window-width, since
7466         bug#2749 is now fixed.
7468 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
7470         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7471         Support both "gvfs-monitor-dir" and "inotifywait".
7472         (tramp-sh-file-inotifywait-process-filter): Rename from
7473         `tramp-sh-file-notify-process-filter'.
7474         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7475         (tramp-get-remote-gvfs-monitor-dir): New defuns.
7477 2013-07-05  Leo Liu  <sdl.web@gmail.com>
7479         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7481 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7483         * frame.el (display-pixel-height, display-pixel-width)
7484         (display-mm-height, display-mm-width): Mention behavior on
7485         multi-monitor setups in docstrings.
7486         (w32-display-monitor-attributes-list): Declare function.
7487         (display-monitor-attributes-list): Use it.
7489 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
7491         * filenotify.el: New package.
7493         * autorevert.el (top): Require filenotify.el.
7494         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
7495         instead.
7496         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7497         (auto-revert-notify-handler): Use `file-notify-*' functions.
7499         * subr.el (file-notify-handle-event): Move function to filenotify.el.
7501         * net/tramp.el (tramp-file-name-for-operation):
7502         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7504         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7505         for `file-notify-add-watch' and `file-notify-rm-watch'.
7506         (tramp-process-sentinel): Improve trace.
7507         (tramp-sh-handle-file-notify-add-watch)
7508         (tramp-sh-file-notify-process-filter)
7509         (tramp-sh-handle-file-notify-rm-watch)
7510         (tramp-get-remote-inotifywait): New defuns.
7512 2013-07-03  Juri Linkov  <juri@jurta.org>
7514         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7515         call of `occur-read-primary-args' to interactive spec.
7517         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7518         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
7520 2013-07-03  Matthias Meulien  <orontee@gmail.com>
7522         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7523         `Buffer-menu-multi-occur'.  Add it to the menu.
7524         (Buffer-menu-mode): Document it in docstring.
7525         (Buffer-menu-multi-occur): New command.  (Bug#14673)
7527 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7529         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7530         keywords and built-ins.
7532 2013-07-03  Glenn Morris  <rgm@gnu.org>
7534         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
7536         Make info-xref checks case-sensitive by default
7537         * info.el (Info-find-node, Info-find-in-tag-table)
7538         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7539         Add option for exact case matching of nodes.
7540         * info-xref.el (info-xref): New custom group.
7541         (info-xref-case-fold): New option.
7542         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7544 2013-07-03  Leo Liu  <sdl.web@gmail.com>
7546         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7548 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7550         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7551         middle of block statement initially, lower the depth.  Remove
7552         FIXME comment, not longer valid.  Remove middle of block statement
7553         detection, no need to do that anymore since we've been using
7554         `ruby-parse-region' here.
7556 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
7558         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7560 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
7562         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7564 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
7566         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7567         (desktop-restore-in-current-display): New customization option.
7568         (desktop--excluded-frame-parameters): Add `font'.
7569         (desktop--save-frames): Rename from desktop--save-windows.
7570         (desktop--restore-in-this-display-p): New function.
7571         (desktop--make-full-frame): Remove unwanted width/height from
7572         full(width|height) frames.
7573         (desktop--restore-frames): Rename from desktop--restore-windows.
7574         Obey desktop-restore-current-display.  Do not delete old frames or
7575         select a new frame unless we were able to restore at least one frame.
7577 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
7579         * files.el (find-file-noselect): Simplify conditional expression.
7581         * textmodes/remember.el (remember-append-to-file):
7582         Don't mix `find-buffer-visiting' and `get-file-buffer'.
7584         Add `remember-notes' function to store random notes across Emacs
7585         restarts.
7586         * textmodes/remember.el (remember-data-file): Add :set callback to affect
7587         notes buffer (if any).
7588         (remember-notes): New command.
7589         (remember-notes-buffer-name, bury-remember-notes-on-kill):
7590         New defcustoms for the `remember-notes' function.
7591         (remember-notes-save-and-bury-buffer): New command.
7592         (remember-notes-mode-map): New variable.
7593         (remember-mode): New minor mode.
7594         (remember-notes--kill-buffer-query): New function.
7595         * startup.el (initial-buffer-choice): Add notes to custom type.
7597 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
7599         * bindings.el (right-char, left-char): Don't call sit-for, this is
7600         no longer needed.  Use arithmetic comparison only for numerical
7601         arguments.
7603         * international/mule-cmds.el (select-safe-coding-system):
7604         Handle the case of FROM being a string correctly.  (Bug#14755)
7606 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7608         * net/shr.el (shr-make-table-1): Add a sanity check that allows
7609         progression on degenerate tables.
7610         (shr-rescale-image): ImageMagick animated images currently don't work.
7612 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
7614         Some fixes and improvements for desktop frame restoration.
7615         It is still experimental and disabled by default.
7616         * desktop.el (desktop--save-windows): Put the selected frame at
7617         the head of the list.
7618         (desktop--make-full-frame): New function.
7619         (desktop--restore-windows): Try to re-select the frame that was
7620         selected upon saving.  Do not abort if some frames fail to restore,
7621         just show an error message and continue.  Set up maximized frames
7622         so they have default non-maximized dimensions.
7624 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
7626         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7627         Don't start heredoc inside a string or comment.
7629 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
7631         * bindings.el (visual-order-cursor-movement): New defcustom.
7632         (right-char, left-char): Provide visual-order cursor motion by
7633         calling move-point-visually.  Update the doc strings.
7635 2013-06-28  Kenichi Handa  <handa@gnu.org>
7637         * international/mule.el (define-coding-system): New coding system
7638         properties :inhibit-null-byte-detection,
7639         :inhibit-iso-escape-detection, and :prefer-utf-8.
7640         (set-buffer-file-coding-system): If :charset-list property of
7641         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7642         appropriate for setting.
7644         * international/mule-cmds.el (select-safe-coding-system):
7645         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7646         multibyte characters, return utf-8 (or one of its siblings).
7648         * international/mule-conf.el (prefer-utf-8): New coding system.
7649         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7650         files.
7652 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
7654         * net/shr.el (shr-render-region): New function.
7656         * net/eww.el: Autoload `eww-browse-url'.
7658 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
7660         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7661         Adapt to `package-desc-version' being a list.
7662         Use `package--ac-desc-version' to retrieve version from a package
7663         archive element.
7665 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
7667         New experimental feature to save&restore window and frame setup.
7668         * desktop.el (desktop-save-windows): New defcustom.
7669         (desktop--saved-states): New var.
7670         (desktop--excluded-frame-parameters): New defconst.
7671         (desktop--filter-frame-parms, desktop--find-frame-in-display)
7672         (desktop--restore-windows, desktop--save-windows): New functions.
7673         (desktop-save): Call `desktop--save-windows'.
7674         (desktop-read): Call `desktop--restore-windows'.
7676 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7678         * net/shr.el (add-face-text-property): Remove compat definition.
7680 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7682         * info.el (Info-try-follow-nearest-node): Move search for footnote
7683         above search for node name to prevent missing a footnote (bug#14717).
7685 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7687         * obsolete/otodo-mode.el: Add obsolescence info to file header.
7689 2013-06-27  Leo Liu  <sdl.web@gmail.com>
7691         * net/eww.el (eww-read-bookmarks): Check file size.
7693 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7695         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7696         advice--pending if newdef is nil or an autoload (bug#13820).
7697         (advice-mapc): New function.
7699 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7701         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7702         probably.
7703         (eww-mode-map): Add a menu bar.
7704         (eww-add-bookmark): New command.
7705         (eww-bookmark-mode): New mode and commands.
7706         (eww-add-bookmark): Remove newlines from the title.
7707         (eww-bookmark-browse): Don't bug out if it's the only window.
7709 2013-06-26  Glenn Morris  <rgm@gnu.org>
7711         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7712         (hfy-size): Handle ttys.  (Bug#14668)
7714         * info-xref.el: Update for Texinfo 5 change in *note format.
7715         (info-xref-node-re, info-xref-note-re): New constants.
7716         (info-xref-check-buffer): Use info-xref-note-re.
7718 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7720         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7722         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7723         nil terminate the loop (bug#14718).
7725 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7727         * net/eww.el: Rework history traversal.  When going forward/back,
7728         put these actions into the history, too, so that they can be
7729         replayed.
7730         (eww-render): Move the history reset to the correct buffer.
7732 2013-06-25  Juri Linkov  <juri@jurta.org>
7734         * files-x.el (modify-dir-local-variable): Change the header comment
7735         in the file with directory local variables.  (Bug#14692)
7737         * files-x.el (read-file-local-variable-value): Add `default'.
7738         (Bug#14710)
7740 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7742         * net/eww.el (eww-make-unique-file-name): Create a unique file
7743         name before saving to entering `y' accidentally asynchronously.
7745 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
7747         * net/eww.el (eww-download): New command and keystroke.
7749 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7751         * net/eww.el (eww-copy-page-url): Change name of command.
7753         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7754         be more consistent with Info and dired.
7756         * net/eww.el (eww-mode-map): Ditto.
7758 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7760         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
7761         packages from archives.
7762         (package-archive-contents): Change format; include obsolete packages.
7763         (package-desc): Use `dir' to mark builtin packages.
7764         (package--from-builtin): Set the `dir' field to `builtin'.
7765         (generated-autoload-file, version-control): Declare.
7766         (package-compute-transaction): Change first arg and return value to be
7767         lists of package-descs.  Adjust to new package-archive-contents format.
7768         (package--add-to-archive-contents): Adjust to new
7769         package-archive-contents format.
7770         (package-download-transaction): Arg is now a list of package-descs.
7771         (package-install): If `pkg' is a package name, pass it as
7772         a requirement, so it is subject to the usual (e.g. disabled) checks.
7773         (describe-package): Accept package-desc as well.
7774         (describe-package-1): Describe a specific package-desc.  Add links to
7775         other package-descs for the same package name.
7776         (package-menu-describe-package): Pass the actual package-desc.
7777         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7778         works correctly.
7779         (package-desc-status): New function.
7780         (package-menu--refresh): New function, extracted
7781         from package-menu--generate.
7782         (package-menu--generate): Use it.
7783         (package-delete): Update package-alist.
7784         (package-menu-execute): Don't call package-initialize.
7786         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7787         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7788         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7789         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7790         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7791         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7793 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
7795         * window.el (window--state-get-1): Workaround for bug#14527.
7796         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7798 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7800         * net/eww.el (eww-back-url): Implement the history by stashing all
7801         the data into a list.
7802         (eww-forward-url): Allow going forward in the history, too.
7804 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7806         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7807         for values and use read--expression for expressions (bug#14710).
7808         (read-file-local-variable): Avoid setq.
7809         (read-file-local-variable-mode): Use minor-mode-list.
7811 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7813         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7814         for DOI URLs.
7816 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7818         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7819         Update imenu-support when dialect changes.
7821 2013-06-25  Leo Liu  <sdl.web@gmail.com>
7823         * ido.el (ido-read-internal): Allow forward slash on windows.
7825 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7827         * net/eww.el (eww): Start of strings is \\`, not ^.
7829 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7831         * net/shr.el (shr-browse-url): Fix interactive spec.
7833         * net/eww.el (eww): Add a trailing slash to domain names.
7835 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
7837         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7839 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7841         * net/shr.el (shr-browse-url): Use an external browser if given a
7842         prefix.
7844         * net/eww.el (eww-external-browser): Move to shr.
7846 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
7848         * net/eww.el (eww): Work more correctly for file: URLs.
7849         (eww-detect-charset): Allow quoted charsets.
7850         (eww-yank-page-url): New command and keystroke.
7852 2013-06-24  Daiki Ueno  <ueno@gnu.org>
7854         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7855         file name of gpg executable.
7856         (epg-context-program): New function.
7857         (epg-context-home-directory): New function.
7858         (epg-context-set-program): New function.
7859         (epg-context-set-home-directory): New function.
7860         (epg--start): Use `epg-context-program' instead of
7861         'epg-gpg-program'.
7862         (epg--list-keys-1): Likewise.
7864 2013-06-24  Leo Liu  <sdl.web@gmail.com>
7866         * ido.el (ido-read-internal): Fix bug#14620.
7868 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7870         * faces.el (face-documentation): Simplify.
7871         (read-face-attribute, tty-find-type, x-resolve-font-name):
7872         Use `string-match-p'.
7873         (list-faces-display): Use `string-match-p'.  Simplify.
7874         (face-spec-recalc): Check face to avoid face alias loops.
7875         (read-color): Use `string-match-p' and non-capturing parenthesis.
7877 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7879         * net/shr.el (shr-rescale-image): Use the new
7880         :max-width/:max-height functionality.
7882 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
7884         * net/eww.el (eww-search-prefix): New variable.
7885         (eww): Use it.
7886         (eww-external-browser): New variable.
7887         (eww-mode-map): New keystroke.
7888         (eww-browse-with-external-browser): New command.
7890         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7892 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
7894         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7895         Don't skip aligning the next header field when padding is 0;
7896         otherwise, field width is not respected unless the title is as
7897         wide as the field.
7899 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7901         * emacs-lisp/package.el (package-el-version): Remove.
7902         (package-process-define-package): Fix inf-loop.
7903         (package-install): Allow symbols as arguments again.
7905 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7907         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7908         add some more keyword-like methods.
7909         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7911 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
7913         * bs.el (bs-buffer-show-mark): Make defvar-local.
7914         (bs-mode): Use setq-local.
7916         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7917         (emacs-lock--try-unlocking): Make defvar-local.
7919 2013-06-22  Glenn Morris  <rgm@gnu.org>
7921         * play/cookie1.el (cookie-apropos): Minor simplification.
7923         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7925 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
7927         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7928         `regexp-opt', it breaks the build during dumping.
7930 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
7932         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7933         Highlight keyword-like methods on Kernel and Module with
7934         font-lock-builtin-face.
7935         (auto-mode-alist): Consolidate different entries into one regexp
7936         and add more *file-s.
7938 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
7940         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7942         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7943         (diary-entry): Use it in the action of this button type instead of
7944         diary-goto-entry.
7946         * calendar/todo-mode.el: New version.
7947         (todo-add-category): Append new category to end of file and give
7948         it the highest number, instead of putting it at the beginning and
7949         giving it 0.  Incorporate noninteractive functionality.
7950         (todo-forward-category): Adapt to 1-based category numbering.
7951         Allow skipping over archived categories.
7952         (todo-backward-category): Derive from todo-forward-category.
7953         (todo-backward-item, todo-forward-item): Make noninteractive and
7954         delegate interactive part to new commands.  Make sensitive to done items.
7955         (todo-categories): Make value an alist of category names and
7956         vectors of item counts.
7957         (todo-category-beg): Make a defconst.
7958         (todo-category-number): Use 1 instead of 0 as initial value.
7959         (todo-category-select): Make sensitive to overlays, optional item
7960         highlighting and done items.
7961         (todo-delete-item): Make sensitive to overlays and marked and done items.
7962         (todo-edit-item): Make sensitive to overlays and editing of
7963         date/time header optional.  Add format checks.
7964         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
7965         no-op if point is not on an item.  Advertise using todo-edit-quit.
7966         (todo-edit-mode): Make sensitive to new format, font-locking, and
7967         multiple todo files.
7968         (todo-insert-item, todo-insert-item-here): Derive from
7969         todo-basic-insert-item and extend functionality.
7970         (todo-item-end, todo-item-start): Make sensitive to done items.
7971         (todo-item-string): Don't return text properties.  Restore point.
7972         (todo-jump-to-category): Make sensitive to multiple todo files and
7973         todo archives.  Use extended category completion.
7974         (todo-lower-item, todo-raise-item): Rename to *-priority and
7975         derive from todo-set-item-priority.
7976         (todo-mode): Derive from special-mode.  Make sensitive to new
7977         format, font-locking and multiple todo files.  Make read-only.
7978         (todo-mode-map): Don't suppress digit keys, so they can supply
7979         prefix arguments.  Add many new key bindings.
7980         (todo-prefix): Insert as an overlay instead of file text.
7981         Change semantics from diary date expression to purely visual mark.
7982         (todo-print): Rename to todo-print-buffer.  Make buffer display
7983         features printable.  Remove option to restrict number of items
7984         printed.  Add option to print to file.
7985         (todo-print-function): Rename to todo-print-buffer-function.
7986         (todo-quit): Extend to handle exiting new todo modes.
7987         (todo-remove-item): Make sensitive to overlays.
7988         (todo-save): Extend to buffers of filtered items.
7989         (todo-show): Make sensitive to done items, multiple todo files and
7990         new todo modes.  Offer to convert legacy todo file before creating
7991         first new todo file.
7992         (todo-show-priorities): Rename to todo-top-priorities.
7993         Change semantics of value 0.
7994         (todo-top-priorities): Rename to todo-filter-top-priorities,
7995         derive from todo-filter-items and extend functionality.
7996         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7997         and extend functionality to other types of filtered items.
7998         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7999         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8000         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8001         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8002         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8003         (todo-edit-mode-hook, todo-entry-prefix-function)
8004         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8005         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8006         (todo-initials, todo-insert-threshold, todo-item-string-start)
8007         (todo-line-string, todo-menu, todo-mode-hook)
8008         (todo-more-important-p, todo-previous-answer, todo-previous-line)
8009         (todo-print-priorities, todo-remove-separator)
8010         (todo-save-top-priorities-too, todo-string-count-lines)
8011         (todo-string-multiline-p, todo-time-string-format)
8012         (todo-tmp-buffer-name): Remove.
8013         (todo-add-file, todo-archive-done-item, todo-choose-archive)
8014         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8015         (todo-edit-category-diary-inclusion)
8016         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8017         (todo-edit-file, todo-edit-item-date-day)
8018         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8019         (todo-edit-item-date-month, todo-edit-item-date-to-today)
8020         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8021         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8022         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8023         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8024         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8025         (todo-filter-top-priorities-multifile, todo-find-archive)
8026         (todo-find-filtered-items-file, todo-go-to-source-item)
8027         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8028         (todo-jump-to-archive-category, todo-lower-category)
8029         (todo-mark-category, todo-marked-item-p, todo-merge-category)
8030         (todo-move-category, todo-move-item, todo-next-button)
8031         (todo-next-item, todo-padded-string, todo-powerset)
8032         (todo-previous-button, todo-previous-item)
8033         (todo-print-buffer-to-file, todo-raise-category)
8034         (todo-rename-category, todo-repair-categories-sexp, todo-search)
8035         (todo-set-category-number, todo-set-item-priority)
8036         (todo-set-top-priorities-in-category)
8037         (todo-set-top-priorities-in-file, todo-show-categories-table)
8038         (todo-sort-categories-alphabetically-or-numerically)
8039         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8040         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8041         (todo-toggle-item-header, todo-toggle-item-highlighting)
8042         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8043         (todo-toggle-view-done-items, todo-toggle-view-done-only)
8044         (todo-unarchive-items, todo-unmark-category): New commands.
8045         (todo-absolute-file-name, todo-add-to-buffer-list)
8046         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8047         (todo-basic-insert-item, todo-category-completions)
8048         (todo-category-number, todo-category-string-matcher-1)
8049         (todo-category-string-matcher-2, todo-check-filtered-items-file)
8050         (todo-check-format, todo-clear-matches)
8051         (todo-comment-string-matcher, todo-convert-legacy-date-time)
8052         (todo-current-category, todo-date-string-matcher)
8053         (todo-define-insertion-command, todo-diary-expired-matcher)
8054         (todo-diary-goto-entry, todo-diary-item-p)
8055         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8056         (todo-display-categories, todo-display-sorted, todo-done-item-p)
8057         (todo-done-item-section-p, todo-done-separator)
8058         (todo-done-string-matcher, todo-files, todo-filter-items)
8059         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8060         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8061         (todo-insert-category-line, todo-insert-item-from-calendar)
8062         (todo-insert-sort-button, todo-insert-with-overlays)
8063         (todo-insertion-command-name, todo-insertion-key-bindings)
8064         (todo-label-to-key, todo-longest-category-name-length)
8065         (todo-make-categories-list, todo-mode-external-set)
8066         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8067         (todo-modes-set-3, todo-multiple-filter-files)
8068         (todo-nondiary-marker-matcher, todo-prefix-overlays)
8069         (todo-read-category, todo-read-date, todo-read-dayname)
8070         (todo-read-file-name, todo-read-time)
8071         (todo-reevaluate-category-completions-files-defcustom)
8072         (todo-reevaluate-default-file-defcustom)
8073         (todo-reevaluate-filelist-defcustoms)
8074         (todo-reevaluate-filter-files-defcustom)
8075         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8076         (todo-reset-done-separator, todo-reset-done-separator-string)
8077         (todo-reset-done-string, todo-reset-global-current-todo-file)
8078         (todo-reset-highlight-item, todo-reset-nondiary-marker)
8079         (todo-reset-prefix, todo-set-categories)
8080         (todo-set-date-from-calendar, todo-set-show-current-file)
8081         (todo-set-top-priorities, todo-short-file-name)
8082         (todo-show-current-file, todo-sort, todo-time-string-matcher)
8083         (todo-total-item-counts, todo-update-buffer-list)
8084         (todo-update-categories-display, todo-update-categories-sexp)
8085         (todo-update-count, todo-validate-name, todo-y-or-n-p):
8086         New functions.
8087         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8088         New major modes.
8089         (todo-categories, todo-display, todo-edit, todo-faces)
8090         (todo-filtered): New defgroups.
8091         (todo-archived-only, todo-button, todo-category-string, todo-date)
8092         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8093         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8094         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8095         (todo-add-item-if-new-category, todo-always-add-time-string)
8096         (todo-categories-align, todo-categories-archived-label)
8097         (todo-categories-category-label, todo-categories-diary-label)
8098         (todo-categories-done-label, todo-categories-number-separator)
8099         (todo-categories-todo-label, todo-categories-totals-label)
8100         (todo-category-completions-files, todo-completion-ignore-case)
8101         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8102         (todo-done-separator-string, todo-done-string)
8103         (todo-files-function, todo-filter-done-items, todo-filter-files)
8104         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8105         (todo-initial-category, todo-initial-file, todo-item-mark)
8106         (todo-legacy-date-time-regexp, todo-mode-line-function)
8107         (todo-nondiary-marker, todo-number-prefix)
8108         (todo-print-buffer-function, todo-show-current-file)
8109         (todo-show-done-only, todo-show-first, todo-show-with-done)
8110         (todo-skip-archived-categories, todo-top-priorities-overrides)
8111         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8112         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8113         New defcustoms.
8114         (todo-category-done, todo-date-pattern, todo-date-string-start)
8115         (todo-diary-items-buffer, todo-done-string-start)
8116         (todo-filtered-items-buffer, todo-item-start)
8117         (todo-month-abbrev-array, todo-month-name-array)
8118         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8119         (todo-top-priorities-buffer): New defconsts.
8120         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8121         (todo-categories-with-marks, todo-category-string-face)
8122         (todo-comment-face, todo-comment-string, todo-current-todo-file)
8123         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8124         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8125         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8126         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8127         (todo-font-lock-keywords, todo-global-current-todo-file)
8128         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8129         (todo-insertion-commands-args)
8130         (todo-insertion-commands-args-genlist)
8131         (todo-insertion-commands-names, todo-insertion-map)
8132         (todo-key-bindings-t, todo-key-bindings-t+a)
8133         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8134         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8135         (todo-nondiary-face, todo-print-buffer, todo-time-face)
8136         (todo-visited): New variables.
8138 2013-06-21  Glenn Morris  <rgm@gnu.org>
8140         * play/cookie1.el (cookie-apropos): Add optional display argument.
8141         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8142         (psychoanalyze-pinhead): Use cookie-doctor.
8144 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8146         * emacs-lisp/package.el (tar-get-file-descriptor)
8147         (tar--extract): Declare.
8149 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
8151         Extend flymake's warning predicate to be a function (bug#14217).
8152         * progmodes/flymake.el (flymake-warning-predicate): New.
8153         (flymake-parse-line): Use it.
8154         (flymake-warning-re): Make obsolete alias to
8155         `flymake-warning-predicate'.
8157 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8159         * emacs-lisp/package.el (package-alist): Include obsolete packages.
8160         (package-obsolete-list): Remove.
8161         (package-activate): Remove min-version argument.  Add `force' argument.
8162         Adjust to new package-alist format.
8163         (package-mark-obsolete): Remove.
8164         (package-unpack): Force reload of the package's autoloads.
8165         (package-installed-p): Check builtins if the installed package is not
8166         recent enough.
8167         (package-initialize): Don't reset package-obsolete-list.
8168         Don't specify which package version to activate.
8169         (package-process-define-package, describe-package-1)
8170         (package-menu--generate): Adjust to new package-alist format.
8172 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8174         * allout-widgets.el (allout-widgets-mode-off)
8175         (allout-widgets-mode-on, allout-widgets-pre-command-business)
8176         (allout-widgets-post-command-business)
8177         (allout-widgets-after-copy-or-kill-function)
8178         (allout-widgets-after-undo-function, allout-test-range-overlaps)
8179         (allout-decorate-item-and-context)
8180         (allout-graphics-modification-handler): Fix typos in docstrings.
8181         (allout-get-or-create-parent-widget): Use `looking-at-p'.
8183         * cmuscheme.el (scheme-start-file): Doc fix.
8184         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8185         (scheme-input-filter): Use `string-match-p'.
8187         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8189         * dired-x.el: Use Dired consistently in docstrings.
8191         * dired.el: Use Dired consistently in docstrings.
8192         (dired-readin, dired-mode): Use `setq-local'.
8193         (dired-switches-alist): Make defvar-local.
8194         (dired-buffers-for-dir): Use `zerop'.
8195         (dired-safe-switches-p, dired-switches-escape-p)
8196         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8197         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8198         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8199         (dired-goto-next-nontrivial-file): Use `string-match-p'.
8200         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8201         (dired-toggle-marks, dired-mark-files-containing-regexp)
8202         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8203         (dired-flag-auto-save-files, dired-flag-backup-files):
8204         Use `looking-at-p'.
8205         (dired-mark-files-regexp, dired-build-subdir-alist):
8206         Use `string-match-p', `looking-at-p'.
8208         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8209         (direct-print-region-helper): Use `string-match-p'.
8211 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8213         * comint.el (comint-redirect-results-list-from-process):
8214         Fix infinite loop.
8216 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8218         * net/eww.el (eww-update-header-line-format): Quote % characters.
8220 2013-06-21  Glenn Morris  <rgm@gnu.org>
8222         * play/cookie1.el (cookie): New custom group.
8223         (cookie-file): New option.
8224         (cookie-check-file): New function.
8225         (cookie): Make it interactive.  Make start and end messages optional.
8226         Interactively, display the result.  Default to cookie-file.
8227         (cookie-insert): Default to cookie-file.
8228         (cookie-snarf): Make start and end messages optional.
8229         Default to cookie-file.  Use with-temp-buffer.
8230         (cookie-read): Rename from read-cookie.
8231         Make start and end messages optional.  Default to cookie-file.
8232         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
8233         Do not autoload it.
8234         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8235         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8237 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8239         * progmodes/octave.el (octave-mode): Backward compatibility fix.
8241 2013-06-21  Glenn Morris  <rgm@gnu.org>
8243         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8245 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8246             Daniel Hackney  <dan@haxney.org>
8248         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8249         Consolidate the single-file vs tarball code.
8250         (package-desc-suffix): New function.
8251         (package-desc-full-name): Don't bother inlining it.
8252         (package-load-descriptor): Return the new package-desc.
8253         (package-mark-obsolete): Remove unused arg `package'.
8254         (package-unpack): Make it work for single files as well.
8255         Make it update package-alist.
8256         (package--make-autoloads-and-stuff): Rename from
8257         package--make-autoloads-and-compile.  Don't compile any more.
8258         (package--compile): New function.
8259         (package-generate-description-file): New function, extracted from
8260         package-unpack-single.
8261         (package-unpack-single): Remove.
8262         (package--with-work-buffer): Add indentation and debugging info.
8263         (package-download-single): Remove.
8264         (package-install-from-archive): Rename from package-download-tar, make
8265         it take a pkg-desc, and make it work for single files as well.
8266         (package-download-transaction): Simplify.
8267         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
8268         external tar program.
8269         (package-install-from-buffer): Remove `pkg-desc' argument.
8270         Use package-tar-file-info for tar-mode buffers.
8271         (package-install-file): Simplify accordingly.
8272         (package-archive-base): Change to take a pkg-desc.
8273         * tar-mode.el (tar--check-descriptor): New function, extracted from
8274         tar-get-descriptor.
8275         (tar-get-descriptor): Use it.
8276         (tar-get-file-descriptor): New function.
8277         (tar--extract): New function, extracted from tar-extract.
8278         (tar--extract): Use it.
8279         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8280         case the summary uses non-ascii.  Adjust to new calling convention of
8281         package-tar-file-info.
8283 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8285         * comint.el (comint-redirect-results-list-from-process):
8286         Fix random delay.  (Bug#14681)
8288 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8290         * profiler.el (profiler-format-number): Use log, not log10.
8292 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8294         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8296 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8298         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8299         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8300         yet available.
8301         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8302         (AUTOGENEL): ... here.
8303         * emacs-lisp/cl-macs.el (cl--sublis): New function.
8304         (cl--defsubst-expand): Use it.
8306 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
8308         * subr.el (log10): Move here from C code, and declare as obsolete.
8309         All uses of (log10 X) replaced with (log X 10).
8311 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8313         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8314         Declare with `defvar-local'.
8315         (tabulated-list-use-header-line, tabulated-list-entries)
8316         (tabulated-list-padding, tabulated-list-printer)
8317         (tabulated-list-sort-key): Declare with `defvar-local'.
8318         (tabulated-list-init-header, tabulated-list-print-fake-header):
8319         Use `setq-local'.
8321 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
8323         * arc-mode.el (archive-mode): Add `archive-write-file' to
8324         `write-contents-functions' also for remote files.  (Bug#14652)
8326 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8328         * cus-edit.el (custom-commands): Fix typos.
8329         (custom-display): Fix tooltip text.
8330         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8331         Fix typos in docstrings.
8332         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8333         (custom-unlispify-menu-entry, custom-magic-value-create)
8334         (custom-add-see-also, custom-group-value-create): Use ?\s.
8335         (custom-guess-type, customize-apropos, editable-field)
8336         (custom-face-value-create): Use `string-match-p'.
8337         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8339         * custom.el (custom-load-symbol): Use `string-match-p'.
8341         * ansi-color.el: Convert to lexical binding.
8342         (ansi-colors): Fix URL.
8343         (ansi-color-context, ansi-color-context-region): Use defvar-local.
8344         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8345         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8347 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8349         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8351         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8353 2013-06-19  Tom Tromey  <tromey@redhat.com>
8355         * net/eww.el (eww-top-url): Remove.
8356         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8357         (eww-render): Set new variables.  Don't set eww-top-url.
8358         (eww-handle-link): Handle "prev", "home", and "contents".
8359         Downcase the rel text.
8360         (eww-top-url): Choose best top URL.
8362 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8364         * net/eww.el: Rewrite to implement form elements "by hand" instead of
8365         relying in widget.el.  Using widget.el leads to too many
8366         user interface inconsistencies.
8367         (eww-self-insert): Implement entering commands in text fields.
8368         (eww-process-text-input): New function to make text input field editing
8369         work.
8370         (eww-submit): Rewrite to use the new-style form methods.
8371         (eww-select-display): Display the correct selected item.
8372         (eww-change-select): Implement changing the select value.
8373         (eww-toggle-checkbox): Implement radio/checkboxes.
8374         (eww-update-field): Fix compilation error.
8375         (eww-tag-textarea): Implement <textarea>.
8377         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8378         we don't shadow mode-specific bindings.
8380         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8381         nothing to push.
8383         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8385 2013-06-19  Glenn Morris  <rgm@gnu.org>
8387         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8389 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8391         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8392         not needed.
8394         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8396 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8398         * net/browse-url.el (browse-url-browser-function):
8399         `eww-browse-url' has the right calling signature, `eww' does not.
8401 2013-06-19  Glenn Morris  <rgm@gnu.org>
8403         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8404         Only eval autoloaded macros.
8405         (byte-compile-autoload): Only give the macro warning for macros.
8407         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8408         (ps-underlined-faces): Declare.
8410         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8411         (speedbar-add-supported-extension): Declare.
8413         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8414         Don't include a date stamp in the header of the generated file;
8415         it leads to needless differences between output files.
8417 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8419         * net/secrets.el (secrets-struct-secret-content-type):
8420         Replace check of introspection data by a test call of "CreateItem".
8421         Some servers do not offer introspection.
8423 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8425         * electric.el (electric-pair-mode): Improve interaction with
8426         electric-layout-mode.
8427         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8428         (electric-pair-syntax): Use text-mode-syntax-table in comments
8429         and strings.
8430         (electric-pair--insert): New function.
8431         (electric-pair-post-self-insert-function): Use it and
8432         electric--after-char-pos.
8434 2013-06-19  Leo Liu  <sdl.web@gmail.com>
8436         * progmodes/octave.el (octave-help): Fix regexp.
8438 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8440         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8441         (shr-table-horizontal-line): Allow nil as a value, and change the
8442         default.
8443         (shr-insert-table-ruler): Respect the nil value.
8445 2013-06-18  Tom Tromey  <tromey@barimba>
8447         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8448         New defvars.
8449         (eww-open-file): New defun.
8450         (eww-render): Initialize new variables.
8451         (eww-display-html): Handle "link" and "a".
8452         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8453         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
8454         (eww-back-url): Rename from eww-previous-url.
8455         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8456         New defuns.
8458 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
8460         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8461         Distinguish ternary operator tokens from slash symbol and slash
8462         char literal.
8464 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8466         Convert symbol prettification into minor mode and global minor mode.
8468         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8469         `prog-prettify-symbols', and make a local defvar instead of defcustom.
8470         (prettify-symbols--keywords): Rename from
8471         `prog-prettify-symbols-alist' and make a local defvar.
8472         (prettify-symbols--compose-symbol): Rename from
8473         `prog--prettify-font-lock-compose-symbol'.
8474         (prettify-symbols--make-keywords): Rename from
8475         `prog-prettify-font-lock-symbols-keywords' and simplify.
8476         (prog-prettify-install): Remove.
8477         (prettify-symbols-mode): New minor mode, based on
8478         `prog-prettify-install'.
8479         (turn-on-prettify-symbols-mode): New function.
8480         (global-prettify-symbols-mode): New globalized minor mode.
8482         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8483         * progmodes/cfengine.el (cfengine3-mode):
8484         * progmodes/perl-mode.el (perl-mode): Don't call
8485         `prog-prettify-install'; set `prettify-symbols-alist' instead.
8487 2013-06-18  Juri Linkov  <juri@jurta.org>
8489         * files-x.el (modify-file-local-variable-message): New function.
8490         (modify-file-local-variable)
8491         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8492         and call `modify-file-local-variable-message' when it's non-nil.
8493         (add-file-local-variable, delete-file-local-variable)
8494         (add-file-local-variable-prop-line)
8495         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8496         and use it.  (Bug#9820)
8498 2013-06-18  Juri Linkov  <juri@jurta.org>
8500         * emulation/vi.el (vi-shell-op):
8501         * emulation/vip.el (vip-execute-com, ex-command):
8502         * emulation/viper-cmd.el (viper-exec-bang):
8503         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8504         the call of `shell-command-on-region'.  (Bug#14637)
8506         * simple.el (shell-command-on-region): Doc fix.
8508 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8510         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8511         (bug#14633).
8513 2013-06-18  Glenn Morris  <rgm@gnu.org>
8515         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8517         * newcomment.el (comment-search-forward, comment-search-backward):
8518         Doc fix.  (Bug#14376)
8520 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8522         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8523         (buffer-face-mode-invoke): Doc fix.
8525 2013-06-18  Matthias Meulien  <orontee@gmail.com>
8527         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8528         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8530 2013-06-18  Glenn Morris  <rgm@gnu.org>
8532         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8533         Replace obsolete function generic-make-keywords with its expansion.
8535         * progmodes/python.el (ffap-alist): Declare.
8537         * textmodes/reftex.el (bibtex-mode-map): Declare.
8539 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8541         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8542         (package-unpack, package-unpack-single): Return the pkg-dir.
8543         (package-download-transaction): Use it to update package-alist.
8545 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8547         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8548         possible choice.
8550 2013-06-17  Juri Linkov  <juri@jurta.org>
8552         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8554 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8556         * emacs-lisp/package.el (package-load-descriptor):
8557         Remove `with-syntax-table' call, `read' doesn't need it.
8558         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8560 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8562         * startup.el (command-line): Expand package name returned by
8563         `package--description-file' (bug#14639).
8565 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8567         * emacs-lisp/package.el (package-load-descriptor): Do not call
8568         `emacs-lisp-mode', just use its syntax table.
8570 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8572         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8573         `font-lock-extra-managed-props' if any prettifying keyword is added.
8574         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8575         (prog-mode): Use `setq-local'.
8577 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8579         * international/characters.el (standard-case-table): Set syntax of ?»
8580         and ?« to punctuation.
8582 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
8584         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8585         Save relevant match data before calling `syntax-ppss' (bug#14595).
8587 2013-06-15  Juri Linkov  <juri@jurta.org>
8589         * files-x.el (modify-file-local-variable-prop-line): Add local
8590         variables to the end of the existing comment on the first line.
8591         Use `file-auto-mode-skip' to skip interpreter magic line,
8592         and also skip XML declaration.
8594 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8596         * startup.el (package--builtin-versions): New var.
8597         (package-subdirectory-regexp): Remove.
8598         (package--description-file): Hard code its value instead.
8600         * emacs-lisp/package.el: Don't activate packages older than builtin.
8601         (package-obsolete-list): Rename from package-obsolete-alist, and make
8602         it into a simple list of package-desc.
8603         (package-strip-version): Remove.
8604         (package-built-in-p): Use package--builtin-versions.
8605         (package-mark-obsolete): Simplify.
8606         (package-process-define-package): Mark it obsolete if older than the
8607         builtin version.
8608         (package-handle-response): Use line-end-position.
8609         (package-read-archive-contents, package--download-one-archive):
8610         Simplify.
8611         (package--add-to-archive-contents): Skip if older than the builtin or
8612         installed version.
8613         (package-menu-describe-package): Fix last change.
8614         (package-list-unversioned): New var.
8615         (package-menu--generate): Use it.
8617         * emacs-lisp/autoload.el: Manage package--builtin-versions.
8618         (autoload--insert-text, autoload--insert-cookie-text): New functions.
8619         (autoload-builtin-package-versions): New variable.
8620         (autoload-generate-file-autoloads): Use them.
8621         Remove the list of autoloaded functions/macros from the
8622         (autoload...) comments.
8624         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8626 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
8628         * simple.el (line-move-partial): Don't jump to the next screen
8629         line as soon as it becomes visible.  Instead, continue enlarging
8630         the vscroll until the portion of a tall screen line that's left on
8631         display is about the height of the frame's default font.
8632         (Bug#14567)
8634 2013-06-15  Glenn Morris  <rgm@gnu.org>
8636         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8637         compilation-error-regexp-alist void, or local while let-bound.
8639         * progmodes/make-mode.el (makefile-mode-syntax-table):
8640         Treat "=" as punctuation.  (Bug#14614)
8642 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
8644         * help-fns.el (describe-variable):
8645         Add extra line for permanent-local variables.
8647 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
8649         * progmodes/scheme.el (scheme-font-lock-keywords-2):
8650         Add export, import, library.  (Bug#9164)
8651         (library): Set indent function.
8653 2013-06-14  Glenn Morris  <rgm@gnu.org>
8655         * term/xterm.el (xterm--query):
8656         Stop after first matching handler.  (Bug#14615)
8658 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
8660         Add support for dired in saveplace.
8661         * dired.el (dired-initial-position-hook): New variable.
8662         (dired-initial-position): Call hook to place cursor position.
8663         * saveplace.el (save-place-to-alist): Add dired position.
8664         (save-place-dired-hook): New function.
8666 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8668         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8669         through a symbol rather than letrec.
8671         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
8672         (package-desc): Add `dir' field.
8673         (package-desc-full-name): New function.
8674         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
8675         (package-maybe-load-descriptor): Remove.
8676         (package-load-all-descriptors): Just call package-load-descriptor.
8677         (package--disabled-p): New function.
8678         (package-desc-vers, package-desc-doc): Remove aliases.
8679         (package--dir): Remove function.
8680         (package-activate): Check if a package is disabled.
8681         (package-process-define-package): New function, extracted from
8682         define-package.
8683         (define-package): Turn into a place holder.
8684         (package-unpack-single, package-tar-file-info):
8685         Use package--description-file.
8686         (package-compute-transaction): Use package--disabled-p.
8687         (package-download-transaction): Don't call
8688         package-maybe-load-descriptor since they're all loaded anyway.
8689         (package-install): Change argument to be a pkg-desc.
8690         (package-delete): Use a single pkg-desc argument.
8691         (describe-package-1): Use package-desc-dir instead of package--dir.
8692         Use package-desc property instead of package-symbol.
8693         (package-install-button-action): Adjust accordingly.
8694         (package--push): Rewrite.
8695         (package-menu--print-info): Adjust accordingly.  Change the ID format
8696         to be a pkg-desc.
8697         (package-menu-describe-package, package-menu-get-status)
8698         (package-menu--find-upgrades, package-menu-mark-upgrades)
8699         (package-menu-execute, package-menu--name-predicate):
8700         Adjust accordingly.
8701         * startup.el (package--description-file): New function.
8702         (command-line): Use it.
8703         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8704         Use package-desc-version.
8706         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8707         (byte-compile-preprocess): Use it.
8708         (byte-compile-file-form-defalias): Try a bit harder to use macros we
8709         can't quite recognize.
8710         (byte-compile-add-to-list): Remove.
8711         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8712         (cconv-closure-convert): Add assertion.
8714         * emacs-lisp/map-ynp.el: Use lexical-binding.
8715         (map-y-or-n-p): Remove unused vars `tail' and `object'.
8716         Factor out some repeated code.
8718 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8720         * subr.el (with-eval-after-load): New macro.
8721         (eval-after-load): Allow form to be a function.
8722         take advantage of lexical-binding.
8723         (do-after-load-evaluation): Use dolist and adjust to new format.
8724         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8726 2013-06-13  Juri Linkov  <juri@jurta.org>
8728         * replace.el (perform-replace): Display "symbol " and other search
8729         modes from `isearch-message-prefix' in the *Help* buffer.
8731         * isearch.el (isearch-query-replace): Add " symbol" and other
8732         possible search modes from `isearch-message-prefix' to the prompt.
8733         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8734         when reading a regexp to collect.
8736 2013-06-13  Juri Linkov  <juri@jurta.org>
8738         * isearch.el (word-search-regexp): Match whitespace if the search
8739         string begins or ends in whitespace.  The LAX arg is applied to
8740         both ends of the search string.  Use `regexp-quote' and explicit
8741         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
8742         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8743         boundaries are replaced with symbol boundaries, and characters
8744         between symbols match non-word non-symbol syntax.  (Bug#14602)
8746 2013-06-13  Juri Linkov  <juri@jurta.org>
8748         * isearch.el (isearch-del-char): Don't exceed the length of
8749         `isearch-string' by the prefix arg.  (Bug#14563)
8751 2013-06-13  Juri Linkov  <juri@jurta.org>
8753         * isearch.el (isearch-yank-word, isearch-yank-line)
8754         (isearch-char-by-name, isearch-quote-char)
8755         (isearch-printing-char, isearch-process-search-char):
8756         Add optional count prefix arg.  (Bug#14563)
8758         * international/isearch-x.el
8759         (isearch-process-search-multibyte-characters):
8760         Add optional count prefix arg.
8762 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8764         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8765         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8766         lexical-binding.
8768 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
8770         * subr.el (set-temporary-overlay-map): Add on-exit argument.
8772 2013-06-13  Glenn Morris  <rgm@gnu.org>
8774         * startup.el (tty-handle-args):
8775         Don't just discard "--" and anything after.  (Bug#14608)
8777         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8779 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
8781         Implement changes in Secret Service API.  Make it backward compatible.
8782         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8783         (secrets-create-item): Use it.  Prefix properties with interface.
8785 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
8787         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
8788         (term-emulate-terminal): Respect term-suppress-hard-newline.
8790 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
8792         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8793         Only remove a `thumb-file' overlay.  (Bug#14548)
8795 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
8797         * mail/reporter.el (reporter-submit-bug-report):
8798         Handle missing package-name.  (Bug#14600)
8800 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8802         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8803         (reftex-citation-prompt, reftex-default-bibliography)
8804         (reftex-bib-or-thebib, reftex-get-bibfile-list)
8805         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8806         (reftex-bib-sort-author, reftex-bib-sort-year)
8807         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8808         (reftex-extract-bib-entries-from-thebibliography)
8809         (reftex-get-bibkey-default, reftex-get-bib-names)
8810         (reftex-parse-bibtex-entry, reftex-get-bib-field)
8811         (reftex-format-bib-entry, reftex-parse-bibitem)
8812         (reftex-format-bibitem, reftex-do-citation)
8813         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8814         (reftex-restrict-bib-matches, reftex-extract-bib-file)
8815         (reftex-insert-bib-matches, reftex-format-citation)
8816         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8817         (reftex-create-bibtex-file): Add docstrings, mostly by converting
8818         existing comments into docstrings.
8820 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8822         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8824 2013-06-12  Andreas Schwab  <schwab@suse.de>
8826         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8827         for auto-save files.
8829 2013-06-12  Glenn Morris  <rgm@gnu.org>
8831         * ido.el (ido-delete-ignored-files): Remove.
8832         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8833         Go back to calling ido-ignore-item-p directly.
8835 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
8837         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8839         * ido.el (ido-delete-ignored-files): New function,
8840         split from ido-make-file-list-1.
8841         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
8842         (ido-make-file-list-1): Use ido-delete-ignored-files.
8844 2013-06-12  Leo Liu  <sdl.web@gmail.com>
8846         * progmodes/octave.el (inferior-octave-startup)
8847         (inferior-octave-completion-table)
8848         (inferior-octave-track-window-width-change)
8849         (octave-eldoc-function-signatures, octave-help)
8850         (octave-find-definition): Use single quoted strings.
8851         (inferior-octave-startup-args): Change default value.
8852         (inferior-octave-startup): Do not hard code "-i" and
8853         "--no-line-editing".
8854         (inferior-octave-resync-dirs): Add optional arg NOERROR.
8855         (inferior-octave-directory-tracker): Use it.
8856         (octave-goto-function-definition): Robustify.
8857         (octave-help): Support highlighting operators in 'See also'.
8858         (octave-find-definition): Find subfunctions only in Octave mode.
8860 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8862         * help-fns.el (help-fns--compiler-macro): If the handler function is
8863         named, then put a link to it.
8864         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8865         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8866         (cl-typep): Use it.
8867         (cl-eval-when): Simplify debug spec.
8868         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
8869         compiler-macro function instead of setting `compiler-macro-file'.
8871 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
8873         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8874         * vc/vc-hooks.el (vc-stay-local): Doc fix.
8876 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8877             Daniel Hackney  <dan@haxney.org>
8879         First part of Daniel Hackney's patch to package.el.
8880         * emacs-lisp/package.el: Use defstruct.
8881         (package-desc): New, main struct.
8882         (package--bi-desc, package--ac-desc): New structs, used to describe the
8883         format in external files.
8884         (package-desc-vers): Replace with package-desc-version accessor.
8885         (package-desc-doc): Replace with package-desc-summary accessor.
8886         (package-activate-1): Remove `package' arg since the pkg-vec now
8887         includes the name.
8888         (define-package): Use package-desc-from-define.
8889         (package-unpack-single): Change file-name arg to be a symbol.
8890         (package--add-to-archive-contents): Use package-desc-create and new
8891         accessor functions to package--ac-desc.
8892         (package-buffer-info, package-tar-file-info): Return a package-desc.
8893         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
8894         arg to be a package-desc.
8895         (package-install-file): Adjust accordingly.  Use \' to match EOS.
8896         (package--from-builtin): New function.
8897         (describe-package-1, package-menu--generate): Use it.
8898         (package--make-autoloads-and-compile): Change name arg to be a symbol.
8899         (package-generate-autoloads): Idem and return the name of the file.
8900         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8901         Change pkg-info arg to be a package-desc.
8902         Use package-make-ac-desc.
8903         (package-upload-file): Use \' to match EOS.
8904         * finder.el (finder-compile-keywords): Use package-make-builtin.
8906 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8908         * vc/vc.el (vc-deduce-fileset): Change error message.
8909         (vc-read-backend): New function.
8910         (vc-next-action): Use it.
8912         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8914         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8915         (prolog-font-lock-keywords): Use regexp-opt instead.
8916         Don't manually highlight strings.
8917         (prolog-mode-variables): Simplify comment-start-skip.
8918         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
8920         * emacs-lisp/generic.el (generic--normalise-comments)
8921         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8922         (generic-mode-set-comments): Use them.
8923         (generic-bracket-support): Use setq-local.
8924         (generic-make-keywords-list): Declare obsolete.
8926 2013-06-11  Glenn Morris  <rgm@gnu.org>
8928         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8929         Prettify after setting font-lock-defaults.  (Bug#14574)
8931 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
8933         * replace.el (query-replace, occur-read-regexp-defaults-function)
8934         (replace-search):
8935         * subr.el (declare-function, number-sequence, local-set-key)
8936         (substitute-key-definition, locate-user-emacs-file)
8937         (with-silent-modifications, split-string, eval-after-load):
8938         Fix typos, remove unneeded backslashes and reflow some docstrings.
8940 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8942         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8943         default for Elisp files.
8945 2013-06-11  Glenn Morris  <rgm@gnu.org>
8947         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8948         although define-derived-mode was doing this anyway.  (Bug#14583)
8950 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
8952         * allout.el (allout-encryption-plaintext-sanitization-regexps):
8953         Fix make-variable-buffer-local call to refer to the correct variable.
8955 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
8957         * eshell/em-term.el (eshell-visual-commands)
8958         (eshell-visual-subcommands, eshell-visual-options):
8959         Add summary line to docstrings.  Add cross-references.
8961 2013-06-10  Glenn Morris  <rgm@gnu.org>
8963         * epa.el (epa-read-file-name): New function.  (Bug#14510)
8964         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
8966 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8968         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8969         output redirection to be ignored with visual commands.
8971 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
8973         * eshell/em-term.el (eshell-visual-command-p): New function.
8974         (eshell-term-initialize): Move long lambda to separate function
8975         eshell-visual-command-p.
8976         * eshell/em-dirs.el (eshell-dirs-initialise):
8977         * eshell/em-script.el (eshell-script-initialize):
8978         Add missing #' to lambda.
8980 2013-06-08  Leo Liu  <sdl.web@gmail.com>
8982         * progmodes/octave.el (octave-add-log-current-defun): New function.
8983         (octave-mode): Set add-log-current-defun-function.
8984         (octave-goto-function-definition): Do not move point if not found.
8985         (octave-find-definition): Enhance to try subfunctions first.
8987 2013-06-08  Glenn Morris  <rgm@gnu.org>
8989         * emacs-lisp/bytecomp.el (byte-compile-char-before)
8990         (byte-compile-backward-char, byte-compile-backward-word):
8991         Improve previous change, to handle non-explicit nil.
8993 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8995         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8996         (smie--opener/closer-at-point): New function.
8997         (smie--matching-block-data): Use it.  Don't match from right after an
8998         opener or right before a closer.  Obey smie-blink-matching-inners.
8999         Don't signal a mismatch for repeated inners like "switch..case..case".
9001 2013-06-07  Leo Liu  <sdl.web@gmail.com>
9003         * progmodes/octave.el (octave-mode): Set comment-use-global-state
9004         to t.  (Bug#14303)
9005         (octave-function-header-regexp): Fix.  (Bug#14570)
9006         (octave-help-mode-finish-hook, octave-help-mode-finish):
9007         Remove.  Just use temp-buffer-show-hook.
9009         * newcomment.el (comment-search-backward): Revert last change.
9010         (Bug#14434)
9012         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9014 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
9016         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9017         through xargs, to avoid failure due to MS-Windows limitations on
9018         command-line length.
9020 2013-06-06  Glenn Morris  <rgm@gnu.org>
9022         * font-lock.el (lisp-font-lock-keywords-2):
9023         Treat user-error like error.
9025         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9026         (byte-compile-backward-char, byte-compile-backward-word):
9027         Handle explicit nil arguments.  (Bug#14565)
9029 2013-06-05  Alan Mackenzie  <acm@muc.de>
9031         * isearch.el (isearch-allow-prefix): New user option.
9032         (isearch-other-meta-char): Don't exit isearch when a prefix
9033         argument is typed whilst `isearch-allow-prefix' is non-nil.
9034         (Bug#9706)
9036 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9038         * autorevert.el (auto-revert-notify-handler): Use memq.
9039         Hide assertion failure.
9041         * skeleton.el: Use cl-lib.
9042         (skeleton-further-elements): Use defvar-local.
9043         (skeleton-insert): Use cl-progv.
9045 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9047         * progmodes/prog-mode.el (prog-prettify-symbols)
9048         (prog-prettify-install): Update docstrings.
9050 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9052         * simple.el: Move all the prog-mode code to prog-mode.el.
9053         * progmodes/prog-mode.el: New file.
9054         * loadup.el: Add prog-mode.el.
9056 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9058         * simple.el (prog-prettify-symbols): Add version.
9059         (prog-prettify-install): Add convenience function to prettify symbols.
9061         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9062         (perl--augmented-font-lock-keywords-1)
9063         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9064         variables and use it.
9066         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9067         (cfengine3-mode): Remove unneeded variable and use it.
9069         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9070         (lisp--augmented-font-lock-keywords-1)
9071         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9072         Remove unneeded variables and use it.
9074 2013-06-05  João Távora  <joaotavora@gmail.com>
9076         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9077         to point when opening the connection.  (Bug#14380)
9079 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9081         * subr.el (load-history-regexp, load-history-filename-element)
9082         (eval-after-load, after-load-functions, do-after-load-evaluation)
9083         (eval-next-after-load, display-delayed-warnings)
9084         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9085         definition of save-match-data.
9086         (overriding-local-map): Remove accidental obsolescence declaration.
9088         * emacs-lisp/edebug.el (edebug-result): Move before first use.
9090 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9092         Generalize symbol prettify support to prog-mode and implement it
9093         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9094         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9095         (prog--prettify-font-lock-compose-symbol)
9096         (prog-prettify-font-lock-symbols-keywords): New variables and
9097         functions to support symbol prettification.
9098         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9099         (lisp--augmented-font-lock-keywords-1)
9100         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9101         (lisp--prettify-symbols-alist): Implement prettify of lambda.
9102         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9103         (cfengine3--prettify-symbols-alist, cfengine3-mode):
9104         Implement prettify of -> => :: strings.
9105         * progmodes/perl-mode.el (perl-prettify-symbols)
9106         (perl--font-lock-compose-symbol)
9107         (perl--font-lock-symbols-keywords): Move to prog-mode.
9108         (perl--prettify-symbols-alist): Prettify -> => :: strings.
9109         (perl-font-lock-keywords-1)
9110         (perl-font-lock-keywords-2): Remove explicit prettify support.
9111         (perl--augmented-font-lock-keywords)
9112         (perl--augmented-font-lock-keywords-1)
9113         (perl--augmented-font-lock-keywords-2, perl-mode):
9114         Implement prettify support.
9116 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9118         Re-implement smie matching block highlight using
9119         show-paren-data-function.  (Bug#14395)
9120         * emacs-lisp/smie.el (smie-matching-block-highlight)
9121         (smie--highlight-matching-block-overlay)
9122         (smie--highlight-matching-block-lastpos)
9123         (smie-highlight-matching-block)
9124         (smie-highlight-matching-block-mode): Remove.
9125         (smie--matching-block-data-cache): New variable.
9126         (smie--matching-block-data): New function.
9127         (smie-setup): Use smie--matching-block-data for
9128         show-paren-data-function.
9130         * progmodes/octave.el (octave-mode-menu): Fix.
9131         (octave-find-definition): Skip garbage lines.
9133 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9135         Fix compilation error with simultaneous dynamic+lexical scoping.
9136         Add warning when a defvar appears after the first let-binding.
9137         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9138         (byte-compile-close-variables): Initialize it.
9139         (byte-compile--declare-var): New function.
9140         (byte-compile-file-form-defvar)
9141         (byte-compile-file-form-define-abbrev-table)
9142         (byte-compile-file-form-custom-declare-variable): Use it.
9143         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
9144         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9145         (byte-compile-bind): Handle dynamic bindings that shadow
9146         lexical bindings.
9147         (byte-compile-unbind): Make arg non-optional.
9148         (byte-compile-let): Simplify.
9149         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9150         (cconv--analyse-function, cconv-analyse-form): Populate it.
9151         Protect byte-compile-bound-variables to limit the scope of defvars.
9152         (cconv-analyse-form): Add missing rule for (defvar <foo>).
9153         Remove unneeded rule for `declare'.
9155         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9156         so as to avoid depending on cl-adjoin at run-time.
9157         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9159         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9160         (macroexp--warn-and-return): Use it.
9162 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9164         * subr.el: Convert to lexical binding.
9165         (overriding-local-map): Make obsolete.
9166         (add-to-list): Doc fix.  Add compiler macro.
9167         (read-key): Swap values of local maps.
9169 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9171         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9173 2013-06-04  Leo Liu  <sdl.web@gmail.com>
9175         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9176         (compilation-auto-jump): Suppress the "Mark set" message to give
9177         way to exit message.
9179 2013-06-04  Alan Mackenzie  <acm@muc.de>
9181         Remove faulty optimisation from indentation calculation.
9182         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9183         search limit based on 2000 characters back from indent-point.
9185 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9187         * eshell/em-term.el (cl-lib): Require `cl-lib'.
9189 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9191         * emacs-lisp/lisp.el: Use lexical-binding.
9192         (lisp--local-variables-1, lisp--local-variables): New functions.
9193         (lisp--local-variables-completion-table): New var.
9194         (lisp-completion-at-point): Use it complete let-bound vars.
9196         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9197         eagerly (bug#14422).
9199 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
9201         * autorevert.el (auto-revert-notify-enabled)
9202         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9203         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9204         (auto-revert-notify-handler): Handle also gfilenotify.
9206         * subr.el (file-notify-handle-event): New defun.  Replacing ...
9207         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9208         Remove.
9210 2013-06-03  Juri Linkov  <juri@jurta.org>
9212         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9213         `M-s h .'.  (Bug#14427)
9215         * hi-lock.el (highlight-symbol-at-point): New alias for the new
9216         command `hi-lock-face-symbol-at-point'.
9217         (hi-lock-face-symbol-at-point): New command.
9218         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9219         (hi-lock-menu): Add `highlight-symbol-at-point'.
9220         (hi-lock-mode): Doc fix.
9222         * isearch.el (isearch-forward-symbol-at-point): New command.
9223         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9224         (isearch-highlight-regexp): Add a regexp which matches
9225         words/symbols for word/symbol mode.
9227         * subr.el (find-tag-default-bounds): New function with the body
9228         mostly moved from `find-tag-default'.
9229         (find-tag-default): Move most code to `find-tag-default-bounds',
9230         call it and apply `buffer-substring-no-properties' afterwards.
9232 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9234         * eshell/em-term.el (eshell-term-initialize):
9235         Use `cl-intersection' rather than `intersection'.
9237 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
9239         * vc/log-view.el: Doc fix.
9240         (log-view-mode-map): Copy keymap from `special-mode-map'.
9242 2013-06-02  Eric Ludlam  <zappo@gnu.org>
9244         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9245         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9246         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9247         (eieio-unbound, eieio-default-superclass)
9248         (eieio--define-field-accessors, method-static, method-before)
9249         (method-primary, method-after, method-num-lists)
9250         (method-generic-before, method-generic-primary)
9251         (method-generic-after, method-num-slots)
9252         (eieio-specialized-key-to-generic-key)
9253         (eieio--check-type, class-v, class-p)
9254         (eieio-class-name, define-obsolete-function-alias)
9255         (eieio-class-parents-fast, eieio-class-children-fast)
9256         (same-class-fast-p, class-constructor, generic-p)
9257         (generic-primary-only-p, generic-primary-only-one-p)
9258         (class-option-assoc, class-option, eieio-object-p)
9259         (class-abstract-p, class-method-invocation-order)
9260         (eieio-defclass-autoload-map, eieio-defclass-autoload)
9261         (eieio-class-un-autoload, eieio-defclass)
9262         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9263         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9264         (eieio--defgeneric-init-form, eieio-defgeneric-form)
9265         (eieio-defgeneric-reset-generic-form)
9266         (eieio-defgeneric-form-primary-only)
9267         (eieio-defgeneric-reset-generic-form-primary-only)
9268         (eieio-defgeneric-form-primary-only-one)
9269         (eieio-defgeneric-reset-generic-form-primary-only-one)
9270         (eieio-unbind-method-implementations)
9271         (eieio--defmethod, eieio--typep)
9272         (eieio-perform-slot-validation, eieio-validate-slot-value)
9273         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9274         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9275         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9276         (eieio-slot-name-index, eieio-class-slot-name-index)
9277         (eieio-set-defaults, eieio-initarg-to-attribute)
9278         (eieio-attribute-to-initarg, eieio-c3-candidate)
9279         (eieio-c3-merge-lists, eieio-class-precedence-c3)
9280         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9281         (eieio-class-precedence-list, eieio-generic-call-methodname)
9282         (eieio-generic-call-arglst, eieio-generic-call-key)
9283         (eieio-generic-call-next-method-list)
9284         (eieio-pre-method-execution-functions, eieio-generic-call)
9285         (eieio-generic-call-primary-only, eieiomt-method-list)
9286         (eieiomt-optimizing-obarray, eieiomt-install)
9287         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9288         (eieio-generic-form, eieio-defmethod, make-obsolete)
9289         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9290         (defclass): Remove `eval-and-compile' from macro.
9291         (call-next-method, shared-initialize): Instead of using
9292         `scoped-class' variable, use new eieio--scoped-class, and
9293         eieio--with-scoped-class.
9294         (initialize-instance): Rename local variable 'scoped-class' to
9295         'this-class' to remove ambiguitity from old global.
9297         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
9298         eieio.el.
9299         (eieio--scoped-class-stack): New variable.
9300         (eieio--scoped-class): New fcn.
9301         (eieio--with-scoped-class): New scoping macro.
9302         (eieio-defclass): Use pushnew instead of add-to-list.
9303         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9304         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9305         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9306         `scoped-class' variable, use new eieio--scoped-class, and
9307         eieio--with-scoped-class.
9309         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9311 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
9313         * eshell/esh-ext.el (eshell-external-command): Pass args to
9314         `eshell-find-interpreter'.
9315         (eshell-find-interpreter): Add new second parameter ARGS.
9317         * eshell/em-script.el (eshell-script-initialize): Add second arg
9318         to the function added as MATCH to `eshell-interpreter-alist'.
9320         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9321         the function added as MATCH to `eshell-interpreter-alist'.
9323         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9324         (eshell-visual-options): New defcustom.
9325         (eshell-escape-control-x): Adapt docstring.
9326         (eshell-term-initialize): Test `eshell-visual-subcommands' and
9327         `eshell-visual-options' in addition to `eshell-visual-commands'.
9328         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9330 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9332         * progmodes/python.el (python-indent-block-enders): Add break,
9333         continue and raise keywords.
9335 2013-06-01  Glenn Morris  <rgm@gnu.org>
9337         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9339         Plain (f)boundp silences compilation warnings since Emacs 22.1.
9340         * progmodes/cc-cmds.el (delete-forward-p):
9341         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9342         * progmodes/cc-engine.el (buffer-syntactic-context):
9343         * progmodes/cc-fonts.el (face-property-instance):
9344         * progmodes/cc-mode.el (set-keymap-parents):
9345         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9346         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9347         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9348         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9349         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9351         * progmodes/cc-vars.el (other): Emacs has this widget since
9352         at least 21.1, so don't (re)define it.
9354         * eshell/em-cmpl.el (eshell-cmpl-initialize):
9355         Replace the obsolete alias pcomplete-arg-quote-list.
9357 2013-06-01  Leo Liu  <sdl.web@gmail.com>
9359         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9360         punctuation syntax.
9361         (inferior-octave-minimal-columns)
9362         (inferior-octave-last-column-width): New variables.
9363         (inferior-octave-track-window-width-change): New function.
9364         (inferior-octave-mode): Adjust column width so that Octave output,
9365         for example from 'ls', can fit into the window nicely.
9367 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9369         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9370         Highlight expansions inside regexp literals.
9372 2013-05-31  Glenn Morris  <rgm@gnu.org>
9374         * obsolete/sym-comp.el (symbol-complete):
9375         Replace obsolete completion-annotate-function.
9377         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9379 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9381         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9382         New function, checks if point is inside a literal that allows
9383         expression expansion.
9384         (ruby-syntax-propertize-expansion): Use it.
9385         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9386         around the body.
9388 2013-05-30  Juri Linkov  <juri@jurta.org>
9390         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9391         to "\M-si".
9392         (isearch-invisible): New variable.
9393         (isearch-forward): Doc fix.
9394         (isearch-mode): Set `isearch-invisible'
9395         to the value of `search-invisible'.
9396         (isearch-toggle-case-fold): Doc fix.
9397         (isearch-toggle-invisible): New command.
9398         (isearch-query-replace): Let-bind `search-invisible'
9399         to the value of `isearch-invisible'.
9400         (isearch-search): Use `isearch-invisible' instead of
9401         `search-invisible'.  Let-bind `search-invisible'
9402         to the value of `isearch-invisible'.  (Bug#11378)
9404 2013-05-30  Juri Linkov  <juri@jurta.org>
9406         * replace.el (perform-replace): Avoid `isearch-range-invisible'
9407         call when `query-flag' is nil and `search-invisible' is non-nil.
9408         (Bug#11746)
9410 2013-05-30  Glenn Morris  <rgm@gnu.org>
9412         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9414         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9415         (cc-require): Suppress spurious "noruntime" warnings.
9416         (cc-require-when-compile): Use fboundp, for sake of compiler.
9418         * progmodes/cc-mode.el: Move load of cc-vars before that of
9419         cc-langs (which in turn loads cc-vars), to quieten compiler.
9421 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9423         * paren.el: Simplify the code.
9424         (show-paren-mode): Always start the timer.
9425         (show-paren--idle-timer): Rename from show-paren-idle-timer.
9426         (show-paren--overlay, show-paren--overlay-1): Rename from
9427         show-paren-overlay and show-paren-overlay-1, and initialize to an
9428         overlay rather than to nil.
9429         (show-paren-function): Misc cleanup and simplifications.
9431 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9433         * paren.el (show-paren-data-function): New hook.
9434         (show-paren--default): New function, extracted from show-paren-function.
9435         (show-paren-function): Use show-paren-data-function.
9437 2013-05-30  Glenn Morris  <rgm@gnu.org>
9439         * ielm.el (ielm-map, ielm-complete-symbol):
9440         Use completion-at-point rather than obsolete functions.
9441         (inferior-emacs-lisp-mode): Doc fix.
9442         Set completion-at-point-functions, rather than
9443         comint-dynamic-complete-functions.
9445         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9446         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9447         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9449         * image.el (image-animated-p): Tweak definition.
9451         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9452         (rlogin-process-connection-type): Tweak default.  Add set-after.
9453         (rlogin-host): Doc fix.
9454         (rlogin): Tweak prompt.
9455         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9457         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9458         * progmodes/tcl.el (inferior-tcl-mode-map):
9459         Use completion-at-point rather than obsolete alias.
9461         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9463         * minibuffer.el (read-file-name-completion-ignore-case):
9464         Move before completion--in-region, for eager macro expansion.
9466 2013-05-29  Juri Linkov  <juri@jurta.org>
9468         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9469         for total count of matching lines.  Add `global-matches' for total
9470         count of matches.  Rename `matches' to `lines' for count of
9471         matching lines.  Add `matches' for count of matches.
9472         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
9473         to `prev-line' for line number of prev match endpt.
9474         Increment `matches' for every match.  Print the number of
9475         matching lines in the header.
9476         (occur-context-lines): Rename `lines' to `curr-line'.
9477         Rename `prev-lines' to `prev-line'.  (Bug#14017)
9479 2013-05-29  Juri Linkov  <juri@jurta.org>
9481         * replace.el (perform-replace): Add `skip-read-only-count',
9482         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9483         Increment them for corresponding conditions and report the number
9484         of skipped occurrences in the final message.  (Bug#11746)
9485         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9486         (replace-string, replace-regexp): Doc fix.
9488 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9490         * emacs-lisp/trace.el (trace--read-args): Provide a default.
9492         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9493         prog-mode-map (bug#14504).
9495 2013-05-29  Leo Liu  <sdl.web@gmail.com>
9497         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9498         (octave-help): Small simplification.
9500         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9501         off the highlight first.
9503 2013-05-29  Glenn Morris  <rgm@gnu.org>
9505         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9506         Handle idlwave-last-system-routine-info-cons-cell being nil.
9508         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9509         (idlwave-write-paths): Simplify via with-temp-buffer.
9511         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9512         * emulation/cua-rect.el: Also load cua-base at run time.
9514         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9515         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9516         (cperl-imenu-on-info): Require imenu.
9518 2013-05-28  Alan Mackenzie  <acm@muc.de>
9520         Handle "capitalised keywords" correctly.
9521         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9523 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
9525         * eshell/em-unix.el: Add -r option to cp.
9527 2013-05-28  Glenn Morris  <rgm@gnu.org>
9529         * vc/vc-arch.el (vc-exec-after): Declare.
9530         (vc-switches): Autoload.
9531         * vc/vc-bzr.el: No need to require vc when compiling.
9532         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9533         (vc-resynch-buffer, vc-dir-refresh): Declare.
9534         (vc-setup-buffer, vc-switches): Autoload.
9535         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9536         (vc-resynch-buffer): Declare.
9537         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9538         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9539         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9540         (grep-read-regexp, grep-read-files, grep-expand-template)
9541         (vc-dir-refresh): Declare.
9542         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9543         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9544         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9545         * vc/vc-mtn.el (vc-exec-after): Declare.
9546         (vc-switches): Autoload.
9547         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9548         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9549         (vc-file-tree-walk): Declare.
9550         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9551         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9552         (vc-tag-precondition, vc-rename-master): Autoload.
9553         * vc/vc-svn.el (vc-exec-after): Declare.
9554         (vc-switches, vc-setup-buffer): Autoload.
9555         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9556         Autoload.
9557         (vc-resynch-buffer): Declare.
9559         * obsolete/fast-lock.el (byte-compile-warnings):
9560         Don't warn about obsolete features in this obsolete file.
9562         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9563         Move definition before use.
9565         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9566         (dun-unix-verbs): Remove dun-zippy.
9567         (dun-zippy): Remove function.
9569         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9571 2013-05-27  Juri Linkov  <juri@jurta.org>
9573         * replace.el (replace-search): New function with code moved out
9574         from `perform-replace'.
9575         (replace-highlight, replace-dehighlight): Move function definitions
9576         up closer to `replace-search'.  (Bug#11746)
9578 2013-05-27  Juri Linkov  <juri@jurta.org>
9580         * replace.el (perform-replace): Ignore invisible matches.
9581         In addition to checking `query-replace-skip-read-only', also
9582         filter out matches by calling `run-hook-with-args-until-failure'
9583         on `isearch-filter-predicates', and also check `search-invisible'
9584         for t or call `isearch-range-invisible'.
9585         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
9587 2013-05-27  Juri Linkov  <juri@jurta.org>
9589         * isearch.el (isearch-filter-predicates): Rename from
9590         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
9591         (isearch-message-prefix): Display text from the property
9592         `isearch-message-prefix' of the currently active filters.
9593         (isearch-search): Don't compare `isearch-filter-predicate' with
9594         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
9595         on `isearch-filter-predicates'.  Also check `search-invisible' for t
9596         or call `isearch-range-invisible'.
9597         (isearch-filter-visible): Make obsolete.
9598         (isearch-lazy-highlight-search):
9599         Call `run-hook-with-args-until-failure' on
9600         `isearch-filter-predicates' and use `isearch-range-invisible'.
9602         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9603         `isearch-filter-predicates' instead of `funcall'ing
9604         `isearch-filter-predicate'.
9605         (Info-mode): Set `Info-isearch-filter' to
9606         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9608         * dired-aux.el (dired-isearch-filter-predicate-orig):
9609         Remove variable.
9610         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9611         (dired-isearch-filenames-end): Add and remove
9612         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9613         instead of changing the value of `isearch-filter-predicate'.
9614         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9615         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9616         Put property `isearch-message-prefix' to "filename " on
9617         `dired-isearch-filter-filenames'.
9619         * wdired.el (wdired-change-to-wdired-mode):
9620         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9621         locally instead of changing `isearch-filter-predicate'.
9622         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9624 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
9626         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9627         return the commit hash (Bug#14459).  Also set the
9628         `vc-git-detached' property.
9629         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9630         (vc-git-mode-line-string): Use the same help-echo format whether
9631         in detached mode or not, because we know the actual revision now.
9632         When in detached mode, shorten the revision to 7 chars.
9634 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9636         * emacs-lisp/easy-mmode.el (define-minor-mode):
9637         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9638         mode hook and provide a docstring.
9640 2013-05-27  Alan Mackenzie  <acm@muc.de>
9642         Remove spurious syntax-table text properties inserted by C-y.
9643         * progmodes/cc-mode.el (c-after-change): Also clear hard
9644         syntax-table property with value nil.
9646 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
9648         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9649         when reading the events; the buffer layout shall not be changed.
9651 2013-05-27  Leo Liu  <sdl.web@gmail.com>
9653         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9654         New variable.
9655         (inferior-octave-directory-tracker): Automatically re-sync
9656         default-directory.
9657         (octave-help): Improve handling of 'See also'.
9659 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9661         * doc-view.el: Minor naming convention tweaks.
9662         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9664         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9665         even if there's no `display' property yet (bug#14435).
9667 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
9669         * subr.el (unmsys--file-name): Rename from reveal-filename.
9671         * Makefile.in (custom-deps, finder-data, autoloads)
9672         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9673         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9674         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9676 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9678         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9679         error-completion on the first 2 args of condition-case (bug#14446).
9680         Don't burp at EOB.
9682 2013-05-25  Leo Liu  <sdl.web@gmail.com>
9684         * comint.el (comint-previous-matching-input): Do not flood the
9685         *Messages* buffer with trivial messages.
9687 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9689         * progmodes/flymake.el (flymake-nop): Don't return a string.
9690         (flymake-set-at): Fix typo.
9692         * simple.el (read--expression): New function, extracted from
9693         eval-expression.  Set completion-at-point-functions (bug#14465).
9694         (eval-expression, eval-minibuffer): Use it.
9696 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
9698         * progmodes/flymake.el (flymake-save-buffer-in-file)
9699         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9700         (flymake-selected-frame, flymake-log, flymake-ins-after)
9701         (flymake-set-at, flymake-get-buildfile-from-cache)
9702         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9703         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9704         Refine the doc string.
9705         (flymake-get-file-name-mode-and-masks): Reformat.
9706         (flymake-get-real-file-name-function): Fix a minor bug.
9708 2013-05-24  Juri Linkov  <juri@jurta.org>
9710         * progmodes/grep.el (grep-mode-font-lock-keywords):
9711         Support =linenumber= format used by git-grep for lines with
9712         function names.  (Bug#13549)
9714 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9716         * progmodes/octave.el (octave-smie-rules): Return nil rather than
9717         0 after a semi-colon; it works better for smie-auto-fill.
9718         (octave--indent-new-comment-line): New function.
9719         (octave-indent-new-comment-line): Use it (indirectly).
9720         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
9721         modify comment-line-break-function.
9723         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9724         (smie-setup): Use add-function to set it.
9726 2013-05-24  Sam Steingold  <sds@gnu.org>
9728         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9729         argument (before the `interactive' argument).
9731 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9733         * image-mode.el (image-mode-winprops): Add winprops to
9734         image-mode-winprops-alist before running
9735         image-mode-new-window-functions.
9736         * doc-view.el (doc-view-new-window-function): Don't delay
9737         doc-view-goto-page via timers (bug#14435).
9739 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
9741         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
9742         (doc-view-desktop-save-buffer): New function.
9743         (doc-view-restore-desktop-buffer): New function.
9744         (desktop-buffer-mode-handlers):
9745         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9746         handler.
9747         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9748         `desktop-save-buffer' function.
9750 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
9752         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9753         (tramp-gvfs-file-name-handler): Raise a user error when
9754         `tramp-gvfs-enabled' is nil.
9755         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9756         Do not raise a user error when loading package.  (Bug#14447)
9758         * net/xesam.el: Move to obsolete/.
9760 2013-05-24  Glenn Morris  <rgm@gnu.org>
9762         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9764         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9766         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9767         (Info-find-node, Man-getpage-in-background): Declare.
9769         * mail/unrmail.el (unrmail):
9770         Replace obsolete detect-coding-with-priority.
9772         * net/socks.el (socks-split-string): Use this rather than split-string.
9773         (socks-nslookup-host): Update for above change.
9774         (dynamic-choice, s5-dynamic-choice-match)
9775         (s5-dynamic-choice-match-inline, s5-widget-value-create):
9776         Comment out unused code.
9778         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9779         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9780         (gud-tooltip-echo-area): Make obsolete.
9781         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9783         * progmodes/js.el (js--optimize-arglist): Declare.
9785         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9787         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9788         (ediff-window-C): Declare.
9790         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9791         Tweak requires to silence compiler.
9793         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9794         (he-search-string, he-tried-table, he-expand-list)
9795         (he-init-string, he-string-member, he-substitute-string)
9796         (he-reset-string): Declare.
9798         * obsolete/options.el (list-options): Use custom-variable-p,
9799         rather than obsolete alias.
9801 2013-05-23  Sam Steingold  <sds@gnu.org>
9803         * simple.el (shell-command-on-region): Pass the `replace' argument
9804         down to `call-process-region' to comply with the doc as reported on
9805         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9807 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9809         * emacs-lisp/smie.el (smie-indent-forward-token)
9810         (smie-indent-backward-token): Handle string tokens (bug#14381).
9812 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9814         * ielm.el (ielm-menu): New menu.
9815         (inferior-emacs-lisp-mode): Set comment-start.
9817 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9819         * textmodes/reftex.el (reftex-ref-style-toggle):
9820         Fix deactivate action.
9822         * textmodes/reftex-vars.el (reftex-ref-style-alist):
9823         Add cleveref macros.
9825         * textmodes/reftex-parse.el
9826         (reftex-locate-bibliography-files): Accept options for
9827         bibliography commands.
9828         * textmodes/reftex-vars.el (reftex-bibliography-commands):
9829         Add addbibresource.  Basic Biblatex support.
9831 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
9833         * net/tramp-gvfs.el (top):
9834         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9835         when loading package.  (Bug#14447)
9837 2013-05-23  Glenn Morris  <rgm@gnu.org>
9839         * progmodes/js.el: No need to load comint when compiling.
9840         (ring-insert, comint-send-string, comint-send-input)
9841         (comint-last-input-end, ido-chop): Declare.
9843         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9844         * vc/ediff-mult.el: Adjust requires.
9845         (ediff-directories-internal, ediff-directory-revisions-internal)
9846         (ediff-patch-file-internal): Declare.
9847         * vc/ediff-ptch.el: Adjust requires.
9848         (ediff-use-last-dir, ediff-buffers-internal): Declare.
9849         (ediff-find-file): Autoload.
9850         * vc/ediff-util.el: No need to load ediff when compiling.
9851         (ediff-regions-internal): Declare.
9852         * vc/ediff-wind.el: Adjust requires.
9853         (ediff-compute-toolbar-width): Define when compiling.
9854         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9855         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9856         (dired-get-filename, dired-get-marked-files)
9857         (ediff-last-dir-patch, ediff-patch-default-directory)
9858         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9859         (ediff-patch-buffer-internal): Declare.
9861         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9862         (ispell-process, ispell-buffer-local-words, lm-summary)
9863         (lm-section-start, lm-section-end): Declare.
9864         (checkdoc-ispell-init): Simplify.
9866         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9867         (he-string-member, he-reset-string, he-substitute-string): Declare.
9869         * eshell/em-ls.el: Adjust requires.
9870         (eshell-glob-regexp): Declare.
9871         * eshell/em-tramp.el: Adjust requires.
9872         (eshell-parse-command): Autoload.
9873         * eshell/em-xtra.el: Adjust requires.
9874         (eshell-parse-command): Autoload.
9875         * eshell/esh-ext.el: Adjust requires.
9876         (eshell-parse-command, eshell-close-handles): Autoload.
9877         * eshell/esh-io.el: Adjust requires.
9878         (eshell-output-filter): Autoload.
9879         * eshell/esh-util.el: No need to load tramp when compiling.
9880         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9881         Declare.
9882         (eshell-parse-ange-ls): Require ange-ftp and tramp.
9883         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9884         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9885         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9886         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9887         * eshell/esh-opt.el, eshell/esh-proc.el:
9888         * eshell/esh-var.el: Adjust requires.
9889         * eshell/eshell.el: Do not require esh-util twice.
9890         (eshell-add-input-to-history): Declare.
9891         (eshell-command): Check history module is active before using it.
9893         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9895 2013-05-22  Leo Liu  <sdl.web@gmail.com>
9897         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9899 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
9901         * autorevert.el (auto-revert-notify-add-watch)
9902         (auto-revert-notify-handler): Add `attrib' for the inotify case,
9903         it indicates changes in file modification time.
9905 2013-05-22  Glenn Morris  <rgm@gnu.org>
9907         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9908         Always delete the autoloaded function from the noruntime and
9909         unresolved functions lists.
9911         * allout.el: No need to load epa, epg, overlay when compiling.
9912         (epg-context-set-passphrase-callback, epg-list-keys)
9913         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9914         (epg-key-user-id-list): Declare.
9916         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9917         (viper-set-parsing-style-toggling-macro)
9918         (viper-set-emacs-state-searchstyle-macros):
9919         Use called-interactively-p on Emacs.
9920         (viper-looking-back): Make it an obsolete alias.  Update callers.
9921         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9922         Use looking-back rather than viper-looking-back.
9923         (viper-tmp-insert-at-eob, viper-enlarge-region)
9924         (viper-read-string-with-history, viper-register-to-point)
9925         (viper-append-to-register, viper-change-state-to-vi)
9926         (viper-backward-char-carefully, viper-forward-char-carefully)
9927         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9928         (viper-change-state-to-emacs): Declare.
9929         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9930         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9931         * emulation/viper-mous.el: Do not load viper-cmd.
9932         (viper-backward-char-carefully, viper-forward-char-carefully)
9933         (viper-forward-word, viper-adjust-window): Declare.
9935         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9937         * progmodes/idlw-help.el (idlwave-help-fontify):
9938         Use called-interactively-p.
9940         * term/w32console.el (w32-get-console-codepage)
9941         (w32-get-console-output-codepage): Declare.
9943         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9944         Remove unnecessary declarations.
9945         (dframe-message): Doc fix.
9947         * info.el (dframe-select-attached-frame, dframe-current-frame):
9948         Declare.
9950         * speedbar.el (speedbar-message): Make it an obsolete alias.
9951         Update all callers.
9952         (speedbar-with-attached-buffer)
9953         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9954         (speedbar-with-writable): Use backquote.
9955         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9956         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9957         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9958         rather than speedbar- aliases.
9959         * mail/rmail.el: Load dframe rather than speedbar when compiling.
9960         (speedbar-make-specialized-keymap, speedbar-insert-button)
9961         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9962         (speedbar-do-function-pointer): Declare.
9963         (rmail-speedbar-button, rmail-speedbar-find-file)
9964         (rmail-speedbar-move-message):
9965         Use dframe-with-attached-buffer rather than speedbar- alias.
9966         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9967         (dframe-message, speedbar-make-specialized-keymap)
9968         (speedbar-add-expansion-list, speedbar-mode-functions-list)
9969         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9970         (speedbar-insert-button, dframe-select-attached-frame)
9971         (dframe-maybee-jump-to-attached-frame)
9972         (speedbar-change-initial-expansion-list)
9973         (speedbar-previously-used-expansion-list-name): Declare.
9974         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9975         Use dframe-message, dframe-with-attached-buffer rather than
9976         speedbar- aliases.
9977         (gud-sentinel): Silence compiler.
9978         * progmodes/vhdl-mode.el (speedbar-refresh)
9979         (speedbar-do-function-pointer, speedbar-add-supported-extension)
9980         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9981         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9982         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9983         (speedbar-file-lists, speedbar-make-tag-line)
9984         (speedbar-line-directory, speedbar-goto-this-file)
9985         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9986         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9987         (speedbar-make-button, speedbar-reset-scanners)
9988         (speedbar-files-item-info, speedbar-line-text)
9989         (speedbar-find-file-in-frame, speedbar-set-timer)
9990         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9991         (speedbar-with-writable): Do not (re)define it.
9992         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9993         rather than speedbar- alias.
9995 2013-05-21  Leo Liu  <sdl.web@gmail.com>
9997         * progmodes/octave.el (octave-mode-menu): Update and re-organize
9998         menu items.
9999         (octave-mode): Tweak fill-nobreak-predicate.
10000         (inferior-octave-startup): Check process to avoid infinite loop.
10001         (inferior-octave): Pop to buffer first to show abornmal process
10002         exit information.
10004 2013-05-21  Glenn Morris  <rgm@gnu.org>
10006         * printing.el (pr-menu-bar): Define when compiling.
10008 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10010         * progmodes/octave.el (octave-auto-fill): Remove.
10011         (octave-indent-new-comment-line): Improve.
10012         (octave-mode): Use auto fill mode through
10013         comment-line-break-function and fill-nobreak-predicate.
10014         (octave-goto-function-definition): Support DEFUN_DLD.
10015         (octave-beginning-of-defun): Small tweak.
10016         (octave-help): Show parent directory.
10018 2013-05-21  Glenn Morris  <rgm@gnu.org>
10020         * files.el (dired-unmark):
10021         * progmodes/gud.el (gdb-input): Update declarations.
10023         * calculator.el (electric, ehelp): No need to load when compiling.
10024         (Electric-command-loop, electric-describe-mode): Declare.
10026         * doc-view.el (doc-view-current-converter-processes): Move before use.
10028         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10029         Move MODE-set-explicitly definition before use.
10031         * international/mule-diag.el (mule-diag):
10032         Don't use obsolete window-system-version.
10034         * mail/feedmail.el (smtpmail): No need to load when compiling.
10035         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10037         * mail/mail-utils.el (rfc822): No need to load when compiling.
10038         (rfc822-addresses): Autoload it.
10039         (mail-strip-quoted-names): Trivial simplification.
10041         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10042         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10044         * net/snmp-mode.el (tempo): Don't duplicate requires.
10046         * progmodes/prolog.el (info): No need to load when compiling.
10047         (comint): Require before shell requires it.
10048         (Info-goto-node): Autoload it.
10049         (Info-follow-nearest-node): Declare.
10050         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10052         * textmodes/artist.el (picture-mode-exit): Declare.
10054         * textmodes/reftex-parse.el (reftex-parse-from-file):
10055         Trivial rewrite so the compiler can parse it better.
10057 2013-05-20  Leo Liu  <sdl.web@gmail.com>
10059         * progmodes/octave.el (octave-help-mode-map)
10060         (octave-help-mode-finish-hook): New variables.
10061         (octave-help-mode, octave-help-mode-finish): New functions.
10062         (octave-help): Use octave-help-mode.
10064 2013-05-20  Glenn Morris  <rgm@gnu.org>
10066         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
10068 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
10070         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10071         start at point, so that expansion starting right after opening
10072         slash in a regexp is recognized.
10073         (ruby-syntax-before-regexp-re): New defvar, extracted from
10074         ruby-syntax-propertize-function.  Since the value of this regexp
10075         is looked up at runtime now, we should be able to turn
10076         `ruby-syntax-methods-before-regexp' into a defcustom later.
10077         (ruby-syntax-propertize-function): Split regexp matching into two
10078         parts, for opening and closing slashes.  That allows us to skip
10079         over string interpolations and support multiline regexps.
10080         Don't call `ruby-syntax-propertize-expansions', instead use another rule
10081         for them, which calls `ruby-syntax-propertize-expansion'.
10082         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10083         call to `ruby-syntax-propertize-function'.
10084         (ruby-syntax-propertize-expansion): Extracted from
10085         `ruby-syntax-propertize-expansions'.  Handles one expansion.
10086         (ruby-syntax-propertize-percent-literal): Leave point right after
10087         the percent symbol, so that the expression expansion rule can
10088         propertize the contents.
10089         (ruby-syntax-propertize-heredoc): Leave point at bol following the
10090         heredoc openers.
10091         (ruby-syntax-propertize-expansions): Remove.
10093 2013-05-18  Juri Linkov  <juri@jurta.org>
10095         * man.el (Man-default-man-entry): Remove `-' from the end
10096         of the default value.  (Bug#14400)
10098 2013-05-18  Glenn Morris  <rgm@gnu.org>
10100         * comint.el (comint-password-prompt-regexp):
10101         Allow "password for XXX" where XXX contains colons (eg https://...).
10103 2013-05-18  Leo Liu  <sdl.web@gmail.com>
10105         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10106         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
10107         (octave-source-directories): Don't check process.
10108         (octave-source-directories, octave-find-definition): Doc fix.
10110 2013-05-18  Glenn Morris  <rgm@gnu.org>
10112         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10113         Remove backspace/delete bindings.  (Bug#14392)
10115         * cus-dep.el (custom-make-dependencies): Sort the output.
10116         (custom-versions-load-alist): Convert comment to doc.
10118 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10120         * newcomment.el (comment-search-backward): Stricter in finding
10121         comment start.  (Bug#14303)
10123         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10124         (octave-comment-start-skip): Properly anchored.
10126 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10128         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10129         Clean up when turned off.  (Bug#14395)
10130         (smie--highlight-matching-block-overlay): No longer buffer-local.
10131         (smie-highlight-matching-block): Adjust.
10133 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
10135         Doc string fix for "nanoseconds" (Bug#14406).
10136         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10137         Fix doc string typo that had "nanoseconds" instead of "microseconds".
10139 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10141         * calc/calc-units.el (math-extract-units): Preserve powers
10142         of units.
10144 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10146         * subr.el (delete-consecutive-dups): New function.
10147         * ido.el (ido-set-matches-1): Use it.
10148         * progmodes/octave.el (inferior-octave-completion-table): Use it.
10149         * ido.el (ido-remove-consecutive-dups): Remove.
10151 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10153         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10154         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10155         regexp-opt's `words'.
10157 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10159         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10160         (smie--highlight-matching-block-overlay)
10161         (smie--highlight-matching-block-lastpos)
10162         (smie--highlight-matching-block-timer): New variables.
10163         (smie-highlight-matching-block): New function.
10164         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
10165         (smie-setup): Conditionally enable smie-blink-matching-open.
10167 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
10169         Sync with upstream verilog-mode r840.
10170         * progmodes/verilog-mode.el (verilog-mode-version)
10171         (verilog-mode-release-date): Update.
10172         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10173         (verilog-sig-tieoff): Fix string error on
10174         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
10175         (verilog-read-decls): Fix parameters confusing
10176         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
10178 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
10180         * subr.el (reveal-filename): New function.
10182         * loadup.el: Compute Emacs executable versions on MS-Windows,
10183         where executables have the .exe extension.  Add a hard link
10184         emacs-XX.YY.ZZ.exe on MS-Windows.
10186         * Makefile.in (XARGS_LIMIT): New variable.
10187         (custom-deps, finder-data, autoloads)
10188         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10189         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10190         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10191         (compile-main): Limit xargs according to $(XARGS_LIMIT).
10193 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10195         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10196         (octave-mode-menu, octave-mode-map): Remove its uses.
10198 2013-05-16  Reto Zimmermann  <reto@gnu.org>
10200         Sync with upstream vhdl mode v3.34.2.
10201         * progmodes/vhdl-mode.el: Use `push' throughout.
10202         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10203         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10204         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
10205         (vhdl-actual-generic-name): New option to derive actual generic name.
10206         (vhdl-port-paste-signals): Replace formal by actual generics.
10207         (vhdl-beautify): New name for old group vhdl-align.  Update users.
10208         (vhdl-beautify-options): New option.
10209         (vhdl-last-input-event): New compat alias.  Use throughout.
10210         (vhdl-goto-line): Replace user level function `goto-line'.
10211         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10212         vhdl-fix-statement-buffer.
10213         (vhdl-create-mode-menu): Add some entries.
10214         (vhdl-align-region-groups): Respect vhdl-beautify-options.
10215         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10216         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10217         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10218         to force statements on one line.
10219         (vhdl-remove-trailing-spaces-region):
10220         New, split from vhdl-remove-trailing-spaces.
10221         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10222         Respect vhdl-beautify-options.
10223         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10224         (vhdl-update-sensitivity-list): Not add with index if exists without.
10225         Not include array index with signal.  Ignore keywords in comments.
10226         (vhdl-get-visible-signals): Regexp tweaks.
10227         (vhdl-template-component-inst): Handle empty library.
10228         (vhdl-template-type): Add template for 'enum' type.
10229         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10230         Use vhdl-replace-string.
10231         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10232         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10233         (vhdl-speedbar-initialize): Update for above name change.
10234         (vhdl-compose-wire-components): Fix in handling of constants.
10235         (vhdl-error-regexp-emacs-alist): New variable.
10236         (vhdl-error-regexp-add-emacs): New function;
10237         adds support for new compile.el (Emacs 22+)
10238         (vhdl-generate-makefile-1): Change target order for single lib. units.
10239         Allow use of absolute file names.
10241 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10243         * simple.el (prog-indent-sexp): Indent enclosing defun.
10245 2013-05-15  Glenn Morris  <rgm@gnu.org>
10247         * cus-start.el (show-trailing-whitespace): Move to editing basics.
10248         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10249         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10250         (whitespace-highlight): Move to whitespace group.
10252         * comint.el (comint-source):
10253         * pcmpl-linux.el (pcmpl-linux):
10254         * shell.el (shell-faces):
10255         * eshell/esh-opt.el (eshell-opt):
10256         * international/ccl.el (ccl): Remove empty custom groups.
10258         * completion.el (dynamic-completion-mode):
10259         * jit-lock.el (jit-lock-debug-mode):
10260         * minibuffer.el (completion-in-region-mode):
10261         * type-break.el (type-break-mode-line-message-mode)
10262         (type-break-query-mode):
10263         * emulation/tpu-edt.el (tpu-edt-mode):
10264         * progmodes/subword.el (global-subword-mode, global-superword-mode):
10265         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10266         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10268         * term/xterm.el (xterm): Change parent group to terminals.
10270         * master.el (master): Remove empty custom group.
10271         (master-mode): Remove unused :group argument.
10272         * textmodes/refill.el (refill): Remove empty custom group.
10273         (refill-mode): Remove unused :group argument.
10275         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10277         * cus-dep.el: Provide a feature.
10278         (custom-make-dependencies): Ignore dotfiles (dir-locals).
10279         Don't mistakenly ignore files whose basenames match a basename
10280         from preloaded-file-list (eg cedet/ede/simple.el).
10281         Add a fallback method for getting :group.
10283 2013-05-15  Juri Linkov  <juri@jurta.org>
10285         * isearch.el (isearch-char-by-name): Rename from
10286         `isearch-insert-char-by-name'.  Doc fix.
10287         (isearch-forward): Mention `isearch-char-by-name' in
10288         the docstring.  (Bug#13348)
10290         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10291         `exit-minibuffer' instead of
10292         `isearch-nonincremental-exit-minibuffer'.
10293         (isearch-edit-string): Remove mention of
10294         `isearch-nonincremental-exit-minibuffer' from docstring.
10295         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10296         (isearch-forward-exit-minibuffer)
10297         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
10299 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10301         * loadup.el: Just use unversioned DOC.
10303         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10304         literals as extending to EOB.
10305         (nxml-last-fontify-end): Remove unused variable.
10306         (nxml-after-change1): Use with-silent-modifications.
10307         (nxml-extend-after-change-region): Simplify.
10308         (nxml-extend-after-change-region1): Remove function.
10309         (nxml-after-change1): Don't adjust for dependent regions.
10310         (nxml-fontify-matcher): Simplify.
10311         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10312         (xmltok-add-dependent): Remove function.
10313         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10314         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10315         (xmltok-scan-prolog-after-processing-instruction-open): Treat
10316         unclosed <[[, <?, comment, and other literals as extending to EOB.
10317         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10318         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10319         Remove functions.
10320         (rng-do-some-validation-1): Don't mark dependent regions.
10321         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10322         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10323         (nxml-clear-dependent-regions): Remove functions.
10324         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10325         (nxml-ensure-scan-up-to-date):
10326         Don't clear&mark dependent regions.
10328 2013-05-15  Leo Liu  <sdl.web@gmail.com>
10330         * progmodes/octave.el (octave-goto-function-definition):
10331         Improve and fix callers.
10333 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10335         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10336         the setter (bug#14387).
10338         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10339         surrounding group (bug#14402).
10341 2013-05-14  Juri Linkov  <juri@jurta.org>
10343         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10344         (Bug#14390)
10346 2013-05-14  Glenn Morris  <rgm@gnu.org>
10348         * progmodes/f90.el (f90-imenu-generic-expression):
10349         Fix typo in 2013-05-08 change.  (Bug#14402)
10351 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10353         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10354         Remove signals for which replies are never received.
10356 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10358         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10359         (gdb-handler-alist, gdb-handler-number): Remove variables.
10360         (gdb-handler-list): New variable.
10361         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10362         (gdb-pending-handler-p, gdb-handle-reply)
10363         (gdb-remove-all-pending-triggers): New functions.
10364         (gdb-discard-unordered-replies): New defcustom.
10365         (gdb-handler): New defstruct.
10366         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
10367         instead of gdb-pending-triggers.  Update docstring.
10368         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
10369         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10370         (gdb-var-update-handler, def-gdb-auto-update-trigger)
10371         (def-gdb-auto-update-handler, gdb-get-changed-registers)
10372         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10373         (gdb-frame-handler): Pending triggers are now automatically managed.
10374         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10375         Remove argument.
10376         (gdb-input): Automatically handles pending triggers.  Update docstring.
10377         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10378         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10379         Update comments.
10380         (gdb-done-or-error): Now use gdb-handle-reply.
10382 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10384         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10385         gdb-debug-log.
10387 2013-05-14  Glenn Morris  <rgm@gnu.org>
10389         * subr.el (user-emacs-directory-warning): New option.
10390         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
10392 2013-05-14  Leo Liu  <sdl.web@gmail.com>
10394         * progmodes/octave.el (octave-font-lock-keywords): Fix error
10395         during redisplay.
10396         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10397         (octave-font-lock-texinfo-comment): Fix invalid search bound
10398         error: wrong side of point.
10400 2013-05-14  Glenn Morris  <rgm@gnu.org>
10402         * progmodes/flymake.el (flymake-xml-program): New option.
10403         (flymake-xml-init): Use it.
10405         * term/xterm.el: Provide a feature.
10407         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
10409 2013-05-13  Glenn Morris  <rgm@gnu.org>
10411         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10412         Add compat aliases as a hack workaround.  (Bug#14384)
10414 2013-05-13  Leo Liu  <sdl.web@gmail.com>
10416         * progmodes/octave.el (octave-indent-comment): Fix indentation for
10417         ###, and %!.
10418         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10419         C-M-q.
10420         (octave-comment-start-skip): Include %!.
10421         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10423 2013-05-12  Leo Liu  <sdl.web@gmail.com>
10425         * progmodes/octave.el (inferior-octave-startup): Store the value
10426         of __octave_srcdir__ for octave-source-directories.
10427         (inferior-octave-check-process): New function refactored out of
10428         inferior-octave-send-list-and-digest.
10429         (octave-source-directories)
10430         (octave-find-definition-filename-function): New variables.
10431         (octave-source-directories)
10432         (octave-find-definition-default-filename): New functions.
10433         (octave-find-definition): Improve to find functions implemented in C++.
10435 2013-05-12  Glenn Morris  <rgm@gnu.org>
10437         * calendar/diary-lib.el (diary-outlook-format-1):
10438         Don't include dayname in the output.  (Bug#14349)
10440 2013-05-11  Glenn Morris  <rgm@gnu.org>
10442         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10444         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10445         Treat cc-provide like provide.
10447 2013-05-11  Kevin Ryde  <user42@zip.com.au>
10449         * cus-dep.el (custom-make-dependencies):
10450         Use generated-autoload-load-name for the sake of files such
10451         such cedet/semantic/bovine/c.el, where the base file name
10452         is not in load-path.  (Bug#5277)
10454 2013-05-11  Glenn Morris  <rgm@gnu.org>
10456         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10457         Provide features.
10459 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10461         * progmodes/octave.el (octave-indent-comment): Improve.
10462         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10463         (octave-eldoc-function-signatures, octave-eldoc-function):
10464         New functions.
10465         (octave-mode, inferior-octave-mode): Add eldoc support.
10467 2013-05-11  Richard Stallman  <rms@gnu.org>
10469         * epa.el (epa-decrypt-file): Take output file name as argument
10470         and read it using `interactive'.
10472 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10474         * progmodes/octave.el (octave-beginning-of-line)
10475         (octave-end-of-line): Check before using up-list because it jumps
10476         out of more syntactic contructs since moving to smie.
10477         (octave-indent-comment): New function.
10478         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
10479         (octave-begin-keywords, octave-end-keywords)
10480         (octave-reserved-words, octave-smie-bnf-table)
10481         (octave-smie-rules): Add new keywords from Octave 3.6.4.
10483 2013-05-11  Glenn Morris  <rgm@gnu.org>
10485         * faces.el (internal-face-x-get-resource):
10486         * frame.el (ns-display-monitor-attributes-list):
10487         * calc/calc-aent.el (math-to-radians-2):
10488         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10489         Fix declarations.
10491         * calc/calc-menu.el: Make it loadable in isolation.
10493         * net/eudcb-bbdb.el: Make it loadable without bbdb.
10494         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10495         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10496         (eudc-bbdb-query-internal): Require 'bbdb.
10498         * lpr.el (lpr-headers-switches):
10499         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10501         * progmodes/sql.el (sql-login-params): Fix and improve :type.
10503         * emulation/edt-mapper.el: In batch mode, error rather than hang.
10505         * term.el (term-set-escape-char): Make it idempotent.
10507 2013-05-10  Leo Liu  <sdl.web@gmail.com>
10509         * progmodes/octave.el (inferior-octave-completion-table):
10510         No longer a function and all uses changed.  Use cache to speed up
10511         completion due to bug#11906.
10512         (octave-beginning-of-defun): Re-write to be more general.
10514 2013-05-10  Glenn Morris  <rgm@gnu.org>
10516         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10518 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10520         * comint.el (comint-redirect-send-command-to-process): Use :around
10521         rather than :override for comint-redirect-filter.
10522         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10523         Call it instead of comint-redirect-original-filter-function (which
10524         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
10526 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
10528         * frame.el (display-monitor-attributes-list): Add NS case.
10529         (ns-display-monitor-attributes-list): Declare.
10531 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
10533         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
10535 2013-05-09  Glenn Morris  <rgm@gnu.org>
10537         * international/fontset.el (vertical-centering-font-regexp):
10538         Set standard-value.
10540         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10542         * bookmark.el (bookmark-search-delay):
10543         * cus-start.el (vertical-centering-font-regexp):
10544         * ps-mule.el (ps-mule-font-info-database-default):
10545         * ps-print.el (ps-default-fg, ps-default-bg):
10546         * type-break.el (type-break-good-break-interval):
10547         * whitespace.el (whitespace-indentation-regexp)
10548         (whitespace-space-after-tab-regexp):
10549         * emacs-lisp/testcover.el (testcover-1value-functions)
10550         (testcover-noreturn-functions, testcover-progn-functions)
10551         (testcover-prog1-functions):
10552         * emulation/viper-init.el (viper-emacs-state-cursor-color):
10553         * eshell/em-glob.el (eshell-glob-translate-alist):
10554         * play/tetris.el (tetris-tty-colors):
10555         * progmodes/cpp.el (cpp-face-default-list):
10556         * progmodes/flymake.el (flymake-allowed-file-name-masks):
10557         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10558         (idlwave-help-browser-generic-args):
10559         * progmodes/make-mode.el (makefile-special-targets-list):
10560         * progmodes/python.el (python-shell-virtualenv-path):
10561         * progmodes/verilog-mode.el (verilog-active-low-regexp)
10562         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10563         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10564         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10565         * textmodes/reftex-vars.el (reftex-format-label-function):
10566         * textmodes/remember.el (remember-diary-file): Fix custom types.
10568         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10569         Add :version.
10571 2013-05-09  Leo Liu  <sdl.web@gmail.com>
10573         * progmodes/octave.el (inferior-octave-completion-at-point):
10574         Restore file completion.  (Bug#14300)
10575         (inferior-octave-startup): Fix incorrect highlighting for the
10576         first prompt.
10578 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10580         * progmodes/ruby-mode.el: First cut at SMIE support.
10581         (ruby-use-smie): New var.
10582         (ruby-smie-grammar): New constant.
10583         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10584         (ruby-smie--forward-token, ruby-smie--backward-token)
10585         (ruby-smie-rules): New functions.
10586         (ruby-mode-variables): Setup SMIE if applicable.
10588 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
10590         * simple.el (line-move-visual): Signal beginning/end of buffer
10591         only if vertical-motion moved less than it was requested.  Avoids
10592         silly incorrect error messages when there are display strings with
10593         multiple newlines at EOL.
10595 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10597         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10598         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10599         (prolog-char-quote-workaround):
10600         * progmodes/cperl-mode.el (cperl-under-as-char):
10601         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10602         Mark as obsolete.
10603         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10604         their declaration.
10605         (vhdl-mode-syntax-table-init): Remove.
10607         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10608         last change.
10610         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10611         syntax for "_".
10612         (ld-script-font-lock-keywords):
10613         Change regexps to use things like \_< and \_>.
10615         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10616         Change all regexps to use things like \_< and \_>.
10618         * progmodes/autoconf.el (autoconf-definition-regexp)
10619         (autoconf-font-lock-keywords, autoconf-current-defun-function):
10620         Handle a _ with symbol syntax.
10621         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10623         * progmodes/ada-mode.el (ada-mode-abbrev-table):
10624         Consolidate declaration.
10625         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10626         the declaration.
10627         (ada-create-syntax-table): Remove.
10628         (ada-capitalize-word): Don't mess with the syntax of "_" since it
10629         already has the right syntax nowadays.
10630         (ada-goto-next-word): Don't change the syntax of "_".
10632         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10633         with-wrapper-hook.
10635 2013-05-08  Sam Steingold  <sds@gnu.org>
10637         * thingatpt.el (thing-at-point): Accept optional second argument
10638         NO-PROPERTIES to strip the text properties from the return value.
10639         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10640         to `thing-at-point' instead of stripping the properties ourselves.
10641         Also, when `thing-at-point' fails to find a url, prepend "http://"
10642         to the filename at point on the assumption that the user is
10643         pointing at something like gnu.org/gnu.
10645 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
10647         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10648         * faces.el (crm-separator):
10649         Silence byte-compiler.
10651         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10652         (tool-bar-map): Remove unneeded defvars.
10654 2013-05-08  Leo Liu  <sdl.web@gmail.com>
10656         Re-work a fix for bug#10994 based on Le Wang's patch.
10657         * ido.el (ido-remove-consecutive-dups): New helper.
10658         (ido-completing-read): Use it.
10659         (ido-chop): Revert fix for bug#10994.
10661 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
10663         * cus-edit.el (custom-save-variables):
10664         Pretty-print long values.  (Bug#14187)
10666 2013-05-08  Glenn Morris  <rgm@gnu.org>
10668         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10669         (m4-mode-syntax-table): Init in the defvar.
10670         (m4-mode-abbrev-table): Let define-derived-mode define it.
10672 2013-05-08  Tom Tromey  <tromey@redhat.com>
10674         * progmodes/m4-mode.el (m4-mode-syntax-table):
10675         Do not treat "_" as word constituent.  (Bug#14167)
10677 2013-05-07  Glenn Morris  <rgm@gnu.org>
10679         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10680         Remove explicit eshell-isearch-cancel-map.
10682         * progmodes/f90.el (f90-smart-end-names): New option.
10683         (f90-smart-end): Doc fix.
10684         (f90-end-block-optional-name): New constant.
10685         (f90-block-match): Respect f90-smart-end-names.
10687 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10689         * progmodes/octave.el (octave-smie-forward-token): Be more careful
10690         about implicit semi-colons (bug#14218).
10692 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10694         * frame.el (display-monitor-attributes-list)
10695         (frame-monitor-attributes): New functions.
10697 2013-05-06  Leo Liu  <sdl.web@gmail.com>
10699         * progmodes/octave.el (octave-syntax-propertize-function): Change
10700         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
10701         (octave-font-lock-keywords): Use octave-operator-regexp.
10702         (octave-completion-at-point): Rename from
10703         octave-completion-at-point-function.
10704         (inferior-octave-directory-tracker): Robustify.
10705         (octave-text-functions): Remove and fix its uses.  No such things
10706         any more.
10708 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * emacs-lisp/trace.el (trace--display-buffer): New function.
10711         (trace-make-advice): Use it.
10713 2013-05-06  Juri Linkov  <juri@jurta.org>
10715         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
10716         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10717         Doc fix.
10718         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10719         in the help string.  (Bug#12985)
10721 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
10723         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
10725 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10727         * progmodes/perl-mode.el: Add support for here documents.
10728         (perl-syntax-propertize-function): Match here-doc markers.
10729         (perl-syntax-propertize-special-constructs): Find their end.
10730         (perl-imenu-generic-expression): Use [:alnum:].
10732         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10733         (advice--add-function): Refresh the advice if already present
10734         (bug#14317).
10736 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
10738         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
10740 2013-05-06  Glenn Morris  <rgm@gnu.org>
10742         * w32-fns.el (w32-charset-info-alist): Declare.
10744         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10745         of its defcustom properties.
10746         (eshell-cmpl-initialize): No need to load pcomplete.
10748         * generic-x.el: No need to require comint when compiling.
10750         * net/eudc-export.el: Make it loadable without bbdb.
10751         (top-level): Use require rather than load-library.
10752         (eudc-create-bbdb-record, eudc-bbdbify-phone)
10753         (eudc-batch-export-records-to-bbdb)
10754         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10755         Require bbdb.
10757 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10759         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10760         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10761         some tweaks, instead.
10763 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10765         * progmodes/octave.el (octave-font-lock-keywords)
10766         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10767         (inferior-octave-send-list-and-digest): Improve error message.
10768         (octave-mode, inferior-octave-mode): Use setq-local.
10769         (octave-help): Set info-lookup-mode.
10771 2013-05-05  Richard Stallman  <rms@gnu.org>
10773         * vc/compare-w.el (compare-windows-whitespace):
10774         Treat no-break space as whitespace.
10776         * mail/rmailsum.el (rmail-summary-rmail-update):
10777         Detect empty summary and don't change selected message.
10778         (rmail-summary-goto-msg): Likewise.
10780         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10781         Doc fixes, rename args.
10783 2013-05-05  Alan Mackenzie  <acm@muc.de>
10785         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10787 2013-05-05  Juri Linkov  <juri@jurta.org>
10789         * info.el (Info-read-subfile): Use (point-min) instead of (point)
10790         to not add the length of the summary segment to the return value.
10791         (Bug#14125)
10793 2013-05-05  Leo Liu  <sdl.web@gmail.com>
10795         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10796         (inferior-octave-output-filter): Remove.
10797         (octave-send-region, inferior-octave-startup): Fix callers.
10798         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10799         (octave-binary-file-extensions): New user variable.
10800         (octave-find-definition): Confirm if opening binary files.
10801         (octave-help-file): Use octave-find-definition to get the binary
10802         confirmation.
10803         (octave-help): Adjust for octave-help-file change.
10805 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10807         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10808         Merge the two entries that handle function definitions.
10809         (pascal--syntax-propertize): New const.
10810         (pascal-mode): Use it.  Use setq-local.
10812 2013-05-04  Glenn Morris  <rgm@gnu.org>
10814         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10815         (diary-from-outlook): Respect diary-from-outlook-function.
10817 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10819         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10820         Move the declaration from C.
10821         (read-minibuffer, eval-minibuffer): Move from C.
10822         (completion-setup-function): Avoid minibuffer-completion-contents.
10824 2013-05-03  Leo Liu  <sdl.web@gmail.com>
10826         * progmodes/octave.el (octave-font-lock-keywords): Do not
10827         dehighlight 'end' in comments or strings.
10828         (octave-completing-read, octave-goto-function-definition):
10829         New helpers.
10830         (octave-help-buffer): New user variable.
10831         (octave-help-file, octave-help-function): New button types.
10832         (octave-help): New command and bind it to C-h ;.
10833         (octave-find-definition): New command and bind it to M-.
10834         (user-error): Alias to error if not defined.
10836 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10838         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10839         for \.  (bug#14332)
10840         (octave-font-lock-keywords): Include [ and {.
10842 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10844         * progmodes/octave.el (inferior-octave-startup-file): Change default.
10845         (inferior-octave): Remove calling comint-mode and return the buffer.
10846         (inferior-octave-startup): Cosmetic changes.
10848 2013-05-02  Leo Liu  <sdl.web@gmail.com>
10850         * progmodes/octave.el (octave-syntax-propertize-function):
10851         Include the case when ' is at line beginning.  (Bug#14336)
10853 2013-05-02  Glenn Morris  <rgm@gnu.org>
10855         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10856         * desktop.el (vc-dir-mode): Just autoload it here.
10858 2013-05-02  Alan Mackenzie  <acm@muc.de>
10860         Eliminate variable c-standard-font-lock-fontify-region-function.
10861         * progmodes/cc-mode.el
10862         (c-standard-font-lock-fontify-region-function): Remove.
10863         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10865 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10867         * progmodes/octave.el: Compatible with older emacs-24 releases.
10868         (inferior-octave-has-built-in-variables): Remove.  Built-in
10869         variables were removed from Octave in 2007.
10870         (inferior-octave-startup): Fix uses.
10871         (comint-line-beginning-position): Remove compatibility code for
10872         emacs 21.
10874 2013-05-01  Juri Linkov  <juri@jurta.org>
10876         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
10878 2013-05-01  Juri Linkov  <juri@jurta.org>
10880         * comint.el (comint-previous-matching-input): Don't print message
10881         "History item: %d" when `isearch-mode' is active.
10882         (comint-history-isearch-message): Print message "History item: %d"
10883         when `comint-input-ring-index' is not empty and this function is
10884         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
10886 2013-05-01  Leo Liu  <sdl.web@gmail.com>
10888         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10889         definitions.  Use completion-at-point to insert keywords.
10890         (octave-abbrev-start): Remove.
10891         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10893 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10895         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10896         change.
10898 2013-04-30  Alan Mackenzie  <acm@muc.de>
10900         Handle arbitrarily long C++ member initialisation lists.
10901         * progmodes/cc-engine.el (c-back-over-member-initializers):
10902         new function.
10903         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10904         (most) member init lists.
10906 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10908         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10909         variable.
10911 2013-04-30  Leo Liu  <sdl.web@gmail.com>
10913         * progmodes/octave.el (octave-variables): Remove.  No builtin
10914         variables any more.  All converted to functions.
10915         (octave-font-lock-keywords, octave-completion-at-point-function):
10916         Fix uses.
10917         (octave-font-lock-texinfo-comment): New user variable.
10918         (octave-texinfo-font-lock-keywords): New variable for texinfo
10919         comment block.
10920         (octave-function-comment-block): New face.
10921         (octave-font-lock-texinfo-comment): New function.
10922         (octave-mode): Font lock texinfo comment block.
10924 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10926         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10927         indexing expression.
10928         (octave-continuation-string): Do not use \.
10929         (inferior-octave-complete-impossible): Remove.
10930         (inferior-octave-completion-table)
10931         (inferior-octave-completion-at-point): Remove its uses.
10932         (inferior-octave-startup): completion_matches was introduced to
10933         Octave in 1996 so safe to assume it.
10934         (octave-function-file-comment): Improve to follow how Octave does it.
10935         (octave-update-function-file-comment): Tweak.
10937 2013-04-29  Leo Liu  <sdl.web@gmail.com>
10939         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10940         (inferior-octave-startup): Remove inferior-octave-startup-hook.
10941         (octave-function-file-comment): Fix typo.
10942         (octave-sync-function-file-names): Use read-char-choice.
10944 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
10946         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10947         to t for the less important warnings.
10949 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
10951         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
10953 2013-04-27  Glenn Morris  <rgm@gnu.org>
10955         * vc/log-view.el (log-view-current-entry):
10956         Treat "---" separator lines as part of the following rev.  (Bug#14169)
10958 2013-04-27  Juri Linkov  <juri@jurta.org>
10960         * subr.el (read-number): Doc fix about using it by interactive
10961         code letter `n'.  (Bug#14254)
10963 2013-04-27  Juri Linkov  <juri@jurta.org>
10965         * desktop.el (desktop-auto-save-timeout): New option.
10966         (desktop-file-checksum): New variable.
10967         (desktop-save): Add optional arg `auto-save' and don't auto-save
10968         if nothing changed.
10969         (desktop-auto-save-timer): New variable.
10970         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10971         (after-init-hook): Call `desktop-auto-save-set-timer'.
10972         Suggested by Reuben Thomas <rrt@sc3d.org> in
10973         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10975 2013-04-27  Leo Liu  <sdl.web@gmail.com>
10977         * progmodes/octave.el (octave-function-file-p)
10978         (octave-skip-comment-forward, octave-function-file-comment)
10979         (octave-update-function-file-comment): New functions.
10980         (octave-mode-map): Bind C-c ; to
10981         octave-update-function-file-comment.
10982         (octave-mode-menu): Add octave-update-function-file-comment.
10983         (octave-mode, inferior-octave-mode): Fix doc-string.
10984         (octave-insert-defun): Conform to Octave's coding convention.
10985         (Bug#14285)
10987         * files.el (basic-save-buffer): Don't let errors in
10988         before-save-hook prevent saving buffer.
10990 2013-04-20  Roland Winkler  <winkler@gnu.org>
10992         * faces.el (read-face-name): Use completing-read if arg multiple
10993         is nil.
10995 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
10997         * ls-lisp.el (ls-lisp-insert-directory): If no files are
10998         displayed, move point to after the totals line.
10999         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11000         for the details.
11002 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11004         * emacs-lisp/package.el (package-autoload-ensure-default-file):
11005         Add current dir to the load-path.
11006         (package-generate-autoloads): Don't rely on
11007         autoload-ensure-default-file.
11009 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
11011         * textmodes/remember.el (remember-store-in-files): Document that
11012         the file name format is passed to `format-time-string'.
11014 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11016         * progmodes/octave.el (octave-sync-function-file-names): New function.
11017         (octave-mode): Use it in before-save-hook.
11019 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11021         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11022         (bug#14274).
11024         * progmodes/octave.el (octave-smie-forward-token): Properly skip
11025         \n and comment, even if it's not an implicit ; (bug#14218).
11027 2013-04-26  Glenn Morris  <rgm@gnu.org>
11029         * subr.el (read-number): Once more use `read' rather than
11030         `string-to-number', to trap non-numeric input.  (Bug#14254)
11032 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
11034         * emacs-lisp/syntax.el (syntax-propertize-multiline):
11035         Use `syntax-multiline' text property consistently instead of
11036         `font-lock-multiline'.  (Bug#14237)
11038 2013-04-26  Glenn Morris  <rgm@gnu.org>
11040         * emacs-lisp/shadow.el (list-load-path-shadows):
11041         No longer necessary to check for duplicate simple.el, since
11042         2012-07-07 change to init_lread to not include installation lisp
11043         directories in load-path when running uninstalled.  (Bug#14270)
11045 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11047         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11048         (octave-mode, inferior-octave-mode): Use setq-local.
11049         (octave-not-in-string-or-comment-p): Rename to
11050         octave-in-string-or-comment-p.
11051         (octave-in-comment-p, octave-in-string-p)
11052         (octave-in-string-or-comment-p): Replace defsubst with defun.
11054 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
11056         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11058 2013-04-25  Bastien Guerry  <bzg@gnu.org>
11060         * textmodes/remember.el (remember-data-directory)
11061         (remember-directory-file-name-format): Fix custom types.
11063 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11065         * progmodes/octave.el (octave-completion-at-point-function):
11066         Make use of inferior octave process.
11067         (octave-initialize-completions): Remove.
11068         (inferior-octave-completion-table): New function.
11069         (inferior-octave-completion-at-point): Use it.
11070         (octave-completion-alist): Remove.
11072 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11074         * progmodes/opascal.el: Use font-lock and syntax-propertize.
11075         (opascal-mode-syntax-table): New var.
11076         (opascal-literal-kind, opascal-is-literal-end)
11077         (opascal-literal-token-at): Rewrite.
11078         (opascal--literal-start-re, opascal-font-lock-keywords)
11079         (opascal--syntax-propertize): New constants.
11080         (opascal-font-lock-defaults): Adjust.
11081         (opascal-mode): Use them.  Set comment-<foo> variables as well.
11082         (delphi-comment-face, opascal-comment-face, delphi-string-face)
11083         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11084         (delphi-other-face, opascal-other-face): Remove face variables.
11085         (opascal-save-state): Remove macro.
11086         (opascal-fontifying-progress-step): Remove constant.
11087         (opascal--ignore-changes): Remove var.
11088         (opascal-set-token-property, opascal-parse-next-literal)
11089         (opascal-is-stable-literal, opascal-complete-literal)
11090         (opascal-is-literal-start, opascal-face-of)
11091         (opascal-parse-region, opascal-parse-region-until-stable)
11092         (opascal-fontify-region, opascal-after-change)
11093         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11094         (opascal-debug-parse-region, opascal-debug-parse-window)
11095         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11096         (opascal-debug-fontify-buffer): Remove.
11097         (opascal-debug-mode-map): Adjust accordingly.
11099 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11101         Merge octave-mod.el and octave-inf.el into octave.el with some
11102         cleanups.
11103         * progmodes/octave.el: New file renamed from octave-mod.el.
11104         * progmodes/octave-inf.el: Merged into octave.el.
11105         * progmodes/octave-mod.el: Renamed to octave.el.
11107 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
11109         * textmodes/reftex-vars.el
11110         (reftex-label-ignored-macros-and-environments): New defcustom.
11112         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11114 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11116         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11117         (smie-indent-keyword): Improve the check to ensure that the next
11118         comment is really on the same line.
11119         (smie-indent-comment): Don't align with a subsequent closer (or eob).
11121         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11122         semi-colons if the line is not otherwise empty (bug#14218).
11124 2013-04-25  Glenn Morris  <rgm@gnu.org>
11126         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11128 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11130         * progmodes/opascal.el (opascal-set-token-property): Rename from
11131         opascal-set-text-properties and only set `token' (bug#14134).
11132         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11133         (opascal-literal-text-properties): Remove.
11134         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11135         Adjust callers.
11137 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
11139         * textmodes/remember.el (remember-handler-functions): Add an
11140         option for a new handler `remember-store-in-files'.
11141         (remember-data-directory, remember-directory-file-name-format):
11142         New options.
11143         (remember-store-in-files): New function to store remember notes
11144         as separate files within a directory.
11146 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
11148         * progmodes/compile.el (compilation-next-error-function):
11149         Pass "formats" to compilation-find-file (bug#11777).
11151 2013-04-24  Glenn Morris  <rgm@gnu.org>
11153         * vc/vc-bzr.el (vc-bzr-print-log):
11154         * vc/vc-hg.el (vc-hg-print-log):
11155         * vc/vc-svn.el (vc-svn-print-log):
11156         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
11158         * vc/vc-bzr.el (vc-bzr-print-log):
11159         * vc/vc-cvs.el (vc-cvs-print-log):
11160         * vc/vc-git.el (vc-git-print-log):
11161         * vc/vc-hg.el (vc-hg-print-log):
11162         * vc/vc-mtn.el (vc-mtn-print-log):
11163         * vc/vc-rcs.el (vc-rcs-print-log):
11164         * vc/vc-sccs.el (vc-sccs-print-log):
11165         * vc/vc-svn.el (vc-svn-print-log):
11166         * vc/vc.el (vc-print-log-internal): Doc fixes.
11168 2013-04-23  Glenn Morris  <rgm@gnu.org>
11170         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11171         Remove venerable code attempting to avoid substitute-command-keys.
11173 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
11175         * textmodes/reftex-vars.el (reftex-label-regexps):
11176         Call `reftex-compile-variables' after changes to this variable.
11178 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11180         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11181         Use lexical-binding.
11182         (jit-lock-force-redisplay): Use markers, check buffer's continued
11183         existence and beware narrowed buffers.
11184         (jit-lock-fontify-now): Adjust call accordingly.
11186 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11188         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11189         to avoid misleading the user.
11191 2013-04-22  Leo Liu  <sdl.web@gmail.com>
11193         * info-look.el: Prefer latex2e.info.  (Bug#14240)
11195 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
11197         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
11199         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11200         * net/tramp.el (tramp-call-process): ... here.
11201         (tramp-set-completion-function, tramp-parse-putty):
11202         * net/tramp-adb.el (tramp-adb-execute-adb-command):
11203         * net/tramp-gvfs.el (tramp-gvfs-send-command):
11204         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11205         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11206         (tramp-call-local-coding-command): Use `tramp-call-process'
11207         instead of `tramp-compat-call-process'.
11209         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11210         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11211         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11212         (tramp-find-inline-compress): Improve traces.
11213         (tramp-maybe-send-script): Check for Perl binary.
11214         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11216 2013-04-22  Daiki Ueno  <ueno@gnu.org>
11218         * epg.el (epg-context-pinentry-mode): New function.
11219         (epg-context-set-pinentry-mode): New function.
11220         (epg--start): Pass --pinentry-mode option to gpg command.
11222 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
11224         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11225         `comint-dynamic-complete' is obsolete since 24.1, replaced by
11226         `completion-at-point'.  (Bug#13774)
11228         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11229         default key binding for `describe-distribution' has been moved to
11230         `C-h C-o'.  (Bug#13970)
11232 2013-04-21  Glenn Morris  <rgm@gnu.org>
11234         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11235         Add doc strings.
11236         (vc-print-log): Clarify interactive prompt.
11238 2013-04-20  Glenn Morris  <rgm@gnu.org>
11240         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11241         No longer include timestamp etc information.
11243 2013-04-20  Roland Winkler  <winkler@gnu.org>
11245         * faces.el (read-face-name): Bug fix, return just one face if arg
11246         multiple is nil.  (Bug#14209)
11248 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11250         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11251         (remove-function): Autoload.
11253         * comint.el (comint-redirect-original-filter-function): Remove.
11254         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11255         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11256         (vc-cvs-annotate-command):
11257         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11258         * progmodes/prolog.el (prolog-consult-compile):
11259         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11260         Use add/remove-function instead.
11261         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11262         (gud-tooltip-process-output, gud-tooltip-tips):
11263         Use add/remove-function instead.
11264         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11265         (scheme-interaction-mode, exit-scheme-interaction-mode):
11266         Use add/remove-function instead.
11268         * vc/vc-dispatcher.el: Use lexical-binding.
11269         (vc--process-sentinel): Rename from vc-process-sentinel.
11270         Change last arg to be the code to run.  Don't use vc-previous-sentinel
11271         and vc-sentinel-commands any more.
11272         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
11273         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11275 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
11277         * progmodes/sh-script.el (sh-imenu-generic-expression):
11278         Handle function names with a single character.   (Bug#14111)
11280 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
11282         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11283         for subroutines defined in an eval (bug#14182).
11285 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11287         * bookmark.el (bookmark-completing-read): Improve handling of empty
11288         string (bug#14176).
11290 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11292         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11294 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11296         New faster Imenu implementation (bug#14058).
11297         * progmodes/python.el:
11298         (python-imenu-prev-index-position):
11299         (python-imenu-format-item-label-function)
11300         (python-imenu-format-parent-item-label-function)
11301         (python-imenu-format-parent-item-jump-label-function):
11302         New vars.
11303         (python-imenu-format-item-label)
11304         (python-imenu-format-parent-item-label)
11305         (python-imenu-format-parent-item-jump-label)
11306         (python-imenu--put-parent, python-imenu--build-tree)
11307         (python-imenu-create-index, python-imenu-create-flat-index)
11308         (python-util-popn): New functions.
11309         (python-mode): Set imenu-create-index-function to
11310         python-imenu-create-index.
11312 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11314         * winner.el (winner-active-region): Use region-active-p, activate-mark
11315         and deactivate-mark (bug#14225).
11317         * simple.el (deactivate-mark): Don't inline it.
11319 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
11321         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11323 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
11325         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11326         file extensions from the archive-mode entry in order to prefer
11327         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11329 2013-04-18  Leo Liu  <sdl.web@gmail.com>
11331         * bindings.el (help-event-list): Add ?\?.
11333 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11335         * subr.el (with-wrapper-hook): Declare obsolete.
11336         * simple.el (filter-buffer-substring-function): New hook.
11337         (filter-buffer-substring): Use it.
11338         (filter-buffer-substring-functions): Mark obsolete.
11339         * minibuffer.el (completion-in-region-function): New hook.
11340         (completion-in-region): Use it.
11341         (completion-in-region-functions): Mark obsolete.
11342         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11343         * abbrev.el (abbrev-expand-function): New hook.
11344         (expand-abbrev): Use it.
11345         (abbrev-expand-functions): Mark obsolete.
11346         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11347         and :filter-return.
11349 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11351         * progmodes/python.el (python-nav--syntactically): Fix cornercases
11352         and do not care about match data.
11354 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11356         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11357         completion tables when completing error conditions and
11358         `declare' arguments.
11359         (lisp-complete-symbol, field-complete): Mark as obsolete.
11360         (check-parens): Unmatched parens are user errors.
11361         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11363 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
11365         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11366         command changed buffer (ie. `flyspell-pre-buffer' is not current
11367         buffer), which prevents making decisions based on invalid value of
11368         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
11369         cause an error when `flyspell-pre-point' was nil after switching
11370         buffers.
11371         (flyspell-post-command-hook): No longer needs to change buffers when
11372         checking pre-word.  While at it remove unnecessary progn.
11374 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
11376         * textmodes/ispell.el (ispell-add-per-file-word-list):
11377         Fix `flyspell-correct-word-before-point' error when accepting
11378         words and `coment-padding' is an integer by using
11379         `comment-normalize-vars' (Bug #14214).
11381 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11383         New defun movement commands.
11384         * progmodes/python.el (python-nav--syntactically)
11385         (python-nav--forward-defun, python-nav-backward-defun)
11386         (python-nav-forward-defun): New functions.
11388 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11390         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11391         (python-syntax-context): Use named compiler-macro for backwards
11392         compatibility with Emacs 24.x.
11394 2013-04-17  Leo Liu  <sdl.web@gmail.com>
11396         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11397         octave-hide-process-buffer.
11399 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11401         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11402         (bug#14216).
11404 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
11406         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11407         Fix adjustment of offset when receiving incomplete responses from GDB
11408         (bug#14129).
11410 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11412         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11413         python-mode-abbrev-table.
11414         (python-skeleton-define): Adjust accordingly.
11415         (python-mode-abbrev-table): New table that inherits from it so that
11416         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11418         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11419         (abbrev-symbol): Use it.
11420         (abbrev--before-point): Use it since we already handle inheritance.
11422 2013-04-16  Leo Liu  <sdl.web@gmail.com>
11424         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11425         binding to info-lookup-symbol.
11427 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
11429         * minibuffer.el (completion--twq-all):
11430         * term/ns-win.el (ns-initialize-window-system):
11431         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11433 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11435         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11436         global bindings.
11438         * doc-view.el (doc-view-start-process): Handle url-handler directories.
11440 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
11442         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11443         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11444         to nil.
11445         (ruby-end-of-defun): Remove the unused arg, change the docstring
11446         to reflect that this function is only used as the value of
11447         `end-of-defun-function'.
11448         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11449         to reflect an earlier change that beginning/end-of-defun functions
11450         jump between methods in a class definition, as well as top-level
11451         functions.
11453 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11455         * minibuffer.el (minibuffer-complete): Don't just scroll
11456         a *Completions* that's been iconified.
11457         (minibuffer-force-complete): Make sure repetitions do cycle when going
11458         through completion-in-region -> minibuffer-complete.
11460 2013-04-15  Alan Mackenzie  <acm@muc.de>
11462         Correct the placement of c-cpp-delimiters when there're #s not at
11463         col 0.
11465         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11466         place a submatch around the #.
11467         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11468         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
11469         on the #, not BOL.
11471 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11473         * emacs-lisp/nadvice.el: Properly test names when adding advice.
11474         (advice--member-p): New arg `name'.
11475         (advice--add-function, advice-member-p): Use it (bug#14202).
11477 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
11479         Reformulate java imenu-generic-expression.
11480         The old expression contained ill formed regexps.
11482         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11483         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11484         (cc-imenu-java-method-arg-regexp): New defconsts.
11485         (cc-imenu-java-build-type-args-regex): New defun.
11486         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11487         handling of spaces in the regexp.
11489 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11491         * textmodes/ispell.el (ispell-command-loop): Remove
11492         flyspell highlight of a word when ispell accepts it (bug #14178).
11494 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
11496         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11497         uses code from the previous `ange-ftp-run-real-handler'.
11498         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11499         only in case that function exist.  This is needed for proper
11500         unloading of Tramp.
11502 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
11504         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11506         * textmodes/reftex.el (reftex-compile-variables): Use it.
11508 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11510         * files.el (normal-mode): Only use default major-mode if no other mode
11511         was specified.
11513         * emacs-lisp/trace.el (trace-values): New function.
11515         * files.el: Allow : in local variables (bug#14089).
11516         (hack-local-variable-regexp): New var.
11517         (hack-local-variables-prop-line, hack-local-variables): Use it.
11519 2013-04-13  Roland Winkler  <winkler@gnu.org>
11521         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
11522         data before it gets modified by bibtex-beginning-of-entry.
11524 2013-04-13  Roland Winkler  <winkler@gnu.org>
11526         * textmodes/bibtex.el (bibtex-url): Doc fix.
11528 2013-04-13  Roland Winkler  <winkler@gnu.org>
11530         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11531         does not visit a BibTeX file, exclude it from the list of buffers
11532         returned by bibtex-initialize.
11534 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
11536         * window.el (split-window): Remove interactive form, since as a
11537         command this function is a special case of split-window-below.
11538         Correct doc string.
11540 2013-04-12  Roland Winkler  <winkler@gnu.org>
11542         * faces.el (read-face-name): Do not override value of arg default.
11543         Allow single faces and strings as default values.  Remove those
11544         elements from return value that are not faces.
11545         (describe-face): Simplify.
11546         (face-at-point): New optional args thing and multiple so that this
11547         function can provide the same functionality previously provided by
11548         read-face-name.
11549         (make-face-bold, make-face-unbold, make-face-italic)
11550         (make-face-unitalic, make-face-bold-italic, invert-face)
11551         (modify-face, read-face-and-attribute): Use face-at-point.
11553         * cus-edit.el (customize-face, customize-face-other-window)
11554         * cus-theme.el (custom-theme-add-face)
11555         * face-remap.el (buffer-face-set)
11556         * facemenu.el (facemenu-set-face): Use face-at-point.
11558 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
11560         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11562 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
11564         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11565         off leading { and trailing } from field values.
11567 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11569         * emacs-lisp/timer.el (timer--check): New function.
11570         (timer--time, timer-set-function, timer-event-handler): Use it.
11571         (timer-set-idle-time): Simplify.
11572         (timer--activate): CSE.
11573         (timer-event-handler): Give more info in error message.
11574         (internal-timer-start-idle): New function, moved from C.
11576         * mpc.el (mpc-proc): Add `restart' argument.
11577         (mpc-proc-cmd): Use it.
11578         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11579         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11580         less often.
11582 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
11584         * progmodes/sh-script.el: Implement `sh-mode' own
11585         `add-log-current-defun-function' (bug#14112).
11586         (sh-current-defun-name): New function.
11587         (sh-mode): Use the function.
11589 2013-04-09  Bastien Guerry  <bzg@gnu.org>
11591         * simple.el (choose-completion-string): Fix docstring (bug#14163).
11593 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11595         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11597         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11598         timer (bug#14156).
11600 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
11602         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11603         declaration.
11605 2013-04-07  Leo Liu  <sdl.web@gmail.com>
11607         * pcmpl-x.el: New file.
11609 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
11611         Do not set x-display-name until X connection is established.
11612         This is needed to prevent from weird situation described at
11613         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11614         * frame.el (make-frame): Set x-display-name after call to
11615         window system initialization function, not before.
11616         * term/x-win.el (x-initialize-window-system): Add optional
11617         display argument and use it.
11618         * term/w32-win.el (w32-initialize-window-system):
11619         * term/ns-win.el (ns-initialize-window-system):
11620         * term/pc-win.el (msdos-initialize-window-system):
11621         Add compatible optional display argument.
11623 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
11625         * files.el (normal-backup-enable-predicate): On MS-Windows and
11626         MS-DOS compare truenames of temporary-file-directory and of the
11627         file, so that 8+3 aliases (usually found in $TEMP on Windows)
11628         don't fail comparison by compare-strings.  Also, compare file
11629         names case-insensitively on MS-Windows and MS-DOS.
11631 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11633         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11634         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11636 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
11638         * whitespace.el (whitespace-color-on, whitespace-color-off):
11639         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11641 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
11643         * ispell.el (ispell-set-spellchecker-params):
11644         Really set `ispell-args' for all equivs.
11646 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11648         * ido.el (ido-completions): Use extra elements of ido-decorations
11649         (bug#14143).
11650         (ido-decorations): Update docstring.
11652 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
11654         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11655         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11656         nil during initialization, in order not to miss changes since the
11657         file was opened.  (Bug#14140)
11659 2013-04-05  Leo Liu  <sdl.web@gmail.com>
11661         * kmacro.el (kmacro-call-macro): Fix bug#14135.
11663 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
11665         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11667 2013-04-04  Glenn Morris  <rgm@gnu.org>
11669         * electric.el (electric-pair-inhibit-predicate): Add :version.
11671 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11673         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11674         when a package is required several times (bug#14082).
11676 2013-04-04  Roland Winkler  <winkler@gnu.org>
11678         * faces.el (read-face-name): Behave as promised by the docstring.
11679         Assume that arg default is a list of faces.
11680         (describe-face): Call read-face-name with list of default faces.
11682 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11684         * bookmark.el: Fix deletion of bookmarks (bug#13972).
11685         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11686         (bookmark-bmenu-execute-deletions): Only skip first line if it's
11687         the header.
11688         (bookmark-exit-hook-internal): Save even if list is empty.
11690 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
11692         * emacs-lisp/package.el (package-pinned-packages): New var.
11693         (package--add-to-archive-contents): Obey it (bug#14118).
11695 2013-04-03  Alan Mackenzie  <acm@muc.de>
11697         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11698         Also adapt to the new values of element 7 of a parse state.
11700         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11701         parameter `not-in-delimiter'.  Handle being inside comment opener.
11702         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11703         character in case we're typing a '*' after a '/'.
11704         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11705         instead by passing the parameter to c-state-pp-to-literal.
11707         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11708         for elt. 7 of a parse state.
11710 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
11712         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11713         * international/latin1-disp.el, international/mule-util.el:
11714         * language/cyril-util.el, language/european.el, language/ind-util.el:
11715         * language/lao-util.el, language/thai.el, language/tibet-util.el:
11716         * language/tibetan.el, language/viet-util.el:
11717         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11719 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11721         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11722         (electric-pair-post-self-insert-function): Use it.
11723         (electric-pair-default-inhibit): New function, extracted from
11724         electric-pair-post-self-insert-function.
11726 2013-03-31  Roland Winkler  <winkler@gnu.org>
11728         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11730 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11732         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11734 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
11736         Un-indent after "pass" and "return" statements (Bug#13888)
11737         * progmodes/python.el (python-indent-block-enders): New var.
11738         (python-indent-calculate-indentation): Use it.
11740 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
11742         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11743         defun.  Defining it as defalias could introduce too eager
11744         byte-compiler optimization.  (Bug#14030)
11746 2013-03-30  Chong Yidong  <cyd@gnu.org>
11748         * iswitchb.el (iswitchb-read-buffer): Fix typo.
11750 2013-03-30  Leo Liu  <sdl.web@gmail.com>
11752         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11753         (kmacro-execute-from-register): Pass the keyboard macro to
11754         kmacro-call-macro or repeating won't work correctly.
11756 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
11758         * progmodes/subword.el: Back to using `forward-symbol'.
11760         * subr.el (forward-whitespace, forward-symbol)
11761         (forward-same-syntax): Move from thingatpt.el.
11763 2013-03-29  Leo Liu  <sdl.web@gmail.com>
11765         * kmacro.el (kmacro-to-register): New command.
11766         (kmacro-execute-from-register): New function.
11767         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
11769 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11771         * mpc.el: Use defvar-local and setq-local.
11772         (mpc--proc-connect): Connection failures are not bugs.
11773         (mpc-mode-map): `follow-link' only applies to the buffer's content.
11774         (mpc-volume-map): Bind to the up-events.
11776 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
11778         * progmodes/subword.el (superword-mode): Use `forward-sexp'
11779         instead of `forward-symbol'.
11781 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11783         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11784         (edebug--recursive-edit): Use it.
11785         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11786         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11788 2013-03-28  Leo Liu  <sdl.web@gmail.com>
11790         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
11792 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
11794         * facemenu.el (list-colors-callback): New defvar.
11795         (list-colors-redisplay): New function.
11796         (list-colors-display): Install list-colors-redisplay as the
11797         revert-buffer-function.  (Bug#14063)
11799 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11801         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11802         and suffixes don't overlap (bug#14061).
11804         * case-table.el: Use lexical-binding.
11805         (case-table-get-table): New function.
11806         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
11808 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
11810         * progmodes/subword.el: Add `superword-mode' to do word motion
11811         over symbol_words (parallels and leverages `subword-mode' which
11812         does word motion inside MixedCaseWords).
11814 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
11816         * eshell/em-unix.el: Move su and sudo to...
11817         * eshell/em-tramp.el: ...Eshell tramp module.
11819 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11821         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11822         Change return value to be a sexp.  Delay `get-buffer' to after
11823         restoring the desktop (bug#13951).
11825 2013-03-26  Leo Liu  <sdl.web@gmail.com>
11827         * register.el: Move semantic tag handling back to
11828         cedet/semantic/senator.el.  (Bug#14052)
11830 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11832         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11833         into the prompt either (bug#13963).
11835 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11837         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11838         part of "(error-foo)".
11840 2013-03-24  Juri Linkov  <juri@jurta.org>
11842         * replace.el (list-matching-lines-prefix-face): New defcustom.
11843         (occur-1): Pass `list-matching-lines-prefix-face' to the function
11844         `occur-engine' if `face-differs-from-default-p' returns t.
11845         (occur-engine): Add `,' inside backquote construct to evaluate
11846         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
11847         Pass `prefix-face' to the functions `occur-context-lines' and
11848         `occur-engine-add-prefix'.
11849         (occur-engine-add-prefix, occur-context-lines): Add optional arg
11850         `prefix-face' and propertize the prefix with `prefix-face'.
11851         (Bug#14017)
11853 2013-03-24  Leo Liu  <sdl.web@gmail.com>
11855         * nxml/rng-valid.el (rng-validate-while-idle)
11856         (rng-validate-quick-while-idle): Guard against deleted buffer.
11857         (Bug#13999)
11859         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11860         is the last entry in kill-buffer-hook.
11862         * files.el (kill-buffer-hook): Doc fix.
11864 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
11866         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11867         Make it safe-local.
11869         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11871 2013-03-23  Leo Liu  <sdl.web@gmail.com>
11873         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11874         Remove.
11876         * nxml/rng-valid.el (rng-validate-mode)
11877         (rng-after-change-function, rng-do-some-validation):
11878         * nxml/rng-maint.el (rng-validate-buffer):
11879         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11880         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11881         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11882         (nxml-extend-after-change-region): Use with-silent-modifications.
11884         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11885         timer-idle-list.
11887         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11888         (rng-next-error-1, rng-previous-error-1): Do not let-bind
11889         timer-idle-list.  (Bug#13999)
11891 2013-03-23  Juri Linkov  <juri@jurta.org>
11893         * info.el (info-index-match): New face.
11894         (Info-index, Info-apropos-matches): Add a nested subgroup to the
11895         main pattern and add text properties with the new face to matches
11896         in index entries relative to the beginning of the index entry.
11897         (Bug#14015)
11899 2013-03-21  Eric Ludlam  <zappo@gnu.org>
11901         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11902         Inhibit read only while inserting objects.
11904 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
11906         * progmodes/cfengine.el: Update docs to mention
11907         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
11908         symbol motion.  Remove "_" from the word syntax.
11910 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
11912         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11913         syntax for both `cfengine2-mode' and `cfengine3-mode'.
11915 2013-03-20  Juri Linkov  <juri@jurta.org>
11917         * info.el (Info-next-reference-or-link)
11918         (Info-prev-reference-or-link): New functions.
11919         (Info-next-reference, Info-prev-reference): Use them.
11920         (Info-try-follow-nearest-node): Handle footnote navigation.
11921         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
11923 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11925         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11926         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11928 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
11930         Suppress unnecessary non-ASCII chatter during build process.
11931         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11932         (batch-skkdic-convert): Suppress most of the chatter.
11933         It's not needed so much now that machines are faster,
11934         and its non-ASCII component was confusing; see Dmitry Gutov in
11935         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11937 2013-03-20  Leo Liu  <sdl.web@gmail.com>
11939         * ido.el (ido-chop): Fix bug#10994.
11941 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11943         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11944         Remove vars.
11945         (whitespace-color-on, whitespace-color-off):
11946         Use `font-lock-fontify-buffer' (Bug#13817).
11948 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11950         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11951         remapping in mode-line.
11952         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11954 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
11956         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11957         value for `whitespace-line' face (Bug#13875).
11958         (whitespace-font-lock-keywords): Change description.
11959         (whitespace-color-on): Don't save `font-lock-keywords' value, save
11960         the constructed keywords instead.
11961         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11963 2013-03-19  Leo Liu  <sdl.web@gmail.com>
11965         * progmodes/compile.el (compilation-display-error): New command.
11966         (compilation-mode-map, compilation-minor-mode-map): Bind it to
11967         C-o.  (Bug#13992)
11969 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
11971         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11973 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
11975         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11977 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
11979         * net/tramp-compat.el (tramp-compat-user-error): New defun.
11981         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11982         * net/tramp-gvfs.el (top):
11983         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11984         (tramp-handle-shell-command): Use it.
11985         (tramp-dissect-file-name): Raise an error when hostname is a
11986         method name, and neither method nor user is specified.
11988         * net/trampver.el: Update release number.
11990 2013-03-18  Leo Liu  <sdl.web@gmail.com>
11992         Make sure eldoc can be turned off properly.
11993         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11994         eldoc-mode.
11995         (eldoc-display-message-p): Revert last change.
11996         (eldoc-display-message-no-interference-p)
11997         (eldoc-print-current-symbol-info): Tweak.
11999 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
12001         * doc-view.el (doc-view-new-window-function): Check the new window
12002         overlay's display property instead the char property of the
12003         buffer's first char.  Use `with-selected-window' instead of
12004         `save-window-excursion' with `select-window'.
12005         (doc-view-document->bitmap): Check the current doc-view overlay's
12006         display property instead the char property of the buffer's first char.
12008 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12010         Automate the build of ja-dic.el (Bug#13984).
12011         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12012         from the input, rather than assume that it's been done for us by the
12013         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
12014         the current date into a ja-dic.el comment, as that complicates
12015         regression testing.
12017 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12019         * whitespace.el: Fix double evaluation.
12020         (whitespace-space, whitespace-hspace, whitespace-tab)
12021         (whitespace-newline, whitespace-trailing, whitespace-line)
12022         (whitespace-space-before-tab, whitespace-indentation)
12023         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12024         obsolete defvars.
12025         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12026         (whitespace-color-on): Use a single font-lock-add-keywords call.
12027         Fix double-evaluation of face variables.
12029 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
12031         * net/tramp-adb.el (tramp-adb-parse-device-names):
12032         Use `start-process' instead of `call-process'.  Otherwise, the
12033         function might be blocked under MS Windows.  (Bug#13299)
12035 2013-03-17  Leo Liu  <sdl.web@gmail.com>
12037         Extend eldoc to display info in the mode-line.  (Bug#13978)
12038         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12039         (eldoc-mode-line-string): New variable.
12040         (eldoc-minibuffer-message): New function.
12041         (eldoc-message-function): New variable.
12042         (eldoc-message): Use it.
12043         (eldoc-display-message-p)
12044         (eldoc-display-message-no-interference-p):
12045         Support eldoc-post-insert-mode.
12047         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12048         (eval-expression): Run it.
12050 2013-03-17  Roland Winkler  <winkler@gnu.org>
12052         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12053         strings in the list of return values.
12055 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12057         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12058         radix before checking for HMS forms.
12060 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12062         * progmodes/scheme.el: Add indentation and font-locking for λ.
12063         (Bug#13975)
12065 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12067         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12068         token before point (bug#13942).
12070 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12072         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
12074 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
12076         * startup.el (command-line-normalize-file-name): Fix handling of
12077         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
12078         <xfq.free@gmail.com> in
12079         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12081 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
12083         Sync with Tramp 2.2.7.
12085         * net/trampver.el: Update release number.
12087 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
12089         * doc-view.el: Fix bug#13887.
12090         (doc-view-insert-image): Don't modify overlay associated to
12091         non-live windows, and implement horizontal centering of image in
12092         case it's smaller than the window.
12093         (doc-view-new-window-function): Force redisplay of new windows on
12094         doc-view buffers.
12096 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
12098         * saveplace.el (save-place-alist-to-file): Don't sort
12099         `save-place-alist', just pretty-print it (bug#13882).
12101 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
12103         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12104         Check whether `default-file-name-coding-system' is bound.
12105         It isn't in XEmacs.
12107 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12109         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12110         backquotes for `obsolete' (bug#13929).
12112         * international/mule.el (find-auto-coding): Include file name in
12113         obsolescence warning (bug#13922).
12115 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
12117         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12118         for CFEngine 3-specific indentation.
12119         (cfengine3-indent-line): Use it.  Fix up category regex.
12120         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12122 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12124         * type-break.el (type-break-file-name):
12125         * textmodes/remember.el (remember-data-file):
12126         * strokes.el (strokes-file):
12127         * shadowfile.el (shadow-initialize):
12128         * saveplace.el (save-place-file):
12129         * ps-bdf.el (bdf-cache-file):
12130         * progmodes/idlwave.el (idlwave-config-directory):
12131         * net/quickurl.el (quickurl-url-file):
12132         * international/kkc.el (kkc-init-file-name):
12133         * ido.el (ido-save-directory-list-file):
12134         * emulation/viper.el (viper-custom-file-name):
12135         * emulation/vip.el (vip-startup-file):
12136         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12137         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12139 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
12141         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12142         * language/thai-word.el: Switch to UTF-8.
12144 See ChangeLog.16 for earlier changes.
12146 ;; Local Variables:
12147 ;; coding: utf-8
12148 ;; End:
12150   Copyright (C) 2011-2014 Free Software Foundation, Inc.
12152   This file is part of GNU Emacs.
12154   GNU Emacs is free software: you can redistribute it and/or modify
12155   it under the terms of the GNU General Public License as published by
12156   the Free Software Foundation, either version 3 of the License, or
12157   (at your option) any later version.
12159   GNU Emacs is distributed in the hope that it will be useful,
12160   but WITHOUT ANY WARRANTY; without even the implied warranty of
12161   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12162   GNU General Public License for more details.
12164   You should have received a copy of the GNU General Public License
12165   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.