* lisp/font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
[emacs.git] / lisp / ChangeLog
blobe79080ab3d89425bf0be46d4e875e9ce810904c5
1 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
4         expression for a list.
6         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7         for functions with no arguments.
9         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
10         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
12 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
14         * simple.el (clone-indirect-buffer): Mention the return value
15         (bug#18478).
17         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
18         Text mode in docstring (bug#18464).
20 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22         * progmodes/perl-mode.el (perl-syntax-propertize-function):
23         Accept underscores in identifiers after "sub" (bug#18502).
25 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
27         * textmodes/reftex-sel.el (reftex-select-label-mode)
28         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
29         from special-mode (instead of fundamental-mode) and propertize
30         with font-lock-face instead of just face. (Bug#18496)
32         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
34 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
36         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
37         `table-etc' when `end' is non-nil.
38         (lisp-completion-at-point): Move `end' back if it's after quote.
39         If in comment or string, only complete when after backquote.
40         (Bug#18265)
41         (lisp-completion-at-point): Don't use
42         `lisp--local-variables-completion-table' in the
43         `lisp--form-quoted-p' case.
45 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
47         * emacs-lisp/lisp.el (lisp--expect-function-p)
48         (lisp--form-quoted-p): New functions.
49         (lisp-completion-at-point): Use them to see if we're completing a
50         variable reference, a function name, or just any symbol.
51         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
53 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
55         * net/shr.el, net/eww.el: Don't override `shr-width', but
56         introduce a new variable `shr-internal-width'.  This allows users
57         to specify a width themselves.
59 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
61         * image-mode.el (image-toggle-display-image): If we have a
62         `fit-width' or a `fit-height', don't limit the size of the image
63         to the window size, because that doesn't preserve the aspect ratio.
64         * image-mode.el: Move defvars earlier to avoid a byte-compilation
65         warning.
67 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
69         * progmodes/js.el: Add interpreter-mode-alist support for various
70         JavaScript interpreters.
72 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
74         Don't assume 'grep' supports GREP_OPTIONS.
75         The GREP_OPTIONS environment variable is planned to be marked
76         obsolescent in GNU grep, due to problems in its use, so stop
77         relying on it.
78         * progmodes/grep.el (grep-highlight-matches): Document this.
79         (grep-process-setup): Do not set GREP_OPTIONS.
80         (grep-compute-defaults): Use an explicit --color option if supported.
82 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
84         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
85         Don't add outdated key-shortcut cache (bug#18482).
87 2014-09-15  Glenn Morris  <rgm@gnu.org>
89         * image.el (image-multi-frame-p): Fix thinko - do not force
90         a delay if none was specified.  (Bug#18334)
92 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
94         * window.el (fit-window-to-buffer): Doc fix.
96 2014-09-15  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
98         * desktop.el (desktop-create-buffer): Check that buffers are still live
99         before burying them (bug#18373).
101 2014-09-15  Glenn Morris  <rgm@gnu.org>
103         * calendar/diary-lib.el (diary-list-entries):
104         Restore 24.3 display behavior.  (Bug#18381)
106 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
108         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
109         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
110         discrepancy between window-pixel-edges and mouse events, and
111         avoids moving mode line up when the mouse click is on the modeline
112         and no drag is attempted.
114 2014-09-14  Daniel Colascione  <dancol@dancol.org>
116         * register.el (insert-register): Change default interactive
117         insertion mode.
119 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
121         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
122         Suppress debug messages.
124         * net/tramp.el (tramp-file-name-handler):
125         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
126         appropriate.
128 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
130         * calendar/calendar.el (calendar-update-mode-line):
131         Do not overwrite mode-line-format if calendar-mode-line-format is
132         nil.  (Bug#18467)
134 2014-09-13  Leo Liu  <sdl.web@gmail.com>
136         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
137         (pcase--expand): Use it.
138         (pcase-exhaustive): New macro.  (Bug#16567)
140         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Add
141         pcase-exhaustive.
143 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
145         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
146         using the specified transfer-encoding, if any, or 'undecided'.
147         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
148         broken at the window margin.
150 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
152         Support rendering of HTML parts in Rmail (bug#4258).
153         * mail/rmailmm.el (rmail-mime-process): Handle text/html
154         separately from other text/ types.  Suppress tagline for
155         multipart body.
156         (rmail-mime-parse): Don't change visibility of tagline here.
157         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
158         Handle text/html specially.
159         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
160         (rmail-mime-insert-html, rmail-mime-render-html-shr)
161         (rmail-mime-render-html-lynx): New functions.
162         (rmail-mime-fix-inserted-faces): New function.
163         (rmail-mime-process-multipart): Find the best part to show
164         following rmail-mime-prefer-html if set.
165         (rmail-mime-searching): New variable.
166         (rmail-search-mime-message): Bind rmail-mime-searching to
167         suppress rendering while searching.
169 2014-09-12  Sam Steingold  <sds@gnu.org>
171         * progmodes/sql.el (sql-product-alist): Add vertica.
172         (sql-vertica-program, sql-vertica-options)
173         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
174         New functions and variables to support Vertica.
175         Inspired by code by Roman Scherer <roman@burningswell.com>.
177 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
179         * ses.el (ses-file-format-extend-parameter-list): Rename from
180         ses-file-format-extend-paramter-list, to correct a misspelling.
181         All uses changed.
183 2014-09-10  Alan Mackenzie  <acm@muc.de>
185         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
186         gets loaded at run-time).
187         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
188         c-lang-const to c-make-no-parens-syntax-table and correct the
189         logic.
190         (c-no-parens-syntax-table): Correct the logic of the
191         c-lang-defvar.
193 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
195         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
196         plus misc cleanup.
197         * progmodes/cc-mode.el (c-basic-common-init):
198         Set open-paren-in-column-0-is-defun-start.
199         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
200         Remove declarations, unused.
201         (run-mode-hooks): Remove declaration.
202         (font-lock-defaults): Use plain `defvar' to declare.
203         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
204         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
205         (c-make-mode-syntax-table): Don't micro-optimize.
206         (c-keywords, c-keyword-member-alist): Simplify.
207         (c-kwds-lang-consts): Don't eval at compile-time.
208         (c-primary-expr-regexp): Comment out unused vars.
209         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
210         (c-font-byte-compile): New var.
211         (c--compile): New function.  Use it instead of `byte-compile'.
212         (c-cpp-matchers): Quote the value returned by
213         `c-make-syntactic-matcher' in case it's not self-evaluating.
214         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
215         parentheses instead (in case MATCHER happens to be a list).
216         (c-font-lock-enum-tail): Remove unused var `start'.
217         (c-font-lock-objc-methods): Silence byte-compiler warnings.
218         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
219         test into an argument.
220         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
221         (c-get-char-property): Don't use `eval' just to unquote a constant.
222         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
223         more efficiently.
224         (c-put-char-property-fun): Don't call `byte-compile' by hand.
225         (c-clear-char-property, c-clear-char-properties): Check that `property'
226         is a quoted constant.
227         (c-emacs-features): Remove `infodock', `syntax-properties', and
228         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
229         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
230         changing buffer, so we don't have to setq them again afterwards.
231         (c-lang-const): Remove redundant symbolp assertions.
232         (c-find-assignment-for-mode): Use `or'.
233         * Makefile.in (compile-one-process): Remove cc-mode dependency.
235 2014-09-09  Sam Steingold  <sds@gnu.org>
237         * progmodes/sql.el (sql-default-directory): Fix type annotation.
239 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
241         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
242         Change doc comments into docstrings.
243         * Makefile.in: Remove cc-awk dependency.
245 2014-09-08  Sam Steingold  <sds@gnu.org>
247         * progmodes/sql.el (sql-send-line-and-next): New command,
248         bound to C-c C-n.
249         (sql-show-sqli-buffer): Display the buffer instead of its name and
250         bind the command to C-c C-z.
251         (sql-default-directory): New user option.
252         (sql-product-interactive): Bind `default-directory' to it to
253         enable remote connections using Tramp.
254         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
255         suitable buffer is available.
257 2014-09-08  Glenn Morris  <rgm@gnu.org>
259         * calendar/calendar.el (calendar-basic-setup):
260         Fix calendar-view-holidays-initially-flag and fancy display.
261         * calendar/diary-lib.el (diary-live-p): Doc fix.
263         * calendar/calendar.el (calendar-basic-setup):
264         Avoid clobbering calendar with diary.  (Bug#18381)
266 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
268         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
270 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
272         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
273         as well (bug#18400).
275 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
277         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
279 2014-09-06  Leo Liu  <sdl.web@gmail.com>
281         * emacs-lisp/pcase.el (pcase): Doc fix.
282         (pcase--split-vector): New function.
283         (pcase--q1): Support vector qpattern.  (Bug#18327)
285 2014-09-05  Sam Steingold  <sds@gnu.org>
287         * textmodes/tex-mode.el (tex-print-file-extension): New user
288         option.
289         (tex-print): Use it instead of the hard-coded string.
291 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
293         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
294         Expand `default-directory'.
296 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
298         * scroll-bar.el (horizontal-scroll-bars-available-p): New
299         function.
300         (horizontal-scroll-bar-mode): Rewrite using
301         horizontal-scroll-bars-available-p.
302         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
303         horizontal-scroll-bars-available-p.
305 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
307         * subr.el (call-process-shell-command, process-file-shell-command):
308         Make the `args' obsolete (bug#18409).
309         (start-process-shell-command, start-file-process-shell-command):
310         Use `declare'.
312 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
314         * calc/calc-forms.el (math-normalize-hms): Do a better check for
315         "negative" hms forms.
317 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
319         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
320         returns nil (bug#18391).
322 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
324         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
325         terminating paren (bug#18352).
326         (eldoc-last-data-store): Return cached data.
327         (eldoc-get-var-docstring): Avoid setq.
328         (eldoc-get-fnsym-args-string): Clarify data flow.
330 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
332         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
333         case where we're currently providing part of the &rest arg after some
334         &key args, as in define-ibuffer-op (bug#18048).
336 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
338         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
339         buffer-local setting of which-func-mode.
340         (which-func-mode): Use defvar-local.
341         (which-function-mode): Don't reset which-func-mode in each buffer since
342         it might have been set by someone else.
343         (which-func-update-ediff-windows): Check which-function-mode.
345 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
347         * frame.el (frame-initialize): Remove horizontal-scroll-bars
348         from frame-initial-frame-alist.
349         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
350         (horizontal-scroll-bar-mode-explicit)
351         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
352         (toggle-horizontal-scroll-bar): Remove.
353         (horizontal-scroll-bar-mode): Remove defcustom.
354         (horizontal-scroll-bar-mode): Fix doc-string.
355         (scroll-bar-toolkit-scroll)
356         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
358 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
360         * emacs-lisp/package.el (package-generate-description-file):
361         Properly quote the arguments (bug#18332).  Change second arg.
362         (package--alist-to-plist-args): Rename from package--alist-to-plist and
363         quote the elements.
364         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
365         the *-pkg.el file.  Adjust to new calling convention of
366         package-generate-description-file.
368         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
369         (gud-gdb-completions): Remove obsolete workaround.
371 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
373         * subr.el (posn-col-row): Revert the change from commit
374         2010-11-13T21:07:58Z!eliz@gnu.org, which
375         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
376         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
377         introduced an off-by-one error in the reported row when there is a
378         header line.  (Bug#18384)
380 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
382         * progmodes/python.el (python-indent-post-self-insert-function):
383         Avoid electric colon at beginning-of-defun.  (Bug#18228)
385 2014-09-03  Glenn Morris  <rgm@gnu.org>
387         * tutorial.el (tutorial--display-changes):
388         Fix 2014-08-01 change.  (Bug#18382)
390 2014-09-03  Ken Brown  <kbrown@cornell.edu>
392         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
393         the Cygwin-w32 build.  (Bug#18347)
395 2014-09-03  Glenn Morris  <rgm@gnu.org>
397         * tar-mode.el (tar--extract, tar-extract):
398         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
400 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
402         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
403         handle multiline elements (bug#18380).
405 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
407         * ls-lisp.el (ls-lisp-use-string-collate)
408         (ls-lisp-UCA-like-collation): New defcustoms.
409         (ls-lisp-string-lessp): Use them to control sorting by file
410         names.  (Bug#18051)
411         (ls-lisp-version-lessp): New function.
412         (ls-lisp-handle-switches): Use it to implement the -v switch of
413         GNU ls.
414         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
416 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
418         * ibuffer.el: Replace mode-specific quit function with
419         `quit-window' via `special-mode'.
420         (ibuffer-mode-map): Use keybindings from special-mode-map instead
421         of local overrides.
422         (ibuffer): Don't store previous windows configuration.
423         Let `quit-window' handle restoring.
424         (ibuffer-quit): Remove function. Use `quit-window' instead.
425         (ibuffer-restore-window-config-on-quit): Remove variable.
426         (ibuffer-prev-window-config): Remove variable.
428 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
430         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
431         name instead of variable name in hook docstring.  (Bug#18349)
433 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
435         * window.el (display-buffer-at-bottom): Prefer bottom-left
436         window to other bottom windows.  Reuse a bottom window if it
437         shows the buffer already.  Suggested by Juri Linkov
438         <juri@jurta.org> in discussion of (Bug#18181).
440 2014-08-29  Leo Liu  <sdl.web@gmail.com>
442         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
443         append to minibuffer-setup-hook.  (Bug#18341)
445 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
447         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
448         byte-compiler.
449         (lookup-syntax-properties): Silence byte-compiler.
450         (c-lang-defconst): Quote the code with `lambda' rather than with
451         `quote'.
452         (c-lang-const): Avoid unneeded setq.
453         (c-lang-constants-under-evaluation): Add docstring.
454         (c-lang--novalue): New constant.
455         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
456         (c-get-lang-constant): Same here.
457         Get the mode's value using `funcall' now that the code is quoted
458         with `lambda'.
460 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
462         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
463         (Bug#18326)
465 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
467         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
468         interpretation of `portion-whole'.
470 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
472         * net/tramp-adb.el: Spell author name correctly.
474 2014-08-28  João Távora  <joaotavora@gmail.com>
476         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
477         use url-expand-file-name.  (Bug#18310)
479 2014-08-28  Glenn Morris  <rgm@gnu.org>
481         * emulation/cua-rect.el (cua--highlight-rectangle):
482         Avoid error at point-min.  (Bug#18309)
484 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
486         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
487         executable-find (bug#18244).
489         * simple.el (self-insert-uses-region-functions): Defvar.
491 2014-08-28  Glenn Morris  <rgm@gnu.org>
493         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
495 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
497         * startup.el (normal-top-level): Now use internal--top-level-message.
499 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
501         * startup.el (normal-top-level): Use top-level-message.
503 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
505         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
506         URLs containing spaces and the like.
508 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
510         * subr.el (remq): Fix docstring (Bug#18253).
512 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
514         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
516 2014-08-24  Alan Mackenzie  <acm@muc.de>
518         Handle C++11's "auto" and "decltype" constructions.
519         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
520         and return 'decltype.
521         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
522         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
523         keyword.
524         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
525         "decltype" keyword.
526         (c-font-lock-c++-new): Handle "decltype" constructions.
527         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
528         New c-lang-defconsts/defvars.
529         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
530         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
531         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
532         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
534         Make ">>" act as double template ender in C++ Mode.
535         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
536         off from c->-op-cont-re.
537         (c->-op-cont-tokens): Change to use the above.
538         (c->-op-without->-cont-regexp): New lang-const.
539         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
540         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
543 2014-08-23  Alan Mackenzie  <acm@muc.de>
545         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
546         loop, bug #18306.  The bug was introduced on 2014-08-02.
548 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
550         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
551         Don't recognize a Top node if there are other sectioning commands
552         earlier in the Texinfo file.  This fixes a bug in
553         texinfo-make-menu and avoids inflooping in
554         texinfo-all-menus-update when they are invoked on texinfo.texi.
556 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
558         * window.el (window--side-window-p): New function.
559         (split-window, window-splittable-p): Use window--side-window-p to
560         determine whether WINDOW can be split (Bug#18304).
561         * calendar/calendar.el (calendar-basic-setup): Fix one call of
562         `window-splittable-p' and add another (Bug#18304).
564 2014-08-20  Sam Steingold  <sds@gnu.org>
566         * progmodes/python.el (python-new-pythonpath): Extract from
567         `python-shell-calculate-process-environment'.
569 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
571         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
572         for &key args (bug#18048).
574 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
576         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
577         (eldoc-function-argstring-format): Remove.
578         (eldoc-function-argstring): Always return upcase args.
579         Use help-make-usage.  Don't add parens.
580         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
581         it's too late to do it right (bug#18048).
583 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
585         * scroll-bar.el (scroll-bar-horizontal-drag-1)
586         (scroll-bar-toolkit-horizontal-scroll): When determining the
587         paragraph direction, use the buffer of the window designated in
588         the event.
590 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
592         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
593         context of unified diff.
595 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
597         Add dependencies to fix loaddefs race during parallel builds.
598         Without this, for example, 'make -j bootstrap' can fail and report
599         "Opening input file: no such file or directory,
600         .../lisp/calendar/diary-loaddefs.el ... recipe for target
601         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
602         got confused because diary-loaddefs.el was being built in parallel.
603         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
604         Depend on $(CAL_DIR)/cal-loaddefs.el.
605         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
607 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
609         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
610         portion-whole for scrolling right-to-left text.
612 2014-08-15  Leo Liu  <sdl.web@gmail.com>
614         * speedbar.el (speedbar-generic-list-tag-p): Allow special
615         elements from imenu.
617 2014-08-15  Glenn Morris  <rgm@gnu.org>
619         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
621 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
623         * progmodes/compile.el (compilation-error-regexp-alist-alist):
624         Add Guile regexpses.
626 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
628         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
629         add Guile debugger support for GUD.
631 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
633         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
634         (mouse-sel--ignore): New function.
635         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
636         (mouse-sel-original-interprogram-cut-function)
637         (mouse-sel-original-interprogram-paste-function): Remove.
639 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
641         * vc/vc-git.el (vc-git-resolve-when-done): New function.
642         Call "git add" when there are no longer conflict markers.
644 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
646         * vc/vc-git.el (vc-git-find-file-hook): New function.
647         Adds support for calling smerge (and resolve) on a conflicted file.
648         (vc-git-conflicted-files): New function.
649         Useful in itself and a step towards better smerge support.
651 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
653         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
654         to the first part if they're the same as the selection.
656 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
658         * image-mode.el (image-transform-reset): New command and menu item.
659         (image-mode-map): Rearrange the menu items to put presumably more
660         obscure items at the end.
662 2014-08-12  Juri Linkov  <juri@jurta.org>
664         * vc/vc-annotate.el (vc-annotate-background-mode):
665         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
667 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
669         * files.el (out-of-memory-warning-percentage): Turn it off by default.
671 2014-08-11  Sam Steingold  <sds@gnu.org>
673         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
674         the presence of known validators (tidy, (o)nsgmls).
676 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
678         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
680         * net/newst-treeview.el (newsticker-treeview-date-format): New.
681         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
683 2014-08-11  Glenn Morris  <rgm@gnu.org>
685         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
686         chose coding system for writing before backing up, since it causes
687         a more serious problem than the one it solves.  (Closes Bug#18141,
688         reopens Bug#13522.)
690 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
692         * window.el (window-total-size): Make doc-string more self-contained.
694         * window.el (display-buffer-below-selected): Restore original
695         behavior if buffer is already displayed in the window below the
696         selected one (Bug#18181).
698 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
700         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
701         event (bug#18212).
703 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
705         * info.el (info): Doc fix.
707 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
709         * info.el (Info-mode-map): Override a global down-mouse-2 binding
710         (bug#18212).
712 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
714         * simple.el (default-line-height): A floating-point value of
715         line-spacing means a fraction of the default frame font's height,
716         not of the font currently used by the 'default' face.
717         Truncate the pixel value, like the display engine does.
718         (window-screen-lines): Use window-inside-pixel-edges for
719         determining the window height in pixels.  (Bug#18195)
721 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
723         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
725 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
727         Enumerate evaluated sexp diary entries (Bug#7911).
728         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
729         (icalendar-export-sexp-enumeration-days): New.
730         (icalendar-export-region): Now `icalendar--convert-to-ical'
731         returns a cons cell or a list of cons cells.
732         (icalendar--convert-to-ical): Take care of
733         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
734         (icalendar--convert-ordinary-to-ical)
735         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
736         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
737         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
738         (icalendar--convert-anniversary-to-ical): Return cons cell.
739         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
740         entries.  Return (list of) cons cells.
742 2014-08-09  Juri Linkov  <juri@jurta.org>
744         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
745         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
747 2014-08-09  Alan Mackenzie  <acm@muc.de>
749         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
750         for top-level that can cause unacceptable slow-down in scrolling.
751         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
752         Antipov from 2013-10-14 in emacs-devel.
754 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
756         * ibuffer.el (ibuffer-mode-map): Use toggle button for
757         `ibuffer-auto-mode' menu entry.
758         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
760 2014-08-08  Matthias Meulien  <orontee@gmail.com>
762         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
763         (Bug#16394)
765 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
767         * window.el (window--min-size-1): Explicitly set WINDOW arg in
768         calls of window-min-pixel-height and window-min-pixel-width.
770 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
772         * progmodes/ada-mode.el:
773         * net/tramp.el (tramp-handle-file-symlink-p):
774         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
775         about VMS, which we no longer support.
776         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
777         and fix a FIXME, using convert-standard-filename in place of
778         removed ada-convert-file-name.
780 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
782         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
784 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
786         Refer to MS-DOS using the same name everywhere.
787         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
788         ``msdog'' become ``MS-DOS''.
790 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
792         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
793         Use cached "remote-copy-args" value, if available.  (Bug#18199)
795 2014-08-07  Leo Liu  <sdl.web@gmail.com>
797         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
798         Revert change on 2014-03-22.
800 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
802         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
803         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
804         (Bug#13750).
807 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
809         * image-mode.el (image-toggle-display-image): Always rescale images
810         to not be bigger than the current window.
812 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
814         * net/eww.el (eww-bookmarks-directory): New variable.
815         (eww-write-bookmarks): Use it.
816         (eww-read-bookmarks): Ditto.
818 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
820         * net/shr.el (shr-copy-url): Also copy the image URL.
822 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
824         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
825         also for Tramp working buffers.
827 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
829         * progmodes/python.el: Fix completions inside (i)pdb.
830         (python-shell-completion-pdb-string-code): Make obsolete.
831         (python-shell-completion-get-completions):
832         Use python-shell-completion-string-code resending setup code
833         continuously for (i)pdb.
835 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
837         * rect.el (rectangle--default-line-number-format): Rename
838         from misspelled rectange--default-line-number-format (Bug#18045).
839         All uses changed.
841 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
843         Don't mishandle year-9999 dates (Bug#18176).
844         * calendar/parse-time.el (parse-time-rules):
845         Allow years up to most-positive-fixnum.
846         * calendar/time-date.el (date-to-time):
847         Pass "Specified time is not representable" errors through.
849 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
851         * progmodes/python.el: Completion code cleanups.
852         (python-shell-completion-get-completions): Detect and send import
853         statements directly to completion function.
854         (python-shell-completion-at-point): Simplify prompt calculation
855         and import vs input completion logic.
857 2014-08-02  Alan Mackenzie  <acm@muc.de>
859         Fix confusion in C++ file caused by comma in "= {1,2},".
860         Bug #17756.
861         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
862         for a statement boundary marked by "}", check there's no "="
863         before the "{".
864         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
865         non-nil `comma-delim' argument.
866         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
867         initializer expression more accurately.
869         Correct loop termination condition in c-syntactic-skip-backward.
870         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
871         the situation where, after moving back out of a literal,
872         skip-chars-backward doesn't move further, yet checks have still to
873         be done.
875 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
877         * tutorial.el (tutorial--display-changes): Accept punctuation
878         characters before the key binding.  (Bug#18146)
880 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
882         * progmodes/python.el: Shell output capture enhancements.
883         (python-shell-accept-process-output): New function.
884         (inferior-python-mode)
885         (python-shell-send-setup-code): Use it.
887 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
889         * calendar/icalendar.el (icalendar--decode-isodatetime):
890         Use actual current-time-zone when converting to local time. (Bug#15408)
892 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
894         * window.el (window--state-put-2): Handle horizontal scroll
895         bars, if present.
897 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
899         * menu-bar.el (menu-bar-update-buffers): Update item list format
900         in `buffers-menu' to confirm with changes to `get_keyelt'
901         (r117463).  (Bug#18016)
903 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
905         * progmodes/python.el (inferior-python-mode): Make input prompts
906         read-only.
908 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
910         * net/tramp-sh.el (tramp-get-remote-python): Also search for
911         executables named "python2" or "python3".
912         (tramp-get-remote-uid-with-python): Use parentheses around
913         arguments to `print' to make it compatible with Python 3.
914         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
916 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
918         * window.el (window--pixel-to-total): Use FRAME's root window, not
919         that of the selected frame.  (Bug#18112, Bug#16674)
921 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
923         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
924         (Bug#18117)
926 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
928         * progmodes/python.el (inferior-python-mode): Doc fix.
930 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
932         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
933         not a character, ignore it instead of raising an error.
935         * calendar/todo-mode.el: Fix handling of marked items and make
936         minor code improvements.
937         (todo-edit-item): If there are marked items, ensure user can only
938         invoke editing commands that work with marked items.
939         (todo-edit-item--text): When there are marked items, make it a
940         noop if invoked with point not on an item; otherwise, ensure it
941         applies only to item at point.
942         (todo-item-undone): If there are marked not-done items, return
943         point to its original position before signaling user error.
944         (todo--user-error-if-marked-done-item): New function.
945         (todo-edit-item--header, todo-edit-item--diary-inclusion)
946         (todo-item-done): Use it.
948 2014-07-28  Glenn Morris  <rgm@gnu.org>
950         * files.el (toggle-read-only): Re-add basic doc-string.
951         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
953         * progmodes/prolog.el (prolog-mode-keybindings-edit):
954         Replace missing `switch-to-prolog' with `run-prolog'.
955         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
957 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
959         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
960         of file-wide setting when changing category-wide setting.
962 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
964         * doc-view.el (doc-view-open-text): Don't require that the
965         document is saved in a file (e.g., email attachment).
967 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
969         Parse completion input in a iPython friendly way.  (Bug#18084)
970         * progmodes/python.el
971         (python-shell-completion-at-point): Rename from
972         python-shell-completion-complete-at-point.
973         (inferior-python-mode): Use it.
974         (python-completion-at-point): Rename from
975         python-completion-complete-at-point.  Parse input up to first
976         backward occurrence of whitespace, open-paren, close-paren or
977         string delimiter.
978         (python-mode): Use it.
980 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
982         Prevent Python process shell buffer to pop twice.
983         * progmodes/python.el (python-shell-switch-to-shell): Do not call
984         pop-to-buffer.
986 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
988         * progmodes/python.el
989         (python-shell-with-shell-buffer): New macro.
990         (python-shell-font-lock-get-or-create-buffer)
991         (python-shell-font-lock-kill-buffer)
992         (python-shell-font-lock-with-font-lock-buffer)
993         (python-shell-font-lock-cleanup-buffer)
994         (python-shell-font-lock-toggle): Use it.
995         (python-shell-font-lock-turn-on)
996         (python-shell-font-lock-turn-off): Use it.  Make command.
998 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1000         Grab all Python process output before inferior-python-mode hooks.
1001         * progmodes/python.el (inferior-python-mode):
1002         Call accept-process-output and sit-for to ensure all output for process
1003         has been received before running hooks.
1004         (python-shell-internal-get-or-create-process):
1005         Cleanup accept-process-output and sit-for calls.
1007 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1009         More robust shell startup and code setup.
1010         * progmodes/python.el (python-shell-make-comint):
1011         Remove accept-process-output call.
1012         (python-shell-get-buffer): Return current buffer if major-mode is
1013         inferior-python-mode.
1014         (python-shell-get-or-create-process): Use it.
1015         (python-shell-send-setup-code): Send all setup code in one string,
1016         output success message and accept-process-output.
1018 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
1020         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
1021         Add rudimentary support for bidirectional text.
1023 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
1025         * frame.el (frame-notice-user-settings): Rewrite using
1026         frame-initial-frame-tool-bar-height.
1027         * menu-bar.el (menu-bar-horizontal-scroll-bar)
1028         (menu-bar-no-horizontal-scroll-bar): New functions.
1029         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
1030         scroll bars.
1031         * scroll-bar.el (scroll-bar-lines)
1032         (set-horizontal-scroll-bar-mode)
1033         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
1034         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
1035         (scroll-bar-toolkit-horizontal-scroll): New functions.
1036         (horizontal-scroll-bar-mode)
1037         (previous-horizontal-scroll-bar-mode)
1038         (horizontal-scroll-bar-mode-explicit): New variables.
1039         (horizontal-scroll-bar-mode): New option.
1040         (toggle-horizontal-scroll-bar): Do something.
1041         (top-level): Bind horizontal-scroll-bar mouse-1.
1042         * startup.el (tool-bar-originally-present): Remove variable.
1043         (command-line): Don't set tool-bar-originally-present.
1044         * window.el (window-min-height): Update doc-string.
1045         (window--dump-frame): Dump horizontal scroll bar values.
1046         (window--min-size-1): Handle minibuffer window separately.
1047         Count in margins and horizontal scroll bar.  Return safe value
1048         iff IGNORE equals 'safe.
1049         (frame-windows-min-size): New function (used by frame resizing
1050         routines).
1051         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
1052         scroll bars.
1053         (window--sanitize-window-sizes): New function.
1054         (window-split-min-size): Remove.
1055         (split-window): Count divider-width.  Don't use
1056         `window-split-min-size' any more.  Reword error messages.
1057         Sanitize windows sizes after splitting.
1059 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
1061         Use `defvar-local' more.
1062         * progmodes/hideshow.el
1063         (hs-c-start-regexp, hs-block-start-regexp)
1064         (hs-block-start-mdata-select, hs-block-end-regexp)
1065         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
1066         remove corresponding `make-variable-buffer-local' top-level calls.
1068 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1070         Cleanup error signals.  (Bug#18067)
1071         * progmodes/python.el
1072         (python-indent-shift-left): Use user-error instead.
1073         (python-shell-prompt-detect): Use lwarn with python group.
1074         (python-completion-complete-at-point)
1075         (python-eldoc--get-doc-at-point): Don't signal error.
1077 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1079         Support for packages in Python shell.  (Bug#13570)
1080         * progmodes/python.el (python-shell--package-depth): New var.
1081         (python-shell-package-enable): New command.
1082         (python-util-list-directories, python-util-list-files)
1083         (python-util-list-packages): New functions.
1085 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1087         Faster comint output.  (Bug#16875)
1088         * progmodes/python.el:
1089         (python-comint-output-filter-function): Make obsolete.
1090         (python-comint-postoutput-scroll-to-bottom): New function.
1091         (inferior-python-mode): Set comint-output-filter-functions to a
1092         minimum.
1094 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1096         * progmodes/python.el (python-shell-font-lock-post-command-hook):
1097         Safeguard current point and undo history.
1099 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1101         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
1102         * progmodes/python.el:
1103         (python-shell-prompt-input-regexps): Add iPython block prompt.
1104         (python-shell-output-syntax-table): Delete var.
1105         (python-shell-font-lock-with-font-lock-buffer): New macro.
1106         (python-shell-font-lock-get-or-create-buffer)
1107         (python-shell-font-lock-kill-buffer)
1108         (python-shell-font-lock-cleanup-buffer)
1109         (python-shell-font-lock-post-command-hook)
1110         (python-shell-font-lock-turn-off): New functions.
1111         (python-shell-font-lock-turn-on): New function.
1112         (inferior-python-mode): Use it.
1113         (python-shell-font-lock-toggle): New command.
1114         (python-shell-font-lock-enable): Rename from
1115         python-shell-enable-font-lock.
1116         (run-python-internal): Use it.
1117         (python-shell-font-lock-comint-output-filter-function): New function.
1118         (python-shell-comint-end-of-output-p): New function.
1119         (python-shell-output-filter): Use it.
1120         (python-util-comint-last-prompt): New function.
1121         (python-util-text-properties-replace-name): New function.
1123 2014-07-25  Glenn Morris  <rgm@gnu.org>
1125         * vc/ediff-init.el (ediff-toggle-read-only-function):
1126         * vc/ediff-util.el (ediff-toggle-read-only):
1127         Replace obsolete toggle-read-only with read-only-mode.
1129 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
1131         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
1132         with `save-match-data'.  (Bug#18095)
1134 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1136         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
1137         order to ensure that row and col are lexically bound inside the
1138         evaluated sexp.
1140 2014-07-21  Glenn Morris  <rgm@gnu.org>
1142         * progmodes/hideif.el (hide-ifdef-mode-submap):
1143         Also substitute read-only-mode.
1144         * bindings.el (mode-line-toggle-read-only):
1145         * bs.el (bs-toggle-readonly):
1146         * buff-menu.el (Buffer-menu-toggle-read-only):
1147         * dired.el (dired-toggle-read-only):
1148         * files.el (view-read-only, find-file-read-only)
1149         (find-file-read-only-other-window)
1150         (find-file-read-only-other-frame):
1151         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1152         Doc fixes re toggle-read-only.
1154 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1156         * progmodes/python.el: Add comment about pipe buffering and
1157         solutions for missing/delayed output in inferior Python shells.
1158         (Bug#17304)
1160         * progmodes/python.el (python-mode): Don't set
1161         mode-require-final-newline.  (Bug#17990)
1163         Make python.el work with IPython automatically.  (Bug#15510)
1164         * progmodes/python.el:
1165         (python-shell-completion-setup-code): New value supporting iPython.
1166         (python-shell-completion-string-code): New value supporting iPython.
1167         (python-shell-completion-get-completions): Use them.
1168         (python-shell-completion-module-string-code): Make obsolete.
1169         (python-shell-prompt-input-regexps)
1170         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1171         (python-shell-output-filter): Fix comment typo.
1173         Fix Python shell prompts detection for remote hosts.
1174         * progmodes/python.el (python-shell-prompt-detect):
1175         Replace call-process with process-file and make it more robust.
1177         Autodetect Python shell prompts.  (Bug#17370)
1178         * progmodes/python.el:
1179         (python-shell-interpreter-interactive-arg)
1180         (python-shell-prompt-detect-enabled)
1181         (python-shell-prompt-detect-failure-warning)
1182         (python-shell-prompt-input-regexps)
1183         (python-shell-prompt-output-regexps): New vars.
1184         (python-shell-prompt-calculated-input-regexp)
1185         (python-shell-prompt-calculated-output-regexp): New vars.
1186         (python-shell-get-process-name)
1187         (python-shell-internal-get-process-name)
1188         (python-shell-output-filter)
1189         (python-shell-completion-get-completions): Use them.
1190         (python-shell-prompt-detect)
1191         (python-shell-prompt-validate-regexps): New functions.
1192         (python-shell-prompt-set-calculated-regexps): New function.
1193         (inferior-python-mode): Use it.  Also honor overriden
1194         python-shell-interpreter and python-shell-interpreter-args.
1195         (python-shell-make-comint): Honor overriden
1196         python-shell-interpreter and python-shell-interpreter-args.
1197         (python-shell-get-or-create-process): Make it testable by allowing
1198         to call run-python non-interactively.
1199         (python-util-valid-regexp-p): New function.
1200         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1201         (python-shell-prompt-output-regexp)
1202         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1204 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1206         * emacs-lisp/smie.el (smie-config--guess-1): Split from
1207         smie-config--guess.
1208         (smie-config--guess): Use it.
1210         * emacs-lisp/edebug.el: Use nadvice.
1211         (edebug-original-read): Remove.
1212         (edebug--read): Rename from edebug-read and add `orig' arg.
1213         (edebug-uninstall-read-eval-functions)
1214         (edebug-install-read-eval-functions): Use nadvice.
1215         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1216         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1217         (edebug-read-string, edebug-read-function): Use just `read'.
1218         (edebug-original-debug-on-entry): Remove.
1219         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1220         `orig' arg.
1221         (debug-on-entry): Override with nadvice.
1223         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1224         it also makes sense to bind it to a non-mouse event.
1226         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1228 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1230         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1231         (bug#18015).
1233         * rect.el (rectangle--string-preview): Don't assume there
1234         a non-nil default (bug#17984).
1236 2014-07-16  Glenn Morris  <rgm@gnu.org>
1238         * desktop.el (after-init-hook): Disable startup frame restoration
1239         in non-graphical situations.  (Bug#17693)
1241         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1242         if it was "empty", or used for a different set of files.  (Bug#17884)
1244 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
1246         * bindings.el (mode-line-remote): If default-directory is not a
1247         string, don't call file-remote-p on it; instead state in the
1248         help-echo that it is nil.  (Bug#17986)
1250 2014-07-14  Daniel Colascione  <dancol@dancol.org>
1252         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1253         to `macroexpand-all'
1255         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1256         Use `macroexpand-all' instead of `cl-macroexpand-all'.
1258 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
1260         Fix bug: C-x v v discarded existing log message (Bug#17884).
1261         * vc/vc-dispatcher.el (vc-log-edit):
1262         Don't clobber an already-existing log message.
1264 2014-07-12  Glenn Morris  <rgm@gnu.org>
1266         * vc/log-edit.el (log-edit-changelog-entries):
1267         Check for a visited-but-never-saved ChangeLog.
1269 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1271         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1272         a non-existing file (bug#17970).
1274         * faces.el (face-name): Undo last change.
1275         (x-resolve-font-name): Don't call face-name (bug#17956).
1277 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1279         Fix dedenters and electric colon handling. (Bug#15163)
1280         * progmodes/python.el
1281         (python-rx-constituents): Add dedenter and block-ender.
1282         (python-indent-dedenters, python-indent-block-enders): Delete.
1283         (python-indent-context): Return new case for dedenter-statement.
1284         (python-indent-calculate-indentation): Handle new case.
1285         (python-indent-calculate-levels): Fix levels calculation for
1286         dedenter statements.
1287         (python-indent-post-self-insert-function): Fix colon handling.
1288         (python-info-dedenter-opening-block-message): New function.
1289         (python-indent-line): Use it.
1290         (python-info-closing-block)
1291         (python-info-closing-block-message): Remove.
1292         (python-info-dedenter-opening-block-position)
1293         (python-info-dedenter-opening-block-positions)
1294         (python-info-dedenter-statement-p): New functions.
1296 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
1298         * files.el (out-of-memory-warning-percentage): New defcustom.
1299         (warn-maybe-out-of-memory): Use it.
1301 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
1303         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
1304         when calling `read-string'.  (Bug#17839)
1306 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
1308         * files.el (warn-maybe-out-of-memory): Fix the wording of the
1309         warning.
1311 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
1313         * files.el (warn-maybe-out-of-memory): New function.
1314         (find-file-noselect): Use it.
1316 2014-07-09  Sam Steingold  <sds@gnu.org>
1318         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1319         `constant' like `bless', `return' &c
1321 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1323         * rect.el (apply-on-rectangle): Check forward-line really moved to the
1324         next line.
1326 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1328         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1329         the middle of a line (bug#17896).
1331 2014-07-09  Juri Linkov  <juri@jurta.org>
1333         * startup.el (command-line): Append displaying the warning about
1334         the errors in the init file to the end of `after-init-hook'.
1335         (Bug#17927)
1337         * faces.el (face-name): Return input arg `face' as-is
1338         when it's not a symbol.
1339         (x-resolve-font-name): Don't check if the face is a symbol.
1340         (Bug#17956)
1342         * facemenu.el (list-colors-print): In help-echo format use %.2f
1343         instead of %d because now HSV values are floating-point components
1344         between 0.0 and 1.0.
1346 2014-07-09  Glenn Morris  <rgm@gnu.org>
1348         * emulation/cua-rect.el (cua--activate-rectangle):
1349         Avoid setting cua--rectangle to nil.  (Bug#17877)
1351 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
1353         * calendar/todo-mode.el: Fix wrong-type-argument error when
1354         marking multiple consecutive items.
1355         (todo-toggle-mark-item): Don't try to mark the empty lines at the
1356         end of the todo and done items sections.  Note in doc string that
1357         items marked by passing a numeric prefix argument can include the
1358         last todo and first done items.
1359         (todo-mark-category): Don't try to mark the empty line between the
1360         todo and done items sections.
1362 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1364         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1365         proper Lisp quoting (bug#17934).
1367         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1368         require-final-newline since prog-mode already took care of it (bug#17947).
1370 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
1372         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
1373         refer to the Todo mode Info manual.  Update the comment on
1374         requiring cl-lib.
1375         (todo-find-filtered-items-file): Add todo-prefix overlays.
1376         (todo-filter-items): Reorder a let-bound variable to avoid a
1377         wrong-type-argument error on canceling the file choice dialog.
1379 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1381         * progmodes/octave.el (inferior-octave-mode):
1382         Set comint-input-ring-size to a number (bug#17912).
1384 2014-07-09  Juri Linkov  <juri@jurta.org>
1386         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1387         and `isearch-mode' associated with nil.  (Bug#17849)
1389 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1391         * linum.el (linum--face-height): New function (bug#17813).
1392         (linum-update-window): Use it to adjust margin to linum's width.
1394         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1395         * eshell/em-smart.el (eshell-smart-scroll-window):
1396         Use with-selected-window.
1398         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1399         Remove also pointless window&mark manipulation.
1401         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1402         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1403         (perl-continuation-line-p): Don't skip over anything else than labels.
1404         Return the previous char.
1405         (perl-calculate-indent): Use syntax-ppss instead of parse-start
1406         and update callers accordingly.  For continuation lines, check the
1407         the case of array hashes.
1408         (perl-backward-to-noncomment): Make it non-interactive.
1409         (perl-backward-to-start-of-continued-exp): Rewrite.
1411 2014-07-08  Sam Steingold  <sds@gnu.org>
1413         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1414         New user commands.
1416 2014-07-08  Juri Linkov  <juri@jurta.org>
1418         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1419         (vc-annotate-color-map): Use less saturated colors (20%) for
1420         background-mode.
1421         (vc-annotate-very-old-color): Add default value for background-mode.
1422         (vc-annotate-background): Set default value to nil since now text on
1423         the default backgrounds should be legible in light and dark modes.
1424         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
1425         (Bug#17808)
1427 2014-07-08  Juri Linkov  <juri@jurta.org>
1429         * simple.el (transpose-chars): Don't move point into read-only area.
1430         (Bug#17829)
1432 2014-07-08  Juri Linkov  <juri@jurta.org>
1434         * window.el (with-displayed-buffer-window): New macro.
1435         (with-temp-buffer-window, with-current-buffer-window):
1436         Use `macroexp-let2' to evaluate and bind variables
1437         in the same order as macro arguments.
1438         (display-buffer--action-function-custom-type):
1439         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1441         * minibuffer.el (minibuffer-completion-help): Replace
1442         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1443         with actions that display *Completions* at-bottom when called
1444         from the minibuffer, or below-selected in a normal buffer.
1445         Associate `window-height' with `fit-window-to-buffer'.
1446         Let-bind `pop-up-windows' to nil.
1448         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1449         instead of `with-current-buffer-window'.  (Bug#17809)
1451 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
1453         * progmodes/hideif.el (hide-ifdef-env): Change to global.
1454         (hide-ifdef-env-backup): New variable.
1455         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1456         New customizable variables.
1457         (hif-clear-all-ifdef-defined): New defun.
1458         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1459         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1460         (hif-tokenize): Fix for MS-DOS/Win EOL style.
1461         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1462         Fix bug to hide the correct #elif region(s).
1463         (hif-range-elif): New defun.
1464         (hif-recurse-level): New var.
1465         (hif-evaluate-region, hif-evaluate-macro): New defun.
1466         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1467         fully hidden.
1468         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1469         Better interaction.
1471 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
1473         * net/dbus.el (dbus-peer-handler): New defun.
1474         (dbus-register-service): Register it.  (Bug#17858)
1475         (dbus-managed-objects-handler): Fix docstring.
1477 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
1479         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1480         (narrow-to-defun): New arg include-comments, defaulting to it
1481         (bug#16328).
1483 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1485         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1486         different calling convention to rectangle--unhighlight-for-redisplay.
1488 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
1490         * net/tramp.el (tramp-call-process): Handle error strings.
1492         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1494         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1495         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1497         * net/trampver.el: Update release number.
1499 2014-07-03  Juri Linkov  <juri@jurta.org>
1501         * desktop.el (desktop-save): Rename arg `auto-save' to
1502         `only-if-changed'.  Doc fix.  (Bug#17873)
1504 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1506         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1507         Use insert-for-yank (bug#17271).
1509 2014-07-03  Leo Liu  <sdl.web@gmail.com>
1511         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1512         Support lexical-binding.
1514 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1516         * vc/log-edit.el (log-edit-goto-eoh): New function.
1517         (log-edit--match-first-line): Use it (bug#17861).
1519 2014-07-03  Glenn Morris  <rgm@gnu.org>
1521         * vc/log-edit.el (log-edit-hook): Add missing :version.
1523 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1525         * progmodes/python.el (python-indent-post-self-insert-function):
1526         Enhancements to electric indentation behavior inside
1527         parens. (Bug#17658)
1529 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1531         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1532         buffer-invisibility-spec (bug#17867).
1534 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1536         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1537         pass "-a".
1539 2014-07-03  Glenn Morris  <rgm@gnu.org>
1541         * cus-edit.el (help):
1542         * finder.el (finder-known-keywords):
1543         * help.el (help-for-help-internal):
1544         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1545         (ediff-redraw-registry-buffer):
1546         * vc/ediff-ptch.el (ediff-patch-file-internal):
1547         Doc fixes re "online" help.  (Bug#17803)
1549         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1550         (idlwave-mode): Doc URL update.
1552 2014-07-01  Juri Linkov  <juri@jurta.org>
1554         * man.el: Display man pages immediately and use process-filter
1555         to format them asynchronously.
1556         (Man-width): Doc fix.
1557         (man): Doc fix.
1558         (Man-start-calling): Use `with-selected-window' to get
1559         `frame-width' and `window-width'.
1560         (Man-getpage-in-background): Call `Man-notify-when-ready'
1561         immediately after creating a new buffer.  Call `Man-mode' and set
1562         `mode-line-process' in the created buffer.  Set process-filter to
1563         `Man-bgproc-filter' in start-process branch.  In call-process branch
1564         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1565         Use `Man-start-calling' inside `with-current-buffer'.
1566         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
1567         (Man-cleanup-manpage): Don't print messages.
1568         (Man-bgproc-filter): New function.
1569         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1570         user moved it during asynchronous formatting.  Move calls of
1571         `Man-fontify-manpage' and `Man-cleanup-manpage' to
1572         `Man-bgproc-filter'.  Move the call of `Man-mode' to
1573         `Man-getpage-in-background'.  Use `quit-restore-window'
1574         instead of `kill-buffer'.  Use `message' instead of `error'
1575         because errors are caught by process sentinel.
1576         (Man-mode): Move calls of `Man-build-page-list',
1577         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1578         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
1580         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1581         for the message about the man page cleaned up.
1583 2014-07-01  Mario Lang  <mlang@delysid.org>
1585         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1586         cosutomization option `gnutls-verify-error'.
1588 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1590         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1591         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1593         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1594         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1595         is suspended (bug#17857).
1597 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
1599         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1600         Prefer utf-8 coding.  (Bug#17859)
1602 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1604         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1605         for `reverse'.
1607 2014-06-30  Glenn Morris  <rgm@gnu.org>
1609         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1610         (autoload-ensure-default-file): Maybe make existing output writable.
1611         * Makefile.in (AUTOGEN_VCS): Remove.
1612         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1614 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1616         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1618 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1620         New if-let, when-let, thread-first and thread-last macros.
1622         * emacs-lisp/subr-x.el
1623         (internal--listify, internal--check-binding)
1624         (internal--build-binding-value-form, internal--build-binding)
1625         (internal--build-bindings): New functions.
1626         (internal--thread-argument, thread-first, thread-last)
1627         (if-let, when-let): New macros.
1629 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
1631         * net/rcirc.el (rcirc-buffer-process): Restore previous
1632         behaviour.  (Bug#17772)
1634 2014-06-29  Alan Mackenzie  <acm@muc.de>
1636         Don't call c-parse-state when c++-template-syntax-table is active.
1637         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1638         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1639         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1641 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
1643         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1644         account for file-wide setting of todo-top-priorities-overrides.
1645         Make code a bit cleaner.
1647 2014-06-28  Glenn Morris  <rgm@gnu.org>
1649         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1651 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
1653         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1654         category-wide setting of todo-top-priorities-overrides, check for
1655         a file-wide setting and fontify accordingly.
1657 2014-06-28  Glenn Morris  <rgm@gnu.org>
1659         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1661 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1663         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
1665 2014-06-28  K. Handa  <handa@gnu.org>
1667         Fix Bug#17739.
1669         * composite.el: Setup composition-function-table for dotted circle.
1670         (compose-gstring-for-dotted-circle): New function.
1672         * international/characters.el: Add category "^" to all
1673         non-spacing characters.
1675 2014-06-28  Glenn Morris  <rgm@gnu.org>
1677         * Makefile.in (doit): Remove force rule.
1678         (custom-deps, finder-data, autoloads, update-subdirs)
1679         (compile-one-process): PHONY targets do not need force rules.
1681         * Makefile.in (compile-main, compile, compile-always):
1682         No need to explicitly pass variables to ourself in recursive calls.
1684 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1686         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1688 2014-06-26  Glenn Morris  <rgm@gnu.org>
1690         * Makefile.in (update-authors): Update for moved authors.el.
1692 2014-06-26  Leo Liu  <sdl.web@gmail.com>
1694         * skeleton.el (skeleton-end-hook): Default to nil and move the
1695         work to skeleton-insert.  (Bug#17850)
1697 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
1699         * calc/calc-alg.el (math-beforep):
1700         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1701         Simplify because string-lessp can accept symbols as args.
1703 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1705         * emacs-lisp/package.el (package--check-signature):
1706         If package-check-signature is allow-unsigned, don't signal error when
1707         we can't verify signature because of missing public key
1708         (bug#17625).
1710 2014-06-26  Glenn Morris  <rgm@gnu.org>
1712         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1713         Remove outdated declaration.
1715         * emacs-lisp/authors.el (authors-valid-file-names)
1716         (authors-renamed-files-alist): Additions.
1718 2014-06-26  Leo Liu  <sdl.web@gmail.com>
1720         * textmodes/picture.el (picture-set-tab-stops):
1721         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1722         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1724         * progmodes/asm-mode.el (asm-calculate-indentation):
1725         Use indent-next-tab-stop.
1727         * indent.el (indent-accumulate-tab-stops): New function.
1729 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1731         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1732         (package-desc-status): Obey it.
1734 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1736         * calendar/todo-mode.el: Fix two bugs.
1737         (todo-insert-item--basic): If user cancels item insertion to
1738         another category before setting priority, show original category
1739         whether it is in the same or a different file.
1740         (todo-set-item-priority): After selecting category, instead of
1741         moving point to top, which extends an active region, restore it.
1743 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1745         * help-fns.el (describe-function-1): Check file-name is a string before
1746         calling help-fns--autoloaded-p (bug#17564).
1748 2014-06-26  Juri Linkov  <juri@jurta.org>
1750         * desktop.el (desktop-auto-save-enable)
1751         (desktop-auto-save-disable): New functions.
1752         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1753         (desktop-read): Disable the autosave before loading the desktop,
1754         and enable afterwards.  (Bug#17351)
1756 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         Fix some indentation problem with \; and pipes (bug#17842).
1759         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1760         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1761         New functions.
1762         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1763         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1764         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1766 2014-06-26  Glenn Morris  <rgm@gnu.org>
1768         * emacs-lisp/find-func.el (find-function-C-source-directory):
1769         Use file-accessible-directory-p.
1771         * ps-samp.el: Make it slightly less awful.
1772         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1773         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1774         Only set local values.
1775         (ps-article-subject, ps-article-author): Use standard functions
1776         like mail-fetch-field.
1777         (ps-info-file, ps-info-node): Use match-string.
1778         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
1779         (ps-samp-ps-setup): ... new function.
1781         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
1782         Optimize away code unneeded on any modern Emacs.
1784         * emacs-lisp/authors.el: Move to ../admin.
1786         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
1788 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
1790         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
1791         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
1792         performance enhancements.
1793         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
1794         expansion.
1795         (hif-factor, hif-string-concatenation, intern-safe): Support string
1796         concatenation and argumented macro expansion.
1797         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
1798         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1799         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1800         (hif-canonicalize-tokens, hif-place-macro-invocation)
1801         (hif-parse-macro-arglist): Mostly new functions for supporting
1802         argumented macro expansion.
1803         (hif-string-concatenation, hif-stringify, hif-token-concat)
1804         (hif-token-stringification, hif-token-concatenation):
1805         Stringification and concatenation.
1806         (hif-find-next-relevant): Fix comments.
1807         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1808         some cases involving #elif.
1809         (hif-find-define, hif-add-new-defines): New functions for automatically
1810         scanning of defined symbols.
1811         (hide-ifdef-guts): Fix for defined symbol auto scanning.
1812         (hide-ifdef-undef): Fix behavior to match CPP.
1814 2014-06-25  Glenn Morris  <rgm@gnu.org>
1816         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1817         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1818         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1819         files.  They are not relevant to the original issue (bug#1004),
1820         and cause unnecessary recompilation (bug#2151).
1822 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1824         * play/landmark.el: Use lexical-binding and avoid `intangible'.
1825         (landmark--last-pos): New var.
1826         (landmark--intangible-chars): New const.
1827         (landmark--intangible): New function.
1828         (landmark-mode, landmark-move): Use it.
1829         (landmark-mode): Remove properties.
1830         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1831         (landmark-cross-qtuple):
1832         Don't worry about `intangible' any more.
1833         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1834         (landmark-init-display): Don't set `intangible' and `point-entered'.
1835         (square): Remove.  Inline it instead.
1836         (landmark--distance): Rename from `distance'.
1837         (landmark-calc-distance-of-robot-from): Rename from
1838         calc-distance-of-robot-from.
1839         (landmark-calc-smell-internal): Rename from calc-smell-internal.
1841 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
1843         * files.el (dir-locals-find-file, file-relative-name):
1844         * info.el (Info-complete-menu-item):
1845         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1846         to compare-strings to avoid out-of-range errors.
1847         * subr.el (string-prefix-p): Adjust to match strict range
1848         checking in compare-strings.
1850 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
1852         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1853         for comment lines non-greedy and stopping at newlines to fix stack
1854         overflows with large files.
1856 2014-06-24  Eli Barzilay  <eli@barzilay.org>
1858         * calculator.el (calculator-last-input): Drop 'ascii-character property
1859         lookup.
1861 2014-06-24  Leo Liu  <sdl.web@gmail.com>
1863         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1864         tab-stop-list to nil.  (Bug#16381)
1866         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1867         (indent-rigidly-left-to-tab-stop)
1868         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1869         (move-to-tab-stop): Change callers.
1871 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1873         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1874         wrt behavior of \n as the first/last element of a skeleton.
1876 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
1878         * net/tramp-adb.el (tramp-adb-handle-process-file):
1879         * net/tramp-sh.el (tramp-sh-handle-process-file):
1880         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1881         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1883 2014-06-24  Glenn Morris  <rgm@gnu.org>
1885         * play/landmark.el (landmark-move-down, landmark-move-up):
1886         Fix 2007-10-20 change - preserve horizontal position.
1888 2014-06-23  Sam Steingold  <sds@gnu.org>
1890         * simple.el (kill-append): Remove undo boundary depending on ...
1891         (kill-append-merge-undo): New user option.
1893 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1895         * simple.el (handle-shift-selection, exchange-point-and-mark)
1896         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1897         (transient-mark-mode): Use&set the global value.
1898         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1899         * emulation/edt.el (edt-emulation-off): Save&restore the global
1900         transient-mark-mode setting.
1901         * obsolete/pc-select.el (pc-selection-mode): Use the
1902         transient-mark-mode function.
1904 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
1906         * international/fontset.el (script-representative-chars):
1907         Add representative characters for scripts added in Unicode 7.0.
1908         (otf-script-alist): Synchronize with the latest registry of OTF
1909         script tags.
1911         * international/characters.el (char-script-table): Update for
1912         scripts added and codepoint ranges changed in Unicode 7.0.
1914 2014-06-23  Eli Barzilay  <eli@barzilay.org>
1916         * calculator.el (calculator-standard-displayer): Fix bug in use of
1917         `calculator-groupize-number'.
1918         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1919         `eval' code, so it works in v24.3.1 too.
1920         (calculator-last-input): Comment to clarify purpose.
1922 2014-06-22  Mario Lang  <mlang@delysid.org>
1924         * textmodes/rst.el (rst-comment-region): From from -> from.
1926         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1928 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
1930         * electric.el (electric-layout-post-self-insert-function):
1931         * emacs-lisp/ert.el (ert--insert-infos):
1932         * obsolete/vi.el (vi-set-mark):
1933         * term.el (term-handle-scroll):
1934         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1935         * wid-edit.el (widget-editable-list-value-create):
1936         Prefer point-marker to copy-marker of point.
1938 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1940         Fix completion retrieval parsing (bug#17209).
1941         * progmodes/python.el (python-mode):
1942         (python-util-strip-string): New function.
1943         (python-shell-completion-get-completions): Use it.
1945 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1947         * skeleton.el (skeleton-insert): Fix last change.
1949 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1951         Enhancements for outline integration (bug#17796).
1952         * progmodes/python.el (python-mode): Properly set
1953         outline-heading-end-regexp so that comments after colons for
1954         defuns are supported.
1956 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1958         * skeleton.el (skeleton-insert): Doc fix.
1960 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1962         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1963         (smie-config-guess): Use smie-config-local so the rules are obeyed
1964         (bug#17818).
1966         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1967         since it's already done inside the loop (bug#17819).
1969 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
1971         * mouse.el (mouse-drag-line): Re-remove code initially removed
1972         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1973         (Bug#17819).
1975 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1977         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1978         align with the surrounding parent (bug#17721).
1980 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1982         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1983         locally to nil.
1984         (texinfo-insert-block, texinfo-insert-@end)
1985         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1986         local setting of skeleton-end-newline by adding an explicit \n to
1987         the skeletons where appropriate.  (Bug#17801)
1989 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1991         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1992         (smie-indent--hanging-p): Use it.
1993         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1995 2014-06-21  Leo Liu  <sdl.web@gmail.com>
1997         * simple.el (read-quoted-char): Don't let help chars pop up help
1998         buffer.  (Bug#16617)
2000 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2002         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
2003         for | (bug#17621).
2005         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
2006         Drop unknown events instead of burping.
2008 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
2010         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
2011         and later.  (Bug#17790)
2013 2014-06-21  Juri Linkov  <juri@jurta.org>
2015         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
2016         to `soft'.  (Bug#17554)
2018 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2020         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
2021         (bug#17737).
2023 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
2025         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
2026         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
2028 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
2030         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
2031         `unread-command-events'.
2033 2014-06-19  William Xu  <william.xwl@gmail.com>
2035         * progmodes/hideif.el (hif-string-to-number): Don't return float for
2036         hex integer constants (bug#17807).
2038 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2040         * international/mule-util.el (truncate-string-ellipsis): New var.
2041         (truncate-string-to-width): Use it.
2043 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
2045         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
2046         (lisp-string-in-doc-position-p): New function, extracted from
2047         lisp-font-lock-syntactic-face-function.
2048         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
2050 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
2052         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
2054 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2056         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
2057         (bubbles--game-over): Don't add `intangible' properties since they
2058         didn't work anyway.
2060 2014-06-18  Juri Linkov  <juri@jurta.org>
2062         * vc/ediff-init.el (ediff-current-diff-Ancestor)
2063         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
2064         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
2065         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
2066         Add `min-colors 88' version with removed black/white foregrounds.
2067         (Bug#10181)
2069 2014-06-18  Juri Linkov  <juri@jurta.org>
2071         * vc/diff-mode.el (diff-changed): Empty face definition to use
2072         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
2073         (diff-context): Use darker color on light background and
2074         lighter color on dark background.
2076 2014-06-18  Juri Linkov  <juri@jurta.org>
2078         * vc/diff-mode.el (diff-refine-changed): Rename from
2079         `diff-refine-change' for consistency with `diff-changed'.
2080         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
2082         * vc/smerge-mode.el (smerge-refined-changed): Rename from
2083         `smerge-refined-change'.
2084         (smerge-refined-change): Add obsolete face alias.
2086 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2088         * rect.el (rectangle-preview): New custom.
2089         (rectangle): New group.
2090         (rectangle--pos-cols): Add `window' argument.
2091         (rectangle--string-preview-state, rectangle--string-preview-window):
2092         New vars.
2093         (rectangle--string-flush-preview, rectangle--string-erase-preview)
2094         (rectangle--space-to, rectangle--string-preview): New functions.
2095         (string-rectangle): Use them.
2096         (rectangle--inhibit-region-highlight): New var.
2097         (rectangle--highlight-for-redisplay): Obey it.  Make sure
2098         `apply-on-region' uses the point-crutches of the right window.
2099         Use :align-to rather than multiple spaces.
2101 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
2103         * ruler-mode.el (ruler-mode-window-col)
2104         (ruler-mode-mouse-set-left-margin)
2105         (ruler-mode-mouse-set-right-margin): Fix calculation of column
2106         from mouse position (Bug#17768).
2108 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
2110         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
2111         without varname or rhs causes crash.
2112         (dun-ftp): Fix bug where blank ftp password is allowed, making it
2113         impossible to win endgame.
2114         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
2115         rlogin is anymore.
2116         (dun-help): Bump version number; update contact info.
2118 2014-06-15  Eli Barzilay  <eli@barzilay.org>
2120         * calculator.el (calculator-prompt, calculator-remove-zeros)
2121         (calculator-mode-hook, calculator-operators, calculator-stack)
2122         (calculator-mode): Tweak docstring.
2123         (calculator-user-operators): Tweak docstring, fix a bug in the last
2124         example.
2125         (calculator-displayer): `std' case has an optional boolean.
2126         (calculator-displayers): Use the new boolean to group in decimal mode.
2127         (calculator-mode-map, calculator, calculator-message)
2128         (calculator-op-arity, calculator-add-operators)
2129         (calculator-string-to-number, calculator-displayer-prev)
2130         (calculator-displayer-next, calculator-remove-zeros)
2131         (calculator-eng-display, calculator-number-to-string)
2132         (calculator-update-display, calculator-last-input)
2133         (calculator-clear-fragile, calculator-digit, calculator-decimal)
2134         (calculator-exp, calculator-saved-move, calculator-clear)
2135         (calculator-copy, calculator-put-value, calculator-help)
2136         (calculator-expt, calculator-truncate): Minor code improvements.
2137         (calculator-need-3-lines): New function pulling out code from
2138         `calculator'.
2139         (calculator-get-display): Rename from `calculator-get-prompt', and
2140         improved.
2141         (calculator-push-curnum): Rename from `calculator-curnum-value', and
2142         extended for all uses of it.  All callers changed.
2143         (calculator-groupize-number): New utility for splitting a number into
2144         groups.
2145         (calculator-standard-displayer): Improve code, new optional argument to
2146         use comma-split groups, make second argument optional too to use with
2147         'left/'right inputs.  All callers changed.
2148         (calculator-reduce-stack-once): New utility, doing the meat of what
2149         `calculator-reduce-stack' used to do, much improved (mostly using
2150         `pcase' for conciseness and clarity).
2151         (calculator-reduce-stack): Now doing just the reduction loop using
2152         `calculator-reduce-stack-once'.
2153         (calculator-funcall): Improve code, make it work in v24.3.1 too.
2154         (calculator-last-input): Improve code, remove some old cruft.
2155         (calculator-quit): Kill `calculator-buffer' in electric mode too.
2156         (calculator-integer-p): Remove.
2157         (calculator-fact): Improve code, make it work on non-integer values
2158         too (using truncated numbers).
2160 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
2162         Sync with Tramp 2.2.10.
2164         * net/tramp.el (tramp-methods): Tweak docstring.
2165         (tramp-handle-file-accessible-directory-p): Check for
2166         `file-readable-p' instead of `file-executable-p'.
2167         (tramp-check-cached-permissions):
2168         Use `tramp-compat-file-attributes'.
2169         (tramp-call-process): Add new argument VEC.  Adapt callees in all
2170         tramp*.el files.
2172         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2173         (tramp-adb-maybe-open-connection): Don't set
2174         `tramp-current-*' variables.
2176         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2177         file properties of temporary buffers.
2179         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2181         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2182         (tramp-gvfs-handle-delete-file): Flush file
2183         properties, not directory properties.
2184         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2185         reading "unix::mode".
2186         (tramp-gvfs-handle-file-name-all-completions):
2187         Use "-h" option for "gvfs-ls".
2188         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2189         (tramp-gvfs-send-command): Simplify traces.
2191         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2192         (vc-git-program, vc-hg-program): Declare.
2193         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
2194         (tramp-methods) <nc>: Add new method.
2195         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2196         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2197         `tramp-login-args'.
2198         (tramp-default-user-alist): Add "nc".
2199         (top): Remove completion function for "sftp".  Add completion
2200         functions for "nc" and "psftp".
2201         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2202         Implement support for "nc" method.
2203         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2204         (tramp-remote-coding-commands, tramp-call-local-coding-command):
2205         Tweak docstring.
2206         (tramp-sh-handle-write-region): Tweak error message.
2207         (tramp-sh-handle-vc-registered): Remove backends when the remote
2208         binary does not exist.
2209         (tramp-find-inline-encoding): Do not raise an error.
2210         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
2211         the "nc" case.  Quote result also locally.
2213         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2214         (tramp-smb-handle-set-file-acl): Use `start-process'.
2215         (tramp-smb-handle-insert-directory): Use progress reporter.
2216         (tramp-smb-handle-rename-file): Flush also file properties of
2217         FILENAME.
2219         * net/trampver.el: Update release number.
2221 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2223         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2224         add-to-list.
2225         (ses-localvars): Remove ses--local-printer-list, unused.
2226         (ses--metaprogramming): New macro.  Use it to defvar variables.
2227         (ses-set-localvars): Simplify.
2228         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
2229         property-list into an alist.
2230         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2231         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2232         Remove; use defstruct accessors/setters instead.
2233         (ses-cell-formula-aset, ses-cell-printer-aset)
2234         (ses-cell-references-aset): Remove, use setf instead.
2235         (ses--alist-get): New function.
2236         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2237         Use an alist instead of a plist and don't do move-to-front since the
2238         list is always short.
2239         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2240         (ses-cell-property-set-fun, ses-cell-property-set)
2241         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2242         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2243         (ses--letref): New macro.
2244         (ses-cell-property-pop): Rewrite.
2245         (ses--cell): Rename from ses-cell and make it into a function.
2246         Make `formula' fallback on `value' if nil.
2247         (ses--local-printer): Rename from ses-local-printer and make it into
2248         a function.
2249         (ses-set-cell): Turn it into a macro so finding the accessor from the
2250         field name is done at compile time.
2251         (ses-repair-cell-reference-all): Test presence of `sym' rather than
2252         `ref' before adding `sym' to :ses-repair-reference.
2253         (ses-calculate-cell): Use ses--letref rather than
2254         ses-cell-property-get-handle.
2255         (ses-write-cells): Use a single prin1-to-string.
2256         (ses-setter-with-undo): New function.
2257         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2258         (ses-unset-with-undo): Remove.
2259         (ses-load): Prefer apply' over `eval'.
2260         (ses-read-printer, ses-set-column-width): Use standard "(default
2261         foo)" format.
2263 2014-06-15  Glenn Morris  <rgm@gnu.org>
2265         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2267         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
2268         Replace delete-duplicates and mapcan by cl- versions throughout.
2269         And cl-macroexpand-all by macroexpand-all.
2270         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2272 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
2274         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
2276 2014-06-15  Juri Linkov  <juri@jurta.org>
2278         * bindings.el: Put `ascii-character' property on keypad keys
2279         mapped to characters.  (Bug#17759)
2281 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2283         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2284         bumping forward into a closing paren (bug#17761).
2286         * term/xterm.el (xterm--version-handler): Work around for OSX
2287         Terminal.app (bug#17607).
2289 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
2291         * play/dunnet.el (dun-describe-room, dun-mode):
2292         If a lamp is in the room, you won't be eaten by a grue.
2294 2014-06-13  Glenn Morris  <rgm@gnu.org>
2296         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2297         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2298         (compile-always): GNU make automatically passes
2299         command-line arguments to sub-makes.
2301         * calendar/calendar.el (calendar-generate-window):
2302         Remove pointless call to font-lock-fontify-buffer.
2304 2014-06-13  Matthias Meulien  <orontee@gmail.com>
2306         * simple.el (completion-list-mode-map): Navigate with tab and backtab
2307         (bug#17767).
2309 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2311         * simple.el (set-mark-command): Simplify a bit.
2313 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2315         * help.el (help--key-binding-keymap): New function.
2316         (help--binding-locus): New function.
2317         (describe-key): Mention the keymap in which the binding was
2318         found. (bug#13948)
2320 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2322         * hippie-exp.el (he--all-buffers): New function.
2323         (try-expand-line-all-buffers, try-expand-list-all-buffers)
2324         (try-expand-dabbrev-all-buffers): Use it.
2326 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
2328         * hippie-exp.el (try-expand-line-all-buffers)
2329         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2330         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2331         original buffer, in case they're buffer-local.
2333 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2335         * ses.el (ses-initial-global-parameters-re): New defconst, a
2336         specific regexp is needed now that ses.el can handle both
2337         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2338         local printers.
2339         (ses-localvars): Add local variables needed for local printer handling.
2340         (ses-set-localvars): Handle hashmap initialisation.
2341         (ses-paramlines-plist): Add param-line for number of local printers.
2342         (ses-paramfmt-plist): New defconst, needed for code factorization
2343         between functions `ses-set-parameter' and
2344         `ses-file-format-extend-paramter-list'
2345         (ses-make-local-printer-info): New defsubst.
2346         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2347         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2348         (ses-cell-printer-aset): New defmacro.
2349         (ses-local-printer-compile): New defun.
2350         (ses-local-printer): New defmacro.
2351         (ses-printer-validate, ses-call-printer): Add support for local
2352         printer functions.
2353         (ses-file-format-extend-paramter-list): New defun.
2354         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2355         factorization.
2356         (ses-load): Add support for local printer functions.
2357         (ses-read-printer): Update docstring and add support for local printer
2358         functions.
2359         (ses-refresh-local-printer, ses-define-local-printer): New defun.
2360         (ses-safe-printer): Add support for local printer functions.
2362 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
2364         * ffap.el (ffap-lax-url): New var (bug#17723).
2365         (ffap-url-at-point): Use it.
2366         (ffap-file-at-point): Avoid returning just "/".
2368 2014-06-12  Matthias Meulien  <orontee@gmail.com>
2370         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2371         (python-mode-map): Bind it.
2373         * progmodes/python.el (class skeleton): Don't erase last char of class
2374         name (bug#17683).
2376 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2378         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2380 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
2382         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2383         (bug#17745).
2385 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2387         * international/mule-cmds.el: Use lexical-binding.
2388         (ucs-names): Simplify.
2390 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
2392         * progmodes/python.el (run-python): Use read-shell-command.
2394 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2396         * rect.el: Make it possible to move bounds past EOL or into TABs.
2397         (operate-on-rectangle): Use apply-on-rectangle.
2398         (rectangle--mark-crutches): New var.
2399         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2400         (rectangle--crutches, rectangle--reset-crutches): New functions.
2401         (apply-on-rectangle): Obey crutches.  Avoid setq.
2402         Fix missing final iteration if end is at EOB&BOL.
2403         (rectangle-mark-mode-map): Add remap bindings for
2404         exchange-point-and-mark and char/line movements.
2405         (rectangle--*-char): New function.
2406         (rectangle-exchange-point-and-mark, rectangle-right-char)
2407         (rectangle-left-char, rectangle-forward-char)
2408         (rectangle-backward-char, rectangle-next-line)
2409         (rectangle-previous-line): New commands.
2410         (rectangle--place-cursor): New function.
2411         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
2413 2014-06-08  Glenn Morris  <rgm@gnu.org>
2415         * startup.el (initial-buffer-choice): Doc fix.
2416         Reset :version (adding an option does not merit a :version bump).
2418         * bookmark.el (bookmark-load):
2419         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2421 2014-06-08  Juri Linkov  <juri@jurta.org>
2423         * desktop.el: Activate auto-saving on window configuration changes.
2424         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2425         `desktop-auto-save-set-timer' to/from
2426         `window-configuration-change-hook'.
2427         (desktop-auto-save-set-timer): Change REPEAT arg of
2428         `run-with-idle-timer' from t to nil.
2429         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2431 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
2433         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2434         vc-hg-command (bug#17570).
2436 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2438         * international/mule-cmds.el (ucs-names): Add special entry for BEL
2439         (bug#17702).
2441 2014-06-08  Glenn Morris  <rgm@gnu.org>
2443         * startup.el (window-setup-hook): Doc fix.
2445         * emacs-lisp/package.el (package-check-signature)
2446         (package-unsigned-archives): Doc fixes.
2448 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
2450         * window.el (display-buffer-use-some-window): Don't make window
2451         used smaller than it was before (Bug#17671).
2453 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
2455         * menu-bar.el (menu-bar-open): Fix last change: use the PC
2456         'redisplay' instead of '(sit-for 0)'.
2458 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
2460         * net/tramp.el (tramp-ssh-controlmaster-options):
2461         Improve search regexp.  (Bug#17653)
2463 2014-06-08  Glenn Morris  <rgm@gnu.org>
2465         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2467 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
2469         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2471 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
2473         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2474         (bug#17586).
2476         * vc/vc-hg.el (vc-hg-log-graph): New var.
2477         (vc-hg-print-log): Use it.
2478         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2479         graph output (bug#17515).
2481 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2483         * mouse.el (mouse-posn-property): Ignore buffer position info when the
2484         even happened elsewhere.
2486 2014-06-06  Mario Lang  <mlang@delysid.org>
2488         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2489         `recenter' if `current-buffer' is equal to `window-buffer'.
2491 2014-06-05  Leo Liu  <sdl.web@gmail.com>
2493         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2495 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
2497         * textmodes/tildify.el (tildify-foreach-region-outside-env):
2498         New function which calls a callback on portions of the buffer that are
2499         outside of ignored environments.
2500         (tildify-build-regexp): Remove function since it is now
2501         incorporated in `tildify-foreach-region-outside-env' where it is
2502         optimised and simplified by the use of `mapconcat'.
2503         (tildify-tildify): Return number of substitutions made so that…
2504         (tildify-count): …can be removed.
2505         (tildify-find-env): Accept a new PAIRS argument which was
2506         previously looked up in `tildify-ignored-environments-alist' each
2507         time the function was called.  With this change, the lookup is
2508         performed only once in `tildify-foreach-region-outside-env'.
2509         (tildify-region): Greatly simplify the function since now most of
2510         the work is done by `tildify-foreach-region-outside-env'.
2511         (tildify-mode-alist): Simplify slightly by avoiding if and setq
2512         and instead using or.
2514         * textmodes/tildify.el (tildify-ignored-environments-alist):
2515         Optimise environments regexes
2517         Each time beginning of an environment to ignore is found,
2518         `tildify-find-env' needs to identify regexp for the ending
2519         of the environment.  This is done by trying all the opening
2520         regexes on matched text in a loop, so to speed that up, this
2521         loop should have fewer things to match, which can be done by
2522         using alternatives in the opening regexes.
2524         Coincidentally, this should make matching of the opening
2525         regexp faster as well thanks to the use of `regexp-opt' and
2526         having common prefix pulled from many regexes.
2528         * textmodes/tildify.el (tildify-string-alist)
2529         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2530         of supported modes since `xml-mode' is no longer a thing but just
2531         an alias to the former.  Also include comments and insides of tags
2532         in `tildify-ignored-environments-alist' for XML modes.  Finally,
2533         since XML does not define “&nbsp;”[1], use a numeric reference for
2534         a no-break space (namely “&#160;”)
2536         [1] XML specification defines only a handful of predefined entities.
2537             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2538             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
2539             >, &, ' and " respectively).  This is in contrast to HTML and even
2540             XHTML which defined a whole bunch of entities including “&nbsp;”.
2542         * textmodes/tildify.el (tildify-pattern-alist)
2543         (tildify-string-alist, tildify-ignored-environments-alist):
2544         Improve defcustom's types by adding more tags explaining what each
2545         value means and replace “sexp” used in
2546         `tildify-ignored-environments-alist' with a full type declaration.
2548         * textmodes/tildify.el (tildify-find-env): Fix matched group
2549         indexes in end-regex building
2551         When looking for a start of an ignore-environment, the regex is built
2552         by concatenating regexes of all the environments configured in
2553         `tildify-ignored-environments-alist'.  So for example, the following
2554         list could be used to match TeX's \verb and \verb* commands:
2556             (("\\\\verb\\(.\\)" . (1))
2557              ("\\\\verb\\*\\(.\\)" . (1)))
2559         This would result in the following regex being used to find the start
2560         of any of the variants of the \verb command:
2562             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2564         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2565         won't match anything, and thus (match-string 1) will be nil, which
2566         will cause building of the end-matching regex to fail.
2568         Fix this by using capture groups from the time when the opening
2569         regexes are matched individually.
2571         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2572         in `tildify-find-env'
2574         The `tildify-ignored-environments-alist' allows the end-regex to
2575         be provided not as a static string but mix of strings and indexes
2576         of groups matched the begin-regex.  For example, the “\verb!…!”
2577         TeX-command (where “!” is an arbitrary character) is handled
2578         using:
2580             ("\\\\verb\\*?\\(.\\)" . (1))
2582         In the same way, the following should be supported as well:
2584             ("open-\\(.\\)" . ("end-" 1))
2586         However the tildify-find-env function fails at
2588             (concat result
2589                     (if (stringp (setq aux (car expression)))
2590                          expression  ; BUG: expression is a list
2591                        (regexp-quote (match-string aux))))
2593         where the string part is handled incorrectly.
2595         The most trivial fix would be to replace `expression' in the
2596         true-part of the if-statement with `aux', but instead, this commit
2597         optimises `tildify-find-env' by changing it to use `mapconcat'
2598         rather than open-coded while-loop.
2600 2014-06-05  Mario Lang  <mlang@delysid.org>
2602         * woman.el (woman-mapcan): Remove.
2603         (woman-parse-colon-path): Use cl-mapcan instead.
2605 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2607         * register.el: Add link to Emacs manual in Commentary.
2609 2014-06-02  Sam Steingold  <sds@gnu.org>
2611         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2612         (popup-menu): ...here.
2613         (menu-bar-open): Use it to avoid an error when `lookup-key'
2614         returns a number.
2616 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
2618         * net/tramp.el (tramp-call-process): Add traces.
2619         (tramp-handle-unhandled-file-name-directory): Return "/".
2621 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
2623         Sync with upstream verilog-mode revision 3cd8144.
2624         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2625         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2626         (verilog-type-font-keywords): Add nor.
2627         (verilog-batch-execute-func): Force reading of Local Variables.
2628         Fix printing "no changes to be saved" with verilog-batch.
2629         (verilog-auto-arg-ports): Doc fix.
2630         Add verilog-auto-arg-format to support newlines in AUTOARG.
2631         (verilog-auto-arg): Doc fix.
2633 2014-06-02  Glenn Morris  <rgm@gnu.org>
2635         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2636         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2637         * emulation/ws-mode.el: Move to obsolete/.
2638         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2640 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
2642         * simple.el (keyboard-quit): Force update of mode lines, to remove
2643         the "Def" indicator, if we were defining a macro.  (Bug#17615)
2645 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2647         * minibuffer.el (minibuffer-force-complete-and-exit):
2648         Obey minibuffer-default (bug#17545).
2650         * progmodes/js.el (js-indent-line): Don't mix columns and chars
2651         (bug#17619).
2653         * subr.el (set-transient-map): Don't wait for some "nested"
2654         transient-map to finish if we're only supposed to be active for
2655         the next command (bug#17642).
2657 2014-06-02  Leo Liu  <sdl.web@gmail.com>
2659         * emacs-lisp/gv.el (window-buffer, window-display-table)
2660         (window-dedicated-p, window-hscroll, window-point, window-start):
2661         Fix gv-expander.  (Bug#17630)
2663 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2665         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2666         clicks (bug#17633).
2668         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2669         for the single comma, since ", " is *very* common in normal French text
2670         (bug#17643).
2672 2014-06-02  Glenn Morris  <rgm@gnu.org>
2674         * emacs-lisp/package.el (package-check-signature)
2675         (package-unsigned-archives): Fix :version.
2677 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2679         * subr.el (sit-for): Don't run input-methods (bug#15614).
2681 2014-06-02  Glenn Morris  <rgm@gnu.org>
2683         * cus-start.el: Fix some :version numbers.
2685 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2687         * simple.el (deactivate-mark): Set mark-active to nil even if
2688         deactivation is done via setting transient-mark-mode to nil,
2689         since one is buffer-local and the other is global.
2691         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2692         there can't be more than 2 arguments (bug#17584).
2694 2014-06-02  Glenn Morris  <rgm@gnu.org>
2696         * simple.el (filter-buffer-substring-functions)
2697         (filter-buffer-substring-function, buffer-substring-filters)
2698         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2700         * minibuffer.el (completion-in-region-functions, completion-in-region)
2701         (completion--in-region): Doc fixes.
2703         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2704         (expand-abbrev, abbrev--default-expand): Doc fixes.
2706 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
2708         Include sources used to create macuvs.h.
2709         * international/README: Refer to the Unicode Terms of Use rather
2710         than copying it bodily here, as that simplifies maintenance.
2712 2014-06-01  Glenn Morris  <rgm@gnu.org>
2714         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
2716 2014-05-31  Glenn Morris  <rgm@gnu.org>
2718         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
2720 2014-05-30  Glenn Morris  <rgm@gnu.org>
2722         * loadup.el: Treat `command-line-args' more flexibly.
2724 2014-05-30  Alan Mackenzie  <acm@muc.de>
2726         Guard (looking-at "\\s!") from XEmacs.
2727         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2729 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
2731         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2732         The argument COUNT is now optional, to be more backward-compatible.
2733         Doc fix.  (Bug#17560)
2735 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
2737         * whitespace.el (whitespace-report-region):
2738         Simplify documentation.
2739         (whitespace-report-region): Allow report-if-bogus to take the
2740         value `never', for non-interactive use.
2741         (whitespace-report): Refer to whitespace-report-region's
2742         documentation.
2744 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2746         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
2747         Side benefit: it works without jit-lock.
2748         (whitespace-point--used): New buffer-local var.
2749         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
2750         (whitespace-color-off): Use font-lock-flush.
2751         (whitespace-point--used, whitespace-point--flush-used): New functions.
2752         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2753         (whitespace-empty-at-eob-regexp): Use them.
2754         (whitespace-post-command-hook): Rewrite.
2756         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2757         (font-lock-fontify-buffer): Mark interactive-only.
2758         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2759         Make buffer-local.
2760         (font-lock-specified-p): Remove redundant boundp check.
2761         (font-lock-flush-function, font-lock-ensure-function): New vars.
2762         (font-lock-turn-on-thing-lock): Set them.
2763         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2764         (font-lock-after-change-function): Make `old-len' optional.
2765         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2766         Call font-lock-flush, just in case.
2767         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2768         recent Emacsen.
2769         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2770         (vera-mode-map, vera-mode-menu): Remove bindings to it.
2771         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2772         and with-syntax-table.
2773         * textmodes/conf-mode.el (conf-quote-normal):
2774         * progmodes/sh-script.el (sh-set-shell):
2775         * progmodes/prog-mode.el (prettify-symbols-mode):
2776         * progmodes/f90.el (f90-font-lock-n):
2777         * progmodes/cwarn.el (cwarn-mode):
2778         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
2779         * progmodes/compile.el (compilation-setup, compilation--unsetup):
2780         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
2781         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
2782         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
2783         font-lock-fontify-buffer-function and
2784         font-lock-unfontify-buffer-function.
2785         (rmail-unfontify-buffer-function, rmail-fontify-message):
2786         Use with-silent-modifications.
2787         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
2788         and font-lock-ensure.
2789         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
2791 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
2793         * emacs-lisp/package.el (package-generate-autoloads):
2794         Inhibit backup files.
2796 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2798         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2799         (bug#17608).
2801 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
2803         * textmodes/tildify.el (tildify-buffer, tildify-region):
2804         Add dont-ask option.
2806 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2808         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
2809         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2811         * subr.el (internal--funcall-interactively): New.
2812         (internal--call-interactively): Remove.
2813         (called-interactively-p): Detect funcall-interactively instead of
2814         call-interactively.
2815         * simple.el (repeat-complex-command): Use funcall-interactively.
2816         (repeat-complex-command--called-interactively-skip): Remove.
2818 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2820         * register.el (register-read-with-preview): Don't burp on
2821         frame switches (e.g. due to the frame we just popped).
2823         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2824         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2826 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2828         * cus-face.el (custom-face-attributes): Add :distant-foreground.
2830 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
2832         * window.el (window--dump-frame): Remove interactive specification.
2834 2014-05-26  Glenn Morris  <rgm@gnu.org>
2836         * hippie-exp.el (he-line-search-regexp):
2837         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
2839 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2841         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2842         to avoid errors when trying to create or visit a file foo.todo
2843         located outside to todo-directory, and to allow having such files
2844         without them being tied to Todo mode (bug#17482).
2845         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2846         (todo-archive-done-item, todo-find-filtered-items-file)
2847         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2848         (todo-category-completions, todo-read-category): When visiting a
2849         Todo file, make sure we're in the right mode and the buffer local
2850         variables are set.
2851         (todo-make-categories-list, todo-reset-nondiary-marker)
2852         (todo-reset-done-string, todo-reset-comment-string):
2853         After processing all Todo files, kill the buffers of those files that
2854         weren't being visited before the processing.
2855         (todo-display-as-todo-file, todo-add-to-buffer-list)
2856         (todo-visit-files-commands): Comment out.
2857         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2858         (auto-mode-alist): Remove add-to-list calls making Todo file
2859         extensions unrestrictedly tied to Todo modes.
2861 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2863         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2864         (advice-function-member-p): Tell it to check both names and functions
2865         (bug#17531).
2866         (advice--add-function): Adjust call accordingly.
2868 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2870         * calendar/todo-mode.el: Miscellaneous bug fixes.
2871         (todo-delete-file): When deleting an archive but not its todo
2872         file, make sure to update the todo file's category sexp.
2873         (todo-move-category): Keep the moved category's name unless the
2874         file moved to already has a category with that name.  If the
2875         numerically last category of the source file was moved, make the
2876         first category current to avoid selecting a nonexisting category.
2877         (todo-merge-category): Fix implementation to make merging to a
2878         category in another file work as documented.  Eliminate now
2879         insufficient and unnecessary renaming of archive category, correct
2880         document string accordingly, and clarify it.  If the numerically
2881         last category of the source file was merged, make the first
2882         category current to avoid selecting a nonexisting category.
2883         (todo-archive-done-item): When there are marked items and point
2884         happens to be on an unmarked item, ignore the latter.  Don't leave
2885         point below last item after archiving marked items.
2886         (todo-unarchive-items): Fix logic to ensure unarchiving an item
2887         from an archive with only one category deletes the archive only
2888         when the category is empty after unarchiving.  Make sure the todo
2889         file's category sexp is updated.
2890         (todo-read-file-name): Allow an existing file name even when it is
2891         not required (todo-move-category needs this to work as documented).
2892         (todo-add-file): Call todo-validate-name to reject the name of an
2893         existing todo file (needed due to fix in todo-read-file-name).
2894         (todo-reset-nondiary-marker): Also reset in filtered items files.
2895         (todo-reset-done-string, todo-reset-comment-string): Also reset in
2896         regexp filtered items files.
2897         (todo-reset-highlight-item): Also reset in filtered items files.
2898         Fix incorrect variable reference in document string.
2900 2014-05-26  Glenn Morris  <rgm@gnu.org>
2902         * window.el (window--dump-frame): Avoid error in --without-x builds.
2904 2014-05-26  Glenn Morris  <rgm@gnu.org>
2906         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2908 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2910         * frame.el (set-frame-font): Doc fix.
2912         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
2914 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
2916         * emacs-lisp/package.el (package--download-one-archive):
2917         Use `write-region' instead of `save-buffer' to avoid running various
2918         hooks.  (Bug#17155)
2919         (describe-package-1): Same.  Insert newline at the end of the
2920         buffer if appropriate.
2922 2014-05-26  Juri Linkov  <juri@jurta.org>
2924         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2925         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2926         Add more modifiers: meta, control, shift, hyper, super, alt.
2927         (Bug#17439)
2929         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2930         to allow changing its value with `set-variable'.
2932 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2934         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2935         #; comments.
2936         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2937         New functions.
2938         (scheme-mode-variables): Set syntax-propertize-function instead of
2939         font-lock-syntactic-face-function.
2940         (scheme-font-lock-syntactic-face-function): Delete.
2942         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2944         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2945         (bug#17392).
2947 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2949         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2950         for a temporary file name.
2952 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2954         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
2956 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2958         * net/dbus.el (dbus-init-bus, dbus-call-method)
2959         (dbus-call-method-asynchronously, dbus-send-signal)
2960         (dbus-method-return-internal, dbus-method-error-internal):
2961         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
2963 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2965         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2966         methods which do not have a doc string.  (Bug#17490)
2968 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
2970         * textmodes/reftex-ref.el (reftex-format-special): Make it work
2971         also for AMS Math's \eqref macro.
2973 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2975         Arrange to never byte-compile the generated -pkg.el file.
2977         * emacs-lisp/package.el (package-generate-description-file):
2978         Output first-line comment to set buffer-local var `no-byte-compile'.
2979         Suggested by Dmitry Gutov:
2980         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2982 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2984         Fix bug: Properly quote args to generated -pkg.el `define-package'.
2986         * emacs-lisp/package.el (package-generate-description-file):
2987         Inline `package--alist-to-plist'; rewrite to selectively
2988         quote alist values that are not self-quoting.
2989         (package--alist-to-plist): Delete func.
2991 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
2993         * term/xterm.el (xterm-function-map): Add mapping for shifted
2994         keypad keys.
2996 2014-05-24  Daniel Colascione  <dancol@dancol.org>
2998         * progmodes/subword.el (subword-find-word-boundary): Move point to
2999         correct spot before search. (Bug#17580)
3001         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
3002         breaking the build.
3004 2014-05-24  Leo Liu  <sdl.web@gmail.com>
3006         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
3008 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3010         * minibuffer.el (completion--sreverse): Remove.
3011         (completion--common-suffix): Use `reverse' instead.
3012         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
3014 2014-05-22  Glenn Morris  <rgm@gnu.org>
3016         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
3018 2014-05-21  Daniel Colascione  <dancol@dancol.org>
3020         * files.el (interpreter-mode-alist): Add mksh.
3022         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
3023         derivative.
3024         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
3025         mksh. Improve custom spec; allow regular expressions.
3026         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
3027         (sh-after-hack-local-variables): New function.
3028         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
3029         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
3030         the normalization.
3031         (sh-canonicalize-shell): Rewrite to support regexes.
3033 2014-05-21  Leo Liu  <sdl.web@gmail.com>
3035         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
3037 2014-05-19  Leo Liu  <sdl.web@gmail.com>
3039         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
3041 2014-05-18  Glenn Morris  <rgm@gnu.org>
3043         * loadup.el:
3044         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
3046 2014-05-14  Sam Steingold  <sds@gnu.org>
3048         * progmodes/python.el (python-shell-get-or-create-process):
3049         Do not bind `current-prefix-arg' so that C-c C-z does not talk
3050         back unless requested.
3052 2014-05-14  Glenn Morris  <rgm@gnu.org>
3054         * subr.el (with-file-modes): New macro.
3055         * printing.el (pr-save-file-modes): Make obsolete.
3056         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
3057         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3058         Add with-file-modes.
3059         * doc-view.el (doc-view-make-safe-dir):
3060         * epg.el (epg--start):
3061         * files.el (locate-user-emacs-file, make-temp-file)
3062         (backup-buffer-copy, move-file-to-trash):
3063         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
3064         * eshell/esh-util.el (eshell-with-private-file-modes)
3065         (eshell-make-private-directory):
3066         * net/browse-url.el (browse-url-mosaic):
3067         * obsolete/mailpost.el (post-mail-send-it):
3068         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
3069         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
3070         Use with-file-modes.
3072         * vc/emerge.el (emerge-make-temp-file): Simplify.
3074 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
3075             Stefan Monnier  <monnier@iro.umontreal.ca>
3077         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
3078         suffix (bug#15419).
3080 2014-05-14  Glenn Morris  <rgm@gnu.org>
3082         * vc/emerge.el (emerge-temp-file-prefix):
3083         Make pointless option obsolete.
3084         (emerge-temp-file-mode): Make non-functional option obsolete.
3086 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
3088         * net/browse-url.el (browse-url):
3089         Use `unhandled-file-name-directory' when setting `default-directory',
3090         in order to circumvent stalled remote connections.  (Bug#17425)
3092 2014-05-14  Glenn Morris  <rgm@gnu.org>
3094         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
3095         Optimize on Emacs, which has the relevant functions for ages.
3097 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3099         * simple.el (undo-make-selective-list): Obey undo-no-redo.
3101 2014-05-12  Sam Steingold  <sds@gnu.org>
3103         * calendar/time-date.el (seconds-to-string): New function to
3104         pretty print time delay in seconds.
3106 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3108         * mpc.el (mpc-format): Trim Date to the year.
3109         (mpc-songs-hashcons): Shorten the Date field.
3111         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
3112         into autoloading just because of a silly indirection.
3114 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
3116         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
3118 2014-05-12  Glenn Morris  <rgm@gnu.org>
3120         * emacs-lisp/find-gc.el: Move to ../admin.
3122         * printing.el (pr-version):
3123         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
3125         * net/browse-url.el (browse-url-mosaic):
3126         Create /tmp/Mosaic.PID as a private file.
3128 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3130         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
3131         (advice--member-p): If name is given, only compare the name.
3132         (advice--remove-function): Don't stop at the first match.
3133         (advice--normalize-place): New function.
3134         (add-function, remove-function): Use it.
3135         (advice--add-function): Pass the name, if any, to
3136         advice--remove-function.
3138 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
3140         * electric.el (electric-indent-post-self-insert-function): Don't use
3141         `pos' after modifying the buffer (bug#17449).
3143 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
3145         * calendar/todo-mode.el (todo-insert-item-from-calendar):
3146         Correct argument list to conform to todo-insert-item--basic.
3148 2014-05-12  Glenn Morris  <rgm@gnu.org>
3150         * files.el (cd-absolute): Test if directory is accessible
3151         rather than executable.  (Bug#17330)
3153         * progmodes/compile.el (recompile):
3154         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
3156         * net/browse-url.el (browse-url-mosaic):
3157         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
3158         This is CVE-2014-3423.
3160 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3162         * mouse.el: Use the normal toplevel loop while dragging.
3163         (mouse-set-point): Handle multi-clicks.
3164         (mouse-set-region): Handle multi-clicks for drags.
3165         (mouse-drag-region): Update call accordingly.
3166         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3167         Use the normal event loop instead of a local while/read-event loop.
3168         (global-map): Remove redundant bindings for double/triple-mouse-1.
3169         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3170         Generate synthetic down events when the protocol only sends up events.
3171         (xterm-mouse-last): Remove.
3172         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3173         terminal parameter instead.
3174         (xterm-mouse--set-click-count): New function.
3175         (xterm-mouse-event): Detect/generate double/triple clicks.
3176         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3178         * info.el (Info-quoted): New face.
3179         (Info-mode-font-lock-keywords): New var.
3180         (Info-mode): Use it.
3182         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3183         are a hindrance for C-x C-e.
3185 2014-05-11  Leo Liu  <sdl.web@gmail.com>
3187         * net/rcirc.el (rcirc-sentinel): Fix last change.
3189 2014-05-08  Sam Steingold  <sds@gnu.org>
3191         * net/rcirc.el (rcirc-reconnect-delay): New user option.
3192         (rcirc-sentinel): Auto-reconnect to the server if
3193         `rcirc-reconnect-delay' is non-0 (but not more often than its
3194         value in case the host is off-line).
3196 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
3198         * progmodes/grep.el (lgrep): Fix a typo in last commit.
3200 2014-05-09  Glenn Morris  <rgm@gnu.org>
3202         * files.el (file-expand-wildcards):
3203         * man.el (Man-support-local-filenames):
3204         * printing.el (pr-i-directory, pr-interface-directory):
3205         * progmodes/grep.el (lgrep, rgrep):
3206         * textmodes/ispell.el (ispell-call-process)
3207         (ispell-call-process-region, ispell-start-process)
3208         (ispell-init-process): Use file-accessible-directory-p.
3210 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3212         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3213         (xterm-mouse--read-event-sequence-1000): Return nil if something
3214         looks fishy.
3215         (xterm-mouse-event): Propagate it.
3216         (xterm-mouse-translate-1): Handle it.
3218 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
3220         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3221         four slots of the parameter list are filled, make sure to pass it
3222         to the argument list of todo-insert-item--basic.
3224 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3226         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3227         Add optional `seen' argument to detect and break infinite loops.
3229 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
3231         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3232         (trace-unsafe, trace-use-tree): Make parentheses style be
3233         according to Emacs style.
3235 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
3237         * net/tramp-sh.el (tramp-remote-process-environment):
3238         Remove HISTFILE and HISTSIZE; it's too late to set them here.
3239         Add :version entry.
3240         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3241         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
3242         extra "PSx=..." commands.
3243         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3244         (Bug#17295)
3246         (tramp-uudecode): Replace the hard-coded temporary file name by a
3247         format specifier.
3248         (tramp-remote-coding-commands): Enhance docstring.
3249         (tramp-find-inline-encoding): Replace "%t" by a temporary file
3250         name.  (Bug#17415)
3251         This is CVE-2014-3424.
3253 2014-05-08  Glenn Morris  <rgm@gnu.org>
3255         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3256         (find-gc-source-files): Update some names.
3257         (trace-call-tree): Simplify and update.
3258         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
3259         This is CVE-2014-3422.
3261 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3263         * minibuffer.el (completion--try-word-completion): Revert fix for
3264         Bug#15980 (bug#17375).
3266         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3267         Always store button numbers in the same way in xterm-mouse-last;
3268         Don't burp is xterm-mouse-last is not set as expected.
3269         Never return negative indices.
3271 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
3273         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3274         Backtrack one char if the global/char-literal var matcher hits
3275         inside a string.  The next char could be the beginning of an
3276         expression expansion.
3278 2014-05-08  Glenn Morris  <rgm@gnu.org>
3280         * help-fns.el (describe-function-1): Test for an autoload before a
3281         macro, since `macrop' works on autoloads.  (Bug#17410)
3283 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3285         * electric.el (electric-indent-functions-without-reindent): Add yaml.
3287         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3288         Make sure the new point we return is within the new string (bug#17239).
3290 2014-05-05  Daniel Colascione  <dancol@dancol.org>
3292         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3293         Port `gnu' pattern to rx.
3295 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
3297         Remove unneeded prompt when closing a buffer with active
3298         emacsclient ("Buffer ... still has clients"), #16548.
3299         * server.el (server-start): Remove the only call to:
3300         (server-kill-buffer-query-function): Remove.
3302 2014-05-04  Leo Liu  <sdl.web@gmail.com>
3304         * calendar/diary-lib.el (calendar-chinese-month-name-array):
3305         Defvar to pacify compiler.
3307 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
3309         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3311 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3313         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3314         Use nil rather than `default' for the "default" appearance (bug#17388).
3315         * vc/ediff-util.el (ediff-inferior-compare-regions)
3316         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3317         a misleading `default' value when it's really a boolean.
3318         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3319         overlay is not visible.
3321 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
3323         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3324         (todo-menu): Uncomment and update.
3326 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
3328         * calendar/todo-mode.el: Reimplement item editing to have the same
3329         basic user interface as item insertion, and make small UI and
3330         larger internal improvements to the latter.
3331         (todo-insert-item): Add reference to the Todo mode user manual to
3332         the documentation string.
3333         (todo-insert-item--basic): Rename from todo-basic-insert-item and
3334         adjust all callers.  Change signature to combine diary and
3335         nonmarking arguments.  Incorporate functionality of deleted item
3336         copying command and add error checking.  Remove detailed
3337         descriptions of the arguments from the documentation string, since
3338         this is treated in the Todo mode user manual.
3339         (todo-copy-item, todo-edit-multiline-item)
3340         (todo-edit-done-item-comment, todo-edit-item-header)
3341         (todo-edit-item-time, todo-edit-item-date-from-calendar)
3342         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3343         (todo-edit-item-date-year, todo-edit-item-date-month)
3344         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3345         Remove.
3346         (todo-edit-item): Reimplement as wrapper command for
3347         todo-edit-item--next-key and make it distinguish done and not done
3348         todo items.
3349         (todo-edit-item--text): New function, replacing old command
3350         todo-edit-item and incorporating deleted commands
3351         todo-edit-multiline-item and todo-edit-done-item-comment.
3352         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3353         Use only numeric value of prefix argument.  Remove detailed
3354         descriptions of the arguments from the documentation string, since
3355         this is treated in the Todo mode user manual.
3356         (todo-edit-item--diary-inclusion): New function, replacing old
3357         command todo-edit-item-diary-inclusion and incorporating and fixing
3358         functionality of deleted command todo-edit-item-diary-nonmarking,
3359         making sure to remove todo-nondiary-marker when adding
3360         diary-nonmarking-symbol.
3361         (todo-edit-category-diary-inclusion): Make sure to delete
3362         diary-nonmarking-symbol when adding todo-nondiary-marker.
3363         (todo-edit-category-diary-nonmarking): Fix indentation.
3364         (todo-insert-item--parameters): Group diary and nonmarking
3365         parameters together.
3366         (todo-insert-item--apply-args): Adjust to signature of
3367         todo-insert-item--basic and incorporate copy parameter.
3368         Make small code improvements.
3369         (todo-insert-item--next-param): Improve prompt and adjust it to
3370         new parameter grouping.  Remove obsolete code.
3371         (todo-edit-item--param-key-alist)
3372         (todo-edit-item--date-param-key-alist)
3373         (todo-edit-done-item--param-key-alist): New defconsts.
3374         (todo-edit-item--prompt): New variable.
3375         (todo-edit-item--next-key): New function.
3376         (todo-key-bindings-t): Bind "e" to todo-edit-item.
3377         Remove bindings of deleted commands.
3379 2014-05-04  Leo Liu  <sdl.web@gmail.com>
3381         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3383 2014-05-04  Glenn Morris  <rgm@gnu.org>
3385         * allout-widgets.el (allout-widgets-tally)
3386         (allout-decorate-item-guides):
3387         * menu-bar.el (menu-bar-positive-p):
3388         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3389         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3390         * progmodes/js.el (js--inside-param-list-p)
3391         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3392         * progmodes/prolog.el (region-exists-p):
3393         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3394         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3395         Doc fixes (replace `iff').
3397 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3399         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3401 2014-05-04  Leo Liu  <sdl.web@gmail.com>
3403         Support Chinese diary entries in calendar and diary.  (Bug#17393)
3404         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3405         (calendar-chinese-from-absolute-for-diary)
3406         (calendar-chinese-to-absolute-for-diary)
3407         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3408         (diary-chinese-list-entries): New functions to list and mark
3409         Chinese diary entries in the calendar window.
3410         (diary-chinese-anniversary)
3411         (diary-chinese-insert-anniversary-entry)
3412         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3413         (diary-chinese-insert-yearly-entry): New commands to insert
3414         Chinese diary entries.
3416         * calendar/diary-lib.el (diary-font-lock-keywords):
3417         Support font-locking Chinese dates.
3419         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3420         inserting Chinese diary entries.
3422         * calendar/calendar.el (diary-chinese-entry-symbol):
3423         New customizable variable.
3424         (calendar-mode-map): Add bindings for inserting Chinese diary
3425         entries.
3427 2014-05-03  Juri Linkov  <juri@jurta.org>
3429         * dired.el (dired-check-switches, dired-switches-recursive-p):
3430         New functions.  (Bug#17218)
3431         (dired-switches-escape-p, dired-move-to-end-of-filename):
3432         Use `dired-check-switches'.
3433         (dired-insert-old-subdirs, dired-build-subdir-alist)
3434         (dired-sort-R-check): Use `dired-switches-recursive-p'.
3436 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
3438         * simple.el (undo-make-selective-list): New algorithm fixes
3439         incorrectness of position adjustments when undoing in region.
3440         (Bug#17235)
3441         (undo-elt-crosses-region): Make obsolete.
3442         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3443         New functions to adjust positions using undo-deltas.
3445 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3447         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3448         the last consecutive closing paren (bug#17345).
3450 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
3452         * dired.el (dired-mode): make terminology for eXpunge command
3453         consistent.  (Bug#17276)
3455 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
3457         * dired.el (dired-initial-position-hook, dired-initial-position):
3458         Doc string fixes.
3460 2014-04-30  Glenn Morris  <rgm@gnu.org>
3462         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
3464 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
3466         * faces.el (face-spec-recalc): Apply X resources only after the
3467         defface spec has been applied. Thus, X resources are no longer
3468         overriden by the defface spec which also fixes issues on win32 where
3469         the toolbar coloring was wrong because it is set through X resources
3470         and was (wrongfully) overriden.  (Bug#16694)
3472 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * textmodes/rst.el (electric-pair-pairs): Declare.
3475         (rst-mode): Set it (bug#17131).
3477 2014-04-30  Juri Linkov  <juri@jurta.org>
3479         * desktop.el (desktop-value-to-string): Let-bind `print-length'
3480         and `print-level' to nil.  (Bug#17351)
3482 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3484         * battery.el (battery-update): Handle the case where battery
3485         status is "N/A" (bug#17319).
3487 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3489         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
3490         to syntax-propertize.
3491         (ps-mode-auto-indent): Mark as obsolete.
3492         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3493         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3494         word regexp operators.
3495         (ps-mode-map): Move initialization into declaration.  Remove binding
3496         for TAB, RET, >, ], and }.
3497         (ps-mode-syntax-table): Move initialization into declaration.
3498         Don't give word syntax to non-word chars.
3499         (ps-run-mode-map): Move initialization into declaration.
3500         (ps-mode-menu-main): Remove auto-indent entry.
3501         (ps-mode-smie-rules): New function.
3502         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3503         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3504         (ps-mode--string-syntax-table): New const.
3505         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3506         New functions.
3507         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3508         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3510 2014-04-27  Daniel Colascione  <dancol@dancol.org>
3512         * term/xterm.el (xterm-paste): Use large finite timeout when
3513         reading event to avoid putting keys in this-command-keys.
3515 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3517         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3518         (perl-syntax-propertize-function): Use it.  Extend handling of
3519         here-docs to the unquoted case.
3521 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
3523         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3524         Use equal-including-properties to compare help-echo strings (bug#17331).
3526 2014-04-25  Leo Liu  <sdl.web@gmail.com>
3528         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3529         Fix syntax for @.  (Bug#17325)
3531 2014-04-25  Daniel Colascione  <dancol@dancol.org>
3533         * emacs-lisp/cl.el (gv): Require gv early to break eager
3534         macro-expansion cycles.
3536 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3538         * simple.el (region-active-p): Check there's a mark (bug#17324).
3540         * simple.el (completion-list-mode-map): Use choose-completion for the
3541         mouse binding as well (bug#17302).
3542         (completion-list-mode, completion-setup-function): Adjust docstring and
3543         echo area message accordingly.
3544         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3545         calling convention of choose-completion.
3546         * comint.el (comint-dynamic-list-completions):
3547         * term.el (term-dynamic-list-completions): Accept choose-completion.
3549         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3550         &, |, +, - and * can't be a division (bug#17317).
3552         * term/xterm.el (xterm--version-handler): Don't use modern xterm
3553         features on gnome-terminal (bug#16988).
3555 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
3557         Improve Scheme font-locking for (define ((foo ...) ...) ...).
3559         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3560         the declared object, ignore zero or more parens, not zero or one.
3562 2014-04-24  Leo Liu  <sdl.web@gmail.com>
3564         * progmodes/xscheme.el (xscheme-expressions-ring)
3565         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3566         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3567         (xscheme-allow-output-p, xscheme-prompt)
3568         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3570         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3571         Comment out unused functions.
3573 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3575         * info.el: Use lexical-binding and cl-lib.
3576         Use defvar-local and setq-local instead of make-local-variable.
3577         (Info-apropos-matches): Avoid add-to-list.
3578         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3580 2014-04-24  Daniel Colascione  <dancol@dancol.org>
3582         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3584 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3586         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3588 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
3590         * dired.el (dired-insert-set-properties): Do not consider
3591         subdirectory headings and empty lines to be information that
3592         `dired-hide-details-mode' should hide.  (Bug#17228)
3594 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3596         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3597         Remove test messages.
3598         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3599         and `target' twice.
3601 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3603         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3604         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3606         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3608 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3610         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3611         Set "IFS=" when using read builtin, in order to preserve spaces in
3612         the file name.  Add test messages for hunting a bug on hydra.
3613         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
3615 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3617         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3618         Don't prettify a word within a symbol.
3620 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3622         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3623         possible.
3625 2014-04-22  Daniel Colascione  <dancol@dancol.org>
3627         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3628         use defun to define `function-put'.
3630 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3633         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3634         (lisp-mode-variables): Set font-lock-extra-managed-props.
3636         * emacs-lisp/byte-run.el (function-put): New function.
3637         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
3638         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3639         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3640         Use them.
3642 2014-04-22  Daniel Colascione  <dancol@dancol.org>
3644         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3645         Add `full-p' parameter; when nil, call `macroexpand' instead of
3646         `macroexpand-all'.
3648         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3649         Improve docstrings.
3651         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3652         Use lambda function values, not quoted lambdas.
3653         (byte-compile-recurse-toplevel): Remove extraneous &optional.
3655         * emacs-lisp/cl-macs.el
3656         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3657         (cl-struct-slot-value): Conditionally use aref or nth so that the
3658         compiler produces optimal code.
3660 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3662         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3663         (inline): Don't inline cl--set-elt.
3664         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3665         Define as inlinable instead.
3666         (cl-struct-set-slot-value): Remove.
3668         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3669         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3670         Use setf instead.
3672 2014-04-21  Daniel Colascione  <dancol@dancol.org>
3674         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3675         last two parameters after all.
3676         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3677         (cl--compiler-macro-assoc,cl-struct-slot-value)
3678         (cl-struct-set-slot-value): Stop using them.
3680 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3682         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3683         entry in image-mode-winprops-alist.
3685 2014-04-21  Daniel Colascione  <dancol@dancol.org>
3687         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3688         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3689         (byte-compile-toplevel-file-form): Use it.
3691         * emacs-lisp/cl-macs.el:
3692         (cl--loop-let): Properly destructure `while' clauses.
3694 2014-04-20  Daniel Colascione  <dancol@dancol.org>
3696         * vc/vc.el (vc-root-dir): New public autoloaded function for
3697         generically finding the current VC root.
3698         * vc/vc-hooks.el (vc-not-supported): New error.
3699         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3701 2014-04-20  Daniel Colascione  <dancol@dancol.org>
3703         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3704         argument.
3705         (cl--const-expr-val): cl--const-expr-val should macroexpand its
3706         argument in case we're inside a symbol-macrolet.
3707         (cl--do-arglist, cl--compiler-macro-typep)
3708         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3709         environment to `cl--const-expr-val'.
3710         (cl-struct-sequence-type,cl-struct-slot-info)
3711         (cl-struct-slot-offset, cl-struct-slot-value)
3712         (cl-struct-set-slot-value): New functions.
3714 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3716         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3717         assignments such as "case=hello" (bug#17297).
3719 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
3721         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3722         Do not autoload.
3723         (tramp-file-name-handler, tramp-completion-file-name-handler):
3724         Revert patch from 2014-04-10, it isn't necessary anymore.
3725         (tramp-autoload-file-name-handler)
3726         (tramp-register-autoload-file-name-handlers): New defuns.
3727         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3728         (tramp-register-file-name-handlers): Remove also
3729         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3730         Do not autoload its invocation, but eval it after loading of 'tramp.
3732         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3734         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3736 2014-04-17  Daniel Colascione  <dancol@dancol.org>
3738         Add support for bracketed paste mode; add infrastructure for
3739         managing terminal mode enabling and disabling automatically.
3741         * xt-mouse.el:
3742         (xterm-mouse-mode): Simplify.
3743         (xterm-mouse-tracking-enable-sequence)
3744         (xterm-mouse-tracking-disable-sequence): New constants.
3745         (turn-on-xterm-mouse-tracking-on-terminal)
3746         (turn-off-xterm-mouse-tracking-on-terminal):
3747         Use tty-mode-set-strings and tty-mode-reset-strings terminal
3748         parameters instead of random hooks.
3749         (turn-on-xterm-mouse-tracking)
3750         (turn-off-xterm-mouse-tracking): Delete.
3752         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3753         (xterm-paste-ending-sequence): New constant.
3754         (xterm-paste): New command used for bracketed paste support.
3756         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3757         (terminal-init-xterm-bracketed-paste-mode): New function.
3758         (terminal-init-xterm): Call it.
3759         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3760         and tty-mode-reset-strings instead of random hooks.
3761         (xterm-turn-on-modify-other-keys)
3762         (xterm-turn-off-modify-other-keys)
3763         (xterm-remove-modify-other-keys): Delete obsolete functions.
3765         * term/screen.el: Rewrite to just use the xterm code.
3766         Add copyright notice.  Mention tmux.
3768 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
3770         * image-mode.el (image-mode-window-put): Also update the property of
3771         the "default window".
3772         * doc-view.el (doc-view-new-window-function): If no window
3773         exists, move to the last known page.
3775 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3777         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
3778         here-documents (bug#17262).
3780 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3782         * term/pc-win.el (x-list-fonts, x-get-selection-value):
3783         Provide doc strings, as required by snarf-documentation.
3785 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3787         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
3788         arg of overlays-at.  Use `invisible-p'.
3790         * obsolete/lucid.el (extent-at):
3791         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
3792         overlays-at.
3793         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
3795 2014-04-16  João Távora  <joaotavora@gmail.com>
3797         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
3798         links.  (Bug#17217).
3800 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3802         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3803         Use mapc to loop over a vector.  (Bug#17257).
3805 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
3807         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3808         patch, there are new problems with file names containing spaces.
3809         Get rid of backticks.  (Bug#17238)
3811 2014-04-16  João Távora  <joaotavora@gmail.com>
3813         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3814         possible bug.
3816 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3818         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3819         (blink-cursor-mode): Mention customization variables and the
3820         effect of 'blink-cursor-blinks'.
3822 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
3824         * simple.el (undo): Prevent insertion of identity mapping into
3825         undo-equiv-table so as undo-only does not inf loop in the presence
3826         of consecutive nils in undo list.
3828 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
3830         * faces.el (make-face): Deprecate optional argument as it is no
3831         longer needed/used since the conditional X resources handling
3832         has been pushed down to make-face-x-resource-internal itself.
3833         (make-empty-face): Don't pass optional argument to make-face.
3835 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
3837         * savehist.el (savehist-save): Remove workaround for a read-passwd
3838         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
3839         noticing that the shim was still present.
3841 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3843         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3845 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
3847         * faces.el (face-set-after-frame-default): Remove unused local variable.
3849 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3851         * progmodes/grep.el: Use lexical-binding.
3852         (grep-expand-template): Pass explicit lexical env to `eval'.
3853         (zrgrep): Let-bind grep-find-template explicitly.
3855         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3856         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3858 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
3860         * international/characters.el <standard-case-table>: Add entries
3861         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
3862         Set category of Coptic characters be 'g' (Greek).
3864 2014-04-12  Leo Liu  <sdl.web@gmail.com>
3866         * progmodes/octave.el (completion-table-with-cache):
3867         Define if not available.
3868         (octave-goto-function-definition, octave-sync-function-file-names)
3869         (octave-find-definition-default-filename):
3870         Backquote upattern for compatibility.
3872 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
3874         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3875         name twice due to backticks.  (Bug#17238)
3877 2014-04-12  Glenn Morris  <rgm@gnu.org>
3879         * term/w32-win.el (x-win-suspend-error):
3880         * term/x-win.el (x-win-suspend-error): Sync docs.
3882 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
3884         * faces.el (make-face): Remove deprecated optional argument.
3885         The conditional application of X resources is handled directly by
3886         make-face-x-resource-internal since Emacs 24.4.
3887         (make-empty-face): Don't pass optional argument to make-face.
3889 2014-04-11  Glenn Morris  <rgm@gnu.org>
3891         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
3893 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3895         Ediff's overlay priorities cause more trouble than they solve.
3896         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3897         (ediff-highest-priority): Remove function (bug#17234).
3898         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3899         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3900         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3901         overlay priorities.
3903 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
3905         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3906         entry; use symbol boundaries to avoid mis-matches.
3908 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
3910         * net/tramp.el (tramp-file-name-handler)
3911         (tramp-completion-file-name-handler): Avoid recursive loading.
3913         * net/tramp-sh.el (tramp-make-copy-program-file-name):
3914         Quote result also locally.
3916 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3918         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3919         Remove left-over code.
3921         * newcomment.el (comment-indent-new-line): Sink code where it's used.
3922         Reuse the previous comment's indentation unconditionally if it's on its
3923         own line.
3925 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3927         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3928         `no-syntax-crossing' arguments.  Forward to `up-list'.
3929         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3930         Implement logic for escaping from strings.  Use narrowing to deal
3931         with corner cases.
3933 2014-04-09  Leo Liu  <sdl.web@gmail.com>
3935         * net/rcirc.el (rcirc-connection-info): New variable.
3936         (rcirc-connect): Use it to store connection info.
3937         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3938         for killed process.
3939         (rcirc-cmd-reconnect): New command.  (Bug#17045)
3940         (rcirc-mode, set-rcirc-encode-coding-system)
3941         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3943 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3945         * emacs-lisp/cl-indent.el: Add comment claiming
3946         facility is also good for elisp.
3947         (lisp-indent-find-method): New function.
3948         (common-lisp-indent-function): Recognize cl-loop.
3949         (common-lisp-indent-function-1): Recognize cl constructs; use
3950         `lisp-indent-find-method' instead of `get' directly.
3951         (if): Use else-body style for elisp.
3953 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
3955         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3956         Module methods.  (Bug#17216)
3958 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3960         * help.el (describe-bindings): Fix buffer handling (bug#17210).
3961         (describe-bindings-internal): Mark obsolete.
3963 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3965         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3966         buffer-file-name, and buffer-file-truename any more.
3968 2014-04-08  Leo Liu  <sdl.web@gmail.com>
3970         Use lexical-binding and require cl-lib.
3971         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3972         (rcirc-handler-generic, rcirc-fill-paragraph)
3973         (rcirc-format-response-string, rcirc-target-buffer)
3974         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3975         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3976         (rcirc-ctcp-sender-PING, rcirc-browse-url)
3977         (rcirc-markup-timestamp, rcirc-markup-attributes)
3978         (rcirc-markup-my-nick, rcirc-markup-urls)
3979         (rcirc-markup-bright-nicks, rcirc-markup-fill)
3980         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3981         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3982         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3983         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3984         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3985         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3986         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3987         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3988         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3989         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3990         use cl-lib.
3992 2014-04-07  João Távora  <joaotavora@gmail.com>
3994         * elec-pair.el (electric-pair--syntax-ppss):
3995         When inside comments parse from comment beginning.
3996         (electric-pair--balance-info): Fix typo in comment.
3997         (electric-pair--in-unterminated-string-p): Delete.
3998         (electric-pair--unbalanced-strings-p): New function.
3999         (electric-pair-string-bound-function): New var.
4000         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4001         according to `electric-pair--in-unterminated-string-p'
4003         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4004         Inhibit quote pairing if point-max is inside an unterminated string.
4005         (electric-pair--looking-at-unterminated-string-p): Delete.
4006         (electric-pair--in-unterminated-string-p): New function.
4008 2014-04-07  Glenn Morris  <rgm@gnu.org>
4010         * shell.el (shell-directory-tracker):
4011         Go back to just ignoring failures.  (Bug#17159)
4013 2014-04-07  João Távora  <joaotavora@gmail.com>
4015         Fix `electric-pair-delete-adjacent-pairs' in modes binding
4016         backspace. (bug#16981)
4017         * elec-pair.el (electric-pair-backward-delete-char): Delete.
4018         (electric-pair-backward-delete-char-untabify): Delete.
4019         (electric-pair-mode-map): Bind backspace to a menu item filtering
4020         a new `electric-pair-delete-pair' command.
4021         (electric-pair-delete-pair): New command.
4023         * progmodes/python.el (python-electric-pair-string-delimiter):
4024         Fix triple-quoting electricity.  (Bug#17192)
4026         * elec-pair.el (electric-pair-post-self-insert-function):
4027         Don't skip whitespace when `electric-pair-text-pairs' and
4028         `electric-pair-pairs' were used. syntax to
4029         electric-pair--skip-whitespace.  (Bug#17183)
4031 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
4033         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
4034         "<F>".  (Bug#17199)
4036 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4038         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
4039         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
4041 2014-04-07  Glenn Morris  <rgm@gnu.org>
4043         * help.el (view-lossage): Doc tweak.
4045 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
4047         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
4048         only when inhibit-x-resources is nil, and do that earlier in the
4049         function.  Doc fix.  (Bug#16694)
4050         (face-spec-choose): Accept additional optional argument, whose
4051         value is returned if no matching attributes are found.
4052         (face-spec-recalc): Use the new optional argument when calling
4053         face-spec-choose.  (Bug#16378)
4054         (make-face-x-resource-internal): Do nothing when
4055         inhibit-x-resources is non-nil.  Don't touch the default face if
4056         reversed video is given--as was done in previous versions of Emacs.
4057         (face-set-after-frame-default): Don't call
4058         make-face-x-resource-internal here.  (Bug#16434)
4060 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
4062         * doc-view.el (doc-view-bookmark-jump):
4063         Use `bookmark-after-jump-hook' to jump to the right page after the
4064         buffer is shown in a window.  (bug#16090)
4066 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
4068         * international/characters.el (mirroring): Fix last change:
4069         instead of loading uni-mirrored.el explicitly, do that implicitly
4070         by creating the 'mirroring' uniprop table.  This avoids announcing
4071         the loading of uni-mirrored.el.
4073 2014-04-07  Glenn Morris  <rgm@gnu.org>
4075         * files.el (buffer-stale--default-function)
4076         (buffer-stale-function, revert-buffer--default):
4077         * autorevert.el (auto-revert-buffers): Doc tweaks.
4079 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
4081         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
4083 2014-04-07  Glenn Morris  <rgm@gnu.org>
4085         * files.el (make-backup-file-name-function)
4086         (make-backup-file-name, make-backup-file-name--default-function)
4087         (make-backup-file-name-1, find-backup-file-name)
4088         (revert-buffer-function, revert-buffer-insert-file-contents-function)
4089         (buffer-stale--default-function, buffer-stale-function)
4090         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
4091         (revert-buffer, revert-buffer--default)
4092         (revert-buffer-insert-file-contents--default-function):
4093         Doc fixes related to defaults no longer being nil.
4094         (make-backup-file-name-function): Bump :version.
4095         Restore nil as a valid but deprecated custom type.
4097 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4099         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4100         Handle $' used as a variable (bug#17174).
4102         * progmodes/perl-mode.el (perl-indent-new-calculate):
4103         Handle forward-sexp failure (bug#16985).
4104         (perl-syntax-propertize-function): Add "foreach" and "for" statement
4105         modifiers introducing expressions (bug#17116).
4107 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4109         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
4111 2014-04-05  Leo Liu  <sdl.web@gmail.com>
4113         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4114         Add define-compilation-mode.
4116 2014-04-04  João Távora  <joaotavora@gmail.com>
4118         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
4119         parse from comment beginning.
4120         (electric-pair--balance-info): Fix typo in comment.
4121         (electric-pair--in-unterminated-string-p): Delete.
4122         (electric-pair--unbalanced-strings-p): New function.
4123         (electric-pair-string-bound-function): New var.
4124         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4125         according to `electric-pair--in-unterminated-string-p'.
4127 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4129         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
4130         Move declaration before first use.
4131         (reftex-move-to-next-arg): Silence compiler warning.
4133 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
4135         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
4136         Use `window-total-width' instead of `window-width'.
4138 2014-04-03  Daniel Colascione  <dancol@dancol.org>
4140         * subr.el (set-transient-map): Remove rms's workaround entirely;
4141         use new `suspicious-object' subr to mark our lambda for closer
4142         scrutiny during gc.
4144 2014-04-02  Richard Stallman  <rms@gnu.org>
4146         * subr.el (set-transient-map): Comment out previous change.
4148 2014-04-02  Glenn Morris  <rgm@gnu.org>
4150         * menu-bar.el (menu-bar-file-menu):
4151         * vc/ediff.el (ediff-current-file):
4152         Update for revert-buffer-function no longer being nil by default.
4154         * simple.el (command-execute): Respect nil disabled-command-function.
4156 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4158         * simple.el (command-execute): Do not execute the command when it
4159         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
4161 2014-04-02  Juri Linkov  <juri@jurta.org>
4163         * dired-aux.el (dired-compress-file): Don't use string-match-p
4164         because its match data is used afterwards.
4166 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4168         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4169         0 like nil.
4171 2014-04-02  João Távora  <joaotavora@gmail.com>
4173         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4174         Inhibit quote pairing if point-max is inside an unterminated string.
4175         (electric-pair--looking-at-unterminated-string-p):
4176         Delete.
4177         (electric-pair--in-unterminated-string-p): New function.
4179 2014-04-01  Daniel Colascione  <dancol@dancol.org>
4181         * minibuffer.el (minibuffer-complete): Prevent assertion failure
4182         when trying to complete the prompt.
4184 2014-03-31  Leo Liu  <sdl.web@gmail.com>
4186         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4187         Refactor out eldoc-documentation-function-default.
4188         (eldoc-documentation-function-default): New function.
4189         (eldoc-documentation-function): Change value.
4191 2014-03-31  Glenn Morris  <rgm@gnu.org>
4193         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4195         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4196         (vhdl-compose-components-package, vhdl-compose-configuration):
4197         Abbreviate default-directory (missing from some previous upstream sync).
4199 2014-03-31  Reto Zimmermann  <reto@gnu.org>
4201         Sync with upstream vhdl mode v3.35.2.
4202         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4203         (top-level): No longer require assoc.
4204         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4205         New functions.  Use throughout to replace aget etc.
4206         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4207         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4208         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4209         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4210         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4211         except `vhdl-compiler'.
4212         (vhdl-error-regexp-add-emacs): Remove all other compilers,
4213         when appropriate.
4215 2014-03-31  Glenn Morris  <rgm@gnu.org>
4217         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4218         Revert 2014-03-26 merge goof; go back to using defalias.
4220 2014-03-30  Daniel Colascione  <dancol@dancol.org>
4222         * comint.el (comint-send-input):
4223         Deactivate completion-in-region-mode before we send comint input.
4224         (Bug#17139).
4226         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4227         on keyboard-quit.
4229 2014-03-29  Glenn Morris  <rgm@gnu.org>
4231         * textmodes/reftex.el: Manage most autoloads automatically.
4232         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4233         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4234         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4235         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4236         * textmodes/reftex-toc.el: Set generated-autoload-file,
4237         and add autoload cookies for reftex.el.
4238         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4240 2014-03-28  Glenn Morris  <rgm@gnu.org>
4242         * cus-start.el (report-emacs-bug-address): Set custom properties.
4243         * mail/emacsbug.el (report-emacs-bug-address):
4244         Variable is now defined in emacs.c.
4246         * mail/emacsbug.el (report-emacs-bug):
4247         Include system-configuration-features.
4249 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
4251         * simple.el (cycle-spacing): Never delete spaces on first run by
4252         default, but do so in a new 'fast mode and if there are already
4253         N spaces (the previous behavior).
4254         Compare N with its value in previous invocation so that changing
4255         prefix argument restarts `cycle-spacing' sequence.
4256         The idea is that with this change, binding M-SPC to
4257         `cycle-spacing' should not introduce any changes in behavior of
4258         the binding so long as users do not type M-SPC twice in a raw with
4259         the same prefix argument or lack thereof.
4261 2014-03-28  Glenn Morris  <rgm@gnu.org>
4263         * faces.el (term-file-aliases): New variable.
4264         (tty-run-terminal-initialization): Respect term-file-aliases.
4265         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4266         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4267         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4269 2014-03-27  Glenn Morris  <rgm@gnu.org>
4271         * startup.el (inhibit-startup-hooks): Doc tweak.
4272         (normal-top-level): Simplify running of hooks.
4273         For window-setup-hook, respect inhibit-startup-hooks.
4274         (command-line-1): Don't set window-setup-hook to nil.
4276         Allow selective autoloading from obsolete/ directory.
4277         * Makefile.in (obsolete-autoloads): New rule.
4278         (autoloads): Run obsolete-autoloads.
4279         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4280         * simple.el (iswitchb-mode): Remove hand-written autoloads.
4282 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
4284         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4285         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
4287         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4288         Don't propertize `?' or `!' as symbol constituent when after
4289         colon.  (Bug#17097)
4291 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
4293         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4294         which is no longer needed and causes trouble in GTK builds (bug#17046).
4296         * emacs-lisp/package-x.el (package--archive-contents-from-url):
4297         Use url-insert-file-contents; package-handle-response no longer exists.
4299 2014-03-26  Daniel Colascione  <dancol@dancol.org>
4301         * simple.el (process-menu-mode-map): New variable.
4302         (process-menu-delete-process): New command.
4304 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
4306         * emacs-lisp/package.el: Fix bug#16733 (again).
4307         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4308         (url-http-target-url): Remove unused declarations.
4309         (package-handle-response): Remove.
4310         (package--with-work-buffer): Use url-insert-file-contents and simplify.
4311         (package--download-one-archive): Use current-buffer instead of
4312         dynamic binding of `buffer'.
4313         (describe-package-1): Do not decode readme-string.
4315 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
4317         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4319         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4320         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
4321         `remote-file-name-inhibit-cache' to nil in the second pass.
4322         (tramp-find-executable): Do not call "which" on SunOS.
4323         (tramp-send-command-and-check): Fix docstring.
4324         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4325         check whether source directory has set the sticky bit.
4327 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
4329         * simple.el (primitive-undo): Only process marker adjustments
4330         validated against their corresponding (TEXT . POS).  Issue warning
4331         for lone marker adjustments in undo history.  (Bug#16818)
4332         (undo-make-selective-list): Add marker adjustments to selective
4333         undo list based on whether their corresponding (TEXT . POS) is in
4334         the region.  Remove variable adjusted-markers, which was unused
4335         and only non nil during undo-make-selective-list.
4336         (undo-elt-in-region): Return nil when passed a marker adjustment
4337         and explain in function doc.
4339 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4341         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4343 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
4345         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4346         Match special global variables without curlies, too.
4347         (ruby-font-lock-keywords): Simplify the matcher for special global
4348         variables.  Don't require a non-word character after the variable.
4349         (Bug#17057)
4351 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4353         * simple.el (redisplay-highlight-region-function): Increase priority of
4354         overlay to make sure boundaries are visible (bug#15899).
4356 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
4358         * frameset.el (frameset--initial-params): Fix typo in parameter name.
4359         (frameset-restore): Compare display strings with equal.
4361         * frame.el (make-frame): Don't quote display name in error message,
4362         it is already a string.
4364 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4366         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4367         the password.
4369 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
4371         * emacs-lisp/package.el (package--add-to-archive-contents):
4372         Include already installed and built-in packages in
4373         `package-archive-contents'.
4374         (package-install): Don't include already installed packages in the
4375         options during interactive invocation.  (Bug#16762)
4376         (package-show-package-list): If the buffer is already displayed in
4377         another window, switch to that window.
4379 2014-03-26  Reto Zimmermann  <reto@gnu.org>
4381         Sync with upstream vhdl mode v3.35.1.
4382         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4383         (vhdl-compiler-alist): Doc fix.
4384         (vhdl-goto-line): Remove.
4385         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4386         (vhdl-mode) <paragraph-start>: Fix value.
4387         (vhdl-fix-statement-region): Not `for' in wait-statement.
4388         (vhdl-beautify-region): Also (un)tabify.
4389         (vhdl-get-visible-signals):
4390         Scan declarative part of generate statements.
4391         (vhdl-template-record): Fix indentation for record type declaration.
4392         (vhdl-expand-abbrev, vhdl-expand-paren):
4393         Revert to using fset again rather than defalias.
4394         (vhdl-scan-directory-contents): Tweak.
4395         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4396         (vhdl-compose-components-package):
4397         Replace vhdl-goto-line with forward-line.
4398         (top-level): Tweak speedbar frame selection.
4399         (vhdl-generate-makefile-1): Support for compilers with no
4400         unit-to-file name mapping (create directory with dummy files).
4402 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
4404         Sync with upstream verilog-mode revision 702457d.
4405         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4406         (create-lockfiles): Declare.
4407         (verilog-read-decls): Fix module header imports, bug709.
4408         Reported by Victor Lau.
4409         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
4410         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4411         interface-only modules, bug721.  Reported by Dean Hoyt.
4413 2014-03-26  Glenn Morris  <rgm@gnu.org>
4415         * obsolete/gulp.el: Move here from emacs-lisp/.
4417         * files.el (lock-buffer, unlock-buffer, file-locked-p):
4418         Remove fallback aliases, since they are always defined now.
4420 2014-03-24  Daniel Colascione  <dancol@dancol.org>
4422         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4423         instead of cl-loop search function.
4425 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
4427         * calendar/parse-time.el (parse-time-iso8601-regexp)
4428         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4429         it more generally.
4431 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
4433         * net/dns.el (network-interface-list): Define for XEmacs.
4435 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
4437         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4438         the network interfaces changed.
4439         (dns-query): Use it to flush the data.
4441 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
4443         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4445 2014-03-23  Daniel Colascione  <dancol@dancol.org>
4447         Change subword-mode to use `find-word-boundary-function-table' and
4448         replace `capitalized-words-mode'.  Also, convert to lexical binding.
4449         * progmodes/cap-words.el: Delete now-obsolete file.
4450         * progmodes/subword.el: Reimplement using
4451         `find-word-boundary-function-table'.
4452         (subword-mode-map): Hollow out.
4453         (capitalized-words-mode): Define as obsolete alias for
4454         `subword-mode'.
4455         (subword-mode, superword-mode): Tweak documentation to reflect new
4456         implementation; call `subword-setup-buffer'.
4457         (subword-forward, subword-capitalize): Add underscore to indicate
4458         unused variable.
4459         (subword-find-word-boundary-function-table): New constant.
4460         (subword-empty-char-table): New constant.
4461         (subword-setup-buffer): New function.
4462         (subword-find-word-boundary): New function.
4464 2014-03-23  Daniel Colascione  <dancol@dancol.org>
4466         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4467         list to look for keyword arguments instead of `memq', fixing
4468         (Bug#3647) --- unfortunately, only for freshly-compiled code.
4469         Please make bootstrap.
4471 2014-03-22  Glenn Morris  <rgm@gnu.org>
4473         * dired.el (dired-read-regexp): Make obsolete.
4474         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4475         (dired-flag-files-regexp):
4476         * dired-aux.el (dired-mark-read-regexp):
4477         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4479         * startup.el (fancy-startup-text):
4480         * help.el (describe-gnu-project): Visit online info about GNU project.
4482         * help-fns.el (help-fns--interactive-only): New function.
4483         (help-fns-describe-function-functions): Add the above function.
4484         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4485         (next-line, previous-line): Remove hand-written interactive-only
4486         information from doc strings, it is auto-generated now.
4487         * bookmark.el (bookmark-write):
4488         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4489         (epa-mail-import-keys): Mark interactive-only,
4490         and remove hand-written interactive-only information from doc strings.
4491         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4492         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4493         * files.el (not-modified):
4494         * simple.el (mark-whole-buffer): Mark interactive-only.
4496         * emacs-lisp/byte-run.el (defun-declarations-alist):
4497         Add interactive-only.  Doc tweak.
4498         (macro-declarations-alist): Doc tweak.
4499         * subr.el (declare): Doc tweak (add xref to manual).
4500         * comint.el (comint-run):
4501         * files.el (insert-file-literally, insert-file):
4502         * replace.el (replace-string, replace-regexp):
4503         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4504         (delete-forward-char, goto-line, insert-buffer, next-line)
4505         (previous-line): Set interactive-only via declare.
4507 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
4509         * emacs-lisp/package.el (package-desc): Use the contents of the
4510         quoted form, not its cdr.  (Bug#16873)
4512 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
4514         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4515         benefit of doc.c; change parameter profile to match the X function.
4517 2014-03-22  Leo Liu  <sdl.web@gmail.com>
4519         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4520         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
4522 2014-03-21  Richard Stallman  <rms@gnu.org>
4524         * battery.el (battery-linux-sysfs): Search for each field
4525         from the beginning of the buffer.
4527         * subr.el (set-transient-map): Clear out function and value
4528         of the temporary symbol when we're done with it.
4530         * mail/rmailsum.el (rmail-summary-delete-forward):
4531         Optimize case of reaching end and handling count.
4532         (rmail-summary-mark-deleted): Optimize when N is current msg.
4533         Don't create new summary line.
4534         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4535         (rmail-summary-undelete-many): Rewrite for speed.
4536         (rmail-summary-msg-number): New function.
4538         * mail/rmail.el (rmail-delete-message): Update summary.
4539         (rmail-undelete-previous-message): Handle repeat count arg.
4540         (rmail-delete-backward, rmail-delete-forward): Likewise.
4542 2014-03-21  Daniel Colascione  <dancol@dancol.org>
4544         * mail/emacsbug.el (report-emacs-bug): Include memory usage
4545         information in bug reports.
4547 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
4549         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4550         and `tramp-copy-env'.
4552         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4553         (tramp-maybe-open-connection): Handle `tramp-login-env'.
4555 2014-03-21  Glenn Morris  <rgm@gnu.org>
4557         * electric.el (electric-indent-post-self-insert-function): Add doc.
4559 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
4561         * emacs-lisp/package.el (package-compute-transaction):
4562         Use `version-list-<=' to compare the requirement version against
4563         the version of package already to be installed.  Update the error
4564         message.  (Bug#16826)
4566         * progmodes/ruby-mode.el (ruby-smie-rules):
4567         Add indentation rule for ` @ '.  (Bug#17050)
4569 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
4571         * align.el (align-regexp): Remove superfluous backslash.
4573         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4574         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4575         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4576         Fix docstring typos.
4577         (ffap-next): Use C-u in docstring.
4578         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4579         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4580         Remove superfluous backslashes.
4581         (ffap-string-at-point): Reflow docstring.
4583         * server.el (server-host): Reflow docstring.
4584         (server-unload-function): Fix docstring typo.
4585         (server-eval-at): Remove superfluous backslash.
4587         * skeleton.el (skeleton-insert): Remove superfluous backslash.
4588         (skeleton-insert): Doc fix.
4589         (skeleton-insert): Reflow docstring.
4591         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4592         (tty-color-approximate, tty-color-by-index, tty-color-values)
4593         (tty-color-desc): Remove superfluous backslashes.
4595 2014-03-21  Glenn Morris  <rgm@gnu.org>
4597         * cus-start.el (history-length): Bump :version.
4599         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4600         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4601         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4602         Don't set `make-backup-files'.
4604         * info.el (info--prettify-description): New function,
4605         to give info-finder descriptions consistent case, punctuation.
4606         (Info-finder-find-node): Use it.  Sort packages.
4607         Refer to "description" rather than "commentary".
4609 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
4611         * frameset.el (frameset--print-register): New function.
4612         (frameset-to-register): Use it.
4614 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
4616         * progmodes/hideif.el (hif-string-to-number): New function.
4617         (hif-tokenize): Use it to understand non-decimal floats.
4619         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4621         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
4623 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4625         * electric.el (electric-newline-and-maybe-indent): New command.
4626         Bind it globally to C-j.
4627         (electric-indent-mode): Don't mess with the global map any more.
4628         Don't drop the post-self-insert-hook is some buffer is still using it
4629         (bug#16770).
4631         * bindings.el (global-map): Remove C-j binding.
4633         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4634         the docstring of functions advised before dumping (bug#16993).
4636 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
4638         * ps-print.el (ps-generate-postscript-with-faces):
4639         Explicitly deactivate the mark (bug#16866).
4640         * simple.el (deactivate-mark): Update region highlight.
4642 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
4644         * emacs-lisp/package.el (describe-package-1):
4645         Decode commentary (bug#16733).
4647 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
4649         * custom.el (defcustom): Doc fix: recommend avoiding destructive
4650         modification of the value argument of :set (bug#16755).
4652 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4654         * simple.el (newline-and-indent): Do autofill (bug#17031).
4656 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
4658         * newcomment.el (comment-normalize-vars): Only add escaping check
4659         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
4660         (comment-beginning): Use `narrow-to-region' instead of moving back
4661         one character.
4662         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4663         (comment-start-skip): Update the docstring.
4665 2014-03-18  Richard Stallman  <rms@gnu.org>
4667         * dired.el (dired-display-file): Force use of other window.
4669 2014-03-18  Daniel Colascione  <dancol@dancol.org>
4671         * startup.el (tty-handle-args): Remove debug message from 2007.
4673 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4675         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4676         (advice--make-interactive-form): Use it to avoid (auto)loading function.
4677         (advice--make-1, advice-add, advice-remove):
4678         Remove braindead :advice-pending hack.
4680 2014-03-17  Glenn Morris  <rgm@gnu.org>
4682         * calendar/calendar.el (calendar-generate-month): Apply weekend
4683         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
4685 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
4687         * net/tramp.el (tramp-action-out-of-band): Read pending output.
4688         (tramp-call-process): Trace also DESTINATION.
4690         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4691         Quote file names when they are local.  Remove superfluous trace.
4693 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
4695         * newcomment.el (comment-beginning): If `comment-start-skip'
4696         doesn't match, move back one char and try again.  (Bug#16971)
4698         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4699         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4700         Set `comment-start-skip' to a simpler value that doesn't try to
4701         check if the semicolon is escaped (this is handled by
4702         `syntax-ppss' now).  (Bug#16971)
4704         * progmodes/scheme.el (scheme-mode-variables): Same.
4706 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
4708         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4709         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4710         current (Bug#16816, Bug#17007).
4711         (with-current-buffer-window): New macro doing the same as
4712         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4713         * help.el (help-print-return-message): Warn in doc-string to not
4714         use this in `with-help-window'.
4715         (describe-bindings-internal): Call `describe-buffer-bindings'
4716         from within help buffer.  See Juanma's scenario in (Bug#16816).
4717         (with-help-window): Update doc-string.
4718         * dired.el (dired-mark-pop-up):
4719         * files.el (save-buffers-kill-emacs):
4720         * register.el (register-preview): Use `with-current-buffer-window'
4721         instead of `with-temp-buffer-window'.
4723 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
4725         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4726         Implement inserting into current buffer, documented in their docstrings.
4727         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4728         (rst-section-tree-point, rst-forward-section, rst-indent)
4729         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4730         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4731         (rst-font-lock-handle-adornment-pre-match-form)
4732         (rst-repeat-last-character): Reflow docstrings.
4733         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4734         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4735         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4736         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4737         Fix docstring typos.
4738         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4739         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4740         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4742 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
4744         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4745         for compatibility with other ports.
4746         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
4747         from the -xrm command line argument, but in the Nextstep port its value
4748         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4750         * progmodes/python.el (defconst, python-syntax-count-quotes)
4751         (python-indent-region, python-indent-shift-right)
4752         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4753         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4754         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4755         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4756         (inferior-python-mode, python-shell-make-comint, run-python-internal)
4757         (python-shell-buffer-substring, python-shell-send-buffer)
4758         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4759         (python-completion-complete-at-point, python-fill-docstring-style)
4760         (python-eldoc-function, python-imenu-format-item-label)
4761         (python-imenu-format-parent-item-label)
4762         (python-imenu-format-parent-item-jump-label)
4763         (python-imenu--build-tree, python-imenu-create-index)
4764         (python-imenu-create-flat-index): Fix docstring typos.
4765         (python-indent-context, python-shell-prompt-regexp, run-python):
4766         Remove superfluous backslashes.
4767         (python-indent-line, python-nav-beginning-of-defun)
4768         (python-shell-get-buffer, python-shell-get-process)
4769         (python-info-current-defun, python-info-current-line-comment-p)
4770         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4771         (python-indent-post-self-insert-function, python-shell-send-file)
4772         (python-shell-completion-get-completions)
4773         (python-shell-completion-complete-or-indent)
4774         (python-eldoc--get-doc-at-point): Reflow docstrings.
4776 2014-03-14  Glenn Morris  <rgm@gnu.org>
4778         * emacs-lisp/package.el (package-menu-mode-map):
4779         Replace use of obsolete function alias.  Tweak menu item text.
4781         * info.el (Info-finder-find-node):
4782         Ignore the `emacs' metapackage.  (Bug#10813)
4784         * finder.el (finder-list-matches): Include unversioned packages
4785         in the result of a keyword search.
4787         * finder.el (finder--builtins-descriptions): New constant.
4788         (finder-compile-keywords): Use finder--builtins-descriptions.
4790 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
4792         * simple.el (blink-matching-paren): Describe the new value,
4793         `jump', enabling the old behavior.
4794         (blink-matching-open): Use that value.  (Bug#17008)
4796 2014-03-14  Glenn Morris  <rgm@gnu.org>
4798         * finder.el (finder-no-scan-regexp): Add leim-list.
4799         (finder-compile-keywords):
4800         Don't skip files with same basename.  (Bug#14010)
4801         * Makefile.in (setwins_finder): New, excluding leim.
4802         (finder-data): Use setwins_finder.
4804         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4805         (help-function-arglist, help-make-usage): Move from here...
4806         * help.el (help-split-fundoc, help-add-fundoc-usage)
4807         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
4808         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4810 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
4812         * net/socks.el (socks, socks-override-functions)
4813         (socks-find-services-entry):
4814         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4815         (hif-find-ifdef-block):
4816         * progmodes/modula2.el (m2-indent): Fix docstring typos.
4818         * net/tls.el (tls-program): Reflow docstring.
4820         * progmodes/pascal.el (pascal-mode-abbrev-table)
4821         (pascal-imenu-generic-expression, pascal-auto-endcomments)
4822         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4823         (pascal-outline-mode): Fix docstring typos.
4824         (pascal-mode): Let define-derived-mode document mode hook.
4825         (pascal-uncomment-area): Reflow.
4826         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4828         * progmodes/opascal.el (opascal-compound-block-indent)
4829         (opascal-case-label-indent): Fix docstring typos.
4830         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4832 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
4834         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4835         Fontify multiple adjacent negation chars.  (Bug#17004)
4837 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4839         * emacs-lisp/package.el (package--prepare-dependencies):
4840         Accept requirements without explicit version (bug#14941).
4842 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4844         * register.el (register-separator, copy-to-register): Doc fixes.
4845         (register-preview-default): Remove unnecessary call to concat.
4847         * frameset.el (frameset-restore): When checking for a visible frame,
4848         use the action map instead of calling visible-frame-list.
4850 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
4852         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4854 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
4856         * window.el (fit-frame-to-buffer): Get maximum width from
4857         display's width instead of height.
4859 2014-03-12  Glenn Morris  <rgm@gnu.org>
4861         * desktop.el (desktop-restore-frames)
4862         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4863         (desktop-restore-reuses-frames): Doc tweaks.
4865         * electric.el (electric-indent-mode): Doc fix.
4867 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4869         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4870         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4871         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4872         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4873         (cvs-dired-use-hook): Fix docstring typos.
4874         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4875         Doc fixes.
4877         * vc/pcvs-defs.el (cvs-auto-remove-handled)
4878         (cvs-auto-remove-directories, cvs-default-ignore-marks)
4879         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4880         (cvs-execute-single-dir): Fix docstring typos.
4882         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4883         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4885         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4887         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4888         Fix docstring typos.
4890 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4892         * frameset.el (frameset--jump-to-register): Add autoload; it could be
4893         called from jump-to-register after unloading the frameset package.
4895 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4897         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4898         (bug#16975).  Deactivate the mark before setting it to nil.
4899         (activate-mark): Do nothing if region is already active.
4901 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4903         * frameset.el (frameset--target-display): Remove definition; declare.
4904         (frameset-save, frameset-restore): Let-bind frameset--target-display.
4906 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4908         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4909         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4910         when the advice is pending.
4911         (advice-remove): Remove this marker when not needed any more.
4913 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4915         * frameset.el: Separate options for reusing frames and cleaning up.
4916         (frameset--reuse-list): Remove definition; declare.
4917         (frameset--action-map): Declare.
4918         (frameset--find-frame-if): Doc fix.
4919         (frameset--restore-frame): Cache frame action.
4920         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4921         how to clean up the frame list after restoring.  Remove cleaning
4922         options from REUSE-FRAMES.  Change all keyword values to symbols.
4923         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4925         * desktop.el (desktop-restore-forces-onscreen)
4926         (desktop-restore-reuses-frames): Use non-keyword values.
4927         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4929 2014-03-10  Glenn Morris  <rgm@gnu.org>
4931         * files.el (find-file): Doc fix: update info node name.
4933         * emacs-lisp/advice.el (ad-add-advice, defadvice):
4934         Doc fix: remove references to deleted info nodes.
4936 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
4938         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4939         Do not add nil to the environment, when there's no remote `locale'.
4940         (tramp-find-inline-encoding): Check, that the remote host has
4941         installed perl, before sending scripts.
4943 2014-03-10  Leo Liu  <sdl.web@gmail.com>
4945         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4946         Clear eldoc-last-message.  (Bug#16920)
4948 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4950         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4951         (bug#14430).
4953 2014-03-09  Juri Linkov  <juri@jurta.org>
4955         * ansi-color.el (ansi-color-names-vector): Copy default colors
4956         from `xterm-standard-colors' that look well on the default white
4957         background (and also on the black background) to avoid illegible
4958         color combinations like yellow-on-white and white-on-white.
4959         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4961 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
4963         * frameset.el (frameset-restore): When no frame is visible, do not
4964         generate a list of frames, just make visible the selected one.
4966 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
4968         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4969         it only contains the repository root.  (Bug#16897)
4971 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
4973         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4974         only when `remote-file-name-inhibit-cache' is nil.
4975         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
4977 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
4979         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4980         Fix doc-strings.
4981         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
4982         fit-frame-to-buffer variable.  Fix doc-string.
4983         (fit-window-to-buffer): Set ONLY argument in call of
4984         fit-frame-to-buffer.  Fix doc-string.
4986 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
4988         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4989         (tramp-action-password): Clear password cache if needed.
4990         (tramp-read-passwd): Do not clear password cache.
4992         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4993         cache unless it is the first password request.
4995 2014-03-06  Glenn Morris  <rgm@gnu.org>
4997         * simple.el (newline): Doc tweak.
4999         * emacs-lisp/shadow.el (load-path-shadows-find):
5000         Ignore dir-locals.  (Bug#12357)
5002 2014-03-05  Glenn Morris  <rgm@gnu.org>
5004         * files.el (interpreter-mode-alist):
5005         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
5007 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
5009         * frameset.el (frameset--initial-params): Filter out null entries.
5011 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
5013         * window.el (window-min-height, window-min-width):
5014         Rewrite doc-strings.
5015         (window-body-size): Add PIXELWISE argument to make it consistent
5016         with its callees.
5018 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
5020         * finder.el (finder-mode-map, finder-mode-syntax-table):
5021         Revert part of 2014-02-28 change.
5023 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
5025         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
5026         (eww-setup-buffer): Clear next/prev/etc more reliably.
5027         (eww-textarea-map): [tab] doesn't work on tty.
5028         Reported by Mario Lang.
5030         * net/shr.el (shr-map): Ditto.
5032 2014-03-04  Glenn Morris  <rgm@gnu.org>
5034         * minibuffer.el (completion-hilit-commonality):
5035         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
5037 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
5039         * hilit-chg.el (hilit-chg-unload-function): New function.
5040         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
5041         (hilit-chg-map-changes): Prefer cardinal number to digit.
5042         (hilit-chg-display-changes): Reflow docstring.
5043         (highlight-changes-rotate-faces): Remove superfluous backslash.
5045 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
5047         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
5048         `tramp-send-command-and-check'.
5050 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
5052         * hexl.el (hexl-address-region, hexl-ascii-region)
5053         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
5054         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
5055         (hexl-forward-word, hexl-previous-line, hexl-next-line):
5056         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
5057         (hexl-mode): Doc fix.
5058         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
5059         (hexl-mode-ruler): Fix typos in docstrings.
5061         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
5062         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
5063         Remove superfluous backslashes.
5064         (strokes-last-stroke, strokes-global-map, strokes-mode):
5065         Reflow docstrings.
5066         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
5067         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
5068         (strokes-distance-squared, strokes-global-set-stroke)
5069         (strokes-global-set-stroke-string): Doc fixes.
5070         (strokes-help): Fix typos; reflow docstring.
5072 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
5074         * window.el (window-in-direction): Fix doc-string.
5076 2014-03-04  Glenn Morris  <rgm@gnu.org>
5078         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
5079         Explicit error if no grammar.
5080         (smie-config-save): Doc fix.  Fix quote typo.
5082 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5084         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
5085         electric-indent-mode-hook if we obey electric-indent-mode.
5086         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
5087         decide whether we obey electric-indent-mode.
5088         (c-change-set-fl-decl-start, c-extend-after-change-region):
5089         Silence warnings.
5090         (c-electric-indent-mode-hook): Assume we do want to obey
5091         electric-indent-mode.
5093         * electric.el (electric-indent-mode-has-been-called): Remove.
5094         (electric-indent-mode): Fix accordingly.
5096         * files.el (hack-local-variables): Mention file name in warning.
5098         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
5100 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
5102         * bindings.el: Add comment describing why C-d binds to `delete-char'.
5103         * simple.el (delete-forward-char): Mark as interactive-only.
5105 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
5107         * icomplete.el (icomplete-completions):
5108         Follow-up to 2014-03-01 change.
5110         * icomplete.el: Miscellaneous doc fixes.
5111         Use Icomplete everywhere instead of icomplete for consistency.
5112         (icomplete-max-delay-chars): Fix typo.
5113         (icomplete-mode): Use \[].
5114         (icomplete-tidy, icomplete-exhibit): Reflow.
5115         (icomplete-minibuffer-setup-hook, icomplete-completions):
5116         Remove superfluous backlashes.
5118         * ido.el: Miscellaneous doc fixes.
5119         Use Ido everywhere instead of ido or `ido' for consistency.
5120         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
5121         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
5122         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
5123         (ido-separator): Extract obsolescence info from docstring and declare
5124         with make-obsolete-variable.
5125         (ido-minibuffer-setup-hook): Simplify example.
5126         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
5127         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
5128         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
5129         (ido-everywhere): Reflow docstring.
5130         (ido-toggle-vc): Doc fix.
5131         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
5132         of long list of keybindings.
5134 2014-03-03  Glenn Morris  <rgm@gnu.org>
5136         * frame.el (display-pixel-height, display-pixel-width)
5137         (display-mm-dimensions-alist, display-mm-height)
5138         (display-mm-width): Doc tweaks.
5140 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
5142         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
5143         case of undo in region.
5145 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
5147         * window.el (fit-window-to-buffer): Fix argument in window-size
5148         call when window is horizontally combined.
5150 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
5152         * icomplete.el (icomplete-completions): Use string-width.
5153         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5155 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
5157         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5158         Highlight regexp options.  (Bug#16914)
5160 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
5162         * window.el (window--max-delta-1): Round down when calculating
5163         how many lines/columns we can get from a window.
5165 2014-03-01  Glenn Morris  <rgm@gnu.org>
5167         * isearch.el (search-invisible): Doc fix.
5169         * minibuffer.el (completion-hilit-commonality):
5170         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
5171         * comint.el (comint-dynamic-list-completions): Doc fix.
5172         * comint.el (comint-dynamic-list-completions):
5173         * filecache.el (file-cache-minibuffer-complete):
5174         * tempo.el (tempo-display-completions):
5175         * eshell/em-hist.el (eshell-list-history):
5176         Replace use of obsolete argument of display-completion-list.
5178 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
5180         * icomplete.el (icomplete-completions):
5181         Revert back to using "..." when ?… cannot be displayed.
5183 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
5185         * finder.el (finder-unload-function): New function.
5187 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
5189         * dframe.el (dframe-detach):
5190         * find-dired.el (find-dired, find-name-dired):
5191         * finder.el (finder-mode-map, finder-mode-syntax-table)
5192         (finder-headmark, finder-select, finder-mouse-select):
5193         Fix docstring typos.
5195 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
5197         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5198         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5199         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5200         Fix doc-string based on a suggestion by Nicolas Richard
5201         <theonewiththeevillook@yahoo.fr>.
5202         * help.el (with-help-window): Fix doc-string.
5204 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
5206         * net/shr.el (shr-image-animate): New option.
5207         (shr-put-image): Respect shr-image-animate.
5209 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
5211         * net/tramp-adb.el (tramp-adb-parse-device-names):
5212         Use `accept-process-output'.
5213         (tramp-adb-handle-file-truename): Cache the localname only.
5214         (tramp-adb-handle-make-directory)
5215         (tramp-adb-handle-delete-directory): Flush file properties correctly.
5216         (tramp-adb-handle-set-file-modes): Do not raise an error when file
5217         modes cannot be changed.
5219         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5220         file properties of symlinks.
5222 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
5224         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5225         required/optional fields to match development biblatex.  (Bug#16781)
5227 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
5229         * saveplace.el (toggle-save-place):
5230         Fix argument handling.  (Bug#16673)
5232 2014-02-28  Glenn Morris  <rgm@gnu.org>
5234         * minibuffer.el (completions-first-difference)
5235         (completions-common-part, completion-hilit-commonality): Doc fixes.
5237 2014-02-28  Karl Berry  <karl@gnu.org>
5239         * info.el (Info-mode-map): Add H for describe-mode,
5240         to synchronize with standalone Info.
5242 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
5244         * progmodes/sql.el (sql-interactive-mode):
5245         Avoid setting global comint-input-ring-separator.  (Bug#16814)
5247 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
5249         * net/dbus.el (dbus--init-bus): Declare function.
5250         (dbus-path-local, dbus-interface-local): New defconst.
5251         (dbus-init-bus): Use them.
5252         (dbus-return-values-table): Extend doc.
5253         (dbus-handle-bus-disconnect): Extend error message.
5255 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
5257         * subr.el (y-or-n-p): Fix double space issue in message.
5259 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
5261         * net/tramp.el (tramp-call-process): Improve trace message.
5262         (tramp-handle-insert-file-contents): Trace error case.
5264         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5265         <insert-directory>: Use `tramp-handle-insert-directory'.
5266         (tramp-adb-handle-insert-directory): Remove function.
5267         (tramp-adb-send-command-and-check): New defun, replacing
5268         `tramp-adb-command-exit-status'.  Change all callees.
5269         (tramp-adb-handle-file-attributes)
5270         (tramp-adb-handle-directory-files-and-attributes): Use it.
5271         (tramp-adb-ls-output-name-less-p):
5272         Use `directory-listing-before-filename-regexp'.
5273         (tramp-adb-handle-delete-directory): Flush also file properties of
5274         the truename of directory.
5275         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5276         (tramp-adb-handle-file-local-copy): Make the local copy readable.
5277         (tramp-adb-handle-write-region): Implement APPEND.
5278         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
5279         properties correctly.
5280         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5281         variables.  Check for connected devices only when needed.
5283 2014-02-27  Glenn Morris  <rgm@gnu.org>
5285         * minibuffer.el (completion-table-dynamic)
5286         (completion-table-with-cache): Doc fixes.
5288         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5289         (completing-read-multiple): Doc fixes.
5291 2014-02-27  Daniel Colascione  <dancol@dancol.org>
5293         * minibuffer.el (completion--nth-completion): Fix indentation.
5295         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5296         explicit tramp path is empty.
5298 2014-02-27  Glenn Morris  <rgm@gnu.org>
5300         * emacs-lisp/crm.el (completing-read-multiple):
5301         Empower help-enable-auto-load.
5303 2014-02-26  Glenn Morris  <rgm@gnu.org>
5305         * startup.el (command-line): Don't init the tty in daemon mode.
5307         Avoid calling tty-setup-hook twice, eg if a term file
5308         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
5309         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5310         (tty-create-frame-with-faces): Use it.
5311         * startup.el (command-line): Pass run-hook argument
5312         to tty-run-terminal-initialization.
5314         * dired.el (dired-restore-desktop-buffer): Demote errors;
5315         eg in case a glob match fails.  (Bug#16884)
5317 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
5319         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5320         error from `read-from-string'.  (Bug#16850)
5322         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5323         result of `completing-read' in the interactive form.  (Bug#16854)
5325 2014-02-25  Glenn Morris  <rgm@gnu.org>
5327         * image.el (image-animate, image-animate-timeout):
5328         Stop animating images in dead buffers.  (Bug#16878)
5330         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
5332         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5333         Doc fixes.
5334         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
5335         * term/sun.el (sun-raw-prefix-hooks):
5336         Use tty-setup-hook instead of term-setup-hook.
5337         (terminal-init-sun): Construct message from bytecomp plist.
5338         * term/wyse50.el (enable-arrow-keys): Doc fix.
5340 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
5342         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5343         Fix docstring typos.
5345 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
5347         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5349 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5351         * minibuffer.el (completion--try-word-completion):
5352         Fix error when completing M-x commands (bug#16808).
5354 2014-02-24  Leo Liu  <sdl.web@gmail.com>
5356         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5358 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
5360         * apropos.el (apropos-print): Avoid formatting error when
5361         apropos-do-all and apropos-compact-layout are both t.
5363 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
5365         * apropos.el (apropos-property, apropos-all-words-regexp)
5366         (apropos-true-hit, apropos-variable, apropos-print):
5367         Fix docstring typos, and remove obsolete comment.
5369 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
5371         * net/tramp-sh.el (tramp-sh-handle-file-truename):
5372         Preserve trailing "/".  (Bug#16851)
5374 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
5376         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5377         after `=>' (bug#16811).
5378         (ruby-smie-rules): Handle the inconsistent second element of the
5379         list returned by `smie-indent--parent'.
5380         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5381         method call.
5383 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
5385         * elec-pair.el (electric-pair-text-syntax-table)
5386         (electric-pair-syntax-info, electric-pair--syntax-ppss)
5387         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5388         (electric-pair--looking-at-unterminated-string-p): Doc fix.
5389         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
5391 2014-02-22  Glenn Morris  <rgm@gnu.org>
5393         * imenu.el (imenu--generic-function): Doc fix.
5395         * register.el (frame-configuration-to-register): Make obsolete.
5397 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
5399         * desktop.el (desktop-save-buffer-p): Do not fail when
5400         desktop-files-not-to-save is nil.  Return t for true result
5401         as the doc says.
5403 2014-02-22  Daniel Colascione  <dancol@dancol.org>
5405         * net/secrets.el (secrets-create-item, secrets-search-items):
5406         Check that attribute values are strings, avoiding the construction
5407         of invalid dbus messages.
5409 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5411         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5412         defun-declarations-alist.
5414 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5416         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5417         (bug#16829).
5419 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5421         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5422         (whitespace-newline, whitespace-trailing, whitespace-line)
5423         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5424         (whitespace-space-after-tab): Fix typo in docstrings.
5426 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
5428         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5430         * electric.el (electric-indent-functions-without-reindent):
5431         Add `yaml-indent-line'.
5433 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5435         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5436         It has done nothing for years; should be removed after the release.
5438         * simple.el (choose-completion): Fix docstring typo.
5439         (read-quoted-char-radix): Remove unneeded * in docstring.
5440         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5441         Don't escape parentheses unnecessarily in docstrings.
5443 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
5445         Fix handling of window-min-height/-width (Bug#16738).
5446         * window.el (window--dump-window, window--dump-frame):
5447         New functions.
5448         (window--min-size-1): Account for window dividers.
5449         When window-resize-pixelwise is nil, delay rounding till after the
5450         sum of the window components has been calculated.
5451         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5452         nil make sure at least one text line and two text columns remain
5453         fully visible.
5454         (window-resize): Signal an error when window-resize-apply fails.
5455         (window--resize-child-windows): Fix calculation of by how many
5456         pixels a window can still be shrunk via window-new-normal.
5457         (adjust-window-trailing-edge): Call window--resizable with
5458         correct TRAIL argument.
5460         (with-temp-buffer-window): Don't evaluate BODY within
5461         with-current-buffer (Bug#16816).
5463 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
5465         * net/tramp.el (tramp-check-cached-permissions):
5466         Call `file-attributes' with `suffix' being a symbol but a string.
5468 2014-02-21  Daniel Colascione  <dancol@dancol.org>
5470         * net/dbus.el (dbus-init-bus-1): Declare new subr.
5471         (dbus-init-bus): New function: call into dbus-init-bus-1
5472         and installs a handler for the disconnect signal.
5473         (dbus-call-method): Rewrite to look for result in cons.
5474         (dbus-call-method-handler): Store result in cons.
5475         (dbus-check-event): Recognize events with nil sender as valid.
5476         (dbus-handle-bus-disconnect): New function.  React to bus
5477         disconnection signal by synthesizing dbus error for each
5478         pending synchronous or asynchronous call.
5479         (dbus-notice-synchronous-call-errors): New function.
5480         (dbus-handle-event): Raise errors directly only when `dbus-debug'
5481         is true, not all the time.
5483 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5485         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5486         Remove obsolescence declarations, these variables do not exist anymore.
5488         * savehist.el (savehist-save-minibuffer-history)
5489         (savehist-additional-variables, savehist-file, savehist-mode-hook)
5490         (savehist-save-hook, savehist-coding-system, savehist-loaded)
5491         (savehist-load, savehist-install, savehist-autosave): Fix typos;
5492         mostly, refer to "Savehist mode" when talking about the mode,
5493         and not the function.
5495         * saveplace.el (save-place): Remove redundant info in docstring.
5496         (save-place-forget-unreadable-files, toggle-save-place)
5497         (save-place-forget-unreadable-files, save-place-dired-hook):
5498         Fix typos and remove unneeded backslashes.
5500 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
5502         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5503         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5505         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5506         <insert-directory>: Use `tramp-handle-insert-directory'.
5507         (tramp-gvfs-handle-insert-directory): Remove function.
5509         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5510         Call `tramp-handle-insert-directory'.
5512 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
5514         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5515         before the start of buffer/region (bug#16799).
5517 2014-02-20  Glenn Morris  <rgm@gnu.org>
5519         * isearch.el (search-invisible): Doc fix.
5521 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
5523         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5524         (bug#16657).
5526 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
5528         * frameset.el (frameset-restore): Delay removing an old frame's
5529         duplicate id until the new frame has been correctly created.
5531 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
5533         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5534         (tramp-check-cached-permissions): Call `file-attributes' if the
5535         cache is empty.
5537         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5538         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5540         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5541         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5542         (tramp-gvfs-maybe-open-connection): Set always connection
5543         properties, even if target is mounted already.
5545         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5546         Set tramp-autoload cookie.
5547         (tramp-get-remote-touch): New defun.
5548         (tramp-sh-handle-set-file-times): Use it.
5549         (tramp-sh-handle-directory-files-and-attributes):
5550         Use `tramp-handle-directory-files-and-attributes' if neither stat
5551         nor perl are available on the remote host.
5553         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5554         "/".  Write long listing only when "l" belongs to the switches.
5556         * net/trampver.el: Update release number.
5558 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
5560         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5562 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
5564         * window.el (window-state-put): Allow WINDOW to refer to an
5565         internal window (Bug#16793).
5567 2014-02-19  Glenn Morris  <rgm@gnu.org>
5569         * textmodes/remember.el: Move provide statement to end.
5570         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5571         (remember-notes): Doc fixes.
5573 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5575         * delsel.el (delete-char): Restore incorrectly erased property
5576         (bug#16795).
5578 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
5580         * frameset.el (frameset--restore-frame): When a frame is being reused
5581         and its root window is not alive, delete all the frame's windows before
5582         restoring the window state.  This works around the issue in bug#16793.
5584 2014-02-18  Glenn Morris  <rgm@gnu.org>
5586         * textmodes/remember.el (remember-data-directory)
5587         (remember-directory-file-name-format, remember-store-in-files)
5588         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5589         (remember-notes-save-and-bury-buffer)
5590         (remember-notes--kill-buffer-query): Doc fixes.
5592         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5594 2014-02-17  Alan Mackenzie  <acm@muc.de>
5596         Connect electric-indent-mode up with CC Mode.  Bug #15478.
5597         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5598         to electric-indent-{,local-}-mode.
5599         (c-basic-common-init): Set electric-indent-inhibit.
5600         Initialise c-electric-flag from electric-indent-mode.
5601         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5602         New hook functions which propagate electric-indent-mode to CC mode.
5604         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5605         hit, toggle electric-indent-local-mode.
5607         * electric.el (electric-indent-mode-has-been-called):
5608         New variable.
5610 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
5612         * frameset.el (frameset-cfg-id): New function.
5613         (frameset--reuse-frame, frameset-restore): Use it.
5614         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5616 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5618         * ido.el (ido-file-internal): Remove unused var `d'.
5619         Use \` for to match BoS.  Fit within 80n columns.
5621 2014-02-17  Daniel Colascione  <dancol@dancol.org>
5623         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5624         dbus-call-method check for completion using a busy-wait loop with
5625         gradual backoff.
5627 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
5629         Sync with Tramp 2.2.9.
5631         * net/trampver.el: Update release number.
5633 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
5635         * ido.el (ido-file-internal): Don't add the name of an existing
5636         directory twice.  (Bug#16747)
5638 2014-02-16  Glenn Morris  <rgm@gnu.org>
5640         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5641         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
5643 2014-02-15  Michael R. Mauger  <michael@mauger.com>
5645         * progmodes/sql.el: Version 3.4
5646         (sql-oracle-options): New default value ("-L").
5647         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5648         (sql-placeholders-filter): Correct placeholder pattern.
5649         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
5650         (sql-login-delay): New variable.
5651         (sql-product-interactive): Use it.
5653 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
5655         * frameset.el (frameset--jump-to-register): Check that buffer is live
5656         (bug#16749).
5658 2014-02-15  Glenn Morris  <rgm@gnu.org>
5660         * info.el (info-initialize): Revert 2014-01-10 change.
5662 2014-02-14  Glenn Morris  <rgm@gnu.org>
5664         * replace.el (map-query-replace-regexp)
5665         (read-regexp-defaults-function, read-regexp): Doc fixes.
5667         * dired.el (dired-read-regexp):
5668         * faces.el (list-faces-display):
5669         * misearch.el (multi-isearch-read-matching-buffers)
5670         (multi-isearch-read-matching-files):
5671         * play/cookie1.el (cookie-apropos):
5672         * progmodes/grep.el (grep-read-regexp): Doc fixes.
5674         * textmodes/remember.el (remember): Use frameset-to-register
5675         rather than frame-configuration-to-register.
5677 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
5679         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5680         incorrect keybinding.
5682 2014-02-13  Daniel Colascione  <dancol@dancol.org>
5684         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5685         when adding overlays so that line numbers from compiler match line
5686         numbers we use.
5688 2014-02-13  Glenn Morris  <rgm@gnu.org>
5690         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
5692         * jit-lock.el (jit-lock-mode): Doc fix.
5694 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
5696         * apropos.el (apropos-read-pattern): When the user passes an empty
5697         string, give a more helpful error message than "Wrong type
5698         argument: stringp, nil".
5700 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5702         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5704 2014-02-13  Glenn Morris  <rgm@gnu.org>
5706         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5708 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5710         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5711         shift-select commands.
5713 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
5715         * progmodes/js.el (js-indent-line): Don't widen.
5716         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5718 2014-02-12  Glenn Morris  <rgm@gnu.org>
5720         * icomplete.el (icomplete): Add info-link to defgroup.
5721         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5722         (icomplete-minibuffer-map, icomplete-mode)
5723         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5725         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5726         (package-menu-filter): Rename from package-menu-filter-interactive.
5727         Doc fix.
5729 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
5731         * frameset.el (frameset--jump-to-register): Select the required
5732         window and buffer before restoring position (bug#16696).
5734 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
5736         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5738 2014-02-10  Glenn Morris  <rgm@gnu.org>
5740         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
5742 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
5744         * w32-common-fns.el (x-get-selection): Doc fix.
5745         * select.el (x-get-selection): Doc fix.  (Bug#15109)
5747         * face-remap.el (face-remap-add-relative)
5748         (face-remap-remove-relative, face-remap-reset-base)
5749         (face-remap-set-base): Call force-mode-line-update to redisplay
5750         the current buffer due to potential change in faces.  (Bug#16709)
5752 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
5754         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5755         script more robustly.
5757 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
5759         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5761         * simple.el (choose-completion): Doc fix (bug#14160).
5763         * subr.el (event-start): Say what a nil EVENT value means.
5765         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5766         (bug#14197).
5768         * progmodes/grep.el (find-program): Doc fix (bug#14289).
5770         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5772         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5774         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5775         predicate function (bug#15455).
5777 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
5779         * ielm.el (inferior-emacs-lisp-mode): Instead of
5780         `comment-use-global-state', set `comment-use-syntax'.
5782 2014-02-10  Glenn Morris  <rgm@gnu.org>
5784         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
5786 2014-02-09  Alan Mackenzie  <acm@muc.de>
5788         Fix c-invalidate-state-cache on narrowed buffers.
5789         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
5790         Widen when setting and clearing the CPP delimiter properties.
5792 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
5794         * help.el (describe-bindings): Doc fix (bug#9888).
5796         * files.el (save-buffer): Use ARG as the parameter name for
5797         consistency (bug#10346).
5798         (save-buffer): Clarify the 0 argument (bug#10346).
5800         * cus-edit.el (customize-apropos): Fix error string.
5801         (custom-buffer-create): Doc fix (bug#11122).
5802         (custom-sort-items): Doc fix (bug#11121).
5804         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5806         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5807         (icomplete-simple-completing-p): Mention the previous variable.
5809         * font-lock.el (font-lock-value-in-major-mode): Clarify the
5810         meaning of the parameter (bug#12282).
5812         * files.el (find-file-noselect): Clarify prompt when changing
5813         readedness (bug#13261).
5814         (locate-file): Suffixes aren't returned, so don't say that they
5815         are (bug#12674).
5816         (backup-inhibited): Doc clarification (bug#12525).
5818         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5819         before we actually start to delete things (bug#16331).
5821         * subr.el (event-start): Doc fix (bug#14228).
5822         (event-end): Ditto.
5824 2014-02-09  Glenn Morris  <rgm@gnu.org>
5826         * emacs-lisp/warnings.el (lwarn):
5827         Empower help-enable-auto-load.  (Bug#15940)
5829 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5831         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5832         (Bug#16690)
5834 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
5836         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5837         Insert output at end of buffer.  (Bug#16120)
5839 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5841         * simple.el (choose-completion-string-functions): Document new
5842         calling convention (bug#14153).
5843         (execute-extended-command): Clarify doc string (bug#13373).
5845         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5847         * find-dired.el (find-name-dired): Doc fix (bug#14290).
5848         (find-grep-dired): Doc fix (bug#14288).
5850 2014-02-08  Juri Linkov  <juri@jurta.org>
5852         * isearch.el (isearch-quote-char): Check character validity
5853         like in `quoted-insert' (bug#16677).
5855 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5857         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5859         * isearch.el (isearch-hide-immediately): Doc clarification
5860         (bug#14723).
5862         * simple.el (line-move): Document utility function used many
5863         places in the Emacs sources (bug#14843).
5865         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5866         (dired-prev-marked-file): Doc fix (bug#14855).
5867         (dired-up-directory): Doc fix (bug#14848).
5869         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5871         * files.el (file-relative-name): Doc fix (bug#15159).
5873         * fringe.el (fringe-styles): Doc fix (bug#15239).
5875         * isearch.el (isearch-filter-predicate): Documentation typo fix
5876         (bug#15474).
5878         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5880         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5882         * replace.el (replace-match-maybe-edit): Doc clarification
5883         (bug#15632).
5885         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5887         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5889 2014-02-08  Glenn Morris  <rgm@gnu.org>
5891         * help-fns.el (describe-variable):
5892         Check {file,dir}-local-variables-alist, and buffer-file-name,
5893         in the correct buffer.
5895 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
5897         * help-fns.el (describe-variable): Fix the case where
5898         a value is directory-local with no dir-locals file.  (Bug#16635)
5900 2014-02-08  Glenn Morris  <rgm@gnu.org>
5902         * abbrev.el (edit-abbrevs-mode):
5903         Derive from fundamental-mode.  (Bug#16682)
5905 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
5907         * simple.el (quoted-insert): Check character validity (bug#16677).
5909 2014-02-07  Juri Linkov  <juri@jurta.org>
5911         * desktop.el (desktop-read): Claim the lock when the owner is not
5912         the current process.  (Bug#16157)
5914 2014-02-07  Juri Linkov  <juri@jurta.org>
5916         * desktop.el (desktop-buffers-not-to-save): Change default from nil
5917         to "\\` ".  (Bug#16651)
5919 2014-02-07  Juri Linkov  <juri@jurta.org>
5921         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5922         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5923         (desktop-auto-save-cancel-timer): New function with some code from
5924         `desktop-auto-save-set-timer'.
5925         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5926         Instead of setting `desktop-save-mode' to nil, call
5927         `desktop-save-mode' with arg 0.  (Bug#16630)
5929 2014-02-07  Glenn Morris  <rgm@gnu.org>
5931         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5932         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5933         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5935         * obsolete/iswitchb.el: Move to obsolete/.
5936         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5937         since obsolete/ is not scanned for autoloads.
5938         * emacs-lisp/authors.el (authors-valid-file-names):
5939         Add iswitchb.el.
5941         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5942         Disable now non-functional find-file-hook.
5944 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
5946         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5947         instead of ";" in order to avoid additional prompts.  Let heredoc
5948         scripts read from tty.  (Bug#16582)
5949         (tramp-send-command): No special handling of heredocs, it isn't
5950         necessary anymore.
5952 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5954         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5955         with a space (bug#16664).  Limit the symbols considered to the ones
5956         that are bound or fbound (bug#16646).
5958 2014-02-06  Glenn Morris  <rgm@gnu.org>
5960         * epa.el (epa-mail-aliases): Doc fix.
5962 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
5964         * emacs-lisp/lisp.el (lisp-completion-at-point):
5965         Use `completion-table-merge' instead of `completion-table-in-turn'
5966         (bug#16604).
5968         * minibuffer.el (completion-table-merge): New function.
5970 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
5972         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5973         (tramp-sh-handle-set-file-acl)
5974         (tramp-sh-handle-start-file-process)
5975         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5976         (tramp-find-executable, tramp-send-command): Use it.
5978 2014-02-05  Glenn Morris  <rgm@gnu.org>
5980         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
5982 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5984         * progmodes/python.el (python-shell-send-string)
5985         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5987 2014-02-04  Anders Lindgren  <andlind@gmail.com>
5989         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5990         the names (bug#16620).
5992 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
5994         * faces.el (window-divider): New default value.  Rewrite doc-string.
5995         (window-divider-first-pixel, window-divider-last-pixel): New faces.
5997 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
5999         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
6000         `protected' and `public' can also be called without arguments.
6002 2014-02-03  Glenn Morris  <rgm@gnu.org>
6004         * register.el (window-configuration-to-register)
6005         (frame-configuration-to-register): Unadvertise unused argument.
6006         * frameset.el (frameset-to-register): Remove unused argument.
6008         * frameset.el (frameset-to-register):
6009         * kmacro.el (kmacro-to-register):
6010         * register.el (increment-register):
6011         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
6012         (calc-append-to-register, calc-prepend-to-register):
6013         * play/gametree.el (gametree-layout-to-register)
6014         (gametree-apply-register-layout):
6015         * textmodes/picture.el (picture-clear-rectangle-to-register)
6016         (picture-yank-rectangle-from-register):
6017         * vc/emerge.el (emerge-combine-versions-register):
6018         Use register-read-with-preview to read registers.
6020 2014-02-03  João Távora  <joaotavora@gmail.com>
6022         * elec-pair.el (electric-pair-backward-delete-char): Don't error
6023         when at beginning of (possibly narrowed) buffer.
6025 2014-02-02  Daniel Colascione  <dancol@dancol.org>
6027         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
6028         Also try to display local help from just before point.
6030 2014-02-02  Alan Mackenzie  <acm@muc.de>
6032         c-parse-state.  Don't "append-lower-brace-pair" in certain
6033         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
6034         recognised as a comment.
6036         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
6037         as well as normal comment starter.
6038         (c-parse-state-get-strategy): Extra return possibility
6039         'back-and-forward.
6040         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
6041         return value list to indicate replacement of a brace-pair cons
6042         with its car.
6043         (c-parse-state-1): With 'back-and-forward, only call
6044         c-append-lower-brace-pair-to state-cache when cons-separated.
6046 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
6048         * term/ns-win.el (ns-suspend-error): New function.
6049         (ns-initialize-window-system): Add ns-suspend-error to
6050         suspend-hook (Bug#16612).
6052 2014-02-02  Daniel Colascione  <dancol@dancol.org>
6054         * progmodes/cc-defs.el (c-find-assignment-for-mode):
6055         Make loading cc-mode silent.
6057 2014-02-02  Daniel Colascione  <dancol@dancol.org>
6059         * comint.el (comint-prompt-read-only): Change doc to suggest
6060         remap keybinding.
6062 2014-02-02  Glenn Morris  <rgm@gnu.org>
6064         * register.el (register-read-with-preview, point-to-register)
6065         (window-configuration-to-register, frame-configuration-to-register)
6066         (jump-to-register, number-to-register, view-register, insert-register)
6067         (copy-to-register, append-to-register, prepend-to-register)
6068         (copy-rectangle-to-register): Doc fixes.
6070 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6072         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
6073         * emacs-lisp/find-func.el (find-function-C-source): Idem.
6074         * emacs-lisp/nadvice.el (advice--cd*r): New function.
6075         * help-fns.el (describe-function-1): Use it.
6077 2014-02-02  Glenn Morris  <rgm@gnu.org>
6079         * register.el (register-preview-default): New function,
6080         split from register-preview.
6081         (register-preview-function): Rename from register-preview-functions,
6082         make it not a hook.
6083         (register-preview): Use register-preview-function.
6084         (register-read-with-preview): Error on non-character event.  (Bug#16595)
6086 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
6088         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
6089         `:' before binary operators (bug#16609).  Don't check for `:'
6090         before `[' and `(', or their syntax status.  A percent literal
6091         can't end with either.
6092         (ruby-font-lock-keywords): For built-ins that require arguments,
6093         check that they're followed by something that looks like argument
6094         (bug#16610).
6096 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
6098         * subr.el (butlast): Document what an omitted N means (bug#13437).
6099         (nbutlast): Ditto.
6101 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
6103         * net/shr.el (shr-generic): Make into a defsubst to make the stack
6104         depth shallower (bug#16587).
6105         (shr-tag-svg): Respect `shr-inhibit-images'.
6106         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
6108 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
6110         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
6111         (ruby-smie-grammar): Make "." right-associative.  Make its priority
6112         lower than the ternary and all binary operators.
6113         (ruby-smie-rules): Indent "(" relative to the first non-"."
6114         parent, or the first "." parent at indentation.
6115         Use `ruby-align-chained-calls' for indentation of "." tokens.
6116         (Bug#16593)
6118 2014-01-31  Juri Linkov  <juri@jurta.org>
6120         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
6121         from `make-hash-table'.
6123         * textmodes/ispell.el (ispell-init-process): Change message format
6124         to be consistent with other messages.
6126 2014-01-31  Glenn Morris  <rgm@gnu.org>
6128         * delsel.el (delete-selection-mode): Doc fix.
6130         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6131         (trace-function-background): Doc fixes.
6133         * ido.el (ido-use-virtual-buffers): Doc fix.
6134         Reset :version, since the default value has not changed.
6136         * register.el (register-preview-delay, register-read-with-preview):
6137         Doc fixes.
6139         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
6140         do not mess with mail-buffer position (fixes 2009-11-03 change).
6141         * progmodes/cc-mode.el (c-submit-bug-report):
6142         Check auto-fill-mode is bound.  (Bug#16592)
6144 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
6146         * startup.el (fancy-splash-image-file): New function,
6147         split from fancy-splash-head.
6148         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6149         so that we are both using the same image.  (Bug#16574)
6151 2014-01-30  Glenn Morris  <rgm@gnu.org>
6153         * simple.el (eval-expression): Doc fix.
6155         * hexl.el (hexl-mode-hook):
6156         * ielm.el (ielm-mode-hook):
6157         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6158         (lisp-interaction-mode-hook):
6159         * progmodes/cfengine.el (cfengine3-documentation-function):
6160         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6162 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6164         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6165         is a symbol (bug#16584).
6167 2014-01-30  Glenn Morris  <rgm@gnu.org>
6169         * help.el (help-for-help-internal): Add "P" to text.
6171 2014-01-29  Glenn Morris  <rgm@gnu.org>
6173         * simple.el (just-one-space, cycle-spacing): Doc fixes.
6175 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
6177         * window.el (fit-frame-to-buffer): Fix calculations for margins and
6178         height constraints.
6180 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
6182         * progmodes/hideif.el: Extend to full CPP expression syntax.
6183         (hif-token-alist): Add missing tokens.
6184         (hif-token-regexp): Add support for float/octal/hex immediates.
6185         (hif-string-literal-regexp): New const.
6186         (hif-tokenize): Recognize strings and float/octal/hex immediates.
6187         (hif-exprlist): New function.
6188         (hif-parse-if-exp): Use it.
6189         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6190         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6191         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6192         (hif-logxor, hif-comma): New functions.
6194 2014-01-28  Glenn Morris  <rgm@gnu.org>
6196         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6198         * indent.el (tab-stop-list): Doc fix.  Add :version.
6200         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6201         (cvs-append-to-ignore): Add compatibility alias.
6203 2014-01-27  Glenn Morris  <rgm@gnu.org>
6205         * dired.el (dired-hide-details-mode): Don't autoload it,
6206         since it cannot be used outside Dired buffers anyway.
6208         * emulation/cua-base.el (cua-mode): Doc fix.
6210         * dired.el (dired-hide-details-hide-symlink-targets)
6211         (dired-hide-details-hide-information-lines)
6212         (dired-hide-details-mode): Doc fixes.
6214         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6215         * strokes.el (strokes-file): Doc fix.  Bump :version.
6216         (strokes-help): Doc fix.
6217         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6218         * emulation/viper.el (viper): Doc fix for custom group.
6219         (top-level): Remove oh-so-no-longer-relevant text about vip.
6220         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6222         * ido.el (ido-save-directory-list-file):
6223         * saveplace.el (save-place-file):
6224         * calendar/timeclock.el (timeclock-file):
6225         * net/quickurl.el (quickurl-url-file):
6226         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6227         * progmodes/idlwave.el (idlwave-config-directory):
6228         * textmodes/remember.el (remember-data-file):
6229         Bump :version.
6231 2014-01-26  Glenn Morris  <rgm@gnu.org>
6233         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6234         Doc fix.  Make obsolete.
6235         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6237         * sort.el (delete-duplicate-lines): Doc fix.
6239 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6241         * progmodes/ada-mode.el (ada):
6242         * woman.el (woman): Link to info manual and Commentary section.
6244         * progmodes/flymake.el (flymake):
6245         * nxml/nxml-mode.el (nxml):
6246         * net/eww.el (eww):
6247         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6248         * htmlfontify.el (htmlfontify):
6249         * ses.el (ses):
6250         * epa.el (epa):
6251         * ido.el (ido): Link to info manual.
6253 2014-01-25  Leo Liu  <sdl.web@gmail.com>
6255         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6257 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
6259         * net/shr.el (shr-tag-img): Prefer the title over the alt text
6260         (bug#16537).
6262 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
6264         * net/eww.el (eww-download-callback):
6265         Fix reference to eww-download-directory.
6267         * emacs-lisp/bytecomp.el (byte-compile-file):
6268         Remove unused local variable `file-name'.
6270 2014-01-24  Glenn Morris  <rgm@gnu.org>
6272         * woman.el (woman-default-faces, woman-monochrome-faces):
6273         Fix obsolescence specification.
6275         * subr.el (with-demoted-errors): Doc fix.
6277 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6279         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6280         (cl--macroexp-fboundp): New function.
6281         (cl--make-type-test): Use it.
6283 2014-01-23  Glenn Morris  <rgm@gnu.org>
6285         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6286         * simple.el (eval-expression): Doc fixes.
6288 2014-01-22  Glenn Morris  <rgm@gnu.org>
6290         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6292 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6294         * emacs-lisp/package.el: Write files silently.
6295         (package-autoload-ensure-default-file, package--write-file-no-coding)
6296         (package-generate-description-file, package--download-one-archive)
6297         (package-install-from-archive): Tell `write-region' to stay quiet.
6298         (package-menu-mode, package-menu--print-info): Omit the Archive column
6299         if there's only one archive.
6300         (package-all-keywords, package--has-keyword-p): Remove dead code.
6302 2014-01-22  Glenn Morris  <rgm@gnu.org>
6304         * version.el (emacs-bzr-version-bzr): Fix typo.
6306         * version.el (emacs-repository-get-version):
6307         Check either .bzr or .git, but not both.
6308         Make the git case actually use the DIR argument, and return nil
6309         rather than the empty string.
6310         Avoid error if .git exists but the git executable is not found.
6312 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
6314         Fixes in window size functions around Bug#16430 and Bug#16470.
6315         * window.el (window-total-size, window-size): New argument ROUND.
6316         (window--min-delta-1, window-min-delta, window--max-delta-1):
6317         Be more conservative when calculating the numbers of lines or
6318         columns a window can shrink (Bug#16430).
6319         (fit-window-to-buffer): Simplify code.
6320         * term.el (term-window-width): Call window-body-width again.
6322 2014-01-22  Glenn Morris  <rgm@gnu.org>
6324         * image.el (image-format-suffixes): Doc fix.
6326         * international/quail.el (quail-define-package): Doc fix.
6328         * emacs-lisp/authors.el (authors-valid-file-names)
6329         (authors-renamed-files-alist): Additions.
6331         * vc/vc-git.el (vc-git-print-log): Remove --follow;
6332         reverts 2014-01-09 change.  (Bug#16422)
6334         * calc/calc-embed.el (thing-at-point-looking-at):
6335         * emacs-lisp/map-ynp.el (x-popup-dialog):
6336         * obsolete/lmenu.el (x-popup-dialog):
6337         * emacs-lisp/package.el (url-recreate-url):
6338         * mail/mailclient.el (clipboard-kill-ring-save):
6339         * subr.el (x-popup-dialog): Update declaration.
6340         * mail/rmail.el (rmail-mime-message-p):
6341         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6343 2014-01-21  Daniel Colascione  <dancol@dancol.org>
6345         * progmodes/sh-script.el (sh--inside-noncommand-expression):
6346         Correctly detect when we're inside an arithmetic expansion form
6347         containing nested parenthesis.
6348         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6349         to detect cases where we shouldn't expand "<<" to a heredoc
6350         skeleton.
6352 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6354         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6355         (eldoc--message-command-p): New function.
6356         (eldoc-display-message-p): Use it.
6357         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6358         message is not automatically erased for us.
6359         (eldoc-print-current-symbol-info): Erase previous message, if any.
6361 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
6363         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6364         specify it's an interactive function.
6366         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6367         Fix regex used for scanning for citation keys which failed for
6368         citations with optional arguments.
6370 2014-01-21  Leo Liu  <sdl.web@gmail.com>
6372         * simple.el (read--expression): Don't enable eldoc-mode.
6374 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6376         * simple.el (move-beginning-of-line): Make sure we don't move forward
6377         (bug#16497).
6379 2014-01-20  Juri Linkov  <juri@jurta.org>
6381         * saveplace.el (toggle-save-place, save-place-to-alist)
6382         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6383         'dired-mode) before checking for dired-directory.  (Bug#16477)
6385 2014-01-20  Juri Linkov  <juri@jurta.org>
6387         * indent.el (indent-line-to): Use backward-to-indentation
6388         instead of back-to-indentation.  (Bug#16461)
6390 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
6392         Revert some of the CANNOT_DUMP fix (Bug#16494).
6393         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6394         but fixing this can wait until after the next release.
6395         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6397 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
6399         * eshell/esh-mode.el (eshell-password-prompt-regexp):
6400         Use `password-word-equivalents'.
6401         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6402         to t.  (Bug#5664, Bug#13124)
6404 2014-01-19  Alan Mackenzie  <acm@muc.de>
6406         Bind open-paren-in-column-0-is-defun-start to nil at some entry
6407         points.
6408         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6409         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6410         * progmodes/cc-mode.el (c-before-change, c-after-change)
6411         (c-font-lock-fontify-region): Bind it here.
6413 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
6415         * term.el (term-window-width): Call window-text-width instead of
6416         window-width (Bug#16470).
6418 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
6420         * simple.el (password-word-equivalents): Remove duplicates.
6421         Sort, to make this easier next time.
6422         Downcase.  Omit ": " after "jelszó".
6424 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
6426         * term/common-win.el (saved-region-selection): Defvar it.
6427         (x-select-text): Set saved-region-selection (Bug#16382).
6429 2014-01-18  Glenn Morris  <rgm@gnu.org>
6431         * emacs-lisp/authors.el (authors-aliases)
6432         (authors-renamed-files-alist): Add some entries.
6434 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
6436         * net/tramp.el (tramp-password-prompt-regexp):
6437         Use `password-word-equivalents' if available.
6438         (tramp-action-password, tramp-process-one-action)
6439         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
6441 2014-01-17  Chong Yidong  <cyd@gnu.org>
6443         * simple.el (password-word-equivalents): New defcustom.
6444         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
6445         to 24.4.
6446         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6447         to t.  (Bug#13124)
6449 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
6451         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6452         (ruby-align-to-stmt-keywords): Change the default value.
6453         Use `ruby-alignable-keywords' to generate the possible customization
6454         choices.
6455         (ruby-smie-rules): Instead of using a hardcoded list of alignable
6456         keywords, check against the value of `ruby-alignable-keywords'
6457         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6459 2014-01-17  Glenn Morris  <rgm@gnu.org>
6461         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6463         Make M-x authors return zero *Authors Errors* from current logs.
6464         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6465         (authors-ignored-files): Add some entries, remove others.
6466         (authors-ambiguous-files, authors-valid-file-names):
6467         Add some entries.
6468         (authors-renamed-files-alist): Add, remove, and adjust entries.
6469         (authors-renamed-files-regexps): Add some entries.
6470         Remove some very broad ones.  Make some entries `lax'.
6471         (authors-lax-changelogs): New constant.
6472         (authors-disambiguate-file-name): Treat top-level specially.
6473         (authors-lax-changelog-p): New function.
6474         (authors-canonical-file-name): Check file as written against
6475         authors-valid-file-names.  Do not special-case etc/.
6476         Handle `lax' logs and authors-renamed-files-regexps elements.
6478 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
6480         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6481         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
6482         callers.
6484 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6486         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6487         Assume we're already in the proper buffer.
6488         Inspired by Anders Lindgren <andlind@gmail.com>.
6489         (follow-post-command-hook): Call it from the right buffer.
6490         (follow-comint-scroll-to-bottom): Adjust call.
6491         (follow-all-followers): Use get-buffer-window-list.
6493 2014-01-15  Daniel Colascione  <dancol@dancol.org>
6495         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6496         `buffer-file-name' in interactive-form so that we don't leave
6497         pathless file names in `file-name-history'.
6499 2014-01-15  Juri Linkov  <juri@jurta.org>
6501         * indent.el (indent-rigidly): Set deactivate-mark to nil
6502         in transient indentation mode.  (Bug#16438)
6504 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
6506         * emacs-lisp/package.el (package-desc-keywords): New function
6507         (Bug#16222).
6508         (describe-package-1, package-all-keywords)
6509         (package--has-keyword-p): Use it.
6511 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6513         * simple.el (define-alternatives): When creating the
6514         COMMAND-alternatives variable, assign COMMAND as its definition
6515         name so that `describe-variable' can relocate it.
6517 2014-01-14  Matthew Leach  <matthew@mattleach.net>
6519         * font-lock.el (font-lock-keywords): Fix typo in docstring
6520         (bug#16307).
6522 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6524         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6525         line instead of wrongly reset `add-coment' (bug#13577).
6527 2014-01-14  Daiki Ueno  <ueno@gnu.org>
6529         * epa-file.el (epa-file-write-region): Encode the region according
6530         to `buffer-file-format'.  Problem reported at:
6531         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6533 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6535         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6536         so it applies in the right buffer (bug#16410).
6538 2014-01-13  Daniel Colascione  <dancol@dancol.org>
6540         * textmodes/rst.el (rst-define-key): Provide deprecated
6541         keybindings through named functions instead of anonymous ones so
6542         that "??" doesn't appear in describe-mode output.
6544 2014-01-13  Bastien Guerry  <bzg@gnu.org>
6546         * simple.el (define-alternatives): Call the selected command
6547         interactively.  When setting `COMMAND--implementation' for the
6548         first time, tell the user how to chose another implementation.
6549         Enhance the docstring.
6551 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6553         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6554         (log-edit--match-first-line): New function.
6555         (log-edit-font-lock-keywords): Use it.
6556         (log-edit-mode): Make jit-lock-defer-multiline work.
6558 2014-01-13  Bastien Guerry  <bzg@gnu.org>
6560         * rect.el (rectangle-mark-mode): When the region is not active,
6561         display a message saying that the mark as been set and that
6562         rectangle mode is in use.
6563         (rectangle--highlight-for-redisplay): Only put an overlay with a
6564         visible vertical bar when (display-graphic-p) is non-nil.
6565         This partially fixes Bug#16403.
6567 2014-01-13  Juri Linkov  <juri@jurta.org>
6569         * info.el (Info-find-file): Go to DIR before displaying the error
6570         about a nonexistent file if no previous Info file is visited.
6571         Use `user-error' instead of `error' for "Info file %s does not exist".
6572         (Info-find-node-2): In case of a nonexistent node in unwind forms
6573         go to the Top node if there is no previous node to revert to.
6574         (Bug#16405)
6576 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
6578         fit-frame/window-to-buffer code fixes including one for Bug#14096.
6579         * window.el (fit-frame-to-buffer): Fix doc-string.
6580         Respect window-min-height/-width.  Fit pixelwise when
6581         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
6582         when avoiding that frame goes partially off-screen.
6583         (fit-window-to-buffer): Respect window-min-height/-width
6584         (Bug#14096).
6586 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6588         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6589         after an empty line.
6591 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6593         * net/shr.el (shr-render-region): Autoload.
6595 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
6597         * net/eww.el (eww-download-directory): Rename from
6598         `eww-download-path' (Bug#16419).
6600 2014-01-12  Leo Liu  <sdl.web@gmail.com>
6602         * dired-x.el (dired-mode-map): Fix last change.
6604         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6606 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
6608         Spelling fixes.
6609         * emacs-lisp/generic.el (generic--normalize-comments):
6610         Rename from generic--normalise-comments.  All uses changed.
6611         * play/bubbles.el (bubbles--neighborhood-score)
6612         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6613         (bubbles--neighborhood-available)
6614         (bubbles--update-neighborhood-score):
6615         Rename from names with 'neighbourhood'.  All uses changed.
6617 2014-01-12  Leo Liu  <sdl.web@gmail.com>
6619         Re-implement the feature of showing eldoc info after editing.
6620         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6621         (eldoc-edit-message-commands): New function.
6622         (eldoc-print-after-edit): New variable.
6623         (eldoc-pre-command-refresh-echo-area): Emit message only by
6624         eldoc-message-commands.
6625         (eldoc-mode): Restrict eldoc-message-commands to editing commands
6626         if eldoc-print-after-edit is set.  (Bug#16346)
6627         * simple.el (read--expression): Enable eldoc-mode.
6628         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6630 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
6631             Eric S. Raymond  <esr@thyrsus.com>
6633         * version.el (emacs-repository-get-version): Enhance so the
6634         function works correctly in either a Bazaar or Git repo.
6636 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
6638         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6639         Goes with removal of the joke manpages from /etc.
6641 2014-01-10  Kenichi Handa  <handa@gnu.org>
6643         * mail/rmail.el (rmail-get-coding-system):
6644         Check rmail-get-coding-function before "funcall"ing it.
6646 2014-01-10  Glenn Morris  <rgm@gnu.org>
6648         * emacs-lisp/authors.el (authors-fixed-entries):
6649         Update for files that no longer exist.
6651 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
6653         * version.el (emacs-bzr-get-version): Restore compatibilty with
6654         24.3 (Tested).
6656 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
6658         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6659         and Podfile.
6661 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
6663         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6665 2014-01-10  Chong Yidong  <cyd@gnu.org>
6667         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6669 2014-01-10  Anders Lindgren  <andlind@gmail.com>
6671         * follow.el (follow-cache-command-list): Include right-char and
6672         left-char.
6674 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6676         Spelling fixes.
6677         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6678         * woman.el (woman-mark-horizontal-position):
6679         Rename from woman-mark-horizonal-position.  Use changed.
6681 2014-01-10  Glenn Morris  <rgm@gnu.org>
6683         * info.el (info-initialize): If running uninstalled, ensure our
6684         own info files are always found first, even if INFOPATH is set.
6686         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6688 2014-01-09  David Engster  <deng@randomsample.de>
6690         * emacs-lisp/eieio-custom.el:
6691         * emacs-lisp/eieio-opt.el: Set generated autoload file to
6692         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6693         * emacs-lisp/eieio.el: Regenerate autoloads.
6695 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
6697         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6698         following renames.  (Bug#8756)
6700 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6702         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6703         (bug#16382).
6704         (activate-mark): Add `no-tmm' argument.
6705         (set-mark, push-mark-command): Use it instead of running
6706         activate-mark-hook by hand.
6708 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
6710         In preparation for the move to git, sanitize out some
6711         Bazaar-specific names.
6713         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6715         * version.el (emacs-bzr-version): Name changed to
6716         emacs-repository-version.  Obsolete-variable alias made.
6717         * loadup.el: Follow through on this name change.
6718         * mail/emacsbug.el (report-emacs-bug): Factor out any
6719         assumption about the version control system in use.
6721 2014-01-08  David Engster  <deng@randomsample.de>
6723         * help-fns.el (help-fns-describe-function-functions):
6724         New variable to call functions for augmenting help buffers.
6725         (describe-function-1): Remove explicit calls to
6726         `help-fns--compiler-macro', `help-fns--parent-mode' and
6727         `help-fns--obsolete'.  Put them in above new variable instead, and
6728         call them through `run-hook-with-args'.
6729         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6730         `eieio-describe-class'.  Not meant for interactive use anymore,
6731         but to augment existing help buffers.  Remove optional second
6732         argument.  Create proper button for file location.
6733         Rewrite function to use `insert' instead of `princ' and `prin1' where
6734         possible.
6735         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6736         (eieio-method-def, eieio-class-def): Move further up.
6737         (describe-method, describe-generic, eieio-describe-method):
6738         Remove aliases.
6739         (eieio-help-constructor, eieio-help-generic): Rename from
6740         `eieio-describe-constructor' and `eieio-describe-generic', resp.
6741         Rewrite to use `insert' in the current buffer and use proper help
6742         buttons.
6743         (eieio-help-find-method-definition)
6744         (eieio-help-find-class-definition): Also accept symbols as
6745         arguments.
6746         (eieio-help-mode-augmentation-maybee): Remove.
6747         (eieio-describe-class-sb): Use `describe-function'.
6748         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6749         Add `eieio-help-generic' and `eieio-help-constructor'.
6751 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
6753         Spelling fixes.
6754         * language/china-util.el (hz-ascii-designation):
6755         Rename from hz-ascii-designnation.
6756         (hz-ascii-designation): Rename from hz-ascii-designnation.
6757         All uses changed.
6759 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6761         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6762         package-alist.
6764 2014-01-08  Bastien Guerry  <bzg@gnu.org>
6766         * emacs-lisp/package.el (package-delete):
6767         Correctly delete the package from package-alist.
6769 2014-01-08  Daiki Ueno  <ueno@gnu.org>
6771         * emacs-lisp/package.el (url-recreate-url): Declare.
6772         (url-http-target-url): Declare.
6773         (package-handle-response): Include requested URL in the error message.
6774         (package--check-signature): Don't re-signal errors from
6775         package--with-work-buffer.  Suggested by Stefan Monnier.
6777 2014-01-07  Bastien Guerry  <bzg@gnu.org>
6779         * minibuffer.el (completion--try-word-completion): When both a
6780         hyphen and a space are possible candidates for the character
6781         following a word, display both candidates.  (Bug#15980)
6783 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
6785         * window.el (balance-windows-2): While rounding don't give a
6786         window more than the remainder.  Bug#16351, bug#16383.
6788 2014-01-07  Glenn Morris  <rgm@gnu.org>
6790         * menu-bar.el (menu-bar-help-extra-packages): Remove.
6791         (menu-bar-help-menu): Use view-external-packages instead.
6793 2014-01-07  Bastien Guerry  <bzg@gnu.org>
6795         * emacs-lisp/package.el (package-delete): Also delete the package
6796         name from `package-alist', not its description only.
6798 2014-01-07  Glenn Morris  <rgm@gnu.org>
6800         * help.el (view-external-packages):
6801         * menu-bar.el (menu-bar-help-extra-packages):
6802         Visit efaq.info rather than etc/MORE.STUFF.
6804 2014-01-07  Juri Linkov  <juri@jurta.org>
6806         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6807         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
6809         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6810         that shadows RET.  (Bug#16342)
6812 2014-01-07  Chong Yidong  <cyd@gnu.org>
6814         * isearch.el (isearch-yank-char, isearch-yank-word)
6815         (isearch-yank-line): Doc fix.
6817 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6819         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6820         * emacs-lisp/elint.el (elint-find-builtins):
6821         * emacs-lisp/eldoc.el (eldoc-symbol-function):
6822         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6823         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6824         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6825         * apropos.el (apropos-safe-documentation):
6826         * subr.el (symbol-file): Remove redundant fboundp.
6827         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6829 2014-01-06  Bastien Guerry  <bzg@gnu.org>
6831         * hl-line.el (global-hl-line-overlay): Make a local variable.
6832         (global-hl-line-overlays): New variable to store all overlays.
6833         (global-hl-line-mode): Don't delete overlays from the current
6834         buffer when `global-hl-line-sticky-flag' is non-nil.
6835         (global-hl-line-highlight): Add new overlays to
6836         `global-hl-line-overlays'.
6837         (global-hl-line-unhighlight-all): New function to delete all
6838         overlays when turning off `global-hl-line-mode'.
6839         This fixes Bug#16183.
6841 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6843         * subr.el (set-transient-map): Fix nested case and docstring.
6845 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
6847         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6848         `Texinfo' entry.
6850 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6852         Fix defun navigation in vc log view.
6854         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6855         like `beginning-of-defun'.
6856         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6857         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
6858         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6859         (log-view-extract-comment): Call `log-view-current-entry' directly
6860         instead of relying on broken `log-view-beginning-of-defun' behavior.
6862 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
6864         Spelling fixes.
6865         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6866         * emacs-lisp/debug.el (cancel-debug-on-entry):
6867         * epg.el (epg-error-to-string):
6868         * files.el (recover-file):
6869         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6870         * mail/emacsbug.el (report-emacs-bug-hook):
6871         * mail/sendmail.el (mail-recover):
6872         * ses.el (ses-yank-resize):
6873         * term/ns-win.el (ns-print-buffer):
6874         Spelling fixes in diagnostics, mostly for "canceled" with one L.
6875         * epg.el (epg-key-capability-alist): Rename from misspelled version.
6876         All uses changed.
6877         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6879 2014-01-06  Leo Liu  <sdl.web@gmail.com>
6881         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6882         to avoid shadowing global key.  (Bug#16354)
6884 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6886         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6887         rst-mode.
6889 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
6891         * window.el (balance-windows): Add mising t to fix Bug#16351.
6893 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6895         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6896         (bug#16285).
6897         (shr-insert): If we have a word that's longer than `shr-width',
6898         break after it anyway.  Otherwise we'll do no breaking once we get
6899         such a long word.
6901 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6903         * net/eww.el (eww): Support single/double quote for search.
6904         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6905         (eww-history-quit): Delete and use quit-window.
6906         (eww-history-kill): Delete, because it doesn't work well and
6907         not necessary.
6908         (eww-history-mode-map): Delete some keys and add easy-menu.
6910 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6912         Fix misspelling of 'chinese' in rx (Bug#16237).
6913         * emacs-lisp/rx.el (rx-categories): Correct spelling of
6914         chinese-two-byte.
6916         Change subword regexps back to vars (Bug#16296).
6917         * progmodes/subword.el (subword-forward-regexp)
6918         (subword-backward-regexp): Change these back to variables.
6920 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6922         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6923         syntax-begin-function (bug#16247).
6925 2014-01-03  Chong Yidong  <cyd@gnu.org>
6927         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6928         (advice--docstring): Delete variable.
6929         (advice--make-1): Leave the docstring empty.
6930         (advice-add): Use function-documentation for advised docstring.
6932         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6933         Ignore function-documentation property when getting documentation.
6934         (ad-activate-advised-definition): Use function-documentation
6935         generate the docstring.
6936         (ad-make-advised-definition): Don't call
6937         ad-make-advised-definition-docstring.
6938         (ad-make-advised-definition-docstring, ad-advised-definition-p):
6939         Delete functions.
6941         * progmodes/sql.el (sql-help): Use function-documentation instead
6942         of dynamic-docstring-function property.  No need to autoload now.
6943         (sql--help-docstring): New variable.
6944         (sql--make-help-docstring): Use it.
6946 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6948         * ielm.el (ielm-tab): Retarget.
6949         (ielm-map): Use ielm-tab for tab.
6950         (ielm-complete-filename): Use comint-filename-completion.
6951         (ielm-complete-symbol): Remove.
6952         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6953         remove ielm-tab from completion-at-point-functions (bug#16224).
6955         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6956         Beware signals raised by predicates (bug#16201).
6958 2014-01-02  Richard Stallman  <rms@gnu.org>
6960         * dired-aux.el (dired-do-print): Handle printer-name.
6962         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6963         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6964         (rmail-epa-decrypt): Turn off mime processing.
6966         * mail/rmail.el (rmail-make-in-reply-to-field):
6967         Add parens in message-id.
6969         * mail/rmail.el (rmail-get-coding-function): Variable.
6970         (rmail-get-coding-system): Use it.
6972 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
6974         * international/mule-conf.el: Unify the charset indian-is13194.
6975         (indian-is13194): Specify unify-map.
6977 2013-12-31  Leo Liu  <sdl.web@gmail.com>
6979         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
6981 2013-12-30  Daniel Colascione  <dancol@dancol.org>
6983         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6984         of printing a useless when we resume from sleep.
6986         * progmodes/sh-script.el
6987         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6988         in indentation code.  (Bug#16233)
6990 2013-12-28  João Távora  <joaotavora@gmail.com>
6992         * elec-pair.el (electric-pair-post-self-insert-function):
6993         Don't open extra newlines at beginning of buffer.  (Bug#16272)
6995 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
6997         * frame.el (window-system-for-display): Don't allow to create a
6998         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
7000 2013-12-28  Glenn Morris  <rgm@gnu.org>
7002         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
7003         Update callers.
7005         * apropos.el (apropos-match-face):
7006         * calculator.el (calculator-displayer):
7007         * dabbrev.el (dabbrev-search-these-buffers-only):
7008         * face-remap.el (buffer-face-mode-face):
7009         * simple.el (yank-handled-properties):
7010         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
7011         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
7012         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
7013         (hashcash-double-spend-database):
7014         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
7015         (ruby-deep-indent-paren-style):
7016         * textmodes/flyspell.el (flyspell-auto-correct-binding):
7017         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
7018         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
7019         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
7020         Specify custom types.
7022         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
7023         * bookmark.el (bookmark-bmenu-use-header-line):
7024         * doc-view.el (doc-view-scale-internally):
7025         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
7026         * register.el (register-preview-delay):
7027         * net/shr.el (shr-bullet):
7028         * progmodes/cfengine.el (cfengine-cf-promises)
7029         (cfengine-parameters-indent):
7030         * progmodes/octave.el (inferior-octave-error-regexp-alist):
7031         * textmodes/reftex-vars.el (reftex-label-regexps):
7032         * vc/log-edit.el (log-edit-setup-add-author): Add version.
7034         * net/tls.el (tls-certtool-program): Fix default value.
7036         * desktop.el (desktop-restore-in-current-display):
7037         * newcomment.el (comment-empty-lines):
7038         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
7039         (idlwave-pad-keyword):
7040         * progmodes/tcl.el (tcl-tab-always-indent):
7041         * textmodes/reftex-vars.el (reftex-index-default-tag):
7042         * elec-pair.el (electric-pair-skip-whitespace):
7043         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
7045         * emacs-lisp/authors.el (authors-ignored-files)
7046         (authors-valid-file-names, authors-renamed-files-alist): Additions.
7048 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
7050         * shell.el (shell-dynamic-complete-command): Doc fix.
7051         (shell--command-completion-data): Shell completion now matches
7052         executable filenames from the current buffer's directory, on
7053         systems in which this behavior is the default (windows-nt, ms-dos).
7055 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
7057         * net/shr.el (shr-insert): Don't infloop if the width is zero.
7059 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7061         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
7062         (bug#16251).
7064         * electric.el: Move all electric-pair-* to elec-pair.el.
7065         * elec-pair.el: New file, split from electric.el.
7067 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
7069         * net/shr.el (shr-find-fill-point): Don't try to fill if the
7070         indentation level is larger than the width, because that will
7071         infloop.
7072         (shr-insert): Fill repeatedly long texts, so that Japanese is
7073         formatted correctly (bug#16263).
7074         (shr-find-fill-point): Off by one error in comparison with the
7075         indentation.
7077 2013-12-26  João Távora  <joaotavora@gmail.com>
7079         * electric.el (electric-pair-mode): More flexible engine for skip-
7080         and inhibit predicates, new options for pairing-related functionality.
7081         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7082         if that keeps or improves their balance in buffers.
7083         (electric-pair-delete-adjacent-pairs): Delete the pair when
7084         backspacing over adjacent matched delimiters.
7085         (electric-pair-open-extra-newline): Open extra newline when
7086         inserting newlines between adjacent matched delimiters.
7087         (electric--sort-post-self-insertion-hook):
7088         Sort post-self-insert-hook according to priority values when
7089         minor-modes are activated.
7090         * simple.el (newline-and-indent): Call newline with interactive
7091         set to t.
7092         (blink-paren-post-self-insert-function): Set priority to 100.
7093         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7094         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
7095         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
7096         electric-pair-open-newline-between-pairs to nil.
7098 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7100         * progmodes/python.el: Use lexical-binding.
7101         (python-nav-beginning-of-defun): Stop searching ASAP.
7103 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
7105         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
7106         Fix interactive spec.  Doc fix.  (Bug#15754)
7108 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
7110         * emacs-lisp/byte-run.el (eval-when-compile):
7111         * progmodes/cc-defs.el (cc-eval-when-compile):
7112         Fix edebug spec (bug#16184).
7114 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
7116         * net/shr.el (shr-visit-file): Remove debugging function.
7117         (shr-insert): Don't infloop if we can't find a good place to break
7118         the line (bug#16256).
7120 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7122         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
7123         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
7124         python-nav-lisp-forward-sexp-safe.
7125         (python-nav--forward-sexp): New argument SAFE allows switching
7126         forward sexp movement behavior for parens.
7127         (python-nav-forward-sexp): Throw errors on unterminated parens
7128         (Bug#16191).
7129         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
7130         (python-nav-backward-sexp-safe): New functions.
7131         (python-shell-buffer-substring):
7132         Use `python-nav-forward-sexp-safe'.
7134 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
7136         * net/shr.el (shr-find-fill-point): Don't break lines before a
7137         quotation mark.
7138         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
7139         (shr-find-fill-point): Remove the special checks for the quotation
7140         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
7142 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7144         * net/eww.el (eww-form-textarea): Use a different face for
7145         textareas than text input since they have different keymaps
7146         (bug#16142).
7148 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7150         * progmodes/python.el (python-nav-beginning-of-statement):
7151         Speed up (Bug#15295).
7153 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
7155         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7156         the window configuration.
7158 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
7160         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7161         we run on MS-Windows or MS-DOS.
7163 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
7165         * window.el (balance-windows-area): Call window-size instead of
7166         window-height and window-width.  Bug#16241.
7168 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
7170         * net/eww.el (eww-bookmark-quit): Remove.
7171         (eww-bookmark-browse): Restore the window configuration when you
7172         choose a bookmark (bug#16144).
7174 2013-12-24  Daniel Colascione  <dancol@dancol.org>
7176         * icomplete.el: Remove redundant :group arguments to `defcustom'
7177         throughout.
7178         (icomplete-show-matches-on-no-input): New customizable variable.
7179         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7180         we have something to show.
7181         (icomplete-exhibit): Compute completions even if we have no user input.
7183 2013-12-23  Daniel Colascione  <dancol@dancol.org>
7185         * icomplete.el: Move `provide' to end of file.
7187 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
7189         * net/gnutls.el (gnutls-verify-error): Add version tag.
7191 2013-12-23  Chong Yidong  <cyd@gnu.org>
7193         * subr.el (set-transient-map): Rename from
7194         set-temporary-overlay-map.  Doc fix.
7196         * face-remap.el (text-scale-adjust):
7197         * indent.el (indent-rigidly):
7198         * kmacro.el (kmacro-call-macro):
7199         * minibuffer.el (minibuffer-force-complete):
7200         * repeat.el (repeat):
7201         * simple.el (universal-argument--mode):
7202         * calendar/todo-mode.el (todo-insert-item--next-param):
7203         * progmodes/f90.el (f90-abbrev-start): Callers changed.
7205         * indent.el (indent-rigidly): Use substitute-command-keys.
7207 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7209         * net/eww.el (eww-tag-select): Add text-property to jump to next
7210         select field.
7211         (eww): Add non-supported ftp error.
7213 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
7215         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7216         comments.  Handle electric indent after typing `?' and `!'.
7218 2013-12-22  Chong Yidong  <cyd@gnu.org>
7220         * faces.el (face-spec-recalc): If the theme specs are not
7221         applicable to a frame, fall back on the defface spec.
7222         This prevents themes from obliterating faces on low-color terminals.
7224 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
7226         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7227         after `{'.  We need it after block openers, and it doesn't seem
7228         to hurt after hash openers.
7230 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
7232         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7233         extracted from `ruby-smie-rules'.
7234         (ruby--electric-indent-chars): New variable.
7235         (ruby--electric-indent-p): New function.
7236         (ruby-mode): Use `electric-indent-functions' instead of
7237         `electric-indent-chars'.
7239 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
7241         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7242         docstring.
7243         (ruby-smie-rules): Indent plus one level after `=>'.
7245 2013-12-21  Richard Stallman  <rms@gnu.org>
7247         * simple.el (newline): Doc fix.
7249 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7251         * net/eww.el (eww-list-histories, eww-list-histories)
7252         (eww-history-browse, eww-history-quit, eww-history-kill)
7253         (eww-history-mode-map, eww-history-mode): New command and
7254         functions to list browser histories.
7255         (eww-form-text): Support text form with disabled
7256         and readonly attributes.
7257         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7259 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7261         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7262         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7263         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7264         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7265         Use `user-error'.
7266         (eww-bookmark-mode-map): Add menu.
7267         (eww-render, eww-mode): Use `setq-local'.
7268         (eww-tool-bar-map): New variable.
7269         (eww-mode): Set `tool-bar-map'.
7270         (eww-view-source): Check for `html-mode' with `fboundp'.
7272 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7274         * net/shr.el (shr--extract-best-source): Don't bug out on audio
7275         elements with text inside.  Also remove debugging.
7277 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
7279         * cus-start.el (all): Add ns-use-srgb-colorspace.
7281 2013-12-21  Chong Yidong  <cyd@gnu.org>
7283         * custom.el (custom-theme-recalc-face): Do nothing if the face is
7284         undefined.  Thus, theme settings for undefined faces do not take
7285         effect until the faces are defined with defface, the same as with
7286         theme variables.
7288         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7289         (face-spec-reset-face): Don't assign extra properties in temacs.
7290         (face-spec-recalc): Apply X resources too.
7292 2013-12-21  Chong Yidong  <cyd@gnu.org>
7294         * faces.el (face-spec-set):
7295         * cus-face.el (custom-theme-set-faces, custom-set-faces):
7296         * custom.el (defface): Doc fixes (Bug#16203).
7298         * indent.el (indent-rigidly-map): Add docstring, and move commands
7299         into named functions.
7300         (indent-rigidly-left, indent-rigidly-right)
7301         (indent-rigidly-left-to-tab-stop)
7302         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
7303         indentation direction based on bidi direction, and accumulate
7304         sequential commands in a single undo boundary.
7305         (indent-rigidly--pop-undo): New utility function.
7307 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
7309         * faces.el (read-face-name): Require crm.el when using crm-separator.
7311 2013-12-20  Daniel Colascione  <dancol@dancol.org>
7313         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7314         so that we don't reflow comments into the shebang line.
7316 2013-12-20  Juri Linkov  <juri@jurta.org>
7318         * saveplace.el (save-place-to-alist): Add `dired-filename' as
7319         a position when `dired-directory' is non-nil.  Check integer
7320         positions with `integerp'.
7321         (toggle-save-place, save-places-to-alist): Add check for
7322         `dired-directory'.
7323         (save-place-find-file-hook): Check integer positions with
7324         `integerp'.
7325         (save-place-dired-hook): Use `dired-goto-file' when
7326         `dired-filename' is found in the assoc list.  Check integer
7327         positions with `integerp'.
7328         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7330         * dired.el (dired-initial-position-hook): Rename back from
7331         `dired-initial-point-hook'.
7332         (dired-initial-position): Rename `dired-initial-point-hook' to
7333         `dired-initial-position-hook'.
7334         (dired-file-name-at-point): Doc fix.  (Bug#15329)
7336 2013-12-20  Juri Linkov  <juri@jurta.org>
7338         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7339         (read-regexp-suggestions): New function.
7340         (read-regexp): Use `read-regexp-defaults-function' to get default values.
7341         Use `read-regexp-suggestions'.  Add non-empty default to history
7342         for empty input.
7343         (occur-read-regexp-defaults-function): Remove function.
7344         (occur-read-primary-args): Use `regexp-history-last' instead of
7345         `occur-read-regexp-defaults-function'.
7347         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7348         (hi-lock-line-face-buffer, hi-lock-face-buffer)
7349         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7350         `hi-lock-read-regexp-defaults-function'.  Doc fix.
7351         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7352         with `find-tag-default-as-symbol-regexp'.  Doc fix.
7353         (hi-lock-read-regexp-defaults): Remove function.
7354         (hi-lock-regexp-okay): Add check for null.
7356         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7357         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
7359         * subr.el (find-tag-default-as-symbol-regexp): New function.
7360         (find-tag-default-as-regexp): Move symbol regexp formatting to
7361         `find-tag-default-as-symbol-regexp'.
7363 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
7365         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7366         (Bug#14179)
7368 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
7370         * calendar/todo-mode.el: New implementation of item insertion
7371         commands and key bindings.
7372         (todo-key-prompt): New face.
7373         (todo-insert-item): New command.
7374         (todo-insert-item--parameters): New defconst, replacing defvar
7375         todo-insertion-commands-args-genlist.
7376         (todo-insert-item--param-key-alist): New defconst, replacing
7377         defvar todo-insertion-commands-arg-key-list.
7378         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7379         (todo-insert-item--argsleft, todo-insert-item--apply-args)
7380         (todo-insert-item--next-param): New functions.
7381         (todo-insert-item--args, todo-insert-item--argleft)
7382         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7383         New variables.
7384         (todo-key-bindings-t): Change binding of "i" from
7385         todo-insertion-map to todo-insert-item.
7386         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7387         (todo-insertion-command-name, todo-insertion-commands-names)
7388         (todo-define-insertion-command, todo-insertion-commands)
7389         (todo-insertion-key-bindings, todo-insertion-map): Remove.
7391 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
7393         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7394         (todo-toggle-item-highlighting): Use eval-and-compile instead of
7395         eval-when-compile.
7396         (todo-move-category): Allow choosing a non-existing todo file to
7397         move the category to, and create that file.
7398         (todo-default-priority): New user option.
7399         (todo-set-item-priority): Use it.
7400         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7401         (desktop-restore-file-buffer): Declare.
7402         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7403         (todo-modes-set-2): Locally set desktop-save-buffer to
7404         todo-desktop-save-buffer.
7405         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7406         (auto-mode-alist): Add autoload cookie.
7408 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
7410         * emacs-lisp/subr-x.el: Renamed from helpers.el.
7411         helpers.el was a poor choice of name.
7412         (string-remove-prefix): New function.
7413         (string-remove-suffix): New function.
7415 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
7417         Fix assignment for new window total sizes.
7418         * window.el (window--pixel-to-size): Remove function.
7419         (window--pixel-to-total-1, window--pixel-to-total):
7420         Fix calculation of new total sizes.
7422 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
7424         * comint.el (comint-output-filter): Fix rear-nonsticky property
7425         placement (Bug#16010).
7427 2013-12-20  Chong Yidong  <cyd@gnu.org>
7429         * faces.el (read-color): Minor fix for completion function.
7431 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
7433         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7434         New option.  (Bug#16182)
7435         (ruby-smie--indent-to-stmt-p): Use it.
7436         (ruby-smie-rules): Revert the logic in the handling of `when'.
7437         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7438         (ruby-deep-arglist, ruby-deep-indent-paren)
7439         (ruby-deep-indent-paren-style): Update docstrings to note that the
7440         vars don't have any effect with SMIE.
7442 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
7444         * calc/calc.el (calc-enter, calc-pop): Use the variable
7445         `calc-context-sensitive-enter'.
7447 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7449         * net/shr.el (shr-insert): Protect against infloops in degenerate
7450         tables.
7452 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7454         * progmodes/octave.el (octave): Add link to manual and octave
7455         homepage.
7456         (octave-mode-menu): Link to octave-mode manual.
7458 2013-12-20  Leo Liu  <sdl.web@gmail.com>
7460         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7461         insertion using skeleton-end-newline.  (Bug#16138)
7463 2013-12-20  Juri Linkov  <juri@jurta.org>
7465         * replace.el (occur-engine): Use `add-face-text-property'
7466         to add the face property to matches and titles.  (Bug#14645)
7468         * hi-lock.el (hi-green): Use lighter color "light green" closer to
7469         the palette of other hi-lock colors.
7470         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7472 2013-12-19  Juri Linkov  <juri@jurta.org>
7474         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7475         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
7476         (minibuffer-history-symbol): Move variable declaration closer to
7477         its usage.
7479         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7480         (Bug#14785)
7482 2013-12-19  Juri Linkov  <juri@jurta.org>
7484         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7485         New function.
7486         (log-edit-hook): Add it to :options.  (Bug#16170)
7488 2013-12-19  Juri Linkov  <juri@jurta.org>
7490         * simple.el (eval-expression-print-format): Don't check for
7491         command names and the last command.  Always display additional
7492         formats of the integer result in the echo area, and insert them
7493         to the current buffer only with a zero prefix arg.
7494         Display character when char-displayable-p is non-nil.
7495         (eval-expression): With a zero prefix arg, set `print-length' and
7496         `print-level' to nil, and insert the integer values from
7497         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
7499         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7500         `eval-last-sexp-arg-internal'.  Doc fix.
7501         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7502         `eval-last-sexp-print-value'.  Doc fix.
7503         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7504         Set `print-length' and `print-level' to nil when arg is zero.
7505         (eval-last-sexp): Doc fix.
7506         (eval-defun-2): Print the integer values from
7507         `eval-expression-print-format' at the end.
7509         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7510         values from `eval-expression-print-format' at the end.
7512         * ielm.el (ielm-eval-input): Print the integer
7513         values from `eval-expression-print-format' at the end.
7515 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
7517         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7518         2013-12-11T19:01:44Z!tzz@lifelogs.com.
7520 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7522         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
7523         (hl-line-highlight, global-hl-line-highlight): Use it.
7524         (hl-line-overlay): Use defvar-local.
7526 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
7528         * term/ns-win.el: Require dnd.
7529         (global-map): Remove drag items.
7530         (ns-insert-text, ns-set-foreground-at-mouse)
7531         (ns-set-background-at-mouse):
7532         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7533         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7534         New functions.
7536 2013-12-19  Glenn Morris  <rgm@gnu.org>
7538         * emacs-lisp/ert.el (ert-select-tests):
7539         Fix string/symbol mixup.  (Bug#16121)
7541 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
7543         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7544         keywords to their parent.
7546 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
7548         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7549         first arg to be a string (fixed dead code), or an operator symbol.
7550         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7551         operator symbols.
7552         (ruby-smie-rules): Remove parent token check in the `.' clause, it
7553         did nothing.  Don't respond to `(:after ".")', it will be called
7554         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
7555         change anything.  Only return indentation for binary operators
7556         when they are hanging.  De-dent opening paren when its parent is
7557         `.', otherwise it looks bad when the dot is not at bol or eol
7558         (bug#16182).
7560 2013-12-19  Juri Linkov  <juri@jurta.org>
7562         * replace.el (query-replace-read-args): Split a non-negative arg
7563         and a negative arg into separate elements.
7564         (query-replace, query-replace-regexp, replace-string)
7565         (replace-regexp): Add arg `backward'.  Doc fix.
7566         (replace-match-maybe-edit): When new arg `backward' is non-nil,
7567         move point to the beginning of the match.
7568         (replace-search, replace-highlight): Use new arg `backward'
7569         to set the value of `isearch-forward'.
7570         (perform-replace): Add arg `backward' and use it to perform
7571         replacement backward.  (Bug#14979)
7573         * isearch.el (isearch-query-replace): Use a negative prefix arg
7574         to call `perform-replace' with a non-nil arg `backward'.
7576 2013-12-18  Juri Linkov  <juri@jurta.org>
7578         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7579         to the default list.  Move `log-edit-show-files' to the end.
7580         Add more available functions to options.
7581         (log-edit): Move default specific settings to
7582         `log-edit-insert-message-template'.  Don't move point.
7583         (log-edit-insert-message-template): New function.
7584         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7585         (Bug#16170)
7587 2013-12-18  Juri Linkov  <juri@jurta.org>
7589         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7590         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
7592 2013-12-18  Leo Liu  <sdl.web@gmail.com>
7594         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7595         (Bug#16186)
7597 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
7599         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7600         formats for displaying file sizes when the -s switch is given.
7601         Instead, compute a separate format for displaying the size in
7602         blocks, which is displayed in addition to the "regular" size.
7603         When -h is given in addition to -s, produce size in blocks in
7604         human-readable form as well.  (Bug#16179)
7606 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
7608         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7609         Reference tables with ~\ref{...} instead of only \ref{...}.
7611 2013-12-18  Chong Yidong  <cyd@gnu.org>
7613         * cus-edit.el (custom-magic-alist): Fix "themed" description
7614         (Bug#14348).
7616         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7617         is non-nil, do not create a new entry in the symbol's theme-value
7618         or theme-face property; update theme-settings only (Bug#14664).
7619         (custom-available-themes): Doc fix.
7621         * cus-theme.el (custom-new-theme-mode-map): Add bindings
7622         (Bug#15674).
7624         * replace.el (occur-engine): Avoid infloop (Bug#7593).
7626 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
7628         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7629         (Bug#13914).
7631 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
7633         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7635 2013-12-18  Glenn Morris  <rgm@gnu.org>
7637         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7638         * cus-start.el (load-prefer-newer): New option.
7640 2013-12-18  Le Wang  <l26wang@gmail.com>
7642         * comint.el (comint-previous-matching-input-from-input):
7643         Retain point (Bug#13404).
7645 2013-12-18  Chong Yidong  <cyd@gnu.org>
7647         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7649 2013-12-18  Glenn Morris  <rgm@gnu.org>
7651         * mail/emacsbug.el (report-emacs-bug):
7652         Only mention enable-multibyte-characters if non-standard.
7654 2013-12-17  Juri Linkov  <juri@jurta.org>
7656         * arc-mode.el (archive-extract-by-file): Check if directory exists
7657         before deletion to not show irrelevant errors if it doesn't exist.
7659 2013-12-17  Juri Linkov  <juri@jurta.org>
7661         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7662         (Bug#14751)
7664         * net/eww.el (browse-web): Add alias to `eww'.
7665         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7666         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
7668         * net/browse-url.el (browse-url-browser-function): Move `eww'
7669         closer to similar functions.
7671         * startup.el (fancy-startup-screen, fancy-about-screen):
7672         Set browse-url-browser-function to eww-browse-url locally.
7673         (Bug#14751)
7675 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7677         * window.el (window--pixel-to-total): Remove unused `mini' var.
7678         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7679         (split-window): Remove unused `new' var.
7680         (window--display-buffer): Remove unused `frame' and `delta' vars.
7681         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7682         and display-width'.
7684 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
7686         * dired.el (dired-mark-pop-up):
7687         * register.el (register-preview): Don't bind
7688         split-height-threshold here since it's now done in
7689         display-buffer-below-selected.
7691 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
7693         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7694         xterm-rgb-convert-to-16bit.
7695         (rxvt-register-default-colors): Standardize with
7696         xterm-register-default-colors (Bug#14078).
7698 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7700         * simple.el (kill-region): Pass mark first, then point, so that
7701         kill-append works right (Bug#12819).
7702         (copy-region-as-kill, kill-ring-save): Likewise.
7704 2013-12-17  Leo Liu  <sdl.web@gmail.com>
7706         * net/rcirc.el (rcirc-add-face):
7707         * eshell/em-prompt.el (eshell-emit-prompt):
7708         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7709         (Bug#16167)
7711 2013-12-17  Chong Yidong  <cyd@gnu.org>
7713         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7714         Suggested by Xue Fuqiao.
7716 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
7718         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7720 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7722         * net/shr.el (shr-insert-document): Remove unused var
7723         `shr-preliminary-table-render'.
7724         (shr-rescale-image): Remove unused arg `force'.
7725         (shr-put-image): Update calls accordingly.
7726         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7728 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
7730         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7731         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7732         :close-all, to see which indentation method to use (Bug#16116).
7733         (smie-rules-function): Document the method :close-all.
7735 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7737         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7739         * net/eww.el (eww-display-html): If we can't find the anchor we're
7740         looking for, then go to point-min.
7742 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
7744         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7745         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7746         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7747         Expand dir too, in case it's relative.
7749 2013-12-16  Juri Linkov  <juri@jurta.org>
7751         * desktop.el (desktop-auto-save-timeout): Change default to
7752         `auto-save-timeout'.  Doc fix.
7753         (desktop-save): Skip the timestamp in desktop-saved-frameset
7754         when checking for auto-save changes.
7755         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7756         `desktop-auto-save' is called repeatedly by the idle timer.
7757         (desktop-auto-save-set-timer): Replace `run-with-timer' with
7758         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
7759         (Bug#15331)
7761 2013-12-16  Juri Linkov  <juri@jurta.org>
7763         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7764         (Bug#16035)
7765         (isearch-pre-command-hook): Check `this-command' for symbolp.
7767 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7769         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7771 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
7773         * progmodes/cfengine.el (cfengine3--current-word): Remove.
7774         (cfengine3--current-function): Bring in the current-function
7775         functionality from `cfengine3--current-word'.
7776         (cfengine3-completion-function): Bring in the
7777         bounds-of-current-word functionality from
7778         `cfengine3--current-word'.
7780 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
7782         * window.el (display-buffer-below-selected):
7783         Bind split-height-threshold to 0 as suggested by Juri Linkov.
7785 2013-12-16  Leo Liu  <sdl.web@gmail.com>
7787         * progmodes/compile.el (compile-goto-error): Do not push-mark.
7788         Remove NOMSG arg and all uses changed.
7790 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7792         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
7793         (cua--deactivate-rectangle): Don't deactivate the mark.
7794         (cua-set-rectangle-mark): Don't set mark-active since
7795         cua--activate-rectangle already does it for us.
7796         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7797         non-rectangular region.
7799         * emulation/cua-base.el (cua-repeat-replace-region):
7800         Use with-current-buffer.
7802         * net/gnutls.el: Use cl-lib.
7803         (gnutls-negotiate): `mapcan' -> cl-mapcan.
7805 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7807         * emacs-lisp/package.el (package-built-in-p): Support both
7808         built-in and the package.el converted package descriptions.
7809         (package-show-package-list): Allow keywords.
7810         (package-keyword-button-action): Use it instead of
7811         `finder-list-matches'.
7812         (package-menu-filter-interactive): Interactive filtering (by
7813         keyword) function.
7814         (package-menu--generate): Support keywords and change keymappings
7815         and headers when they are given.
7816         (package--has-keyword-p): Helper function.
7817         (package-menu--refresh): Use it.
7818         (package--mapc): Helper function.
7819         (package-all-keywords): Use it.
7820         (package-menu-mode-map): Set up menu items and keybindings to
7821         provide a filtering UI.
7823 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7825         * net/gnutls.el (gnutls-verify-error): New defcustom to control
7826         the behavior when a certificate fails validation.  Defaults to
7827         old behavior: never abort, just warn.
7828         (gnutls-negotiate): Use it.
7830 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
7832         * window.el (display-buffer-below-selected): Never split window
7833         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
7835 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7837         * emacs-lisp/package.el (package--prepare-dependencies): New function.
7838         (package-buffer-info): Use it (bug#15108).
7840 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7842         * icomplete.el (icomplete-completions): Make sure the prefix is already
7843         displayed elsewhere before hiding it (bug#16219).
7845 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
7847         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7848         open-paren tokens when preceded by a open-paren, too.
7849         (ruby-smie-rules): Handle virtual indentation after open-paren
7850         tokens specially.  If there is code between it and eol, return the
7851         column where is starts (Bug#16118).
7853 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7855         * progmodes/cfengine.el: Fix `add-hook' doc.
7856         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7857         (cfengine3--current-word): Fix parameters.
7858         (cfengine3-make-syntax-cache): Simplify further.
7859         (cfengine3-completion-function, cfengine3--current-function):
7860         Use `assq' for symbols.
7861         (cfengine3--current-function): Fix `cfengine3--current-word' call.
7863 2013-12-13  Glenn Morris  <rgm@gnu.org>
7865         * loadup.el (load-path): Warn if site-load or site-init changes it.
7866         No more need to reset it when bootstrapping.
7868 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7870         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7871         locations for cf-promises.
7872         (cfengine-mode-syntax-functions-regex): New caching variable.
7873         (cfengine3-fallback-syntax): Fallback syntax for cases where
7874         cf-promises doesn't run.
7875         (cfengine3--current-word): Reimplement using
7876         `cfengine-mode-syntax-functions-regex'.
7877         (cfengine3-completion-function, cfengine3--current-function):
7878         Use `cfengine3-make-syntax-cache' directly.
7879         (cfengine3-clear-syntax-cache): New function.
7880         (cfengine3-make-syntax-cache): Simplify and create
7881         `cfengine-mode-syntax-functions-regex' on demand.
7882         (cfengine3-format-function-docstring): Don't call
7883         `cfengine3-make-syntax-cache' explicitly.
7885 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
7887         Fix windmove-find-other-window broken after pixelwise resizing
7888         (Bug#16017).
7889         * windmove.el (windmove-other-window-loc): Revert change from
7890         2013-12-04.
7891         (windmove-find-other-window): Call window-in-direction.
7892         * window.el (window-in-direction): New arguments SIGN, WRAP and
7893         MINI to emulate original windmove-find-other-window behavior.
7895 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
7897         * simple.el (blink-matching--overlay): New variable.
7898         (blink-matching-open): Instead of moving point, highlight the
7899         matching paren with an overlay
7900         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7902         * faces.el (paren-showing-faces, show-paren-match)
7903         (show-paren-mismatch): Move from paren.el.
7905 2013-12-13  Leo Liu  <sdl.web@gmail.com>
7907         * indent.el (indent-region): Disable progress reporter in
7908         minibuffer.  (Bug#16108)
7910         * bindings.el (visual-order-cursor-movement): Fix version.
7912 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7914         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7915         Also match after beginning of line.
7916         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7917         files.  Thanks to Russell Sim.  (Bug#15378)
7919 2013-12-13  Juri Linkov  <juri@jurta.org>
7921         * simple.el <Keypad support>: Remove key bindings duplicated
7922         with bindings.el.  (Bug#14397)
7924 2013-12-13  Juri Linkov  <juri@jurta.org>
7926         * comint.el (comint-mode-map): Replace `delete-char' with
7927         `delete-forward-char'.  (Bug#16109)
7929 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7931         * progmodes/python.el (python-indent-calculate-indentation):
7932         Fix de-denters cornercase.  (Bug#15731)
7934 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7936         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7937         (advice--make): Pay attention to `depth'.
7938         (advice--make-1): Don't autoload commands eagerly.
7939         * emacs-lisp/elp.el (elp-instrument-function):
7940         * emacs-lisp/trace.el (trace-function-internal):
7941         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7943         * iswitchb.el (iswitchb-mode): Don't belittle ido.
7945 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
7947         * term/w32-win.el (w32-handle-dropped-file):
7948         * startup.el (normal-top-level):
7949         * net/browse-url.el (browse-url-file-url):
7950         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7951         decode file names using 'utf-8' rather than
7952         file-name-coding-system.
7954 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7956         * progmodes/python.el (python-indent-context)
7957         (python-indent-calculate-indentation): Fix auto-identation
7958         behavior for comment blocks.  (Bug#15916)
7960 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7962         * progmodes/python.el (python-indent-calculate-indentation):
7963         When determining indentation, don't treat "return", "pass", etc., as
7964         operators when they are just string constituents.  (Bug#15812)
7966 2013-12-12  Juri Linkov  <juri@jurta.org>
7968         * uniquify.el (uniquify-buffer-name-style): Change default to
7969         `post-forward-angle-brackets'.
7971         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7972         `uniquify'.  Change default to `post-forward-angle-brackets'.
7974 2013-12-11  Glenn Morris  <rgm@gnu.org>
7976         * emacs-lisp/package.el (finder-list-matches):
7977         Autoload rather than falsely declaring.
7979 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
7981         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7982         (eww-mode-map): Use them.
7984 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
7986         * window.el (display-buffer-in-side-window): Fix doc-string
7987         (Bug#16115).
7989 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
7991         * vc/vc-git.el: Silence byte-compiler warnings.
7992         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7993         (log-edit-set-header): Declare.
7995 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
7997         * Makefile.in (custom-deps, finder-data): Run output file names
7998         through unmsys--file-name.  (Bug#16099)
8000 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8002         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
8003         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
8005         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
8006         instead of deleting the selection "by hand" (bug#16098).
8007         Rely on insert-for-yank to yank rectangles.
8008         (cua-highlight-region-shift-only): Mark obsolete.
8009         (cua-mode): Don't enable/disable transient-mark-mode,
8010         shift-select-mode (cua-mode works both with and without them), and
8011         pc-selection-mode (obsolete).
8012         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
8013         (cua--deactivate-rectangle): Deactivate it.
8015         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
8016         (delete-selection-helper): Make sure yank starts at the top of the
8017         deleted region.
8018         (minibuffer-keyboard-quit): Use region-active-p.
8020         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
8022         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
8023         to `delete' (bug#16109).
8025 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8027         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
8028         info manual and show keybindings and set `:group' keyword.
8030 2013-12-11  Juri Linkov  <juri@jurta.org>
8032         * delsel.el (delete-active-region): Let-bind `this-command'
8033         to prevent `kill-region' from changing its original value.
8034         (delete-selection-helper): Handle `overwrite-mode' for the type
8035         `kill' exactly the same way as for the type `t'.
8036         (insert-char, quoted-insert, reindent-then-newline-and-indent):
8037         Support more commands.  (Bug#13312)
8039 2013-12-11  Juri Linkov  <juri@jurta.org>
8041         * bindings.el: Map kp keys to non-kp keys systematically
8042         with basic modifiers control, meta and shift.  (Bug#14397)
8044 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8046         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
8047         "Close browser" menu items.  Fix wrong function of "List
8048         bookmarks".
8050 2013-12-11  Juri Linkov  <juri@jurta.org>
8052         * misearch.el (multi-isearch-buffers): Set the value of
8053         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
8054         arg of isearch-forward to t.
8055         (multi-isearch-buffers-regexp): Set the value of
8056         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
8057         arg of isearch-forward-regexp to t.
8058         (multi-isearch-files): Set the value of
8059         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
8060         arg of isearch-forward to t.
8061         (multi-isearch-files-regexp): Set the value of
8062         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
8063         arg of isearch-forward-regexp to t.  (Bug#16035)
8065         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
8066         arg of isearch-forward to t.
8067         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
8068         arg of isearch-forward-regexp to t.
8069         (dired-isearch-filter-filenames): Remove unnecessary check for
8070         `dired-isearch-filenames'.
8072         * comint.el (comint-history-isearch-backward):
8073         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
8074         (comint-history-isearch-backward-regexp):
8075         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
8077 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
8079         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
8080         unmsys--file-name.  (Bug#16099)
8082 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
8084         * emacs-lisp/package.el (package-keyword-button-action):
8085         Remove finder.el require dependency.
8087 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
8089         * emacs-lisp/package.el: Require finder.el.
8090         (describe-package-1): Add keyword buttons.
8091         (package-make-button): New convenience function.
8092         (package-keyword-button-action): Keyword button action using
8093         `finder-list-matches'.
8095 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
8097         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
8098         last commit.
8100 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
8102         * autorevert.el (auto-revert-notify-add-watch): Do not handle
8103         symlinked files.
8105 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
8107         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8108         after the end of a percent literal.
8110 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
8112         * progmodes/ruby-mode.el (ruby-forward-string): Document.
8113         Handle caret-delimited strings (Bug#16079).
8115 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
8117         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
8118         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
8119         `ruby-parse-partial' (Bug#16078).
8121 2013-12-09  Leo Liu  <sdl.web@gmail.com>
8123         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
8125 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
8127         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
8128         (js-switch-indent-offset): New option.
8129         (js--proper-indentation): Use it.  And handle the case when
8130         "default" is actually a key in an object literal.
8131         (js--same-line): New function.
8132         (js--multi-line-declaration-indentation): Use it.
8133         (js--indent-in-array-comp, js--array-comp-indentation):
8134         New functions.
8135         (js--proper-indentation): Use them, to handle array comprehension
8136         continuations.
8138 2013-12-08  Leo Liu  <sdl.web@gmail.com>
8140         * progmodes/flymake.el (flymake-highlight-line): Re-write.
8141         (flymake-make-overlay): Remove arg MOUSE-FACE.
8142         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
8144 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8146         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
8147         New function.
8148         (redisplay-highlight-region-function): Use it.
8150         * emulation/cua-base.el (cua--explicit-region-start)
8151         (cua--last-region-shifted): Remove.
8152         (cua--deactivate): Use deactivate-mark.
8153         (cua--pre-command-handler-1): Don't handle shift-selection.
8154         (cua--post-command-handler-1): Don't change transient-mark-mode.
8155         (cua--select-keymaps): Use region-active-p rather than
8156         cua--explicit-region-start or cua--last-region-shifted.
8157         (cua-mode): Enable shift-select-mode.
8159 2013-12-08  Leo Liu  <sdl.web@gmail.com>
8161         * progmodes/flymake.el (flymake-popup-current-error-menu):
8162         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
8163         (flymake-posn-at-point-as-event, flymake-popup-menu)
8164         (flymake-make-emacs-menu): Remove.  (Bug#16077)
8166 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8168         * rect.el (rectangle-mark-mode): Activate mark even if
8169         transient-mark-mode is off (bug#16066).
8170         (rectangle--highlight-for-redisplay): Fix boundary condition when point
8171         is > mark and at bolp.
8173         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8174         (region-extract-function): Use it.
8175         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8176         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8177         Delete functions.
8178         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8179         kill-ring-save, kill-region, delete-char, delete-forward-char.
8180         Ignore self-insert-iso.
8182         * emulation/cua-gmrk.el (cua--init-global-mark):
8183         Ignore `self-insert-iso'.
8185         * emulation/cua-base.el (cua--prefix-copy-handler)
8186         (cua--prefix-cut-handler): Rely on region-extract-function rather than
8187         checking cua--rectangle.
8188         (cua-delete-region): Use region-extract-function.
8189         (cua-replace-region): Delete function.
8190         (cua-copy-region, cua-cut-region): Obey region-extract-function.
8191         (cua--pre-command-handler-1): Don't do the delete-selection thing.
8192         (cua--self-insert-char-p): Ignore `self-insert-iso'.
8193         (cua--init-keymaps): Don't remap delete-selection commands.
8194         (cua-mode): Use delete-selection-mode instead of rolling our own
8195         (bug#16085).
8197         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8198         Obey region-extract-function.
8200         Make registers and delete-selection-mode work on rectangles.
8201         * register.el (describe-register-1): Don't modify the register's value.
8202         (copy-to-register): Obey region-extract-function.
8203         * delsel.el (delete-active-region): Obey region-extract-function.
8205 2013-12-08  Leo Liu  <sdl.web@gmail.com>
8207         * progmodes/flymake.el (flymake, flymake-error-bitmap)
8208         (flymake-warning-bitmap, flymake-fringe-indicator-position)
8209         (flymake-compilation-prevents-syntax-check)
8210         (flymake-start-syntax-check-on-newline)
8211         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8212         (flymake-start-syntax-check-on-find-file, flymake-log-level)
8213         (flymake-xml-program, flymake-master-file-dirs)
8214         (flymake-master-file-count-limit)
8215         (flymake-allowed-file-name-masks): Relocate.
8216         (flymake-makehash, flymake-float-time)
8217         (flymake-replace-regexp-in-string, flymake-split-string)
8218         (flymake-get-temp-dir): Remove.
8219         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8220         (flymake-current-row, flymake-selected-frame)
8221         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8222         related functions.  (Bug#16077)
8224 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
8226         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8228 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
8230         * help-fns.el (describe-function-1): Use new advice-* functions
8231         rather than old ad-* functions.  Fix function type description and
8232         source links for advised functions and subrs.
8234 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8236         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8238 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
8240         * progmodes/compile.el (compilation-start):
8241         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
8243         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8244         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
8246 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
8248         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8249         Touch up the last change.
8251 2013-12-06  Leo Liu  <sdl.web@gmail.com>
8253         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8254         (inferior-octave-startup): Always use "octave> " for prompt.
8255         (octave-goto-function-definition)
8256         (octave-sync-function-file-names)
8257         (octave-find-definition-default-filename): Remove redundant backquotes.
8259 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
8261         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8262         syntax for `?'.
8263         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8264         where appropriate already.
8265         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8266         end of method names (Bug#15874).
8268 2013-12-06  Juri Linkov  <juri@jurta.org>
8270         * isearch.el (isearch--saved-overriding-local-map):
8271         New internal variable.
8272         (isearch-mode): Set it to the initial value of
8273         `overriding-terminal-local-map'.
8274         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8275         with `isearch--saved-overriding-local-map'.  (Bug#16035)
8277 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
8279         * progmodes/octave.el (inferior-octave-completion-table):
8280         Turn back into function, use `completion-table-with-cache'
8281         (Bug#11906).  Update all references.
8283         * minibuffer.el (completion-table-with-cache): New function.
8285 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
8287         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8289 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
8291         * net/eww.el (eww-current-source): New variable to store page
8292         source.
8293         (eww-display-html, eww-mode, eww-save-history)
8294         (eww-restore-history): Use it.
8295         (eww-view-source): New command to view page source.
8296         Opportunistically uses `html-mode' to highlight the buffer.
8297         (eww-mode-map): Install it.
8299 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
8301         * net/dbus.el (dbus-unregister-service)
8302         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8303         Fix docstring.
8304         (dbus-unregister-service): Skip :serial entries in
8305         `dbus-registered-objects-table'.
8306         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8308 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
8310         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8311         around keywords with extra `split-string' argument.
8313 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
8315         * windmove.el (windmove-other-window-loc): Handle navigation
8316         between windows (excluding the minibuffer window - Bug#16017).
8318 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
8320         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8321         in D-Bus type syntax.
8322         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8323         preserve unibyte strings.  (Bug#16048)
8325 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8327         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8328         Call force-mode-line-update is the proper buffer (bug#16042).
8330 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
8332         * vc/log-edit.el (log-edit-add-new-comment): Rename to
8333         `log-edit-remember-comment', make argument optional.  Adjust all
8334         callers.
8335         (log-edit-mode): Add `log-edit-remember-comment' to
8336         `kill-buffer-hook' locally.
8337         (log-edit-kill-buffer): Don't remember comment explicitly since
8338         the buffer is killed anyway.
8340 2013-12-04  Juri Linkov  <juri@jurta.org>
8342         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8343         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
8345 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
8347         * notifications.el (notifications-close-notification): Call the
8348         D-Bus method with ID being a `:uint32'.  (Bug#16030)
8350 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
8352         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8354 2013-12-03  Juri Linkov  <juri@jurta.org>
8356         * progmodes/compile.el (compilation-start): Rename window alist
8357         entry `no-display-ok' to `allow-no-window'.
8359         * simple.el (shell-command): Add window alist entry
8360         `allow-no-window' to `display-buffer'.
8361         (async-shell-command): Doc fix.
8363         * window.el (display-buffer-no-window): New action function.
8364         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
8366 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
8368         * vc/log-edit.el (log-edit-set-header): Extract from
8369         `log-edit-toggle-header'.
8370         (log-edit-extract-headers): Separate the summary, when extracted
8371         from header, from the rest of the message with an empty line.
8373         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8374         line, if present, to the Summary header.
8376 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8378         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8379         in current-buffer (bug#16029).
8381 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
8383         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8384         (debugger-mode-map): Bind it.
8385         (debugger--backtrace-base): New function.
8386         (debugger-eval-expression): Use it.
8387         (debugger-frame-number): Skip local vars when present.
8388         (debugger--locals-visible-p, debugger--insert-locals)
8389         (debugger--show-locals, debugger--hide-locals): New functions.
8391 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
8393         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8394         "LC_ALL".
8395         (tramp-get-remote-locale): New defun.
8396         (tramp-open-connection-setup-interactive-shell): Use it.
8398 2013-12-02  Leo Liu  <sdl.web@gmail.com>
8400         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
8402         * progmodes/sh-script.el (sh-shell-process):
8403         * progmodes/octave.el (inferior-octave-process-live-p):
8404         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8405         (gdb-inferior-io-sentinel):
8406         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8408 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
8410         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8411         `save-selected-window' to `log-edit-hide-buf'.  This makes
8412         `log-edit-show-files' idempotent.
8413         (log-edit-show-files): Mark the new window as dedicated.
8415 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
8417         * vc/log-edit.el (log-edit-mode-map): Add binding for
8418         `log-edit-kill-biffer'.
8419         (log-edit-hide-buf): Add a FIXME comment.
8420         (log-edit-add-new-comment): New function, extracted from
8421         `log-edit-done'.
8422         (log-edit-done, log-edit-add-to-changelog): Use it.
8423         (log-edit-kill-buffer): New command.
8425 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8427         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8428         instead of killing the buffer.
8430 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8432         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8434 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8436         * net/eww.el (eww-form-checkbox-selected-symbol)
8437         (eww-form-checkbox-symbol): New customizable variable.
8438         (eww-form-checkbox, eww-toggle-checkbox):
8439         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8441         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8442         (shr--get-media-pref, shr--extract-best-source): New function.
8443         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8444         no :src tag was specified.
8446         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8447         (eww-render): Handle `eww-use-external-browser-for-content-type'.
8448         Use \\` to match beginning of string instead of ^.
8449         (eww-browse-with-external-browser): Provide optional URL parameter.
8450         (eww-render): Set `eww-current-title' back to "".
8452         * net/shr.el (shr-tag-video): Display content for video if no
8453         poster is available.
8454         (shr-tag-audio): Add support for <audio> tag.
8456         * net/eww.el (eww-text-input-types): New const.
8457         (eww-process-text-input): Treat input types in
8458         `eww-text-input-types' as text.
8460         * net/shr.el (shr-tag-table): Fix comment typo.
8462 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8464         * net/eww.el (eww-follow-link): New command to avoid reloading
8465         pages when we follow #target links (bug#15243).
8466         (eww-quit): Special mode buffers shouldn't query before exiting.
8468 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8470         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8471         forms.
8473 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8475         * net/eww.el (eww-restore-history): Update the window title after
8476         moving in the history.
8477         (eww-current-dom): New variable used to save the current DOM.
8479 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
8481         * vc/log-edit.el (log-edit-mode-map): Add binding for
8482         `log-edit-beginning-of-line'.
8483         (log-edit-setup-add-author): New user option.
8484         (log-edit-beginning-of-line): New command.
8485         (log-edit): Move major mode call above the contents setup so that
8486         the local variable values are already applied.
8487         (log-edit): Only insert "Author: " when
8488         `log-edit-setup-add-author' is non-nil.
8489         (log-edit): When SETUP is non-nil, position point after ": "
8490         instead of point-min.
8492 2013-12-01  Glenn Morris  <rgm@gnu.org>
8494         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8496 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
8498         * startup.el (fancy-splash-frame): On MS-Windows, trigger
8499         redisplay to make sure the initial frame gets a chance to become
8500         visible.  (Bug#16014)
8502 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
8504         Support resizing frames and windows pixelwise.
8505         * cus-start.el (frame-resize-pixelwise)
8506         (window-resize-pixelwise): New entries.
8507         * emacs-lisp/debug.el (debug): Use window-total-height instead
8508         of window-total-size.
8509         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8510         * help.el (describe-bindings-internal): Use help-buffer as
8511         argument for with-help-window.
8512         (temp-buffer-max-width): New option.
8513         (resize-temp-buffer-window, help-window-setup)
8514         (with-help-window): Rewrite.
8515         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
8516         dragging dividers.
8517         * window.el (frame-char-size, window-min-pixel-height)
8518         (window-safe-min-pixel-height, window-safe-min-pixel-width)
8519         (window-min-pixel-width, window-safe-min-pixel-size)
8520         (window-combination-p, window-safe-min-size)
8521         (window-resizable-p, window--size-to-pixel)
8522         (window--pixel-to-size, window--resize-apply-p): New functions.
8523         (window-safe-min-height): Fix doc-string.
8524         (window-size, window-min-size, window--min-size-1)
8525         (window-sizable, window-sizable-p, window--min-delta-1)
8526         (window-min-delta, window--max-delta-1, window-max-delta)
8527         (window--resizable, window--resizable-p, window-resizable)
8528         (window-full-height-p, window-full-width-p, window-at-side-p)
8529         (window--in-direction-2, window-in-direction)
8530         (window--resize-reset-1, window--resize-mini-window)
8531         (window-resize, window-resize-no-error)
8532         (window--resize-child-windows-normal)
8533         (window--resize-child-windows, window--resize-siblings)
8534         (window--resize-this-window, window--resize-root-window)
8535         (window--resize-root-window-vertically)
8536         (adjust-window-trailing-edge, enlarge-window, shrink-window)
8537         (maximize-window, minimize-window, delete-window)
8538         (quit-restore-window, window-split-min-size, split-window)
8539         (balance-windows-2, balance-windows)
8540         (balance-windows-area-adjust, balance-windows-area)
8541         (window--state-get-1, window-state-get, window--state-put-1)
8542         (window--state-put-2, window-state-put)
8543         (display-buffer-record-window, window--display-buffer):
8544         Make functions handle pixelwise sizing of windows.
8545         (display-buffer--action-function-custom-type)
8546         (display-buffer-fallback-action):
8547         Add display-buffer-in-previous-window.
8548         (display-buffer-use-some-window): Resize window to height it had
8549         before.
8550         (fit-window-to-buffer-horizontally): New option.
8551         (fit-frame-to-buffer): Describe new values.
8552         (fit-frame-to-buffer-bottom-margin): Replace with
8553         fit-frame-to-buffer-margins.
8554         (window--sanitize-margin): New function.
8555         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8556         using window-text-pixel-size.
8558 2013-11-30  Glenn Morris  <rgm@gnu.org>
8560         * emacs-lisp/bytecomp.el (byte-compile-form):
8561         Make the `interactive-only' warning like the `obsolete' one.
8562         * comint.el (comint-run):
8563         * files.el (insert-file-literally, insert-file):
8564         * replace.el (replace-string, replace-regexp):
8565         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8566         (goto-line, insert-buffer, next-line, previous-line):
8567         Tweak `interactive-only' spec.
8569         Stop keeping (most) generated cedet grammar files in the repository.
8570         * Makefile.in (semantic): New.
8571         (compile-main): Depend on semantic.
8573 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8575         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8576         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8578         * uniquify.el (uniquify-buffer-name-style): Change default.
8580         * loadup.el: Preload "uniquify".
8582         * time.el (display-time-update): Update all mode lines (bug#15999).
8584         * electric.el (electric-indent-mode): Enable by default.
8585         * loadup.el: Preload "electric".
8587 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
8589         * emacs-lisp/helpers.el (string-empty-p): New function.
8590         (string-blank-p): New function.
8592 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
8594         * imenu.el (imenu--index-alist): Add missing dot to the docstring
8595         (Bug#14029).
8597 2013-11-29  Andreas Politz  <politza@fh-trier.de>
8598         * imenu.el (imenu--subalist-p): Don't error on non-conses and
8599         allow non-lambda lists as functions.
8600         (imenu--in-alist): Don't recurse into non-subalists.
8601         (imenu): Don't pass function itself as an argument (Bug#14029).
8603 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8605         * progmodes/python.el (python-mode-map): Remove binding for ":".
8606         (python-indent-electric-colon): Remove command.
8607         (python-indent-post-self-insert-function): Integrate the previous code
8608         of python-indent-electric-colon.  Make it conditional on
8609         electric-indent-mode.
8610         (python-mode): Add ?: to electric-indent-chars.
8611         Move python-indent-post-self-insert-function to the end of
8612         post-self-insert-hook.
8614 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8616         * doc-view.el (doc-view-goto-page): Update mode-line.
8618         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8620 2013-11-27  Glenn Morris  <rgm@gnu.org>
8622         * international/charprop.el, international/uni-bidi.el:
8623         * international/uni-category.el, international/uni-combining.el:
8624         * international/uni-comment.el, international/uni-decimal.el:
8625         * international/uni-decomposition.el, international/uni-digit.el:
8626         * international/uni-lowercase.el, international/uni-mirrored.el:
8627         * international/uni-name.el, international/uni-numeric.el:
8628         * international/uni-old-name.el, international/uni-titlecase.el:
8629         * international/uni-uppercase.el:
8630         Remove generated files from VCS repository.
8632 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
8634         * filenotify.el (file-notify-add-watch): Don't special-case
8635         w32notify when computing the directory to watch.
8637 2013-11-27  Glenn Morris  <rgm@gnu.org>
8639         Make bootstrap without generated uni-*.el files possible again.
8640         * loadup.el: Update command-line-args checking for unidata-gen.
8641         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8642         * composite.el, international/characters.el:
8643         Handle unicode tables being undefined.
8645         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8646         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8647         (compile-main): Depend on leim rule.
8648         (leim): New rule.
8649         * loadup.el: Move leim-list.el to leim/ subdirectory.
8650         * startup.el (normal-top-level): No more leim directory.
8651         * international/ja-dic-cnv.el (skkdic-convert):
8652         Disable version-control and autoloads in output files.
8653         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8654         Disable version-control and autoloads in output files.
8655         * leim/quail: Move here from ../leim.
8656         * leim/quail/hangul.el (hangul-input-method-activate):
8657         Add autoload cookie.
8658         (generated-autoload-load-name): Set file-local value.
8659         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8660         (generated-autoload-load-name): Set file-local value.
8662 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
8664         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8665         (eww-add-bookmark): Ask confirmation when add to bookmarks.
8666         (eww-quit): Ask confirmation before quitting eww.
8668 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
8670         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8671         reading output from Diff on MS-Windows and MS-DOS.
8673 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
8675         * emacs-lisp/helpers.el (string-reverse): New function.
8677 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
8679         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8680         names on MS Windows, like "/[::1]:".
8682         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8683         SWITCHES.
8685 2013-11-26  Glenn Morris  <rgm@gnu.org>
8687         * progmodes/python.el (python-indent-guess-indent-offset):
8688         Avoid corner-case error.  (Bug#15975)
8690         Preload leim-list.el.  (Bug#4789)
8691         * loadup.el: Load leim-list.el when found.
8692         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8694 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
8696         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8698         * emacs-lisp/helpers.el (string-join): New function.
8700 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
8702         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8703         Mark as obsolete and replace it with a symbol property.
8704         (byte-compile-form): Use new 'interactive-only property.
8705         * comint.el, files.el, replace.el, simple.el:
8706         Apply new 'interactive-only properly.
8708 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
8710         * window.el (display-buffer-at-bottom): Make sure that
8711         split-window-sensibly creates the new window on bottom
8712         (Bug#15961).
8714 2013-11-23  David Kastrup  <dak@gnu.org>
8716         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8717         on the conflict markers when available.
8718         (smerge--get-marker): New function.
8719         (smerge-end-re, smerge-base-re): Add subgroup.
8721 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8723         * frame.el (handle-focus-in, handle-focus-out): Add missing
8724         interactive spec.
8726 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
8728         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8729         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8731 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8733         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
8734         (gomoku--last-pos): New var.
8735         (gomoku--intangible-chars): New const.
8736         (gomoku--intangible): New function.
8737         (gomoku-mode): Use it.  Derive from special-mode.
8738         (gomoku-move-up): Adjust line count.
8739         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8740         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8741         Simplify accordingly.
8743         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8744         Remove blink-cursor code.
8745         (blink-cursor-timer-function, blink-cursor-suspend):
8746         Don't special-case GUIs.
8747         (blink-cursor-mode): Use focus-in/out-hook.
8749 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
8751         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8752         work when annotation is invisible (Bug#13886).
8754 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
8756         * json.el (json-alist-p): Only return non-nil if the alist has
8757         simple keys (Bug#13518).
8759 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
8761         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8762         when control-statement is the first statement in a buffer (Bug#15956).
8764 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
8766         * imenu.el (imenu-generic-skip-comments-and-strings):
8767         New option (Bug#15560).
8768         (imenu--generic-function): Use it.
8770 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
8772         * minibuffer.el (completion--in-region-1): Scroll the correct window.
8773         (Bug#13898)
8775 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
8777         * emacs-lisp/helpers.el: Add some string helpers.
8778         (string-trim-left): Removes leading whitespace.
8779         (string-trim-right): Removes trailing whitespace.
8780         (string-trim): Removes leading and trailing whitespace.
8782         * subr.el (string-suffix-p): New function.
8784 2013-11-23  Glenn Morris  <rgm@gnu.org>
8786         * progmodes/python.el (python-shell-send-file):
8787         Add option to delete file when done.  (Bug#15647)
8788         (python-shell-send-string, python-shell-send-region): Use it.
8790 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
8792         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
8793         to set buffer-read-only to t, never to nil.  (Bug#15938)
8795         * textmodes/tex-mode.el (latex-noindent-environments):
8796         Add safe-local-variable property.  (Bug#15936)
8798 2013-11-23  Glenn Morris  <rgm@gnu.org>
8800         * textmodes/enriched.el (enriched-mode): Doc fix.
8801         * emacs-lisp/authors.el (authors-renamed-files-alist):
8802         Add enriched.doc -> enriched.txt.
8804         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8806 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8808         * progmodes/octave.el (inferior-octave-startup): Spit out error
8809         message.
8811 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
8813         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8814         Improve docstring.
8815         Add :version.
8816         (ruby-encoding-magic-comment-style): Add :version.
8818 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8820         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8821         (Bug#15076)
8822         (octave-help-mode): Adapt to change to help-mode-finish to use
8823         derived-mode-p on 2013-09-17.
8824         (inferior-octave-prompt): Also match octave-gui.
8825         (octave-kill-process): Don't ask twice.  (Bug#10564)
8827 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8829         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8830         (inferior-octave-startup, inferior-octave-check-process)
8831         (inferior-octave-track-window-width-change)
8832         (octave-completion-at-point, octave-eldoc-function): Use it.
8833         (octave-kill-process): Provide confirmation.  (Bug#10564)
8835 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8837         * progmodes/octave.el (octave-mode, inferior-octave-mode):
8838         Fix obsolete variable comment-use-global-state.
8840 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8842         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8843         Add `octave-source-file'.
8844         (octave-source-file): New function.  (Bug#15935)
8846 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
8848         * net/eww.el (eww-local-regex): New variable.
8849         (eww): Use it to detect localhost and similar.
8851 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8853         Add completion for command `ag'.
8854         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8855         (pcomplete/ag): New function.
8856         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
8858 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8860         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8861         (bug#14646).
8862         (make-obsolete): Remove interactive spec.
8864 2013-11-21  Glenn Morris  <rgm@gnu.org>
8866         * startup.el (command-line-1): Use path-separator with -L.
8868 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
8870         * emacs-lisp/package.el (describe-package-1): Add package archive
8871         to shown fields.
8873 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
8875         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8876         Change default to "# encoding: %s" to differentiate it from the
8877         default Ruby encoding comment template.
8879 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
8881         * ses.el (ses-mode): Doc fix.  (Bug#14748)
8883 2013-11-20  Leo Liu  <sdl.web@gmail.com>
8885         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
8887 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
8889         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8890         when rebase or bisect are in progress.
8892 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
8894         * filenotify.el (file-notify-add-watch): Doc fix.
8896 2013-11-19  Leo Liu  <sdl.web@gmail.com>
8898         * obsolete/rcompile.el: Mark obsolete.
8900         * progmodes/compile.el (compilation-start)
8901         (compilation-goto-locus, compilation-find-file):
8902         Pass no-display-ok and handle nil value from display-buffer.
8903         (Bug#13594)
8905         * window.el (display-buffer-alist, display-buffer): Document the
8906         new parameter no-display-ok.  Return either a window or nil
8907         but never a non-window value.
8909 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8911         * electric.el (electric-indent-mode-map): Remove.
8912         (electric-indent-mode): Change the global-map instead (bug#15915).
8914         * textmodes/text-mode.el (paragraph-indent-minor-mode):
8915         Use add-function.
8917 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8919         * emacs-lisp/nadvice.el (remove-function): Align with
8920         add-function's behavior.
8922         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8923         (gdb--string-regexp): New constant.
8924         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8925         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8926         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8927         submatch 1.
8928         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8929         Adjust use accordingly.
8930         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8932 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
8934         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8935         interpolation curlies (Bug#15914).
8937 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
8939         * calc/calc.el (calc-context-sensitive-enter): New variable.
8940         (calc-enter): Use `calc-context-sensitive-enter'.
8942 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
8944         * progmodes/cfengine.el: Version bump.
8945         (cfengine-cf-promises): New defcustom to locate cf-promises.
8946         (cfengine3-vartypes): Add new "data" type.
8947         (cfengine3--current-word): New function to get current name-like
8948         word or its bounds.
8949         (cfengine3--current-function): New function to look up a CFEngine
8950         function's definition.
8951         (cfengine3-format-function-docstring): New function.
8952         (cfengine3-make-syntax-cache): New function.
8953         (cfengine3-documentation-function): New function: ElDoc glue.
8954         (cfengine3-completion-function): New function: completion glue.
8955         (cfengine3-mode): Set `compile-command',
8956         `eldoc-documentation-function', and add to
8957         `completion-at-point-functions'.
8959 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
8961         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8962         `tramp-current-connection'.
8964 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
8966         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8967         nil/self/true/false with "end of symbol".
8969 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
8971         * subr.el (version-regexp-alist): Fix a typo.
8973 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
8975         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8976         "en_US.utf8" and "LC_CTYPE" to "".
8977         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8978         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8980 2013-11-15  Leo Liu  <sdl.web@gmail.com>
8982         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
8984 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8986         * progmodes/gud.el (ctl-x-map):
8987         Remove C-x SPC binding.  (Bug#12342)
8988         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8990 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
8992         * subr.el (version-regexp-alist):
8993         Recognize hg, svn and darcs versions as snapshot versions.
8995         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8996         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8997         (ruby--encoding-comment-required-p): Extract from
8998         `ruby-mode-set-encoding'.
8999         (ruby-mode-set-encoding): Add the ability to always insert an
9000         utf-8 encoding comment.  Fix and simplify coding comment update
9001         logic.
9003 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
9005         * net/tramp-gvfs.el (top): Run init code only when
9006         `tramp-gvfs-enabled' is not nil.
9007         (tramp-gvfs-enabled): Check also :system bus.
9009 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9011         Sync with upstream verilog-mode revision 78e66ba.
9012         * progmodes/verilog-mode.el (verilog-end-of-defun)
9013         (verilog-type-completion, verilog-get-list): Remove unused funcs.
9014         (verilog-get-end-of-defun): Remove unused argument.
9015         (verilog-comment-depth): Remove unused local `e'.
9016         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
9017         Don't pass arg to verilog-get-end-of-defun.
9019 2013-11-14  Glenn Morris  <rgm@gnu.org>
9021         * obsolete/assoc.el (aget): Prefix dynamic variable.
9023         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
9025 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9027         * widget.el, hfy-cmap.el: Remove bogus package version number.
9029 2013-11-13  Glenn Morris  <rgm@gnu.org>
9031         * replace.el (replace-eval-replacement):
9032         Try to give more helpful error message.  (Bug#15836)
9034         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9035         (archive-7z-update): Avoid custom type mismatches.
9037         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
9039 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
9041         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
9042         address can be empty.
9044         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
9045         Accept nil SWITCHES.
9046         (tramp-gvfs-handle-write-region): Implement APPEND.
9048 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
9050         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
9051         binary "|" operator and closing block args delimiter.
9052         Remove FIXME comment referring to Ruby 1.8-only syntax.
9053         (ruby-smie--implicit-semi-p): Not after "|" operator.
9054         (ruby-smie--closing-pipe-p): New function.
9055         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
9056         (ruby-smie-rules): Indent after "|".
9058 2013-11-12  Glenn Morris  <rgm@gnu.org>
9060         * ps-print.el (ps-face-attribute-list):
9061         Handle anonymous faces.  (Bug#15827)
9063 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
9065         * window.el (display-buffer-other-frame): Fix doc-string.
9066         (Bug#15868)
9068 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9070         * subr.el (force-mode-line-update): Delete, move to buffer.c.
9072 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
9074         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9075         (tramp-sh-handle-file-local-copy): Don't write a message when
9076         saving temporary files.
9078         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
9079         both directories are remote.
9080         (tramp-smb-handle-directory-files): Do not return double entries.
9081         Do not expand full file names.
9082         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
9083         (tramp-smb-handle-write-region): Implement APPEND.
9084         (tramp-smb-get-stat-capability): Fix a stupid bug.
9086 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9088         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
9090 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9092         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
9093         throwing error over malformed let/let* (bug#15814).
9095 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9097         * iswitchb.el (iswitchb-mode): Mark obsolete.
9099 2013-11-11  Glenn Morris  <rgm@gnu.org>
9101         * international/uni-bidi.el, international/uni-category.el:
9102         * international/uni-name.el, international/uni-numeric.el:
9103         Regenerate for Unicode 6.3.0.
9105 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
9107         * net/tramp.el (tramp-methods):
9108         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
9109         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
9111 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
9113         * progmodes/sh-script.el (sh-font-lock-keywords-var):
9114         Force highlighting text after Summary keyword in doc face for rpm.
9116 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
9118         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
9119         available and the word has no wildcards, append one to the grep pattern.
9120         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
9121         (ispell-complete-word): Call `ispell-lookup-words' with the value
9122         independent of `ispell-look-p'.
9124 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
9126         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
9127         Not after "||".
9128         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
9129         their parent.
9131 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9133         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
9134         (ruby-font-lock-keywords): Use backquote.
9136 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
9138         * progmodes/ruby-mode.el (ruby-smie--forward-token)
9139         (ruby-smie--backward-token): Only consider full-string matches.
9141 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
9143         * faces.el (describe-face): Add distant-foreground.
9145 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
9147         * progmodes/ruby-mode.el: Improve encoding comment handling.
9148         (ruby-encoding-magic-comment-style): New option.
9149         (ruby-custom-encoding-magic-comment-template): New option.
9150         (ruby--insert-coding-comment, ruby--detect-encoding):
9151         New functions extracted from `ruby-mode-set-encoding'.
9152         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9153         to control the style of the auto-inserted encoding comment.
9155 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
9157         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9158         Use `smie-backward-sexp' with token argument.
9160 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
9162         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9163         Remove instrumentation code.
9165 2013-11-08  Glenn Morris  <rgm@gnu.org>
9167         * progmodes/autoconf.el (autoconf-mode):
9168         Tweak comment-start-skip.  (Bug#15822)
9170 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9172         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9173         at bobp (bug#15826).
9174         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9176 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
9178         * man.el (Man-start-calling): New macro, extracted from
9179         Man-getpage-in-background.
9180         (Man-getpage-in-background): Use it.
9181         (Man-update-manpage): New command.
9182         (Man-mode-map): Bind it.
9184 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
9186         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9187         of "and", "or", "&&" and "||".
9188         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9189         argument.  Prohibit opening curly brace because it could only be a
9190         block opener in that position.
9191         (ruby-smie--forward-token, ruby-smie--backward-token):
9192         Separate "|" from "&" or "*" going after it.  That can happen in block
9193         arguments.
9194         (ruby-smie--indent-to-stmt): New function, seeks the end of
9195         previous statement or beginning of buffer.
9196         (ruby-smie-rules): Use it.
9197         (ruby-smie-rules): Check if there's a ":" before a curly block
9198         opener candidate; if there is, it's a hash.
9200 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9202         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9203         (cl--block-wrapper): Fix last accidental change.
9205 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
9207         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9208         Instrument, in order to hunt failure on hydra.
9210 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9212         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9213         malformed bindings form (bug#15814).
9215 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
9217         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9218         "." compared to " @ ".  This incidentally fixes some indentation
9219         examples with "do".
9220         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9221         (ruby-smie-grammar): New tokens: "and" and "or".
9222         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9223         Exclude "and" and "or".  Remove "do" in order to work around token
9224         priorities.
9225         (ruby-smie-rules): Add all infix tokens.  Handle the case of
9226         beginning-of-buffer.
9228 2013-11-06  Glenn Morris  <rgm@gnu.org>
9230         * Makefile.in (setwins_almost, setwins_for_subdirs):
9231         Avoid accidental matches.
9233 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9235         * menu-bar.el (popup-menu): Use key-binding.
9237 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
9239         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9240         menus, support also the menus produced by minor modes.
9241         (Bug#15817)
9243 2013-11-06  Leo Liu  <sdl.web@gmail.com>
9245         * thingatpt.el (thing-at-point-looking-at): Add optional arg
9246         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
9248 2013-11-06  Glenn Morris  <rgm@gnu.org>
9250         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9251         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9252         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9254 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9256         * electric.el (electric-indent-just-newline): New command.
9257         (electric-indent-mode-map): New keymap.
9258         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9259         Re-add :group which weren't redundant.
9261         * electric.el (electric-indent-local-mode): New minor mode.
9262         (electric-indent-functions-without-reindent): New var.
9263         (electric-indent-post-self-insert-function): Use it.
9264         * emacs-lisp/gv.el (buffer-local-value): Add setter.
9266 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
9268         * international/quail.el (quail-help): Be more explicit about the
9269         meaning of the labels shown on the keys.  (Bug#15800)
9271         * startup.el (normal-top-level): Load the subdirs.el files before
9272         setting the locale environment.  (Bug#15805)
9274 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9276         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9277         via arguments so as to get the right ones (bug#15418).
9279         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9281 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
9283         Fix problems found while writing a test suite.
9285         * net/tramp-compat.el (tramp-compat-load): New defun.
9286         * net/tramp.el (tramp-handle-load): Use it.
9288         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9289         "(numberp ok-if-already-exists)" correctly.
9291 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
9293         * international/characters.el (glyphless-char-display-control):
9294         Add usage note.
9296 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
9298         * progmodes/python.el (python-mode):
9299         * progmodes/scheme.el (scheme-mode):
9300         * progmodes/prolog.el (prolog-mode):
9301         * progmodes/ruby-mode.el (ruby-mode):
9302         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9303         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9305 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9307         * rect.el (rectangle--highlight-for-redisplay):
9308         * emacs-lisp/smie.el (smie--next-indent-change):
9309         Use buffer-chars-modified-tick.
9311         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9313         * electric.el (electric-indent-post-self-insert-function):
9314         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9316 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
9318         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9320 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9322         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9323         (bug#15786).
9325 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9327         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
9329         * progmodes/python.el: Fix up last change.
9330         (python-shell--save-temp-file): New function.
9331         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
9332         `string' comes from the current buffer.
9333         (python-shell-send-string-no-output): Remove `msg' arg.
9334         (python--use-fake-loc): New var.
9335         (python-shell-buffer-substring): Obey it.  Try to compensate for the
9336         extra coding line added by python-shell--save-temp-file.
9337         (python-shell-send-region): Use python-shell--save-temp-file and
9338         python-shell-send-file directly.  Add `nomain' argument.
9339         (python-shell-send-buffer): Use python-shell-send-region.
9340         (python-electric-pair-string-delimiter): New function.
9341         (python-mode): Use it.
9343 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
9345         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9346         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9347         environment and decoding all of the default-directory's to here
9348         from command-line.
9349         (command-line): Decode also argv[0].
9351         * loadup.el: Error out if default-directory is a multibyte string
9352         when we are dumping.
9354         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
9356 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
9358         * emacs-lisp/package.el (package-menu-mode)
9359         (package-menu--print-info, package-menu--archive-predicate):
9360         Add Archive column to package list.
9362 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
9364         Fix problems found while writing a test suite.
9366         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9367         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9368         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9369         to nil when running original file name handler.  Otherwise,
9370         there are problems with constructs like "$$FOO".
9372         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9373         for `localname'.
9375 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
9377         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9379         * subr.el (version<, version<=, version=):
9380         Update docstrings with information for snapshot versions.
9382         * helpers.el: New library for misc helper functions.
9383         (hash-table-keys): New function returning a list of hash keys.
9384         (hash-table-values): New function returning a list of hash values.
9386 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
9388         * progmodes/ruby-mode.el (ruby-smie--forward-token)
9389         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9391 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
9393         * textmodes/fill.el (fill-single-char-nobreak-p): New function
9394         checking whether point is after a 1-letter word.
9396 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9398         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9399         Don't infloop when expanding region over `multiline' syntax-type that
9400         begins a line (bug#15778).
9402 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9404         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9405         Make it into a proper minor mode.
9406         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9407         (rectangle-mark-mode-map): New keymap.
9408         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9410 2013-11-04  Glenn Morris  <rgm@gnu.org>
9412         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9414 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9416         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9417         (ruby-smie-rules): Use smie-rule-parent instead.
9419         * emacs-lisp/smie.el (smie-rule-parent): Always call
9420         smie-indent-virtual rather than only for hanging tokens.
9421         (smie--next-indent-change): New helper command.
9423 2013-11-03  Glenn Morris  <rgm@gnu.org>
9425         * Makefile.in (abs_srcdir): Remove.
9426         (emacs): Unset EMACSLOADPATH.
9428 2013-11-02  Glenn Morris  <rgm@gnu.org>
9430         * Makefile.in (EMACS): Use a relative filename.
9431         (abs_top_builddir): Remove.
9432         (custom-deps, finder-data, autoloads): Use --chdir.
9434         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9436         Use relative filenames in TAGS files.
9437         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9438         (lisptagsfiles4, TAGS): Use relative file names.
9439         (TAGS-LISP): Remove.
9440         (maintainer-clean): No more TAGS-LISP file.
9442         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9443         (lisptagsfiles4): Use absolute filenames again.
9444         (TAGS, TAGS-LISP): Not everything needs to run in one line.
9445         Remove all *loaddefs files, not just the first.  Remove esh-groups.
9446         (maintainer-clean): Delete TAGS, TAGS-LISP.
9448 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9450         * emacs-lisp/package.el (package-version-join):
9451         Recognize snapshot versions.
9453 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9455         * subr.el (version-regexp-alist): Add support for snapshot versions.
9457 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
9459         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9460         New function, replacement for `smie-rule-parent' for when we want to
9461         skip over our direct parent if it's an assignment token..
9462         (ruby-smie-rules): Use it.
9464 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
9466         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9467         unconditionally.  Remove now unnecessary forward declarations.
9468         Remove XEmacs-specific setup.
9469         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9470         (ruby-font-lock-syntactic-keywords)
9471         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9472         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9473         (ruby-here-doc-end-syntax): Remove.
9474         (ruby-mode): Don't check whether `syntax-propertize-rules' is
9475         defined as function.
9477 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9479         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9481 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
9483         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9484         table and abbrev table, `define-derived-mode' does that for us
9485         anyway.
9487 2013-11-01  Glenn Morris  <rgm@gnu.org>
9489         * Makefile.in: Remove manual mh-e dependencies (writing .elc
9490         files is atomic for some time, so no parallel compilation issues).
9492 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
9494         * faces.el (face-x-resources): Add :distant-foreground.
9495         (region): Use :distant-foreground for gtk and ns.
9497 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
9499         Allow multiple bibliographies when BibLaTeX is used rather than
9500         BibTeX.
9501         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9502         (reftex-locate-bibliography-files): Us it.
9504 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
9506         * image.el (image-type-header-regexps): Fix the 'pbm' part to
9507         allow comments in pbm files.
9509         * term/w32-win.el (dynamic-library-alist): Support newer versions
9510         of libjpeg starting with v7: look only for the DLL from the
9511         version against which Emacs was built.
9512         Support versions of libpng beyond 1.4.x.
9513         Support libtiff v4.x.
9515 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
9517         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9518         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9519         Add property :safe.
9520         (ruby-deep-arglist): Add property :type.
9522 2013-10-31  Glenn Morris  <rgm@gnu.org>
9524         * Makefile.in (custom-deps, finder-data): No need to setq the target
9525         variables, we are in the right directory and the defaults work fine.
9527 2013-10-30  Glenn Morris  <rgm@gnu.org>
9529         * Makefile.in (autoloads): Do not use abs_lisp.
9531         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9532         `newline' does not respect `standard-output', so use `princ'.
9534 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
9536         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
9537         * buff-menu.el (Buffer-menu--unmark): New function.
9538         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9540 2013-10-30  Glenn Morris  <rgm@gnu.org>
9542         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9544         * emacs-lisp/package.el (lm-homepage): Declare.
9546         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9547         Fix doc typos.
9549         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9551         * Makefile.in (finder-data, autoloads, update-subdirs)
9552         (compile-main, compile-clean, compile-always, bootstrap-clean):
9553         Check return value of cd.
9554         (compile-calc): Remove.
9556 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9558         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9560         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9561         (byte-compile-and-folded): New function.
9562         (=, <, >, <=, >=): Use it.
9564         * dos-w32.el (minibuffer-history-case-insensitive-variables)
9565         (path-separator, null-device, buffer-file-coding-system)
9566         (lpr-headers-switches): Check system-type before modifying them.
9567         (find-buffer-file-type-coding-system): Mark obsolete.
9568         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9569         find-file-not-found-set-buffer-file-coding-system.
9570         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9571         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9572         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9573         (w32-direct-print-region-helper, w32-direct-print-region-function)
9574         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9575         * startup.el (normal-top-level-add-subdirs-to-load-path):
9576         * ps-print.el (ps-print-region-function):
9577         * lpr.el (print-region-function): Use new name.
9579         * subr.el (custom-declare-variable-early): Remove function.
9580         (custom-declare-variable-list): Remove var.
9581         (error, user-error): Remove `while' loop.
9582         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9583         (user-emacs-directory-warning, locate-user-emacs-file):
9584         Move to files.el.
9585         * simple.el (read-quoted-char-radix, read-quoted-char):
9586         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9587         Move from subr.el.
9588         * custom.el (custom-declare-variable-list): Don't process
9589         custom-declare-variable-list.
9591         * progmodes/python.el (python-shell-get-buffer): New function.
9592         (python-shell-get-process): Use it.
9593         (python-shell-send-string): Always use utf-8 and add a cookie to tell
9594         Python which encoding was used.  Don't split-string since we only care
9595         about the first line.  Return the temp-file, if applicable.
9596         (python-shell-send-region): Tell compile.el how to turn locations in
9597         the temp-file into locations in the source buffer.
9599 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9601         * subr.el (undefined): Add missing behavior from the C code for
9602         unbound keys.
9604         * rect.el: Use lexical-binding.  Add new rectangular region support.
9605         (rectangle-mark): New command.
9606         (rectangle--region): New var.
9607         (deactivate-mark-hook): Reset rectangle--region.
9608         (rectangle--extract-region, rectangle--insert-for-yank)
9609         (rectangle--highlight-for-redisplay)
9610         (rectangle--unhighlight-for-redisplay): New functions.
9611         (region-extract-function, redisplay-unhighlight-region-function)
9612         (redisplay-highlight-region-function): Use them to handle
9613         rectangular region.
9614         * simple.el (region-extract-function): New var.
9615         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9616         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9617         (kill-region): Replace obsolete `yank-handler' arg with `region'.
9618         (copy-region-as-kill, kill-ring-save): Add `region' argument.
9619         (redisplay-unhighlight-region-function)
9620         (redisplay-highlight-region-function): New vars.
9621         (redisplay--update-region-highlight): New function.
9622         (pre-redisplay-function): Use it.
9623         (exchange-point-and-mark): Don't deactivate the mark before
9624         reactivate-it anyway.
9625         * comint.el (comint-kill-region): Remove yank-handler argument.
9626         * delsel.el (delete-backward-char, backward-delete-char-untabify)
9627         (delete-char): Remove property, since it's now part of their
9628         default behavior.
9629         (self-insert-iso): Remove property since this command doesn't exist.
9631         * emacs-lisp/package.el (package--download-one-archive)
9632         (describe-package-1): Don't query the user about final newline.
9634 2013-10-29  Daniel Colascione  <dancol@dancol.org>
9636         * net/tramp.el (tramp-methods): Document new functionality.
9637         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9638         tramp-hostname-checker if method provides one instead of scanning
9639         argument list for "%h" to decide hostname acceptability.
9641 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
9643         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9644         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9645         Handle COPY-CONTENTS.  (Bug#15737)
9647 2013-10-28  Daiki Ueno  <ueno@gnu.org>
9649         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9650         Document that this option has no effect with GnuPG 2.0 (bug#15552).
9652 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
9654         * image.el (defimage, image-load-path): Doc fixes.
9656 2013-10-27  Alan Mackenzie  <acm@muc.de>
9658         Indent statements in macros following "##" correctly.
9659         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9660         Modify the "#" arm of a cond form to handle "#" and "##" operators.
9662 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9664         * linum.el (linum-update-window): Fix boundary test (bug#13446).
9666 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
9668         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9669         after `=' is probably a new expression.
9671 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9673         * man.el (man-imenu-title): New option.
9674         (Man-mode-map): Add menu.  (Bug#15722)
9675         (Man-mode): Add imenu to menu.
9677 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
9679         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9680         specific in what the first arg can be: a non-keyword word,
9681         string/regexp/percent literal opener, opening paren, or unary
9682         operator followed directly by word.
9684 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9686         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9687         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9688         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9689         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9690         Remove vars, they do not apply any more.
9691         (prolog-mode-abbrev-table): Remove redundant declaration.
9692         (prolog-upper-case-string, prolog-lower-case-string): Remove.
9693         (prolog-use-smie): Remove.
9694         (prolog-smie-rules): Add indentation rule for the if-then-else layout
9695         supported by prolog-electric-if-then-else-flag.
9696         (prolog-mode-variables, prolog-menu): Use setq-local.
9697         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9698         Remove binding to `Backspace' since this key doesn't exist anyway.
9699         Remove bindings for electric self-inserting keys.
9700         (prog-mode): Assume it's defined.
9701         (prolog-post-self-insert): New function.
9702         (prolog-mode): Use it.
9703         (prolog-indent-line, prolog-indent-level)
9704         (prolog-find-indent-of-matching-paren)
9705         (prolog-indentation-level-of-line, prolog-goto-comment-column)
9706         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9707         (prolog-goto-next-paren, prolog-in-string-or-comment)
9708         (prolog-tokenize, prolog-inside-mline-comment)
9709         (prolog-find-start-of-mline-comment): Remove functions.
9710         (prolog-find-unmatched-paren, prolog-clause-end)
9711         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9712         (prolog-electric--if-then-else): Rename from
9713         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9714         (prolog-tokenize-searchkey): Remove const.
9715         (prolog-clause-info): Use forward-sexp.
9716         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9717         (prolog-electric-if-then-else): Remove commands.
9718         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9719         for use in post-self-insert-hook.
9720         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9721         for use in post-self-insert-hook.
9722         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9723         for use in post-self-insert-hook.
9724         (prolog-electric--underscore): Rename from prolog-electric--underscore;
9725         adapt it for use in post-self-insert-hook.
9727 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
9729         * emacs-lisp/ert.el (ert-run-tests-interactively):
9730         Use `completing-read'.  (Bug#9756)
9732 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
9734         * simple.el (line-move): Call line-move-1 instead of
9735         line-move-visual when the current window hscroll is zero, but
9736         temporary-goal-column indicates we will need to hscroll as result
9737         of the movement.  (Bug#15712)
9739 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
9741         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9742         capitalization.  Use :visible instead of :active.
9743         Fix `ruby-indent-exp' reference.  Add menu items for the generic
9744         commands that are used with SMIE.
9745         (ruby-do-end-to-brace): Insert space after `{'.
9747 2013-10-25  John Anthony  <john@jo.hnanthony.com>
9749         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
9751         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
9753 2013-10-25  Glenn Morris  <rgm@gnu.org>
9755         * vc/vc.el (vc-print-log): Don't use a working revision unless
9756         one was explicitly specified.  (Bug#15322)
9758 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9760         * subr.el (add-to-list): Preserve return value in compiler-macro
9761         (bug#15692).
9763 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9765         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9766         result.  Ask user to retry using '-all' flag.  (Bug#15701)
9768 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9770         * emacs-lisp/smie.el: New smie-config system.
9771         (smie-config): New defcustom.
9772         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9773         (smie-config-guess, smie-config-save): New commands.
9774         (smie-config--mode-local, smie-config--buffer-local)
9775         (smie-config--trace, smie-config--modefuns): New vars.
9776         (smie-config--advice, smie-config--mode-hook)
9777         (smie-config--setter, smie-config-local, smie-config--get-trace)
9778         (smie-config--guess-value, smie-config--guess): New functions.
9779         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
9780         text properties.  Treat "string fence" syntax like string syntax.
9782         * progmodes/sh-script.el (sh-use-smie): Change default.
9783         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
9784         (sh-var-value): Simplify by CSE.
9785         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
9786         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
9787         is used.
9788         (sh-guess-basic-offset): Use cl-incf.
9789         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
9791 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
9793         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
9794         (bug#15699).
9796 2013-10-24  Glenn Morris  <rgm@gnu.org>
9798         * Makefile.in (abs_top_srcdir): Remove.
9799         (update-subdirs): Use relative path to update-subdirs.
9801 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
9803         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9804         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9805         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9806         Call unmsys--file-name before expand-file-name, not after it.
9808 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
9810         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9811         (ert-test-skipped): New error.
9812         (ert-skip, ert-stats-skipped): New defuns.
9813         (ert--skip-unless): New macro.
9814         (ert-test-skipped): New struct.
9815         (ert--run-test-debugger, ert-test-result-type-p)
9816         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9817         (ert--stats-set-test-and-result, ert-char-for-test-result)
9818         (ert-string-for-test-result, ert-run-tests-batch)
9819         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9820         Handle skipped tests.  (Bug#9803)
9822 2013-10-24  Glenn Morris  <rgm@gnu.org>
9824         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9826         * Makefile.in (abs_top_srcdir): New, set by configure.
9827         (update-subdirs): Correct build-aux location.
9829 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
9831         * vc/vc.el (vc-print-root-log): Always set `default-directory'
9832         value, whether we could auto-deduce `backend', or not.
9834         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9835         with parameters" example.  Simplify the "is it block or is it
9836         hash" check, but also make it more thorough.
9838 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
9840         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
9842 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9844         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9845         { if it is hanging.
9847         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9848         :before ";".
9850 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
9852         * progmodes/compile.el (compilation-directory-matcher)
9853         (compilation-page-delimiter):
9854         Support GNU Make-4.0 directory quoting.  (Bug#15678)
9856 2013-10-23  Leo Liu  <sdl.web@gmail.com>
9858         * ido.el (ido-tidy): Handle read-only text.
9860 2013-10-23  Glenn Morris  <rgm@gnu.org>
9862         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9863         (emacs, compile, compile-always):
9864         Quote entities that might contain whitespace.
9865         (custom-deps, finder-data, autoloads): Use abs_lisp.
9866         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9867         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9868         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9870 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
9872         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9873         Use `following-char'.
9875 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9877         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9878         * progmodes/ruby-mode.el (ruby-smie-rules):
9879         Remove corresponding workaround.  Fix indentation rule of ";" so it
9880         also applies when ";" is the parent.
9882 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
9884         * frame.el (display-screens, display-pixel-height)
9885         (display-pixel-width, display-mm-width, display-backing-store)
9886         (display-save-under, display-planes, display-color-cells)
9887         (display-visual-class, display-monitor-attributes-list):
9888         Mention the optional ‘display’ argument in doc strings.
9890 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
9892         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9893         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
9895 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9897         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9898         TODO.  Add "." after " @ ".
9899         (ruby-smie--at-dot-call): New function.  Checks if point at method
9900         call with explicit target.
9901         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9902         to the method name tokens when it precedes them.
9903         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9904         (ruby-smie-rules): Add rule for indentation before and after "."
9905         token.
9907 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9909         * textmodes/remember.el (remember-diary-extract-entries):
9910         Avoid add-to-list.
9912         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9913         an instruction.
9915 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9917         * progmodes/ruby-mode.el (ruby-smie-grammar):
9918         Add (almost) all infix operators.
9919         (ruby-smie--implicit-semi-p): Add new operator chars.
9921         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9922         `smie-down-list'.
9923         (ruby-smie--args-separator-p): Check that there's no newline
9924         between method call and its arguments.
9926 2013-10-20  Alan Mackenzie  <acm@muc.de>
9928         Allow comma separated lists after Java "implements".
9930         * progmodes/cc-engine.el (c-backward-over-enum-header):
9931         Parse commas.
9932         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9933         from a "disallowed" list in enum fontification.
9935 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
9937         * startup.el (default-frame-background-mode): Remove unused defvar.
9939         * progmodes/verilog-mode.el (verilog-mode): Don't set
9940         comment-indent-function globally.
9942 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
9944         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9945         Move Info menu item creation to ns-win.el.
9947         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9948         in menu bar.
9950         * menu-bar.el: Move GNUstep specific menus...
9952         * term/ns-win.el (ns-initialize-window-system): ... to here.
9954 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9956         * simple.el (newline): Only run post-self-insert-hook when
9957         called interactively.
9959 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
9961         * icomplete.el (icomplete-with-completion-tables): Add :version.
9963 2013-10-19  Alan Mackenzie  <acm@muc.de>
9965         Fix fontification bugs with constructors and const.
9967         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9968         CASE 2) Remove the check for the absence of a suffix construct
9969         after a function declaration with only types (no identifiers) in
9970         the parentheses.  Also, accept a function declaration with just a
9971         type inside the parentheses, if this type can be positively
9972         recognised as such, or if a prefix keyword like "explicit" nails
9973         down the construct as a declaration.
9975 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
9977         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9978         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
9979         the problem whereby selecting a menu item that leads to a
9980         minibuffer prompt moves the cursor out of the minibuffer window,
9981         making it hard to type at the prompt.  Suggested by Stefan Monnier
9982         <monnier@iro.umontreal.ca>.
9984 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
9986         * menu-bar.el: Don't make Services menu.
9988 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9990         * ffap.el: Handle "/usr/include/c++/<version>" directories.
9991         (ffap-alist): Use ffap-c++-mode for c++-mode.
9992         (ffap-c++-path): New variable.
9993         (ffap-c++-mode): New function.
9995 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
9997         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
9999 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
10001         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
10002         introduced on 2013-09-08, which results in an infinite loop
10003         requesting a password.
10005 2013-10-18  Glenn Morris  <rgm@gnu.org>
10007         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
10009 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
10011         Sync with upstream verilog-mode revision 1a6ecec7.
10012         * progmodes/verilog-mode.el (verilog-mode-version): Update.
10013         (verilog-mode-release-date): Remove.
10014         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
10015         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
10016         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
10017         (verilog-auto-tieoff-ignore-regexp)
10018         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
10019         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
10020         (verilog-signals-with, verilog-dir-cache-preserving)
10021         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
10022         Doc fixes.
10023         (verilog-case-fold): New option, to control case folding in
10024         regexp searches, bug597.
10025         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
10026         (verilog-string-match-fold, verilog-in-paren-count)
10027         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
10028         (verilog-at-close-struct-p): New functions.
10029         (verilog-beg-block-re-ordered, verilog-extended-case-re)
10030         (verilog-forward-sexp, verilog-set-auto-endcomments)
10031         (verilog-leap-to-case-head): Handle "unique0" case.
10032         (verilog-in-constraint-re): New constant.
10033         (verilog-keywords, verilog-type-font-keywords):
10034         Add some SystemVerilog 1800-2012 keywords.
10035         (verilog-label-be): Remove unimplemented argument, bug669.
10036         (verilog-batch-execute-func): When batch expanding clear
10037         create-lockfiles to prevent spurious user locks when a file ends
10038         up not changing.
10039         (verilog-calculate-indent, verilog-calc-1)
10040         (verilog-at-close-constraint-p, verilog-at-constraint-p)
10041         (verilog-do-indent): Fix indentation of nested constraints
10042         and structures.
10043         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
10044         (verilog-auto-inst-param): Use verilog-string-match-fold.
10045         (verilog-read-inst-module-matcher):
10046         Fix AUTOINST on gate primitives with #1.
10047         (verilog-read-decls): Fix double-declaring user-defined typed signals.
10048         Reads all user-defined typed variables.
10049         (verilog-read-defines): Fix reading definitions inside comments, bug647.
10050         (verilog-signals-matching-regexp)
10051         (verilog-signals-not-matching-regexp, verilog-auto):
10052         Respect verilog-case-fold.
10053         (verilog-diff-report): Fix line count.
10054         (verilog-auto-assign-modport): Remove unused local `modi'.
10055         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
10056         better handle multidimensional arrays.
10057         Fix packed array ports misadding bit index in AUTOINST, bug637.
10058         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
10059         to not double-declare existing outputs and inputs, respectively.
10060         (verilog-template-map): Bind U to verilog-sk-uvm-component.
10061         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
10062         (verilog-sk-uvm-component): New skeleton.
10063         (verilog-submit-bug-report): Add verilog-case-fold,
10064         remove verilog-mode-release-date.
10066 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
10068         * subr.el (sit-for): Call (input-pending-p t) so as to behave
10069         as before.
10071 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
10073         * textmodes/remember.el (remember): Set buffer-offer-save in
10074         remember buffers (bug#13566).
10076 2013-10-18  Daniel Colascione  <dancol@dancol.org>
10078         When evaluating forms in ielm, direct standard output to ielm
10079         buffer.  Add new ielm-return-for-effect command.  Remove trailing
10080         whitespace throughout.
10082         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
10083         (ielm-return-for-effect): New command.
10084         (ielm-send-input): Accept optional `for-effect' parameter.
10085         (ielm-eval-input): Accept optional `for-effect' parameter.
10086         Bind `standard-output' to stream we create using
10087         `ielm-standard-output-impl'.  Suppress printing result when
10088         `for-effect'.
10089         (ielm-standard-output-impl): New function.
10090         (inferior-emacs-lisp-mode): Explain new features in documentation.
10092 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
10094         Code cleanup.
10096         * net/tramp.el (tramp-debug-message): Do not check for connection
10097         buffer.
10098         (tramp-message): Use "vector" connection property.
10100         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10101         (tramp-equal-remote, tramp-eshell-directory-change)
10102         * net/tramp-adb.el (tramp-adb-handle-copy-file)
10103         (tramp-adb-handle-rename-file)
10104         * net/tramp-cmds.el (tramp-list-remote-buffers)
10105         (tramp-cleanup-connection, tramp-cleanup-this-connection)
10106         * net/tramp-compat.el (tramp-compat-process-running-p)
10107         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
10108         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
10109         (tramp-gvfs-handle-rename-file)
10110         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10111         (tramp-set-file-uid-gid)
10112         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10113         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
10114         of `file-remote-p'.
10116         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
10117         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10118         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
10119         (tramp-gw-open-network-stream): Suppress unrelated traces.
10121         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
10122         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10123         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10124         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
10125         connection property.
10127         * net/tramp-cache.el (top): Suppress traces when reading
10128         persistency file.
10130         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10131         Refactor common code.  Improve debug message.
10132         (tramp-maybe-open-connection)
10133         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
10134         connection buffer too early.
10136         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
10137         from `tramp-smb-actions-with-acl'.
10138         (tramp-smb-actions-set-acl): New defconst.
10139         (tramp-smb-handle-copy-directory)
10140         (tramp-smb-action-get-acl): New defun, renamed from
10141         `tramp-smb-action-with-acl'.
10142         (tramp-smb-action-set-acl): New defun.
10143         (tramp-smb-handle-set-file-acl): Rewrite.
10145 2013-10-17  Glenn Morris  <rgm@gnu.org>
10147         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
10149 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10151         * skeleton.el (skeleton-newline): Remove.
10152         (skeleton-internal-1): Use (insert "\n") instead.
10154         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10155         let-bindings.
10157         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10158         forward-sexp-function while we redo its job (bug#15613).
10160 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
10162         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10163         represented by lists.
10165 2013-10-16  Glenn Morris  <rgm@gnu.org>
10167         * tmm.el (tmm--history): New dynamic variable.
10168         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
10170 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
10172         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10173         (tramp-smb-errors): Add error messages.
10174         (tramp-smb-actions-with-acl): New defconst.
10175         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10176         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10177         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10178         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10179         (tramp-smb-get-stat-capability): Fix tests.
10181 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
10183         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10184         (bug#15580).
10186 2013-10-16  Glenn Morris  <rgm@gnu.org>
10188         * ansi-color.el (ansi-color-drop-regexp):
10189         Add 1J, 1K, 2K.  (Bug#15617)
10191         * files.el (hack-local-variables--warned-lexical): New.
10192         (hack-local-variables):
10193         Warn about misplaced lexical-binding.  (Bug#15616)
10195         * net/eww.el (eww-render): Always set eww-current-url,
10196         and update header line.  (Bug#15622)
10197         (eww-display-html): ... Rather than just doing it here.
10199 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
10201         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10202         menu navigations commands.
10204 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
10206         * progmodes/subword.el (subword-capitalize): Be careful when
10207         the search for [[:alpha:]] fails (bug#15580).
10209 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
10211         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10212         to commands that scroll the menu.
10214 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
10216         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10217         Handle methods ending with `?' and `!'.
10219 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
10221         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10222         `japanese-cp932' to `cp932' to fix the problem where saving a
10223         source file written in Shift_JIS twice would end up having
10224         `coding: japanese-cp932' which Ruby could not recognize.
10225         (ruby-mode-set-encoding): Add support for encodings mapped to nil
10226         in `ruby-encoding-map'.
10227         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10228         doesn't need to be explicitly declared in magic comment.
10229         (ruby-encoding-map): Add type declaration for better customize UI.
10231 2013-10-13  Glenn Morris  <rgm@gnu.org>
10233         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10234         Occur buffers are read-only.  http://bugs.debian.org/720775
10236         * emacs-lisp/authors.el (authors-fixed-entries):
10237         Comment out old alpha stuff.
10239 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
10241         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10242         to `after-save-hook' instead of `before-save-hook'.
10243         (ruby-mode-set-encoding): Use the value of coding system used to
10244         write the file.  Call `basic-save-buffer-1' after modifying the
10245         buffer.
10247 2013-10-13  Alan Mackenzie  <acm@muc.de>
10249         Fix indentation/fontification of Java enum with
10250         "implements"/generic.
10252         * progmodes/cc-engine.el (c-backward-over-enum-header):
10253         Extracted from the three other places and enhanced to handle generics.
10254         (c-inside-bracelist-p): Uses new function above.
10255         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10256         function above.
10257         (c-font-lock-enum-tail): Uses new function above.
10259 2013-10-13  Kenichi Handa  <handa@gnu.org>
10261         * international/mule-cmds.el (select-safe-coding-system): Remove a
10262         superfluous condition in chekcing whether a coding system is safe
10263         or not.
10265 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
10267         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
10269 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
10271         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
10273 2013-10-13  Glenn Morris  <rgm@gnu.org>
10275         * menu-bar.el (menu-bar-update-buffers):
10276         Unify Buffers menu prompt string.  (Bug#15576)
10278         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
10280         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10281         Add some entries.
10282         (authors-fixed-entries): Use accented form of name.
10284 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10286         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10287         method calls (bug#15594).
10288         (ruby-smie--args-separator-p): New function.
10289         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10290         recognize paren-free method calls.
10292         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10293         internals of universal-argument.
10295 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
10297         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10298         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10299         dropped menu on second mouse click on the menu bar.
10301 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10303         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10304         (explicit-shell-file-name): Declare.
10305         (sh--vars-before-point, sh--cmd-completion-table): New functions.
10306         (sh-completion-at-point-function): New function.
10307         (sh-mode): Use it.
10308         (sh-smie--keyword-p): Remove unused argument.
10309         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10310         vars.
10311         (sh-set-shell): Always setup SMIE, even if we use the
10312         old indentation code.
10314 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
10316         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10317         cases of ? and =.
10318         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
10319         predicate would return nil are almost non-existent.
10320         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10322         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10323         cache also after commands that modify the buffer but don't move
10324         point.
10326 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10328         * env.el (substitute-env-in-file-name): New function.
10329         (substitute-env-vars): Extend the meaning of the optional arg.
10331 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
10333         * term/w32-win.el (dynamic-library-alist): Define separate lists
10334         of GIF DLLs for versions before and after 5.0.0 of giflib.
10335         (Bug#15531)
10337 2013-10-10  João Távora  <joaotavora@gmail.com>
10339         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10340         not locked, use last revision and current source as
10341         defaults.  (Bug#15569)
10343 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
10345         * menu-bar.el (menu-bar-open): Don't use popup-menu if
10346         menu-bar is hidden.
10348 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
10350         * window.el (pop-to-buffer-same-window): Fix doc-string.
10351         (Bug#15492)
10353 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10355         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10357 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
10359         * calendar/icalendar.el (icalendar-import-file):
10360         Fix interactive spec.  (Bug#15482)
10362 2013-10-10  Glenn Morris  <rgm@gnu.org>
10364         * desktop.el (desktop-save): Default to saving in .emacs.d,
10365         since PWD is no longer in desktop-path by default.  (Bug#15319)
10367         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10368         now that text mode has a menu with the same entry.
10369         (menu-bar-text-mode-auto-fill): Remove now unused func.
10370         * textmodes/text-mode.el (text-mode-map):
10371         Use auto-fill help text from menu-bar.el.
10373 2013-10-10  John Anthony  <john@jo.hnanthony.com>
10375         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
10377 2013-10-09  Juri Linkov  <juri@jurta.org>
10379         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10380         instead of this-command-keys.  Add universal-argument-more and
10381         universal-argument-minus to the list of prefix commands.  (Bug#15568)
10383 2013-10-09  Glenn Morris  <rgm@gnu.org>
10385         * vc/vc-svn.el (vc-svn-create-repo):
10386         Expand paths in file://... url.  (Bug#15446)
10388         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10389         Add some entries.
10390         (authors): Remove unused local variables.
10392 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10394         * profiler.el: Create a more coherent calltree from partial backtraces.
10395         (profiler-format): Hide the tail with `invisible' so that C-s can still
10396         find the hidden elements.
10397         (profiler-calltree-depth): Don't recurse so enthusiastically.
10398         (profiler-function-equal): New hash-table-test.
10399         (profiler-calltree-build-unified): New function.
10400         (profiler-calltree-build): Use it.
10401         (profiler-report-make-name-part): Indent the calltree less.
10402         (profiler-report-mode): Add visibility specs for profiler-format.
10403         (profiler-report-expand-entry, profiler-report-toggle-entry):
10404         Expand the whole subtree when provided with a prefix arg.
10406 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
10408         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10409         iuwu-mod token.
10410         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10411         hanging iuwu-mod token.
10412         (ruby-smie--forward-token): Do not include a dot after a token in
10413         that token.
10414         (ruby-smie--backward-token): Likewise.
10416 2013-10-08  Juri Linkov  <juri@jurta.org>
10418         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10419         to isearch-other-control-char.
10420         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10421         and isearch-post-command-hook to post-command-hook.
10422         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10423         and isearch-post-command-hook from post-command-hook.
10424         (isearch-unread-key-sequence)
10425         (isearch-reread-key-sequence-naturally)
10426         (isearch-lookup-scroll-key, isearch-other-control-char)
10427         (isearch-other-meta-char): Remove functions.
10428         (isearch-pre-command-hook, isearch-post-command-hook):
10429         New functions based on isearch-other-meta-char rewritten
10430         relying on the new behavior of overriding-terminal-local-map
10431         that does not replace the local keymaps any more.  (Bug#15200)
10433 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
10435         Support menus on text-mode terminals.
10436         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10437         functionality.
10439         * tooltip.el (tooltip-mode): Don't error out on TTYs.
10441         * menu-bar.el (popup-menu, popup-menu-normalize-position):
10442         Move here from mouse.el.
10443         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10444         and arrow keys.
10445         (tty-menu-navigation-map): New map for TTY menu navigation.
10447         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10449         * frame.el (display-mouse-p): Report text-mode mouse as available
10450         on w32.
10451         (display-popup-menus-p): Report availability if mouse is
10452         available; don't condition on window-system.
10454         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10455         (tty-menu-selected-face): New faces.
10457 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10459         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10460         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10461         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10462         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10463         New constants.
10464         (lisp-mode-variables): New `elisp' argument.
10465         (emacs-lisp-mode): Use it.
10466         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10467         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10469         * indent.el: Use lexical-binding.
10470         (indent-region): Add progress reporter.
10471         (tab-stop-list): Make it implicitly extend to infinity by repeating the
10472         last step.
10473         (indent--next-tab-stop): New function to implement this behavior.
10474         (tab-to-tab-stop, move-to-tab-stop): Use it.
10476 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
10478         * indent.el (indent-rigidly--current-indentation): New function.
10479         (indent-rigidly-map): New var.
10480         (indent-rigidly): Use it to provide interactive mode (bug#8196).
10482 2013-10-08  Bastien Guerry  <bzg@gnu.org>
10484         * register.el (insert-register): Fix 2013-10-07 change.
10486 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10488         * progmodes/perl-mode.el: Use lexical-binding.
10489         Remove redundant :group args.
10490         (perl-nochange): Change default to be closer to other major modes's
10491         standard behavior.
10492         (perl-indent-line): Don't consider text on current line as a
10493         valid beginning of function from which to indent.
10495         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10496         with more than one argument (bug#15538).
10498         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10500         * vc/pcvs.el: Use lexical-binding.
10501         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10502         environment of `eval'.
10503         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10504         than a list of expressions.  Adjust callers.
10505         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10507 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
10509         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10510         case of the dot in a chained method call being on the following line.
10512 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10514         * electric.el (electric-indent-inhibit): New var.
10515         (electric-indent-post-self-insert-function): Use it.
10516         * progmodes/python.el (python-mode): Set it.
10518         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10519         open braces.
10521         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10523         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10524         (css-mode): Use electric-indent-chars.
10526         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10527         (font-lock-beg, font-lock-end): Move before first use.
10528         (nxml-mode): Use syntax-propertize-function.
10529         (nxml-after-change, nxml-after-change1): Adjust accordingly.
10530         (nxml-extend-after-change-region): Remove.
10531         * nxml/xmltok.el: Use lexical-binding.
10532         (xmltok-save): Use `declare'.
10533         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10534         * nxml/nxml-util.el: Use lexical-binding.
10535         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10536         Use `declare'.
10537         * nxml/nxml-ns.el: Use lexical-binding.
10538         (nxml-ns-save): Use `declare'.
10539         (nxml-ns-prefixes-for): Avoid add-to-list.
10540         * nxml/rng-match.el: Use lexical-binding.
10541         (rng--ipattern): Use cl-defstruct.
10542         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10543         (rng-cons-group-after, rng-subst-group-after)
10544         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10545         Use closures instead of `(lambda...).
10547 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
10549         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10550         of BEG and END.
10552         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10553         Use `tramp-handle-insert-file-contents'.
10554         (tramp-gvfs-handle-insert-file-contents): Remove function.
10556         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10557         Use `save-restriction' in order to keep markers.
10559         * net/trampver.el: Update release number.
10561 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10563         * progmodes/compile.el (compilation-parse-errors):
10564         Use compilation--put-prop.
10565         (compilation--ensure-parse): Check compilation-multiline.
10567         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10569         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10570         lexical-binding.
10572         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10574         * progmodes/ruby-mode.el: Fix recently added tests.
10575         (ruby-smie-grammar): Add - and +.
10576         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10577         (ruby-smie--backward-id): New functions.
10578         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10579         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
10580         any more.
10582 2013-10-07  Leo Liu  <sdl.web@gmail.com>
10584         * register.el (register-preview-delay)
10585         (register-preview-functions): New variables.
10586         (register-read-with-preview, register-preview)
10587         (register-describe-oneline): New functions.
10588         (point-to-register, window-configuration-to-register)
10589         (frame-configuration-to-register, jump-to-register)
10590         (number-to-register, view-register, insert-register)
10591         (copy-to-register, append-to-register, prepend-to-register)
10592         (copy-rectangle-to-register): Use register-read-with-preview to
10593         read register.  (Bug#15525)
10595 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
10597         * net/network-stream.el (network-stream-open-starttls): Don't add
10598         --insecure if it's already present, because that gnutls-cli
10599         rejects getting that parameter twice.
10601 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
10603         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10604         keyword, too.
10606 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
10608         * newcomment.el (comment-use-global-state): Change default value
10609         to t, mark obsolete (Bug#15251).
10610         (comment-beginning): In addition to `comment-to-syntax', check the
10611         value of `comment-use-global-state'.
10613 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10615         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10616         (ruby-comment-column): Follow the global default, by default.
10617         (ruby-smie-grammar): Add assignment syntax.
10618         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10619         open-paren, a comma, or a \.
10620         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10621         and line continuations.
10622         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10623         followed by implicit semi-colons.  Add rule for string concatenation
10624         and for indentation at BOB.
10625         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10627         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10628         calling next-sexp, since next-token may have skipped chars which
10629         next-sexp doesn't know should be skipped!
10631 2013-10-05  Leo Liu  <sdl.web@gmail.com>
10633         * progmodes/octave.el (octave-send-region):
10634         Call compilation-forget-errors.
10636 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
10638         * vc/vc-svn.el (vc-svn-find-admin-dir):
10639         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10640         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10641         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10642         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10644 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10646         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10648 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10650         * subr.el (read-passwd): Hide chars even when called within a context
10651         where after-change-functions is disabled (bug#15501).
10652         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10653         until we removed ourself from overriding-terminal-local-map.
10655 2013-10-04  Leo Liu  <sdl.web@gmail.com>
10657         * progmodes/octave.el (inferior-octave-mode):
10658         Call compilation-forget-errors.
10660 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
10662         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10664 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
10666         * net/secrets.el (secrets-create-collection): Add optional
10667         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
10668         dbus-call-method argument.  (Bug#15516)
10670 2013-10-04  Leo Liu  <sdl.web@gmail.com>
10672         * progmodes/octave.el (inferior-octave-error-regexp-alist)
10673         (inferior-octave-compilation-font-lock-keywords): New variables.
10674         (compilation-error-regexp-alist)
10675         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10676         (inferior-octave-mode): Use compilation-shell-minor-mode.
10678 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
10680         * minibuffer.el (completion--replace): Be careful that `end' might be
10681         a marker.
10683 2013-10-03  Daiki Ueno  <ueno@gnu.org>
10685         Add support for package signature checking.
10686         * emacs-lisp/package.el (url-http-file-exists-p)
10687         (epg-make-context, epg-context-set-home-directory)
10688         (epg-verify-string, epg-context-result-for)
10689         (epg-signature-status, epg-signature-to-string)
10690         (epg-check-configuration, epg-configuration)
10691         (epg-import-keys-from-file): Declare.
10692         (package-check-signature): New user option.
10693         (package-unsigned-archives): New user option.
10694         (package-desc): Add `signed' field.
10695         (package-load-descriptor): Set `signed' field if .signed file exists.
10696         (package--archive-file-exists-p): New function.
10697         (package--check-signature): New function.
10698         (package-install-from-archive): Check package signature.
10699         (package--download-one-archive): Check archive signature.
10700         (package-delete): Remove .signed file.
10701         (package-import-keyring): New command.
10702         (package-refresh-contents): Import default keyring.
10703         (package-desc-status): Add "unsigned" status.
10704         (describe-package-1, package-menu--print-info)
10705         (package-menu-mark-delete, package-menu--find-upgrades)
10706         (package-menu--status-predicate): Support "unsigned" status.
10708 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10711         the new compilation scheme using the new byte-codes.
10713         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10714         (byte-pophandler): New byte codes.
10715         (byte-goto-ops): Adjust accordingly.
10716         (byte-compile--use-old-handlers): New var.
10717         (byte-compile-catch): Use new byte codes depending on
10718         byte-compile--use-old-handlers.
10719         (byte-compile-condition-case--old): Rename from
10720         byte-compile-condition-case.
10721         (byte-compile-condition-case--new): New function.
10722         (byte-compile-condition-case): New function that dispatches depending
10723         on byte-compile--use-old-handlers.
10724         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10725         when we can.
10727         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10728         Optimize under `condition-case' and `catch' if
10729         byte-compile--use-old-handlers is nil.
10730         (disassemble-offset): Handle new bytecodes.
10732 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10734         * subr.el (error): Use `declare'.
10735         (decode-char, encode-char): Use advertised-calling-convention instead
10736         of the docstring to discourage use of the `restriction' arg.
10738 2013-10-03  Daiki Ueno  <ueno@gnu.org>
10740         * epg.el (epg-verify-file): Add a comment saying that it does not
10741         notify verification error as a return value nor a signal.
10742         (epg-verify-string): Ditto.
10744 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
10746         * progmodes/compile.el (compilation-start): Try globbing the arg to
10747         `cd' (bug#15417).
10749 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
10751         Sync with Tramp 2.2.8.
10753         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10754         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10755         * net/trampver.el: Update release number.
10757 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
10759         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10760         and default-process-coding-system for darwin only.
10762 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10764         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10766 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
10768         * vc/vc-git.el (vc-git-grep): Disable pager.
10770 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
10772         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10773         Use :url instead of :homepage, as per
10774         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10776         * newcomment.el (comment-beginning): When `comment-use-syntax' is
10777         non-nil, use `syntax-ppss' (Bug#15251).
10779 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10781         * progmodes/octave.el (inferior-octave-startup-file):
10782         Prefer ~/.emacs.d/init_octave.m.
10784 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
10786         * emacs-lisp/package.el (package-desc-from-define):
10787         Accept additional arguments as plist, convert them to an alist and store
10788         them in the `extras' slot.
10789         (package-generate-description-file): Convert extras alist back to
10790         plist and append to the `define-package' form arguments.
10791         (package--alist-to-plist): New function.
10792         (package--ac-desc): Add `extras' slot.
10793         (package--add-to-archive-contents): Check if the archive-contents
10794         vector is long enough, and if it is, pass its `extras' slot value
10795         to `package-desc-create'.
10796         (package-buffer-info): Call `lm-homepage', pass the returned value
10797         to `package-desc-from-define'.
10798         (describe-package-1): Render the homepage button (Bug#13291).
10800         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10801         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10803 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
10805         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10806         and default-process-coding-system to utf-8-unix (Bug#15402).
10808 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
10810         * subr.el (looking-back): Do not recommend using looking-back.
10812 2013-09-28  Alan Mackenzie  <acm@muc.de>
10814         Fix indentation/fontification of Java enum with "implements".
10816         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10817         regexp which matches "implements", etc., in Java.
10818         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10819         specifier clauses coming after "enum".
10820         * progmodes/cc-fonts.el (c-font-lock-declarations)
10821         (c-font-lock-enum-tail): Check for extra specifier clauses coming
10822         after "enum".
10824 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
10826         * faces.el (region): Change ns_selection_color to
10827         ns_selection_fg_color, add ns_selection_bg_color.
10829 2013-09-28  Leo Liu  <sdl.web@gmail.com>
10831         * progmodes/octave.el (inferior-octave-completion-table)
10832         (inferior-octave-completion-at-point): Minor tweaks.
10834         * textmodes/ispell.el (ispell-lookup-words): Rename from
10835         lookup-words.  (Bug#15460)
10836         (lookup-words): Obsolete.
10837         (ispell-complete-word, ispell-command-loop): All uses changed.
10839 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10841         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10842         (octave-mode-menu): Add octave-send-buffer.
10843         (octave-send-buffer): New function.
10845 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10847         * progmodes/octave.el (octave-mode-map): Add key binding for
10848         octave-lookfor.
10849         (octave-mode-menu): Add octave-lookfor.
10850         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10851         octave-lookfor.
10852         (octave-lookfor): New function.
10854 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10856         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10857         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10858         its convention.
10859         (cl--loop-set-iterator-function): New function.
10860         (cl-loop): Adjust accordingly, so as not to use cl-subst.
10861         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10862         Bind `it' with `let' instead of substituting it with `cl-subst'.
10863         (cl--unused-var-p): New function.
10864         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10865         Eliminate some unused variable warnings (bug#15326).
10867 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
10869         * doc-view.el (doc-view-scale-reset): Rename from
10870         `doc-view-reset-zoom-level'.
10871         (doc-view-scale-adjust): New command.
10872         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10873         `doc-view-scale-adjust'.
10875 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
10877         * doc-view.el (doc-view-reset-zoom-level): New command.
10878         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10879         zoom commands (bug#15466).
10881 2013-09-26  Kenichi Handa  <handa@gnu.org>
10883         * international/quail.el (quail-help): Make it not a command.
10885 2013-09-26  Leo Liu  <sdl.web@gmail.com>
10887         * minibuffer.el (completion-all-sorted-completions): Make args
10888         optional as they are.
10890 2013-09-25  Daniel Colascione  <dancol@dancol.org>
10892         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10893         specs are and that they're not evaluated.
10895 2013-09-24  Sam Steingold  <sds@gnu.org>
10897         * midnight.el (clean-buffer-list-kill-regexps)
10898         (clean-buffer-list-kill-buffer-names): Update for the new Man
10899         buffer naming which includes the object name.
10901 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10903         * eshell/esh-cmd.el (eshell--sep-terms): New var.
10904         (eshell-parse-command, eshell-parse-pipeline): Use it since
10905         eshell-separate-commands requires a dynamic scoped var.
10906         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10908 2013-09-23  Leo Liu  <sdl.web@gmail.com>
10910         * autoinsert.el (auto-insert-alist): Make the value of
10911         lexical-binding match its file setting.
10913 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
10915         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10917         * autoarg.el (autoarg-kp-digit-argument):
10918         * electric.el (Electric-command-loop):
10919         * kmacro.el (kmacro-step-edit-insert):
10920         Do not set universal-argument-num-events.
10922 2013-09-22  Leo Liu  <sdl.web@gmail.com>
10924         * files.el (interpreter-mode-alist): Add octave.
10926 2013-09-21  Alan Mackenzie  <acm@muc.de>
10928         C++: fontify identifier in declaration following "public:" correctly.
10929         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10930         to match "public", etc.
10931         (c-decl-prefix-re): Add ":" into the C++ value.
10932         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10933         bit.  Add a check for a ":" preceded by "public", etc.
10935 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
10937         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10938         recognized by GDB 7.5 and later.
10940 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
10942         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10944 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10946         * subr.el (internal--call-interactively): New const.
10947         (called-interactively-p): Use it (bug#3984).
10949 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
10951         * vc/pcvs.el (cvs-mode-ignore):
10952         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10953         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10955 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10957         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
10958         (eshell-ls-orig-insert-directory): Remove.
10959         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
10960         (eshell-ls-use-in-dired): Use advice-add/remove.
10961         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10962         Add `orig-fun' arg for use in :around advice.
10963         Make it check (redundantly) eshell-ls-use-in-dired.
10965 2013-09-19  Glenn Morris  <rgm@gnu.org>
10967         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10969         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10971         * emacs-lisp/eieio.el (class-parent): Undo previous change.
10973 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
10975         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10976         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10977         (tramp-get-remote-python): New defuns.
10978         (tramp-get-remote-uid-with-perl)
10979         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
10980         contributed by yary <not.com@gmail.com> (tiny change).
10981         (tramp-get-remote-uid-with-python)
10982         (tramp-get-remote-gid-with-python): New defuns.  Python code
10983         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10984         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10986 2013-09-19  Glenn Morris  <rgm@gnu.org>
10988         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10990         * eshell/em-unix.el (eshell-remove-entries):
10991         Rename argument to avoid name-clash with global `top-level'.
10993         * eshell/esh-proc.el (eshell-kill-process-function):
10994         Remove eshell-reset-after-proc from eshell-kill-hook if present.
10995         (eshell-reset-after-proc): Remove unused arg `proc'.
10997         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10998         (directory-files-and-attributes): Mark unused arg.
11000         * eshell/em-unix.el (eshell-remove-entries):
11001         Remove unused arg `path'.  Update callers.
11003         * eshell/em-hist.el (eshell-hist-parse-arguments):
11004         Remove unused arg `silent'.  Update callers.
11006         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
11007         Fix (f)boundp mix-up.
11009         * eshell/em-smart.el (eshell-smart-scroll-window)
11010         (eshell-disable-after-change):
11011         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
11013 2013-09-18  Alan Mackenzie  <acm@muc.de>
11015         Fix fontification of type when followed by "const".
11016         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
11017         "known" types from fontification.
11019 2013-09-18  Glenn Morris  <rgm@gnu.org>
11021         * emacs-lisp/chart.el (x-display-color-cells): Declare.
11022         (chart-face-list): Drop Emacsen without display-color-p.
11024         * net/eww.el (libxml-parse-html-region): Declare.
11025         (eww-display-html): Explicit error if no libxml2 support.
11027         * doc-view.el (doc-view-mode): Silence --without-x compilation.
11029         * image.el (image-type-from-buffer, image-multi-frame-p):
11030         Remove --without-x warning/error.
11032         * mouse.el (mouse-yank-primary):
11033         * term.el (term-mouse-paste):
11034         Reorder to silence --without-x compilation.
11036         * mpc.el (doc-view-mode): Silence --without-x compilation.
11038         * mail/rmailmm.el (rmail-mime-set-bulk-data):
11039         Silence --without-x compilation.
11041         * progmodes/gud.el (gud-find-file, gud-mode):
11042         Silence --without-x compilation.
11043         (tooltip-mode): Declare.
11045         * wdired.el (dired-backup-overwrite): Remove declaration.
11046         (wdired-mode-map): Add doc string.
11048         * custom.el (x-get-resource): Declare.
11050         * eshell/em-glob.el (ange-cache):
11051         * eshell/em-unix.el (ange-cache): Declare.
11053         * faces.el (x-display-list, x-open-connection, x-get-resource):
11054         Declare.
11056         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
11057         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
11058         Declare.
11060         * frame.el (x-display-grayscale-p, x-display-name): Declare.
11062         * net/gnutls.el (gnutls-log-level): Declare.
11064         * net/shr.el (image-size, image-animate): Declare.
11066         * simple.el (font-info): Declare.
11068         * subr.el (x-popup-dialog): Declare.
11070         * term/common-win.el (x-select-enable-primary)
11071         (x-last-selected-text-primary, x-last-selected-text-clipboard):
11072         Declare.
11074         * term/ns-win.el (x-handle-args): Declare.
11076         * term/x-win.el (x-select-enable-clipboard): Declare.
11078         * term/w32-win.el (create-default-fontset): Declare.
11080         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
11081         Declare.
11083         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
11084         (fit-frame-to-buffer): Explicit error if --without-x.
11085         (mouse-autoselect-window-select): Silence compiler.
11087         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11089         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
11090         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
11091         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
11092         * eshell/esh-util.el (eshell-sublist):
11093         Remove unused local variables.
11095         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11097         * textmodes/two-column.el: Make 2C-split work for --without-x.
11098         (scroll-bar-columns): Autoload.
11099         (top-level): Require fringe when compiling.
11101 2013-09-18  Leo Liu  <sdl.web@gmail.com>
11103         * subr.el (add-hook): Robustify to handle closure as well.
11105 2013-09-17  Glenn Morris  <rgm@gnu.org>
11107         * simple.el (messages-buffer-mode-map): Unbind "g".
11109 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11111         * help-mode.el (help-mode-finish): Use derived-mode-p.
11112         Remove obsolete highlighting.
11114         * play/life.el (life-mode): Use define-derived-mode.  Derive from
11115         special-mode.
11116         (life): Let-bind inhibit-read-only.
11117         (life-setup): Avoid `setq'.  Use `life-mode'.
11119         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
11120         which should not be needed any more.
11121         (package-menu-refresh, package-menu-describe-package): Use user-error.
11123         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
11124         (eshell-post-rewrite-command-hook): Make obsolete.
11125         (eshell-parse-command): Simplify.
11126         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
11127         (eshell--cmd): Declare.
11128         (eshell-parse-pipeline): Remove unused var `final-p'.
11129         Pass a dynvar to eshell-post-rewrite-command-hook.
11130         Implement the new eshell-post-rewrite-command-function.
11131         (eshell-invoke-directly): Remove unused arg `input'.
11132         * eshell/esh-io.el (eshell-io-initialize):
11133         Use eshell-post-rewrite-command-function (bug#15399).
11134         (eshell--apply-redirections): Rename from eshell-apply-redirections;
11135         adjust to new calling convention.
11136         (eshell-create-handles): Rename args to avoid clashing with dynvar
11137         `standard-output'.
11139 2013-09-17  Glenn Morris  <rgm@gnu.org>
11141         * simple.el (messages-buffer-mode): New major mode.
11142         (messages-buffer): New function.
11143         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
11144         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
11145         (ert-run-test): Use `messages-buffer' function.
11146         (ert--force-message-log-buffer-truncation): Ignore read-only.
11147         * help.el (view-echo-area-messages): Use `messages-buffer' function.
11148         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11150 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11152         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11154         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11156 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11158         * icomplete.el (icomplete-in-buffer): New var.
11159         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11160         vars and replace them with functions.
11161         (icomplete-minibuffer-setup): Adjust accordingly.
11162         (icomplete--completion-table, icomplete--completion-predicate)
11163         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11164         New functions.
11165         (icomplete-forward-completions, icomplete-backward-completions)
11166         (icomplete-simple-completing-p, icomplete-exhibit)
11167         (icomplete-completions): Use them.
11168         (icomplete--in-region-buffer): New var.
11169         (icomplete--in-region-setup): New function.
11170         (icomplete-mode): Use it.
11172         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11173         (bug#15379).
11174         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11175         return args and options.
11176         (eshell-eval-using-options): Use the new return value of
11177         eshell--do-opts to set the options's vars in their scope.
11178         (eshell--set-option): Rename from eshell-set-option.
11179         Add arg `opt-vals'.
11180         (eshell--process-option): Rename from eshell-process-option.
11181         Add arg `opt-vals'.
11182         (eshell--process-args): Use an `opt-vals' alist to store the options's
11183         values during their processing and return them additionally to the
11184         remaining args.
11186 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
11188         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11189         continuation character an operator, as far as indentation is
11190         concerned (Bug#15369).
11192 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
11194         * window.el (window--state-put-2): Don't process buffer state
11195         when buffer doesn't exist any more (Bug#15382).
11197 2013-09-15  Glenn Morris  <rgm@gnu.org>
11199         * eshell/em-unix.el (eshell/rm):
11200         Make -f ignore missing files.  (Bug#15373)
11202         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
11203         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11204         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11206 2013-09-14  Glenn Morris  <rgm@gnu.org>
11208         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11210 2013-09-13  Glenn Morris  <rgm@gnu.org>
11212         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11213         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
11215 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
11217         * frame.el (x-focus-frame): Mark as declared in frame.c.
11219 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11221         * ls-lisp.el: Use advice-add.
11222         (original-insert-directory): Remove.
11223         (ls-lisp--insert-directory): Rename from insert-directory; add
11224         `orig-fun' argument.
11225         (insert-directory): Advise.
11227 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
11229         * term.el (term-emulate-terminal): Decode the command string
11230         before passing it to term-command-hook.  (Bug#15337)
11232 2013-09-13  Glenn Morris  <rgm@gnu.org>
11234         * eshell/esh-util.el (ange-cache): Move declaration earlier.
11236         * eshell/esh-ext.el (eshell-search-path): Declare.
11238         * eshell/em-prompt.el (eshell/pwd): Autoload it.
11239         Otherwise an error occurs if eshell-dirs module not loaded.
11241         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11243 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
11245         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11246         `tramp-check-proper-host'.  Check for a valid method name.
11248         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11249         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11250         * net/tramp-sh.el (tramp-maybe-open-connection):
11251         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11253         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11254         also for hash values.
11256 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11258         * term/ns-win.el (parameters): Don't declare as dynamic.
11259         (before-make-frame-hook): Don't add ineffective function.
11261         * eshell/*.el: Use lexical-binding (bug#15231).
11263 2013-09-12  Kenichi Handa  <handa@gnu.org>
11265         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11267 2013-09-12  Glenn Morris  <rgm@gnu.org>
11269         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11270         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11272         * subr.el (do-after-load-evaluation): Also give compiler warnings
11273         when obsolete files are used (except by obsolete files).
11275         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11276         in the status output, assume `filename' is the first.  (Bug#15322)
11278         * vc/vc.el (vc-deduce-fileset): Doc fix.
11280         * calc/calc-help.el (Info-goto-node):
11281         * progmodes/cperl-mode.el (Info-find-node):
11282         * vc/ediff.el (Info-goto-node): Update declarations.
11284         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11286         * vc/vc-bzr.el (vc-compilation-mode): Declare.
11287         (vc-bzr-pull): Require vc-dispatcher.
11288         * vc/vc-git.el (vc-compilation-mode): Declare.
11289         (vc-git-pull): Require vc-dispatcher.
11291         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11293         * progmodes/octave.el (help-button-action): Declare.
11295         * shell.el (shell-directory-tracker): Output error as a message
11296         rather than just returning it as a string.
11297         (shell-process-pushd): Remove useless use of message.
11299         * dframe.el (dframe-timer-fn):
11300         * files.el (dir-locals-read-from-file):
11301         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11302         (mpc-format):
11303         * reveal.el (reveal-post-command):
11304         * saveplace.el (load-save-place-alist-from-file):
11305         * shell.el (shell-resync-dirs):
11306         * w32-common-fns.el (x-get-selection-value):
11307         * emacs-lisp/copyright.el (copyright-find-copyright):
11308         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11309         * emulation/tpu-edt.el (tpu-copy-keyfile):
11310         * play/bubbles.el (bubbles--mark-neighbourhood):
11311         * progmodes/executable.el
11312         (executable-make-buffer-file-executable-if-script-p):
11313         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11315 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11317         Cleanup Eshell to rely less on dynamic scoping.
11318         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11319         last-value, and ext-command here.  Bind `args' closer to `body'.
11320         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11321         (eshell--args): Declare new dynamic var.
11322         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
11323         last-value, and ext-command.  Pass `args' to `body'.
11324         (eshell-process-args): Bind eshell--args.
11325         (eshell-set-option): Use eshell--args.
11326         * eshell/eshell.el (eshell): Use derived-mode-p.
11327         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11328         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11329         (eshell-glob-function): Declare.
11330         * eshell/esh-util.el: Require cl-lib.
11331         (eshell-read-hosts-file): Avoid add-to-list.
11332         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11333         `err'.
11334         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11335         Declare.
11336         (eshell/diff): Remove unused var `err'.
11337         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11338         `killflag'.
11339         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11340         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11341         first use.
11342         * eshell/em-glob.el (eshell-glob-matches, message-shown):
11343         Move declaration before first use.
11344         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11345         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11346         rely on cl-return.
11348 2013-09-12  Glenn Morris  <rgm@gnu.org>
11350         * term/ns-win.el (global-map): Remove binding for ispell-next,
11351         deleted 1999-05-29.  (Bug#15357)
11353 2013-09-11  Glenn Morris  <rgm@gnu.org>
11355         * echistory.el (electric-command-history): Remove call to deleted func.
11357         * play/landmark.el (landmark-mode): Fix typos.
11359         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11360         Check cvs-sort-ignore-file is bound.
11362         * savehist.el: No need for cl when compiling on Emacs.
11364 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11366         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11367         (bug#15338).
11368         (eshell-self-insert-command, eshell-send-invisible):
11369         Remove unused argument.
11370         (eshell-handle-control-codes): Remove unused var `orig'.
11371         Avoid delete-backward-char.
11373         * files.el (set-auto-mode): Simplify a bit further.
11375 2013-09-11  Glenn Morris  <rgm@gnu.org>
11377         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11378         (set-auto-mode): Don't regexp-quote elements.
11379         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11380         * progmodes/cc-mode.el (interpreter-mode-alist):
11381         * progmodes/ruby-mode.el (interpreter-mode-alist):
11382         Revert previous change.
11384 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11386         * play/snake.el (snake-mode):
11387         * play/mpuz.el (mpuz-mode):
11388         * play/landmark.el (lm-mode):
11389         * play/blackbox.el (blackbox-mode):
11390         * play/5x5.el (5x5-mode):
11391         * obsolete/options.el (Edit-options-mode):
11392         * net/quickurl.el (quickurl-list-mode):
11393         * net/newst-treeview.el (newsticker-treeview-mode):
11394         * mail/rmailsum.el (rmail-summary-mode):
11395         * mail/mspools.el (mspools-mode):
11396         * locate.el (locate-mode):
11397         * ibuffer.el (ibuffer-mode):
11398         * emulation/ws-mode.el (wordstar-mode):
11399         * emacs-lisp/debug.el (debugger-mode):
11400         * array.el (array-mode):
11401         * net/eudc.el (eudc-mode): Use define-derived-mode.
11402         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11403         Move initialization into declaration.
11404         (mairix-searches-mode): Use define-derived-mode.
11405         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11406         (eudc-edit-hotlist): Use dolist.
11407         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11408         (Man-mode): Use define-derived-mode.
11409         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11410         (Info-edit-mode): Use define-derived-mode.
11411         (Info-cease-edit): Use Info-mode.
11412         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11413         into declaration.
11414         (eshell-mode): Use define-derived-mode.
11415         * chistory.el (command-history-mode-map): Rename from
11416         command-history-map.
11417         (command-history-mode): Use define-derived-mode.
11418         (Command-history-setup): Remove function.
11419         * calc/calc.el (calc-trail-mode-map): New var.
11420         (calc-trail-mode): Use define-derived-mode.
11421         (calc-trail-buffer): Set calc-main-buffer manually.
11422         * bookmark.el (bookmark-insert-annotation): New function.
11423         (bookmark-edit-annotation): Use it.
11424         (bookmark-edit-annotation-mode): Make it a proper major mode.
11425         (bookmark-send-edited-annotation): Use derived-mode-p.
11426         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11427         closer to its ideal place.  Use \' to match EOS.
11429         * profiler.el (profiler-calltree-find): Use function-equal.
11431 2013-09-10  Glenn Morris  <rgm@gnu.org>
11433         * files.el (interpreter-mode-alist): Convert to regexps.
11434         (set-auto-mode): Adapt for this.  (Bug#15306)
11435         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11436         Comment out unused variable.
11437         * progmodes/cc-mode.el (interpreter-mode-alist):
11438         * progmodes/python.el (interpreter-mode-alist):
11439         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11440         * progmodes/sh-script.el (sh-set-shell):
11441         No longer use interpreter-mode-alist to get list of shells.
11443         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11445 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11447         * simple.el: Use set-temporary-overlay-map for universal-argument.
11448         (universal-argument-map): Don't use default-bindings (bug#15317).
11449         Bind switch-frame explicitly.  Replace universal-argument-minus with
11450         a conditional binding.
11451         (universal-argument-num-events, saved-overriding-map): Remove.
11452         (restore-overriding-map): Remove.
11453         (universal-argument--mode): Rename from save&set-overriding-map,
11454         and rewrite.
11455         (universal-argument, universal-argument-more, negative-argument)
11456         (digit-argument): Adjust accordingly.
11457         (universal-argument-minus): Remove.
11458         (universal-argument-other-key): Remove.
11460         * subr.el (with-demoted-errors): Add `format' argument.
11462 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
11464         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
11465         `tramp-cleanup-connection'.
11467         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11468         parameters KEEP-DEBUG and KEEP-PASSWORD.
11470         * net/tramp.el (tramp-file-name-handler):
11471         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11472         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11473         (tramp-maybe-open-connection):
11474         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11475         Use `tramp-cleanup-connection'.
11477         * net/tramp-sh.el (tramp-maybe-open-connection):
11478         Catch 'uname-changed inside the progress reporter.
11480 2013-09-10  Glenn Morris  <rgm@gnu.org>
11482         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
11484         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11485         returns "alternate access method" in mode (eg "-rw-r--r--.").
11487 2013-09-08  Glenn Morris  <rgm@gnu.org>
11489         * saveplace.el (load-save-place-alist-from-file):
11490         Demote errors.  (Bug#15305)
11492 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
11494         Improve compatibility with older Emacsen, and XEmacs.
11496         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11497         only if it is bound.  It isn't for XEmacs.
11498         (with-tramp-progress-reporter): Do not let-bind `result'.
11499         This yields to scoping errors in XEmacs.
11500         (tramp-handle-make-auto-save-file-name): New function, moved from
11501         tramp-sh.el.
11503         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11504         for `make-auto-save-file-name'.
11505         (tramp-adb--gnu-switches-to-ash):
11506         Use `tramp-compat-replace-regexp-in-string'.
11508         * net/tramp-cache.el (tramp-cache-print): Call
11509         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
11511         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11512         bound.  It isn't for XEmacs.
11514         * net/tramp-compat.el (tramp-compat-copy-file):
11515         Catch `wrong-number-of-arguments' error.
11516         (tramp-compat-replace-regexp-in-string): New defun.
11518         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11519         for `make-auto-save-file-name'.
11520         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11521         `copy-file'.
11522         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11523         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11524         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11526         * net/tramp-gw.el (tramp-gw-open-network-stream):
11527         Use `tramp-compat-replace-regexp-in-string'.
11529         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11530         Call `tramp-handle-make-auto-save-file-name'.
11531         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11532         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11533         (tramp-sh-file-inotifywait-process-filter):
11534         Use `tramp-compat-replace-regexp-in-string'.
11535         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11537         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11538         for `make-auto-save-file-name'.
11539         (tramp-smb-handle-copy-directory):
11540         Call `tramp-compat-replace-regexp-in-string'.
11541         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11542         (tramp-smb-handle-copy-file): Improve error message.
11543         (tramp-smb-handle-rename-file): Rename directly only in case
11544         `newname' does not exist yet.  This is a restriction of smbclient.
11545         (tramp-smb-maybe-open-connection): Rerun the function only when
11546         `auth-sources' is non-nil.
11548 2013-09-08  Kenichi Handa  <handa@gnu.org>
11550         * international/characters.el: Set category "^" (Combining) for
11551         more characters.
11553 2013-09-07  Alan Mackenzie  <acm@muc.de>
11555         Correctly fontify Java class constructors.
11556         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11557         in Java Mode.
11558         (c-recognize-typeless-decls): Set the Java value to t.
11559         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11560         While handling a "(", add a check for, effectively, Java, and handle a
11561         "typeless" declaration there.
11563 2013-09-07  Roland Winkler  <winkler@gnu.org>
11565         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11566         field subtitle for entry type book.
11568 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11570         * minibuffer.el: Make minibuffer-complete call completion-in-region
11571         rather than other way around.
11572         (completion--some, completion-pcm--find-all-completions):
11573         Don't delay signals when debugging.
11574         (minibuffer-completion-contents): Beware fields within the
11575         minibuffer contents.
11576         (completion-all-sorted-completions): Use defvar-local.
11577         (completion--do-completion, completion--cache-all-sorted-completions)
11578         (completion-all-sorted-completions, minibuffer-force-complete):
11579         Add args `beg' and `end'.
11580         (completion--in-region-1): New fun, extracted from minibuffer-complete.
11581         (minibuffer-complete): Use completion-in-region.
11582         (completion-complete-and-exit): New fun, extracted from
11583         minibuffer-complete-and-exit.
11584         (minibuffer-complete-and-exit): Use it.
11585         (completion--complete-and-exit): Rename from
11586         minibuffer--complete-and-exit.
11587         (completion-in-region--single-word): New function, extracted from
11588         minibuffer-complete-word.
11589         (minibuffer-complete-word): Use it.
11590         (display-completion-list): Make `common-substring' argument obsolete.
11591         (completion--in-region): Call completion--in-region-1 instead of
11592         minibuffer-complete.
11593         (completion-help-at-point): Pass boundaries to
11594         minibuffer-completion-help as args rather than via an overlay.
11595         (completion-pcm--string->pattern): Use `any-delim'.
11596         (completion-pcm--optimize-pattern): New function.
11597         (completion-pcm--pattern->regex): Handle `any-delim'.
11598         * icomplete.el (icomplete-forward-completions)
11599         (icomplete-backward-completions, icomplete-completions):
11600         Adjust calls to completion-all-sorted-completions and
11601         completion--cache-all-sorted-completions.
11602         (icomplete-with-completion-tables): Default to t.
11603         * emacs-lisp/crm.el (crm--current-element): Rename from
11604         crm--select-current-element.  Don't put an overlay but return the
11605         boundaries instead.
11606         (crm--completion-command): Take two new args to bind to the boundaries.
11607         (crm-completion-help): Adjust accordingly.
11608         (crm-complete): Use completion-in-region.
11609         (crm-complete-word): Use completion-in-region--single-word.
11610         (crm-complete-and-exit): Use completion-complete-and-exit.
11612 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11614         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11615         than dynamically.
11617 2013-09-06  Juri Linkov  <juri@jurta.org>
11619         * info.el (Info-display-images-node): When image file doesn't exist
11620         display text version of the image if it's provided in the Info file.
11621         Otherwise, display the location of missing image from SRC attribute.
11622         Add help-echo text property from ALT attribute.  (Bug#15279)
11624 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11626         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11627         (edit-abbrevs-mode): Use define-derived-mode.
11629         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11630         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11631         that it's defined.
11632         (epa-key-list-mode, epa-key-mode, epa-info-mode):
11633         Use define-derived-mode.
11635         * epg.el (epg-start-encrypt): Minor CSE simplification.
11637 2013-09-06  William Xu  <william.xwl@gmail.com>
11639         * arc-mode.el: Add support for 7za (bug#15264).
11640         (archive-7z-program): New var.
11641         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11642         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11643         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11645 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
11647         Remove URL syntax.
11649         * net/tramp.el (tramp-syntax, tramp-prefix-format)
11650         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11651         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11652         (tramp-postfix-host-format, tramp-file-name-regexp)
11653         (tramp-completion-file-name-regexp)
11654         (tramp-completion-dissect-file-name)
11655         (tramp-handle-substitute-in-file-name): Remove 'url case.
11656         (tramp-file-name-regexp-url)
11657         (tramp-completion-file-name-regexp-url): Remove constants.
11659 2013-09-06  Glenn Morris  <rgm@gnu.org>
11661         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
11663 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
11665         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11666         keywords" below "here-doc beginnings" (Bug#15270).
11668 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11670         * subr.el (pop): Use `car-safe'.
11671         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11672         to detect unused `pop' return value.
11674         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11675         var `block-regexp'.
11676         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11677         (python-fill-string): Remove unused var `marker'.
11678         (python-skeleton-add-menu-items): Remove unused var `items'.
11680         * international/mule-cmds.el: Require CL.
11681         (find-coding-systems-for-charsets): Avoid add-to-list.
11682         (sanitize-coding-system-list): New function, extracted from
11683         select-safe-coding-system-interactively.
11684         (select-safe-coding-system-interactively): Use it.
11685         (read-input-method-name): Accept symbols for `default'.
11687         * emacs-lisp/advice.el (defadvice): Add indent rule.
11689 2013-09-05  Daniel Hackney  <dan@haxney.org>
11691         * dired-x.el:
11692         * net/ange-ftp.el:
11693         * net/browse-url.el:
11694         * net/dbus.el:
11695         * net/eudc.el:
11696         * net/eudcb-ldap.el:
11697         * net/eww.el:
11698         * net/imap.el:
11699         * printing.el:
11700         * vc/ediff-diff.el:
11701         * vc/ediff-init.el:
11702         * vc/ediff-merg.el:
11703         * vc/ediff-mult.el:
11704         * vc/ediff-util.el:
11705         * vc/ediff-wind.el:
11706         * vc/ediff.el:
11707         * vc/emerge.el:
11708         * vc/pcvs.el:
11709         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11710         byte compiler.  Remove some unused let-bound variables.
11712 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11714         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11715         a "ref-cell", since it gets better optimized (bug#14883).
11717 2013-09-05  Glenn Morris  <rgm@gnu.org>
11719         * progmodes/cc-awk.el (c-forward-sws): Declare.
11721 2013-09-04  Glenn Morris  <rgm@gnu.org>
11723         * generic-x.el [rul-generic-mode]: Require cc-mode.
11724         (c++-mode-syntax-table): Declare.
11725         (rul-generic-mode-syntax-table): Init in the defvar.
11727 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11729         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11730         (vc-do-command, vc-set-async-update):
11731         * vc/vc-mtn.el (vc-mtn-dir-status):
11732         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11733         (vc-hg-pull, vc-hg-merge-branch):
11734         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11735         (vc-git-merge-branch):
11736         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11737         (vc-cvs-dir-status-files):
11738         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11739         (vc-bzr-dir-status-files):
11740         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11741         * vc/vc-annotate.el: Use lexical-binding.
11742         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11743         (vc-sentinel-movepoint): Declare.
11744         (vc-annotate): Don't use `goto-line'.
11745         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11746         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11747         (vc-sentinel-movepoint): Declare.
11748         * vc/vc-svn.el: Use lexical-binding.
11749         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11750         * vc/vc-sccs.el:
11751         * vc/vc-rcs.el: Use lexical-binding.
11753         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11754         `deleted'.  Don't drop errors silently.
11756         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11758 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
11760         * vc/vc.el (vc-ignore): Rewrite.
11761         (vc-default-ignore): New function.
11762         (vc-default-ignore-completion-table): Use find-ignore-file.
11764         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11765         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11766         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11767         Remove.  Most code moved to vc.el.
11769 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11771         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11772         * net/tramp-smb.el (tramp-smb-get-file-entries):
11773         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11774         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11776         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
11777         Update call to it.
11778         (eww-change-select): Remove unused var `properties'.
11779         (eww-make-unique-file-name): Remove unused var `base'.
11781         * finder.el (finder-compile-keywords): Don't mess with windows.
11783         * calculator.el (calculator-funcall): Fix typo in last change.
11785         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
11787         * emacs-lisp/package.el (package-activate-1): Don't let a missing
11788         <pkg>-autoloads.el file stop us.
11790         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
11791         warnings, and factor out common code.
11793 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
11795         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
11796         two-character operators and whether the character preceding them
11797         changes their meaning (Bug#15208).
11799 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11801         Format code sent to Python shell for robustness.
11802         * progmodes/python.el (python-shell-buffer-substring):
11803         New function.
11804         (python-shell-send-region, python-shell-send-buffer): Use it.
11806 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
11808         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11809         * net/tramp.el (tramp-user-error): ... here.
11810         (tramp-find-method, tramp-check-proper-host)
11811         (tramp-dissect-file-name, tramp-debug-message)
11812         (tramp-handle-shell-command):
11813         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11814         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11816         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11818 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
11820         * avoid.el (mouse-avoidance-point-position)
11821         (mouse-avoidance-too-close-p): Handle case where posn-at-point
11822         returns nil.
11824 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11826         * progmodes/python.el (python-shell-completion-get-completions):
11827         Drop use of deleted `comint-last-prompt-overlay'.
11828         (python-nav-if-name-main): New command.
11830 2013-09-01  Glenn Morris  <rgm@gnu.org>
11832         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11833         Avoid leading space in $wins.  Otherwise the sed command used by
11834         eg compile-main ends up containing "/*.el".  (Bug#15170)
11836         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
11838 2013-08-30  Glenn Morris  <rgm@gnu.org>
11840         * emacs-lisp/bytecomp.el (byte-recompile-directory):
11841         Fix is-this-a-directory logic.  (Bug#15220)
11843 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11845         * textmodes/css-mode.el: Use SMIE.
11846         (css-smie-grammar): New var.
11847         (css-smie--forward-token, css-smie--backward-token)
11848         (css-smie-rules): New functions.
11849         (css-mode): Use them.
11850         (css-navigation-syntax-table): Remove var.
11851         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11852         (css-indent-calculate, css-indent-line): Remove functions.
11854         Misc changes to reduce use of `(lambda...); and other cleanups.
11855         * cus-edit.el: Use lexical-binding.
11856         (customize-push-and-save, customize-apropos)
11857         (custom-buffer-create-internal): Use closures.
11858         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11859         * progmodes/ada-xref.el: Use setq.
11860         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11861         * dframe.el: Use lexical-binding.
11862         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
11863         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11864         * descr-text.el: Use lexical-binding.
11865         (describe-text-widget, describe-text-sexp, describe-property-list):
11866         Use closures.
11867         * comint.el (comint-history-isearch-push-state): Use a closure.
11868         * calculator.el: Use lexical-binding.
11869         (calculator-number-to-string): Make it work with lexical-binding.
11870         (calculator-funcall): Same and use cl-letf.
11872         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11873         (lisp--company-doc-string, lisp--company-location): New functions.
11874         (lisp-completion-at-point): Use them to improve Company support.
11876         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11877         params of lambda expressions.
11878         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11879         (ruby-smie--opening-pipe-p): New function.
11880         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11881         symbols and matched |...| for formal params.
11882         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11883         from being treated as hanging.  Handle "rescue".
11885 2013-08-29  Glenn Morris  <rgm@gnu.org>
11887         * progmodes/cc-engine.el (c-pull-open-brace):
11888         Move definition before use.
11890 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11892         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11893         are immutable.  Don't use `unsafe' any more.
11894         (cl--defsubst-expand): Don't substitute at the same time as keeping
11895         a residual unused let-binding.  Don't use `unsafe' any more.
11897 2013-08-29  Glenn Morris  <rgm@gnu.org>
11899         * calendar/cal-china.el (calendar-chinese-year-cache):
11900         Recenter on 2015.
11902         * nxml/nxml-util.el (nxml-debug-clear-inside):
11903         Use cl-loop rather than loop.
11905         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11907         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11909 2013-08-28  Glenn Morris  <rgm@gnu.org>
11911         * progmodes/antlr-mode.el: No need to require cc-mode twice.
11913         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11915         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11917 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11919         * simple.el (repeat-complex-command--called-interactively-skip):
11920         New function.
11921         (repeat-complex-command): Use it (bug#14136).
11923         * progmodes/cc-mode.el: Minor cleanup of var declarations.
11924         (c-define-abbrev-table): Add `doc' argument.
11925         (c-mode-abbrev-table, c++-mode-abbrev-table)
11926         (objc-mode-abbrev-table, java-mode-abbrev-table)
11927         (idl-mode-abbrev-table, pike-mode-abbrev-table)
11928         (awk-mode-abbrev-table): Use it.
11929         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11930         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11931         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11932         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11933         Move initialization into the declaration; and remove any
11934         autoload cookie.
11936         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11937         and dynamic let binding.
11939         * vc/smerge-mode.el: Remove redundant :group args.
11941         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11942         to load-path.
11944 2013-08-28  Juri Linkov  <juri@jurta.org>
11946         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11947         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11948         (isearch-other-meta-char): Handle an undefined shifted printing
11949         character by downshifting it.  (Bug#15200)
11951 2013-08-28  Juri Linkov  <juri@jurta.org>
11953         * isearch.el (isearch-search): Change regexp error message for
11954         non-regexp searches.  (Bug#15166)
11956 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
11958         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11959         for portability to hosts where /bin/sh has problems.
11961 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11963         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11965 2013-08-27  Juri Linkov  <juri@jurta.org>
11967         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11968         in the keyboard macro.  (Bug#15126)
11970 2013-08-27  Juri Linkov  <juri@jurta.org>
11972         * isearch.el (isearch-quote-char): Comment out converting unibyte
11973         to multibyte, thus syncing with its `quoted-insert' counterpart.
11974         (Bug#15166)
11976 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
11978         * window.el (display-buffer-use-some-window): Add missing
11979         argument in call of get-largest-window (Bug#15185).
11980         Reported by Stephen Leake.
11982 2013-08-27  Glenn Morris  <rgm@gnu.org>
11984         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11986 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11988         * progmodes/python.el (python-font-lock-keywords): Don't return nil
11989         from a matcher-function unless there's no more matches (bug#15161).
11991 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11993         * minibuffer.el: Revert change from 2013-08-20.
11995         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11996         with text property `tramp-default', if appropriate.
11997         (tramp-check-proper-host): New defun.
11998         (tramp-dissect-file-name): Do not check hostname.  Revert change
11999         of 2013-03-18.
12000         (tramp-backtrace): Make VEC-OR-PROC optional.
12002         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12003         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12004         * net/tramp-sh.el (tramp-maybe-open-connection):
12005         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12006         Apply `tramp-check-proper-host'.
12008 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
12010         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
12011         lambda expression in order to have `describe-variable' display it.
12013 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
12015         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
12016         BUF can be optional.  (Bug#15186)
12018 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
12020         * progmodes/flymake.el (flymake-get-real-file-name-function):
12021         Fix broken customization.  (Bug#15184)
12023 2013-08-25  Alan Mackenzie  <acm@muc.de>
12025         Improve indentation of bracelists defined by macros (without "=").
12027         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
12028         expansion begins with "{", regard it as bracelist when it doesn't
12029         contain a ";".
12031         Parse C++ inher-intro when there's a template split over 2 lines.
12033         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
12034         rigorously the search for "class" etc. followed by ":".
12036         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
12037         random languages a regexp which never matches rather than nil.
12039         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
12041         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
12042         (c-awk-regexp-one-line-possibly-open-char-list-re)
12043         (c-awk-one-line-possibly-open-regexp-re)
12044         (c-awk-one-line-non-syn-ws*-re): Remove.
12045         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
12046         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
12047         (c-awk-space*-unclosed-regexp-/-re): New constants.
12048         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
12049         aren't regexp delimiters.
12051         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
12052         handling for a rare situation in AWK Mode involving unterminated
12053         strings/regexps.
12055 2013-08-23  Glenn Morris  <rgm@gnu.org>
12057         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
12059         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
12061         * files.el (create-file-buffer): If the result would begin with
12062         spaces, prepend a "|" instead of removing them.  (Bug#15162)
12064 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12066         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
12067         text-properties (bug#15155).
12069         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
12070         exist any more.
12071         (calc-keypad-redraw): Remove unused var `pad'.
12072         (calc-keypad-press): Remove unused var `menu'.
12074 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
12076         * window.el (display-buffer-pop-up-frame):
12077         Call pop-up-frame-function with BUFFER current so `make-frame' will
12078         use it as the new frame's buffer (Bug#15133).
12080 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12082         * calendar/timeclock.el: Minor cleanups.
12083         (timeclock-ask-before-exiting, timeclock-use-display-time):
12084         Use `symbol'.
12085         (timeclock-modeline-display): Define as alias before the
12086         actual definition.
12087         (timeclock-mode-line-display): Use define-minor-mode.
12088         (timeclock-day-list-template): Make it a function, add an argument.
12089         (timeclock-day-list-required, timeclock-day-list-length)
12090         (timeclock-day-list-debt, timeclock-day-list-span)
12091         (timeclock-day-list-break): Adjust calls accordingly.
12093 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12095         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
12096         Use read--expression so that completion works again.
12098 2013-08-21  Sam Steingold  <sds@gnu.org>
12100         Add rudimentary inferior shell interaction
12101         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
12102         (sh-set-shell): Reset it.
12103         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
12104         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
12106 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12108         * align.el: Use lexical-binding.
12109         (align-region): Simplify accordingly.
12111 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
12113         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
12115         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
12116         `non-essential' up.
12118 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
12120         * net/tramp.el:
12121         * net/tramp-adb.el:
12122         * net/tramp-cmds.el:
12123         * net/tramp-ftp.el:
12124         * net/tramp-gvfs.el:
12125         * net/tramp-gw.el:
12126         * net/tramp-sh.el: Don't wrap external variable declarations by
12127         `eval-when-compile'.
12129 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12131         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
12132         now that Emacs supports ImageMagick animations.
12134 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
12136         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
12137         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
12139 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
12141         * window.el (mouse-autoselect-window-select): Do autoselect when
12142         mouse pointer is on margin.
12144 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
12146         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
12148 2013-08-16  Glenn Morris  <rgm@gnu.org>
12150         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12151         Handle "Remote Directory" response of some clients.  (Bug#15058)
12153         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12154         Tweak warning.  (Bug#14926)
12156         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12157         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
12159         * image-mode.el (image-mode-map): Add menu items to reverse,
12160         increase, decrease, reset animation speed.
12161         (image--set-speed, image-increase-speed, image-decrease-speed)
12162         (image-reverse-speed, image-reset-speed): New functions.
12163         (image-mode-map): Add bindings for speed commands.
12165         * image.el (image-animate-get-speed, image-animate-set-speed):
12166         New functions.
12167         (image-animate-timeout): Respect image :speed property.
12169 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12171         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12172         previous line (bug#15101).
12173         (debugger-eval-expression, debugger-record-expression):
12174         Use read--expression (bug#15102).
12176 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
12178         Remove byte compiler warnings, visible when compiling with
12179         `byte-compile-force-lexical-warnings' set to t.
12181         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12182         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12183         (tramp-handle-unhandled-file-name-directory)
12184         (tramp-handle-file-notify-add-watch, tramp-action-login)
12185         (tramp-action-succeed, tramp-action-permission-denied)
12186         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12187         arguments with "_".
12189         * net/tramp-adb.el (tramp-adb-parse-device-names)
12190         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12191         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12192         (tramp-adb-handle-file-truename): Remove unused arguments.
12194         * net/tramp-cache.el (tramp-flush-directory-property)
12195         (tramp-flush-connection-property, tramp-list-connections)
12196         (tramp-parse-connection-properties): Prefix unused arguments with "_".
12198         * net/tramp-compat.el (tramp-compat-make-temp-file):
12199         Rename FILENAME to F.
12201         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12202         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12203         (tramp-zeroconf-parse-workstation-device-names)
12204         (tramp-zeroconf-parse-webdav-device-names)
12205         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12207         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12208         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12210         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12211         arguments.
12212         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12213         (tramp-sh-handle-insert-file-contents-literally)
12214         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12215         with "_".
12216         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12217         Remove unused variables.
12219         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12220         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12221         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12223         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12224         Make them a defconst.
12225         (tramp-uuencode-region): Remove unused variable.
12227 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
12229         * frameset.el (frameset--prop-setter): New function.
12230         (frameset-prop): Add gv-setter declaration.
12231         (frameset-filter-minibuffer): Deal with the case that the minibuffer
12232         parameter was already set in FILTERED.  Doc fix.
12233         (frameset--record-minibuffer-relationships): Allow saving a
12234         minibufferless frame without its corresponding minibuffer frame.
12235         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12236         frame, if the frame id matches.
12237         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12238         frames before orphaned ones.
12239         (frameset-restore): Warn about orphaned windows, instead of error out.
12241 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
12243         * window.el (window-make-atom): Don't overwrite parameter
12244         already present.
12245         (display-buffer-in-atom-window): Handle special case where we
12246         split an already atomic window.
12247         (window--major-non-side-window, display-buffer-in-side-window)
12248         (window--side-check): Ignore minibuffer window when walking
12249         window tree.
12250         (window-deletable-p): Return 'frame only if no other frame uses
12251         our minibuffer window.
12252         (record-window-buffer): Run buffer-list-update-hook.
12253         (split-window): Make sure window--check-frame won't destroy an
12254         existing atomic window in case the new window gets nested
12255         inside.
12256         (display-buffer-at-bottom): Ignore minibuffer window when
12257         walking window tree.  Don't split a side window.
12258         (pop-to-buffer): Don't set-buffer here, the select-window call
12259         should do that.
12260         (mouse-autoselect-window-select): Autoselect only if we are in the
12261         text portion of the window.
12263 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12265         * net/shr.el (shr-parse-image-data): New function to grab both the
12266         data itself and the Content-Type.
12267         (shr-put-image): Use it.
12269         * net/eww.el (eww-display-image): Ditto.
12271         * image.el (image-content-type-suffixes): New variable.
12273 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12275         * progmodes/python.el (python-imenu--build-tree)
12276         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12278 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
12280         * simple.el (backward-word): Mention the optional argument.
12282 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12284         * frameset.el (frameset--make): Rename constructor from make-frameset.
12285         (frameset-p, frameset-valid-p): Don't autoload.
12286         (frameset-valid-p): Use normal accessors.
12288 2013-08-13  Glenn Morris  <rgm@gnu.org>
12290         * progmodes/compile.el (compile-command): Tweak example in doc.
12291         * obsolete/scribe.el (scribe-mode):
12292         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
12294         * mail/feedmail.el (feedmail-confirm-outgoing)
12295         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12297         * cus-start.el (truncate-partial-width-windows): Fix type.
12299         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12301         * net/shr.el (shr-table-horizontal-line): Fix custom type.
12303 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12305         * emacs-lisp/timer.el (timer--time-setter): New function.
12306         (timer--time): Use it as gv-setter.
12308         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12309         setter is not a symbol.
12311 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
12313         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12314         if sending fails.  This makes debugging easier.
12316 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
12318         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12319         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12320         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12322 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
12324         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12326 2013-08-12  Glenn Morris  <rgm@gnu.org>
12328         * format.el (format-annotate-function):
12329         Handle read-only text properties in the source.  (Bug#14887)
12331 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12333         * net/eww.el (eww-display-html): Ignore coding system errors.
12334         One web site uses "utf-8lias" as the coding system.
12336 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
12338         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12340 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
12342         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12343         (tutorial--detailed-help): Remove unused local variables.
12344         (tutorial--save-tutorial-to): Use ignore-errors.
12345         (help-with-tutorial): Use looking-at-p.
12347         * view.el (view-buffer-other-window, view-buffer-other-frame):
12348         Mark unused arguments.
12350         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12351         (woman-select-symbol-fonts, woman, woman-find-file)
12352         (woman-insert-file-contents, woman-non-underline-faces):
12353         Use string-match-p.
12354         (woman1-unquote): Move declaration.
12356         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12357         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
12358         argument.  Remove unused local variable.
12359         (xml-parse-elem-type): Use string-match-p.
12360         (xml-substitute-numeric-entities): Use ignore-errors.
12362         * calculator.el (calculator): Mark unused argument.
12363         (calculator-paste, calculator-quit, calculator-integer-p):
12364         Use ignore-errors.
12365         (calculator-string-to-number, calculator-decimal, calculator-exp)
12366         (calculator-op-or-exp): Use string-match-p.
12368         * dired.el (dired-buffer-more-recently-used-p): Declare.
12369         (dired-insert-set-properties, dired-insert-old-subdirs):
12370         Use ignore-errors.
12372         * dired-aux.el (dired-compress): Use ignore-errors.
12373         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12374         (dired-do-async-shell-command, dired-do-shell-command)
12375         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12376         (dired-insert-subdir-validate): Use string-match-p.
12377         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12378         (dired-add-entry): Use string-match-p, looking-at-p.
12379         (dired-insert-subdir-newpos): Remove unused local variable.
12381         * filenotify.el (file-notify-callback): Remove unused local variable.
12383         * filesets.el (filesets-error): Mark unused argument.
12384         (filesets-which-command-p, filesets-filter-dir-names)
12385         (filesets-directory-files, filesets-get-external-viewer)
12386         (filesets-ingroup-get-data): Use string-match-p.
12388         * find-file.el (ff-other-file-name, ff-other-file-name)
12389         (ff-find-the-other-file, ff-cc-hh-converter):
12390         Remove unused local variables.
12391         (ff-get-file-name): Use string-match-p.
12392         (ff-all-dirs-under): Use ignore-errors.
12394         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12395         (follow-select-if-visible): Remove unused local variable.
12397         * forms.el (read-file-filter): Move declaration.
12398         (forms--make-format, forms--make-parser, forms-insert-record):
12399         Quote function with #'.
12400         (forms--update): Use string-match-p.  Quote function with #'.
12402         * help-mode.el (help-dir-local-var-def): Mark unused argument.
12403         (help-make-xrefs): Use looking-at-p.
12404         (help-xref-on-pp): Use looking-at-p, ignore-errors.
12406         * ibuffer.el (ibuffer-ext-visible-p): Declare.
12407         (ibuffer-confirm-operation-on): Use string-match-p.
12409         * msb.el (msb-item-handler, msb-dired-item-handler):
12410         Mark unused arguments.
12412         * ses.el (ses-decode-cell-symbol)
12413         (ses-kill-override): Remove unused local variable.
12414         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12415         (ses-load): Use ignore-errors, looking-at-p.
12416         (ses-jump-safe): Use ignore-errors.
12417         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12419         * tabify.el (untabify, tabify): Mark unused arguments.
12421         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12422         Mark unused argument.
12423         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12424         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12426         * emacs-lisp/timer.el (timer--time): Define setter with
12427         gv-define-setter to avoid deprecation warning.
12429         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12430         (*record-cmpl-statistics-p*): Remove (was commented out).
12431         (cmpl-statistics-block): Remove (body was commented out).
12432         All callers changed.
12433         (add-completions-from-buffer, load-completions-from-file):
12434         Remove unused variables.
12436 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
12438         * filecache.el (file-cache-delete-file-list):
12439         Print message only when told so.
12440         (file-cache-files-matching): Use #' in mapconcat argument.
12442         * ffap.el (ffap-url-at-point): Fix reference to variable
12443         thing-at-point-default-mail-uri-scheme.
12445 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12447         * subr.el (define-error): New function.
12448         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12449         error-file-not-found and define with define-error.
12450         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12451         and define with define-error.
12452         * userlock.el (file-locked, file-supersession):
12453         * simple.el (mark-inactive):
12454         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12455         * progmodes/ada-mode.el (ada-mode-errors):
12456         * play/life.el (life-extinct):
12457         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12458         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12459         * nxml/rng-util.el (rng-error):
12460         * nxml/rng-uri.el (rng-uri-error):
12461         * nxml/rng-match.el (rng-compile-error):
12462         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12463         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12464         * nxml/nxml-rap.el (nxml-scan-error):
12465         * nxml/nxml-outln.el (nxml-outline-error):
12466         * net/soap-client.el (soap-error):
12467         * net/gnutls.el (gnutls-error):
12468         * net/ange-ftp.el (ftp-error):
12469         * mpc.el (mpc-proc-error):
12470         * json.el (json-error, json-readtable-error, json-unknown-keyword)
12471         (json-number-format, json-string-escape, json-string-format)
12472         (json-key-format, json-object-format):
12473         * jka-compr.el (compression-error):
12474         * international/quail.el (quail-error):
12475         * international/kkc.el (kkc-error):
12476         * emacs-lisp/ert.el (ert-test-failed):
12477         * calc/calc.el (calc-error, inexact-result, math-overflow)
12478         (math-underflow):
12479         * bookmark.el (bookmark-error-no-filename):
12480         * epg.el (epg-error): Define with define-error.
12482         * time.el (display-time-event-handler)
12483         (display-time-next-load-average): Don't call sit-for since it seems
12484         unnecessary (bug#15045).
12486         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12487         Use #' instead of ' to quote functions.
12488         (checkdoc-output-mode): Use setq-local.
12489         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12490         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12491         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12492         (checkdoc-ispell, checkdoc-ispell-current-buffer)
12493         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12494         (checkdoc-ispell-message-text, checkdoc-ispell-start)
12495         (checkdoc-ispell-continue, checkdoc-ispell-comments)
12496         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12498         * ido.el (ido-completion-help): Fix up compiler warning.
12500 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
12502         * frameset.el (frameset-p): Add autoload cookie.
12503         (frameset--jump-to-register): New function, based on code moved from
12504         register.el.
12505         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
12507         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12508         (frameset-restore, frameset-save, frameset-session-filter-alist):
12509         Remove declarations.
12510         (register-alist): Doc fix.
12511         (frameset-to-register): Move to frameset.el.
12512         (jump-to-register, describe-register-1): Remove frameset-specific code.
12514 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12516         * allout-widgets.el (allout-widgets-pre-command-business)
12517         (allout-widgets-post-command-business)
12518         (allout-widgets-after-change-handler)
12519         (allout-decorate-item-and-context, allout-set-boundary-marker)
12520         (allout-body-modification-handler)
12521         (allout-graphics-modification-handler): Mark ignored arguments.
12522         (allout-widgets-post-command-business)
12523         (allout-widgets-exposure-change-processor)
12524         (allout-widgets-exposure-undo-processor)
12525         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12526         (allout-parse-item-at-point, allout-decorate-item-guides)
12527         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12528         * allout.el (epa-passphrase-callback-function): Declare.
12529         (allout-overlay-insert-in-front-handler)
12530         (allout-overlay-interior-modification-handler)
12531         (allout-isearch-end-handler, allout-chart-siblings)
12532         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12533         (allout-yank-processing, allout-process-exposed)
12534         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12535         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12536         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12537         (lisp-indent-defform): Mark ignored arguments.
12538         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
12539         (calculate-lisp-indent): Remove unused variables.
12540         * international/characters.el (indian-2-column, arabic-2-column)
12541         (tibetan): Mark ignored arguments.
12542         (use-cjk-char-width-table): Mark ignored arguments.
12543         Remove unused variables.
12544         * international/fontset.el (build-default-fontset-data)
12545         (x-compose-font-name, create-fontset-from-fontset-spec):
12546         Mark ignored arguments.
12547         (fontset-plain-name): Remove unused variables.
12548         * international/mule.el (charset-id, charset-bytes, generic-char-p)
12549         (keyboard-coding-system): Mark ignored arguments.
12550         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
12551         * help.el (resize-temp-buffer-window):
12552         * window.el (display-buffer-in-major-side-window)
12553         (display-buffer-in-side-window, display-buffer-in-previous-window):
12554         Remove unused variables.
12555         * isearch.el (isearch-forward-symbol):
12556         * version.el (emacs-bzr-version-bzr):
12557         * international/mule-cmds.el (current-language-environment):
12558         * term/common-win.el (x-handle-iconic, x-handle-geometry)
12559         (x-handle-display):
12560         * term/pc-win.el (x-list-fonts, x-display-planes)
12561         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12562         (x-server-version, x-display-screens, x-display-mm-height)
12563         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12564         (x-selection-owner-p, x-own-selection-internal)
12565         (x-disown-selection-internal, x-get-selection-internal)
12566         (msdos-initialize-window-system):
12567         * term/tty-colors.el (tty-color-alist, tty-color-clear):
12568         * term/x-win.el (x-handle-no-bitmap-icon):
12569         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12570         (vc-default-find-file-hook, vc-default-extra-menu):
12571         Mark ignored arguments.
12573 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12575         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12576         break-condition in the context of the debugged code (bug#12685).
12578 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
12580         * comint.el:
12581         Do not use an overlay to highlight the last prompt.  (Bug#14744)
12582         (comint-mode): Make comint-last-prompt buffer local.
12583         (comint-last-prompt): New variable.
12584         (comint-last-prompt-overlay): Remove.  Superseded by
12585         comint-last-prompt.
12586         (comint-snapshot-last-prompt, comint-output-filter):
12587         Use comint-last-prompt.
12589 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12591         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
12592         (frameset-save): Check validity of the resulting frameset.
12594 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
12596         * ido.el (ido-record-command): Add doc string.
12598 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12600         * frameset.el (frameset): Do not disable creation of the default
12601         frameset-p predicate.  Doc fix.
12602         (frameset-valid-p): New function, copied from the old predicate-p.
12603         Add additional checks.
12604         (frameset-restore): Check with frameset-valid-p.
12605         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12606         (frameset-name, frameset-description, frameset-properties)
12607         (frameset-states): Add docstring.
12608         (frameset-session-filter-alist, frameset-persistent-filter-alist)
12609         (frameset-filter-alist): Doc fixes.
12611 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12613         * frameset.el (frameset-p, frameset-prop): Doc fixes.
12615 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12617         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12618         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12619         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12620         (byte-compile-normal-call): Remove obsolescence check.
12622 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12624         * frameset.el (frameset-restore): Doc fix.
12626         * register.el (frameset-frame-id, frameset-frame-with-id)
12627         (frameset-p, frameset-restore, frameset-save): Declare.
12628         (register-alist): Document framesets.
12629         (frameset-session-filter-alist): Declare.
12630         (frameset-to-register): New function.
12631         (jump-to-register): Implement jumping to framesets.  Doc fix.
12632         (describe-register-1): Describe framesets.
12634         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12636 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
12638         * desktop.el (desktop-save-frameset): Use new frameset-save args.
12639         Use lexical-binding.
12641         * frameset.el (frameset): Use type vector, not list (incompatible
12642         change).  Do not declare a new constructor, use the default one.
12643         Upgrade suggested properties `app', `name' and `desc' to slots `app',
12644         `name' and `description', respectively, and add read-only slot
12645         `timestamp'.  Doc fixes.
12646         (frameset-copy, frameset-persistent-filter-alist)
12647         (frameset-filter-alist, frameset-switch-to-gui-p)
12648         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12649         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12650         (frameset-filter-iconified, frameset-keep-original-display-p):
12651         Doc fixes.
12652         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12653         Rename from frameset-filter-(save|restore)-param.  All callers changed.
12654         Doc fix.
12655         (frameset-p): Adapt to change to vector and be more thorough.
12656         Change arg name to OBJECT.  Doc fix.
12657         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
12658         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12659         All callers changed.
12660         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12661         All callers changed.
12662         (frameset--record-minibuffer-relationships): Rename from
12663         frameset--process-minibuffer-frames.  All callers changed.
12664         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12665         Use new default constructor (again).  Doc fix.
12666         (frameset--find-frame-if): Rename from `frameset--find-frame'.
12667         All callers changed.
12668         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12669         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12670         Doc fix.
12671         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12672         PARAMETERS and WINDOW-STATE, respectively.
12673         (frameset-restore): Add new keyword argument PREDICATE.
12674         Reset frameset--target-display to nil.  Doc fix.
12676 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12678         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12679         (bat-mode): Use it.
12680         (bat-mode-syntax-table): Mark \n as end-of-comment.
12681         (bat-font-lock-keywords): Remove comment rule.
12683         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
12684         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
12686         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12687         (byte-compile-callargs-warn): Use `push'.
12688         (byte-compile-arglist-warn): Ignore higher-order "calls".
12689         (byte-compile-file-form-autoload): Use `pcase'.
12690         (byte-compile-function-form): If quoting a symbol, check that it exists.
12692 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
12694         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12695         and add a few popular commands found in batch files.
12696         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12697         (dos-mode): Doc fixes.
12699 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12701         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12702         (dos-mode): Use setq-local.  Add space after "rem".
12703         (dos-mode-syntax-table): Don't use "w" for symbol chars.
12704         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12706 2013-08-07  Arni Magnusson  <arnima@hafro.is>
12708         * progmodes/dos.el: New file.
12709         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12710         dos-mode.
12712 2013-08-06  Glenn Morris  <rgm@gnu.org>
12714         * calendar/calendar.el: Add new faces, and day-header-array.
12715         (calendar-weekday-header, calendar-weekend-header)
12716         (calendar-month-header): New faces.
12717         (calendar-day-header-construct): New function.
12718         (calendar-day-header-width): Also :set calendar-day-header-array.
12719         (calendar-american-month-header, calendar-european-month-header)
12720         (calendar-iso-month-header): Use calendar- faces.
12721         (calendar-generate-month):
12722         Use calendar-day-header-array for day headers; apply faces to them.
12723         (calendar-mode): Check calendar-font-lock-keywords non-nil.
12724         (calendar-abbrev-construct): Add optional maxlen argument.
12725         (calendar-day-name-array): Doc fix.
12726         (calendar-day-name-array, calendar-abbrev-length)
12727         (calendar-day-abbrev-array):
12728         Also :set calendar-day-header-array, and maybe redraw.
12729         (calendar-day-header-array): New option.  (Bug#15007)
12730         (calendar-font-lock-keywords): Set to nil and make obsolete.
12731         (calendar-day-name): Add option to use header array.
12733 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12735         * net/shr.el (shr-render-td): Remove debugging.
12736         (shr-render-td): Make width computation consistent by defaulting
12737         all zero-width columns to 10 characters.  This may not be optimal,
12738         but it's at least consistent.
12739         (shr-make-table-1): Redo last change to fix the real problem in
12740         colspan handling.
12742 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
12744         * files.el (cache-long-line-scans):
12745         Make obsolete alias to `cache-long-scans'.
12747 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
12749         * frameset.el (frameset, frameset-filter-alist)
12750         (frameset-filter-params, frameset-save, frameset--reuse-frame)
12751         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12752         (frameset-compute-pos): Rename from frameset--compute-pos,
12753         and add docstring.
12754         (frameset-move-onscreen): Use frameset-compute-pos.
12755         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12757         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12758         Fix typos in docstrings.
12760 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
12762         * frame.el (get-other-frame): Tiny cleanup.
12764 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
12766         * vc/vc.el (vc-default-ignore-completion-table):
12767         Silence byte-compiler warning.
12769         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12770         slot, which can indeed be nil.
12771         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12772         Move entry for `left' from persistent to live filter alist.
12773         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12774         Doc fixes.
12775         (frameset-filter-params): When restoring a frame, copy items added to
12776         `filtered', to avoid unwittingly modifying the original parameters.
12777         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
12778         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
12780         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
12781         to use looking-at-p instead of looking-at.  (Bug#15028)
12783 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12785         Revert introduction of isearch-filter-predicates (bug#14714).
12786         Rely on add-function instead.
12787         * isearch.el (isearch-filter-predicates): Rename it back to
12788         isearch-filter-predicate.
12789         (isearch-message-prefix): Use advice-function-mapc and advice
12790         properties to get the isearch-message-prefix.
12791         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
12792         instead of run-hook-with-args-until-failure.
12793         (isearch-filter-visible): Not obsolete any more.
12794         * loadup.el: Preload nadvice.
12795         * replace.el (perform-replace): Revert to funcall
12796         instead of run-hook-with-args-until-failure.
12797         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12798         * dired-aux.el (dired-isearch-filenames-mode): Rename from
12799         dired-isearch-filenames-toggle; make it into a proper minor mode.
12800         Use add/remove-function.
12801         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12802         Call the minor-mode rather than add/remove-hook.
12803         (dired-isearch-filter-filenames):
12804         Remove isearch-message-prefix property.
12805         * info.el (Info--search-loop): New function, extracted from Info-search.
12806         Funcall isearch-filter-predicate instead of
12807         run-hook-with-args-until-failure isearch-filter-predicates.
12808         (Info-search): Use it.
12809         (Info-mode): Use isearch-filter-predicate instead of
12810         isearch-filter-predicates.
12812 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12814         Do not call to `selected-window' where it is assumed by default.
12815         Affected functions are `window-minibuffer-p', `window-dedicated-p',
12816         `window-hscroll', `window-width', `window-height', `window-buffer',
12817         `window-frame', `window-start', `window-point', `next-window'
12818         and `window-display-table'.
12819         * abbrev.el (abbrev--default-expand):
12820         * bs.el (bs--show-with-configuration):
12821         * buff-menu.el (Buffer-menu-mouse-select):
12822         * calc/calc.el (calc):
12823         * calendar/calendar.el (calendar-generate-window):
12824         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12825         (diary-make-entry):
12826         * comint.el (send-invisible, comint-dynamic-complete-filename)
12827         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12828         * completion.el (complete):
12829         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12830         * disp-table.el (describe-current-display-table):
12831         * doc-view.el (doc-view-insert-image):
12832         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12833         * ehelp.el (with-electric-help):
12834         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12835         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12836         * emacs-lisp/helper.el (Helper-help-scroller):
12837         * emulation/cua-base.el (cua--post-command-handler-1):
12838         * eshell/esh-mode.el (eshell-output-filter):
12839         * ffap.el (ffap-gnus-wrapper):
12840         * help-macro.el (make-help-screen):
12841         * hilit-chg.el (highlight-compare-buffers):
12842         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12843         * hl-line.el (global-hl-line-highlight):
12844         * icomplete.el (icomplete-simple-completing-p):
12845         * isearch.el (isearch-done):
12846         * jit-lock.el (jit-lock-stealth-fontify):
12847         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12848         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12849         * mpc.el (mpc-tagbrowser, mpc):
12850         * net/rcirc.el (rcirc-any-buffer):
12851         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12852         * play/landmark.el (landmark-max-width, landmark-max-height):
12853         * play/zone.el (zone):
12854         * progmodes/compile.el (compilation-goto-locus):
12855         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12856         * progmodes/etags.el (find-tag-other-window):
12857         * progmodes/fortran.el (fortran-column-ruler):
12858         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12859         * progmodes/verilog-mode.el (verilog-point-text):
12860         * reposition.el (reposition-window):
12861         * rot13.el (toggle-rot13-mode):
12862         * server.el (server-switch-buffer):
12863         * shell.el (shell-dynamic-complete-command)
12864         (shell-dynamic-complete-environment-variable):
12865         * simple.el (insert-buffer, set-selective-display)
12866         (delete-completion-window):
12867         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12868         (speedbar-recenter):
12869         * startup.el (fancy-splash-head):
12870         * textmodes/ispell.el (ispell-command-loop):
12871         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12872         * tutorial.el (help-with-tutorial):
12873         * vc/add-log.el (add-change-log-entry):
12874         * vc/compare-w.el (compare-windows):
12875         * vc/ediff-help.el (ediff-indent-help-message):
12876         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12877         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12878         (ediff-setup-control-frame):
12879         * vc/emerge.el (emerge-position-region):
12880         * vc/pcvs-util.el (cvs-bury-buffer):
12881         * window.el (walk-windows, mouse-autoselect-window-select):
12882         * winner.el (winner-set-conf, winner-undo): Related users changed.
12884 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12886         * frameset.el (frameset--set-id): Doc fix.
12887         (frameset-frame-id, frameset-frame-id-equal-p)
12888         (frameset-locate-frame-id): New functions.
12889         (frameset--process-minibuffer-frames, frameset--reuse-frame)
12890         (frameset-restore): Use them.
12892 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12894         Do not call to `selected-frame' where it is assumed by default.
12895         Affected functions are `raise-frame', `redraw-frame',
12896         `frame-first-window', `frame-terminal' and `delete-frame'.
12897         * calendar/appt.el (appt-disp-window):
12898         * epg.el (epg-wait-for-completion):
12899         * follow.el (follow-delete-other-windows-and-split)
12900         (follow-avoid-tail-recenter):
12901         * international/mule.el (set-terminal-coding-system):
12902         * mail/rmail.el (rmail-mail-return):
12903         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12904         * progmodes/f90.el (f90-add-imenu-menu):
12905         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12906         * server.el (server-switch-buffer):
12907         * simple.el (delete-completion-window):
12908         * talk.el (talk):
12909         * term/xterm.el (terminal-init-xterm-modify-other-keys)
12910         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12911         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12912         * vc/ediff.el (ediff-documentation): Related users changed.
12913         * frame.el (selected-terminal): Remove the leftover.
12915 2013-08-05  Glenn Morris  <rgm@gnu.org>
12917         * calendar/calendar.el (calendar-generate-month):
12918         Fix for calendar-column-width != 1 + calendar-day-digit-width.
12919         (calendar-generate-month, calendar-font-lock-keywords):
12920         Fix for calendar-day-header-width > length of any day name.
12922 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12924         * desktop.el (desktop-clear): Use new name of sort predicate.
12926         * frameset.el (frameset): Add docstring.  Move :version property to its
12927         own `version' slot.
12928         (frameset-copy): Rename from copy-frameset.
12929         (frameset-p): Check more thoroughly.
12930         (frameset-prop): Do not check for :version, which is no longer a prop.
12931         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12932         Use new :never value instead of t.
12933         (frameset-filter-alist): Expand and clarify docstring.
12934         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12935         (frameset-filter-minibuffer, frameset-filter-save-param)
12936         (frameset-filter-restore-param, frameset-filter-iconified):
12937         Add pointer to docstring of frameset-filter-alist.
12938         (frameset-filter-params): Rename filter values to be more meaningful:
12939         :never instead of t, and reverse the meanings of :save and :restore.
12940         (frameset--process-minibuffer-frames): Clarify error message.
12941         (frameset-save): Avoid unnecessary and confusing call to framep.
12942         Use new BOA constructor for framesets.
12943         (frameset--reuse-list): Doc fix.
12944         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
12945         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12946         (frameset-minibufferless-first-p): Doc fix.
12947         Rename from frameset-sort-frames-for-deletion.
12948         (frameset-restore): Doc fixes.  Use new function names.
12949         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12951 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12953         * desktop.el (desktop-restore-forces-onscreen)
12954         (desktop-restore-reuses-frames): Document :keyword constant values.
12955         (desktop-filter-parameters-alist): Remove, now identical to
12956         frameset-filter-alist.
12957         (desktop--filter-tty*): Remove, moved to frameset.el.
12958         (desktop-save-frameset, desktop-restore-frameset):
12959         Do not pass :filters argument.
12961         * frameset.el (frameset-live-filter-alist)
12962         (frameset-persistent-filter-alist): New variables.
12963         (frameset-filter-alist): Use them.  Add autoload cookie.
12964         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12965         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12966         `frameset--id' (it's supposed to be internal to frameset.el).
12967         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
12968         (frameset--initial-params): New function.
12969         (frameset--get-frame): Use it.  Doc fix.
12970         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12971         Accept :all, not 'all.
12972         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12973         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
12974         with fbound symbols.  Fix frame id matching, and remove matching ids if
12975         the frame being restored is deleted.  Obey :delete.
12977 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12979         * subr.el (macrop): New function.
12980         (text-clone--maintaining): New var.
12981         (text-clone--maintain): Rename from text-clone-maintain.  Use it
12982         instead of inhibit-modification-hooks.
12984         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12985         a proxy, so as handle autoloads and redefinitions of the target.
12986         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12988         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12989         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
12990         (pcase--mutually-exclusive-p): New function.
12991         (pcase--split-consp): Use it.
12992         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
12993         mutually exclusive with the current predicate.
12995         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12996         (edebug-macrop): Remove.  Use `macrop' instead.
12997         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
12998         (ad-macro-p):
12999         * eshell/esh-cmd.el (eshell-macrop):
13000         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
13002 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13004         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
13005         (advice-mapc): New function, using it.
13006         (advice-function-member-p): New function.
13007         (advice--normalize): Store the cdr in advice--saved-rewrite since
13008         that's the part that will be changed.
13009         (advice--symbol-function): New function.
13010         (advice-remove): Handle removal before the function is defined.
13011         Adjust to new advice--saved-rewrite.
13012         (advice-member-p): Use advice-function-member-p and
13013         advice--symbol-function.
13015 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
13017         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
13018         (frameset-filter-minibuffer): Doc fix.
13019         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
13020         (frameset--set-id, frameset--process-minibuffer-frames)
13021         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
13022         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
13024         * desktop.el (desktop-clear): Only delete frames when called
13025         interactively and desktop-restore-frames is non-nil.  Doc fix.
13026         (desktop-read): Set desktop-saved-frameset to nil.
13028 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
13030         * vc/vc.el (vc-ignore): Rewrite.
13031         (vc-default-ignore-completion-table, vc--read-lines)
13032         (vc--add-line, vc--remove-regexp): New functions.
13034         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
13035         (vc-svn-ignore-completion-table): New function.
13037         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
13038         (vc-hg-ignore-completion-table)
13039         (vc-hg-find-ignore-file): New functions.
13041         * vc/vc-git.el (vc-git-ignore): Rewrite.
13042         (vc-git-ignore-completion-table)
13043         (vc-git-find-ignore-file): New functions.
13045         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
13047         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
13048         (vc-bzr-ignore-completion-table)
13049         (vc-bzr-find-ignore-file): New functions.
13051 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
13053         * frameset.el (frameset-prop): New function and setter.
13054         (frameset-save): Do not modify frame list passed by the caller.
13056 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13058         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
13060 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13062         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
13063         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
13065         * custom.el (custom-initialize-default, custom-initialize-set)
13066         (custom-initialize-reset, custom-initialize-changed): Affect the
13067         toplevel-default-value (bug#6275, bug#14586).
13068         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
13069         for bug#6275.
13071 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
13073         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
13074         Add cl-def* expressions.
13076         * frameset.el (frameset-filter-params): Fix order of arguments.
13078 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
13080         Move code related to saving frames to frameset.el.
13081         * desktop.el: Require frameset.
13082         (desktop-restore-frames): Doc fix.
13083         (desktop-restore-reuses-frames): Rename from
13084         desktop-restoring-reuses-frames.
13085         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
13086         (desktop-clear): Clear frames too.
13087         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
13088         (desktop--filter-tty*, desktop-save, desktop-read):
13089         Use frameset functions.
13090         (desktop-before-saving-frames-functions, desktop--filter-*-color)
13091         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13092         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
13093         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
13094         (desktop--process-minibuffer-frames, desktop-save-frames)
13095         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
13096         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
13097         (desktop--sort-states, desktop-restoring-frames-p)
13098         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
13099         (desktop-restoring-frameset-p, desktop-restore-frameset)
13100         (desktop--check-dont-save, desktop-save-frameset): New functions.
13101         (desktop--app-id): New constant.
13102         (desktop-first-buffer, desktop-buffer-ok-count)
13103         (desktop-buffer-fail-count): Move before first use.
13104         * frameset.el: New file.
13106 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13108         * files.el: Use lexical-binding.
13109         (dir-locals-read-from-file): Remove unused `err' variable.
13110         (hack-dir-local-variables--warned-coding): New var.
13111         (hack-dir-local-variables): Use it to avoid repeated warnings.
13112         (make-backup-file-name--default-function): New function.
13113         (make-backup-file-name-function): Use it as default.
13114         (buffer-stale--default-function): New function.
13115         (buffer-stale-function): Use it as default.
13116         (revert-buffer-insert-file-contents--default-function): New function.
13117         (revert-buffer-insert-file-contents-function): Use it as default.
13118         (insert-directory): Avoid add-to-list.
13120         * autorevert.el (auto-revert-handler): Simplify.
13121         Use buffer-stale--default-function.
13123 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
13125         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
13127         * whitespace.el (whitespace-ensure-local-variables): New function.
13128         (whitespace-cleanup-region): Call it.
13129         (whitespace-turn-on): Call it.
13131 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
13133         Complete file name handlers.
13135         * net/tramp.el (tramp-handle-set-visited-file-modtime)
13136         (tramp-handle-verify-visited-file-modtime)
13137         (tramp-handle-file-notify-rm-watch): New functions.
13138         (tramp-call-process): Do not bind `default-directory'.
13140         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13141         Order alphabetically.
13142         <access-file, add-name-to-file, dired-call-process>:
13143         <dired-compress-file, file-acl, file-notify-rm-watch>:
13144         <file-ownership-preserved-p, file-selinux-context>:
13145         <make-directory-internal, make-symbolic-link, set-file-acl>:
13146         <set-file-selinux-context, set-visited-file-modtime>:
13147         <verify-visited-file-modtime>: Add handler.
13148         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13150         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13151         <file-notify-add-watch, file-notify-rm-watch>:
13152         <set-file-times, set-visited-file-modtime>:
13153         <verify-visited-file-modtime>: Add handler.
13154         (with-tramp-gvfs-error-message)
13155         (tramp-gvfs-handle-set-visited-file-modtime)
13156         (tramp-gvfs-fuse-file-name): Remove.
13157         (tramp-gvfs-handle-file-notify-add-watch)
13158         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13159         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13161         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13162         Order alphabetically.
13163         <file-notify-rm-watch>: Use default Tramp handler.
13164         <executable-find>: Remove private handler.
13165         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13166         `default-directory'.
13167         (tramp-sh-handle-executable-find)
13168         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13169         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13170         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13171         Do not use `format' in `tramp-message'.
13173         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13174         <file-notify-rm-watch, set-visited-file-modtime>:
13175         <verify-visited-file-modtime>: Add handler.
13176         (tramp-smb-call-winexe): Do not bind `default-directory'.
13178 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
13180         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13182 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
13184         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13185         use it.
13186         (log-view-diff-changeset): Same.
13187         (log-view-diff-common): Call backend command `previous-revision'
13188         to find out the previous revision, in both cases.  Swap the
13189         variables `to' and `fr', so that `fr' usually refers to the
13190         earlier revision (Bug#14989).
13192 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
13194         * ibuf-ext.el (ibuffer-filter-by-filename):
13195         Make it work with dired buffers too.
13197 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
13199         * emacs-lisp/re-builder.el (reb-color-display-p):
13200         * files.el (save-buffers-kill-terminal):
13201         * net/browse-url.el (browse-url):
13202         * server.el (server-save-buffers-kill-terminal):
13203         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13204         Prefer nil to selected-frame for the first arg of frame-parameter.
13206 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
13208         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13210 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
13212         * minibuffer.el (completion--twq-all): Try and preserve each
13213         completion's case choice (bug#14907).
13215 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13217         * net/network-stream.el (open-network-stream): Mention the new
13218         :nogreeting parameter.
13219         (network-stream-open-starttls): Use the :nogreeting parameter
13220         (bug#14938).
13222         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13224         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13225         more natural than popping.
13227         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13228         (shr-urlify): Highlight under mouse.
13230 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
13232         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13234         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13236         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
13237         buffer for output.
13239         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
13240         point-min==1.  Fix search string.  Fix parentheses missing.
13242         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
13243         assume point-min==1.  Fix search string.  Fix parentheses missing.
13245         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13247         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
13248         buffer for output.
13250 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
13252         * frame.el (frame-notice-user-settings): Avoid inflooping when the
13253         initial frame is minibuffer-less.  (Bug#14841)
13255 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
13257         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13258         option.
13260         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13261         (tramp-maybe-open-connection): Use it.
13263 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
13265         * desktop.el (desktop--make-frame): Include `minibuffer' in the
13266         minimal set of parameters passed when creating a frame, because
13267         the minibuffer status of a frame cannot be changed later.
13269 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
13271         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13272         replace-regexp-in-string and inadvertent omissions in previous change.
13273         (todo-filter-items): Ensure only file names are comma-separated in
13274         name of filtered items buffer.
13276 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
13278         * desktop.el: Optionally force offscreen frames back onscreen.
13279         (desktop-restoring-reuses-frames): New option.
13280         (desktop--compute-pos, desktop--move-onscreen): New functions.
13281         (desktop--make-frame): Use desktop--move-onscreen.
13283 2013-07-27  Alan Mackenzie  <acm@muc.de>
13285         Fontify a Java generic method as a function.
13286         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13287         value to t.
13289 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
13291         * calendar/todo-mode.el: Add command to rename todo files.
13292         (todo-rename-file): New command.
13293         (todo-key-bindings-t): Add key binding for it.  Change the
13294         bindings of todo-filter-regexp-items(-multifile) to use `x'
13295         instead of `r', since the latter is better suited to the new
13296         renaming command.
13298 2013-07-27  Alan Mackenzie  <acm@muc.de>
13300         Make Java try-with-resources statement parse properly.
13301         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13302         (c-block-stmt-1-2-key): New language constants/variables.
13303         * progmodes/cc-engine.el (c-beginning-of-statement-1)
13304         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13305         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13306         with c-block-stmt-1-2-key.
13308 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
13310         * desktop.el (desktop--make-frame): Apply most frame parameters after
13311         creating the frame to force (partially or totally) offscreen frames to
13312         be restored as such.
13314 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
13316         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13317         (Bug#14948)
13319 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13321         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13322         `base' arg of backtrace-frame.
13324 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
13326         * simple.el (list-processes): Doc fix.
13328 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
13330         * desktop.el (desktop--select-frame):
13331         Try harder to reuse existing frames.
13333 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13335         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13336         (edebug-eval): Use backtrace-eval.
13337         (edebug--display, edebug--recursive-edit): Don't let-bind the
13338         edebug-outer-* vars that keep track of variables we locally let-bind.
13339         (edebug-outside-excursion): Don't restore outside values of locally
13340         let-bound vars.
13341         (edebug--display): Use user-error.
13342         (cl-lexical-debug, cl-debug-env): Remove.
13344 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
13346         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13347         are restored to be sure that they are visible before deleting any
13348         remaining ones.
13350 2013-07-26  Matthias Meulien  <orontee@gmail.com>
13352         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13353         vc-print-root-log.  (Bug#14948)
13355 2013-07-26  Richard Stallman  <rms@gnu.org>
13357         Add aliases for encrypting mail.
13358         * epa.el (epa-mail-aliases): New option.
13359         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13360         Bind inhibit-read-only so read-only text doesn't ruin everything.
13361         (epa-mail-default-recipients): New subroutine broken out.
13362         Handle epa-mail-aliases.
13364 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13366         Add support for lexical variables to the debugger's `e' command.
13367         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13368         vars, except for debugger-outer-match-data.
13369         (debugger-frame-number): Move check for "on a function call" from
13370         callers into it.  Add `skip-base' argument.
13371         (debugger-frame, debugger-frame-clear): Simplify accordingly.
13372         (debugger-env-macro): Only reset the state stored in non-variables,
13373         i.e. current-buffer and match-data.
13374         (debugger-eval-expression): Rewrite using backtrace-eval.
13375         * subr.el (internal--called-interactively-p--get-frame): Remove.
13376         (called-interactively-p):
13377         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13378         `base' arg of backtrace-frame instead.
13380 2013-07-26  Glenn Morris  <rgm@gnu.org>
13382         * align.el (align-regexp): Doc fix.  (Bug#14857)
13383         (align-region): Explicit error if subexpression missing/does not match.
13385         * simple.el (global-visual-line-mode):
13386         Do not duplicate the mode lighter.  (Bug#14858)
13388 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
13390         * window.el (display-buffer): In display-buffer bind
13391         split-window-keep-point to t, bug#14829.
13393 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
13395         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13396         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13397         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13398         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13399         Change accordingly.
13400         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13401         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13403 2013-07-25  Glenn Morris  <rgm@gnu.org>
13405         * dired-x.el (dired-mark-extension): Convert comment to doc string.
13407 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
13409         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13410         parameter to modify-frame-parameters if the value has not changed;
13411         this is a workaround for bug#14949.
13412         (desktop--make-frame): On cl-delete-if call, check parameter name,
13413         not full parameter.
13415 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
13417         * vc/vc.el (vc-ignore): New function.
13419         * vc/vc-svn.el (vc-svn-ignore): New function.
13421         * vc/vc-hg.el (vc-hg-ignore): New function.
13423         * vc/vc-git.el (vc-git-ignore): New function.
13425         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13426         (vc-dir-ignore): New function.
13428         * vc/vc-cvs.el (vc-cvs-ignore): New function.
13429         (cvs-append-to-ignore): Move here from pcvs.el.
13431         * vc/vc-bzr.el (vc-bzr-ignore): New function.
13433         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13435 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
13437         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13438         (desktop-restore-frames): Warn when deleting an existing frame failed.
13440 2013-07-24  Glenn Morris  <rgm@gnu.org>
13442         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
13444 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
13446         * filenotify.el (file-notify-supported-p):
13447         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13448         Remove functions.
13450         * autorevert.el (auto-revert-use-notify)
13451         (auto-revert-notify-add-watch):
13452         * net/tramp.el (tramp-file-name-for-operation):
13453         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13454         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13455         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13456         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13457         Remove `file-notify-supported-p' entry.
13459 2013-07-24  Glenn Morris  <rgm@gnu.org>
13461         * printing.el: Replace all uses of deleted ps-windows-system,
13462         ps-lp-system, ps-flatten-list with lpr- versions.
13464 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13466         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13467         checked with memq (bug#14935).
13469         * files.el (revert-buffer-function): Use a non-nil default.
13470         (revert-buffer-preserve-modes): Declare var to
13471         provide access to the `preserve-modes' argument.
13472         (revert-buffer): Let-bind it.
13473         (revert-buffer--default): New function, extracted from revert-buffer.
13475 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13477         * lpr.el: Signal print errors more prominently.
13478         (print-region-function): Don't default to nil.
13479         (lpr-print-region): New function, extracted from print-region-1.
13480         Check lpr's return value and signal an error in case of problem.
13481         (print-region-1): Use it.
13482         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
13483         versions instead.
13484         (ps-printer-name): Default to nil.
13485         (ps-printer-name-option): Default to lpr-printer-switch.
13486         (ps-print-region-function): Don't default to nil.
13487         (ps-postscript-code-directory): Simplify default.
13488         (ps-do-despool): Use lpr-print-region to properly check the outcome.
13489         (ps-string-list, ps-eval-switch, ps-flatten-list)
13490         (ps-flatten-list-1): Remove.
13491         (ps-multibyte-buffer): Avoid setq.
13492         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13493         (print-region-function, ps-print-region-function): Don't set them here.
13495 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
13497         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13498         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13499         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13500         (ido-decorations): Doc fix.
13502         * ansi-color.el: Fix old URL.
13504 2013-07-23  Michael R. Mauger  <michael@mauger.com>
13506         * progmodes/sql.el: Version 3.3
13507         (sql-product-alist): Improve oracle :prompt-cont-regexp.
13508         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13509         (sql-interactive-remove-continuation-prompt): Rewrite, use
13510         functions above.  Fix continuation prompt and complete output line
13511         handling.
13512         (sql-redirect-one, sql-execute): Use `read-only-mode' on
13513         redirected output buffer.
13514         (sql-mode): Restore deleted code (Bug#13591).
13516 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
13518         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13520 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
13522         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13524         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13525         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13526         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13528 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
13530         * desktop.el (desktop-clear): Simplify; remove useless checks
13531         against invalid buffer names.
13532         (desktop-list*): Use cl-list*.
13533         (desktop-buffer-info, desktop-create-buffer): Simplify.
13535 2013-07-23  Leo Liu  <sdl.web@gmail.com>
13537         * bookmark.el (bookmark-make-record): Restore NAME as a default
13538         value.  (Bug#14933)
13540 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13542         * emacs-lisp/autoload.el (autoload--setup-output): New function,
13543         extracted from autoload--insert-text.
13544         (autoload--insert-text): Remove.
13545         (autoload--print-cookie-text): New function, extracted from
13546         autoload--insert-cookie-text.
13547         (autoload--insert-cookie-text): Remove.
13548         (autoload-generate-file-autoloads): Adjust calls accordingly.
13550         * winner.el (winner-hook-installed-p): Remove.
13551         (winner-mode): Simplify accordingly.
13553         * subr.el (add-to-list): Fix compiler-macro when `append' is
13554         not constant.  Don't use `cl-member' for the base case.
13556         * progmodes/subword.el: Fix boundary case (bug#13758).
13557         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
13558         own group.
13559         (subword-backward-regexp): Make it a constant.
13560         (subword-forward-internal): Don't treat a trailing capital as the
13561         beginning of a word.
13563 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
13565         * emacs-lisp/package.el (package-menu-mode): Don't modify the
13566         global value of tabulated-list-revert-hook (bug#14930).
13568 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
13570         * desktop.el: Require 'cl-lib.
13571         (desktop-before-saving-frames-functions): New hook.
13572         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13573         for frames being saved.  Rename from desktop--save-minibuffer-frames.
13574         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13575         Do not save frames with non-nil `desktop-dont-save' parameter.
13576         Filter out deleted frames.
13577         (desktop--find-frame): Use cl-find-if.
13578         (desktop--select-frame): Use cl-(first|second|third) to access values
13579         of desktop-mini.
13580         (desktop--make-frame): Use cl-delete-if.
13581         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13582         (desktop-restore-frames): Use cl-(first|second|third) to access values
13583         of desktop-mini.  Look for visible frame at the end, not while
13584         restoring frames.
13586         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13587         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13588         Use string-match-p, looking-at-p (bug#14927).
13590 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
13592         * desktop.el (desktop-saved-frame-states):
13593         Rename from desktop--saved-states; all users changed.
13594         (desktop-save-frames): Rename from desktop--save-frames.
13595         Do not save state to desktop file.
13596         (desktop-save): Save desktop-saved-frame-states to desktop file
13597         and reset to nil.
13598         (desktop-restoring-frames-p): New function.
13599         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
13600         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
13601         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
13603         * desktop.el: Correctly restore iconified frames.
13604         (desktop--filter-iconified-position): New function.
13605         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13607 2013-07-20  Glenn Morris  <rgm@gnu.org>
13609         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13610         Let `message' do the formatting.
13611         (def-gdb-preempt-display-buffer): Add explicit format.
13613         * image-dired.el (image-dired-track-original-file):
13614         Use with-current-buffer.
13615         (image-dired-track-thumbnail): Use with-current-buffer.
13616         Avoid changing point of wrong window.
13618         * image-dired.el (image-dired-track-original-file):
13619         Avoid changing point of wrong window.  (Bug#14909)
13621 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
13623         * progmodes/gdb-mi.el (gdb-done-or-error):
13624         Guard against "%" in gdb output.  (Bug#14127)
13626 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
13628         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13629         (Bug#14826)
13631         * international/mule.el (coding-system-iso-2022-flags): Fix last
13632         change.
13634 2013-07-20  Kenichi Handa  <handa@gnu.org>
13636         * international/mule.el (coding-system-iso-2022-flags):
13637         Add `8-bit-level-4'.  (Bug#8522)
13639 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13641         * net/shr.el (shr-mouse-browse-url): New command and keystroke
13642         (bug#14815).
13644         * net/eww.el (eww-process-text-input): Allow inputting when the
13645         point is at the start of the line, as the properties aren't
13646         front-sticky.
13648         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13649         degenerate widths.
13651 2013-07-19  Richard Stallman  <rms@gnu.org>
13653         * epa.el (epa-popup-info-window): Doc fix.
13655         * subr.el (split-string): New arg TRIM.
13657 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
13659         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13660         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13662 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
13664         * filenotify.el (file-notify--library): Rename from
13665         `file-notify-support'.  Do not autoload.  Adapt all uses.
13666         (file-notify-supported-p): New defun.
13668         * autorevert.el (auto-revert-use-notify):
13669         Use `file-notify-supported-p' instead of `file-notify-support'.
13670         Adapt docstring.
13671         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13673         * net/tramp.el (tramp-file-name-for-operation):
13674         Add `file-notify-supported-p'.
13676         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13677         New defun.
13678         (tramp-sh-file-name-handler-alist): Add it as handler for
13679         `file-notify-supported-p '.
13681         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13682         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13683         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13684         Add `ignore' as handler for `file-notify-*' functions.
13686 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
13688         * simple.el (line-move-partial, line-move): Don't start vscroll or
13689         scroll-up if the current line is not taller than the window.
13690         (Bug#14881)
13692 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
13694         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13695         highlight question marks in the method names as strings.
13696         (ruby-block-beg-keywords): Inline.
13697         (ruby-font-lock-keyword-beg-re): Extract from
13698         `ruby-font-lock-keywords'.
13700 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
13702         * frame.el (blink-cursor-blinks): New defcustom.
13703         (blink-cursor-blinks-done): New defvar.
13704         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13705         (blink-cursor-timer-function): Check if number of blinks has been
13706         done on X and NS.
13707         (blink-cursor-suspend, blink-cursor-check): New defuns.
13709 2013-07-15  Glenn Morris  <rgm@gnu.org>
13711         * edmacro.el (edmacro-format-keys): Fix previous change.
13713 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
13715         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13716         The hack didn't work outside English locales anyway.
13718 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
13720         * simple.el (define-alternatives): Rename from alternatives-define,
13721         per RMS' suggestion.
13723 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
13725         * desktop.el (desktop-restore-frames): Change default to t.
13726         (desktop-restore-in-current-display): Now offer more options.
13727         (desktop-restoring-reuses-frames): New customization option.
13728         (desktop--saved-states): Doc fix.
13729         (desktop-filter-parameters-alist): New variable, renamed and expanded
13730         from desktop--excluded-frame-parameters.
13731         (desktop--target-display): New variable.
13732         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13733         (desktop--filter-tty*, desktop--filter-*-color)
13734         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13735         (desktop--filter-save-desktop-parm)
13736         (desktop-restore-in-original-display-p): New functions.
13737         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13738         (desktop--save-minibuffer-frames): New function, inspired by a similar
13739         function from Martin Rudalics.
13740         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13741         (desktop--restore-in-this-display-p): Remove.
13742         (desktop--find-frame): Rename from desktop--find-frame-in-display
13743         and add predicate argument.
13744         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13745         (desktop--reuse-list): New variable.
13746         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13747         New functions.
13748         (desktop--restore-frames): Add support for "minibuffer-special" frames.
13750 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
13752         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13754 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
13756         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13757         Highlight conversion methods on Kernel.
13759 2013-07-13  Alan Mackenzie  <acm@muc.de>
13761         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13762         and comment it out.  This out-commenting enables certain C++
13763         declarations to be parsed correctly.
13765 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
13767         * international/mule.el (define-coding-system): Doc fix.
13769         * simple.el (default-font-height): Don't call font-info if the
13770         frame's default font didn't change since the frame was created.
13771         (Bug#14838)
13773 2013-07-13  Leo Liu  <sdl.web@gmail.com>
13775         * ido.el (ido-read-file-name): Guard against non-symbol value.
13777 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13779         * progmodes/python.el (python-imenu--build-tree): Fix corner case
13780         in nested defuns.
13782 2013-07-13  Leo Liu  <sdl.web@gmail.com>
13784         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
13785         ido-set-matches call.  (Bug#6852)
13787 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
13789         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
13790         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
13791         Ruby 2.0.
13792         (ruby-font-lock-keywords): Distinguish calls to functions with
13793         module-like names from module references.  Highlight character
13794         literals.
13796 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
13798         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13799         (gdb-send): Handle continued commands.  (Bug#14847)
13801 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13803         * desktop.el (desktop--v2s): Remove unused local variable.
13804         (desktop-save-buffer): Make defvar-local; adjust docstring.
13805         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13806         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13808 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
13810         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13812 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
13814         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13815         (Bug#14842)
13817 2013-07-12  Glenn Morris  <rgm@gnu.org>
13819         * doc-view.el: Require cl-lib at runtime too.
13820         (doc-view-remove-if): Remove.
13821         (doc-view-search-next-match, doc-view-search-previous-match):
13822         Use cl-remove-if.
13824         * edmacro.el: Require cl-lib at runtime too.
13825         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13826         (edmacro-mismatch, edmacro-subseq): Remove.
13828         * shadowfile.el: Require cl-lib.
13829         (shadow-remove-if): Remove.
13830         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13831         Use cl-remove-if.
13833         * wid-edit.el: Require cl-lib.
13834         (widget-choose): Use cl-remove-if.
13835         (widget-remove-if): Remove.
13837         * progmodes/ebrowse.el: Require cl-lib at runtime too.
13838         (ebrowse-delete-if-not): Remove.
13839         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13840         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13841         Use cl-delete-if-not.
13843 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13845         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13846         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13848 2013-07-12  Leo Liu  <sdl.web@gmail.com>
13850         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
13852 2013-07-11  Glenn Morris  <rgm@gnu.org>
13854         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13855         (edebug-gensym-index, edebug-gensym):
13856         Remove reimplementation of cl-gensym.
13857         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13859         * thumbs.el: Require cl-lib at run-time too.
13860         (thumbs-gensym-counter, thumbs-gensym):
13861         Remove reimplementation of cl-gensym.
13862         (thumbs-temp-file): Use cl-gensym.
13864         * emacs-lisp/ert.el: Require cl-lib at runtime too.
13865         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13866         (ert--intersection, ert--set-difference, ert--set-difference-eq)
13867         (ert--union, ert--gensym-counter, ert--gensym-counter)
13868         (ert--coerce-to-vector, ert--remove*, ert--string-position)
13869         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13870         (ert-make-test-unbound, ert--expand-should-1)
13871         (ert--expand-should, ert--should-error-handle-error)
13872         (should-error, ert--explain-equal-rec)
13873         (ert--plist-difference-explanation, ert-select-tests)
13874         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13875         Use cl-lib functions rather than reimplementations.
13877 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
13879         * net/tramp.el (tramp-methods): Extend docstring.
13880         (tramp-connection-timeout): New defcustom.
13881         (tramp-error-with-buffer): Reset timestamp only when appropriate.
13882         (with-tramp-progress-reporter): Simplify.
13883         (tramp-process-actions): Improve messages.
13885         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13886         * net/tramp-sh.el (tramp-maybe-open-connection):
13887         Use `tramp-connection-timeout'.
13888         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13889         (Bug#14808)
13891 2013-07-11  Leo Liu  <sdl.web@gmail.com>
13893         * ido.el (ido-read-file-name): Conform to the requirements of
13894         read-file-name.  (Bug#11861)
13895         (ido-read-directory-name): Conform to the requirements of
13896         read-directory-name.
13898 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
13900         * subr.el (delay-warning): New function.
13902 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
13904         * simple.el (default-line-height): New function.
13905         (line-move-partial, line-move): Use it instead of computing the
13906         line height inline.
13907         (line-move-partial): Always compute ROWH.  If the last line is
13908         partially-visible, but its text is completely visible, allow
13909         cursor to enter such a partially-visible line.
13911 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
13913         Improve error messages.  (Bug#14808)
13915         * net/tramp.el (tramp-current-connection): New defvar, moved from
13916         tramp-sh.el.
13917         (tramp-message-show-progress-reporter-message): Remove, not
13918         needed anymore.
13919         (tramp-error-with-buffer): Show message in minibuffer.
13920         Discard input before waiting.  Reset connection timestamp.
13921         (with-tramp-progress-reporter): Improve messages.
13922         (tramp-process-actions): Use progress reporter.  Delete process in
13923         case of error.  Improve messages.
13925         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13926         Call `tramp-error-with-buffer' with vector and buffer.
13927         (tramp-current-connection): Remove.
13928         (tramp-maybe-open-connection): The car of
13929         `tramp-current-connection' are the first 3 slots of the vector.
13931 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
13933         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13934         inside continued strings.
13936 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
13938         Timestamp fixes for undo (Bug#14824).
13939         * files.el (clear-visited-file-modtime): Move here from fileio.c.
13941 2013-07-10  Leo Liu  <sdl.web@gmail.com>
13943         * files.el (require-final-newline): Allow safe local value.
13944         (Bug#14834)
13946 2013-07-09  Leo Liu  <sdl.web@gmail.com>
13948         * ido.el (ido-read-directory-name): Handle fallback.
13949         (ido-read-file-name): Update DIR to ido-current-directory.
13950         (Bug#1516)
13951         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
13953 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
13955         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13956         "autoload".  Remove "warn lower camel case" section, previously
13957         commented out.  Highlight negation char.  Do not highlight the
13958         target in singleton method definitions.
13960 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13962         * faces.el (tty-setup-hook): Declare the hook.
13964         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13965         and detect when a guard/pred depends on local vars (bug#14773).
13966         (pcase--u1): Adjust caller.
13968 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
13970         * simple.el (line-move-partial, line-move): Account for
13971         line-spacing.
13972         (line-move-partial): Avoid setting vscroll when the last
13973         partially-visible line in window is of default height.
13975 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13977         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13978         been used a while.
13980 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
13982         * subr.el (read-quoted-char): Remove unused local variable `char'.
13984 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13986         * vc/ediff.el (ediff-version): Version update.
13987         (ediff-files-command, ediff3-files-command, ediff-merge-command)
13988         (ediff-merge-with-ancestor-command, ediff-directories-command)
13989         (ediff-directories3-command, ediff-merge-directories-command)
13990         (ediff-merge-directories-with-ancestor-command): New functions.
13991         All are command-line interfaces to ediff: to facilitate calling
13992         Emacs with the appropriate ediff functions invoked.
13994         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13995         New function.
13996         (viper-save-kill-buffer): Check if buffer is modified.
13998         * emulation/viper.el (viper-version): Version update.
13999         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
14001 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14003         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
14004         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
14005         (viper-intercept-ESC-key): Simplify.
14006         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
14007         don't use kbd.
14008         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
14009         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
14010         (viper-setup-ESC-to-escape): New functions.
14011         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
14012         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
14014 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
14016         * simple.el (default-font-height, window-screen-lines):
14017         New functions.
14018         (line-move, line-move-partial): Use them instead of
14019         frame-char-height and window-text-height.  This makes scrolling
14020         text smoother when the buffer's default face uses a font that is
14021         different from the frame's default font.
14023 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
14025         * files.el (write-file): Do not display confirm dialog for NS,
14026         it does its own dialog, which can't be canceled (Bug#14578).
14028 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
14030         * simple.el (line-move-partial): Adjust the row returned by
14031         posn-at-point for the current window-vscroll.  (Bug#14567)
14033 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
14035         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
14036         (tramp-sh-file-inotifywait-process-filter): Handle file names with
14037         spaces.
14039 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
14041         * window.el (window-state-put-stale-windows): New variable.
14042         (window--state-put-2): Save list of windows without matching buffer.
14043         (window-state-put): Remove "bufferless" windows if possible.
14045 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
14047         * simple.el (alternatives-define): Remove leftover :group keyword.
14048         Tweak docstring.
14050 2013-07-06  Leo Liu  <sdl.web@gmail.com>
14052         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
14053         (ido-enable-virtual-buffers): New variable.
14054         (ido-buffer-internal, ido-toggle-virtual-buffers)
14055         (ido-make-buffer-list): Use it.
14056         (ido-exhibit): Support turning on and off virtual buffers
14057         automatically.
14059 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
14061         * simple.el (alternatives-define): New macro.
14063 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14065         * subr.el (read-quoted-char): Use read-key.
14066         (sit-for): Let read-event decode tty input (bug#14782).
14068 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
14070         * calendar/todo-mode.el: Add handling of file deletion, both by
14071         mode command and externally.  Fix various related bugs.
14072         Clarify Commentary and improve some documentation strings and code.
14073         (todo-delete-file): New command.
14074         (todo-check-file): New function.
14075         (todo-show): Handle external deletion of the file we're trying to
14076         show (bug#14688).  Replace called-interactively-p by an optional
14077         prefix argument to avoid problematic interaction with catch form
14078         when byte compiled (bug#14702).
14079         (todo-quit): Handle external deletion of the archive's todo file.
14080         Make sure the buffer that was visiting the archive file is still
14081         live before trying to bury it.
14082         (todo-category-completions): Handle external deletion of any
14083         category completion files.
14084         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
14085         of todo files, in case of external deletion.
14086         (todo-add-file): Replace unnecessary setq by let-binding.
14087         (todo-find-archive): Check whether there are any archives.
14088         Replace unnecessary setq by let-binding.
14089         (todo-archive-done-item): Use find-file-noselect to get the
14090         archive buffer whether or not the archive already exists.
14091         Remove superfluous code.  Use file size instead of buffer-file-name to
14092         check if the archive is new; if it is, update list of archives.
14093         (todo-default-todo-file): Allow nil to be a valid value for when
14094         there are no todo files.
14095         (todo-reevaluate-default-file-defcustom): Use corrected definition
14096         of todo-default-todo-file.
14097         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
14098         (todo-delete-category, todo-show-categories-table)
14099         (todo-category-number): Clarify comment.
14100         (todo-filter-items): Clarify documentation string.
14101         (todo-show-current-file, todo-display-as-todo-file)
14102         (todo-reset-and-enable-done-separator): Tweak documentation string.
14103         (todo-done-separator): Make separator length window-width, since
14104         bug#2749 is now fixed.
14106 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
14108         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14109         Support both "gvfs-monitor-dir" and "inotifywait".
14110         (tramp-sh-file-inotifywait-process-filter): Rename from
14111         `tramp-sh-file-notify-process-filter'.
14112         (tramp-sh-file-gvfs-monitor-dir-process-filter)
14113         (tramp-get-remote-gvfs-monitor-dir): New defuns.
14115 2013-07-05  Leo Liu  <sdl.web@gmail.com>
14117         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
14119 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14121         * frame.el (display-pixel-height, display-pixel-width)
14122         (display-mm-height, display-mm-width): Mention behavior on
14123         multi-monitor setups in docstrings.
14124         (w32-display-monitor-attributes-list): Declare function.
14125         (display-monitor-attributes-list): Use it.
14127 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
14129         * filenotify.el: New package.
14131         * autorevert.el (top): Require filenotify.el.
14132         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
14133         instead.
14134         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14135         (auto-revert-notify-handler): Use `file-notify-*' functions.
14137         * subr.el (file-notify-handle-event): Move function to filenotify.el.
14139         * net/tramp.el (tramp-file-name-for-operation):
14140         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
14142         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
14143         for `file-notify-add-watch' and `file-notify-rm-watch'.
14144         (tramp-process-sentinel): Improve trace.
14145         (tramp-sh-handle-file-notify-add-watch)
14146         (tramp-sh-file-notify-process-filter)
14147         (tramp-sh-handle-file-notify-rm-watch)
14148         (tramp-get-remote-inotifywait): New defuns.
14150 2013-07-03  Juri Linkov  <juri@jurta.org>
14152         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14153         call of `occur-read-primary-args' to interactive spec.
14155         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14156         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
14158 2013-07-03  Matthias Meulien  <orontee@gmail.com>
14160         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14161         `Buffer-menu-multi-occur'.  Add it to the menu.
14162         (Buffer-menu-mode): Document it in docstring.
14163         (Buffer-menu-multi-occur): New command.  (Bug#14673)
14165 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
14167         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14168         keywords and built-ins.
14170 2013-07-03  Glenn Morris  <rgm@gnu.org>
14172         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
14174         Make info-xref checks case-sensitive by default
14175         * info.el (Info-find-node, Info-find-in-tag-table)
14176         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14177         Add option for exact case matching of nodes.
14178         * info-xref.el (info-xref): New custom group.
14179         (info-xref-case-fold): New option.
14180         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14182 2013-07-03  Leo Liu  <sdl.web@gmail.com>
14184         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14186 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
14188         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14189         middle of block statement initially, lower the depth.  Remove
14190         FIXME comment, not longer valid.  Remove middle of block statement
14191         detection, no need to do that anymore since we've been using
14192         `ruby-parse-region' here.
14194 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
14196         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14198 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
14200         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14202 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
14204         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14205         (desktop-restore-in-current-display): New customization option.
14206         (desktop--excluded-frame-parameters): Add `font'.
14207         (desktop--save-frames): Rename from desktop--save-windows.
14208         (desktop--restore-in-this-display-p): New function.
14209         (desktop--make-full-frame): Remove unwanted width/height from
14210         full(width|height) frames.
14211         (desktop--restore-frames): Rename from desktop--restore-windows.
14212         Obey desktop-restore-current-display.  Do not delete old frames or
14213         select a new frame unless we were able to restore at least one frame.
14215 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
14217         * files.el (find-file-noselect): Simplify conditional expression.
14219         * textmodes/remember.el (remember-append-to-file):
14220         Don't mix `find-buffer-visiting' and `get-file-buffer'.
14222         Add `remember-notes' function to store random notes across Emacs
14223         restarts.
14224         * textmodes/remember.el (remember-data-file): Add :set callback to
14225         affect notes buffer (if any).
14226         (remember-notes): New command.
14227         (remember-notes-buffer-name, bury-remember-notes-on-kill):
14228         New defcustoms for the `remember-notes' function.
14229         (remember-notes-save-and-bury-buffer): New command.
14230         (remember-notes-mode-map): New variable.
14231         (remember-mode): New minor mode.
14232         (remember-notes--kill-buffer-query): New function.
14233         * startup.el (initial-buffer-choice): Add notes to custom type.
14235 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
14237         * bindings.el (right-char, left-char): Don't call sit-for, this is
14238         no longer needed.  Use arithmetic comparison only for numerical
14239         arguments.
14241         * international/mule-cmds.el (select-safe-coding-system):
14242         Handle the case of FROM being a string correctly.  (Bug#14755)
14244 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14246         * net/shr.el (shr-make-table-1): Add a sanity check that allows
14247         progression on degenerate tables.
14248         (shr-rescale-image): ImageMagick animated images currently don't work.
14250 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
14252         Some fixes and improvements for desktop frame restoration.
14253         It is still experimental and disabled by default.
14254         * desktop.el (desktop--save-windows): Put the selected frame at
14255         the head of the list.
14256         (desktop--make-full-frame): New function.
14257         (desktop--restore-windows): Try to re-select the frame that was
14258         selected upon saving.  Do not abort if some frames fail to restore,
14259         just show an error message and continue.  Set up maximized frames
14260         so they have default non-maximized dimensions.
14262 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
14264         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14265         Don't start heredoc inside a string or comment.
14267 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
14269         * bindings.el (visual-order-cursor-movement): New defcustom.
14270         (right-char, left-char): Provide visual-order cursor motion by
14271         calling move-point-visually.  Update the doc strings.
14273 2013-06-28  Kenichi Handa  <handa@gnu.org>
14275         * international/mule.el (define-coding-system): New coding system
14276         properties :inhibit-null-byte-detection,
14277         :inhibit-iso-escape-detection, and :prefer-utf-8.
14278         (set-buffer-file-coding-system): If :charset-list property of
14279         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14280         appropriate for setting.
14282         * international/mule-cmds.el (select-safe-coding-system):
14283         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14284         multibyte characters, return utf-8 (or one of its siblings).
14286         * international/mule-conf.el (prefer-utf-8): New coding system.
14287         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14288         files.
14290 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
14292         * net/shr.el (shr-render-region): New function.
14294         * net/eww.el: Autoload `eww-browse-url'.
14296 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
14298         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14299         Adapt to `package-desc-version' being a list.
14300         Use `package--ac-desc-version' to retrieve version from a package
14301         archive element.
14303 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
14305         New experimental feature to save&restore window and frame setup.
14306         * desktop.el (desktop-save-windows): New defcustom.
14307         (desktop--saved-states): New var.
14308         (desktop--excluded-frame-parameters): New defconst.
14309         (desktop--filter-frame-parms, desktop--find-frame-in-display)
14310         (desktop--restore-windows, desktop--save-windows): New functions.
14311         (desktop-save): Call `desktop--save-windows'.
14312         (desktop-read): Call `desktop--restore-windows'.
14314 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14316         * net/shr.el (add-face-text-property): Remove compat definition.
14318 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
14320         * info.el (Info-try-follow-nearest-node): Move search for footnote
14321         above search for node name to prevent missing a footnote (bug#14717).
14323 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
14325         * obsolete/otodo-mode.el: Add obsolescence info to file header.
14327 2013-06-27  Leo Liu  <sdl.web@gmail.com>
14329         * net/eww.el (eww-read-bookmarks): Check file size.
14331 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14333         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14334         advice--pending if newdef is nil or an autoload (bug#13820).
14335         (advice-mapc): New function.
14337 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14339         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14340         probably.
14341         (eww-mode-map): Add a menu bar.
14342         (eww-add-bookmark): New command.
14343         (eww-bookmark-mode): New mode and commands.
14344         (eww-add-bookmark): Remove newlines from the title.
14345         (eww-bookmark-browse): Don't bug out if it's the only window.
14347 2013-06-26  Glenn Morris  <rgm@gnu.org>
14349         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14350         (hfy-size): Handle ttys.  (Bug#14668)
14352         * info-xref.el: Update for Texinfo 5 change in *note format.
14353         (info-xref-node-re, info-xref-note-re): New constants.
14354         (info-xref-check-buffer): Use info-xref-note-re.
14356 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14358         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14360         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14361         nil terminate the loop (bug#14718).
14363 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14365         * net/eww.el: Rework history traversal.  When going forward/back,
14366         put these actions into the history, too, so that they can be
14367         replayed.
14368         (eww-render): Move the history reset to the correct buffer.
14370 2013-06-25  Juri Linkov  <juri@jurta.org>
14372         * files-x.el (modify-dir-local-variable): Change the header comment
14373         in the file with directory local variables.  (Bug#14692)
14375         * files-x.el (read-file-local-variable-value): Add `default'.
14376         (Bug#14710)
14378 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14380         * net/eww.el (eww-make-unique-file-name): Create a unique file
14381         name before saving to entering `y' accidentally asynchronously.
14383 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
14385         * net/eww.el (eww-download): New command and keystroke.
14387 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14389         * net/eww.el (eww-copy-page-url): Change name of command.
14391         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14392         be more consistent with Info and dired.
14394         * net/eww.el (eww-mode-map): Ditto.
14396 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14398         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
14399         packages from archives.
14400         (package-archive-contents): Change format; include obsolete packages.
14401         (package-desc): Use `dir' to mark builtin packages.
14402         (package--from-builtin): Set the `dir' field to `builtin'.
14403         (generated-autoload-file, version-control): Declare.
14404         (package-compute-transaction): Change first arg and return value to be
14405         lists of package-descs.  Adjust to new package-archive-contents format.
14406         (package--add-to-archive-contents): Adjust to new
14407         package-archive-contents format.
14408         (package-download-transaction): Arg is now a list of package-descs.
14409         (package-install): If `pkg' is a package name, pass it as
14410         a requirement, so it is subject to the usual (e.g. disabled) checks.
14411         (describe-package): Accept package-desc as well.
14412         (describe-package-1): Describe a specific package-desc.  Add links to
14413         other package-descs for the same package name.
14414         (package-menu-describe-package): Pass the actual package-desc.
14415         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14416         works correctly.
14417         (package-desc-status): New function.
14418         (package-menu--refresh): New function, extracted
14419         from package-menu--generate.
14420         (package-menu--generate): Use it.
14421         (package-delete): Update package-alist.
14422         (package-menu-execute): Don't call package-initialize.
14424         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14425         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14426         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14427         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14428         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14429         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14431 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
14433         * window.el (window--state-get-1): Workaround for bug#14527.
14434         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14436 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14438         * net/eww.el (eww-back-url): Implement the history by stashing all
14439         the data into a list.
14440         (eww-forward-url): Allow going forward in the history, too.
14442 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14444         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14445         for values and use read--expression for expressions (bug#14710).
14446         (read-file-local-variable): Avoid setq.
14447         (read-file-local-variable-mode): Use minor-mode-list.
14449 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14451         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14452         for DOI URLs.
14454 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14456         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14457         Update imenu-support when dialect changes.
14459 2013-06-25  Leo Liu  <sdl.web@gmail.com>
14461         * ido.el (ido-read-internal): Allow forward slash on windows.
14463 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14465         * net/eww.el (eww): Start of strings is \\`, not ^.
14467 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
14469         * net/shr.el (shr-browse-url): Fix interactive spec.
14471         * net/eww.el (eww): Add a trailing slash to domain names.
14473 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
14475         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14477 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14479         * net/shr.el (shr-browse-url): Use an external browser if given a
14480         prefix.
14482         * net/eww.el (eww-external-browser): Move to shr.
14484 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
14486         * net/eww.el (eww): Work more correctly for file: URLs.
14487         (eww-detect-charset): Allow quoted charsets.
14488         (eww-yank-page-url): New command and keystroke.
14490 2013-06-24  Daiki Ueno  <ueno@gnu.org>
14492         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14493         file name of gpg executable.
14494         (epg-context-program): New function.
14495         (epg-context-home-directory): New function.
14496         (epg-context-set-program): New function.
14497         (epg-context-set-home-directory): New function.
14498         (epg--start): Use `epg-context-program' instead of
14499         'epg-gpg-program'.
14500         (epg--list-keys-1): Likewise.
14502 2013-06-24  Leo Liu  <sdl.web@gmail.com>
14504         * ido.el (ido-read-internal): Fix bug#14620.
14506 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
14508         * faces.el (face-documentation): Simplify.
14509         (read-face-attribute, tty-find-type, x-resolve-font-name):
14510         Use `string-match-p'.
14511         (list-faces-display): Use `string-match-p'.  Simplify.
14512         (face-spec-recalc): Check face to avoid face alias loops.
14513         (read-color): Use `string-match-p' and non-capturing parenthesis.
14515 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14517         * net/shr.el (shr-rescale-image): Use the new
14518         :max-width/:max-height functionality.
14520 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
14522         * net/eww.el (eww-search-prefix): New variable.
14523         (eww): Use it.
14524         (eww-external-browser): New variable.
14525         (eww-mode-map): New keystroke.
14526         (eww-browse-with-external-browser): New command.
14528         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14530 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
14532         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14533         Don't skip aligning the next header field when padding is 0;
14534         otherwise, field width is not respected unless the title is as
14535         wide as the field.
14537 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14539         * emacs-lisp/package.el (package-el-version): Remove.
14540         (package-process-define-package): Fix inf-loop.
14541         (package-install): Allow symbols as arguments again.
14543 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
14545         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14546         add some more keyword-like methods.
14547         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14549 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
14551         * bs.el (bs-buffer-show-mark): Make defvar-local.
14552         (bs-mode): Use setq-local.
14554         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14555         (emacs-lock--try-unlocking): Make defvar-local.
14557 2013-06-22  Glenn Morris  <rgm@gnu.org>
14559         * play/cookie1.el (cookie-apropos): Minor simplification.
14561         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14563 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
14565         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14566         `regexp-opt', it breaks the build during dumping.
14568 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
14570         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14571         Highlight keyword-like methods on Kernel and Module with
14572         font-lock-builtin-face.
14573         (auto-mode-alist): Consolidate different entries into one regexp
14574         and add more *file-s.
14576 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
14578         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14580         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14581         (diary-entry): Use it in the action of this button type instead of
14582         diary-goto-entry.
14584         * calendar/todo-mode.el: New version.
14585         (todo-add-category): Append new category to end of file and give
14586         it the highest number, instead of putting it at the beginning and
14587         giving it 0.  Incorporate noninteractive functionality.
14588         (todo-forward-category): Adapt to 1-based category numbering.
14589         Allow skipping over archived categories.
14590         (todo-backward-category): Derive from todo-forward-category.
14591         (todo-backward-item, todo-forward-item): Make noninteractive and
14592         delegate interactive part to new commands.  Make sensitive to done items.
14593         (todo-categories): Make value an alist of category names and
14594         vectors of item counts.
14595         (todo-category-beg): Make a defconst.
14596         (todo-category-number): Use 1 instead of 0 as initial value.
14597         (todo-category-select): Make sensitive to overlays, optional item
14598         highlighting and done items.
14599         (todo-delete-item): Make sensitive to overlays and marked and done items.
14600         (todo-edit-item): Make sensitive to overlays and editing of
14601         date/time header optional.  Add format checks.
14602         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
14603         no-op if point is not on an item.  Advertise using todo-edit-quit.
14604         (todo-edit-mode): Make sensitive to new format, font-locking, and
14605         multiple todo files.
14606         (todo-insert-item, todo-insert-item-here): Derive from
14607         todo-basic-insert-item and extend functionality.
14608         (todo-item-end, todo-item-start): Make sensitive to done items.
14609         (todo-item-string): Don't return text properties.  Restore point.
14610         (todo-jump-to-category): Make sensitive to multiple todo files and
14611         todo archives.  Use extended category completion.
14612         (todo-lower-item, todo-raise-item): Rename to *-priority and
14613         derive from todo-set-item-priority.
14614         (todo-mode): Derive from special-mode.  Make sensitive to new
14615         format, font-locking and multiple todo files.  Make read-only.
14616         (todo-mode-map): Don't suppress digit keys, so they can supply
14617         prefix arguments.  Add many new key bindings.
14618         (todo-prefix): Insert as an overlay instead of file text.
14619         Change semantics from diary date expression to purely visual mark.
14620         (todo-print): Rename to todo-print-buffer.  Make buffer display
14621         features printable.  Remove option to restrict number of items
14622         printed.  Add option to print to file.
14623         (todo-print-function): Rename to todo-print-buffer-function.
14624         (todo-quit): Extend to handle exiting new todo modes.
14625         (todo-remove-item): Make sensitive to overlays.
14626         (todo-save): Extend to buffers of filtered items.
14627         (todo-show): Make sensitive to done items, multiple todo files and
14628         new todo modes.  Offer to convert legacy todo file before creating
14629         first new todo file.
14630         (todo-show-priorities): Rename to todo-top-priorities.
14631         Change semantics of value 0.
14632         (todo-top-priorities): Rename to todo-filter-top-priorities,
14633         derive from todo-filter-items and extend functionality.
14634         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14635         and extend functionality to other types of filtered items.
14636         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14637         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14638         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14639         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14640         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14641         (todo-edit-mode-hook, todo-entry-prefix-function)
14642         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14643         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14644         (todo-initials, todo-insert-threshold, todo-item-string-start)
14645         (todo-line-string, todo-menu, todo-mode-hook)
14646         (todo-more-important-p, todo-previous-answer, todo-previous-line)
14647         (todo-print-priorities, todo-remove-separator)
14648         (todo-save-top-priorities-too, todo-string-count-lines)
14649         (todo-string-multiline-p, todo-time-string-format)
14650         (todo-tmp-buffer-name): Remove.
14651         (todo-add-file, todo-archive-done-item, todo-choose-archive)
14652         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14653         (todo-edit-category-diary-inclusion)
14654         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14655         (todo-edit-file, todo-edit-item-date-day)
14656         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14657         (todo-edit-item-date-month, todo-edit-item-date-to-today)
14658         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14659         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14660         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14661         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14662         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14663         (todo-filter-top-priorities-multifile, todo-find-archive)
14664         (todo-find-filtered-items-file, todo-go-to-source-item)
14665         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14666         (todo-jump-to-archive-category, todo-lower-category)
14667         (todo-mark-category, todo-marked-item-p, todo-merge-category)
14668         (todo-move-category, todo-move-item, todo-next-button)
14669         (todo-next-item, todo-padded-string, todo-powerset)
14670         (todo-previous-button, todo-previous-item)
14671         (todo-print-buffer-to-file, todo-raise-category)
14672         (todo-rename-category, todo-repair-categories-sexp, todo-search)
14673         (todo-set-category-number, todo-set-item-priority)
14674         (todo-set-top-priorities-in-category)
14675         (todo-set-top-priorities-in-file, todo-show-categories-table)
14676         (todo-sort-categories-alphabetically-or-numerically)
14677         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14678         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14679         (todo-toggle-item-header, todo-toggle-item-highlighting)
14680         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14681         (todo-toggle-view-done-items, todo-toggle-view-done-only)
14682         (todo-unarchive-items, todo-unmark-category): New commands.
14683         (todo-absolute-file-name, todo-add-to-buffer-list)
14684         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14685         (todo-basic-insert-item, todo-category-completions)
14686         (todo-category-number, todo-category-string-matcher-1)
14687         (todo-category-string-matcher-2, todo-check-filtered-items-file)
14688         (todo-check-format, todo-clear-matches)
14689         (todo-comment-string-matcher, todo-convert-legacy-date-time)
14690         (todo-current-category, todo-date-string-matcher)
14691         (todo-define-insertion-command, todo-diary-expired-matcher)
14692         (todo-diary-goto-entry, todo-diary-item-p)
14693         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14694         (todo-display-categories, todo-display-sorted, todo-done-item-p)
14695         (todo-done-item-section-p, todo-done-separator)
14696         (todo-done-string-matcher, todo-files, todo-filter-items)
14697         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14698         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14699         (todo-insert-category-line, todo-insert-item-from-calendar)
14700         (todo-insert-sort-button, todo-insert-with-overlays)
14701         (todo-insertion-command-name, todo-insertion-key-bindings)
14702         (todo-label-to-key, todo-longest-category-name-length)
14703         (todo-make-categories-list, todo-mode-external-set)
14704         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14705         (todo-modes-set-3, todo-multiple-filter-files)
14706         (todo-nondiary-marker-matcher, todo-prefix-overlays)
14707         (todo-read-category, todo-read-date, todo-read-dayname)
14708         (todo-read-file-name, todo-read-time)
14709         (todo-reevaluate-category-completions-files-defcustom)
14710         (todo-reevaluate-default-file-defcustom)
14711         (todo-reevaluate-filelist-defcustoms)
14712         (todo-reevaluate-filter-files-defcustom)
14713         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14714         (todo-reset-done-separator, todo-reset-done-separator-string)
14715         (todo-reset-done-string, todo-reset-global-current-todo-file)
14716         (todo-reset-highlight-item, todo-reset-nondiary-marker)
14717         (todo-reset-prefix, todo-set-categories)
14718         (todo-set-date-from-calendar, todo-set-show-current-file)
14719         (todo-set-top-priorities, todo-short-file-name)
14720         (todo-show-current-file, todo-sort, todo-time-string-matcher)
14721         (todo-total-item-counts, todo-update-buffer-list)
14722         (todo-update-categories-display, todo-update-categories-sexp)
14723         (todo-update-count, todo-validate-name, todo-y-or-n-p):
14724         New functions.
14725         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14726         New major modes.
14727         (todo-categories, todo-display, todo-edit, todo-faces)
14728         (todo-filtered): New defgroups.
14729         (todo-archived-only, todo-button, todo-category-string, todo-date)
14730         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14731         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14732         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14733         (todo-add-item-if-new-category, todo-always-add-time-string)
14734         (todo-categories-align, todo-categories-archived-label)
14735         (todo-categories-category-label, todo-categories-diary-label)
14736         (todo-categories-done-label, todo-categories-number-separator)
14737         (todo-categories-todo-label, todo-categories-totals-label)
14738         (todo-category-completions-files, todo-completion-ignore-case)
14739         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14740         (todo-done-separator-string, todo-done-string)
14741         (todo-files-function, todo-filter-done-items, todo-filter-files)
14742         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14743         (todo-initial-category, todo-initial-file, todo-item-mark)
14744         (todo-legacy-date-time-regexp, todo-mode-line-function)
14745         (todo-nondiary-marker, todo-number-prefix)
14746         (todo-print-buffer-function, todo-show-current-file)
14747         (todo-show-done-only, todo-show-first, todo-show-with-done)
14748         (todo-skip-archived-categories, todo-top-priorities-overrides)
14749         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14750         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14751         New defcustoms.
14752         (todo-category-done, todo-date-pattern, todo-date-string-start)
14753         (todo-diary-items-buffer, todo-done-string-start)
14754         (todo-filtered-items-buffer, todo-item-start)
14755         (todo-month-abbrev-array, todo-month-name-array)
14756         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14757         (todo-top-priorities-buffer): New defconsts.
14758         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14759         (todo-categories-with-marks, todo-category-string-face)
14760         (todo-comment-face, todo-comment-string, todo-current-todo-file)
14761         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14762         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14763         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14764         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14765         (todo-font-lock-keywords, todo-global-current-todo-file)
14766         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14767         (todo-insertion-commands-args)
14768         (todo-insertion-commands-args-genlist)
14769         (todo-insertion-commands-names, todo-insertion-map)
14770         (todo-key-bindings-t, todo-key-bindings-t+a)
14771         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14772         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14773         (todo-nondiary-face, todo-print-buffer, todo-time-face)
14774         (todo-visited): New variables.
14776 2013-06-21  Glenn Morris  <rgm@gnu.org>
14778         * play/cookie1.el (cookie-apropos): Add optional display argument.
14779         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
14780         (psychoanalyze-pinhead): Use cookie-doctor.
14782 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14784         * emacs-lisp/package.el (tar-get-file-descriptor)
14785         (tar--extract): Declare.
14787 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
14789         Extend flymake's warning predicate to be a function (bug#14217).
14790         * progmodes/flymake.el (flymake-warning-predicate): New.
14791         (flymake-parse-line): Use it.
14792         (flymake-warning-re): Make obsolete alias to
14793         `flymake-warning-predicate'.
14795 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14797         * emacs-lisp/package.el (package-alist): Include obsolete packages.
14798         (package-obsolete-list): Remove.
14799         (package-activate): Remove min-version argument.  Add `force' argument.
14800         Adjust to new package-alist format.
14801         (package-mark-obsolete): Remove.
14802         (package-unpack): Force reload of the package's autoloads.
14803         (package-installed-p): Check builtins if the installed package is not
14804         recent enough.
14805         (package-initialize): Don't reset package-obsolete-list.
14806         Don't specify which package version to activate.
14807         (package-process-define-package, describe-package-1)
14808         (package-menu--generate): Adjust to new package-alist format.
14810 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14812         * allout-widgets.el (allout-widgets-mode-off)
14813         (allout-widgets-mode-on, allout-widgets-pre-command-business)
14814         (allout-widgets-post-command-business)
14815         (allout-widgets-after-copy-or-kill-function)
14816         (allout-widgets-after-undo-function, allout-test-range-overlaps)
14817         (allout-decorate-item-and-context)
14818         (allout-graphics-modification-handler): Fix typos in docstrings.
14819         (allout-get-or-create-parent-widget): Use `looking-at-p'.
14821         * cmuscheme.el (scheme-start-file): Doc fix.
14822         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14823         (scheme-input-filter): Use `string-match-p'.
14825         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14827         * dired-x.el: Use Dired consistently in docstrings.
14829         * dired.el: Use Dired consistently in docstrings.
14830         (dired-readin, dired-mode): Use `setq-local'.
14831         (dired-switches-alist): Make defvar-local.
14832         (dired-buffers-for-dir): Use `zerop'.
14833         (dired-safe-switches-p, dired-switches-escape-p)
14834         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14835         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14836         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14837         (dired-goto-next-nontrivial-file): Use `string-match-p'.
14838         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14839         (dired-toggle-marks, dired-mark-files-containing-regexp)
14840         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14841         (dired-flag-auto-save-files, dired-flag-backup-files):
14842         Use `looking-at-p'.
14843         (dired-mark-files-regexp, dired-build-subdir-alist):
14844         Use `string-match-p', `looking-at-p'.
14846         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14847         (direct-print-region-helper): Use `string-match-p'.
14849 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14851         * comint.el (comint-redirect-results-list-from-process):
14852         Fix infinite loop.
14854 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14856         * net/eww.el (eww-update-header-line-format): Quote % characters.
14858 2013-06-21  Glenn Morris  <rgm@gnu.org>
14860         * play/cookie1.el (cookie): New custom group.
14861         (cookie-file): New option.
14862         (cookie-check-file): New function.
14863         (cookie): Make it interactive.  Make start and end messages optional.
14864         Interactively, display the result.  Default to cookie-file.
14865         (cookie-insert): Default to cookie-file.
14866         (cookie-snarf): Make start and end messages optional.
14867         Default to cookie-file.  Use with-temp-buffer.
14868         (cookie-read): Rename from read-cookie.
14869         Make start and end messages optional.  Default to cookie-file.
14870         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
14871         Do not autoload it.
14872         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14873         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14875 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14877         * progmodes/octave.el (octave-mode): Backward compatibility fix.
14879 2013-06-21  Glenn Morris  <rgm@gnu.org>
14881         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14883 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14884             Daniel Hackney  <dan@haxney.org>
14886         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14887         Consolidate the single-file vs tarball code.
14888         (package-desc-suffix): New function.
14889         (package-desc-full-name): Don't bother inlining it.
14890         (package-load-descriptor): Return the new package-desc.
14891         (package-mark-obsolete): Remove unused arg `package'.
14892         (package-unpack): Make it work for single files as well.
14893         Make it update package-alist.
14894         (package--make-autoloads-and-stuff): Rename from
14895         package--make-autoloads-and-compile.  Don't compile any more.
14896         (package--compile): New function.
14897         (package-generate-description-file): New function, extracted from
14898         package-unpack-single.
14899         (package-unpack-single): Remove.
14900         (package--with-work-buffer): Add indentation and debugging info.
14901         (package-download-single): Remove.
14902         (package-install-from-archive): Rename from package-download-tar, make
14903         it take a pkg-desc, and make it work for single files as well.
14904         (package-download-transaction): Simplify.
14905         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
14906         external tar program.
14907         (package-install-from-buffer): Remove `pkg-desc' argument.
14908         Use package-tar-file-info for tar-mode buffers.
14909         (package-install-file): Simplify accordingly.
14910         (package-archive-base): Change to take a pkg-desc.
14911         * tar-mode.el (tar--check-descriptor): New function, extracted from
14912         tar-get-descriptor.
14913         (tar-get-descriptor): Use it.
14914         (tar-get-file-descriptor): New function.
14915         (tar--extract): New function, extracted from tar-extract.
14916         (tar--extract): Use it.
14917         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14918         case the summary uses non-ascii.  Adjust to new calling convention of
14919         package-tar-file-info.
14921 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14923         * comint.el (comint-redirect-results-list-from-process):
14924         Fix random delay.  (Bug#14681)
14926 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14928         * profiler.el (profiler-format-number): Use log, not log10.
14930 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14932         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14934 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14936         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14937         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14938         yet available.
14939         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14940         (AUTOGENEL): ... here.
14941         * emacs-lisp/cl-macs.el (cl--sublis): New function.
14942         (cl--defsubst-expand): Use it.
14944 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
14946         * subr.el (log10): Move here from C code, and declare as obsolete.
14947         All uses of (log10 X) replaced with (log X 10).
14949 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14951         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14952         Declare with `defvar-local'.
14953         (tabulated-list-use-header-line, tabulated-list-entries)
14954         (tabulated-list-padding, tabulated-list-printer)
14955         (tabulated-list-sort-key): Declare with `defvar-local'.
14956         (tabulated-list-init-header, tabulated-list-print-fake-header):
14957         Use `setq-local'.
14959 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
14961         * arc-mode.el (archive-mode): Add `archive-write-file' to
14962         `write-contents-functions' also for remote files.  (Bug#14652)
14964 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14966         * cus-edit.el (custom-commands): Fix typos.
14967         (custom-display): Fix tooltip text.
14968         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14969         Fix typos in docstrings.
14970         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14971         (custom-unlispify-menu-entry, custom-magic-value-create)
14972         (custom-add-see-also, custom-group-value-create): Use ?\s.
14973         (custom-guess-type, customize-apropos, editable-field)
14974         (custom-face-value-create): Use `string-match-p'.
14975         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14977         * custom.el (custom-load-symbol): Use `string-match-p'.
14979         * ansi-color.el: Convert to lexical binding.
14980         (ansi-colors): Fix URL.
14981         (ansi-color-context, ansi-color-context-region): Use defvar-local.
14982         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14983         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14985 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14987         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14989         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14991 2013-06-19  Tom Tromey  <tromey@redhat.com>
14993         * net/eww.el (eww-top-url): Remove.
14994         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14995         (eww-render): Set new variables.  Don't set eww-top-url.
14996         (eww-handle-link): Handle "prev", "home", and "contents".
14997         Downcase the rel text.
14998         (eww-top-url): Choose best top URL.
15000 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15002         * net/eww.el: Rewrite to implement form elements "by hand" instead of
15003         relying in widget.el.  Using widget.el leads to too many
15004         user interface inconsistencies.
15005         (eww-self-insert): Implement entering commands in text fields.
15006         (eww-process-text-input): New function to make text input field editing
15007         work.
15008         (eww-submit): Rewrite to use the new-style form methods.
15009         (eww-select-display): Display the correct selected item.
15010         (eww-change-select): Implement changing the select value.
15011         (eww-toggle-checkbox): Implement radio/checkboxes.
15012         (eww-update-field): Fix compilation error.
15013         (eww-tag-textarea): Implement <textarea>.
15015         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
15016         we don't shadow mode-specific bindings.
15018         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
15019         nothing to push.
15021         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
15023 2013-06-19  Glenn Morris  <rgm@gnu.org>
15025         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
15027 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
15029         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
15030         not needed.
15032         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
15034 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15036         * net/browse-url.el (browse-url-browser-function):
15037         `eww-browse-url' has the right calling signature, `eww' does not.
15039 2013-06-19  Glenn Morris  <rgm@gnu.org>
15041         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15042         Only eval autoloaded macros.
15043         (byte-compile-autoload): Only give the macro warning for macros.
15045         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
15046         (ps-underlined-faces): Declare.
15048         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
15049         (speedbar-add-supported-extension): Declare.
15051         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
15052         Don't include a date stamp in the header of the generated file;
15053         it leads to needless differences between output files.
15055 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
15057         * net/secrets.el (secrets-struct-secret-content-type):
15058         Replace check of introspection data by a test call of "CreateItem".
15059         Some servers do not offer introspection.
15061 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15063         * electric.el (electric-pair-mode): Improve interaction with
15064         electric-layout-mode.
15065         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
15066         (electric-pair-syntax): Use text-mode-syntax-table in comments
15067         and strings.
15068         (electric-pair--insert): New function.
15069         (electric-pair-post-self-insert-function): Use it and
15070         electric--after-char-pos.
15072 2013-06-19  Leo Liu  <sdl.web@gmail.com>
15074         * progmodes/octave.el (octave-help): Fix regexp.
15076 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15078         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
15079         (shr-table-horizontal-line): Allow nil as a value, and change the
15080         default.
15081         (shr-insert-table-ruler): Respect the nil value.
15083 2013-06-18  Tom Tromey  <tromey@barimba>
15085         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15086         New defvars.
15087         (eww-open-file): New defun.
15088         (eww-render): Initialize new variables.
15089         (eww-display-html): Handle "link" and "a".
15090         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
15091         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
15092         (eww-back-url): Rename from eww-previous-url.
15093         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15094         New defuns.
15096 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
15098         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
15099         Distinguish ternary operator tokens from slash symbol and slash
15100         char literal.
15102 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
15104         Convert symbol prettification into minor mode and global minor mode.
15106         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
15107         `prog-prettify-symbols', and make a local defvar instead of defcustom.
15108         (prettify-symbols--keywords): Rename from
15109         `prog-prettify-symbols-alist' and make a local defvar.
15110         (prettify-symbols--compose-symbol): Rename from
15111         `prog--prettify-font-lock-compose-symbol'.
15112         (prettify-symbols--make-keywords): Rename from
15113         `prog-prettify-font-lock-symbols-keywords' and simplify.
15114         (prog-prettify-install): Remove.
15115         (prettify-symbols-mode): New minor mode, based on
15116         `prog-prettify-install'.
15117         (turn-on-prettify-symbols-mode): New function.
15118         (global-prettify-symbols-mode): New globalized minor mode.
15120         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15121         * progmodes/cfengine.el (cfengine3-mode):
15122         * progmodes/perl-mode.el (perl-mode): Don't call
15123         `prog-prettify-install'; set `prettify-symbols-alist' instead.
15125 2013-06-18  Juri Linkov  <juri@jurta.org>
15127         * files-x.el (modify-file-local-variable-message): New function.
15128         (modify-file-local-variable)
15129         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
15130         and call `modify-file-local-variable-message' when it's non-nil.
15131         (add-file-local-variable, delete-file-local-variable)
15132         (add-file-local-variable-prop-line)
15133         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
15134         and use it.  (Bug#9820)
15136 2013-06-18  Juri Linkov  <juri@jurta.org>
15138         * emulation/vi.el (vi-shell-op):
15139         * emulation/vip.el (vip-execute-com, ex-command):
15140         * emulation/viper-cmd.el (viper-exec-bang):
15141         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
15142         the call of `shell-command-on-region'.  (Bug#14637)
15144         * simple.el (shell-command-on-region): Doc fix.
15146 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15148         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15149         (bug#14633).
15151 2013-06-18  Glenn Morris  <rgm@gnu.org>
15153         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15155         * newcomment.el (comment-search-forward, comment-search-backward):
15156         Doc fix.  (Bug#14376)
15158 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
15160         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15161         (buffer-face-mode-invoke): Doc fix.
15163 2013-06-18  Matthias Meulien  <orontee@gmail.com>
15165         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15166         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15168 2013-06-18  Glenn Morris  <rgm@gnu.org>
15170         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15171         Replace obsolete function generic-make-keywords with its expansion.
15173         * progmodes/python.el (ffap-alist): Declare.
15175         * textmodes/reftex.el (bibtex-mode-map): Declare.
15177 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15179         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15180         (package-unpack, package-unpack-single): Return the pkg-dir.
15181         (package-download-transaction): Use it to update package-alist.
15183 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15185         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15186         possible choice.
15188 2013-06-17  Juri Linkov  <juri@jurta.org>
15190         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15192 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
15194         * emacs-lisp/package.el (package-load-descriptor):
15195         Remove `with-syntax-table' call, `read' doesn't need it.
15196         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15198 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
15200         * startup.el (command-line): Expand package name returned by
15201         `package--description-file' (bug#14639).
15203 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
15205         * emacs-lisp/package.el (package-load-descriptor): Do not call
15206         `emacs-lisp-mode', just use its syntax table.
15208 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
15210         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15211         `font-lock-extra-managed-props' if any prettifying keyword is added.
15212         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15213         (prog-mode): Use `setq-local'.
15215 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15217         * international/characters.el (standard-case-table): Set syntax of ?»
15218         and ?« to punctuation.
15220 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
15222         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15223         Save relevant match data before calling `syntax-ppss' (bug#14595).
15225 2013-06-15  Juri Linkov  <juri@jurta.org>
15227         * files-x.el (modify-file-local-variable-prop-line): Add local
15228         variables to the end of the existing comment on the first line.
15229         Use `file-auto-mode-skip' to skip interpreter magic line,
15230         and also skip XML declaration.
15232 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15234         * startup.el (package--builtin-versions): New var.
15235         (package-subdirectory-regexp): Remove.
15236         (package--description-file): Hard code its value instead.
15238         * emacs-lisp/package.el: Don't activate packages older than builtin.
15239         (package-obsolete-list): Rename from package-obsolete-alist, and make
15240         it into a simple list of package-desc.
15241         (package-strip-version): Remove.
15242         (package-built-in-p): Use package--builtin-versions.
15243         (package-mark-obsolete): Simplify.
15244         (package-process-define-package): Mark it obsolete if older than the
15245         builtin version.
15246         (package-handle-response): Use line-end-position.
15247         (package-read-archive-contents, package--download-one-archive):
15248         Simplify.
15249         (package--add-to-archive-contents): Skip if older than the builtin or
15250         installed version.
15251         (package-menu-describe-package): Fix last change.
15252         (package-list-unversioned): New var.
15253         (package-menu--generate): Use it.
15255         * emacs-lisp/autoload.el: Manage package--builtin-versions.
15256         (autoload--insert-text, autoload--insert-cookie-text): New functions.
15257         (autoload-builtin-package-versions): New variable.
15258         (autoload-generate-file-autoloads): Use them.
15259         Remove the list of autoloaded functions/macros from the
15260         (autoload...) comments.
15262         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15264 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
15266         * simple.el (line-move-partial): Don't jump to the next screen
15267         line as soon as it becomes visible.  Instead, continue enlarging
15268         the vscroll until the portion of a tall screen line that's left on
15269         display is about the height of the frame's default font.
15270         (Bug#14567)
15272 2013-06-15  Glenn Morris  <rgm@gnu.org>
15274         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15275         compilation-error-regexp-alist void, or local while let-bound.
15277         * progmodes/make-mode.el (makefile-mode-syntax-table):
15278         Treat "=" as punctuation.  (Bug#14614)
15280 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
15282         * help-fns.el (describe-variable):
15283         Add extra line for permanent-local variables.
15285 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
15287         * progmodes/scheme.el (scheme-font-lock-keywords-2):
15288         Add export, import, library.  (Bug#9164)
15289         (library): Set indent function.
15291 2013-06-14  Glenn Morris  <rgm@gnu.org>
15293         * term/xterm.el (xterm--query):
15294         Stop after first matching handler.  (Bug#14615)
15296 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
15298         Add support for dired in saveplace.
15299         * dired.el (dired-initial-position-hook): New variable.
15300         (dired-initial-position): Call hook to place cursor position.
15301         * saveplace.el (save-place-to-alist): Add dired position.
15302         (save-place-dired-hook): New function.
15304 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15306         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15307         through a symbol rather than letrec.
15309         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
15310         (package-desc): Add `dir' field.
15311         (package-desc-full-name): New function.
15312         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
15313         (package-maybe-load-descriptor): Remove.
15314         (package-load-all-descriptors): Just call package-load-descriptor.
15315         (package--disabled-p): New function.
15316         (package-desc-vers, package-desc-doc): Remove aliases.
15317         (package--dir): Remove function.
15318         (package-activate): Check if a package is disabled.
15319         (package-process-define-package): New function, extracted from
15320         define-package.
15321         (define-package): Turn into a place holder.
15322         (package-unpack-single, package-tar-file-info):
15323         Use package--description-file.
15324         (package-compute-transaction): Use package--disabled-p.
15325         (package-download-transaction): Don't call
15326         package-maybe-load-descriptor since they're all loaded anyway.
15327         (package-install): Change argument to be a pkg-desc.
15328         (package-delete): Use a single pkg-desc argument.
15329         (describe-package-1): Use package-desc-dir instead of package--dir.
15330         Use package-desc property instead of package-symbol.
15331         (package-install-button-action): Adjust accordingly.
15332         (package--push): Rewrite.
15333         (package-menu--print-info): Adjust accordingly.  Change the ID format
15334         to be a pkg-desc.
15335         (package-menu-describe-package, package-menu-get-status)
15336         (package-menu--find-upgrades, package-menu-mark-upgrades)
15337         (package-menu-execute, package-menu--name-predicate):
15338         Adjust accordingly.
15339         * startup.el (package--description-file): New function.
15340         (command-line): Use it.
15341         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15342         Use package-desc-version.
15344         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15345         (byte-compile-preprocess): Use it.
15346         (byte-compile-file-form-defalias): Try a bit harder to use macros we
15347         can't quite recognize.
15348         (byte-compile-add-to-list): Remove.
15349         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15350         (cconv-closure-convert): Add assertion.
15352         * emacs-lisp/map-ynp.el: Use lexical-binding.
15353         (map-y-or-n-p): Remove unused vars `tail' and `object'.
15354         Factor out some repeated code.
15356 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15358         * subr.el (with-eval-after-load): New macro.
15359         (eval-after-load): Allow form to be a function.
15360         take advantage of lexical-binding.
15361         (do-after-load-evaluation): Use dolist and adjust to new format.
15362         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15364 2013-06-13  Juri Linkov  <juri@jurta.org>
15366         * replace.el (perform-replace): Display "symbol " and other search
15367         modes from `isearch-message-prefix' in the *Help* buffer.
15369         * isearch.el (isearch-query-replace): Add " symbol" and other
15370         possible search modes from `isearch-message-prefix' to the prompt.
15371         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15372         when reading a regexp to collect.
15374 2013-06-13  Juri Linkov  <juri@jurta.org>
15376         * isearch.el (word-search-regexp): Match whitespace if the search
15377         string begins or ends in whitespace.  The LAX arg is applied to
15378         both ends of the search string.  Use `regexp-quote' and explicit
15379         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
15380         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15381         boundaries are replaced with symbol boundaries, and characters
15382         between symbols match non-word non-symbol syntax.  (Bug#14602)
15384 2013-06-13  Juri Linkov  <juri@jurta.org>
15386         * isearch.el (isearch-del-char): Don't exceed the length of
15387         `isearch-string' by the prefix arg.  (Bug#14563)
15389 2013-06-13  Juri Linkov  <juri@jurta.org>
15391         * isearch.el (isearch-yank-word, isearch-yank-line)
15392         (isearch-char-by-name, isearch-quote-char)
15393         (isearch-printing-char, isearch-process-search-char):
15394         Add optional count prefix arg.  (Bug#14563)
15396         * international/isearch-x.el
15397         (isearch-process-search-multibyte-characters):
15398         Add optional count prefix arg.
15400 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15402         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15403         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15404         lexical-binding.
15406 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
15408         * subr.el (set-temporary-overlay-map): Add on-exit argument.
15410 2013-06-13  Glenn Morris  <rgm@gnu.org>
15412         * startup.el (tty-handle-args):
15413         Don't just discard "--" and anything after.  (Bug#14608)
15415         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15417 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
15419         Implement changes in Secret Service API.  Make it backward compatible.
15420         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15421         (secrets-create-item): Use it.  Prefix properties with interface.
15423 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
15425         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
15426         (term-emulate-terminal): Respect term-suppress-hard-newline.
15428 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
15430         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15431         Only remove a `thumb-file' overlay.  (Bug#14548)
15433 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
15435         * mail/reporter.el (reporter-submit-bug-report):
15436         Handle missing package-name.  (Bug#14600)
15438 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15440         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15441         (reftex-citation-prompt, reftex-default-bibliography)
15442         (reftex-bib-or-thebib, reftex-get-bibfile-list)
15443         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15444         (reftex-bib-sort-author, reftex-bib-sort-year)
15445         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15446         (reftex-extract-bib-entries-from-thebibliography)
15447         (reftex-get-bibkey-default, reftex-get-bib-names)
15448         (reftex-parse-bibtex-entry, reftex-get-bib-field)
15449         (reftex-format-bib-entry, reftex-parse-bibitem)
15450         (reftex-format-bibitem, reftex-do-citation)
15451         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15452         (reftex-restrict-bib-matches, reftex-extract-bib-file)
15453         (reftex-insert-bib-matches, reftex-format-citation)
15454         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15455         (reftex-create-bibtex-file): Add docstrings, mostly by converting
15456         existing comments into docstrings.
15458 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
15460         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15462 2013-06-12  Andreas Schwab  <schwab@suse.de>
15464         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15465         for auto-save files.
15467 2013-06-12  Glenn Morris  <rgm@gnu.org>
15469         * ido.el (ido-delete-ignored-files): Remove.
15470         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15471         Go back to calling ido-ignore-item-p directly.
15473 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
15475         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15477         * ido.el (ido-delete-ignored-files): New function,
15478         split from ido-make-file-list-1.
15479         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
15480         (ido-make-file-list-1): Use ido-delete-ignored-files.
15482 2013-06-12  Leo Liu  <sdl.web@gmail.com>
15484         * progmodes/octave.el (inferior-octave-startup)
15485         (inferior-octave-completion-table)
15486         (inferior-octave-track-window-width-change)
15487         (octave-eldoc-function-signatures, octave-help)
15488         (octave-find-definition): Use single quoted strings.
15489         (inferior-octave-startup-args): Change default value.
15490         (inferior-octave-startup): Do not hard code "-i" and
15491         "--no-line-editing".
15492         (inferior-octave-resync-dirs): Add optional arg NOERROR.
15493         (inferior-octave-directory-tracker): Use it.
15494         (octave-goto-function-definition): Robustify.
15495         (octave-help): Support highlighting operators in 'See also'.
15496         (octave-find-definition): Find subfunctions only in Octave mode.
15498 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15500         * help-fns.el (help-fns--compiler-macro): If the handler function is
15501         named, then put a link to it.
15502         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15503         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15504         (cl-typep): Use it.
15505         (cl-eval-when): Simplify debug spec.
15506         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
15507         compiler-macro function instead of setting `compiler-macro-file'.
15509 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
15511         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15512         * vc/vc-hooks.el (vc-stay-local): Doc fix.
15514 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15515             Daniel Hackney  <dan@haxney.org>
15517         First part of Daniel Hackney's patch to package.el.
15518         * emacs-lisp/package.el: Use defstruct.
15519         (package-desc): New, main struct.
15520         (package--bi-desc, package--ac-desc): New structs, used to describe the
15521         format in external files.
15522         (package-desc-vers): Replace with package-desc-version accessor.
15523         (package-desc-doc): Replace with package-desc-summary accessor.
15524         (package-activate-1): Remove `package' arg since the pkg-vec now
15525         includes the name.
15526         (define-package): Use package-desc-from-define.
15527         (package-unpack-single): Change file-name arg to be a symbol.
15528         (package--add-to-archive-contents): Use package-desc-create and new
15529         accessor functions to package--ac-desc.
15530         (package-buffer-info, package-tar-file-info): Return a package-desc.
15531         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
15532         arg to be a package-desc.
15533         (package-install-file): Adjust accordingly.  Use \' to match EOS.
15534         (package--from-builtin): New function.
15535         (describe-package-1, package-menu--generate): Use it.
15536         (package--make-autoloads-and-compile): Change name arg to be a symbol.
15537         (package-generate-autoloads): Idem and return the name of the file.
15538         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15539         Change pkg-info arg to be a package-desc.
15540         Use package-make-ac-desc.
15541         (package-upload-file): Use \' to match EOS.
15542         * finder.el (finder-compile-keywords): Use package-make-builtin.
15544 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15546         * vc/vc.el (vc-deduce-fileset): Change error message.
15547         (vc-read-backend): New function.
15548         (vc-next-action): Use it.
15550         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15552         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15553         (prolog-font-lock-keywords): Use regexp-opt instead.
15554         Don't manually highlight strings.
15555         (prolog-mode-variables): Simplify comment-start-skip.
15556         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
15558         * emacs-lisp/generic.el (generic--normalise-comments)
15559         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15560         (generic-mode-set-comments): Use them.
15561         (generic-bracket-support): Use setq-local.
15562         (generic-make-keywords-list): Declare obsolete.
15564 2013-06-11  Glenn Morris  <rgm@gnu.org>
15566         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15567         Prettify after setting font-lock-defaults.  (Bug#14574)
15569 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
15571         * replace.el (query-replace, occur-read-regexp-defaults-function)
15572         (replace-search):
15573         * subr.el (declare-function, number-sequence, local-set-key)
15574         (substitute-key-definition, locate-user-emacs-file)
15575         (with-silent-modifications, split-string, eval-after-load):
15576         Fix typos, remove unneeded backslashes and reflow some docstrings.
15578 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15580         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15581         default for Elisp files.
15583 2013-06-11  Glenn Morris  <rgm@gnu.org>
15585         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15586         although define-derived-mode was doing this anyway.  (Bug#14583)
15588 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
15590         * allout.el (allout-encryption-plaintext-sanitization-regexps):
15591         Fix make-variable-buffer-local call to refer to the correct variable.
15593 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
15595         * eshell/em-term.el (eshell-visual-commands)
15596         (eshell-visual-subcommands, eshell-visual-options):
15597         Add summary line to docstrings.  Add cross-references.
15599 2013-06-10  Glenn Morris  <rgm@gnu.org>
15601         * epa.el (epa-read-file-name): New function.  (Bug#14510)
15602         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
15604 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
15606         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15607         output redirection to be ignored with visual commands.
15609 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
15611         * eshell/em-term.el (eshell-visual-command-p): New function.
15612         (eshell-term-initialize): Move long lambda to separate function
15613         eshell-visual-command-p.
15614         * eshell/em-dirs.el (eshell-dirs-initialize):
15615         * eshell/em-script.el (eshell-script-initialize):
15616         Add missing #' to lambda.
15618 2013-06-08  Leo Liu  <sdl.web@gmail.com>
15620         * progmodes/octave.el (octave-add-log-current-defun): New function.
15621         (octave-mode): Set add-log-current-defun-function.
15622         (octave-goto-function-definition): Do not move point if not found.
15623         (octave-find-definition): Enhance to try subfunctions first.
15625 2013-06-08  Glenn Morris  <rgm@gnu.org>
15627         * emacs-lisp/bytecomp.el (byte-compile-char-before)
15628         (byte-compile-backward-char, byte-compile-backward-word):
15629         Improve previous change, to handle non-explicit nil.
15631 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15633         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15634         (smie--opener/closer-at-point): New function.
15635         (smie--matching-block-data): Use it.  Don't match from right after an
15636         opener or right before a closer.  Obey smie-blink-matching-inners.
15637         Don't signal a mismatch for repeated inners like "switch..case..case".
15639 2013-06-07  Leo Liu  <sdl.web@gmail.com>
15641         * progmodes/octave.el (octave-mode): Set comment-use-global-state
15642         to t.  (Bug#14303)
15643         (octave-function-header-regexp): Fix.  (Bug#14570)
15644         (octave-help-mode-finish-hook, octave-help-mode-finish):
15645         Remove.  Just use temp-buffer-show-hook.
15647         * newcomment.el (comment-search-backward): Revert last change.
15648         (Bug#14434)
15650         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15652 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
15654         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15655         through xargs, to avoid failure due to MS-Windows limitations on
15656         command-line length.
15658 2013-06-06  Glenn Morris  <rgm@gnu.org>
15660         * font-lock.el (lisp-font-lock-keywords-2):
15661         Treat user-error like error.
15663         * emacs-lisp/bytecomp.el (byte-compile-char-before)
15664         (byte-compile-backward-char, byte-compile-backward-word):
15665         Handle explicit nil arguments.  (Bug#14565)
15667 2013-06-05  Alan Mackenzie  <acm@muc.de>
15669         * isearch.el (isearch-allow-prefix): New user option.
15670         (isearch-other-meta-char): Don't exit isearch when a prefix
15671         argument is typed whilst `isearch-allow-prefix' is non-nil.
15672         (Bug#9706)
15674 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15676         * autorevert.el (auto-revert-notify-handler): Use memq.
15677         Hide assertion failure.
15679         * skeleton.el: Use cl-lib.
15680         (skeleton-further-elements): Use defvar-local.
15681         (skeleton-insert): Use cl-progv.
15683 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15685         * progmodes/prog-mode.el (prog-prettify-symbols)
15686         (prog-prettify-install): Update docstrings.
15688 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15690         * simple.el: Move all the prog-mode code to prog-mode.el.
15691         * progmodes/prog-mode.el: New file.
15692         * loadup.el: Add prog-mode.el.
15694 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15696         * simple.el (prog-prettify-symbols): Add version.
15697         (prog-prettify-install): Add convenience function to prettify symbols.
15699         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15700         (perl--augmented-font-lock-keywords-1)
15701         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15702         variables and use it.
15704         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15705         (cfengine3-mode): Remove unneeded variable and use it.
15707         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15708         (lisp--augmented-font-lock-keywords-1)
15709         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15710         Remove unneeded variables and use it.
15712 2013-06-05  João Távora  <joaotavora@gmail.com>
15714         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15715         to point when opening the connection.  (Bug#14380)
15717 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15719         * subr.el (load-history-regexp, load-history-filename-element)
15720         (eval-after-load, after-load-functions, do-after-load-evaluation)
15721         (eval-next-after-load, display-delayed-warnings)
15722         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15723         definition of save-match-data.
15724         (overriding-local-map): Remove accidental obsolescence declaration.
15726         * emacs-lisp/edebug.el (edebug-result): Move before first use.
15728 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15730         Generalize symbol prettify support to prog-mode and implement it
15731         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15732         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15733         (prog--prettify-font-lock-compose-symbol)
15734         (prog-prettify-font-lock-symbols-keywords): New variables and
15735         functions to support symbol prettification.
15736         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15737         (lisp--augmented-font-lock-keywords-1)
15738         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15739         (lisp--prettify-symbols-alist): Implement prettify of lambda.
15740         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15741         (cfengine3--prettify-symbols-alist, cfengine3-mode):
15742         Implement prettify of -> => :: strings.
15743         * progmodes/perl-mode.el (perl-prettify-symbols)
15744         (perl--font-lock-compose-symbol)
15745         (perl--font-lock-symbols-keywords): Move to prog-mode.
15746         (perl--prettify-symbols-alist): Prettify -> => :: strings.
15747         (perl-font-lock-keywords-1)
15748         (perl-font-lock-keywords-2): Remove explicit prettify support.
15749         (perl--augmented-font-lock-keywords)
15750         (perl--augmented-font-lock-keywords-1)
15751         (perl--augmented-font-lock-keywords-2, perl-mode):
15752         Implement prettify support.
15754 2013-06-05  Leo Liu  <sdl.web@gmail.com>
15756         Re-implement SMIE matching block highlight using
15757         show-paren-data-function.  (Bug#14395)
15758         * emacs-lisp/smie.el (smie-matching-block-highlight)
15759         (smie--highlight-matching-block-overlay)
15760         (smie--highlight-matching-block-lastpos)
15761         (smie-highlight-matching-block)
15762         (smie-highlight-matching-block-mode): Remove.
15763         (smie--matching-block-data-cache): New variable.
15764         (smie--matching-block-data): New function.
15765         (smie-setup): Use smie--matching-block-data for
15766         show-paren-data-function.
15768         * progmodes/octave.el (octave-mode-menu): Fix.
15769         (octave-find-definition): Skip garbage lines.
15771 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15773         Fix compilation error with simultaneous dynamic+lexical scoping.
15774         Add warning when a defvar appears after the first let-binding.
15775         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15776         (byte-compile-close-variables): Initialize it.
15777         (byte-compile--declare-var): New function.
15778         (byte-compile-file-form-defvar)
15779         (byte-compile-file-form-define-abbrev-table)
15780         (byte-compile-file-form-custom-declare-variable): Use it.
15781         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
15782         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
15783         (byte-compile-bind): Handle dynamic bindings that shadow
15784         lexical bindings.
15785         (byte-compile-unbind): Make arg non-optional.
15786         (byte-compile-let): Simplify.
15787         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
15788         (cconv--analyse-function, cconv-analyse-form): Populate it.
15789         Protect byte-compile-bound-variables to limit the scope of defvars.
15790         (cconv-analyse-form): Add missing rule for (defvar <foo>).
15791         Remove unneeded rule for `declare'.
15793         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
15794         so as to avoid depending on cl-adjoin at run-time.
15795         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15797         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15798         (macroexp--warn-and-return): Use it.
15800 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15802         * subr.el: Convert to lexical binding.
15803         (overriding-local-map): Make obsolete.
15804         (add-to-list): Doc fix.  Add compiler macro.
15805         (read-key): Swap values of local maps.
15807 2013-06-05  Leo Liu  <sdl.web@gmail.com>
15809         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15811 2013-06-04  Leo Liu  <sdl.web@gmail.com>
15813         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15814         (compilation-auto-jump): Suppress the "Mark set" message to give
15815         way to exit message.
15817 2013-06-04  Alan Mackenzie  <acm@muc.de>
15819         Remove faulty optimisation from indentation calculation.
15820         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15821         search limit based on 2000 characters back from indent-point.
15823 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15825         * eshell/em-term.el (cl-lib): Require `cl-lib'.
15827 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15829         * emacs-lisp/lisp.el: Use lexical-binding.
15830         (lisp--local-variables-1, lisp--local-variables): New functions.
15831         (lisp--local-variables-completion-table): New var.
15832         (lisp-completion-at-point): Use it complete let-bound vars.
15834         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15835         eagerly (bug#14422).
15837 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
15839         * autorevert.el (auto-revert-notify-enabled)
15840         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15841         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15842         (auto-revert-notify-handler): Handle also gfilenotify.
15844         * subr.el (file-notify-handle-event): New defun.  Replacing ...
15845         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15846         Remove.
15848 2013-06-03  Juri Linkov  <juri@jurta.org>
15850         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15851         `M-s h .'.  (Bug#14427)
15853         * hi-lock.el (highlight-symbol-at-point): New alias for the new
15854         command `hi-lock-face-symbol-at-point'.
15855         (hi-lock-face-symbol-at-point): New command.
15856         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15857         (hi-lock-menu): Add `highlight-symbol-at-point'.
15858         (hi-lock-mode): Doc fix.
15860         * isearch.el (isearch-forward-symbol-at-point): New command.
15861         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15862         (isearch-highlight-regexp): Add a regexp which matches
15863         words/symbols for word/symbol mode.
15865         * subr.el (find-tag-default-bounds): New function with the body
15866         mostly moved from `find-tag-default'.
15867         (find-tag-default): Move most code to `find-tag-default-bounds',
15868         call it and apply `buffer-substring-no-properties' afterwards.
15870 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15872         * eshell/em-term.el (eshell-term-initialize):
15873         Use `cl-intersection' rather than `intersection'.
15875 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
15877         * vc/log-view.el: Doc fix.
15878         (log-view-mode-map): Copy keymap from `special-mode-map'.
15880 2013-06-02  Eric Ludlam  <zappo@gnu.org>
15882         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15883         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15884         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15885         (eieio-unbound, eieio-default-superclass)
15886         (eieio--define-field-accessors, method-static, method-before)
15887         (method-primary, method-after, method-num-lists)
15888         (method-generic-before, method-generic-primary)
15889         (method-generic-after, method-num-slots)
15890         (eieio-specialized-key-to-generic-key)
15891         (eieio--check-type, class-v, class-p)
15892         (eieio-class-name, define-obsolete-function-alias)
15893         (eieio-class-parents-fast, eieio-class-children-fast)
15894         (same-class-fast-p, class-constructor, generic-p)
15895         (generic-primary-only-p, generic-primary-only-one-p)
15896         (class-option-assoc, class-option, eieio-object-p)
15897         (class-abstract-p, class-method-invocation-order)
15898         (eieio-defclass-autoload-map, eieio-defclass-autoload)
15899         (eieio-class-un-autoload, eieio-defclass)
15900         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15901         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15902         (eieio--defgeneric-init-form, eieio-defgeneric-form)
15903         (eieio-defgeneric-reset-generic-form)
15904         (eieio-defgeneric-form-primary-only)
15905         (eieio-defgeneric-reset-generic-form-primary-only)
15906         (eieio-defgeneric-form-primary-only-one)
15907         (eieio-defgeneric-reset-generic-form-primary-only-one)
15908         (eieio-unbind-method-implementations)
15909         (eieio--defmethod, eieio--typep)
15910         (eieio-perform-slot-validation, eieio-validate-slot-value)
15911         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15912         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15913         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15914         (eieio-slot-name-index, eieio-class-slot-name-index)
15915         (eieio-set-defaults, eieio-initarg-to-attribute)
15916         (eieio-attribute-to-initarg, eieio-c3-candidate)
15917         (eieio-c3-merge-lists, eieio-class-precedence-c3)
15918         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15919         (eieio-class-precedence-list, eieio-generic-call-methodname)
15920         (eieio-generic-call-arglst, eieio-generic-call-key)
15921         (eieio-generic-call-next-method-list)
15922         (eieio-pre-method-execution-functions, eieio-generic-call)
15923         (eieio-generic-call-primary-only, eieiomt-method-list)
15924         (eieiomt-optimizing-obarray, eieiomt-install)
15925         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15926         (eieio-generic-form, eieio-defmethod, make-obsolete)
15927         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15928         (defclass): Remove `eval-and-compile' from macro.
15929         (call-next-method, shared-initialize): Instead of using
15930         `scoped-class' variable, use new eieio--scoped-class, and
15931         eieio--with-scoped-class.
15932         (initialize-instance): Rename local variable 'scoped-class' to
15933         'this-class' to remove ambiguitity from old global.
15935         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
15936         eieio.el.
15937         (eieio--scoped-class-stack): New variable.
15938         (eieio--scoped-class): New fcn.
15939         (eieio--with-scoped-class): New scoping macro.
15940         (eieio-defclass): Use pushnew instead of add-to-list.
15941         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15942         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15943         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15944         `scoped-class' variable, use new eieio--scoped-class, and
15945         eieio--with-scoped-class.
15947         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15949 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
15951         * eshell/esh-ext.el (eshell-external-command): Pass args to
15952         `eshell-find-interpreter'.
15953         (eshell-find-interpreter): Add new second parameter ARGS.
15955         * eshell/em-script.el (eshell-script-initialize): Add second arg
15956         to the function added as MATCH to `eshell-interpreter-alist'.
15958         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15959         the function added as MATCH to `eshell-interpreter-alist'.
15961         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15962         (eshell-visual-options): New defcustom.
15963         (eshell-escape-control-x): Adapt docstring.
15964         (eshell-term-initialize): Test `eshell-visual-subcommands' and
15965         `eshell-visual-options' in addition to `eshell-visual-commands'.
15966         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15968 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15970         * progmodes/python.el (python-indent-block-enders): Add break,
15971         continue and raise keywords.
15973 2013-06-01  Glenn Morris  <rgm@gnu.org>
15975         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15977         Plain (f)boundp silences compilation warnings since Emacs 22.1.
15978         * progmodes/cc-cmds.el (delete-forward-p):
15979         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15980         * progmodes/cc-engine.el (buffer-syntactic-context):
15981         * progmodes/cc-fonts.el (face-property-instance):
15982         * progmodes/cc-mode.el (set-keymap-parents):
15983         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15984         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15985         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15986         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15987         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15989         * progmodes/cc-vars.el (other): Emacs has this widget since
15990         at least 21.1, so don't (re)define it.
15992         * eshell/em-cmpl.el (eshell-cmpl-initialize):
15993         Replace the obsolete alias pcomplete-arg-quote-list.
15995 2013-06-01  Leo Liu  <sdl.web@gmail.com>
15997         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15998         punctuation syntax.
15999         (inferior-octave-minimal-columns)
16000         (inferior-octave-last-column-width): New variables.
16001         (inferior-octave-track-window-width-change): New function.
16002         (inferior-octave-mode): Adjust column width so that Octave output,
16003         for example from 'ls', can fit into the window nicely.
16005 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
16007         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16008         Highlight expansions inside regexp literals.
16010 2013-05-31  Glenn Morris  <rgm@gnu.org>
16012         * obsolete/sym-comp.el (symbol-complete):
16013         Replace obsolete completion-annotate-function.
16015         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
16017 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
16019         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16020         New function, checks if point is inside a literal that allows
16021         expression expansion.
16022         (ruby-syntax-propertize-expansion): Use it.
16023         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
16024         around the body.
16026 2013-05-30  Juri Linkov  <juri@jurta.org>
16028         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
16029         to "\M-si".
16030         (isearch-invisible): New variable.
16031         (isearch-forward): Doc fix.
16032         (isearch-mode): Set `isearch-invisible'
16033         to the value of `search-invisible'.
16034         (isearch-toggle-case-fold): Doc fix.
16035         (isearch-toggle-invisible): New command.
16036         (isearch-query-replace): Let-bind `search-invisible'
16037         to the value of `isearch-invisible'.
16038         (isearch-search): Use `isearch-invisible' instead of
16039         `search-invisible'.  Let-bind `search-invisible'
16040         to the value of `isearch-invisible'.  (Bug#11378)
16042 2013-05-30  Juri Linkov  <juri@jurta.org>
16044         * replace.el (perform-replace): Avoid `isearch-range-invisible'
16045         call when `query-flag' is nil and `search-invisible' is non-nil.
16046         (Bug#11746)
16048 2013-05-30  Glenn Morris  <rgm@gnu.org>
16050         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
16052         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
16053         (cc-require): Suppress spurious "noruntime" warnings.
16054         (cc-require-when-compile): Use fboundp, for sake of compiler.
16056         * progmodes/cc-mode.el: Move load of cc-vars before that of
16057         cc-langs (which in turn loads cc-vars), to quieten compiler.
16059 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16061         * paren.el: Simplify the code.
16062         (show-paren-mode): Always start the timer.
16063         (show-paren--idle-timer): Rename from show-paren-idle-timer.
16064         (show-paren--overlay, show-paren--overlay-1): Rename from
16065         show-paren-overlay and show-paren-overlay-1, and initialize to an
16066         overlay rather than to nil.
16067         (show-paren-function): Misc cleanup and simplifications.
16069 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16071         * paren.el (show-paren-data-function): New hook.
16072         (show-paren--default): New function, extracted from show-paren-function.
16073         (show-paren-function): Use show-paren-data-function.
16075 2013-05-30  Glenn Morris  <rgm@gnu.org>
16077         * ielm.el (ielm-map, ielm-complete-symbol):
16078         Use completion-at-point rather than obsolete functions.
16079         (inferior-emacs-lisp-mode): Doc fix.
16080         Set completion-at-point-functions, rather than
16081         comint-dynamic-complete-functions.
16083         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
16084         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
16085         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
16087         * image.el (image-animated-p): Tweak definition.
16089         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16090         (rlogin-process-connection-type): Tweak default.  Add set-after.
16091         (rlogin-host): Doc fix.
16092         (rlogin): Tweak prompt.
16093         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
16095         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
16096         * progmodes/tcl.el (inferior-tcl-mode-map):
16097         Use completion-at-point rather than obsolete alias.
16099         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
16101         * minibuffer.el (read-file-name-completion-ignore-case):
16102         Move before completion--in-region, for eager macro expansion.
16104 2013-05-29  Juri Linkov  <juri@jurta.org>
16106         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
16107         for total count of matching lines.  Add `global-matches' for total
16108         count of matches.  Rename `matches' to `lines' for count of
16109         matching lines.  Add `matches' for count of matches.
16110         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
16111         to `prev-line' for line number of prev match endpt.
16112         Increment `matches' for every match.  Print the number of
16113         matching lines in the header.
16114         (occur-context-lines): Rename `lines' to `curr-line'.
16115         Rename `prev-lines' to `prev-line'.  (Bug#14017)
16117 2013-05-29  Juri Linkov  <juri@jurta.org>
16119         * replace.el (perform-replace): Add `skip-read-only-count',
16120         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
16121         Increment them for corresponding conditions and report the number
16122         of skipped occurrences in the final message.  (Bug#11746)
16123         (query-replace, query-replace-regexp, query-replace-regexp-eval)
16124         (replace-string, replace-regexp): Doc fix.
16126 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16128         * emacs-lisp/trace.el (trace--read-args): Provide a default.
16130         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
16131         prog-mode-map (bug#14504).
16133 2013-05-29  Leo Liu  <sdl.web@gmail.com>
16135         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
16136         (octave-help): Small simplification.
16138         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
16139         off the highlight first.
16141 2013-05-29  Glenn Morris  <rgm@gnu.org>
16143         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
16144         Handle idlwave-last-system-routine-info-cons-cell being nil.
16146         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16147         (idlwave-write-paths): Simplify via with-temp-buffer.
16149         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16150         * emulation/cua-rect.el: Also load cua-base at run time.
16152         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16153         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16154         (cperl-imenu-on-info): Require imenu.
16156 2013-05-28  Alan Mackenzie  <acm@muc.de>
16158         Handle "capitalised keywords" correctly.
16159         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16161 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
16163         * eshell/em-unix.el: Add -r option to cp.
16165 2013-05-28  Glenn Morris  <rgm@gnu.org>
16167         * vc/vc-arch.el (vc-exec-after): Declare.
16168         (vc-switches): Autoload.
16169         * vc/vc-bzr.el: No need to require vc when compiling.
16170         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16171         (vc-resynch-buffer, vc-dir-refresh): Declare.
16172         (vc-setup-buffer, vc-switches): Autoload.
16173         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16174         (vc-resynch-buffer): Declare.
16175         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16176         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16177         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16178         (grep-read-regexp, grep-read-files, grep-expand-template)
16179         (vc-dir-refresh): Declare.
16180         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16181         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16182         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16183         * vc/vc-mtn.el (vc-exec-after): Declare.
16184         (vc-switches): Autoload.
16185         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16186         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16187         (vc-file-tree-walk): Declare.
16188         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16189         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16190         (vc-tag-precondition, vc-rename-master): Autoload.
16191         * vc/vc-svn.el (vc-exec-after): Declare.
16192         (vc-switches, vc-setup-buffer): Autoload.
16193         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16194         Autoload.
16195         (vc-resynch-buffer): Declare.
16197         * obsolete/fast-lock.el (byte-compile-warnings):
16198         Don't warn about obsolete features in this obsolete file.
16200         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16201         Move definition before use.
16203         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16204         (dun-unix-verbs): Remove dun-zippy.
16205         (dun-zippy): Remove function.
16207         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16209 2013-05-27  Juri Linkov  <juri@jurta.org>
16211         * replace.el (replace-search): New function with code moved out
16212         from `perform-replace'.
16213         (replace-highlight, replace-dehighlight): Move function definitions
16214         up closer to `replace-search'.  (Bug#11746)
16216 2013-05-27  Juri Linkov  <juri@jurta.org>
16218         * replace.el (perform-replace): Ignore invisible matches.
16219         In addition to checking `query-replace-skip-read-only', also
16220         filter out matches by calling `run-hook-with-args-until-failure'
16221         on `isearch-filter-predicates', and also check `search-invisible'
16222         for t or call `isearch-range-invisible'.
16223         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
16225 2013-05-27  Juri Linkov  <juri@jurta.org>
16227         * isearch.el (isearch-filter-predicates): Rename from
16228         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
16229         (isearch-message-prefix): Display text from the property
16230         `isearch-message-prefix' of the currently active filters.
16231         (isearch-search): Don't compare `isearch-filter-predicate' with
16232         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
16233         on `isearch-filter-predicates'.  Also check `search-invisible' for t
16234         or call `isearch-range-invisible'.
16235         (isearch-filter-visible): Make obsolete.
16236         (isearch-lazy-highlight-search):
16237         Call `run-hook-with-args-until-failure' on
16238         `isearch-filter-predicates' and use `isearch-range-invisible'.
16240         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16241         `isearch-filter-predicates' instead of `funcall'ing
16242         `isearch-filter-predicate'.
16243         (Info-mode): Set `Info-isearch-filter' to
16244         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16246         * dired-aux.el (dired-isearch-filter-predicate-orig):
16247         Remove variable.
16248         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16249         (dired-isearch-filenames-end): Add and remove
16250         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16251         instead of changing the value of `isearch-filter-predicate'.
16252         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16253         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16254         Put property `isearch-message-prefix' to "filename " on
16255         `dired-isearch-filter-filenames'.
16257         * wdired.el (wdired-change-to-wdired-mode):
16258         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16259         locally instead of changing `isearch-filter-predicate'.
16260         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16262 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
16264         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16265         return the commit hash (Bug#14459).  Also set the
16266         `vc-git-detached' property.
16267         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16268         (vc-git-mode-line-string): Use the same help-echo format whether
16269         in detached mode or not, because we know the actual revision now.
16270         When in detached mode, shorten the revision to 7 chars.
16272 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16274         * emacs-lisp/easy-mmode.el (define-minor-mode):
16275         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16276         mode hook and provide a docstring.
16278 2013-05-27  Alan Mackenzie  <acm@muc.de>
16280         Remove spurious syntax-table text properties inserted by C-y.
16281         * progmodes/cc-mode.el (c-after-change): Also clear hard
16282         syntax-table property with value nil.
16284 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
16286         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16287         when reading the events; the buffer layout shall not be changed.
16289 2013-05-27  Leo Liu  <sdl.web@gmail.com>
16291         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16292         New variable.
16293         (inferior-octave-directory-tracker): Automatically re-sync
16294         default-directory.
16295         (octave-help): Improve handling of 'See also'.
16297 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16299         * doc-view.el: Minor naming convention tweaks.
16300         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16302         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16303         even if there's no `display' property yet (bug#14435).
16305 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
16307         * subr.el (unmsys--file-name): Rename from reveal-filename.
16309         * Makefile.in (custom-deps, finder-data, autoloads)
16310         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16311         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16312         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16314 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16316         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16317         error-completion on the first 2 args of condition-case (bug#14446).
16318         Don't burp at EOB.
16320 2013-05-25  Leo Liu  <sdl.web@gmail.com>
16322         * comint.el (comint-previous-matching-input): Do not flood the
16323         *Messages* buffer with trivial messages.
16325 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16327         * progmodes/flymake.el (flymake-nop): Don't return a string.
16328         (flymake-set-at): Fix typo.
16330         * simple.el (read--expression): New function, extracted from
16331         eval-expression.  Set completion-at-point-functions (bug#14465).
16332         (eval-expression, eval-minibuffer): Use it.
16334 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
16336         * progmodes/flymake.el (flymake-save-buffer-in-file)
16337         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16338         (flymake-selected-frame, flymake-log, flymake-ins-after)
16339         (flymake-set-at, flymake-get-buildfile-from-cache)
16340         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16341         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16342         Refine the doc string.
16343         (flymake-get-file-name-mode-and-masks): Reformat.
16344         (flymake-get-real-file-name-function): Fix a minor bug.
16346 2013-05-24  Juri Linkov  <juri@jurta.org>
16348         * progmodes/grep.el (grep-mode-font-lock-keywords):
16349         Support =linenumber= format used by git-grep for lines with
16350         function names.  (Bug#13549)
16352 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16354         * progmodes/octave.el (octave-smie-rules): Return nil rather than
16355         0 after a semi-colon; it works better for smie-auto-fill.
16356         (octave--indent-new-comment-line): New function.
16357         (octave-indent-new-comment-line): Use it (indirectly).
16358         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
16359         modify comment-line-break-function.
16361         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16362         (smie-setup): Use add-function to set it.
16364 2013-05-24  Sam Steingold  <sds@gnu.org>
16366         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16367         argument (before the `interactive' argument).
16369 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16371         * image-mode.el (image-mode-winprops): Add winprops to
16372         image-mode-winprops-alist before running
16373         image-mode-new-window-functions.
16374         * doc-view.el (doc-view-new-window-function): Don't delay
16375         doc-view-goto-page via timers (bug#14435).
16377 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
16379         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
16380         (doc-view-desktop-save-buffer): New function.
16381         (doc-view-restore-desktop-buffer): New function.
16382         (desktop-buffer-mode-handlers):
16383         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16384         handler.
16385         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16386         `desktop-save-buffer' function.
16388 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
16390         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16391         (tramp-gvfs-file-name-handler): Raise a user error when
16392         `tramp-gvfs-enabled' is nil.
16393         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16394         Do not raise a user error when loading package.  (Bug#14447)
16396         * net/xesam.el: Move to obsolete/.
16398 2013-05-24  Glenn Morris  <rgm@gnu.org>
16400         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16402         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16404         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16405         (Info-find-node, Man-getpage-in-background): Declare.
16407         * mail/unrmail.el (unrmail):
16408         Replace obsolete detect-coding-with-priority.
16410         * net/socks.el (socks-split-string): Use this rather than split-string.
16411         (socks-nslookup-host): Update for above change.
16412         (dynamic-choice, s5-dynamic-choice-match)
16413         (s5-dynamic-choice-match-inline, s5-widget-value-create):
16414         Comment out unused code.
16416         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16417         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16418         (gud-tooltip-echo-area): Make obsolete.
16419         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16421         * progmodes/js.el (js--optimize-arglist): Declare.
16423         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16425         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16426         (ediff-window-C): Declare.
16428         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16429         Tweak requires to silence compiler.
16431         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16432         (he-search-string, he-tried-table, he-expand-list)
16433         (he-init-string, he-string-member, he-substitute-string)
16434         (he-reset-string): Declare.
16436         * obsolete/options.el (list-options): Use custom-variable-p,
16437         rather than obsolete alias.
16439 2013-05-23  Sam Steingold  <sds@gnu.org>
16441         * simple.el (shell-command-on-region): Pass the `replace' argument
16442         down to `call-process-region' to comply with the doc as reported on
16443         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16445 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16447         * emacs-lisp/smie.el (smie-indent-forward-token)
16448         (smie-indent-backward-token): Handle string tokens (bug#14381).
16450 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16452         * ielm.el (ielm-menu): New menu.
16453         (inferior-emacs-lisp-mode): Set comment-start.
16455 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16457         * textmodes/reftex.el (reftex-ref-style-toggle):
16458         Fix deactivate action.
16460         * textmodes/reftex-vars.el (reftex-ref-style-alist):
16461         Add cleveref macros.
16463         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16464         Accept options for bibliography commands.
16465         * textmodes/reftex-vars.el (reftex-bibliography-commands):
16466         Add addbibresource.  Basic Biblatex support.
16468 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
16470         * net/tramp-gvfs.el (top):
16471         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16472         when loading package.  (Bug#14447)
16474 2013-05-23  Glenn Morris  <rgm@gnu.org>
16476         * progmodes/js.el: No need to load comint when compiling.
16477         (ring-insert, comint-send-string, comint-send-input)
16478         (comint-last-input-end, ido-chop): Declare.
16480         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16481         * vc/ediff-mult.el: Adjust requires.
16482         (ediff-directories-internal, ediff-directory-revisions-internal)
16483         (ediff-patch-file-internal): Declare.
16484         * vc/ediff-ptch.el: Adjust requires.
16485         (ediff-use-last-dir, ediff-buffers-internal): Declare.
16486         (ediff-find-file): Autoload.
16487         * vc/ediff-util.el: No need to load ediff when compiling.
16488         (ediff-regions-internal): Declare.
16489         * vc/ediff-wind.el: Adjust requires.
16490         (ediff-compute-toolbar-width): Define when compiling.
16491         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16492         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16493         (dired-get-filename, dired-get-marked-files)
16494         (ediff-last-dir-patch, ediff-patch-default-directory)
16495         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16496         (ediff-patch-buffer-internal): Declare.
16498         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16499         (ispell-process, ispell-buffer-local-words, lm-summary)
16500         (lm-section-start, lm-section-end): Declare.
16501         (checkdoc-ispell-init): Simplify.
16503         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16504         (he-string-member, he-reset-string, he-substitute-string): Declare.
16506         * eshell/em-ls.el: Adjust requires.
16507         (eshell-glob-regexp): Declare.
16508         * eshell/em-tramp.el: Adjust requires.
16509         (eshell-parse-command): Autoload.
16510         * eshell/em-xtra.el: Adjust requires.
16511         (eshell-parse-command): Autoload.
16512         * eshell/esh-ext.el: Adjust requires.
16513         (eshell-parse-command, eshell-close-handles): Autoload.
16514         * eshell/esh-io.el: Adjust requires.
16515         (eshell-output-filter): Autoload.
16516         * eshell/esh-util.el: No need to load tramp when compiling.
16517         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16518         Declare.
16519         (eshell-parse-ange-ls): Require ange-ftp and tramp.
16520         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16521         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16522         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16523         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16524         * eshell/esh-opt.el, eshell/esh-proc.el:
16525         * eshell/esh-var.el: Adjust requires.
16526         * eshell/eshell.el: Do not require esh-util twice.
16527         (eshell-add-input-to-history): Declare.
16528         (eshell-command): Check history module is active before using it.
16530         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16532 2013-05-22  Leo Liu  <sdl.web@gmail.com>
16534         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16536 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
16538         * autorevert.el (auto-revert-notify-add-watch)
16539         (auto-revert-notify-handler): Add `attrib' for the inotify case,
16540         it indicates changes in file modification time.
16542 2013-05-22  Glenn Morris  <rgm@gnu.org>
16544         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16545         Always delete the autoloaded function from the noruntime and
16546         unresolved functions lists.
16548         * allout.el: No need to load epa, epg, overlay when compiling.
16549         (epg-context-set-passphrase-callback, epg-list-keys)
16550         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16551         (epg-key-user-id-list): Declare.
16553         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16554         (viper-set-parsing-style-toggling-macro)
16555         (viper-set-emacs-state-searchstyle-macros):
16556         Use called-interactively-p on Emacs.
16557         (viper-looking-back): Make it an obsolete alias.  Update callers.
16558         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16559         Use looking-back rather than viper-looking-back.
16560         (viper-tmp-insert-at-eob, viper-enlarge-region)
16561         (viper-read-string-with-history, viper-register-to-point)
16562         (viper-append-to-register, viper-change-state-to-vi)
16563         (viper-backward-char-carefully, viper-forward-char-carefully)
16564         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16565         (viper-change-state-to-emacs): Declare.
16566         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16567         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16568         * emulation/viper-mous.el: Do not load viper-cmd.
16569         (viper-backward-char-carefully, viper-forward-char-carefully)
16570         (viper-forward-word, viper-adjust-window): Declare.
16572         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16574         * progmodes/idlw-help.el (idlwave-help-fontify):
16575         Use called-interactively-p.
16577         * term/w32console.el (w32-get-console-codepage)
16578         (w32-get-console-output-codepage): Declare.
16580         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16581         Remove unnecessary declarations.
16582         (dframe-message): Doc fix.
16584         * info.el (dframe-select-attached-frame, dframe-current-frame):
16585         Declare.
16587         * speedbar.el (speedbar-message): Make it an obsolete alias.
16588         Update all callers.
16589         (speedbar-with-attached-buffer)
16590         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16591         (speedbar-with-writable): Use backquote.
16592         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16593         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16594         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16595         rather than speedbar- aliases.
16596         * mail/rmail.el: Load dframe rather than speedbar when compiling.
16597         (speedbar-make-specialized-keymap, speedbar-insert-button)
16598         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16599         (speedbar-do-function-pointer): Declare.
16600         (rmail-speedbar-button, rmail-speedbar-find-file)
16601         (rmail-speedbar-move-message):
16602         Use dframe-with-attached-buffer rather than speedbar- alias.
16603         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16604         (dframe-message, speedbar-make-specialized-keymap)
16605         (speedbar-add-expansion-list, speedbar-mode-functions-list)
16606         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16607         (speedbar-insert-button, dframe-select-attached-frame)
16608         (dframe-maybee-jump-to-attached-frame)
16609         (speedbar-change-initial-expansion-list)
16610         (speedbar-previously-used-expansion-list-name): Declare.
16611         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16612         Use dframe-message, dframe-with-attached-buffer rather than
16613         speedbar- aliases.
16614         (gud-sentinel): Silence compiler.
16615         * progmodes/vhdl-mode.el (speedbar-refresh)
16616         (speedbar-do-function-pointer, speedbar-add-supported-extension)
16617         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16618         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16619         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16620         (speedbar-file-lists, speedbar-make-tag-line)
16621         (speedbar-line-directory, speedbar-goto-this-file)
16622         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16623         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16624         (speedbar-make-button, speedbar-reset-scanners)
16625         (speedbar-files-item-info, speedbar-line-text)
16626         (speedbar-find-file-in-frame, speedbar-set-timer)
16627         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16628         (speedbar-with-writable): Do not (re)define it.
16629         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16630         rather than speedbar- alias.
16632 2013-05-21  Leo Liu  <sdl.web@gmail.com>
16634         * progmodes/octave.el (octave-mode-menu): Update and re-organize
16635         menu items.
16636         (octave-mode): Tweak fill-nobreak-predicate.
16637         (inferior-octave-startup): Check process to avoid infinite loop.
16638         (inferior-octave): Pop to buffer first to show abornmal process
16639         exit information.
16641 2013-05-21  Glenn Morris  <rgm@gnu.org>
16643         * printing.el (pr-menu-bar): Define when compiling.
16645 2013-05-21  Leo Liu  <sdl.web@gmail.com>
16647         * progmodes/octave.el (octave-auto-fill): Remove.
16648         (octave-indent-new-comment-line): Improve.
16649         (octave-mode): Use auto fill mode through
16650         comment-line-break-function and fill-nobreak-predicate.
16651         (octave-goto-function-definition): Support DEFUN_DLD.
16652         (octave-beginning-of-defun): Small tweak.
16653         (octave-help): Show parent directory.
16655 2013-05-21  Glenn Morris  <rgm@gnu.org>
16657         * files.el (dired-unmark):
16658         * progmodes/gud.el (gdb-input): Update declarations.
16660         * calculator.el (electric, ehelp): No need to load when compiling.
16661         (Electric-command-loop, electric-describe-mode): Declare.
16663         * doc-view.el (doc-view-current-converter-processes): Move before use.
16665         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16666         Move MODE-set-explicitly definition before use.
16668         * international/mule-diag.el (mule-diag):
16669         Don't use obsolete window-system-version.
16671         * mail/feedmail.el (smtpmail): No need to load when compiling.
16672         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16674         * mail/mail-utils.el (rfc822): No need to load when compiling.
16675         (rfc822-addresses): Autoload it.
16676         (mail-strip-quoted-names): Trivial simplification.
16678         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16679         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16681         * net/snmp-mode.el (tempo): Don't duplicate requires.
16683         * progmodes/prolog.el (info): No need to load when compiling.
16684         (comint): Require before shell requires it.
16685         (Info-goto-node): Autoload it.
16686         (Info-follow-nearest-node): Declare.
16687         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16689         * textmodes/artist.el (picture-mode-exit): Declare.
16691         * textmodes/reftex-parse.el (reftex-parse-from-file):
16692         Trivial rewrite so the compiler can parse it better.
16694 2013-05-20  Leo Liu  <sdl.web@gmail.com>
16696         * progmodes/octave.el (octave-help-mode-map)
16697         (octave-help-mode-finish-hook): New variables.
16698         (octave-help-mode, octave-help-mode-finish): New functions.
16699         (octave-help): Use octave-help-mode.
16701 2013-05-20  Glenn Morris  <rgm@gnu.org>
16703         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
16705 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
16707         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16708         start at point, so that expansion starting right after opening
16709         slash in a regexp is recognized.
16710         (ruby-syntax-before-regexp-re): New defvar, extracted from
16711         ruby-syntax-propertize-function.  Since the value of this regexp
16712         is looked up at runtime now, we should be able to turn
16713         `ruby-syntax-methods-before-regexp' into a defcustom later.
16714         (ruby-syntax-propertize-function): Split regexp matching into two
16715         parts, for opening and closing slashes.  That allows us to skip
16716         over string interpolations and support multiline regexps.
16717         Don't call `ruby-syntax-propertize-expansions', instead use another rule
16718         for them, which calls `ruby-syntax-propertize-expansion'.
16719         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16720         call to `ruby-syntax-propertize-function'.
16721         (ruby-syntax-propertize-expansion): Extracted from
16722         `ruby-syntax-propertize-expansions'.  Handles one expansion.
16723         (ruby-syntax-propertize-percent-literal): Leave point right after
16724         the percent symbol, so that the expression expansion rule can
16725         propertize the contents.
16726         (ruby-syntax-propertize-heredoc): Leave point at bol following the
16727         heredoc openers.
16728         (ruby-syntax-propertize-expansions): Remove.
16730 2013-05-18  Juri Linkov  <juri@jurta.org>
16732         * man.el (Man-default-man-entry): Remove `-' from the end
16733         of the default value.  (Bug#14400)
16735 2013-05-18  Glenn Morris  <rgm@gnu.org>
16737         * comint.el (comint-password-prompt-regexp):
16738         Allow "password for XXX" where XXX contains colons (eg https://...).
16740 2013-05-18  Leo Liu  <sdl.web@gmail.com>
16742         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16743         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
16744         (octave-source-directories): Don't check process.
16745         (octave-source-directories, octave-find-definition): Doc fix.
16747 2013-05-18  Glenn Morris  <rgm@gnu.org>
16749         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16750         Remove backspace/delete bindings.  (Bug#14392)
16752         * cus-dep.el (custom-make-dependencies): Sort the output.
16753         (custom-versions-load-alist): Convert comment to doc.
16755 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16757         * newcomment.el (comment-search-backward): Stricter in finding
16758         comment start.  (Bug#14303)
16760         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16761         (octave-comment-start-skip): Properly anchored.
16763 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16765         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16766         Clean up when turned off.  (Bug#14395)
16767         (smie--highlight-matching-block-overlay): No longer buffer-local.
16768         (smie-highlight-matching-block): Adjust.
16770 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
16772         Doc string fix for "nanoseconds" (Bug#14406).
16773         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16774         Fix doc string typo that had "nanoseconds" instead of "microseconds".
16776 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
16778         * calc/calc-units.el (math-extract-units): Preserve powers
16779         of units.
16781 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16783         * subr.el (delete-consecutive-dups): New function.
16784         * ido.el (ido-set-matches-1): Use it.
16785         * progmodes/octave.el (inferior-octave-completion-table): Use it.
16786         * ido.el (ido-remove-consecutive-dups): Remove.
16788 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16790         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16791         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
16792         regexp-opt's `words'.
16794 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16796         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16797         (smie--highlight-matching-block-overlay)
16798         (smie--highlight-matching-block-lastpos)
16799         (smie--highlight-matching-block-timer): New variables.
16800         (smie-highlight-matching-block): New function.
16801         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
16802         (smie-setup): Conditionally enable smie-blink-matching-open.
16804 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
16806         Sync with upstream verilog-mode r840.
16807         * progmodes/verilog-mode.el (verilog-mode-version)
16808         (verilog-mode-release-date): Update.
16809         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16810         (verilog-sig-tieoff): Fix string error on
16811         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
16812         (verilog-read-decls): Fix parameters confusing
16813         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
16815 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
16817         * subr.el (reveal-filename): New function.
16819         * loadup.el: Compute Emacs executable versions on MS-Windows,
16820         where executables have the .exe extension.  Add a hard link
16821         emacs-XX.YY.ZZ.exe on MS-Windows.
16823         * Makefile.in (XARGS_LIMIT): New variable.
16824         (custom-deps, finder-data, autoloads)
16825         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16826         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16827         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16828         (compile-main): Limit xargs according to $(XARGS_LIMIT).
16830 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16832         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16833         (octave-mode-menu, octave-mode-map): Remove its uses.
16835 2013-05-16  Reto Zimmermann  <reto@gnu.org>
16837         Sync with upstream vhdl mode v3.34.2.
16838         * progmodes/vhdl-mode.el: Use `push' throughout.
16839         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16840         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16841         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
16842         (vhdl-actual-generic-name): New option to derive actual generic name.
16843         (vhdl-port-paste-signals): Replace formal by actual generics.
16844         (vhdl-beautify): New name for old group vhdl-align.  Update users.
16845         (vhdl-beautify-options): New option.
16846         (vhdl-last-input-event): New compat alias.  Use throughout.
16847         (vhdl-goto-line): Replace user level function `goto-line'.
16848         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16849         vhdl-fix-statement-buffer.
16850         (vhdl-create-mode-menu): Add some entries.
16851         (vhdl-align-region-groups): Respect vhdl-beautify-options.
16852         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16853         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16854         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16855         to force statements on one line.
16856         (vhdl-remove-trailing-spaces-region):
16857         New, split from vhdl-remove-trailing-spaces.
16858         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16859         Respect vhdl-beautify-options.
16860         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16861         (vhdl-update-sensitivity-list): Not add with index if exists without.
16862         Not include array index with signal.  Ignore keywords in comments.
16863         (vhdl-get-visible-signals): Regexp tweaks.
16864         (vhdl-template-component-inst): Handle empty library.
16865         (vhdl-template-type): Add template for 'enum' type.
16866         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16867         Use vhdl-replace-string.
16868         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16869         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16870         (vhdl-speedbar-initialize): Update for above name change.
16871         (vhdl-compose-wire-components): Fix in handling of constants.
16872         (vhdl-error-regexp-emacs-alist): New variable.
16873         (vhdl-error-regexp-add-emacs): New function;
16874         adds support for new compile.el (Emacs 22+)
16875         (vhdl-generate-makefile-1): Change target order for single lib. units.
16876         Allow use of absolute file names.
16878 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16880         * simple.el (prog-indent-sexp): Indent enclosing defun.
16882 2013-05-15  Glenn Morris  <rgm@gnu.org>
16884         * cus-start.el (show-trailing-whitespace): Move to editing basics.
16885         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16886         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16887         (whitespace-highlight): Move to whitespace group.
16889         * comint.el (comint-source):
16890         * pcmpl-linux.el (pcmpl-linux):
16891         * shell.el (shell-faces):
16892         * eshell/esh-opt.el (eshell-opt):
16893         * international/ccl.el (ccl): Remove empty custom groups.
16895         * completion.el (dynamic-completion-mode):
16896         * jit-lock.el (jit-lock-debug-mode):
16897         * minibuffer.el (completion-in-region-mode):
16898         * type-break.el (type-break-mode-line-message-mode)
16899         (type-break-query-mode):
16900         * emulation/tpu-edt.el (tpu-edt-mode):
16901         * progmodes/subword.el (global-subword-mode, global-superword-mode):
16902         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16903         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16905         * term/xterm.el (xterm): Change parent group to terminals.
16907         * master.el (master): Remove empty custom group.
16908         (master-mode): Remove unused :group argument.
16909         * textmodes/refill.el (refill): Remove empty custom group.
16910         (refill-mode): Remove unused :group argument.
16912         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16914         * cus-dep.el: Provide a feature.
16915         (custom-make-dependencies): Ignore dotfiles (dir-locals).
16916         Don't mistakenly ignore files whose basenames match a basename
16917         from preloaded-file-list (eg cedet/ede/simple.el).
16918         Add a fallback method for getting :group.
16920 2013-05-15  Juri Linkov  <juri@jurta.org>
16922         * isearch.el (isearch-char-by-name): Rename from
16923         `isearch-insert-char-by-name'.  Doc fix.
16924         (isearch-forward): Mention `isearch-char-by-name' in
16925         the docstring.  (Bug#13348)
16927         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16928         `exit-minibuffer' instead of
16929         `isearch-nonincremental-exit-minibuffer'.
16930         (isearch-edit-string): Remove mention of
16931         `isearch-nonincremental-exit-minibuffer' from docstring.
16932         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16933         (isearch-forward-exit-minibuffer)
16934         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
16936 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16938         * loadup.el: Just use unversioned DOC.
16940         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16941         literals as extending to EOB.
16942         (nxml-last-fontify-end): Remove unused variable.
16943         (nxml-after-change1): Use with-silent-modifications.
16944         (nxml-extend-after-change-region): Simplify.
16945         (nxml-extend-after-change-region1): Remove function.
16946         (nxml-after-change1): Don't adjust for dependent regions.
16947         (nxml-fontify-matcher): Simplify.
16948         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16949         (xmltok-add-dependent): Remove function.
16950         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16951         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16952         (xmltok-scan-prolog-after-processing-instruction-open): Treat
16953         unclosed <[[, <?, comment, and other literals as extending to EOB.
16954         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16955         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16956         Remove functions.
16957         (rng-do-some-validation-1): Don't mark dependent regions.
16958         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16959         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16960         (nxml-clear-dependent-regions): Remove functions.
16961         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16962         (nxml-ensure-scan-up-to-date):
16963         Don't clear&mark dependent regions.
16965 2013-05-15  Leo Liu  <sdl.web@gmail.com>
16967         * progmodes/octave.el (octave-goto-function-definition):
16968         Improve and fix callers.
16970 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16972         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16973         the setter (bug#14387).
16975         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16976         surrounding group (bug#14402).
16978 2013-05-14  Juri Linkov  <juri@jurta.org>
16980         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16981         (Bug#14390)
16983 2013-05-14  Glenn Morris  <rgm@gnu.org>
16985         * progmodes/f90.el (f90-imenu-generic-expression):
16986         Fix typo in 2013-05-08 change.  (Bug#14402)
16988 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16990         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16991         Remove signals for which replies are never received.
16993 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16995         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16996         (gdb-handler-alist, gdb-handler-number): Remove variables.
16997         (gdb-handler-list): New variable.
16998         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16999         (gdb-pending-handler-p, gdb-handle-reply)
17000         (gdb-remove-all-pending-triggers): New functions.
17001         (gdb-discard-unordered-replies): New defcustom.
17002         (gdb-handler): New defstruct.
17003         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
17004         instead of gdb-pending-triggers.  Update docstring.
17005         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
17006         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
17007         (gdb-var-update-handler, def-gdb-auto-update-trigger)
17008         (def-gdb-auto-update-handler, gdb-get-changed-registers)
17009         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
17010         (gdb-frame-handler): Pending triggers are now automatically managed.
17011         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
17012         Remove argument.
17013         (gdb-input): Automatically handles pending triggers.  Update docstring.
17014         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
17015         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
17016         Update comments.
17017         (gdb-done-or-error): Now use gdb-handle-reply.
17019 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
17021         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
17022         gdb-debug-log.
17024 2013-05-14  Glenn Morris  <rgm@gnu.org>
17026         * subr.el (user-emacs-directory-warning): New option.
17027         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
17029 2013-05-14  Leo Liu  <sdl.web@gmail.com>
17031         * progmodes/octave.el (octave-font-lock-keywords): Fix error
17032         during redisplay.
17033         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
17034         (octave-font-lock-texinfo-comment): Fix invalid search bound
17035         error: wrong side of point.
17037 2013-05-14  Glenn Morris  <rgm@gnu.org>
17039         * progmodes/flymake.el (flymake-xml-program): New option.
17040         (flymake-xml-init): Use it.
17042         * term/xterm.el: Provide a feature.
17044         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
17046 2013-05-13  Glenn Morris  <rgm@gnu.org>
17048         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
17049         Add compat aliases as a hack workaround.  (Bug#14384)
17051 2013-05-13  Leo Liu  <sdl.web@gmail.com>
17053         * progmodes/octave.el (octave-indent-comment): Fix indentation for
17054         ###, and %!.
17055         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
17056         C-M-q.
17057         (octave-comment-start-skip): Include %!.
17058         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
17060 2013-05-12  Leo Liu  <sdl.web@gmail.com>
17062         * progmodes/octave.el (inferior-octave-startup): Store the value
17063         of __octave_srcdir__ for octave-source-directories.
17064         (inferior-octave-check-process): New function refactored out of
17065         inferior-octave-send-list-and-digest.
17066         (octave-source-directories)
17067         (octave-find-definition-filename-function): New variables.
17068         (octave-source-directories)
17069         (octave-find-definition-default-filename): New functions.
17070         (octave-find-definition): Improve to find functions implemented in C++.
17072 2013-05-12  Glenn Morris  <rgm@gnu.org>
17074         * calendar/diary-lib.el (diary-outlook-format-1):
17075         Don't include dayname in the output.  (Bug#14349)
17077 2013-05-11  Glenn Morris  <rgm@gnu.org>
17079         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
17081         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
17082         Treat cc-provide like provide.
17084 2013-05-11  Kevin Ryde  <user42@zip.com.au>
17086         * cus-dep.el (custom-make-dependencies):
17087         Use generated-autoload-load-name for the sake of files such
17088         such cedet/semantic/bovine/c.el, where the base file name
17089         is not in load-path.  (Bug#5277)
17091 2013-05-11  Glenn Morris  <rgm@gnu.org>
17093         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
17094         Provide features.
17096 2013-05-11  Leo Liu  <sdl.web@gmail.com>
17098         * progmodes/octave.el (octave-indent-comment): Improve.
17099         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
17100         (octave-eldoc-function-signatures, octave-eldoc-function):
17101         New functions.
17102         (octave-mode, inferior-octave-mode): Add eldoc support.
17104 2013-05-11  Richard Stallman  <rms@gnu.org>
17106         * epa.el (epa-decrypt-file): Take output file name as argument
17107         and read it using `interactive'.
17109 2013-05-11  Leo Liu  <sdl.web@gmail.com>
17111         * progmodes/octave.el (octave-beginning-of-line)
17112         (octave-end-of-line): Check before using up-list because it jumps
17113         out of more syntactic contructs since moving to smie.
17114         (octave-indent-comment): New function.
17115         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
17116         (octave-begin-keywords, octave-end-keywords)
17117         (octave-reserved-words, octave-smie-bnf-table)
17118         (octave-smie-rules): Add new keywords from Octave 3.6.4.
17120 2013-05-11  Glenn Morris  <rgm@gnu.org>
17122         * faces.el (internal-face-x-get-resource):
17123         * frame.el (ns-display-monitor-attributes-list):
17124         * calc/calc-aent.el (math-to-radians-2):
17125         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
17126         Fix declarations.
17128         * calc/calc-menu.el: Make it loadable in isolation.
17130         * net/eudcb-bbdb.el: Make it loadable without bbdb.
17131         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
17132         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
17133         (eudc-bbdb-query-internal): Require 'bbdb.
17135         * lpr.el (lpr-headers-switches):
17136         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
17138         * progmodes/sql.el (sql-login-params): Fix and improve :type.
17140         * emulation/edt-mapper.el: In batch mode, error rather than hang.
17142         * term.el (term-set-escape-char): Make it idempotent.
17144 2013-05-10  Leo Liu  <sdl.web@gmail.com>
17146         * progmodes/octave.el (inferior-octave-completion-table):
17147         No longer a function and all uses changed.  Use cache to speed up
17148         completion due to bug#11906.
17149         (octave-beginning-of-defun): Re-write to be more general.
17151 2013-05-10  Glenn Morris  <rgm@gnu.org>
17153         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17155 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17157         * comint.el (comint-redirect-send-command-to-process): Use :around
17158         rather than :override for comint-redirect-filter.
17159         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17160         Call it instead of comint-redirect-original-filter-function (which
17161         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
17163 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
17165         * frame.el (display-monitor-attributes-list): Add NS case.
17166         (ns-display-monitor-attributes-list): Declare.
17168 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
17170         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
17172 2013-05-09  Glenn Morris  <rgm@gnu.org>
17174         * international/fontset.el (vertical-centering-font-regexp):
17175         Set standard-value.
17177         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17179         * bookmark.el (bookmark-search-delay):
17180         * cus-start.el (vertical-centering-font-regexp):
17181         * ps-mule.el (ps-mule-font-info-database-default):
17182         * ps-print.el (ps-default-fg, ps-default-bg):
17183         * type-break.el (type-break-good-break-interval):
17184         * whitespace.el (whitespace-indentation-regexp)
17185         (whitespace-space-after-tab-regexp):
17186         * emacs-lisp/testcover.el (testcover-1value-functions)
17187         (testcover-noreturn-functions, testcover-progn-functions)
17188         (testcover-prog1-functions):
17189         * emulation/viper-init.el (viper-emacs-state-cursor-color):
17190         * eshell/em-glob.el (eshell-glob-translate-alist):
17191         * play/tetris.el (tetris-tty-colors):
17192         * progmodes/cpp.el (cpp-face-default-list):
17193         * progmodes/flymake.el (flymake-allowed-file-name-masks):
17194         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17195         (idlwave-help-browser-generic-args):
17196         * progmodes/make-mode.el (makefile-special-targets-list):
17197         * progmodes/python.el (python-shell-virtualenv-path):
17198         * progmodes/verilog-mode.el (verilog-active-low-regexp)
17199         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17200         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17201         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17202         * textmodes/reftex-vars.el (reftex-format-label-function):
17203         * textmodes/remember.el (remember-diary-file): Fix custom types.
17205         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17206         Add :version.
17208 2013-05-09  Leo Liu  <sdl.web@gmail.com>
17210         * progmodes/octave.el (inferior-octave-completion-at-point):
17211         Restore file completion.  (Bug#14300)
17212         (inferior-octave-startup): Fix incorrect highlighting for the
17213         first prompt.
17215 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17217         * progmodes/ruby-mode.el: First cut at SMIE support.
17218         (ruby-use-smie): New var.
17219         (ruby-smie-grammar): New constant.
17220         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17221         (ruby-smie--forward-token, ruby-smie--backward-token)
17222         (ruby-smie-rules): New functions.
17223         (ruby-mode-variables): Setup SMIE if applicable.
17225 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
17227         * simple.el (line-move-visual): Signal beginning/end of buffer
17228         only if vertical-motion moved less than it was requested.  Avoids
17229         silly incorrect error messages when there are display strings with
17230         multiple newlines at EOL.
17232 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17234         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17235         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17236         (prolog-char-quote-workaround):
17237         * progmodes/cperl-mode.el (cperl-under-as-char):
17238         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17239         Mark as obsolete.
17240         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17241         their declaration.
17242         (vhdl-mode-syntax-table-init): Remove.
17244         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17245         last change.
17247         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17248         syntax for "_".
17249         (ld-script-font-lock-keywords):
17250         Change regexps to use things like \_< and \_>.
17252         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17253         Change all regexps to use things like \_< and \_>.
17255         * progmodes/autoconf.el (autoconf-definition-regexp)
17256         (autoconf-font-lock-keywords, autoconf-current-defun-function):
17257         Handle a _ with symbol syntax.
17258         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17260         * progmodes/ada-mode.el (ada-mode-abbrev-table):
17261         Consolidate declaration.
17262         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17263         the declaration.
17264         (ada-create-syntax-table): Remove.
17265         (ada-capitalize-word): Don't mess with the syntax of "_" since it
17266         already has the right syntax nowadays.
17267         (ada-goto-next-word): Don't change the syntax of "_".
17269         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17270         with-wrapper-hook.
17272 2013-05-08  Sam Steingold  <sds@gnu.org>
17274         * thingatpt.el (thing-at-point): Accept optional second argument
17275         NO-PROPERTIES to strip the text properties from the return value.
17276         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17277         to `thing-at-point' instead of stripping the properties ourselves.
17278         Also, when `thing-at-point' fails to find a url, prepend "http://"
17279         to the filename at point on the assumption that the user is
17280         pointing at something like gnu.org/gnu.
17282 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
17284         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17285         * faces.el (crm-separator):
17286         Silence byte-compiler.
17288         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17289         (tool-bar-map): Remove unneeded defvars.
17291 2013-05-08  Leo Liu  <sdl.web@gmail.com>
17293         Re-work a fix for bug#10994 based on Le Wang's patch.
17294         * ido.el (ido-remove-consecutive-dups): New helper.
17295         (ido-completing-read): Use it.
17296         (ido-chop): Revert fix for bug#10994.
17298 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
17300         * cus-edit.el (custom-save-variables):
17301         Pretty-print long values.  (Bug#14187)
17303 2013-05-08  Glenn Morris  <rgm@gnu.org>
17305         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17306         (m4-mode-syntax-table): Init in the defvar.
17307         (m4-mode-abbrev-table): Let define-derived-mode define it.
17309 2013-05-08  Tom Tromey  <tromey@redhat.com>
17311         * progmodes/m4-mode.el (m4-mode-syntax-table):
17312         Do not treat "_" as word constituent.  (Bug#14167)
17314 2013-05-07  Glenn Morris  <rgm@gnu.org>
17316         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17317         Remove explicit eshell-isearch-cancel-map.
17319         * progmodes/f90.el (f90-smart-end-names): New option.
17320         (f90-smart-end): Doc fix.
17321         (f90-end-block-optional-name): New constant.
17322         (f90-block-match): Respect f90-smart-end-names.
17324 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17326         * progmodes/octave.el (octave-smie-forward-token): Be more careful
17327         about implicit semi-colons (bug#14218).
17329 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17331         * frame.el (display-monitor-attributes-list)
17332         (frame-monitor-attributes): New functions.
17334 2013-05-06  Leo Liu  <sdl.web@gmail.com>
17336         * progmodes/octave.el (octave-syntax-propertize-function): Change
17337         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
17338         (octave-font-lock-keywords): Use octave-operator-regexp.
17339         (octave-completion-at-point): Rename from
17340         octave-completion-at-point-function.
17341         (inferior-octave-directory-tracker): Robustify.
17342         (octave-text-functions): Remove and fix its uses.  No such things
17343         any more.
17345 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17347         * emacs-lisp/trace.el (trace--display-buffer): New function.
17348         (trace-make-advice): Use it.
17350 2013-05-06  Juri Linkov  <juri@jurta.org>
17352         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
17353         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17354         Doc fix.
17355         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17356         in the help string.  (Bug#12985)
17358 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
17360         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
17362 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17364         * progmodes/perl-mode.el: Add support for here documents.
17365         (perl-syntax-propertize-function): Match here-doc markers.
17366         (perl-syntax-propertize-special-constructs): Find their end.
17367         (perl-imenu-generic-expression): Use [:alnum:].
17369         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17370         (advice--add-function): Refresh the advice if already present
17371         (bug#14317).
17373 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
17375         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
17377 2013-05-06  Glenn Morris  <rgm@gnu.org>
17379         * w32-fns.el (w32-charset-info-alist): Declare.
17381         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17382         of its defcustom properties.
17383         (eshell-cmpl-initialize): No need to load pcomplete.
17385         * generic-x.el: No need to require comint when compiling.
17387         * net/eudc-export.el: Make it loadable without bbdb.
17388         (top-level): Use require rather than load-library.
17389         (eudc-create-bbdb-record, eudc-bbdbify-phone)
17390         (eudc-batch-export-records-to-bbdb)
17391         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17392         Require bbdb.
17394 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17396         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17397         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17398         some tweaks, instead.
17400 2013-05-05  Leo Liu  <sdl.web@gmail.com>
17402         * progmodes/octave.el (octave-font-lock-keywords)
17403         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17404         (inferior-octave-send-list-and-digest): Improve error message.
17405         (octave-mode, inferior-octave-mode): Use setq-local.
17406         (octave-help): Set info-lookup-mode.
17408 2013-05-05  Richard Stallman  <rms@gnu.org>
17410         * vc/compare-w.el (compare-windows-whitespace):
17411         Treat no-break space as whitespace.
17413         * mail/rmailsum.el (rmail-summary-rmail-update):
17414         Detect empty summary and don't change selected message.
17415         (rmail-summary-goto-msg): Likewise.
17417         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17418         Doc fixes, rename args.
17420 2013-05-05  Alan Mackenzie  <acm@muc.de>
17422         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17424 2013-05-05  Juri Linkov  <juri@jurta.org>
17426         * info.el (Info-read-subfile): Use (point-min) instead of (point)
17427         to not add the length of the summary segment to the return value.
17428         (Bug#14125)
17430 2013-05-05  Leo Liu  <sdl.web@gmail.com>
17432         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17433         (inferior-octave-output-filter): Remove.
17434         (octave-send-region, inferior-octave-startup): Fix callers.
17435         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17436         (octave-binary-file-extensions): New user variable.
17437         (octave-find-definition): Confirm if opening binary files.
17438         (octave-help-file): Use octave-find-definition to get the binary
17439         confirmation.
17440         (octave-help): Adjust for octave-help-file change.
17442 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17444         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17445         Merge the two entries that handle function definitions.
17446         (pascal--syntax-propertize): New const.
17447         (pascal-mode): Use it.  Use setq-local.
17449 2013-05-04  Glenn Morris  <rgm@gnu.org>
17451         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17452         (diary-from-outlook): Respect diary-from-outlook-function.
17454 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17456         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17457         Move the declaration from C.
17458         (read-minibuffer, eval-minibuffer): Move from C.
17459         (completion-setup-function): Avoid minibuffer-completion-contents.
17461 2013-05-03  Leo Liu  <sdl.web@gmail.com>
17463         * progmodes/octave.el (octave-font-lock-keywords): Do not
17464         dehighlight 'end' in comments or strings.
17465         (octave-completing-read, octave-goto-function-definition):
17466         New helpers.
17467         (octave-help-buffer): New user variable.
17468         (octave-help-file, octave-help-function): New button types.
17469         (octave-help): New command and bind it to C-h ;.
17470         (octave-find-definition): New command and bind it to M-.
17471         (user-error): Alias to error if not defined.
17473 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17475         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17476         for \.  (bug#14332)
17477         (octave-font-lock-keywords): Include [ and {.
17479 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17481         * progmodes/octave.el (inferior-octave-startup-file): Change default.
17482         (inferior-octave): Remove calling comint-mode and return the buffer.
17483         (inferior-octave-startup): Cosmetic changes.
17485 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17487         * progmodes/octave.el (octave-syntax-propertize-function):
17488         Include the case when ' is at line beginning.  (Bug#14336)
17490 2013-05-02  Glenn Morris  <rgm@gnu.org>
17492         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17493         * desktop.el (vc-dir-mode): Just autoload it here.
17495 2013-05-02  Alan Mackenzie  <acm@muc.de>
17497         Eliminate variable c-standard-font-lock-fontify-region-function.
17498         * progmodes/cc-mode.el
17499         (c-standard-font-lock-fontify-region-function): Remove.
17500         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17502 2013-05-01  Leo Liu  <sdl.web@gmail.com>
17504         * progmodes/octave.el: Compatible with older emacs-24 releases.
17505         (inferior-octave-has-built-in-variables): Remove.  Built-in
17506         variables were removed from Octave in 2007.
17507         (inferior-octave-startup): Fix uses.
17508         (comint-line-beginning-position): Remove compatibility code for
17509         emacs 21.
17511 2013-05-01  Juri Linkov  <juri@jurta.org>
17513         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
17515 2013-05-01  Juri Linkov  <juri@jurta.org>
17517         * comint.el (comint-previous-matching-input): Don't print message
17518         "History item: %d" when `isearch-mode' is active.
17519         (comint-history-isearch-message): Print message "History item: %d"
17520         when `comint-input-ring-index' is not empty and this function is
17521         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
17523 2013-05-01  Leo Liu  <sdl.web@gmail.com>
17525         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17526         definitions.  Use completion-at-point to insert keywords.
17527         (octave-abbrev-start): Remove.
17528         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17530 2013-04-30  Leo Liu  <sdl.web@gmail.com>
17532         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17533         change.
17535 2013-04-30  Alan Mackenzie  <acm@muc.de>
17537         Handle arbitrarily long C++ member initialisation lists.
17538         * progmodes/cc-engine.el (c-back-over-member-initializers):
17539         new function.
17540         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17541         (most) member init lists.
17543 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17545         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17546         variable.
17548 2013-04-30  Leo Liu  <sdl.web@gmail.com>
17550         * progmodes/octave.el (octave-variables): Remove.  No builtin
17551         variables any more.  All converted to functions.
17552         (octave-font-lock-keywords, octave-completion-at-point-function):
17553         Fix uses.
17554         (octave-font-lock-texinfo-comment): New user variable.
17555         (octave-texinfo-font-lock-keywords): New variable for texinfo
17556         comment block.
17557         (octave-function-comment-block): New face.
17558         (octave-font-lock-texinfo-comment): New function.
17559         (octave-mode): Font lock texinfo comment block.
17561 2013-04-29  Leo Liu  <sdl.web@gmail.com>
17563         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17564         indexing expression.
17565         (octave-continuation-string): Do not use \.
17566         (inferior-octave-complete-impossible): Remove.
17567         (inferior-octave-completion-table)
17568         (inferior-octave-completion-at-point): Remove its uses.
17569         (inferior-octave-startup): completion_matches was introduced to
17570         Octave in 1996 so safe to assume it.
17571         (octave-function-file-comment): Improve to follow how Octave does it.
17572         (octave-update-function-file-comment): Tweak.
17574 2013-04-29  Leo Liu  <sdl.web@gmail.com>
17576         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17577         (inferior-octave-startup): Remove inferior-octave-startup-hook.
17578         (octave-function-file-comment): Fix typo.
17579         (octave-sync-function-file-names): Use read-char-choice.
17581 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
17583         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17584         to t for the less important warnings.
17586 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
17588         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
17590 2013-04-27  Glenn Morris  <rgm@gnu.org>
17592         * vc/log-view.el (log-view-current-entry):
17593         Treat "---" separator lines as part of the following rev.  (Bug#14169)
17595 2013-04-27  Juri Linkov  <juri@jurta.org>
17597         * subr.el (read-number): Doc fix about using it by interactive
17598         code letter `n'.  (Bug#14254)
17600 2013-04-27  Juri Linkov  <juri@jurta.org>
17602         * desktop.el (desktop-auto-save-timeout): New option.
17603         (desktop-file-checksum): New variable.
17604         (desktop-save): Add optional arg `auto-save' and don't auto-save
17605         if nothing changed.
17606         (desktop-auto-save-timer): New variable.
17607         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17608         (after-init-hook): Call `desktop-auto-save-set-timer'.
17609         Suggested by Reuben Thomas <rrt@sc3d.org> in
17610         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17612 2013-04-27  Leo Liu  <sdl.web@gmail.com>
17614         * progmodes/octave.el (octave-function-file-p)
17615         (octave-skip-comment-forward, octave-function-file-comment)
17616         (octave-update-function-file-comment): New functions.
17617         (octave-mode-map): Bind C-c ; to
17618         octave-update-function-file-comment.
17619         (octave-mode-menu): Add octave-update-function-file-comment.
17620         (octave-mode, inferior-octave-mode): Fix doc-string.
17621         (octave-insert-defun): Conform to Octave's coding convention.
17622         (Bug#14285)
17624         * files.el (basic-save-buffer): Don't let errors in
17625         before-save-hook prevent saving buffer.
17627 2013-04-20  Roland Winkler  <winkler@gnu.org>
17629         * faces.el (read-face-name): Use completing-read if arg multiple
17630         is nil.
17632 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
17634         * ls-lisp.el (ls-lisp-insert-directory): If no files are
17635         displayed, move point to after the totals line.
17636         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17637         for the details.
17639 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17641         * emacs-lisp/package.el (package-autoload-ensure-default-file):
17642         Add current dir to the load-path.
17643         (package-generate-autoloads): Don't rely on
17644         autoload-ensure-default-file.
17646 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
17648         * textmodes/remember.el (remember-store-in-files): Document that
17649         the file name format is passed to `format-time-string'.
17651 2013-04-26  Leo Liu  <sdl.web@gmail.com>
17653         * progmodes/octave.el (octave-sync-function-file-names): New function.
17654         (octave-mode): Use it in before-save-hook.
17656 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17658         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17659         (bug#14274).
17661         * progmodes/octave.el (octave-smie-forward-token): Properly skip
17662         \n and comment, even if it's not an implicit ; (bug#14218).
17664 2013-04-26  Glenn Morris  <rgm@gnu.org>
17666         * subr.el (read-number): Once more use `read' rather than
17667         `string-to-number', to trap non-numeric input.  (Bug#14254)
17669 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
17671         * emacs-lisp/syntax.el (syntax-propertize-multiline):
17672         Use `syntax-multiline' text property consistently instead of
17673         `font-lock-multiline'.  (Bug#14237)
17675 2013-04-26  Glenn Morris  <rgm@gnu.org>
17677         * emacs-lisp/shadow.el (list-load-path-shadows):
17678         No longer necessary to check for duplicate simple.el, since
17679         2012-07-07 change to init_lread to not include installation lisp
17680         directories in load-path when running uninstalled.  (Bug#14270)
17682 2013-04-26  Leo Liu  <sdl.web@gmail.com>
17684         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17685         (octave-mode, inferior-octave-mode): Use setq-local.
17686         (octave-not-in-string-or-comment-p): Rename to
17687         octave-in-string-or-comment-p.
17688         (octave-in-comment-p, octave-in-string-p)
17689         (octave-in-string-or-comment-p): Replace defsubst with defun.
17691 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
17693         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17695 2013-04-25  Bastien Guerry  <bzg@gnu.org>
17697         * textmodes/remember.el (remember-data-directory)
17698         (remember-directory-file-name-format): Fix custom types.
17700 2013-04-25  Leo Liu  <sdl.web@gmail.com>
17702         * progmodes/octave.el (octave-completion-at-point-function):
17703         Make use of inferior octave process.
17704         (octave-initialize-completions): Remove.
17705         (inferior-octave-completion-table): New function.
17706         (inferior-octave-completion-at-point): Use it.
17707         (octave-completion-alist): Remove.
17709 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17711         * progmodes/opascal.el: Use font-lock and syntax-propertize.
17712         (opascal-mode-syntax-table): New var.
17713         (opascal-literal-kind, opascal-is-literal-end)
17714         (opascal-literal-token-at): Rewrite.
17715         (opascal--literal-start-re, opascal-font-lock-keywords)
17716         (opascal--syntax-propertize): New constants.
17717         (opascal-font-lock-defaults): Adjust.
17718         (opascal-mode): Use them.  Set comment-<foo> variables as well.
17719         (delphi-comment-face, opascal-comment-face, delphi-string-face)
17720         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17721         (delphi-other-face, opascal-other-face): Remove face variables.
17722         (opascal-save-state): Remove macro.
17723         (opascal-fontifying-progress-step): Remove constant.
17724         (opascal--ignore-changes): Remove var.
17725         (opascal-set-token-property, opascal-parse-next-literal)
17726         (opascal-is-stable-literal, opascal-complete-literal)
17727         (opascal-is-literal-start, opascal-face-of)
17728         (opascal-parse-region, opascal-parse-region-until-stable)
17729         (opascal-fontify-region, opascal-after-change)
17730         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17731         (opascal-debug-parse-region, opascal-debug-parse-window)
17732         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17733         (opascal-debug-fontify-buffer): Remove.
17734         (opascal-debug-mode-map): Adjust accordingly.
17736 2013-04-25  Leo Liu  <sdl.web@gmail.com>
17738         Merge octave-mod.el and octave-inf.el into octave.el with some
17739         cleanups.
17740         * progmodes/octave.el: New file renamed from octave-mod.el.
17741         * progmodes/octave-inf.el: Merged into octave.el.
17742         * progmodes/octave-mod.el: Renamed to octave.el.
17744 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
17746         * textmodes/reftex-vars.el
17747         (reftex-label-ignored-macros-and-environments): New defcustom.
17749         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17751 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17753         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17754         (smie-indent-keyword): Improve the check to ensure that the next
17755         comment is really on the same line.
17756         (smie-indent-comment): Don't align with a subsequent closer (or eob).
17758         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17759         semi-colons if the line is not otherwise empty (bug#14218).
17761 2013-04-25  Glenn Morris  <rgm@gnu.org>
17763         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17765 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17767         * progmodes/opascal.el (opascal-set-token-property): Rename from
17768         opascal-set-text-properties and only set `token' (bug#14134).
17769         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17770         (opascal-literal-text-properties): Remove.
17771         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17772         Adjust callers.
17774 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
17776         * textmodes/remember.el (remember-handler-functions): Add an
17777         option for a new handler `remember-store-in-files'.
17778         (remember-data-directory, remember-directory-file-name-format):
17779         New options.
17780         (remember-store-in-files): New function to store remember notes
17781         as separate files within a directory.
17783 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
17785         * progmodes/compile.el (compilation-next-error-function):
17786         Pass "formats" to compilation-find-file (bug#11777).
17788 2013-04-24  Glenn Morris  <rgm@gnu.org>
17790         * vc/vc-bzr.el (vc-bzr-print-log):
17791         * vc/vc-hg.el (vc-hg-print-log):
17792         * vc/vc-svn.el (vc-svn-print-log):
17793         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
17795         * vc/vc-bzr.el (vc-bzr-print-log):
17796         * vc/vc-cvs.el (vc-cvs-print-log):
17797         * vc/vc-git.el (vc-git-print-log):
17798         * vc/vc-hg.el (vc-hg-print-log):
17799         * vc/vc-mtn.el (vc-mtn-print-log):
17800         * vc/vc-rcs.el (vc-rcs-print-log):
17801         * vc/vc-sccs.el (vc-sccs-print-log):
17802         * vc/vc-svn.el (vc-svn-print-log):
17803         * vc/vc.el (vc-print-log-internal): Doc fixes.
17805 2013-04-23  Glenn Morris  <rgm@gnu.org>
17807         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17808         Remove venerable code attempting to avoid substitute-command-keys.
17810 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
17812         * textmodes/reftex-vars.el (reftex-label-regexps):
17813         Call `reftex-compile-variables' after changes to this variable.
17815 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17817         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17818         Use lexical-binding.
17819         (jit-lock-force-redisplay): Use markers, check buffer's continued
17820         existence and beware narrowed buffers.
17821         (jit-lock-fontify-now): Adjust call accordingly.
17823 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17825         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17826         to avoid misleading the user.
17828 2013-04-22  Leo Liu  <sdl.web@gmail.com>
17830         * info-look.el: Prefer latex2e.info.  (Bug#14240)
17832 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
17834         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
17836         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17837         * net/tramp.el (tramp-call-process): ... here.
17838         (tramp-set-completion-function, tramp-parse-putty):
17839         * net/tramp-adb.el (tramp-adb-execute-adb-command):
17840         * net/tramp-gvfs.el (tramp-gvfs-send-command):
17841         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17842         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17843         (tramp-call-local-coding-command): Use `tramp-call-process'
17844         instead of `tramp-compat-call-process'.
17846         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17847         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17848         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17849         (tramp-find-inline-compress): Improve traces.
17850         (tramp-maybe-send-script): Check for Perl binary.
17851         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17853 2013-04-22  Daiki Ueno  <ueno@gnu.org>
17855         * epg.el (epg-context-pinentry-mode): New function.
17856         (epg-context-set-pinentry-mode): New function.
17857         (epg--start): Pass --pinentry-mode option to gpg command.
17859 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
17861         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17862         `comint-dynamic-complete' is obsolete since 24.1, replaced by
17863         `completion-at-point'.  (Bug#13774)
17865         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17866         default key binding for `describe-distribution' has been moved to
17867         `C-h C-o'.  (Bug#13970)
17869 2013-04-21  Glenn Morris  <rgm@gnu.org>
17871         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17872         Add doc strings.
17873         (vc-print-log): Clarify interactive prompt.
17875 2013-04-20  Glenn Morris  <rgm@gnu.org>
17877         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17878         No longer include timestamp etc information.
17880 2013-04-20  Roland Winkler  <winkler@gnu.org>
17882         * faces.el (read-face-name): Bug fix, return just one face if arg
17883         multiple is nil.  (Bug#14209)
17885 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17887         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17888         (remove-function): Autoload.
17890         * comint.el (comint-redirect-original-filter-function): Remove.
17891         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17892         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17893         (vc-cvs-annotate-command):
17894         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17895         * progmodes/prolog.el (prolog-consult-compile):
17896         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17897         Use add/remove-function instead.
17898         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17899         (gud-tooltip-process-output, gud-tooltip-tips):
17900         Use add/remove-function instead.
17901         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17902         (scheme-interaction-mode, exit-scheme-interaction-mode):
17903         Use add/remove-function instead.
17905         * vc/vc-dispatcher.el: Use lexical-binding.
17906         (vc--process-sentinel): Rename from vc-process-sentinel.
17907         Change last arg to be the code to run.  Don't use vc-previous-sentinel
17908         and vc-sentinel-commands any more.
17909         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
17910         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17912 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
17914         * progmodes/sh-script.el (sh-imenu-generic-expression):
17915         Handle function names with a single character.  (Bug#14111)
17917 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17919         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17920         for subroutines defined in an eval (bug#14182).
17922 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17924         * bookmark.el (bookmark-completing-read): Improve handling of empty
17925         string (bug#14176).
17927 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17929         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17931 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17933         New faster Imenu implementation (bug#14058).
17934         * progmodes/python.el (python-imenu-prev-index-position)
17935         (python-imenu-format-item-label-function)
17936         (python-imenu-format-parent-item-label-function)
17937         (python-imenu-format-parent-item-jump-label-function):
17938         New vars.
17939         (python-imenu-format-item-label)
17940         (python-imenu-format-parent-item-label)
17941         (python-imenu-format-parent-item-jump-label)
17942         (python-imenu--put-parent, python-imenu--build-tree)
17943         (python-imenu-create-index, python-imenu-create-flat-index)
17944         (python-util-popn): New functions.
17945         (python-mode): Set imenu-create-index-function to
17946         python-imenu-create-index.
17948 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17950         * winner.el (winner-active-region): Use region-active-p, activate-mark
17951         and deactivate-mark (bug#14225).
17953         * simple.el (deactivate-mark): Don't inline it.
17955 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
17957         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17959 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
17961         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17962         file extensions from the archive-mode entry in order to prefer
17963         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17965 2013-04-18  Leo Liu  <sdl.web@gmail.com>
17967         * bindings.el (help-event-list): Add ?\?.
17969 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17971         * subr.el (with-wrapper-hook): Declare obsolete.
17972         * simple.el (filter-buffer-substring-function): New hook.
17973         (filter-buffer-substring): Use it.
17974         (filter-buffer-substring-functions): Mark obsolete.
17975         * minibuffer.el (completion-in-region-function): New hook.
17976         (completion-in-region): Use it.
17977         (completion-in-region-functions): Mark obsolete.
17978         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17979         * abbrev.el (abbrev-expand-function): New hook.
17980         (expand-abbrev): Use it.
17981         (abbrev-expand-functions): Mark obsolete.
17982         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17983         and :filter-return.
17985 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17987         * progmodes/python.el (python-nav--syntactically): Fix cornercases
17988         and do not care about match data.
17990 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17992         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17993         completion tables when completing error conditions and
17994         `declare' arguments.
17995         (lisp-complete-symbol, field-complete): Mark as obsolete.
17996         (check-parens): Unmatched parens are user errors.
17997         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17999 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
18001         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
18002         command changed buffer (ie. `flyspell-pre-buffer' is not current
18003         buffer), which prevents making decisions based on invalid value of
18004         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
18005         cause an error when `flyspell-pre-point' was nil after switching
18006         buffers.
18007         (flyspell-post-command-hook): No longer needs to change buffers when
18008         checking pre-word.  While at it remove unnecessary progn.
18010 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
18012         * textmodes/ispell.el (ispell-add-per-file-word-list):
18013         Fix `flyspell-correct-word-before-point' error when accepting
18014         words and `coment-padding' is an integer by using
18015         `comment-normalize-vars' (Bug #14214).
18017 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18019         New defun movement commands.
18020         * progmodes/python.el (python-nav--syntactically)
18021         (python-nav--forward-defun, python-nav-backward-defun)
18022         (python-nav-forward-defun): New functions.
18024 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18026         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
18027         (python-syntax-context): Use named compiler-macro for backwards
18028         compatibility with Emacs 24.x.
18030 2013-04-17  Leo Liu  <sdl.web@gmail.com>
18032         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
18033         octave-hide-process-buffer.
18035 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18037         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
18038         (bug#14216).
18040 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
18042         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
18043         Fix adjustment of offset when receiving incomplete responses from GDB
18044         (bug#14129).
18046 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18048         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
18049         python-mode-abbrev-table.
18050         (python-skeleton-define): Adjust accordingly.
18051         (python-mode-abbrev-table): New table that inherits from it so that
18052         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
18054         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
18055         (abbrev-symbol): Use it.
18056         (abbrev--before-point): Use it since we already handle inheritance.
18058 2013-04-16  Leo Liu  <sdl.web@gmail.com>
18060         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
18061         binding to info-lookup-symbol.
18063 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
18065         * minibuffer.el (completion--twq-all):
18066         * term/ns-win.el (ns-initialize-window-system):
18067         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
18069 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18071         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
18072         global bindings.
18074         * doc-view.el (doc-view-start-process): Handle url-handler directories.
18076 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
18078         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
18079         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18080         to nil.
18081         (ruby-end-of-defun): Remove the unused arg, change the docstring
18082         to reflect that this function is only used as the value of
18083         `end-of-defun-function'.
18084         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
18085         to reflect an earlier change that beginning/end-of-defun functions
18086         jump between methods in a class definition, as well as top-level
18087         functions.
18089 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18091         * minibuffer.el (minibuffer-complete): Don't just scroll
18092         a *Completions* that's been iconified.
18093         (minibuffer-force-complete): Make sure repetitions do cycle when going
18094         through completion-in-region -> minibuffer-complete.
18096 2013-04-15  Alan Mackenzie  <acm@muc.de>
18098         Correct the placement of c-cpp-delimiters when there're #s not at
18099         col 0.
18101         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
18102         place a submatch around the #.
18103         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
18104         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
18105         on the #, not BOL.
18107 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18109         * emacs-lisp/nadvice.el: Properly test names when adding advice.
18110         (advice--member-p): New arg `name'.
18111         (advice--add-function, advice-member-p): Use it (bug#14202).
18113 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
18115         Reformulate java imenu-generic-expression.
18116         The old expression contained ill formed regexps.
18118         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
18119         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
18120         (cc-imenu-java-method-arg-regexp): New defconsts.
18121         (cc-imenu-java-build-type-args-regex): New defun.
18122         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
18123         handling of spaces in the regexp.
18125 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
18127         * textmodes/ispell.el (ispell-command-loop): Remove
18128         flyspell highlight of a word when ispell accepts it (bug #14178).
18130 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
18132         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
18133         uses code from the previous `ange-ftp-run-real-handler'.
18134         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
18135         only in case that function exist.  This is needed for proper
18136         unloading of Tramp.
18138 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
18140         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18142         * textmodes/reftex.el (reftex-compile-variables): Use it.
18144 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18146         * files.el (normal-mode): Only use default major-mode if no other mode
18147         was specified.
18149         * emacs-lisp/trace.el (trace-values): New function.
18151         * files.el: Allow : in local variables (bug#14089).
18152         (hack-local-variable-regexp): New var.
18153         (hack-local-variables-prop-line, hack-local-variables): Use it.
18155 2013-04-13  Roland Winkler  <winkler@gnu.org>
18157         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
18158         data before it gets modified by bibtex-beginning-of-entry.
18160 2013-04-13  Roland Winkler  <winkler@gnu.org>
18162         * textmodes/bibtex.el (bibtex-url): Doc fix.
18164 2013-04-13  Roland Winkler  <winkler@gnu.org>
18166         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18167         does not visit a BibTeX file, exclude it from the list of buffers
18168         returned by bibtex-initialize.
18170 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
18172         * window.el (split-window): Remove interactive form, since as a
18173         command this function is a special case of split-window-below.
18174         Correct doc string.
18176 2013-04-12  Roland Winkler  <winkler@gnu.org>
18178         * faces.el (read-face-name): Do not override value of arg default.
18179         Allow single faces and strings as default values.  Remove those
18180         elements from return value that are not faces.
18181         (describe-face): Simplify.
18182         (face-at-point): New optional args thing and multiple so that this
18183         function can provide the same functionality previously provided by
18184         read-face-name.
18185         (make-face-bold, make-face-unbold, make-face-italic)
18186         (make-face-unitalic, make-face-bold-italic, invert-face)
18187         (modify-face, read-face-and-attribute): Use face-at-point.
18189         * cus-edit.el (customize-face, customize-face-other-window)
18190         * cus-theme.el (custom-theme-add-face)
18191         * face-remap.el (buffer-face-set)
18192         * facemenu.el (facemenu-set-face): Use face-at-point.
18194 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
18196         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18198 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
18200         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18201         off leading { and trailing } from field values.
18203 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18205         * emacs-lisp/timer.el (timer--check): New function.
18206         (timer--time, timer-set-function, timer-event-handler): Use it.
18207         (timer-set-idle-time): Simplify.
18208         (timer--activate): CSE.
18209         (timer-event-handler): Give more info in error message.
18210         (internal-timer-start-idle): New function, moved from C.
18212         * mpc.el (mpc-proc): Add `restart' argument.
18213         (mpc-proc-cmd): Use it.
18214         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18215         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18216         less often.
18218 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
18220         * progmodes/sh-script.el: Implement `sh-mode' own
18221         `add-log-current-defun-function' (bug#14112).
18222         (sh-current-defun-name): New function.
18223         (sh-mode): Use the function.
18225 2013-04-09  Bastien Guerry  <bzg@gnu.org>
18227         * simple.el (choose-completion-string): Fix docstring (bug#14163).
18229 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18231         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18233         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18234         timer (bug#14156).
18236 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
18238         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18239         declaration.
18241 2013-04-07  Leo Liu  <sdl.web@gmail.com>
18243         * pcmpl-x.el: New file.
18245 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
18247         Do not set x-display-name until X connection is established.
18248         This is needed to prevent from weird situation described at
18249         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18250         * frame.el (make-frame): Set x-display-name after call to
18251         window system initialization function, not before.
18252         * term/x-win.el (x-initialize-window-system): Add optional
18253         display argument and use it.
18254         * term/w32-win.el (w32-initialize-window-system):
18255         * term/ns-win.el (ns-initialize-window-system):
18256         * term/pc-win.el (msdos-initialize-window-system):
18257         Add compatible optional display argument.
18259 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
18261         * files.el (normal-backup-enable-predicate): On MS-Windows and
18262         MS-DOS compare truenames of temporary-file-directory and of the
18263         file, so that 8+3 aliases (usually found in $TEMP on Windows)
18264         don't fail comparison by compare-strings.  Also, compare file
18265         names case-insensitively on MS-Windows and MS-DOS.
18267 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18269         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18270         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18272 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
18274         * whitespace.el (whitespace-color-on, whitespace-color-off):
18275         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18277 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
18279         * ispell.el (ispell-set-spellchecker-params):
18280         Really set `ispell-args' for all equivs.
18282 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18284         * ido.el (ido-completions): Use extra elements of ido-decorations
18285         (bug#14143).
18286         (ido-decorations): Update docstring.
18288 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
18290         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18291         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18292         nil during initialization, in order not to miss changes since the
18293         file was opened.  (Bug#14140)
18295 2013-04-05  Leo Liu  <sdl.web@gmail.com>
18297         * kmacro.el (kmacro-call-macro): Fix bug#14135.
18299 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
18301         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18303 2013-04-04  Glenn Morris  <rgm@gnu.org>
18305         * electric.el (electric-pair-inhibit-predicate): Add :version.
18307 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18309         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18310         when a package is required several times (bug#14082).
18312 2013-04-04  Roland Winkler  <winkler@gnu.org>
18314         * faces.el (read-face-name): Behave as promised by the docstring.
18315         Assume that arg default is a list of faces.
18316         (describe-face): Call read-face-name with list of default faces.
18318 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
18320         * bookmark.el: Fix deletion of bookmarks (bug#13972).
18321         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18322         (bookmark-bmenu-execute-deletions): Only skip first line if it's
18323         the header.
18324         (bookmark-exit-hook-internal): Save even if list is empty.
18326 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
18328         * emacs-lisp/package.el (package-pinned-packages): New var.
18329         (package--add-to-archive-contents): Obey it (bug#14118).
18331 2013-04-03  Alan Mackenzie  <acm@muc.de>
18333         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18334         Also adapt to the new values of element 7 of a parse state.
18336         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18337         parameter `not-in-delimiter'.  Handle being inside comment opener.
18338         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18339         character in case we're typing a '*' after a '/'.
18340         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18341         instead by passing the parameter to c-state-pp-to-literal.
18343         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18344         for elt. 7 of a parse state.
18346 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
18348         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18349         * international/latin1-disp.el, international/mule-util.el:
18350         * language/cyril-util.el, language/european.el, language/ind-util.el:
18351         * language/lao-util.el, language/thai.el, language/tibet-util.el:
18352         * language/tibetan.el, language/viet-util.el:
18353         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18355 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18357         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18358         (electric-pair-post-self-insert-function): Use it.
18359         (electric-pair-default-inhibit): New function, extracted from
18360         electric-pair-post-self-insert-function.
18362 2013-03-31  Roland Winkler  <winkler@gnu.org>
18364         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18366 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18368         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18370 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
18372         Un-indent after "pass" and "return" statements (Bug#13888)
18373         * progmodes/python.el (python-indent-block-enders): New var.
18374         (python-indent-calculate-indentation): Use it.
18376 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
18378         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18379         defun.  Defining it as defalias could introduce too eager
18380         byte-compiler optimization.  (Bug#14030)
18382 2013-03-30  Chong Yidong  <cyd@gnu.org>
18384         * iswitchb.el (iswitchb-read-buffer): Fix typo.
18386 2013-03-30  Leo Liu  <sdl.web@gmail.com>
18388         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18389         (kmacro-execute-from-register): Pass the keyboard macro to
18390         kmacro-call-macro or repeating won't work correctly.
18392 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
18394         * progmodes/subword.el: Back to using `forward-symbol'.
18396         * subr.el (forward-whitespace, forward-symbol)
18397         (forward-same-syntax): Move from thingatpt.el.
18399 2013-03-29  Leo Liu  <sdl.web@gmail.com>
18401         * kmacro.el (kmacro-to-register): New command.
18402         (kmacro-execute-from-register): New function.
18403         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
18405 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18407         * mpc.el: Use defvar-local and setq-local.
18408         (mpc--proc-connect): Connection failures are not bugs.
18409         (mpc-mode-map): `follow-link' only applies to the buffer's content.
18410         (mpc-volume-map): Bind to the up-events.
18412 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
18414         * progmodes/subword.el (superword-mode): Use `forward-sexp'
18415         instead of `forward-symbol'.
18417 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18419         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18420         (edebug--recursive-edit): Use it.
18421         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18422         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18424 2013-03-28  Leo Liu  <sdl.web@gmail.com>
18426         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
18428 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
18430         * facemenu.el (list-colors-callback): New defvar.
18431         (list-colors-redisplay): New function.
18432         (list-colors-display): Install list-colors-redisplay as the
18433         revert-buffer-function.  (Bug#14063)
18435 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18437         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18438         and suffixes don't overlap (bug#14061).
18440         * case-table.el: Use lexical-binding.
18441         (case-table-get-table): New function.
18442         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
18444 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
18446         * progmodes/subword.el: Add `superword-mode' to do word motion
18447         over symbol_words (parallels and leverages `subword-mode' which
18448         does word motion inside MixedCaseWords).
18450 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
18452         * eshell/em-unix.el: Move su and sudo to...
18453         * eshell/em-tramp.el: ...Eshell tramp module.
18455 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18457         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18458         Change return value to be a sexp.  Delay `get-buffer' to after
18459         restoring the desktop (bug#13951).
18461 2013-03-26  Leo Liu  <sdl.web@gmail.com>
18463         * register.el: Move semantic tag handling back to
18464         cedet/semantic/senator.el.  (Bug#14052)
18466 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18468         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18469         into the prompt either (bug#13963).
18471 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18473         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18474         part of "(error-foo)".
18476 2013-03-24  Juri Linkov  <juri@jurta.org>
18478         * replace.el (list-matching-lines-prefix-face): New defcustom.
18479         (occur-1): Pass `list-matching-lines-prefix-face' to the function
18480         `occur-engine' if `face-differs-from-default-p' returns t.
18481         (occur-engine): Add `,' inside backquote construct to evaluate
18482         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
18483         Pass `prefix-face' to the functions `occur-context-lines' and
18484         `occur-engine-add-prefix'.
18485         (occur-engine-add-prefix, occur-context-lines): Add optional arg
18486         `prefix-face' and propertize the prefix with `prefix-face'.
18487         (Bug#14017)
18489 2013-03-24  Leo Liu  <sdl.web@gmail.com>
18491         * nxml/rng-valid.el (rng-validate-while-idle)
18492         (rng-validate-quick-while-idle): Guard against deleted buffer.
18493         (Bug#13999)
18495         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18496         is the last entry in kill-buffer-hook.
18498         * files.el (kill-buffer-hook): Doc fix.
18500 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
18502         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18503         Make it safe-local.
18505         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18507 2013-03-23  Leo Liu  <sdl.web@gmail.com>
18509         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18510         Remove.
18512         * nxml/rng-valid.el (rng-validate-mode)
18513         (rng-after-change-function, rng-do-some-validation):
18514         * nxml/rng-maint.el (rng-validate-buffer):
18515         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18516         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18517         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18518         (nxml-extend-after-change-region): Use with-silent-modifications.
18520         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18521         timer-idle-list.
18523         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18524         (rng-next-error-1, rng-previous-error-1): Do not let-bind
18525         timer-idle-list.  (Bug#13999)
18527 2013-03-23  Juri Linkov  <juri@jurta.org>
18529         * info.el (info-index-match): New face.
18530         (Info-index, Info-apropos-matches): Add a nested subgroup to the
18531         main pattern and add text properties with the new face to matches
18532         in index entries relative to the beginning of the index entry.
18533         (Bug#14015)
18535 2013-03-21  Eric Ludlam  <zappo@gnu.org>
18537         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18538         Inhibit read only while inserting objects.
18540 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
18542         * progmodes/cfengine.el: Update docs to mention
18543         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
18544         symbol motion.  Remove "_" from the word syntax.
18546 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
18548         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18549         syntax for both `cfengine2-mode' and `cfengine3-mode'.
18551 2013-03-20  Juri Linkov  <juri@jurta.org>
18553         * info.el (Info-next-reference-or-link)
18554         (Info-prev-reference-or-link): New functions.
18555         (Info-next-reference, Info-prev-reference): Use them.
18556         (Info-try-follow-nearest-node): Handle footnote navigation.
18557         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
18559 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18561         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18562         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18564 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
18566         Suppress unnecessary non-ASCII chatter during build process.
18567         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18568         (batch-skkdic-convert): Suppress most of the chatter.
18569         It's not needed so much now that machines are faster,
18570         and its non-ASCII component was confusing; see Dmitry Gutov in
18571         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18573 2013-03-20  Leo Liu  <sdl.web@gmail.com>
18575         * ido.el (ido-chop): Fix bug#10994.
18577 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
18579         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18580         Remove vars.
18581         (whitespace-color-on, whitespace-color-off):
18582         Use `font-lock-fontify-buffer' (Bug#13817).
18584 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18586         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18587         remapping in mode-line.
18588         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18590 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
18592         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18593         value for `whitespace-line' face (Bug#13875).
18594         (whitespace-font-lock-keywords): Change description.
18595         (whitespace-color-on): Don't save `font-lock-keywords' value, save
18596         the constructed keywords instead.
18597         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18599 2013-03-19  Leo Liu  <sdl.web@gmail.com>
18601         * progmodes/compile.el (compilation-display-error): New command.
18602         (compilation-mode-map, compilation-minor-mode-map): Bind it to
18603         C-o.  (Bug#13992)
18605 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
18607         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18609 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
18611         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18613 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
18615         * net/tramp-compat.el (tramp-compat-user-error): New defun.
18617         * net/tramp-adb.el (tramp-adb-handle-shell-command):
18618         * net/tramp-gvfs.el (top):
18619         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18620         (tramp-handle-shell-command): Use it.
18621         (tramp-dissect-file-name): Raise an error when hostname is a
18622         method name, and neither method nor user is specified.
18624         * net/trampver.el: Update release number.
18626 2013-03-18  Leo Liu  <sdl.web@gmail.com>
18628         Make sure eldoc can be turned off properly.
18629         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18630         eldoc-mode.
18631         (eldoc-display-message-p): Revert last change.
18632         (eldoc-display-message-no-interference-p)
18633         (eldoc-print-current-symbol-info): Tweak.
18635 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
18637         * doc-view.el (doc-view-new-window-function): Check the new window
18638         overlay's display property instead the char property of the
18639         buffer's first char.  Use `with-selected-window' instead of
18640         `save-window-excursion' with `select-window'.
18641         (doc-view-document->bitmap): Check the current doc-view overlay's
18642         display property instead the char property of the buffer's first char.
18644 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
18646         Automate the build of ja-dic.el (Bug#13984).
18647         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18648         from the input, rather than assume that it's been done for us by the
18649         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
18650         the current date into a ja-dic.el comment, as that complicates
18651         regression testing.
18653 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18655         * whitespace.el: Fix double evaluation.
18656         (whitespace-space, whitespace-hspace, whitespace-tab)
18657         (whitespace-newline, whitespace-trailing, whitespace-line)
18658         (whitespace-space-before-tab, whitespace-indentation)
18659         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18660         obsolete defvars.
18661         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18662         (whitespace-color-on): Use a single font-lock-add-keywords call.
18663         Fix double-evaluation of face variables.
18665 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
18667         * net/tramp-adb.el (tramp-adb-parse-device-names):
18668         Use `start-process' instead of `call-process'.  Otherwise, the
18669         function might be blocked under MS Windows.  (Bug#13299)
18671 2013-03-17  Leo Liu  <sdl.web@gmail.com>
18673         Extend eldoc to display info in the mode-line.  (Bug#13978)
18674         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18675         (eldoc-mode-line-string): New variable.
18676         (eldoc-minibuffer-message): New function.
18677         (eldoc-message-function): New variable.
18678         (eldoc-message): Use it.
18679         (eldoc-display-message-p)
18680         (eldoc-display-message-no-interference-p):
18681         Support eldoc-post-insert-mode.
18683         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18684         (eval-expression): Run it.
18686 2013-03-17  Roland Winkler  <winkler@gnu.org>
18688         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18689         strings in the list of return values.
18691 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
18693         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18694         radix before checking for HMS forms.
18696 2013-03-16  Leo Liu  <sdl.web@gmail.com>
18698         * progmodes/scheme.el: Add indentation and font-locking for λ.
18699         (Bug#13975)
18701 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18703         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18704         token before point (bug#13942).
18706 2013-03-16  Leo Liu  <sdl.web@gmail.com>
18708         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
18710 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
18712         * startup.el (command-line-normalize-file-name): Fix handling of
18713         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
18714         <xfq.free@gmail.com> in
18715         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18717 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
18719         Sync with Tramp 2.2.7.
18721         * net/trampver.el: Update release number.
18723 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
18725         * doc-view.el: Fix bug#13887.
18726         (doc-view-insert-image): Don't modify overlay associated to
18727         non-live windows, and implement horizontal centering of image in
18728         case it's smaller than the window.
18729         (doc-view-new-window-function): Force redisplay of new windows on
18730         doc-view buffers.
18732 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
18734         * saveplace.el (save-place-alist-to-file): Don't sort
18735         `save-place-alist', just pretty-print it (bug#13882).
18737 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
18739         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18740         Check whether `default-file-name-coding-system' is bound.
18741         It isn't in XEmacs.
18743 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18745         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18746         backquotes for `obsolete' (bug#13929).
18748         * international/mule.el (find-auto-coding): Include file name in
18749         obsolescence warning (bug#13922).
18751 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
18753         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18754         for CFEngine 3-specific indentation.
18755         (cfengine3-indent-line): Use it.  Fix up category regex.
18756         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18758 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18760         * type-break.el (type-break-file-name):
18761         * textmodes/remember.el (remember-data-file):
18762         * strokes.el (strokes-file):
18763         * shadowfile.el (shadow-initialize):
18764         * saveplace.el (save-place-file):
18765         * ps-bdf.el (bdf-cache-file):
18766         * progmodes/idlwave.el (idlwave-config-directory):
18767         * net/quickurl.el (quickurl-url-file):
18768         * international/kkc.el (kkc-init-file-name):
18769         * ido.el (ido-save-directory-list-file):
18770         * emulation/viper.el (viper-custom-file-name):
18771         * emulation/vip.el (vip-startup-file):
18772         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18773         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18775 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
18777         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
18778         * language/thai-word.el: Switch to UTF-8.
18780 See ChangeLog.16 for earlier changes.
18782 ;; Local Variables:
18783 ;; coding: utf-8
18784 ;; End:
18786   Copyright (C) 2011-2014 Free Software Foundation, Inc.
18788   This file is part of GNU Emacs.
18790   GNU Emacs is free software: you can redistribute it and/or modify
18791   it under the terms of the GNU General Public License as published by
18792   the Free Software Foundation, either version 3 of the License, or
18793   (at your option) any later version.
18795   GNU Emacs is distributed in the hope that it will be useful,
18796   but WITHOUT ANY WARRANTY; without even the implied warranty of
18797   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18798   GNU General Public License for more details.
18800   You should have received a copy of the GNU General Public License
18801   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.